@feedmepos/mf-payment 1.1.0-beta.3 → 1.1.0-beta.5
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-aXUZqVC4.js → PayoutAccount-C8TaOd4c.js} +298 -284
- package/dist/{PayoutAccount-Dm__V5FS.js → PayoutAccount-k_oj_Se3.js} +5 -5
- package/dist/{PayoutAccountSetting-EbYjEXDF.js → PayoutAccountSetting-CqkCjQZG.js} +3 -3
- package/dist/{Restaurant-DLM9C8nc.js → Restaurant-9242Ya8l.js} +4 -4
- package/dist/{RestaurantSetting-GoDOJmXC.js → RestaurantSetting-BpWnw2Jj.js} +3 -3
- package/dist/{Settlement-CsLlypA1.js → Settlement-BOKEyc5M.js} +3 -3
- package/dist/{Settlement-BCGCz02p.js → Settlement-Fk2o5a_1.js} +3 -3
- package/dist/{SettlementTransactions-DtbZ2BMA.js → SettlementTransactions-Bcg3w7Hz.js} +3 -3
- package/dist/{SettlementTransactions-BXDX1-4U.js → SettlementTransactions-lYTbe3Pj.js} +3 -3
- package/dist/{Terminal-BhZitu-W.js → Terminal-B2Awbq_j.js} +5 -5
- package/dist/{TerminalSetting-lTAsTN8h.js → TerminalSetting-S_8IxAyI.js} +27 -27
- package/dist/{Transaction-AwhwSbRY.js → Transaction-DZ-dAEJB.js} +5 -5
- package/dist/{Transaction-CCTdVAZg.js → Transaction-dJxNlcIg.js} +7 -7
- package/dist/{TransactionOld-DLjym0JG.js → TransactionOld-B7uxSwpb.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-xSb40MKu.js → TransactionTable.vue_vue_type_script_setup_true_lang-vH38H_Lw.js} +58 -54
- package/dist/api/terminal/index.d.ts +2 -1
- package/dist/{app-348rfspt.js → app-CmhTSkBh.js} +291 -289
- package/dist/app.d.ts +2 -0
- package/dist/app.js +1 -1
- package/dist/{assets-CizBCu1u.js → assets-BwS-N5IN.js} +2 -2
- package/dist/{grafana-NU2yqPXT.js → grafana-ysrdKpe6.js} +1 -1
- package/dist/index-Bgrrdm3Z.js +52 -0
- package/dist/{index-GlBLcdqs.js → index-CiOLWz3t.js} +1 -1
- package/dist/{index-OD8n4-_f.js → index-DDFIpPJy.js} +1 -1
- package/dist/{index-Dvg8rPAD.js → index-DloTaJJH.js} +1 -1
- package/dist/{index-DEvTHjDK.js → index-DrJyWI2l.js} +2815 -2813
- package/dist/{index-BDCzfWFu.js → index-bSRmzn11.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-D-xbKBxe.js → index.vue_vue_type_script_setup_true_lang-Iz1uC_Gw.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-5sqoL9UC.js → payout-account-CasV_7ez.js} +110 -110
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/index-D9Cv_ZfD.js +0 -45
@@ -1,6 +1,6 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as Z, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as
|
3
|
-
import { useCoreStore as
|
2
|
+
import { computed as Lt, watch as Z, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Wn, unref as Gn } from "vue";
|
3
|
+
import { useCoreStore as Ge, useI18n as Vn } from "@feedmepos/mf-common";
|
4
4
|
import { defineStore as zn } from "pinia";
|
5
5
|
import { components as $n } from "@feedmepos/ui-library";
|
6
6
|
const Zn = {
|
@@ -13,7 +13,7 @@ const Zn = {
|
|
13
13
|
transaction: "Transactions",
|
14
14
|
"transaction-new": "Transactions",
|
15
15
|
settlement: "Settlements"
|
16
|
-
},
|
16
|
+
}, Xn = {
|
17
17
|
title: "Settlements",
|
18
18
|
description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
|
19
19
|
export: "Export",
|
@@ -70,7 +70,7 @@ const Zn = {
|
|
70
70
|
settlement_amount: "Settlement Amount"
|
71
71
|
}
|
72
72
|
}
|
73
|
-
},
|
73
|
+
}, Yn = {
|
74
74
|
title: "Transactions",
|
75
75
|
description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
|
76
76
|
restaurant: "Restaurant",
|
@@ -85,6 +85,7 @@ const Zn = {
|
|
85
85
|
table: {
|
86
86
|
id: "Transaction ID",
|
87
87
|
pay_id: "Pay ID",
|
88
|
+
gateway_id: "Gateway ID",
|
88
89
|
bill_seq: "Bill Seq No",
|
89
90
|
gateway: "Gateway",
|
90
91
|
method: "Method",
|
@@ -143,8 +144,8 @@ const Zn = {
|
|
143
144
|
}, qn = {
|
144
145
|
components: Zn,
|
145
146
|
routes: Jn,
|
146
|
-
settlements:
|
147
|
-
transactions:
|
147
|
+
settlements: Xn,
|
148
|
+
transactions: Yn,
|
148
149
|
payout_account: Kn
|
149
150
|
}, Qn = {
|
150
151
|
select: "选择筛选对象",
|
@@ -228,6 +229,7 @@ const Zn = {
|
|
228
229
|
table: {
|
229
230
|
id: "交易ID",
|
230
231
|
pay_id: "支付ID",
|
232
|
+
gateway_id: "网关ID",
|
231
233
|
bill_seq: "订单序列号",
|
232
234
|
gateway: "支付网关",
|
233
235
|
method: "支付方法",
|
@@ -297,7 +299,7 @@ const Zn = {
|
|
297
299
|
sidebarDisplay: "Restaurants",
|
298
300
|
section: "payment-gateway"
|
299
301
|
},
|
300
|
-
component: () => import("./Restaurant-
|
302
|
+
component: () => import("./Restaurant-9242Ya8l.js")
|
301
303
|
},
|
302
304
|
{
|
303
305
|
path: "/admin/restaurants/:restaurantId",
|
@@ -306,7 +308,7 @@ const Zn = {
|
|
306
308
|
meta: {
|
307
309
|
parent: "mf-payment-admin.restaurant"
|
308
310
|
},
|
309
|
-
component: () => import("./RestaurantSetting-
|
311
|
+
component: () => import("./RestaurantSetting-BpWnw2Jj.js")
|
310
312
|
},
|
311
313
|
{
|
312
314
|
path: "/admin/payout-accounts",
|
@@ -315,7 +317,7 @@ const Zn = {
|
|
315
317
|
sidebarDisplay: "Payout Accounts",
|
316
318
|
section: "payment-gateway"
|
317
319
|
},
|
318
|
-
component: () => import("./PayoutAccount-
|
320
|
+
component: () => import("./PayoutAccount-k_oj_Se3.js")
|
319
321
|
},
|
320
322
|
{
|
321
323
|
path: "/admin/payout-accounts/:accountId",
|
@@ -324,7 +326,7 @@ const Zn = {
|
|
324
326
|
meta: {
|
325
327
|
parent: "mf-payment-admin.payout-account"
|
326
328
|
},
|
327
|
-
component: () => import("./PayoutAccountSetting-
|
329
|
+
component: () => import("./PayoutAccountSetting-CqkCjQZG.js")
|
328
330
|
},
|
329
331
|
{
|
330
332
|
path: "/admin/terminal/pos",
|
@@ -333,7 +335,7 @@ const Zn = {
|
|
333
335
|
sidebarDisplay: "POS",
|
334
336
|
section: "device"
|
335
337
|
},
|
336
|
-
component: () => import("./Terminal-
|
338
|
+
component: () => import("./Terminal-B2Awbq_j.js"),
|
337
339
|
props: {
|
338
340
|
type: "POS"
|
339
341
|
}
|
@@ -345,7 +347,7 @@ const Zn = {
|
|
345
347
|
sidebarDisplay: "Kiosks",
|
346
348
|
section: "device"
|
347
349
|
},
|
348
|
-
component: () => import("./Terminal-
|
350
|
+
component: () => import("./Terminal-B2Awbq_j.js"),
|
349
351
|
props: {
|
350
352
|
type: "KIOSK"
|
351
353
|
}
|
@@ -357,7 +359,7 @@ const Zn = {
|
|
357
359
|
sidebarDisplay: "Terminals",
|
358
360
|
section: "device"
|
359
361
|
},
|
360
|
-
component: () => import("./Terminal-
|
362
|
+
component: () => import("./Terminal-B2Awbq_j.js"),
|
361
363
|
props: {
|
362
364
|
type: "TERMINAL"
|
363
365
|
}
|
@@ -369,7 +371,7 @@ const Zn = {
|
|
369
371
|
meta: {
|
370
372
|
parent: "mf-payment-admin.pos"
|
371
373
|
},
|
372
|
-
component: () => import("./TerminalSetting-
|
374
|
+
component: () => import("./TerminalSetting-S_8IxAyI.js")
|
373
375
|
},
|
374
376
|
{
|
375
377
|
path: "/admin/terminal/kiosk/:terminalId",
|
@@ -378,7 +380,7 @@ const Zn = {
|
|
378
380
|
meta: {
|
379
381
|
parent: "mf-payment-admin.kiosk"
|
380
382
|
},
|
381
|
-
component: () => import("./TerminalSetting-
|
383
|
+
component: () => import("./TerminalSetting-S_8IxAyI.js")
|
382
384
|
},
|
383
385
|
{
|
384
386
|
path: "/admin/terminal/terminal/:terminalId",
|
@@ -387,7 +389,7 @@ const Zn = {
|
|
387
389
|
meta: {
|
388
390
|
parent: "mf-payment-admin.terminal"
|
389
391
|
},
|
390
|
-
component: () => import("./TerminalSetting-
|
392
|
+
component: () => import("./TerminalSetting-S_8IxAyI.js")
|
391
393
|
},
|
392
394
|
{
|
393
395
|
path: "/admin/transaction",
|
@@ -395,7 +397,7 @@ const Zn = {
|
|
395
397
|
meta: {
|
396
398
|
sidebarDisplay: "Transactions"
|
397
399
|
},
|
398
|
-
component: () => import("./Transaction-
|
400
|
+
component: () => import("./Transaction-DZ-dAEJB.js")
|
399
401
|
},
|
400
402
|
{
|
401
403
|
path: "/admin/settlement",
|
@@ -403,7 +405,7 @@ const Zn = {
|
|
403
405
|
meta: {
|
404
406
|
sidebarDisplay: "Settlements"
|
405
407
|
},
|
406
|
-
component: () => import("./Settlement-
|
408
|
+
component: () => import("./Settlement-Fk2o5a_1.js")
|
407
409
|
},
|
408
410
|
{
|
409
411
|
path: "/admin/settlement/:settlementId",
|
@@ -412,9 +414,9 @@ const Zn = {
|
|
412
414
|
meta: {
|
413
415
|
parent: "mf-payment-admin.settlement"
|
414
416
|
},
|
415
|
-
component: () => import("./SettlementTransactions-
|
417
|
+
component: () => import("./SettlementTransactions-lYTbe3Pj.js")
|
416
418
|
}
|
417
|
-
],
|
419
|
+
], Ve = [
|
418
420
|
{
|
419
421
|
path: "",
|
420
422
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -422,7 +424,7 @@ const Zn = {
|
|
422
424
|
{
|
423
425
|
path: "/payout-account",
|
424
426
|
name: "mf-payment-payout-account",
|
425
|
-
component: () => import("./PayoutAccount-
|
427
|
+
component: () => import("./PayoutAccount-C8TaOd4c.js"),
|
426
428
|
meta: {
|
427
429
|
sidebarDisplay: "i18n:routes.payout_account"
|
428
430
|
}
|
@@ -430,7 +432,7 @@ const Zn = {
|
|
430
432
|
{
|
431
433
|
path: "/transaction-old",
|
432
434
|
name: "mf-payment-old-transaction",
|
433
|
-
component: () => import("./TransactionOld-
|
435
|
+
component: () => import("./TransactionOld-B7uxSwpb.js"),
|
434
436
|
meta: {
|
435
437
|
sidebarDisplay: "i18n:routes.transaction"
|
436
438
|
}
|
@@ -438,7 +440,7 @@ const Zn = {
|
|
438
440
|
{
|
439
441
|
path: "/transaction",
|
440
442
|
name: "mf-payment-transaction",
|
441
|
-
component: () => import("./Transaction-
|
443
|
+
component: () => import("./Transaction-dJxNlcIg.js"),
|
442
444
|
meta: {
|
443
445
|
sidebarDisplay: "i18n:routes.transaction-new",
|
444
446
|
sidebarNew: !0
|
@@ -447,7 +449,7 @@ const Zn = {
|
|
447
449
|
{
|
448
450
|
path: "/settlement",
|
449
451
|
name: "mf-payment-settlement",
|
450
|
-
component: () => import("./Settlement-
|
452
|
+
component: () => import("./Settlement-BOKEyc5M.js"),
|
451
453
|
meta: {
|
452
454
|
sidebarDisplay: "i18n:routes.settlement"
|
453
455
|
}
|
@@ -456,7 +458,7 @@ const Zn = {
|
|
456
458
|
path: "/settlement/:settlementId",
|
457
459
|
name: "mf-payment-settlement-transaction",
|
458
460
|
props: !0,
|
459
|
-
component: () => import("./SettlementTransactions-
|
461
|
+
component: () => import("./SettlementTransactions-Bcg3w7Hz.js"),
|
460
462
|
meta: {
|
461
463
|
parent: "mf-payment-settlement"
|
462
464
|
}
|
@@ -473,7 +475,7 @@ const Zn = {
|
|
473
475
|
init: t
|
474
476
|
};
|
475
477
|
});
|
476
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_20c3b992-0c0b-48f4-b338-8135edda858a", 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_20c3b992-0c0b-48f4-b338-8135edda858a", 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_H8wAiyKR2krVZ68F529PuvlSQb9ph8253aox", 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: "711", 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: "20250309.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:6112", 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: "13941013784", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "30c75d63971e098a18ad08904b77de0678baf9a2", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NDEwNjdlMjQtMmJmOS00YmNkLWJkMzktNDhhYjNhOWI3M2IxOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzMxIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NDEwNjdlMjQtMmJmOS00YmNkLWJkMzktNDhhYjNhOWI3M2IxOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzMxIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYzkzNmZkZTItNjE3Ni00YTYzLWIwMjAtNDdiNDg0MmQwYmVlIiwic2lkIjoiM2QxYzdlMmMtNWRmMi00ZjJiLWJhODctYmI2N2Q1NDUyNzY1IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjMwYzc1ZDYzOTcxZTA5OGExOGFkMDg5MDRiNzdkZTA2NzhiYWY5YTJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTM5NDEwMTM3ODRcIixcInJ1bl9udW1iZXJcIjpcIjE0OFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIzMGM3NWQ2Mzk3MWUwOThhMThhZDA4OTA0Yjc3ZGUwNjc4YmFmOWEyXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIzMGM3NWQ2Mzk3MWUwOThhMThhZDA4OTA0Yjc3ZGUwNjc4YmFmOWEyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI0MTA2N2UyNC0yYmY5LTRiY2QtYmQzOS00OGFiM2E5YjczYjEuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDIzNjgzMjcsImV4cCI6MTc0MjM5MTEyN30.XC7CZ_VGNrLq55bYEEq7e-ojhCf1lF446YSE6C2vtd1wXvNjObNYeqdAugQF6kKj_t2ZQJ8OE9y9I91teFpl6fHF0hxsYNqfB9r2cPRquG9SsZNRWwIBmE0YLb4l6ysY0OTIbqhACBhuF-QyX5_iP1T3ibqV-z5_pivOikRNd-qwtmTXE6sxkzNZSR7arkoW4EGpuSuYdJiiIS8gG7qur6M2ThYDzjz8eYKbJQuSkQImfYj_HU4Zyq18Vmrulh-VoEOo2k0bYAACuP-ccZB4JCNBTtxJDf1DsMe0eszwsuGJ_QHtu-nPDNHYiWP33RqcNKjZZHZsSi4FFwVdGVTZQQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1742368971170-0.652880635143968:/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--1742368971012-0.383490901966258:/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--1742368970853-0.8311704939347975:/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_fd81da49-e087-4a82-a12e-d6911575529d", INVOCATION_ID: "f796425da39547be8f810ee2f7dc6277", 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: "148", 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 404", 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.0-beta.3", 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: "30c75d63971e098a18ad08904b77de0678baf9a2", 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_20c3b992-0c0b-48f4-b338-8135edda858a", 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/41067e24-2bf9-4bcd-bd39-48ab3a9b73b1/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_20c3b992-0c0b-48f4-b338-8135edda858a", 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_20c3b992-0c0b-48f4-b338-8135edda858a", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.23", 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_e2692af0-2160-46bd-85e9-c7441094ff23", 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_e2692af0-2160-46bd-85e9-c7441094ff23", 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_jEWBK5Y9TISK871kK22y7LyzOQISou0HhoVn", 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: "711", 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:6653", 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: "13963909108", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "8085417148758942492cb73f76010c2ed9c3e173", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2U0Y2E3MzUtMmU3NS00YjY2LWE2YjMtNWI1MGFmZDgxODc1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzUwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2U0Y2E3MzUtMmU3NS00YjY2LWE2YjMtNWI1MGFmZDgxODc1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzUwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMmZkMWZkZjctMjljYi00NDkwLWE3MjctNTBlYWM3YjQzOWUzIiwic2lkIjoiY2QwOThjNTAtNWY0Mi00NWY1LWFlNWEtZWJmYTA0YTQ5ZGQyIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjgwODU0MTcxNDg3NTg5NDI0OTJjYjczZjc2MDEwYzJlZDljM2UxNzNcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTM5NjM5MDkxMDhcIixcInJ1bl9udW1iZXJcIjpcIjE1MFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI4MDg1NDE3MTQ4NzU4OTQyNDkyY2I3M2Y3NjAxMGMyZWQ5YzNlMTczXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI4MDg1NDE3MTQ4NzU4OTQyNDkyY2I3M2Y3NjAxMGMyZWQ5YzNlMTczXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZTRjYTczNS0yZTc1LTRiNjYtYTZiMy01YjUwYWZkODE4NzUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDI0NTQzOTIsImV4cCI6MTc0MjQ3NzE5Mn0.kUXXHAFZ4pXq0i7W9MIvZXwIcY12IdvQTMa1Ky0QTZpF2nE2T6ugE1mRwaCAu7ZKPCLpiIg4LMltsE_Ca75YEtaD20XZb9hjglkXq0UwK6i3DDgEEoXV79Dd4c_JaV8D_Y0sZMWqq0z-QI1WTB6nuAEEdKka-GmySXw-fgS13ZA77D4FODDcnixxxJAf7uWugG-nP1Wa9MhZk7-7r8UmMjas_Uf0MBVKUOCjA3hddKIbahM45CjVDMEw64fjUnDrWEdrfo7LXfdroWpRTNnNzBbmNXElCp0gAnhqO-gLotE827caGskUBZIl6ufeugwFoTK3wvtVjc7lDFRHlnaK6A", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1742455028448-0.1243171255272919:/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--1742455028286-0.3416686516693077:/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--1742455028126-0.3627704017265434:/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_ae447d88-36c5-4517-ae8b-6bc9dfe74ce7", INVOCATION_ID: "e0a665e487994b6faf199ebd23180767", 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: "150", 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 79", 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.0-beta.5", 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: "8085417148758942492cb73f76010c2ed9c3e173", 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_e2692af0-2160-46bd-85e9-c7441094ff23", 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/7e4ca735-2e75-4b66-a6b3-5b50afd81875/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_e2692af0-2160-46bd-85e9-c7441094ff23", 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_e2692af0-2160-46bd-85e9-c7441094ff23", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.23", 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" };
|
477
479
|
/**
|
478
480
|
* @license
|
479
481
|
* Copyright 2017 Google LLC
|
@@ -490,7 +492,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
490
492
|
* See the License for the specific language governing permissions and
|
491
493
|
* limitations under the License.
|
492
494
|
*/
|
493
|
-
const
|
495
|
+
const jt = function(n) {
|
494
496
|
const e = [];
|
495
497
|
let t = 0;
|
496
498
|
for (let r = 0; r < n.length; r++) {
|
@@ -517,7 +519,7 @@ const Ht = function(n) {
|
|
517
519
|
}
|
518
520
|
}
|
519
521
|
return e.join("");
|
520
|
-
},
|
522
|
+
}, Ht = {
|
521
523
|
/**
|
522
524
|
* Maps bytes to characters.
|
523
525
|
*/
|
@@ -577,8 +579,8 @@ const Ht = function(n) {
|
|
577
579
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
578
580
|
for (let i = 0; i < n.length; i += 3) {
|
579
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;
|
580
|
-
let
|
581
|
-
o || (v = 64, a || (
|
582
|
+
let f = (c & 15) << 2 | l >> 6, v = l & 63;
|
583
|
+
o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
|
582
584
|
}
|
583
585
|
return r.join("");
|
584
586
|
},
|
@@ -591,7 +593,7 @@ const Ht = function(n) {
|
|
591
593
|
* @return The base64 encoded string.
|
592
594
|
*/
|
593
595
|
encodeString(n, e) {
|
594
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
596
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
|
595
597
|
},
|
596
598
|
/**
|
597
599
|
* Base64-decode a string.
|
@@ -630,8 +632,8 @@ const Ht = function(n) {
|
|
630
632
|
const h = i < n.length ? t[n.charAt(i)] : 64;
|
631
633
|
if (++i, s == null || c == null || l == null || h == null)
|
632
634
|
throw new or();
|
633
|
-
const
|
634
|
-
if (r.push(
|
635
|
+
const f = s << 2 | c >> 4;
|
636
|
+
if (r.push(f), l !== 64) {
|
635
637
|
const v = c << 4 & 240 | l >> 2;
|
636
638
|
if (r.push(v), h !== 64) {
|
637
639
|
const F = l << 6 & 192 | h;
|
@@ -660,13 +662,13 @@ class or extends Error {
|
|
660
662
|
}
|
661
663
|
}
|
662
664
|
const cr = function(n) {
|
663
|
-
const e =
|
664
|
-
return
|
665
|
+
const e = jt(n);
|
666
|
+
return Ht.encodeByteArray(e, !0);
|
665
667
|
}, de = function(n) {
|
666
668
|
return cr(n).replace(/\./g, "");
|
667
|
-
},
|
669
|
+
}, Wt = function(n) {
|
668
670
|
try {
|
669
|
-
return
|
671
|
+
return Ht.decodeString(n, !0);
|
670
672
|
} catch (e) {
|
671
673
|
console.error("base64Decode failed: ", e);
|
672
674
|
}
|
@@ -728,7 +730,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
728
730
|
} catch {
|
729
731
|
return;
|
730
732
|
}
|
731
|
-
const e = n &&
|
733
|
+
const e = n && Wt(n[1]);
|
732
734
|
return e && JSON.parse(e);
|
733
735
|
}, ze = () => {
|
734
736
|
try {
|
@@ -737,11 +739,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
737
739
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
738
740
|
return;
|
739
741
|
}
|
740
|
-
},
|
742
|
+
}, Gt = (n) => {
|
741
743
|
var e, t;
|
742
744
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
743
|
-
},
|
744
|
-
const e =
|
745
|
+
}, Va = (n) => {
|
746
|
+
const e = Gt(n);
|
745
747
|
if (!e)
|
746
748
|
return;
|
747
749
|
const t = e.lastIndexOf(":");
|
@@ -749,7 +751,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
|
|
749
751
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
750
752
|
const r = parseInt(e.substring(t + 1), 10);
|
751
753
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
752
|
-
},
|
754
|
+
}, Vt = () => {
|
753
755
|
var n;
|
754
756
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
755
757
|
}, zt = (n) => {
|
@@ -853,15 +855,15 @@ function za(n, e) {
|
|
853
855
|
* See the License for the specific language governing permissions and
|
854
856
|
* limitations under the License.
|
855
857
|
*/
|
856
|
-
function
|
858
|
+
function m() {
|
857
859
|
return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
|
858
860
|
}
|
859
|
-
function
|
861
|
+
function fr() {
|
860
862
|
return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
|
861
863
|
// just to deal with this case would probably be a bad idea.
|
862
|
-
!!(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(m());
|
863
865
|
}
|
864
|
-
function
|
866
|
+
function mr() {
|
865
867
|
return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
|
866
868
|
}
|
867
869
|
function _r() {
|
@@ -872,7 +874,7 @@ function gr() {
|
|
872
874
|
return typeof navigator == "object" && navigator.product === "ReactNative";
|
873
875
|
}
|
874
876
|
function vr() {
|
875
|
-
const n =
|
877
|
+
const n = m();
|
876
878
|
return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
|
877
879
|
}
|
878
880
|
function Ir() {
|
@@ -1107,7 +1109,7 @@ function Re() {
|
|
1107
1109
|
function z(n) {
|
1108
1110
|
return n && n._delegate ? n._delegate : n;
|
1109
1111
|
}
|
1110
|
-
class
|
1112
|
+
class V {
|
1111
1113
|
/**
|
1112
1114
|
*
|
1113
1115
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -1214,7 +1216,7 @@ class Ar {
|
|
1214
1216
|
if (this.component)
|
1215
1217
|
throw Error(`Component for ${this.name} has already been provided`);
|
1216
1218
|
if (this.component = e, !!this.shouldAutoInitialize()) {
|
1217
|
-
if (
|
1219
|
+
if (Cr(e))
|
1218
1220
|
try {
|
1219
1221
|
this.getOrInitializeService({ instanceIdentifier: L });
|
1220
1222
|
} catch {
|
@@ -1320,7 +1322,7 @@ class Ar {
|
|
1320
1322
|
function Or(n) {
|
1321
1323
|
return n === L ? void 0 : n;
|
1322
1324
|
}
|
1323
|
-
function
|
1325
|
+
function Cr(n) {
|
1324
1326
|
return n.instantiationMode === "EAGER";
|
1325
1327
|
}
|
1326
1328
|
/**
|
@@ -1339,7 +1341,7 @@ function Nr(n) {
|
|
1339
1341
|
* See the License for the specific language governing permissions and
|
1340
1342
|
* limitations under the License.
|
1341
1343
|
*/
|
1342
|
-
class
|
1344
|
+
class Dr {
|
1343
1345
|
constructor(e) {
|
1344
1346
|
this.name = e, this.providers = /* @__PURE__ */ new Map();
|
1345
1347
|
}
|
@@ -1398,7 +1400,7 @@ var p;
|
|
1398
1400
|
(function(n) {
|
1399
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";
|
1400
1402
|
})(p || (p = {}));
|
1401
|
-
const
|
1403
|
+
const Nr = {
|
1402
1404
|
debug: p.DEBUG,
|
1403
1405
|
verbose: p.VERBOSE,
|
1404
1406
|
info: p.INFO,
|
@@ -1440,7 +1442,7 @@ class $t {
|
|
1440
1442
|
}
|
1441
1443
|
// Workaround for setter/getter having to be the same type.
|
1442
1444
|
setLogLevel(e) {
|
1443
|
-
this._logLevel = typeof e == "string" ?
|
1445
|
+
this._logLevel = typeof e == "string" ? Nr[e] : e;
|
1444
1446
|
}
|
1445
1447
|
get logHandler() {
|
1446
1448
|
return this._logHandler;
|
@@ -1499,7 +1501,7 @@ function xr(n) {
|
|
1499
1501
|
const i = () => {
|
1500
1502
|
n.removeEventListener("success", s), n.removeEventListener("error", a);
|
1501
1503
|
}, s = () => {
|
1502
|
-
t(
|
1504
|
+
t(D(n.result)), i();
|
1503
1505
|
}, a = () => {
|
1504
1506
|
r(n.error), i();
|
1505
1507
|
};
|
@@ -1510,7 +1512,7 @@ function xr(n) {
|
|
1510
1512
|
}).catch(() => {
|
1511
1513
|
}), $e.set(e, n), e;
|
1512
1514
|
}
|
1513
|
-
function
|
1515
|
+
function jr(n) {
|
1514
1516
|
if (Le.has(n))
|
1515
1517
|
return;
|
1516
1518
|
const e = new Promise((t, r) => {
|
@@ -1535,7 +1537,7 @@ let Ue = {
|
|
1535
1537
|
if (e === "store")
|
1536
1538
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1537
1539
|
}
|
1538
|
-
return
|
1540
|
+
return D(n[e]);
|
1539
1541
|
},
|
1540
1542
|
set(n, e, t) {
|
1541
1543
|
return n[e] = t, !0;
|
@@ -1544,35 +1546,35 @@ let Ue = {
|
|
1544
1546
|
return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
|
1545
1547
|
}
|
1546
1548
|
};
|
1547
|
-
function
|
1549
|
+
function Hr(n) {
|
1548
1550
|
Ue = n(Ue);
|
1549
1551
|
}
|
1550
|
-
function
|
1552
|
+
function Wr(n) {
|
1551
1553
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1552
1554
|
const r = n.call(Ae(this), e, ...t);
|
1553
|
-
return Jt.set(r, e.sort ? e.sort() : [e]),
|
1555
|
+
return Jt.set(r, e.sort ? e.sort() : [e]), D(r);
|
1554
1556
|
} : Fr().includes(n) ? function(...e) {
|
1555
|
-
return n.apply(Ae(this), e),
|
1557
|
+
return n.apply(Ae(this), e), D(Zt.get(this));
|
1556
1558
|
} : function(...e) {
|
1557
|
-
return
|
1559
|
+
return D(n.apply(Ae(this), e));
|
1558
1560
|
};
|
1559
1561
|
}
|
1560
|
-
function
|
1561
|
-
return typeof n == "function" ?
|
1562
|
+
function Gr(n) {
|
1563
|
+
return typeof n == "function" ? Wr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
|
1562
1564
|
}
|
1563
|
-
function
|
1565
|
+
function D(n) {
|
1564
1566
|
if (n instanceof IDBRequest)
|
1565
1567
|
return xr(n);
|
1566
1568
|
if (Se.has(n))
|
1567
1569
|
return Se.get(n);
|
1568
|
-
const e =
|
1570
|
+
const e = Gr(n);
|
1569
1571
|
return e !== n && (Se.set(n, e), $e.set(e, n)), e;
|
1570
1572
|
}
|
1571
1573
|
const Ae = (n) => $e.get(n);
|
1572
|
-
function
|
1573
|
-
const a = indexedDB.open(n, e), c =
|
1574
|
+
function Vr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1575
|
+
const a = indexedDB.open(n, e), c = D(a);
|
1574
1576
|
return r && a.addEventListener("upgradeneeded", (o) => {
|
1575
|
-
r(
|
1577
|
+
r(D(a.result), o.oldVersion, o.newVersion, D(a.transaction), o);
|
1576
1578
|
}), t && a.addEventListener("blocked", (o) => t(
|
1577
1579
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1578
1580
|
o.oldVersion,
|
@@ -1605,7 +1607,7 @@ function ut(n, e) {
|
|
1605
1607
|
};
|
1606
1608
|
return Oe.set(e, s), s;
|
1607
1609
|
}
|
1608
|
-
|
1610
|
+
Hr((n) => ({
|
1609
1611
|
...n,
|
1610
1612
|
get: (e, t, r) => ut(e, t) || n.get(e, t, r),
|
1611
1613
|
has: (e, t) => !!ut(e, t) || n.has(e, t)
|
@@ -1663,7 +1665,7 @@ const Be = "@firebase/app", ht = "0.10.13";
|
|
1663
1665
|
* See the License for the specific language governing permissions and
|
1664
1666
|
* limitations under the License.
|
1665
1667
|
*/
|
1666
|
-
const T = new $t("@firebase/app"),
|
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", fi = "@firebase/remote-config-compat", mi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
|
1667
1669
|
/**
|
1668
1670
|
* @license
|
1669
1671
|
* Copyright 2019 Google LLC
|
@@ -1682,9 +1684,9 @@ const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/
|
|
1682
1684
|
*/
|
1683
1685
|
const Fe = "[DEFAULT]", Ei = {
|
1684
1686
|
[Be]: "fire-core",
|
1685
|
-
[
|
1687
|
+
[Xr]: "fire-core-compat",
|
1686
1688
|
[Kr]: "fire-analytics",
|
1687
|
-
[
|
1689
|
+
[Yr]: "fire-analytics-compat",
|
1688
1690
|
[Qr]: "fire-app-check",
|
1689
1691
|
[qr]: "fire-app-check-compat",
|
1690
1692
|
[ei]: "fire-auth",
|
@@ -1701,8 +1703,8 @@ const Fe = "[DEFAULT]", Ei = {
|
|
1701
1703
|
[ui]: "fire-perf",
|
1702
1704
|
[hi]: "fire-perf-compat",
|
1703
1705
|
[pi]: "fire-rc",
|
1704
|
-
[
|
1705
|
-
[
|
1706
|
+
[fi]: "fire-rc-compat",
|
1707
|
+
[mi]: "fire-gcs",
|
1706
1708
|
[_i]: "fire-gcs-compat",
|
1707
1709
|
[gi]: "fire-fst",
|
1708
1710
|
[Ii]: "fire-fst-compat",
|
@@ -1734,7 +1736,7 @@ function pt(n, e) {
|
|
1734
1736
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1735
1737
|
}
|
1736
1738
|
}
|
1737
|
-
function
|
1739
|
+
function X(n) {
|
1738
1740
|
const e = n.name;
|
1739
1741
|
if (xe.has(e))
|
1740
1742
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
@@ -1745,7 +1747,7 @@ function Y(n) {
|
|
1745
1747
|
pt(t, n);
|
1746
1748
|
return !0;
|
1747
1749
|
}
|
1748
|
-
function
|
1750
|
+
function Xt(n, e) {
|
1749
1751
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1750
1752
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1751
1753
|
}
|
@@ -1783,7 +1785,7 @@ const wi = {
|
|
1783
1785
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
1784
1786
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
1785
1787
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
1786
|
-
},
|
1788
|
+
}, N = new q("app", "Firebase", wi);
|
1787
1789
|
/**
|
1788
1790
|
* @license
|
1789
1791
|
* Copyright 2019 Google LLC
|
@@ -1802,7 +1804,7 @@ const wi = {
|
|
1802
1804
|
*/
|
1803
1805
|
class ki {
|
1804
1806
|
constructor(e, t, r) {
|
1805
|
-
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new
|
1807
|
+
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new V(
|
1806
1808
|
"app",
|
1807
1809
|
() => this,
|
1808
1810
|
"PUBLIC"
|
@@ -1839,7 +1841,7 @@ class ki {
|
|
1839
1841
|
*/
|
1840
1842
|
checkDestroyed() {
|
1841
1843
|
if (this.isDeleted)
|
1842
|
-
throw
|
1844
|
+
throw N.create("app-deleted", { appName: this._name });
|
1843
1845
|
}
|
1844
1846
|
}
|
1845
1847
|
/**
|
@@ -1859,16 +1861,16 @@ class ki {
|
|
1859
1861
|
* limitations under the License.
|
1860
1862
|
*/
|
1861
1863
|
const ee = yi;
|
1862
|
-
function
|
1864
|
+
function Yt(n, e = {}) {
|
1863
1865
|
let t = n;
|
1864
1866
|
typeof e != "object" && (e = { name: e });
|
1865
1867
|
const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
1866
1868
|
if (typeof i != "string" || !i)
|
1867
|
-
throw
|
1869
|
+
throw N.create("bad-app-name", {
|
1868
1870
|
appName: String(i)
|
1869
1871
|
});
|
1870
|
-
if (t || (t =
|
1871
|
-
throw
|
1872
|
+
if (t || (t = Vt()), !t)
|
1873
|
+
throw N.create(
|
1872
1874
|
"no-options"
|
1873
1875
|
/* AppError.NO_OPTIONS */
|
1874
1876
|
);
|
@@ -1876,9 +1878,9 @@ function Xt(n, e = {}) {
|
|
1876
1878
|
if (s) {
|
1877
1879
|
if (ue(t, s.options) && ue(r, s.config))
|
1878
1880
|
return s;
|
1879
|
-
throw
|
1881
|
+
throw N.create("duplicate-app", { appName: i });
|
1880
1882
|
}
|
1881
|
-
const a = new
|
1883
|
+
const a = new Dr(i);
|
1882
1884
|
for (const o of xe.values())
|
1883
1885
|
a.addComponent(o);
|
1884
1886
|
const c = new ki(t, r, a);
|
@@ -1886,13 +1888,13 @@ function Xt(n, e = {}) {
|
|
1886
1888
|
}
|
1887
1889
|
function Ri(n = Fe) {
|
1888
1890
|
const e = he.get(n);
|
1889
|
-
if (!e && n === Fe &&
|
1890
|
-
return
|
1891
|
+
if (!e && n === Fe && Vt())
|
1892
|
+
return Yt();
|
1891
1893
|
if (!e)
|
1892
|
-
throw
|
1894
|
+
throw N.create("no-app", { appName: n });
|
1893
1895
|
return e;
|
1894
1896
|
}
|
1895
|
-
function
|
1897
|
+
function j(n, e, t) {
|
1896
1898
|
var r;
|
1897
1899
|
let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
|
1898
1900
|
t && (i += `-${t}`);
|
@@ -1904,7 +1906,7 @@ function H(n, e, t) {
|
|
1904
1906
|
s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
|
1905
1907
|
return;
|
1906
1908
|
}
|
1907
|
-
|
1909
|
+
X(new V(
|
1908
1910
|
`${i}-version`,
|
1909
1911
|
() => ({ library: i, version: e }),
|
1910
1912
|
"VERSION"
|
@@ -1927,50 +1929,50 @@ function H(n, e, t) {
|
|
1927
1929
|
* See the License for the specific language governing permissions and
|
1928
1930
|
* limitations under the License.
|
1929
1931
|
*/
|
1930
|
-
const Si = "firebase-heartbeat-database", Ai = 1,
|
1931
|
-
let
|
1932
|
+
const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
|
1933
|
+
let Ce = null;
|
1932
1934
|
function Kt() {
|
1933
|
-
return
|
1935
|
+
return Ce || (Ce = Vr(Si, Ai, {
|
1934
1936
|
upgrade: (n, e) => {
|
1935
1937
|
switch (e) {
|
1936
1938
|
case 0:
|
1937
1939
|
try {
|
1938
|
-
n.createObjectStore(
|
1940
|
+
n.createObjectStore(Y);
|
1939
1941
|
} catch (t) {
|
1940
1942
|
console.warn(t);
|
1941
1943
|
}
|
1942
1944
|
}
|
1943
1945
|
}
|
1944
1946
|
}).catch((n) => {
|
1945
|
-
throw
|
1947
|
+
throw N.create("idb-open", {
|
1946
1948
|
originalErrorMessage: n.message
|
1947
1949
|
});
|
1948
|
-
})),
|
1950
|
+
})), Ce;
|
1949
1951
|
}
|
1950
1952
|
async function Oi(n) {
|
1951
1953
|
try {
|
1952
|
-
const t = (await Kt()).transaction(
|
1954
|
+
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1953
1955
|
return await t.done, r;
|
1954
1956
|
} catch (e) {
|
1955
1957
|
if (e instanceof M)
|
1956
1958
|
T.warn(e.message);
|
1957
1959
|
else {
|
1958
|
-
const t =
|
1960
|
+
const t = N.create("idb-get", {
|
1959
1961
|
originalErrorMessage: e == null ? void 0 : e.message
|
1960
1962
|
});
|
1961
1963
|
T.warn(t.message);
|
1962
1964
|
}
|
1963
1965
|
}
|
1964
1966
|
}
|
1965
|
-
async function
|
1967
|
+
async function ft(n, e) {
|
1966
1968
|
try {
|
1967
|
-
const r = (await Kt()).transaction(
|
1968
|
-
await r.objectStore(
|
1969
|
+
const r = (await Kt()).transaction(Y, "readwrite");
|
1970
|
+
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
1969
1971
|
} catch (t) {
|
1970
1972
|
if (t instanceof M)
|
1971
1973
|
T.warn(t.message);
|
1972
1974
|
else {
|
1973
|
-
const r =
|
1975
|
+
const r = N.create("idb-set", {
|
1974
1976
|
originalErrorMessage: t == null ? void 0 : t.message
|
1975
1977
|
});
|
1976
1978
|
T.warn(r.message);
|
@@ -1996,8 +1998,8 @@ function qt(n) {
|
|
1996
1998
|
* See the License for the specific language governing permissions and
|
1997
1999
|
* limitations under the License.
|
1998
2000
|
*/
|
1999
|
-
const
|
2000
|
-
class
|
2001
|
+
const Ci = 1024, Di = 30 * 24 * 60 * 60 * 1e3;
|
2002
|
+
class Ni {
|
2001
2003
|
constructor(e) {
|
2002
2004
|
this.container = e, this._heartbeatsCache = null;
|
2003
2005
|
const t = this.container.getProvider("app").getImmediate();
|
@@ -2013,10 +2015,10 @@ class Di {
|
|
2013
2015
|
async triggerHeartbeat() {
|
2014
2016
|
var e, t;
|
2015
2017
|
try {
|
2016
|
-
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s =
|
2018
|
+
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
2017
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) => {
|
2018
2020
|
const c = new Date(a.date).valueOf();
|
2019
|
-
return Date.now() - c <=
|
2021
|
+
return Date.now() - c <= Di;
|
2020
2022
|
}), this._storage.overwrite(this._heartbeatsCache));
|
2021
2023
|
} catch (r) {
|
2022
2024
|
T.warn(r);
|
@@ -2034,17 +2036,17 @@ class Di {
|
|
2034
2036
|
try {
|
2035
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)
|
2036
2038
|
return "";
|
2037
|
-
const t =
|
2039
|
+
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
|
2038
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;
|
2039
2041
|
} catch (t) {
|
2040
2042
|
return T.warn(t), "";
|
2041
2043
|
}
|
2042
2044
|
}
|
2043
2045
|
}
|
2044
|
-
function
|
2046
|
+
function mt() {
|
2045
2047
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
2046
2048
|
}
|
2047
|
-
function Pi(n, e =
|
2049
|
+
function Pi(n, e = Ci) {
|
2048
2050
|
const t = [];
|
2049
2051
|
let r = n.slice();
|
2050
2052
|
for (const i of n) {
|
@@ -2090,7 +2092,7 @@ class Mi {
|
|
2090
2092
|
var t;
|
2091
2093
|
if (await this._canUseIndexedDBPromise) {
|
2092
2094
|
const i = await this.read();
|
2093
|
-
return
|
2095
|
+
return ft(this.app, {
|
2094
2096
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2095
2097
|
heartbeats: e.heartbeats
|
2096
2098
|
});
|
@@ -2102,7 +2104,7 @@ class Mi {
|
|
2102
2104
|
var t;
|
2103
2105
|
if (await this._canUseIndexedDBPromise) {
|
2104
2106
|
const i = await this.read();
|
2105
|
-
return
|
2107
|
+
return ft(this.app, {
|
2106
2108
|
lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
|
2107
2109
|
heartbeats: [
|
2108
2110
|
...i.heartbeats,
|
@@ -2136,17 +2138,17 @@ function _t(n) {
|
|
2136
2138
|
* limitations under the License.
|
2137
2139
|
*/
|
2138
2140
|
function Li(n) {
|
2139
|
-
|
2141
|
+
X(new V(
|
2140
2142
|
"platform-logger",
|
2141
2143
|
(e) => new Zr(e),
|
2142
2144
|
"PRIVATE"
|
2143
2145
|
/* ComponentType.PRIVATE */
|
2144
|
-
)),
|
2146
|
+
)), X(new V(
|
2145
2147
|
"heartbeat",
|
2146
|
-
(e) => new
|
2148
|
+
(e) => new Ni(e),
|
2147
2149
|
"PRIVATE"
|
2148
2150
|
/* ComponentType.PRIVATE */
|
2149
|
-
)),
|
2151
|
+
)), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
|
2150
2152
|
}
|
2151
2153
|
Li("");
|
2152
2154
|
var Ui = "firebase", Bi = "10.14.1";
|
@@ -2166,7 +2168,7 @@ var Ui = "firebase", Bi = "10.14.1";
|
|
2166
2168
|
* See the License for the specific language governing permissions and
|
2167
2169
|
* limitations under the License.
|
2168
2170
|
*/
|
2169
|
-
|
2171
|
+
j(Ui, Bi, "app");
|
2170
2172
|
var gt = function() {
|
2171
2173
|
return gt = Object.assign || function(e) {
|
2172
2174
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2278,11 +2280,11 @@ function k(n, e) {
|
|
2278
2280
|
* See the License for the specific language governing permissions and
|
2279
2281
|
* limitations under the License.
|
2280
2282
|
*/
|
2281
|
-
function
|
2283
|
+
function je() {
|
2282
2284
|
var n;
|
2283
2285
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
2284
2286
|
}
|
2285
|
-
function
|
2287
|
+
function ji() {
|
2286
2288
|
return vt() === "http:" || vt() === "https:";
|
2287
2289
|
}
|
2288
2290
|
function vt() {
|
@@ -2305,15 +2307,15 @@ function vt() {
|
|
2305
2307
|
* See the License for the specific language governing permissions and
|
2306
2308
|
* limitations under the License.
|
2307
2309
|
*/
|
2308
|
-
function
|
2310
|
+
function Hi() {
|
2309
2311
|
return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
|
2310
2312
|
// This is especially true for Cordova apps which have unreliable
|
2311
2313
|
// navigator.onLine behavior unless cordova-plugin-network-information is
|
2312
2314
|
// installed which overwrites the native navigator.onLine value and
|
2313
2315
|
// defines navigator.connection.
|
2314
|
-
(
|
2316
|
+
(ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
|
2315
2317
|
}
|
2316
|
-
function
|
2318
|
+
function Wi() {
|
2317
2319
|
if (typeof navigator > "u")
|
2318
2320
|
return null;
|
2319
2321
|
const n = navigator;
|
@@ -2343,10 +2345,10 @@ function Gi() {
|
|
2343
2345
|
*/
|
2344
2346
|
class te {
|
2345
2347
|
constructor(e, t) {
|
2346
|
-
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 = fr() || gr();
|
2347
2349
|
}
|
2348
2350
|
get() {
|
2349
|
-
return
|
2351
|
+
return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
|
2350
2352
|
}
|
2351
2353
|
}
|
2352
2354
|
/**
|
@@ -2365,7 +2367,7 @@ class te {
|
|
2365
2367
|
* See the License for the specific language governing permissions and
|
2366
2368
|
* limitations under the License.
|
2367
2369
|
*/
|
2368
|
-
function
|
2370
|
+
function Xe(n, e) {
|
2369
2371
|
k(n.emulator, "Emulator should always be set here");
|
2370
2372
|
const { url: t } = n.emulator;
|
2371
2373
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2440,7 +2442,7 @@ class nn {
|
|
2440
2442
|
* See the License for the specific language governing permissions and
|
2441
2443
|
* limitations under the License.
|
2442
2444
|
*/
|
2443
|
-
const
|
2445
|
+
const Gi = {
|
2444
2446
|
// Custom token errors.
|
2445
2447
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2446
2448
|
// This can only happen if the SDK sends a bad request.
|
@@ -2531,7 +2533,7 @@ const Vi = {
|
|
2531
2533
|
* See the License for the specific language governing permissions and
|
2532
2534
|
* limitations under the License.
|
2533
2535
|
*/
|
2534
|
-
const
|
2536
|
+
const Vi = new te(3e4, 6e4);
|
2535
2537
|
function ve(n, e) {
|
2536
2538
|
return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
|
2537
2539
|
}
|
@@ -2553,12 +2555,12 @@ async function $(n, e, t, r, i = {}) {
|
|
2553
2555
|
method: e,
|
2554
2556
|
headers: o
|
2555
2557
|
}, s);
|
2556
|
-
return
|
2558
|
+
return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
|
2557
2559
|
});
|
2558
2560
|
}
|
2559
2561
|
async function rn(n, e, t) {
|
2560
2562
|
n._canInitEmulator = !1;
|
2561
|
-
const r = Object.assign(Object.assign({},
|
2563
|
+
const r = Object.assign(Object.assign({}, Gi), e);
|
2562
2564
|
try {
|
2563
2565
|
const i = new zi(n), s = await Promise.race([
|
2564
2566
|
t(),
|
@@ -2597,7 +2599,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2597
2599
|
}
|
2598
2600
|
function an(n, e, t, r) {
|
2599
2601
|
const i = `${e}${t}?${r}`;
|
2600
|
-
return n.config.emulator ?
|
2602
|
+
return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2601
2603
|
}
|
2602
2604
|
class zi {
|
2603
2605
|
constructor(e) {
|
@@ -2606,7 +2608,7 @@ class zi {
|
|
2606
2608
|
this.auth,
|
2607
2609
|
"network-request-failed"
|
2608
2610
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
2609
|
-
)),
|
2611
|
+
)), Vi.get());
|
2610
2612
|
});
|
2611
2613
|
}
|
2612
2614
|
clearNetworkTimeout() {
|
@@ -2669,7 +2671,7 @@ function J(n) {
|
|
2669
2671
|
}
|
2670
2672
|
}
|
2671
2673
|
async function Zi(n, e = !1) {
|
2672
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2674
|
+
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2673
2675
|
u(
|
2674
2676
|
i && i.exp && i.auth_time && i.iat,
|
2675
2677
|
t.auth,
|
@@ -2680,29 +2682,29 @@ async function Zi(n, e = !1) {
|
|
2680
2682
|
return {
|
2681
2683
|
claims: i,
|
2682
2684
|
token: r,
|
2683
|
-
authTime: J(
|
2684
|
-
issuedAtTime: J(
|
2685
|
-
expirationTime: J(
|
2685
|
+
authTime: J(De(i.auth_time)),
|
2686
|
+
issuedAtTime: J(De(i.iat)),
|
2687
|
+
expirationTime: J(De(i.exp)),
|
2686
2688
|
signInProvider: a || null,
|
2687
2689
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2688
2690
|
};
|
2689
2691
|
}
|
2690
|
-
function
|
2692
|
+
function De(n) {
|
2691
2693
|
return Number(n) * 1e3;
|
2692
2694
|
}
|
2693
|
-
function
|
2695
|
+
function Ye(n) {
|
2694
2696
|
const [e, t, r] = n.split(".");
|
2695
2697
|
if (e === void 0 || t === void 0 || r === void 0)
|
2696
2698
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2697
2699
|
try {
|
2698
|
-
const i =
|
2700
|
+
const i = Wt(t);
|
2699
2701
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2700
2702
|
} catch (i) {
|
2701
2703
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2702
2704
|
}
|
2703
2705
|
}
|
2704
2706
|
function It(n) {
|
2705
|
-
const e =
|
2707
|
+
const e = Ye(n);
|
2706
2708
|
return u(
|
2707
2709
|
e,
|
2708
2710
|
"internal-error"
|
@@ -2761,7 +2763,7 @@ function Ji({ code: n }) {
|
|
2761
2763
|
* See the License for the specific language governing permissions and
|
2762
2764
|
* limitations under the License.
|
2763
2765
|
*/
|
2764
|
-
class
|
2766
|
+
class Xi {
|
2765
2767
|
constructor(e) {
|
2766
2768
|
this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
|
2767
2769
|
}
|
@@ -2823,7 +2825,7 @@ class Yi {
|
|
2823
2825
|
* See the License for the specific language governing permissions and
|
2824
2826
|
* limitations under the License.
|
2825
2827
|
*/
|
2826
|
-
class
|
2828
|
+
class He {
|
2827
2829
|
constructor(e, t) {
|
2828
2830
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2829
2831
|
}
|
@@ -2856,7 +2858,7 @@ class je {
|
|
2856
2858
|
* See the License for the specific language governing permissions and
|
2857
2859
|
* limitations under the License.
|
2858
2860
|
*/
|
2859
|
-
async function
|
2861
|
+
async function fe(n) {
|
2860
2862
|
var e;
|
2861
2863
|
const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
|
2862
2864
|
u(
|
@@ -2876,14 +2878,14 @@ async function me(n) {
|
|
2876
2878
|
phoneNumber: s.phoneNumber || null,
|
2877
2879
|
tenantId: s.tenantId || null,
|
2878
2880
|
providerData: c,
|
2879
|
-
metadata: new
|
2881
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2880
2882
|
isAnonymous: d
|
2881
2883
|
};
|
2882
2884
|
Object.assign(n, h);
|
2883
2885
|
}
|
2884
|
-
async function
|
2886
|
+
async function Yi(n) {
|
2885
2887
|
const e = z(n);
|
2886
|
-
await
|
2888
|
+
await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
|
2887
2889
|
}
|
2888
2890
|
function Ki(n, e) {
|
2889
2891
|
return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
|
@@ -2957,7 +2959,7 @@ async function Qi(n, e) {
|
|
2957
2959
|
* See the License for the specific language governing permissions and
|
2958
2960
|
* limitations under the License.
|
2959
2961
|
*/
|
2960
|
-
class
|
2962
|
+
class H {
|
2961
2963
|
constructor() {
|
2962
2964
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2963
2965
|
}
|
@@ -3009,7 +3011,7 @@ class j {
|
|
3009
3011
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
3010
3012
|
}
|
3011
3013
|
static fromJSON(e, t) {
|
3012
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new
|
3014
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
|
3013
3015
|
return r && (u(typeof r == "string", "internal-error", {
|
3014
3016
|
appName: e
|
3015
3017
|
}), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
|
@@ -3029,7 +3031,7 @@ class j {
|
|
3029
3031
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
3030
3032
|
}
|
3031
3033
|
_clone() {
|
3032
|
-
return Object.assign(new
|
3034
|
+
return Object.assign(new H(), this.toJSON());
|
3033
3035
|
}
|
3034
3036
|
_performRefresh() {
|
3035
3037
|
return b("not implemented");
|
@@ -3057,7 +3059,7 @@ function R(n, e) {
|
|
3057
3059
|
class y {
|
3058
3060
|
constructor(e) {
|
3059
3061
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
|
3060
|
-
this.providerId = "firebase", this.proactiveRefresh = new
|
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 He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
3061
3063
|
}
|
3062
3064
|
async getIdToken(e) {
|
3063
3065
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -3072,7 +3074,7 @@ class y {
|
|
3072
3074
|
return Zi(this, e);
|
3073
3075
|
}
|
3074
3076
|
reload() {
|
3075
|
-
return
|
3077
|
+
return Yi(this);
|
3076
3078
|
}
|
3077
3079
|
_assign(e) {
|
3078
3080
|
this !== e && (u(
|
@@ -3105,7 +3107,7 @@ class y {
|
|
3105
3107
|
}
|
3106
3108
|
async _updateTokensIfNecessary(e, t = !1) {
|
3107
3109
|
let r = !1;
|
3108
|
-
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 fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
3109
3111
|
}
|
3110
3112
|
async delete() {
|
3111
3113
|
if (I(this.auth.app))
|
@@ -3139,20 +3141,20 @@ class y {
|
|
3139
3141
|
}
|
3140
3142
|
static _fromJSON(e, t) {
|
3141
3143
|
var r, i, s, a, c, o, l, d;
|
3142
|
-
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, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
|
3143
3145
|
u(
|
3144
3146
|
Te && at,
|
3145
3147
|
e,
|
3146
3148
|
"internal-error"
|
3147
3149
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3148
3150
|
);
|
3149
|
-
const Pn =
|
3151
|
+
const Pn = H.fromJSON(this.name, at);
|
3150
3152
|
u(
|
3151
3153
|
typeof Te == "string",
|
3152
3154
|
e,
|
3153
3155
|
"internal-error"
|
3154
3156
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3155
|
-
), R(h, e.name), R(
|
3157
|
+
), R(h, e.name), R(f, e.name), u(
|
3156
3158
|
typeof it == "boolean",
|
3157
3159
|
e,
|
3158
3160
|
"internal-error"
|
@@ -3166,7 +3168,7 @@ class y {
|
|
3166
3168
|
const ke = new y({
|
3167
3169
|
uid: Te,
|
3168
3170
|
auth: e,
|
3169
|
-
email:
|
3171
|
+
email: f,
|
3170
3172
|
emailVerified: it,
|
3171
3173
|
displayName: h,
|
3172
3174
|
isAnonymous: st,
|
@@ -3185,7 +3187,7 @@ class y {
|
|
3185
3187
|
* @param idTokenResponse
|
3186
3188
|
*/
|
3187
3189
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
3188
|
-
const i = new
|
3190
|
+
const i = new H();
|
3189
3191
|
i.updateFromServerResponse(t);
|
3190
3192
|
const s = new y({
|
3191
3193
|
uid: t.localId,
|
@@ -3193,7 +3195,7 @@ class y {
|
|
3193
3195
|
stsTokenManager: i,
|
3194
3196
|
isAnonymous: r
|
3195
3197
|
});
|
3196
|
-
return await
|
3198
|
+
return await fe(s), s;
|
3197
3199
|
}
|
3198
3200
|
/**
|
3199
3201
|
* Initialize a User from an idToken server response
|
@@ -3207,7 +3209,7 @@ class y {
|
|
3207
3209
|
"internal-error"
|
3208
3210
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3209
3211
|
);
|
3210
|
-
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 H();
|
3211
3213
|
c.updateFromIdToken(r);
|
3212
3214
|
const o = new y({
|
3213
3215
|
uid: i.localId,
|
@@ -3223,7 +3225,7 @@ class y {
|
|
3223
3225
|
phoneNumber: i.phoneNumber || null,
|
3224
3226
|
tenantId: i.tenantId || null,
|
3225
3227
|
providerData: s,
|
3226
|
-
metadata: new
|
3228
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
3227
3229
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
3228
3230
|
};
|
3229
3231
|
return Object.assign(o, l), o;
|
@@ -3310,7 +3312,7 @@ const yt = ln;
|
|
3310
3312
|
function ae(n, e, t) {
|
3311
3313
|
return `firebase:${n}:${e}:${t}`;
|
3312
3314
|
}
|
3313
|
-
class
|
3315
|
+
class W {
|
3314
3316
|
constructor(e, t, r) {
|
3315
3317
|
this.persistence = e, this.auth = t, this.userKey = r;
|
3316
3318
|
const { config: i, name: s } = this.auth;
|
@@ -3341,7 +3343,7 @@ class G {
|
|
3341
3343
|
}
|
3342
3344
|
static async create(e, t, r = "authUser") {
|
3343
3345
|
if (!t.length)
|
3344
|
-
return new
|
3346
|
+
return new W(E(yt), e, r);
|
3345
3347
|
const i = (await Promise.all(t.map(async (l) => {
|
3346
3348
|
if (await l._isAvailable())
|
3347
3349
|
return l;
|
@@ -3360,13 +3362,13 @@ class G {
|
|
3360
3362
|
} catch {
|
3361
3363
|
}
|
3362
3364
|
const o = i.filter((l) => l._shouldAllowMigration);
|
3363
|
-
return !s._shouldAllowMigration || !o.length ? new
|
3365
|
+
return !s._shouldAllowMigration || !o.length ? new W(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
|
3364
3366
|
if (l !== s)
|
3365
3367
|
try {
|
3366
3368
|
await l._remove(a);
|
3367
3369
|
} catch {
|
3368
3370
|
}
|
3369
|
-
})), new
|
3371
|
+
})), new W(s, e, r));
|
3370
3372
|
}
|
3371
3373
|
}
|
3372
3374
|
/**
|
@@ -3399,7 +3401,7 @@ function Et(n) {
|
|
3399
3401
|
return "Firefox";
|
3400
3402
|
if (e.includes("silk/"))
|
3401
3403
|
return "Silk";
|
3402
|
-
if (
|
3404
|
+
if (mn(e))
|
3403
3405
|
return "Blackberry";
|
3404
3406
|
if (_n(e))
|
3405
3407
|
return "Webos";
|
@@ -3407,7 +3409,7 @@ function Et(n) {
|
|
3407
3409
|
return "Safari";
|
3408
3410
|
if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
|
3409
3411
|
return "Chrome";
|
3410
|
-
if (
|
3412
|
+
if (fn(e))
|
3411
3413
|
return "Android";
|
3412
3414
|
{
|
3413
3415
|
const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
|
@@ -3416,40 +3418,40 @@ function Et(n) {
|
|
3416
3418
|
}
|
3417
3419
|
return "Other";
|
3418
3420
|
}
|
3419
|
-
function dn(n =
|
3421
|
+
function dn(n = m()) {
|
3420
3422
|
return /firefox\//i.test(n);
|
3421
3423
|
}
|
3422
|
-
function un(n =
|
3424
|
+
function un(n = m()) {
|
3423
3425
|
const e = n.toLowerCase();
|
3424
3426
|
return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
|
3425
3427
|
}
|
3426
|
-
function hn(n =
|
3428
|
+
function hn(n = m()) {
|
3427
3429
|
return /crios\//i.test(n);
|
3428
3430
|
}
|
3429
|
-
function pn(n =
|
3431
|
+
function pn(n = m()) {
|
3430
3432
|
return /iemobile/i.test(n);
|
3431
3433
|
}
|
3432
|
-
function
|
3434
|
+
function fn(n = m()) {
|
3433
3435
|
return /android/i.test(n);
|
3434
3436
|
}
|
3435
|
-
function
|
3437
|
+
function mn(n = m()) {
|
3436
3438
|
return /blackberry/i.test(n);
|
3437
3439
|
}
|
3438
|
-
function _n(n =
|
3440
|
+
function _n(n = m()) {
|
3439
3441
|
return /webos/i.test(n);
|
3440
3442
|
}
|
3441
|
-
function Ke(n =
|
3443
|
+
function Ke(n = m()) {
|
3442
3444
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3443
3445
|
}
|
3444
|
-
function es(n =
|
3446
|
+
function es(n = m()) {
|
3445
3447
|
var e;
|
3446
3448
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3447
3449
|
}
|
3448
3450
|
function ts() {
|
3449
3451
|
return vr() && document.documentMode === 10;
|
3450
3452
|
}
|
3451
|
-
function gn(n =
|
3452
|
-
return Ke(n) ||
|
3453
|
+
function gn(n = m()) {
|
3454
|
+
return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
|
3453
3455
|
}
|
3454
3456
|
/**
|
3455
3457
|
* @license
|
@@ -3471,10 +3473,10 @@ function vn(n, e = []) {
|
|
3471
3473
|
let t;
|
3472
3474
|
switch (n) {
|
3473
3475
|
case "Browser":
|
3474
|
-
t = Et(
|
3476
|
+
t = Et(m());
|
3475
3477
|
break;
|
3476
3478
|
case "Worker":
|
3477
|
-
t = `${Et(
|
3479
|
+
t = `${Et(m())}-${n}`;
|
3478
3480
|
break;
|
3479
3481
|
default:
|
3480
3482
|
t = n;
|
@@ -3667,7 +3669,7 @@ class as {
|
|
3667
3669
|
_initializeWithPersistence(e, t) {
|
3668
3670
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3669
3671
|
var r, i;
|
3670
|
-
if (!this._deleted && (this.persistenceManager = await
|
3672
|
+
if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
|
3671
3673
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3672
3674
|
try {
|
3673
3675
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3748,7 +3750,7 @@ class as {
|
|
3748
3750
|
}
|
3749
3751
|
async reloadAndSetCurrentUserOrClear(e) {
|
3750
3752
|
try {
|
3751
|
-
await
|
3753
|
+
await fe(e);
|
3752
3754
|
} catch (t) {
|
3753
3755
|
if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
|
3754
3756
|
return this.directlySetCurrentUser(null);
|
@@ -3756,7 +3758,7 @@ class as {
|
|
3756
3758
|
return this.directlySetCurrentUser(e);
|
3757
3759
|
}
|
3758
3760
|
useDeviceLanguage() {
|
3759
|
-
this.languageCode =
|
3761
|
+
this.languageCode = Wi();
|
3760
3762
|
}
|
3761
3763
|
async _delete() {
|
3762
3764
|
this._deleted = !0;
|
@@ -3871,7 +3873,7 @@ class as {
|
|
3871
3873
|
this,
|
3872
3874
|
"argument-error"
|
3873
3875
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3874
|
-
), this.redirectPersistenceManager = await
|
3876
|
+
), this.redirectPersistenceManager = await W.create(
|
3875
3877
|
this,
|
3876
3878
|
[E(t._redirectPersistence)],
|
3877
3879
|
"redirectUser"
|
@@ -4062,7 +4064,7 @@ function ds(n) {
|
|
4062
4064
|
* limitations under the License.
|
4063
4065
|
*/
|
4064
4066
|
function us(n, e) {
|
4065
|
-
const t =
|
4067
|
+
const t = Xt(n, "auth");
|
4066
4068
|
if (t.isInitialized()) {
|
4067
4069
|
const i = t.getImmediate(), s = t.getOptions();
|
4068
4070
|
if (ue(s, e ?? {}))
|
@@ -4092,19 +4094,19 @@ function ps(n, e, t) {
|
|
4092
4094
|
"invalid-emulator-scheme"
|
4093
4095
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
4094
4096
|
);
|
4095
|
-
const i = !1, s = In(e), { host: a, port: c } =
|
4097
|
+
const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
|
4096
4098
|
r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
4097
4099
|
host: a,
|
4098
4100
|
port: c,
|
4099
4101
|
protocol: s.replace(":", ""),
|
4100
4102
|
options: Object.freeze({ disableWarnings: i })
|
4101
|
-
}),
|
4103
|
+
}), ms();
|
4102
4104
|
}
|
4103
4105
|
function In(n) {
|
4104
4106
|
const e = n.indexOf(":");
|
4105
4107
|
return e < 0 ? "" : n.substr(0, e + 1);
|
4106
4108
|
}
|
4107
|
-
function
|
4109
|
+
function fs(n) {
|
4108
4110
|
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
4109
4111
|
if (!t)
|
4110
4112
|
return { host: "", port: null };
|
@@ -4123,7 +4125,7 @@ function wt(n) {
|
|
4123
4125
|
const e = Number(n);
|
4124
4126
|
return isNaN(e) ? null : e;
|
4125
4127
|
}
|
4126
|
-
function
|
4128
|
+
function ms() {
|
4127
4129
|
function n() {
|
4128
4130
|
const e = document.createElement("p"), t = e.style;
|
4129
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);
|
@@ -4188,7 +4190,7 @@ class bn {
|
|
4188
4190
|
* See the License for the specific language governing permissions and
|
4189
4191
|
* limitations under the License.
|
4190
4192
|
*/
|
4191
|
-
async function
|
4193
|
+
async function G(n, e) {
|
4192
4194
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
|
4193
4195
|
}
|
4194
4196
|
/**
|
@@ -4251,17 +4253,17 @@ class U extends bn {
|
|
4251
4253
|
/** @internal */
|
4252
4254
|
_getIdTokenResponse(e) {
|
4253
4255
|
const t = this.buildRequest();
|
4254
|
-
return
|
4256
|
+
return G(e, t);
|
4255
4257
|
}
|
4256
4258
|
/** @internal */
|
4257
4259
|
_linkToIdToken(e, t) {
|
4258
4260
|
const r = this.buildRequest();
|
4259
|
-
return r.idToken = t,
|
4261
|
+
return r.idToken = t, G(e, r);
|
4260
4262
|
}
|
4261
4263
|
/** @internal */
|
4262
4264
|
_getReauthenticationResolver(e) {
|
4263
4265
|
const t = this.buildRequest();
|
4264
|
-
return t.autoCreate = !1,
|
4266
|
+
return t.autoCreate = !1, G(e, t);
|
4265
4267
|
}
|
4266
4268
|
buildRequest() {
|
4267
4269
|
const e = {
|
@@ -4592,7 +4594,7 @@ O.PROVIDER_ID = "github.com";
|
|
4592
4594
|
* See the License for the specific language governing permissions and
|
4593
4595
|
* limitations under the License.
|
4594
4596
|
*/
|
4595
|
-
class
|
4597
|
+
class C extends ne {
|
4596
4598
|
constructor() {
|
4597
4599
|
super(
|
4598
4600
|
"twitter.com"
|
@@ -4607,8 +4609,8 @@ class N extends ne {
|
|
4607
4609
|
*/
|
4608
4610
|
static credential(e, t) {
|
4609
4611
|
return U._fromParams({
|
4610
|
-
providerId:
|
4611
|
-
signInMethod:
|
4612
|
+
providerId: C.PROVIDER_ID,
|
4613
|
+
signInMethod: C.TWITTER_SIGN_IN_METHOD,
|
4612
4614
|
oauthToken: e,
|
4613
4615
|
oauthTokenSecret: t
|
4614
4616
|
});
|
@@ -4619,7 +4621,7 @@ class N extends ne {
|
|
4619
4621
|
* @param userCredential - The user credential.
|
4620
4622
|
*/
|
4621
4623
|
static credentialFromResult(e) {
|
4622
|
-
return
|
4624
|
+
return C.credentialFromTaggedObject(e);
|
4623
4625
|
}
|
4624
4626
|
/**
|
4625
4627
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4628,7 +4630,7 @@ class N extends ne {
|
|
4628
4630
|
* @param userCredential - The user credential.
|
4629
4631
|
*/
|
4630
4632
|
static credentialFromError(e) {
|
4631
|
-
return
|
4633
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
4632
4634
|
}
|
4633
4635
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4634
4636
|
if (!e)
|
@@ -4637,14 +4639,14 @@ class N extends ne {
|
|
4637
4639
|
if (!t || !r)
|
4638
4640
|
return null;
|
4639
4641
|
try {
|
4640
|
-
return
|
4642
|
+
return C.credential(t, r);
|
4641
4643
|
} catch {
|
4642
4644
|
return null;
|
4643
4645
|
}
|
4644
4646
|
}
|
4645
4647
|
}
|
4646
|
-
|
4647
|
-
|
4648
|
+
C.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4649
|
+
C.PROVIDER_ID = "twitter.com";
|
4648
4650
|
/**
|
4649
4651
|
* @license
|
4650
4652
|
* Copyright 2020 Google LLC
|
@@ -4708,10 +4710,10 @@ function kt(n) {
|
|
4708
4710
|
* See the License for the specific language governing permissions and
|
4709
4711
|
* limitations under the License.
|
4710
4712
|
*/
|
4711
|
-
class
|
4713
|
+
class me extends M {
|
4712
4714
|
constructor(e, t, r, i) {
|
4713
4715
|
var s;
|
4714
|
-
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, me.prototype), this.customData = {
|
4715
4717
|
appName: e.name,
|
4716
4718
|
tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
|
4717
4719
|
_serverResponse: t.customData._serverResponse,
|
@@ -4719,12 +4721,12 @@ class fe extends M {
|
|
4719
4721
|
};
|
4720
4722
|
}
|
4721
4723
|
static _fromErrorAndOperation(e, t, r, i) {
|
4722
|
-
return new
|
4724
|
+
return new me(e, t, r, i);
|
4723
4725
|
}
|
4724
4726
|
}
|
4725
4727
|
function En(n, e, t, r) {
|
4726
4728
|
return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
|
4727
|
-
throw s.code === "auth/multi-factor-auth-required" ?
|
4729
|
+
throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
|
4728
4730
|
});
|
4729
4731
|
}
|
4730
4732
|
async function gs(n, e, t = !1) {
|
@@ -4760,7 +4762,7 @@ async function vs(n, e, t = !1) {
|
|
4760
4762
|
"internal-error"
|
4761
4763
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4762
4764
|
);
|
4763
|
-
const a =
|
4765
|
+
const a = Ye(s.idToken);
|
4764
4766
|
u(
|
4765
4767
|
a,
|
4766
4768
|
r,
|
@@ -5223,9 +5225,9 @@ class As {
|
|
5223
5225
|
a = {
|
5224
5226
|
messageChannel: i,
|
5225
5227
|
onMessage(h) {
|
5226
|
-
const
|
5227
|
-
if (
|
5228
|
-
switch (
|
5228
|
+
const f = h;
|
5229
|
+
if (f.data.eventId === l)
|
5230
|
+
switch (f.data.status) {
|
5229
5231
|
case "ack":
|
5230
5232
|
clearTimeout(d), s = setTimeout(
|
5231
5233
|
() => {
|
@@ -5239,7 +5241,7 @@ class As {
|
|
5239
5241
|
);
|
5240
5242
|
break;
|
5241
5243
|
case "done":
|
5242
|
-
clearTimeout(s), c(
|
5244
|
+
clearTimeout(s), c(f.data.response);
|
5243
5245
|
break;
|
5244
5246
|
default:
|
5245
5247
|
clearTimeout(d), clearTimeout(s), o(new Error(
|
@@ -5300,7 +5302,7 @@ function Os(n) {
|
|
5300
5302
|
function Sn() {
|
5301
5303
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
5302
5304
|
}
|
5303
|
-
async function
|
5305
|
+
async function Cs() {
|
5304
5306
|
if (!(navigator != null && navigator.serviceWorker))
|
5305
5307
|
return null;
|
5306
5308
|
try {
|
@@ -5309,11 +5311,11 @@ async function Ns() {
|
|
5309
5311
|
return null;
|
5310
5312
|
}
|
5311
5313
|
}
|
5312
|
-
function
|
5314
|
+
function Ds() {
|
5313
5315
|
var n;
|
5314
5316
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
5315
5317
|
}
|
5316
|
-
function
|
5318
|
+
function Ns() {
|
5317
5319
|
return Sn() ? self : null;
|
5318
5320
|
}
|
5319
5321
|
/**
|
@@ -5354,7 +5356,7 @@ function Ms() {
|
|
5354
5356
|
const n = indexedDB.deleteDatabase(An);
|
5355
5357
|
return new re(n).toPromise();
|
5356
5358
|
}
|
5357
|
-
function
|
5359
|
+
function We() {
|
5358
5360
|
const n = indexedDB.open(An, Ps);
|
5359
5361
|
return new Promise((e, t) => {
|
5360
5362
|
n.addEventListener("error", () => {
|
@@ -5368,7 +5370,7 @@ function Ge() {
|
|
5368
5370
|
}
|
5369
5371
|
}), n.addEventListener("success", async () => {
|
5370
5372
|
const r = n.result;
|
5371
|
-
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await
|
5373
|
+
r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await We()));
|
5372
5374
|
});
|
5373
5375
|
});
|
5374
5376
|
}
|
@@ -5388,14 +5390,14 @@ function St(n, e) {
|
|
5388
5390
|
return new re(t).toPromise();
|
5389
5391
|
}
|
5390
5392
|
const Us = 800, Bs = 3;
|
5391
|
-
class
|
5393
|
+
class Cn {
|
5392
5394
|
constructor() {
|
5393
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(() => {
|
5394
5396
|
}, () => {
|
5395
5397
|
});
|
5396
5398
|
}
|
5397
5399
|
async _openDb() {
|
5398
|
-
return this.db ? this.db : (this.db = await
|
5400
|
+
return this.db ? this.db : (this.db = await We(), this.db);
|
5399
5401
|
}
|
5400
5402
|
async _withRetries(e) {
|
5401
5403
|
let t = 0;
|
@@ -5420,7 +5422,7 @@ class Nn {
|
|
5420
5422
|
* As the worker we should listen to events from the main window.
|
5421
5423
|
*/
|
5422
5424
|
async initializeReceiver() {
|
5423
|
-
this.receiver = be._getInstance(
|
5425
|
+
this.receiver = be._getInstance(Ns()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5424
5426
|
keyProcessed: (await this._poll()).includes(t.key)
|
5425
5427
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5426
5428
|
"keyChanged"
|
@@ -5436,7 +5438,7 @@ class Nn {
|
|
5436
5438
|
*/
|
5437
5439
|
async initializeSender() {
|
5438
5440
|
var e, t;
|
5439
|
-
if (this.activeServiceWorker = await
|
5441
|
+
if (this.activeServiceWorker = await Cs(), !this.activeServiceWorker)
|
5440
5442
|
return;
|
5441
5443
|
this.sender = new As(this.activeServiceWorker);
|
5442
5444
|
const r = await this.sender._send(
|
@@ -5460,7 +5462,7 @@ class Nn {
|
|
5460
5462
|
* @param key - Storage key which changed.
|
5461
5463
|
*/
|
5462
5464
|
async notifyServiceWorker(e) {
|
5463
|
-
if (!(!this.sender || !this.activeServiceWorker ||
|
5465
|
+
if (!(!this.sender || !this.activeServiceWorker || Ds() !== this.activeServiceWorker))
|
5464
5466
|
try {
|
5465
5467
|
await this.sender._send(
|
5466
5468
|
"keyChanged",
|
@@ -5476,7 +5478,7 @@ class Nn {
|
|
5476
5478
|
try {
|
5477
5479
|
if (!indexedDB)
|
5478
5480
|
return !1;
|
5479
|
-
const e = await
|
5481
|
+
const e = await We();
|
5480
5482
|
return await Rt(e, _e, "1"), await St(e, _e), !0;
|
5481
5483
|
} catch {
|
5482
5484
|
}
|
@@ -5537,8 +5539,8 @@ class Nn {
|
|
5537
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();
|
5538
5540
|
}
|
5539
5541
|
}
|
5540
|
-
|
5541
|
-
const Fs =
|
5542
|
+
Cn.type = "LOCAL";
|
5543
|
+
const Fs = Cn;
|
5542
5544
|
new te(3e4, 6e4);
|
5543
5545
|
/**
|
5544
5546
|
* @license
|
@@ -5589,13 +5591,13 @@ class et extends bn {
|
|
5589
5591
|
), this.params = e;
|
5590
5592
|
}
|
5591
5593
|
_getIdTokenResponse(e) {
|
5592
|
-
return
|
5594
|
+
return G(e, this._buildIdpRequest());
|
5593
5595
|
}
|
5594
5596
|
_linkToIdToken(e, t) {
|
5595
|
-
return
|
5597
|
+
return G(e, this._buildIdpRequest(t));
|
5596
5598
|
}
|
5597
5599
|
_getReauthenticationResolver(e) {
|
5598
|
-
return
|
5600
|
+
return G(e, this._buildIdpRequest());
|
5599
5601
|
}
|
5600
5602
|
_buildIdpRequest(e) {
|
5601
5603
|
const t = {
|
@@ -5610,10 +5612,10 @@ class et extends bn {
|
|
5610
5612
|
return e && (t.idToken = e), t;
|
5611
5613
|
}
|
5612
5614
|
}
|
5613
|
-
function
|
5615
|
+
function js(n) {
|
5614
5616
|
return Is(n.auth, new et(n), n.bypassAuthState);
|
5615
5617
|
}
|
5616
|
-
function
|
5618
|
+
function Hs(n) {
|
5617
5619
|
const { auth: e, user: t } = n;
|
5618
5620
|
return u(
|
5619
5621
|
t,
|
@@ -5622,7 +5624,7 @@ function js(n) {
|
|
5622
5624
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5623
5625
|
), vs(t, new et(n), n.bypassAuthState);
|
5624
5626
|
}
|
5625
|
-
async function
|
5627
|
+
async function Ws(n) {
|
5626
5628
|
const { auth: e, user: t } = n;
|
5627
5629
|
return u(
|
5628
5630
|
t,
|
@@ -5647,7 +5649,7 @@ async function Gs(n) {
|
|
5647
5649
|
* See the License for the specific language governing permissions and
|
5648
5650
|
* limitations under the License.
|
5649
5651
|
*/
|
5650
|
-
class
|
5652
|
+
class Dn {
|
5651
5653
|
constructor(e, t, r, i, s = !1) {
|
5652
5654
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5653
5655
|
}
|
@@ -5689,13 +5691,13 @@ class Cn {
|
|
5689
5691
|
switch (e) {
|
5690
5692
|
case "signInViaPopup":
|
5691
5693
|
case "signInViaRedirect":
|
5692
|
-
return
|
5694
|
+
return js;
|
5693
5695
|
case "linkViaPopup":
|
5694
5696
|
case "linkViaRedirect":
|
5695
|
-
return
|
5697
|
+
return Ws;
|
5696
5698
|
case "reauthViaPopup":
|
5697
5699
|
case "reauthViaRedirect":
|
5698
|
-
return
|
5700
|
+
return Hs;
|
5699
5701
|
default:
|
5700
5702
|
w(
|
5701
5703
|
this.auth,
|
@@ -5730,8 +5732,8 @@ class Cn {
|
|
5730
5732
|
* See the License for the specific language governing permissions and
|
5731
5733
|
* limitations under the License.
|
5732
5734
|
*/
|
5733
|
-
const
|
5734
|
-
class x extends
|
5735
|
+
const Gs = new te(2e3, 1e4);
|
5736
|
+
class x extends Dn {
|
5735
5737
|
constructor(e, t, r, i, s) {
|
5736
5738
|
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5737
5739
|
}
|
@@ -5794,7 +5796,7 @@ class x extends Cn {
|
|
5794
5796
|
);
|
5795
5797
|
return;
|
5796
5798
|
}
|
5797
|
-
this.pollId = window.setTimeout(e,
|
5799
|
+
this.pollId = window.setTimeout(e, Gs.get());
|
5798
5800
|
};
|
5799
5801
|
e();
|
5800
5802
|
}
|
@@ -5816,8 +5818,8 @@ x.currentPopupAction = null;
|
|
5816
5818
|
* See the License for the specific language governing permissions and
|
5817
5819
|
* limitations under the License.
|
5818
5820
|
*/
|
5819
|
-
const
|
5820
|
-
class zs extends
|
5821
|
+
const Vs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
|
5822
|
+
class zs extends Dn {
|
5821
5823
|
constructor(e, t, r = !1) {
|
5822
5824
|
super(e, [
|
5823
5825
|
"signInViaRedirect",
|
@@ -5864,7 +5866,7 @@ class zs extends Cn {
|
|
5864
5866
|
}
|
5865
5867
|
}
|
5866
5868
|
async function $s(n, e) {
|
5867
|
-
const t =
|
5869
|
+
const t = Xs(e), r = Js(n);
|
5868
5870
|
if (!await r._isAvailable())
|
5869
5871
|
return !1;
|
5870
5872
|
const i = await r._get(t) === "true";
|
@@ -5876,10 +5878,10 @@ function Zs(n, e) {
|
|
5876
5878
|
function Js(n) {
|
5877
5879
|
return E(n._redirectPersistence);
|
5878
5880
|
}
|
5879
|
-
function
|
5880
|
-
return ae(
|
5881
|
+
function Xs(n) {
|
5882
|
+
return ae(Vs, n.config.apiKey, n.name);
|
5881
5883
|
}
|
5882
|
-
async function
|
5884
|
+
async function Ys(n, e, t = !1) {
|
5883
5885
|
if (I(n.app))
|
5884
5886
|
return Promise.reject(P(n));
|
5885
5887
|
const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
|
@@ -5922,7 +5924,7 @@ class qs {
|
|
5922
5924
|
}
|
5923
5925
|
sendToConsumer(e, t) {
|
5924
5926
|
var r;
|
5925
|
-
if (e.error && !
|
5927
|
+
if (e.error && !Nn(e)) {
|
5926
5928
|
const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
|
5927
5929
|
t.onError(_(this.auth, i));
|
5928
5930
|
} else
|
@@ -5942,7 +5944,7 @@ class qs {
|
|
5942
5944
|
function At(n) {
|
5943
5945
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5944
5946
|
}
|
5945
|
-
function
|
5947
|
+
function Nn({ type: n, error: e }) {
|
5946
5948
|
return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
|
5947
5949
|
}
|
5948
5950
|
function Qs(n) {
|
@@ -5952,7 +5954,7 @@ function Qs(n) {
|
|
5952
5954
|
case "reauthViaRedirect":
|
5953
5955
|
return !0;
|
5954
5956
|
case "unknown":
|
5955
|
-
return
|
5957
|
+
return Nn(n);
|
5956
5958
|
default:
|
5957
5959
|
return !1;
|
5958
5960
|
}
|
@@ -6010,7 +6012,7 @@ async function ra(n) {
|
|
6010
6012
|
);
|
6011
6013
|
}
|
6012
6014
|
function ia(n) {
|
6013
|
-
const e =
|
6015
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
6014
6016
|
if (n.startsWith("chrome-extension://")) {
|
6015
6017
|
const a = new URL(n);
|
6016
6018
|
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
@@ -6127,7 +6129,7 @@ function pa(n) {
|
|
6127
6129
|
"auth-domain-config-required"
|
6128
6130
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
6129
6131
|
);
|
6130
|
-
const t = e.emulator ?
|
6132
|
+
const t = e.emulator ? Xe(e, da) : `https://${n.config.authDomain}/${la}`, r = {
|
6131
6133
|
apiKey: e.apiKey,
|
6132
6134
|
appName: n.name,
|
6133
6135
|
v: ee
|
@@ -6136,7 +6138,7 @@ function pa(n) {
|
|
6136
6138
|
const s = n._getFrameworks();
|
6137
6139
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
6138
6140
|
}
|
6139
|
-
async function
|
6141
|
+
async function fa(n) {
|
6140
6142
|
const e = await oa(n), t = g().gapi;
|
6141
6143
|
return u(
|
6142
6144
|
t,
|
@@ -6185,13 +6187,13 @@ async function ma(n) {
|
|
6185
6187
|
* See the License for the specific language governing permissions and
|
6186
6188
|
* limitations under the License.
|
6187
6189
|
*/
|
6188
|
-
const
|
6190
|
+
const ma = {
|
6189
6191
|
location: "yes",
|
6190
6192
|
resizable: "yes",
|
6191
6193
|
statusbar: "yes",
|
6192
6194
|
toolbar: "no"
|
6193
6195
|
}, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
|
6194
|
-
class
|
6196
|
+
class Ct {
|
6195
6197
|
constructor(e) {
|
6196
6198
|
this.window = e, this.associatedEvent = null;
|
6197
6199
|
}
|
@@ -6206,16 +6208,16 @@ class Nt {
|
|
6206
6208
|
function ba(n, e, t, r = _a, i = ga) {
|
6207
6209
|
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
6208
6210
|
let c = "";
|
6209
|
-
const o = Object.assign(Object.assign({},
|
6211
|
+
const o = Object.assign(Object.assign({}, ma), {
|
6210
6212
|
width: r.toString(),
|
6211
6213
|
height: i.toString(),
|
6212
6214
|
top: s,
|
6213
6215
|
left: a
|
6214
|
-
}), l =
|
6216
|
+
}), l = m().toLowerCase();
|
6215
6217
|
t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
|
6216
|
-
const d = Object.entries(o).reduce((
|
6218
|
+
const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
|
6217
6219
|
if (es(l) && c !== "_self")
|
6218
|
-
return ya(e || "", c), new
|
6220
|
+
return ya(e || "", c), new Ct(null);
|
6219
6221
|
const h = window.open(e || "", c, d);
|
6220
6222
|
u(
|
6221
6223
|
h,
|
@@ -6227,7 +6229,7 @@ function ba(n, e, t, r = _a, i = ga) {
|
|
6227
6229
|
h.focus();
|
6228
6230
|
} catch {
|
6229
6231
|
}
|
6230
|
-
return new
|
6232
|
+
return new Ct(h);
|
6231
6233
|
}
|
6232
6234
|
function ya(n, e) {
|
6233
6235
|
const t = document.createElement("a");
|
@@ -6252,7 +6254,7 @@ function ya(n, e) {
|
|
6252
6254
|
* limitations under the License.
|
6253
6255
|
*/
|
6254
6256
|
const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
|
6255
|
-
async function
|
6257
|
+
async function Dt(n, e, t, r, i, s) {
|
6256
6258
|
u(
|
6257
6259
|
n.config.authDomain,
|
6258
6260
|
n,
|
@@ -6289,7 +6291,7 @@ async function Ct(n, e, t, r, i, s) {
|
|
6289
6291
|
return `${ka(n)}?${Q(c).slice(1)}${l}`;
|
6290
6292
|
}
|
6291
6293
|
function ka({ config: n }) {
|
6292
|
-
return n.emulator ?
|
6294
|
+
return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
|
6293
6295
|
}
|
6294
6296
|
/**
|
6295
6297
|
* @license
|
@@ -6307,22 +6309,22 @@ function ka({ config: n }) {
|
|
6307
6309
|
* See the License for the specific language governing permissions and
|
6308
6310
|
* limitations under the License.
|
6309
6311
|
*/
|
6310
|
-
const
|
6312
|
+
const Ne = "webStorageSupport";
|
6311
6313
|
class Ra {
|
6312
6314
|
constructor() {
|
6313
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn =
|
6315
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
|
6314
6316
|
}
|
6315
6317
|
// Wrapping in async even though we don't await anywhere in order
|
6316
6318
|
// to make sure errors are raised as promise rejections
|
6317
6319
|
async _openPopup(e, t, r, i) {
|
6318
6320
|
var s;
|
6319
6321
|
k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6320
|
-
const a = await
|
6322
|
+
const a = await Dt(e, t, r, je(), i);
|
6321
6323
|
return ba(e, a, Qe());
|
6322
6324
|
}
|
6323
6325
|
async _openRedirect(e, t, r, i) {
|
6324
6326
|
await this._originValidation(e);
|
6325
|
-
const s = await
|
6327
|
+
const s = await Dt(e, t, r, je(), i);
|
6326
6328
|
return Os(s), new Promise(() => {
|
6327
6329
|
});
|
6328
6330
|
}
|
@@ -6338,7 +6340,7 @@ class Ra {
|
|
6338
6340
|
}), r;
|
6339
6341
|
}
|
6340
6342
|
async initAndGetManager(e) {
|
6341
|
-
const t = await
|
6343
|
+
const t = await fa(e), r = new qs(e);
|
6342
6344
|
return t.register("authEvent", (i) => (u(
|
6343
6345
|
i == null ? void 0 : i.authEvent,
|
6344
6346
|
e,
|
@@ -6350,9 +6352,9 @@ class Ra {
|
|
6350
6352
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6351
6353
|
}
|
6352
6354
|
_isIframeWebStorageSupported(e, t) {
|
6353
|
-
this.iframes[e._key()].send(
|
6355
|
+
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6354
6356
|
var s;
|
6355
|
-
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];
|
6356
6358
|
a !== void 0 && t(!!a), w(
|
6357
6359
|
e,
|
6358
6360
|
"internal-error"
|
@@ -6369,7 +6371,7 @@ class Ra {
|
|
6369
6371
|
}
|
6370
6372
|
}
|
6371
6373
|
const Sa = Ra;
|
6372
|
-
var
|
6374
|
+
var Nt = "@firebase/auth", Pt = "1.7.9";
|
6373
6375
|
/**
|
6374
6376
|
* @license
|
6375
6377
|
* Copyright 2020 Google LLC
|
@@ -6453,8 +6455,8 @@ function Oa(n) {
|
|
6453
6455
|
return;
|
6454
6456
|
}
|
6455
6457
|
}
|
6456
|
-
function
|
6457
|
-
|
6458
|
+
function Ca(n) {
|
6459
|
+
X(new V(
|
6458
6460
|
"auth",
|
6459
6461
|
(e, { options: t }) => {
|
6460
6462
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
|
@@ -6480,7 +6482,7 @@ function Na(n) {
|
|
6480
6482
|
"auth-internal"
|
6481
6483
|
/* _ComponentName.AUTH_INTERNAL */
|
6482
6484
|
).initialize();
|
6483
|
-
})),
|
6485
|
+
})), X(new V(
|
6484
6486
|
"auth-internal",
|
6485
6487
|
(e) => {
|
6486
6488
|
const t = Ie(e.getProvider(
|
@@ -6494,7 +6496,7 @@ function Na(n) {
|
|
6494
6496
|
).setInstantiationMode(
|
6495
6497
|
"EXPLICIT"
|
6496
6498
|
/* InstantiationMode.EXPLICIT */
|
6497
|
-
)),
|
6499
|
+
)), j(Nt, Pt, Oa(n)), j(Nt, Pt, "esm2017");
|
6498
6500
|
}
|
6499
6501
|
/**
|
6500
6502
|
* @license
|
@@ -6512,11 +6514,11 @@ function Na(n) {
|
|
6512
6514
|
* See the License for the specific language governing permissions and
|
6513
6515
|
* limitations under the License.
|
6514
6516
|
*/
|
6515
|
-
const
|
6517
|
+
const Da = 5 * 60, Na = zt("authIdTokenMaxAge") || Da;
|
6516
6518
|
let Mt = null;
|
6517
6519
|
const Pa = (n) => async (e) => {
|
6518
6520
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6519
|
-
if (r && r >
|
6521
|
+
if (r && r > Na)
|
6520
6522
|
return;
|
6521
6523
|
const i = t == null ? void 0 : t.token;
|
6522
6524
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6527,7 +6529,7 @@ const Pa = (n) => async (e) => {
|
|
6527
6529
|
}));
|
6528
6530
|
};
|
6529
6531
|
function Ma(n = Ri()) {
|
6530
|
-
const e =
|
6532
|
+
const e = Xt(n, "auth");
|
6531
6533
|
if (e.isInitialized())
|
6532
6534
|
return e.getImmediate();
|
6533
6535
|
const t = us(n, {
|
@@ -6545,7 +6547,7 @@ function Ma(n = Ri()) {
|
|
6545
6547
|
Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
|
6546
6548
|
}
|
6547
6549
|
}
|
6548
|
-
const i =
|
6550
|
+
const i = Gt("auth");
|
6549
6551
|
return i && ps(t, `http://${i}`), t;
|
6550
6552
|
}
|
6551
6553
|
function La() {
|
@@ -6569,13 +6571,13 @@ os({
|
|
6569
6571
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6570
6572
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6571
6573
|
});
|
6572
|
-
|
6574
|
+
Ca(
|
6573
6575
|
"Browser"
|
6574
6576
|
/* ClientPlatform.BROWSER */
|
6575
6577
|
);
|
6576
6578
|
const Ua = Ln({
|
6577
6579
|
history: Un(),
|
6578
|
-
routes: [...
|
6580
|
+
routes: [...Ve, ...le]
|
6579
6581
|
});
|
6580
6582
|
let Pe, Me;
|
6581
6583
|
Ua.beforeEach(async (n) => {
|
@@ -6585,7 +6587,7 @@ Ua.beforeEach(async (n) => {
|
|
6585
6587
|
currentBusiness: r,
|
6586
6588
|
readRestaurants: i,
|
6587
6589
|
changeRestaurant: s
|
6588
|
-
} =
|
6590
|
+
} = Ge();
|
6589
6591
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
|
6590
6592
|
const c = Z(e, (o) => {
|
6591
6593
|
var l;
|
@@ -6608,14 +6610,14 @@ Ua.beforeEach(async (n) => {
|
|
6608
6610
|
const Ba = /* @__PURE__ */ Ut({
|
6609
6611
|
__name: "AppSidebar",
|
6610
6612
|
setup(n) {
|
6611
|
-
const e =
|
6613
|
+
const e = Ge(), t = Bn(), { t: r } = Vn(), i = xn(t.currentRoute.value.name);
|
6612
6614
|
Z(t.currentRoute, () => {
|
6613
6615
|
let l = t.currentRoute.value.name;
|
6614
6616
|
t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
|
6615
6617
|
});
|
6616
|
-
const s =
|
6617
|
-
var
|
6618
|
-
if (!((
|
6618
|
+
const s = Ve.map((l) => {
|
6619
|
+
var f;
|
6620
|
+
if (!((f = l.meta) != null && f.sidebarDisplay))
|
6619
6621
|
return;
|
6620
6622
|
const d = l.meta.sidebarDisplay, h = {
|
6621
6623
|
label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
|
@@ -6625,7 +6627,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6625
6627
|
return t.push({ name: l.name });
|
6626
6628
|
}
|
6627
6629
|
};
|
6628
|
-
return l.meta.sidebarNew && (h.badge = () =>
|
6630
|
+
return l.meta.sidebarNew && (h.badge = () => jn($n.FmPill, { label: "New" })), h;
|
6629
6631
|
}).filter((l) => !!l), a = le.map((l) => {
|
6630
6632
|
var d;
|
6631
6633
|
if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
|
@@ -6684,7 +6686,7 @@ const Ba = /* @__PURE__ */ Ut({
|
|
6684
6686
|
const h = Bt("FmCollapsibleTabs");
|
6685
6687
|
return Ft(), xt(h, {
|
6686
6688
|
modelValue: i.value,
|
6687
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
6689
|
+
"onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
|
6688
6690
|
items: o.value,
|
6689
6691
|
class: "py-16 px-8 w-[240px]"
|
6690
6692
|
}, null, 8, ["modelValue", "items"]);
|
@@ -6695,35 +6697,35 @@ var Fa = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2
|
|
6695
6697
|
const $a = /* @__PURE__ */ Ut({
|
6696
6698
|
__name: "App",
|
6697
6699
|
setup(n) {
|
6698
|
-
const { state: e } = sr(), t =
|
6700
|
+
const { state: e } = sr(), t = Ge(), r = Fn(), i = Yt(Fa.firebase);
|
6699
6701
|
async function s() {
|
6700
6702
|
const a = t.sessionUser.value;
|
6701
6703
|
if (!a || !a.token) return;
|
6702
6704
|
const c = await a.getCustomToken(), o = Ma(i);
|
6703
6705
|
await ys(o, c);
|
6704
6706
|
}
|
6705
|
-
return s(), Z(t.sessionUser, s),
|
6707
|
+
return s(), Z(t.sessionUser, s), Hn(() => {
|
6706
6708
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6707
|
-
}),
|
6709
|
+
}), Wn(() => {
|
6708
6710
|
t.registerSidebarComponent(Ba);
|
6709
6711
|
}), (a, c) => {
|
6710
6712
|
const o = Bt("RouterView");
|
6711
6713
|
return Ft(), xt(o, {
|
6712
|
-
key:
|
6714
|
+
key: Gn(r).path
|
6713
6715
|
});
|
6714
6716
|
};
|
6715
6717
|
}
|
6716
6718
|
}), Za = {
|
6717
6719
|
"en-US": qn,
|
6718
6720
|
"zh-CN": ir
|
6719
|
-
}, Ja = [...le, ...
|
6721
|
+
}, Ja = [...le, ...Ve];
|
6720
6722
|
export {
|
6721
|
-
|
6723
|
+
V as C,
|
6722
6724
|
M as F,
|
6723
6725
|
ee as S,
|
6724
|
-
|
6725
|
-
|
6726
|
-
|
6726
|
+
X as _,
|
6727
|
+
Xt as a,
|
6728
|
+
Va as b,
|
6727
6729
|
Ri as c,
|
6728
6730
|
za as d,
|
6729
6731
|
gt as e,
|
@@ -6731,5 +6733,5 @@ export {
|
|
6731
6733
|
z as g,
|
6732
6734
|
$a as h,
|
6733
6735
|
Za as i,
|
6734
|
-
|
6736
|
+
j as r
|
6735
6737
|
};
|