@feedmepos/mf-payment 1.0.16-beta.2 → 1.0.17-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-BaR-pQsE.js → PayoutAccount-DVTKC9HU.js} +37 -37
- package/dist/{PayoutAccount-8PS0XG-o.js → PayoutAccount-DaSWi1Me.js} +5 -5
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-Bpfma3sQ.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-CYE3OEXe.js} +2 -2
- package/dist/{PayoutAccountSetting-DGv-V72Q.js → PayoutAccountSetting-CqWDYDDi.js} +4 -4
- package/dist/{Restaurant-DxFHtTvZ.js → Restaurant-C-pno48_.js} +4 -4
- package/dist/{RestaurantSetting-CClHn4b1.js → RestaurantSetting-D5BXiTn2.js} +4 -4
- package/dist/{Settlement-Dre6hrbR.js → Settlement-Cgxts5eu.js} +3 -3
- package/dist/{Settlement-BZ47PeA4.js → Settlement-I67N2bqy.js} +3 -3
- package/dist/{SettlementTransactions-DMrhyxeT.js → SettlementTransactions-BWe-hWjq.js} +4 -4
- package/dist/{SettlementTransactions-BX1rAyIV.js → SettlementTransactions-BXPsJSOI.js} +4 -4
- package/dist/{Terminal-3YWAIFU-.js → Terminal-o9zfC9WW.js} +5 -5
- package/dist/{TerminalSetting-6uNjMrlx.js → TerminalSetting-BciOf47B.js} +3 -3
- package/dist/{TerminalTransaction-DxNG44rA.js → TerminalTransaction-BYlEOFjg.js} +6 -6
- package/dist/{TerminalTransaction-Dx55gC2L.js → TerminalTransaction-C_2wLJJV.js} +152 -152
- package/dist/{Transaction-cDKuWfvi.js → Transaction-B362xcHT.js} +6 -6
- package/dist/{Transaction-PnNFOZeu.js → Transaction-gDdSiqs9.js} +5 -5
- package/dist/{TransactionOld-Ba4Fhq0A.js → TransactionOld--8HuiCzC.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-6RXME_ux.js → TransactionTable.vue_vue_type_script_setup_true_lang-yAM0nD2z.js} +2 -2
- package/dist/{app-DOh5Q7Wl.js → app-Dm8kGtux.js} +400 -400
- package/dist/app.js +1 -1
- package/dist/{assets-CofaZ_lT.js → assets-BDTkzAxB.js} +1 -1
- package/dist/{grafana-Bk6PPzTz.js → grafana-Dtn-kbRH.js} +1 -1
- package/dist/{index-BdPxytRc.js → index-4uEqQ1dj.js} +1 -1
- package/dist/{index-CORtn1qp.js → index-BC85ddk1.js} +1 -1
- package/dist/{index-Cn1xSOHw.js → index-BroiGVyD.js} +1 -1
- package/dist/{index-CiR5XvPL.js → index-CZ9tbaEh.js} +1 -1
- package/dist/{index-D1ycS_0Y.js → index-CZAwC5k6.js} +1 -1
- package/dist/{index-d4H-VoHb.js → index-CtVHR2Os.js} +1 -1
- package/dist/{index-BGLG0L6x.js → index-D7Uh09kd.js} +1 -1
- package/dist/{index-BvOwxlNE.js → index-DmltKkqh.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Cz-jVTPU.js → index.vue_vue_type_script_setup_true_lang-3Bmqvkzy.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-lrJn2HVt.js → payout-account-BZ-WV3GM.js} +2 -2
- package/dist/{transaction-B8ifjkL4.js → transaction-XK-M9o1a.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -1,16 +1,16 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as $, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as xn, onMounted as
|
3
|
-
import { useCoreStore as
|
4
|
-
import { defineStore as
|
5
|
-
import { components as
|
6
|
-
const
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as xn, onMounted as Hn, onBeforeMount as Vn } from "vue";
|
3
|
+
import { useCoreStore as Ge } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as Gn } from "pinia";
|
5
|
+
import { components as jn } from "@feedmepos/ui-library";
|
6
|
+
const je = [
|
7
7
|
{
|
8
8
|
path: "/admin/restaurants",
|
9
9
|
name: "mf-payment-admin.restaurant",
|
10
10
|
meta: {
|
11
11
|
sidebarDisplay: "Restaurants"
|
12
12
|
},
|
13
|
-
component: () => import("./Restaurant-
|
13
|
+
component: () => import("./Restaurant-C-pno48_.js")
|
14
14
|
},
|
15
15
|
{
|
16
16
|
path: "/admin/restaurants/:restaurantId",
|
@@ -19,7 +19,7 @@ const Ve = [
|
|
19
19
|
meta: {
|
20
20
|
parent: "mf-payment-admin.restaurant"
|
21
21
|
},
|
22
|
-
component: () => import("./RestaurantSetting-
|
22
|
+
component: () => import("./RestaurantSetting-D5BXiTn2.js")
|
23
23
|
},
|
24
24
|
{
|
25
25
|
path: "/admin/payout-accounts",
|
@@ -27,7 +27,7 @@ const Ve = [
|
|
27
27
|
meta: {
|
28
28
|
sidebarDisplay: "Payout Accounts"
|
29
29
|
},
|
30
|
-
component: () => import("./PayoutAccount-
|
30
|
+
component: () => import("./PayoutAccount-DaSWi1Me.js")
|
31
31
|
},
|
32
32
|
{
|
33
33
|
path: "/admin/payout-accounts/:accountId",
|
@@ -36,7 +36,7 @@ const Ve = [
|
|
36
36
|
meta: {
|
37
37
|
parent: "mf-payment-admin.payout-account"
|
38
38
|
},
|
39
|
-
component: () => import("./PayoutAccountSetting-
|
39
|
+
component: () => import("./PayoutAccountSetting-CqWDYDDi.js")
|
40
40
|
},
|
41
41
|
{
|
42
42
|
path: "/admin/terminal",
|
@@ -44,7 +44,7 @@ const Ve = [
|
|
44
44
|
meta: {
|
45
45
|
sidebarDisplay: "Terminals"
|
46
46
|
},
|
47
|
-
component: () => import("./Terminal-
|
47
|
+
component: () => import("./Terminal-o9zfC9WW.js")
|
48
48
|
},
|
49
49
|
{
|
50
50
|
path: "/admin/terminal/:terminalId",
|
@@ -53,7 +53,7 @@ const Ve = [
|
|
53
53
|
meta: {
|
54
54
|
parent: "mf-payment-admin.terminal"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalSetting-
|
56
|
+
component: () => import("./TerminalSetting-BciOf47B.js")
|
57
57
|
},
|
58
58
|
{
|
59
59
|
path: "/admin/terminal-transaction",
|
@@ -61,7 +61,7 @@ const Ve = [
|
|
61
61
|
meta: {
|
62
62
|
sidebarDisplay: "Terminal Transactions"
|
63
63
|
},
|
64
|
-
component: () => import("./TerminalTransaction-
|
64
|
+
component: () => import("./TerminalTransaction-BYlEOFjg.js")
|
65
65
|
},
|
66
66
|
{
|
67
67
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const Ve = [
|
|
69
69
|
meta: {
|
70
70
|
sidebarDisplay: "Online Transactions"
|
71
71
|
},
|
72
|
-
component: () => import("./Transaction-
|
72
|
+
component: () => import("./Transaction-B362xcHT.js")
|
73
73
|
},
|
74
74
|
{
|
75
75
|
path: "/admin/settlement",
|
@@ -77,7 +77,7 @@ const Ve = [
|
|
77
77
|
meta: {
|
78
78
|
sidebarDisplay: "Settlements"
|
79
79
|
},
|
80
|
-
component: () => import("./Settlement-
|
80
|
+
component: () => import("./Settlement-Cgxts5eu.js")
|
81
81
|
},
|
82
82
|
{
|
83
83
|
path: "/admin/settlement/:settlementId",
|
@@ -86,7 +86,7 @@ const Ve = [
|
|
86
86
|
meta: {
|
87
87
|
parent: "mf-payment-admin.settlement"
|
88
88
|
},
|
89
|
-
component: () => import("./SettlementTransactions-
|
89
|
+
component: () => import("./SettlementTransactions-BWe-hWjq.js")
|
90
90
|
}
|
91
91
|
], We = [
|
92
92
|
{
|
@@ -96,7 +96,7 @@ const Ve = [
|
|
96
96
|
{
|
97
97
|
path: "/payout-account",
|
98
98
|
name: "mf-payment-payout-account",
|
99
|
-
component: () => import("./PayoutAccount-
|
99
|
+
component: () => import("./PayoutAccount-DVTKC9HU.js"),
|
100
100
|
meta: {
|
101
101
|
sidebarDisplay: "Payout Accounts"
|
102
102
|
}
|
@@ -104,7 +104,7 @@ const Ve = [
|
|
104
104
|
{
|
105
105
|
path: "/transaction-old",
|
106
106
|
name: "mf-payment-old-transaction",
|
107
|
-
component: () => import("./TransactionOld
|
107
|
+
component: () => import("./TransactionOld--8HuiCzC.js"),
|
108
108
|
meta: {
|
109
109
|
sidebarDisplay: "Transactions"
|
110
110
|
}
|
@@ -116,12 +116,12 @@ const Ve = [
|
|
116
116
|
sidebarDisplay: "Terminal Transactions",
|
117
117
|
sidebarNew: !0
|
118
118
|
},
|
119
|
-
component: () => import("./TerminalTransaction-
|
119
|
+
component: () => import("./TerminalTransaction-C_2wLJJV.js")
|
120
120
|
},
|
121
121
|
{
|
122
122
|
path: "/transaction",
|
123
123
|
name: "mf-payment-transaction",
|
124
|
-
component: () => import("./Transaction-
|
124
|
+
component: () => import("./Transaction-gDdSiqs9.js"),
|
125
125
|
meta: {
|
126
126
|
sidebarDisplay: "Online Transactions",
|
127
127
|
sidebarNew: !0
|
@@ -130,7 +130,7 @@ const Ve = [
|
|
130
130
|
{
|
131
131
|
path: "/settlement",
|
132
132
|
name: "mf-payment-settlement",
|
133
|
-
component: () => import("./Settlement-
|
133
|
+
component: () => import("./Settlement-I67N2bqy.js"),
|
134
134
|
meta: {
|
135
135
|
sidebarDisplay: "Settlements"
|
136
136
|
}
|
@@ -139,12 +139,12 @@ const Ve = [
|
|
139
139
|
path: "/settlement/:settlementId",
|
140
140
|
name: "mf-payment-settlement-transaction",
|
141
141
|
props: !0,
|
142
|
-
component: () => import("./SettlementTransactions-
|
142
|
+
component: () => import("./SettlementTransactions-BXPsJSOI.js"),
|
143
143
|
meta: {
|
144
144
|
parent: "mf-payment-settlement"
|
145
145
|
}
|
146
146
|
}
|
147
|
-
], Wn =
|
147
|
+
], Wn = Gn("mf-payment-iframe", () => {
|
148
148
|
const n = {
|
149
149
|
isIframe: !1
|
150
150
|
}, e = Lt(() => n);
|
@@ -156,7 +156,7 @@ const Ve = [
|
|
156
156
|
init: t
|
157
157
|
};
|
158
158
|
});
|
159
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_53cc6171-09b9-4151-a42e-baf39161ae42", 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.12.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_53cc6171-09b9-4151-a42e-baf39161ae42", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.12.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_RIrmEwcmLdICEY5RXLiczrguO7B25q2GnLGm", 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.12", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.8.21", 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: "709", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.5", 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: "20250105.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.10/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.4/x64", JOURNAL_STREAM: "8:5966", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12826314093", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "a34bf91536bca99c28b0e16a051ce952c7f7b724", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YmFiMjUzNTAtYjc0YS00ZTM5LTlhMGQtOTVhOGJhNWRlODk1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTE2IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YmFiMjUzNTAtYjc0YS00ZTM5LTlhMGQtOTVhOGJhNWRlODk1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTE2IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYmY5NmVlMjYtN2FhYS00ZGU2LTkyZWEtYjdjNTYzNjEzZDAzIiwic2lkIjoiZDc3YTA5NjUtM2NkNy00ODdhLTgxMDUtMGQwMTEwMzY2YWY1IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImEzNGJmOTE1MzZiY2E5OWMyOGIwZTE2YTA1MWNlOTUyYzdmN2I3MjRcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTI4MjYzMTQwOTNcIixcInJ1bl9udW1iZXJcIjpcIjEyMVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJhMzRiZjkxNTM2YmNhOTljMjhiMGUxNmEwNTFjZTk1MmM3ZjdiNzI0XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJhMzRiZjkxNTM2YmNhOTljMjhiMGUxNmEwNTFjZTk1MmM3ZjdiNzI0XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJiYWIyNTM1MC1iNzRhLTRlMzktOWEwZC05NWE4YmE1ZGU4OTUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzcxMDU1MzUsImV4cCI6MTczNzEyODMzNX0.JOh4u2gQBTr4WlcD-cZ8gWYCjpa8ZlB1zDw43XIGvnVUQbrhawtsaN6r7AGeRbX2iZIW6ie-U7xQUvc8XotYOnVpMFAxJ1f3qp09yJ-qI5stZdoOvjbR_cmHDR8DJP7xTaGuSRyeeUfqBQ31c2kopT5X6G4hGV2YkxeODL18PR5-OxrfvHwyaNSUJcKBhhXcBTuJQADEdOuD6nwaiUhMvMSJxYhYVs3KQ9UHTqBzxI9gKO-LkdqIOVfWLhbGyNIWvm4WktwtaIkdakF4B1-afge9iR4UsXx9k8wdpw1bZPW3a6vy5rxLXHud-pfMHnomlOnPaMQt-a77jvPKylt3gg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1737106186003-0.325252638755849:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1737106185846-0.6057132787959703:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1737106185690-0.4699022501023893:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.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.12.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_a02930c8-147f-4645-94a6-1848ab56f333", INVOCATION_ID: "15634ed0b4854c95a8638fb5fbba634e", 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: "121", 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 387", 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.0.16-beta.2", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "a34bf91536bca99c28b0e16a051ce952c7f7b724", 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_qrcode: "^1.5.1", 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_53cc6171-09b9-4151-a42e-baf39161ae42", 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/bab25350-b74a-4e39-9a0d-95a8ba5de895/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_53cc6171-09b9-4151-a42e-baf39161ae42", 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_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.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_53cc6171-09b9-4151-a42e-baf39161ae42", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.13", 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" };
|
159
|
+
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_aa93d38e-4810-4b62-ab67-57586d2f437e", 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.12.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_aa93d38e-4810-4b62-ab67-57586d2f437e", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.12.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_s1im2t5KBikXIobb3ywIPypH8SxEDL2xEHOr", 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.12", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", 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.8.21", 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: "719", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.5", 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: "20250105.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.10/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.4/x64", JOURNAL_STREAM: "8:5867", 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: "12885275265", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "211d7a616c14688ce0a74da0f84f956ef031ba80", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6Yzc2YTEzOGYtMmU0Mi00ZjFiLTkxYzItZmU5YzIxNDU3MGE0OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTIzIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46Yzc2YTEzOGYtMmU0Mi00ZjFiLTkxYzItZmU5YzIxNDU3MGE0OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTIzIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiNzMyZDEzMzktMDRhNS00MzY2LThkZDEtYTMxMTVmNzNhN2MyIiwic2lkIjoiMWE3MGFlYzUtYjc3Zi00YzQzLTk2Y2MtYTE3NjljN2U5N2IyIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjIxMWQ3YTYxNmMxNDY4OGNlMGE3NGRhMGY4NGY5NTZlZjAzMWJhODBcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTI4ODUyNzUyNjVcIixcInJ1bl9udW1iZXJcIjpcIjEyMlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIyMTFkN2E2MTZjMTQ2ODhjZTBhNzRkYTBmODRmOTU2ZWYwMzFiYTgwXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIyMTFkN2E2MTZjMTQ2ODhjZTBhNzRkYTBmODRmOTU2ZWYwMzFiYTgwXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjNzZhMTM4Zi0yZTQyLTRmMWItOTFjMi1mZTljMjE0NTcwYTQuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3Mzc0NTU3MDUsImV4cCI6MTczNzQ3ODUwNX0.ufJ_cZmlH9mBcQg65KmMDr616PuEOmhWVgCPbfJZqAh91_3t5VcNOSNIYs7gFrKJG-DsfY_xFg5u-5532JQGAX6qzspBvE9J_F1UEKvem0pyCYv6uF-gr4Yts9l_ZY1mVhZQz9QRCfk1ULfvg_1Dzc_YIeiO6_0LUn5o03bakfbzbScYEQhw9K-Csv6NQvNgoLDWcAuCKdBzp760Nur_4IlOMrX3FZFnYRj5qoNU0wg9n8CiE9VXWP97sTZ4E-FYeCBOKbTA66gJn9NS1M85m6Em_RgdF2P-pDhgACu0dLvLBe3jriRQkC89-d8hKqT3mhU25DQKCCDRVRyDM8zLLQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1737456359489-0.3322304060145891:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1737456359330-0.9067065109014985:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1737456359171-0.652125591029159:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.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.12.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_3162af25-4dae-4b8b-957a-72d637303f10", INVOCATION_ID: "9db39f98021147a09dee53c03da83895", 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: "122", 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 470", 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.0.17-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "211d7a616c14688ce0a74da0f84f956ef031ba80", 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_qrcode: "^1.5.1", 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_aa93d38e-4810-4b62-ab67-57586d2f437e", 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/c76a138f-2e42-4f1b-91c2-fe9c214570a4/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_aa93d38e-4810-4b62-ab67-57586d2f437e", 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_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.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_aa93d38e-4810-4b62-ab67-57586d2f437e", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.13", 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" };
|
160
160
|
/**
|
161
161
|
* @license
|
162
162
|
* Copyright 2017 Google LLC
|
@@ -173,7 +173,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
173
173
|
* See the License for the specific language governing permissions and
|
174
174
|
* limitations under the License.
|
175
175
|
*/
|
176
|
-
const
|
176
|
+
const Ht = function(n) {
|
177
177
|
const e = [];
|
178
178
|
let t = 0;
|
179
179
|
for (let r = 0; r < n.length; r++) {
|
@@ -192,15 +192,15 @@ const Gt = function(n) {
|
|
192
192
|
const s = n[t++];
|
193
193
|
e[r++] = String.fromCharCode((i & 31) << 6 | s & 63);
|
194
194
|
} else if (i > 239 && i < 365) {
|
195
|
-
const s = n[t++],
|
195
|
+
const s = n[t++], o = n[t++], a = n[t++], c = ((i & 7) << 18 | (s & 63) << 12 | (o & 63) << 6 | a & 63) - 65536;
|
196
196
|
e[r++] = String.fromCharCode(55296 + (c >> 10)), e[r++] = String.fromCharCode(56320 + (c & 1023));
|
197
197
|
} else {
|
198
|
-
const s = n[t++],
|
199
|
-
e[r++] = String.fromCharCode((i & 15) << 12 | (s & 63) << 6 |
|
198
|
+
const s = n[t++], o = n[t++];
|
199
|
+
e[r++] = String.fromCharCode((i & 15) << 12 | (s & 63) << 6 | o & 63);
|
200
200
|
}
|
201
201
|
}
|
202
202
|
return e.join("");
|
203
|
-
},
|
203
|
+
}, Vt = {
|
204
204
|
/**
|
205
205
|
* Maps bytes to characters.
|
206
206
|
*/
|
@@ -259,9 +259,9 @@ const Gt = function(n) {
|
|
259
259
|
this.init_();
|
260
260
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
261
261
|
for (let i = 0; i < n.length; i += 3) {
|
262
|
-
const s = n[i],
|
263
|
-
let m = (
|
264
|
-
c || (v = 64,
|
262
|
+
const s = n[i], o = i + 1 < n.length, a = o ? n[i + 1] : 0, c = i + 2 < n.length, l = c ? n[i + 2] : 0, u = s >> 2, p = (s & 3) << 4 | a >> 4;
|
263
|
+
let m = (a & 15) << 2 | l >> 6, v = l & 63;
|
264
|
+
c || (v = 64, o || (m = 64)), r.push(t[u], t[p], t[m], t[v]);
|
265
265
|
}
|
266
266
|
return r.join("");
|
267
267
|
},
|
@@ -274,7 +274,7 @@ const Gt = function(n) {
|
|
274
274
|
* @return The base64 encoded string.
|
275
275
|
*/
|
276
276
|
encodeString(n, e) {
|
277
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
277
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
278
278
|
},
|
279
279
|
/**
|
280
280
|
* Base64-decode a string.
|
@@ -306,16 +306,16 @@ const Gt = function(n) {
|
|
306
306
|
this.init_();
|
307
307
|
const t = e ? this.charToByteMapWebSafe_ : this.charToByteMap_, r = [];
|
308
308
|
for (let i = 0; i < n.length; ) {
|
309
|
-
const s = t[n.charAt(i++)],
|
309
|
+
const s = t[n.charAt(i++)], a = i < n.length ? t[n.charAt(i)] : 0;
|
310
310
|
++i;
|
311
311
|
const l = i < n.length ? t[n.charAt(i)] : 64;
|
312
312
|
++i;
|
313
313
|
const p = i < n.length ? t[n.charAt(i)] : 64;
|
314
|
-
if (++i, s == null ||
|
314
|
+
if (++i, s == null || a == null || l == null || p == null)
|
315
315
|
throw new Zn();
|
316
|
-
const m = s << 2 |
|
316
|
+
const m = s << 2 | a >> 4;
|
317
317
|
if (r.push(m), l !== 64) {
|
318
|
-
const v =
|
318
|
+
const v = a << 4 & 240 | l >> 2;
|
319
319
|
if (r.push(v), p !== 64) {
|
320
320
|
const F = l << 6 & 192 | p;
|
321
321
|
r.push(F);
|
@@ -343,13 +343,13 @@ class Zn extends Error {
|
|
343
343
|
}
|
344
344
|
}
|
345
345
|
const $n = function(n) {
|
346
|
-
const e =
|
347
|
-
return
|
346
|
+
const e = Ht(n);
|
347
|
+
return Vt.encodeByteArray(e, !0);
|
348
348
|
}, le = function(n) {
|
349
349
|
return $n(n).replace(/\./g, "");
|
350
|
-
},
|
350
|
+
}, Gt = function(n) {
|
351
351
|
try {
|
352
|
-
return
|
352
|
+
return Vt.decodeString(n, !0);
|
353
353
|
} catch (e) {
|
354
354
|
console.error("base64Decode failed: ", e);
|
355
355
|
}
|
@@ -396,10 +396,10 @@ function Jn() {
|
|
396
396
|
* See the License for the specific language governing permissions and
|
397
397
|
* limitations under the License.
|
398
398
|
*/
|
399
|
-
const
|
400
|
-
if (typeof process > "u" || typeof
|
399
|
+
const Yn = () => Jn().__FIREBASE_DEFAULTS__, Xn = () => {
|
400
|
+
if (typeof process > "u" || typeof at > "u")
|
401
401
|
return;
|
402
|
-
const n =
|
402
|
+
const n = at.__FIREBASE_DEFAULTS__;
|
403
403
|
if (n)
|
404
404
|
return JSON.parse(n);
|
405
405
|
}, Kn = () => {
|
@@ -411,20 +411,20 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
411
411
|
} catch {
|
412
412
|
return;
|
413
413
|
}
|
414
|
-
const e = n &&
|
414
|
+
const e = n && Gt(n[1]);
|
415
415
|
return e && JSON.parse(e);
|
416
416
|
}, ze = () => {
|
417
417
|
try {
|
418
|
-
return
|
418
|
+
return Yn() || Xn() || Kn();
|
419
419
|
} catch (n) {
|
420
420
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
421
421
|
return;
|
422
422
|
}
|
423
|
-
},
|
423
|
+
}, jt = (n) => {
|
424
424
|
var e, t;
|
425
425
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
426
|
-
},
|
427
|
-
const e =
|
426
|
+
}, Co = (n) => {
|
427
|
+
const e = jt(n);
|
428
428
|
if (!e)
|
429
429
|
return;
|
430
430
|
const t = e.lastIndexOf(":");
|
@@ -491,7 +491,7 @@ class qn {
|
|
491
491
|
* See the License for the specific language governing permissions and
|
492
492
|
* limitations under the License.
|
493
493
|
*/
|
494
|
-
function
|
494
|
+
function No(n, e) {
|
495
495
|
if (n.uid)
|
496
496
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
497
497
|
const t = {
|
@@ -500,7 +500,7 @@ function Ca(n, e) {
|
|
500
500
|
}, r = e || "demo-project", i = n.iat || 0, s = n.sub || n.user_id;
|
501
501
|
if (!s)
|
502
502
|
throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");
|
503
|
-
const
|
503
|
+
const o = Object.assign({
|
504
504
|
// Set all required fields to decent defaults
|
505
505
|
iss: `https://securetoken.google.com/${r}`,
|
506
506
|
aud: r,
|
@@ -516,7 +516,7 @@ function Ca(n, e) {
|
|
516
516
|
}, n);
|
517
517
|
return [
|
518
518
|
le(JSON.stringify(t)),
|
519
|
-
le(JSON.stringify(
|
519
|
+
le(JSON.stringify(o)),
|
520
520
|
""
|
521
521
|
].join(".");
|
522
522
|
}
|
@@ -599,10 +599,10 @@ function sr() {
|
|
599
599
|
* See the License for the specific language governing permissions and
|
600
600
|
* limitations under the License.
|
601
601
|
*/
|
602
|
-
const
|
602
|
+
const or = "FirebaseError";
|
603
603
|
class M extends Error {
|
604
604
|
constructor(e, t, r) {
|
605
|
-
super(t), this.code = e, this.customData = r, this.name =
|
605
|
+
super(t), this.code = e, this.customData = r, this.name = or, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
|
606
606
|
}
|
607
607
|
}
|
608
608
|
class q {
|
@@ -610,11 +610,11 @@ class q {
|
|
610
610
|
this.service = e, this.serviceName = t, this.errors = r;
|
611
611
|
}
|
612
612
|
create(e, ...t) {
|
613
|
-
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e],
|
614
|
-
return new M(i,
|
613
|
+
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], o = s ? ar(s, r) : "Error", a = `${this.serviceName}: ${o} (${i}).`;
|
614
|
+
return new M(i, a, r);
|
615
615
|
}
|
616
616
|
}
|
617
|
-
function
|
617
|
+
function ar(n, e) {
|
618
618
|
return n.replace(cr, (t, r) => {
|
619
619
|
const i = e[r];
|
620
620
|
return i != null ? String(i) : `<${r}?>`;
|
@@ -634,11 +634,11 @@ function de(n, e) {
|
|
634
634
|
for (const i of t) {
|
635
635
|
if (!r.includes(i))
|
636
636
|
return !1;
|
637
|
-
const s = n[i],
|
638
|
-
if (ct(s) && ct(
|
639
|
-
if (!de(s,
|
637
|
+
const s = n[i], o = e[i];
|
638
|
+
if (ct(s) && ct(o)) {
|
639
|
+
if (!de(s, o))
|
640
640
|
return !1;
|
641
|
-
} else if (s !==
|
641
|
+
} else if (s !== o)
|
642
642
|
return !1;
|
643
643
|
}
|
644
644
|
for (const i of r)
|
@@ -945,9 +945,9 @@ class pr {
|
|
945
945
|
instanceIdentifier: r,
|
946
946
|
options: t
|
947
947
|
});
|
948
|
-
for (const [s,
|
949
|
-
const
|
950
|
-
r ===
|
948
|
+
for (const [s, o] of this.instancesDeferred.entries()) {
|
949
|
+
const a = this.normalizeInstanceIdentifier(s);
|
950
|
+
r === a && o.resolve(i);
|
951
951
|
}
|
952
952
|
return i;
|
953
953
|
}
|
@@ -963,8 +963,8 @@ class pr {
|
|
963
963
|
var r;
|
964
964
|
const i = this.normalizeInstanceIdentifier(t), s = (r = this.onInitCallbacks.get(i)) !== null && r !== void 0 ? r : /* @__PURE__ */ new Set();
|
965
965
|
s.add(e), this.onInitCallbacks.set(i, s);
|
966
|
-
const
|
967
|
-
return
|
966
|
+
const o = this.instances.get(i);
|
967
|
+
return o && e(o, i), () => {
|
968
968
|
s.delete(e);
|
969
969
|
};
|
970
970
|
}
|
@@ -1180,13 +1180,13 @@ const $t = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Jt
|
|
1180
1180
|
function wr(n) {
|
1181
1181
|
const e = new Promise((t, r) => {
|
1182
1182
|
const i = () => {
|
1183
|
-
n.removeEventListener("success", s), n.removeEventListener("error",
|
1183
|
+
n.removeEventListener("success", s), n.removeEventListener("error", o);
|
1184
1184
|
}, s = () => {
|
1185
1185
|
t(N(n.result)), i();
|
1186
|
-
},
|
1186
|
+
}, o = () => {
|
1187
1187
|
r(n.error), i();
|
1188
1188
|
};
|
1189
|
-
n.addEventListener("success", s), n.addEventListener("error",
|
1189
|
+
n.addEventListener("success", s), n.addEventListener("error", o);
|
1190
1190
|
});
|
1191
1191
|
return e.then((t) => {
|
1192
1192
|
t instanceof IDBCursor && $t.set(t, n);
|
@@ -1198,13 +1198,13 @@ function Rr(n) {
|
|
1198
1198
|
return;
|
1199
1199
|
const e = new Promise((t, r) => {
|
1200
1200
|
const i = () => {
|
1201
|
-
n.removeEventListener("complete", s), n.removeEventListener("error",
|
1201
|
+
n.removeEventListener("complete", s), n.removeEventListener("error", o), n.removeEventListener("abort", o);
|
1202
1202
|
}, s = () => {
|
1203
1203
|
t(), i();
|
1204
|
-
},
|
1204
|
+
}, o = () => {
|
1205
1205
|
r(n.error || new DOMException("AbortError", "AbortError")), i();
|
1206
1206
|
};
|
1207
|
-
n.addEventListener("complete", s), n.addEventListener("error",
|
1207
|
+
n.addEventListener("complete", s), n.addEventListener("error", o), n.addEventListener("abort", o);
|
1208
1208
|
});
|
1209
1209
|
Me.set(n, e);
|
1210
1210
|
}
|
@@ -1253,18 +1253,18 @@ function N(n) {
|
|
1253
1253
|
}
|
1254
1254
|
const Se = (n) => Ze.get(n);
|
1255
1255
|
function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1256
|
-
const
|
1257
|
-
return r &&
|
1258
|
-
r(N(
|
1259
|
-
}), t &&
|
1256
|
+
const o = indexedDB.open(n, e), a = N(o);
|
1257
|
+
return r && o.addEventListener("upgradeneeded", (c) => {
|
1258
|
+
r(N(o.result), c.oldVersion, c.newVersion, N(o.transaction), c);
|
1259
|
+
}), t && o.addEventListener("blocked", (c) => t(
|
1260
1260
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1261
1261
|
c.oldVersion,
|
1262
1262
|
c.newVersion,
|
1263
1263
|
c
|
1264
|
-
)),
|
1264
|
+
)), a.then((c) => {
|
1265
1265
|
s && c.addEventListener("close", () => s()), i && c.addEventListener("versionchange", (l) => i(l.oldVersion, l.newVersion, l));
|
1266
1266
|
}).catch(() => {
|
1267
|
-
}),
|
1267
|
+
}), a;
|
1268
1268
|
}
|
1269
1269
|
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
|
1270
1270
|
function ut(n, e) {
|
@@ -1278,11 +1278,11 @@ function ut(n, e) {
|
|
1278
1278
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Cr.includes(t))
|
1279
1279
|
)
|
1280
1280
|
return;
|
1281
|
-
const s = async function(
|
1282
|
-
const c = this.transaction(
|
1281
|
+
const s = async function(o, ...a) {
|
1282
|
+
const c = this.transaction(o, i ? "readwrite" : "readonly");
|
1283
1283
|
let l = c.store;
|
1284
|
-
return r && (l = l.index(
|
1285
|
-
l[t](...
|
1284
|
+
return r && (l = l.index(a.shift())), (await Promise.all([
|
1285
|
+
l[t](...a),
|
1286
1286
|
i && c.done
|
1287
1287
|
]))[0];
|
1288
1288
|
};
|
@@ -1346,7 +1346,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
|
|
1346
1346
|
* See the License for the specific language governing permissions and
|
1347
1347
|
* limitations under the License.
|
1348
1348
|
*/
|
1349
|
-
const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", Fr = "@firebase/app-check", xr = "@firebase/auth",
|
1349
|
+
const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", Fr = "@firebase/app-check", xr = "@firebase/auth", Hr = "@firebase/auth-compat", Vr = "@firebase/database", Gr = "@firebase/data-connect", jr = "@firebase/database-compat", Wr = "@firebase/functions", zr = "@firebase/functions-compat", Zr = "@firebase/installations", $r = "@firebase/installations-compat", Jr = "@firebase/messaging", Yr = "@firebase/messaging-compat", Xr = "@firebase/performance", Kr = "@firebase/performance-compat", qr = "@firebase/remote-config", Qr = "@firebase/remote-config-compat", ei = "@firebase/storage", ti = "@firebase/storage-compat", ni = "@firebase/firestore", ri = "@firebase/vertexai-preview", ii = "@firebase/firestore-compat", si = "firebase", oi = "10.14.1";
|
1350
1350
|
/**
|
1351
1351
|
* @license
|
1352
1352
|
* Copyright 2019 Google LLC
|
@@ -1363,7 +1363,7 @@ const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/
|
|
1363
1363
|
* See the License for the specific language governing permissions and
|
1364
1364
|
* limitations under the License.
|
1365
1365
|
*/
|
1366
|
-
const Be = "[DEFAULT]",
|
1366
|
+
const Be = "[DEFAULT]", ai = {
|
1367
1367
|
[Ue]: "fire-core",
|
1368
1368
|
[Mr]: "fire-core-compat",
|
1369
1369
|
[Ur]: "fire-analytics",
|
@@ -1371,17 +1371,17 @@ const Be = "[DEFAULT]", oi = {
|
|
1371
1371
|
[Fr]: "fire-app-check",
|
1372
1372
|
[Br]: "fire-app-check-compat",
|
1373
1373
|
[xr]: "fire-auth",
|
1374
|
-
[
|
1375
|
-
[
|
1376
|
-
[
|
1377
|
-
[
|
1374
|
+
[Hr]: "fire-auth-compat",
|
1375
|
+
[Vr]: "fire-rtdb",
|
1376
|
+
[Gr]: "fire-data-connect",
|
1377
|
+
[jr]: "fire-rtdb-compat",
|
1378
1378
|
[Wr]: "fire-fn",
|
1379
1379
|
[zr]: "fire-fn-compat",
|
1380
1380
|
[Zr]: "fire-iid",
|
1381
1381
|
[$r]: "fire-iid-compat",
|
1382
1382
|
[Jr]: "fire-fcm",
|
1383
|
-
[
|
1384
|
-
[
|
1383
|
+
[Yr]: "fire-fcm-compat",
|
1384
|
+
[Xr]: "fire-perf",
|
1385
1385
|
[Kr]: "fire-perf-compat",
|
1386
1386
|
[qr]: "fire-rc",
|
1387
1387
|
[Qr]: "fire-rc-compat",
|
@@ -1417,7 +1417,7 @@ function pt(n, e) {
|
|
1417
1417
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1418
1418
|
}
|
1419
1419
|
}
|
1420
|
-
function
|
1420
|
+
function Y(n) {
|
1421
1421
|
const e = n.name;
|
1422
1422
|
if (Fe.has(e))
|
1423
1423
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
@@ -1428,7 +1428,7 @@ function X(n) {
|
|
1428
1428
|
pt(t, n);
|
1429
1429
|
return !0;
|
1430
1430
|
}
|
1431
|
-
function
|
1431
|
+
function Yt(n, e) {
|
1432
1432
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1433
1433
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1434
1434
|
}
|
@@ -1541,8 +1541,8 @@ class di {
|
|
1541
1541
|
* See the License for the specific language governing permissions and
|
1542
1542
|
* limitations under the License.
|
1543
1543
|
*/
|
1544
|
-
const ee =
|
1545
|
-
function
|
1544
|
+
const ee = oi;
|
1545
|
+
function Xt(n, e = {}) {
|
1546
1546
|
let t = n;
|
1547
1547
|
typeof e != "object" && (e = { name: e });
|
1548
1548
|
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1561,33 +1561,33 @@ function Yt(n, e = {}) {
|
|
1561
1561
|
return s;
|
1562
1562
|
throw D.create("duplicate-app", { appName: i });
|
1563
1563
|
}
|
1564
|
-
const
|
1564
|
+
const o = new _r(i);
|
1565
1565
|
for (const c of Fe.values())
|
1566
|
-
|
1567
|
-
const
|
1568
|
-
return ue.set(i,
|
1566
|
+
o.addComponent(c);
|
1567
|
+
const a = new di(t, r, o);
|
1568
|
+
return ue.set(i, a), a;
|
1569
1569
|
}
|
1570
1570
|
function ui(n = Be) {
|
1571
1571
|
const e = ue.get(n);
|
1572
1572
|
if (!e && n === Be && Wt())
|
1573
|
-
return
|
1573
|
+
return Xt();
|
1574
1574
|
if (!e)
|
1575
1575
|
throw D.create("no-app", { appName: n });
|
1576
1576
|
return e;
|
1577
1577
|
}
|
1578
|
-
function
|
1578
|
+
function H(n, e, t) {
|
1579
1579
|
var r;
|
1580
|
-
let i = (r =
|
1580
|
+
let i = (r = ai[n]) !== null && r !== void 0 ? r : n;
|
1581
1581
|
t && (i += `-${t}`);
|
1582
|
-
const s = i.match(/\s|\//),
|
1583
|
-
if (s ||
|
1584
|
-
const
|
1582
|
+
const s = i.match(/\s|\//), o = e.match(/\s|\//);
|
1583
|
+
if (s || o) {
|
1584
|
+
const a = [
|
1585
1585
|
`Unable to register library "${i}" with version "${e}":`
|
1586
1586
|
];
|
1587
|
-
s &&
|
1587
|
+
s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(a.join(" "));
|
1588
1588
|
return;
|
1589
1589
|
}
|
1590
|
-
|
1590
|
+
Y(new W(
|
1591
1591
|
`${i}-version`,
|
1592
1592
|
() => ({ library: i, version: e }),
|
1593
1593
|
"VERSION"
|
@@ -1610,7 +1610,7 @@ function G(n, e, t) {
|
|
1610
1610
|
* See the License for the specific language governing permissions and
|
1611
1611
|
* limitations under the License.
|
1612
1612
|
*/
|
1613
|
-
const hi = "firebase-heartbeat-database", pi = 1,
|
1613
|
+
const hi = "firebase-heartbeat-database", pi = 1, X = "firebase-heartbeat-store";
|
1614
1614
|
let Oe = null;
|
1615
1615
|
function Kt() {
|
1616
1616
|
return Oe || (Oe = Or(hi, pi, {
|
@@ -1618,7 +1618,7 @@ function Kt() {
|
|
1618
1618
|
switch (e) {
|
1619
1619
|
case 0:
|
1620
1620
|
try {
|
1621
|
-
n.createObjectStore(
|
1621
|
+
n.createObjectStore(X);
|
1622
1622
|
} catch (t) {
|
1623
1623
|
console.warn(t);
|
1624
1624
|
}
|
@@ -1632,7 +1632,7 @@ function Kt() {
|
|
1632
1632
|
}
|
1633
1633
|
async function fi(n) {
|
1634
1634
|
try {
|
1635
|
-
const t = (await Kt()).transaction(
|
1635
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1636
1636
|
return await t.done, r;
|
1637
1637
|
} catch (e) {
|
1638
1638
|
if (e instanceof M)
|
@@ -1647,8 +1647,8 @@ async function fi(n) {
|
|
1647
1647
|
}
|
1648
1648
|
async function ft(n, e) {
|
1649
1649
|
try {
|
1650
|
-
const r = (await Kt()).transaction(
|
1651
|
-
await r.objectStore(
|
1650
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1651
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1652
1652
|
} catch (t) {
|
1653
1653
|
if (t instanceof M)
|
1654
1654
|
T.warn(t.message);
|
@@ -1697,9 +1697,9 @@ class gi {
|
|
1697
1697
|
var e, t;
|
1698
1698
|
try {
|
1699
1699
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
1700
|
-
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((
|
1701
|
-
const
|
1702
|
-
return Date.now() -
|
1700
|
+
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((o) => o.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((o) => {
|
1701
|
+
const a = new Date(o.date).valueOf();
|
1702
|
+
return Date.now() - a <= _i;
|
1703
1703
|
}), this._storage.overwrite(this._heartbeatsCache));
|
1704
1704
|
} catch (r) {
|
1705
1705
|
T.warn(r);
|
@@ -1731,7 +1731,7 @@ function vi(n, e = mi) {
|
|
1731
1731
|
const t = [];
|
1732
1732
|
let r = n.slice();
|
1733
1733
|
for (const i of n) {
|
1734
|
-
const s = t.find((
|
1734
|
+
const s = t.find((o) => o.agent === i.agent);
|
1735
1735
|
if (s) {
|
1736
1736
|
if (s.dates.push(i.date), _t(t) > e) {
|
1737
1737
|
s.dates.pop();
|
@@ -1819,17 +1819,17 @@ function _t(n) {
|
|
1819
1819
|
* limitations under the License.
|
1820
1820
|
*/
|
1821
1821
|
function bi(n) {
|
1822
|
-
|
1822
|
+
Y(new W(
|
1823
1823
|
"platform-logger",
|
1824
1824
|
(e) => new Dr(e),
|
1825
1825
|
"PRIVATE"
|
1826
1826
|
/* ComponentType.PRIVATE */
|
1827
|
-
)),
|
1827
|
+
)), Y(new W(
|
1828
1828
|
"heartbeat",
|
1829
1829
|
(e) => new gi(e),
|
1830
1830
|
"PRIVATE"
|
1831
1831
|
/* ComponentType.PRIVATE */
|
1832
|
-
)),
|
1832
|
+
)), H(Ue, ht, n), H(Ue, ht, "esm2017"), H("fire-js", "");
|
1833
1833
|
}
|
1834
1834
|
bi("");
|
1835
1835
|
var yi = "firebase", Ei = "10.14.1";
|
@@ -1849,7 +1849,7 @@ var yi = "firebase", Ei = "10.14.1";
|
|
1849
1849
|
* See the License for the specific language governing permissions and
|
1850
1850
|
* limitations under the License.
|
1851
1851
|
*/
|
1852
|
-
|
1852
|
+
H(yi, Ei, "app");
|
1853
1853
|
var gt = function() {
|
1854
1854
|
return gt = Object.assign || function(e) {
|
1855
1855
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -2048,7 +2048,7 @@ class te {
|
|
2048
2048
|
* See the License for the specific language governing permissions and
|
2049
2049
|
* limitations under the License.
|
2050
2050
|
*/
|
2051
|
-
function
|
2051
|
+
function Ye(n, e) {
|
2052
2052
|
R(n.emulator, "Emulator should always be set here");
|
2053
2053
|
const { url: t } = n.emulator;
|
2054
2054
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2220,11 +2220,11 @@ function ge(n, e) {
|
|
2220
2220
|
}
|
2221
2221
|
async function Z(n, e, t, r, i = {}) {
|
2222
2222
|
return rn(n, i, async () => {
|
2223
|
-
let s = {},
|
2224
|
-
r && (e === "GET" ?
|
2223
|
+
let s = {}, o = {};
|
2224
|
+
r && (e === "GET" ? o = r : s = {
|
2225
2225
|
body: JSON.stringify(r)
|
2226
2226
|
});
|
2227
|
-
const
|
2227
|
+
const a = Q(Object.assign({ key: n.config.apiKey }, o)).slice(1), c = await n._getAdditionalHeaders();
|
2228
2228
|
c[
|
2229
2229
|
"Content-Type"
|
2230
2230
|
/* HttpHeader.CONTENT_TYPE */
|
@@ -2236,7 +2236,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2236
2236
|
method: e,
|
2237
2237
|
headers: c
|
2238
2238
|
}, s);
|
2239
|
-
return er() || (l.referrerPolicy = "no-referrer"), nn.fetch()(
|
2239
|
+
return er() || (l.referrerPolicy = "no-referrer"), nn.fetch()(on(n, n.config.apiHost, t, a), l);
|
2240
2240
|
});
|
2241
2241
|
}
|
2242
2242
|
async function rn(n, e, t) {
|
@@ -2248,19 +2248,19 @@ async function rn(n, e, t) {
|
|
2248
2248
|
i.promise
|
2249
2249
|
]);
|
2250
2250
|
i.clearNetworkTimeout();
|
2251
|
-
const
|
2252
|
-
if ("needConfirmation" in
|
2253
|
-
throw ie(n, "account-exists-with-different-credential",
|
2254
|
-
if (s.ok && !("errorMessage" in
|
2255
|
-
return
|
2251
|
+
const o = await s.json();
|
2252
|
+
if ("needConfirmation" in o)
|
2253
|
+
throw ie(n, "account-exists-with-different-credential", o);
|
2254
|
+
if (s.ok && !("errorMessage" in o))
|
2255
|
+
return o;
|
2256
2256
|
{
|
2257
|
-
const
|
2257
|
+
const a = s.ok ? o.errorMessage : o.error.message, [c, l] = a.split(" : ");
|
2258
2258
|
if (c === "FEDERATED_USER_ID_ALREADY_LINKED")
|
2259
|
-
throw ie(n, "credential-already-in-use",
|
2259
|
+
throw ie(n, "credential-already-in-use", o);
|
2260
2260
|
if (c === "EMAIL_EXISTS")
|
2261
|
-
throw ie(n, "email-already-in-use",
|
2261
|
+
throw ie(n, "email-already-in-use", o);
|
2262
2262
|
if (c === "USER_DISABLED")
|
2263
|
-
throw ie(n, "user-disabled",
|
2263
|
+
throw ie(n, "user-disabled", o);
|
2264
2264
|
const u = r[c] || c.toLowerCase().replace(/[_\s]+/g, "-");
|
2265
2265
|
if (l)
|
2266
2266
|
throw tn(n, u, l);
|
@@ -2278,9 +2278,9 @@ async function sn(n, e, t, r, i = {}) {
|
|
2278
2278
|
_serverResponse: s
|
2279
2279
|
}), s;
|
2280
2280
|
}
|
2281
|
-
function
|
2281
|
+
function on(n, e, t, r) {
|
2282
2282
|
const i = `${e}${t}?${r}`;
|
2283
|
-
return n.config.emulator ?
|
2283
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2284
2284
|
}
|
2285
2285
|
class Ci {
|
2286
2286
|
constructor(e) {
|
@@ -2323,7 +2323,7 @@ function ie(n, e, t) {
|
|
2323
2323
|
async function Ni(n, e) {
|
2324
2324
|
return Z(n, "POST", "/v1/accounts:delete", e);
|
2325
2325
|
}
|
2326
|
-
async function
|
2326
|
+
async function an(n, e) {
|
2327
2327
|
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2328
2328
|
}
|
2329
2329
|
/**
|
@@ -2352,40 +2352,40 @@ function J(n) {
|
|
2352
2352
|
}
|
2353
2353
|
}
|
2354
2354
|
async function Di(n, e = !1) {
|
2355
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2355
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2356
2356
|
d(
|
2357
2357
|
i && i.exp && i.auth_time && i.iat,
|
2358
2358
|
t.auth,
|
2359
2359
|
"internal-error"
|
2360
2360
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2361
2361
|
);
|
2362
|
-
const s = typeof i.firebase == "object" ? i.firebase : void 0,
|
2362
|
+
const s = typeof i.firebase == "object" ? i.firebase : void 0, o = s == null ? void 0 : s.sign_in_provider;
|
2363
2363
|
return {
|
2364
2364
|
claims: i,
|
2365
2365
|
token: r,
|
2366
2366
|
authTime: J(Ce(i.auth_time)),
|
2367
2367
|
issuedAtTime: J(Ce(i.iat)),
|
2368
2368
|
expirationTime: J(Ce(i.exp)),
|
2369
|
-
signInProvider:
|
2369
|
+
signInProvider: o || null,
|
2370
2370
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2371
2371
|
};
|
2372
2372
|
}
|
2373
2373
|
function Ce(n) {
|
2374
2374
|
return Number(n) * 1e3;
|
2375
2375
|
}
|
2376
|
-
function
|
2376
|
+
function Xe(n) {
|
2377
2377
|
const [e, t, r] = n.split(".");
|
2378
2378
|
if (e === void 0 || t === void 0 || r === void 0)
|
2379
2379
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2380
2380
|
try {
|
2381
|
-
const i =
|
2381
|
+
const i = Gt(t);
|
2382
2382
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2383
2383
|
} catch (i) {
|
2384
2384
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2385
2385
|
}
|
2386
2386
|
}
|
2387
2387
|
function It(n) {
|
2388
|
-
const e =
|
2388
|
+
const e = Xe(n);
|
2389
2389
|
return d(
|
2390
2390
|
e,
|
2391
2391
|
"internal-error"
|
@@ -2506,7 +2506,7 @@ class Mi {
|
|
2506
2506
|
* See the License for the specific language governing permissions and
|
2507
2507
|
* limitations under the License.
|
2508
2508
|
*/
|
2509
|
-
class
|
2509
|
+
class He {
|
2510
2510
|
constructor(e, t) {
|
2511
2511
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2512
2512
|
}
|
@@ -2541,7 +2541,7 @@ class Ge {
|
|
2541
2541
|
*/
|
2542
2542
|
async function pe(n) {
|
2543
2543
|
var e;
|
2544
|
-
const t = n.auth, r = await n.getIdToken(), i = await K(n,
|
2544
|
+
const t = n.auth, r = await n.getIdToken(), i = await K(n, an(t, { idToken: r }));
|
2545
2545
|
d(
|
2546
2546
|
i == null ? void 0 : i.users.length,
|
2547
2547
|
t,
|
@@ -2550,7 +2550,7 @@ async function pe(n) {
|
|
2550
2550
|
);
|
2551
2551
|
const s = i.users[0];
|
2552
2552
|
n._notifyReloadListener(s);
|
2553
|
-
const
|
2553
|
+
const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a = Ui(n.providerData, o), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(a != null && a.length), u = c ? l : !1, p = {
|
2554
2554
|
uid: s.localId,
|
2555
2555
|
displayName: s.displayName || null,
|
2556
2556
|
photoURL: s.photoUrl || null,
|
@@ -2558,8 +2558,8 @@ async function pe(n) {
|
|
2558
2558
|
emailVerified: s.emailVerified || !1,
|
2559
2559
|
phoneNumber: s.phoneNumber || null,
|
2560
2560
|
tenantId: s.tenantId || null,
|
2561
|
-
providerData:
|
2562
|
-
metadata: new
|
2561
|
+
providerData: a,
|
2562
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2563
2563
|
isAnonymous: u
|
2564
2564
|
};
|
2565
2565
|
Object.assign(n, p);
|
@@ -2605,13 +2605,13 @@ async function Bi(n, e) {
|
|
2605
2605
|
const r = Q({
|
2606
2606
|
grant_type: "refresh_token",
|
2607
2607
|
refresh_token: e
|
2608
|
-
}).slice(1), { tokenApiHost: i, apiKey: s } = n.config,
|
2609
|
-
return
|
2608
|
+
}).slice(1), { tokenApiHost: i, apiKey: s } = n.config, o = on(n, i, "/v1/token", `key=${s}`), a = await n._getAdditionalHeaders();
|
2609
|
+
return a[
|
2610
2610
|
"Content-Type"
|
2611
2611
|
/* HttpHeader.CONTENT_TYPE */
|
2612
|
-
] = "application/x-www-form-urlencoded", nn.fetch()(
|
2612
|
+
] = "application/x-www-form-urlencoded", nn.fetch()(o, {
|
2613
2613
|
method: "POST",
|
2614
|
-
headers:
|
2614
|
+
headers: a,
|
2615
2615
|
body: r
|
2616
2616
|
});
|
2617
2617
|
});
|
@@ -2640,7 +2640,7 @@ async function Fi(n, e) {
|
|
2640
2640
|
* See the License for the specific language governing permissions and
|
2641
2641
|
* limitations under the License.
|
2642
2642
|
*/
|
2643
|
-
class
|
2643
|
+
class V {
|
2644
2644
|
constructor() {
|
2645
2645
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2646
2646
|
}
|
@@ -2692,14 +2692,14 @@ class H {
|
|
2692
2692
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
2693
2693
|
}
|
2694
2694
|
static fromJSON(e, t) {
|
2695
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t,
|
2695
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new V();
|
2696
2696
|
return r && (d(typeof r == "string", "internal-error", {
|
2697
2697
|
appName: e
|
2698
|
-
}),
|
2698
|
+
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
2699
2699
|
appName: e
|
2700
|
-
}),
|
2700
|
+
}), o.accessToken = i), s && (d(typeof s == "number", "internal-error", {
|
2701
2701
|
appName: e
|
2702
|
-
}),
|
2702
|
+
}), o.expirationTime = s), o;
|
2703
2703
|
}
|
2704
2704
|
toJSON() {
|
2705
2705
|
return {
|
@@ -2712,7 +2712,7 @@ class H {
|
|
2712
2712
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
2713
2713
|
}
|
2714
2714
|
_clone() {
|
2715
|
-
return Object.assign(new
|
2715
|
+
return Object.assign(new V(), this.toJSON());
|
2716
2716
|
}
|
2717
2717
|
_performRefresh() {
|
2718
2718
|
return b("not implemented");
|
@@ -2740,7 +2740,7 @@ function k(n, e) {
|
|
2740
2740
|
class y {
|
2741
2741
|
constructor(e) {
|
2742
2742
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
2743
|
-
this.providerId = "firebase", this.proactiveRefresh = new Mi(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
|
2743
|
+
this.providerId = "firebase", this.proactiveRefresh = new Mi(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);
|
2744
2744
|
}
|
2745
2745
|
async getIdToken(e) {
|
2746
2746
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -2821,15 +2821,15 @@ class y {
|
|
2821
2821
|
return this.stsTokenManager.refreshToken || "";
|
2822
2822
|
}
|
2823
2823
|
static _fromJSON(e, t) {
|
2824
|
-
var r, i, s,
|
2825
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (
|
2824
|
+
var r, i, s, o, a, c, l, u;
|
2825
|
+
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: ot } = t;
|
2826
2826
|
d(
|
2827
|
-
Ee &&
|
2827
|
+
Ee && ot,
|
2828
2828
|
e,
|
2829
2829
|
"internal-error"
|
2830
2830
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2831
2831
|
);
|
2832
|
-
const Pn =
|
2832
|
+
const Pn = V.fromJSON(this.name, ot);
|
2833
2833
|
d(
|
2834
2834
|
typeof Ee == "string",
|
2835
2835
|
e,
|
@@ -2868,7 +2868,7 @@ class y {
|
|
2868
2868
|
* @param idTokenResponse
|
2869
2869
|
*/
|
2870
2870
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
2871
|
-
const i = new
|
2871
|
+
const i = new V();
|
2872
2872
|
i.updateFromServerResponse(t);
|
2873
2873
|
const s = new y({
|
2874
2874
|
uid: t.localId,
|
@@ -2890,13 +2890,13 @@ class y {
|
|
2890
2890
|
"internal-error"
|
2891
2891
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2892
2892
|
);
|
2893
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [],
|
2894
|
-
|
2893
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new V();
|
2894
|
+
a.updateFromIdToken(r);
|
2895
2895
|
const c = new y({
|
2896
2896
|
uid: i.localId,
|
2897
2897
|
auth: e,
|
2898
|
-
stsTokenManager:
|
2899
|
-
isAnonymous:
|
2898
|
+
stsTokenManager: a,
|
2899
|
+
isAnonymous: o
|
2900
2900
|
}), l = {
|
2901
2901
|
uid: i.localId,
|
2902
2902
|
displayName: i.displayName || null,
|
@@ -2906,7 +2906,7 @@ class y {
|
|
2906
2906
|
phoneNumber: i.phoneNumber || null,
|
2907
2907
|
tenantId: i.tenantId || null,
|
2908
2908
|
providerData: s,
|
2909
|
-
metadata: new
|
2909
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
2910
2910
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
2911
2911
|
};
|
2912
2912
|
return Object.assign(c, l), c;
|
@@ -2990,14 +2990,14 @@ const yt = ln;
|
|
2990
2990
|
* See the License for the specific language governing permissions and
|
2991
2991
|
* limitations under the License.
|
2992
2992
|
*/
|
2993
|
-
function
|
2993
|
+
function oe(n, e, t) {
|
2994
2994
|
return `firebase:${n}:${e}:${t}`;
|
2995
2995
|
}
|
2996
|
-
class
|
2996
|
+
class G {
|
2997
2997
|
constructor(e, t, r) {
|
2998
2998
|
this.persistence = e, this.auth = t, this.userKey = r;
|
2999
2999
|
const { config: i, name: s } = this.auth;
|
3000
|
-
this.fullUserKey =
|
3000
|
+
this.fullUserKey = oe(this.userKey, i.apiKey, s), this.fullPersistenceKey = oe("persistence", i.apiKey, s), this.boundEventHandler = t._onStorageEvent.bind(t), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
|
3001
3001
|
}
|
3002
3002
|
setCurrentUser(e) {
|
3003
3003
|
return this.persistence._set(this.fullUserKey, e.toJSON());
|
@@ -3024,32 +3024,32 @@ class j {
|
|
3024
3024
|
}
|
3025
3025
|
static async create(e, t, r = "authUser") {
|
3026
3026
|
if (!t.length)
|
3027
|
-
return new
|
3027
|
+
return new G(E(yt), e, r);
|
3028
3028
|
const i = (await Promise.all(t.map(async (l) => {
|
3029
3029
|
if (await l._isAvailable())
|
3030
3030
|
return l;
|
3031
3031
|
}))).filter((l) => l);
|
3032
3032
|
let s = i[0] || E(yt);
|
3033
|
-
const
|
3034
|
-
let
|
3033
|
+
const o = oe(r, e.config.apiKey, e.name);
|
3034
|
+
let a = null;
|
3035
3035
|
for (const l of t)
|
3036
3036
|
try {
|
3037
|
-
const u = await l._get(
|
3037
|
+
const u = await l._get(o);
|
3038
3038
|
if (u) {
|
3039
3039
|
const p = y._fromJSON(e, u);
|
3040
|
-
l !== s && (
|
3040
|
+
l !== s && (a = p), s = l;
|
3041
3041
|
break;
|
3042
3042
|
}
|
3043
3043
|
} catch {
|
3044
3044
|
}
|
3045
3045
|
const c = i.filter((l) => l._shouldAllowMigration);
|
3046
|
-
return !s._shouldAllowMigration || !c.length ? new
|
3046
|
+
return !s._shouldAllowMigration || !c.length ? new G(s, e, r) : (s = c[0], a && await s._set(o, a.toJSON()), await Promise.all(t.map(async (l) => {
|
3047
3047
|
if (l !== s)
|
3048
3048
|
try {
|
3049
|
-
await l._remove(
|
3049
|
+
await l._remove(o);
|
3050
3050
|
} catch {
|
3051
3051
|
}
|
3052
|
-
})), new
|
3052
|
+
})), new G(s, e, r));
|
3053
3053
|
}
|
3054
3054
|
}
|
3055
3055
|
/**
|
@@ -3128,7 +3128,7 @@ function xi(n = f()) {
|
|
3128
3128
|
var e;
|
3129
3129
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3130
3130
|
}
|
3131
|
-
function
|
3131
|
+
function Hi() {
|
3132
3132
|
return rr() && document.documentMode === 10;
|
3133
3133
|
}
|
3134
3134
|
function gn(n = f()) {
|
@@ -3181,17 +3181,17 @@ function vn(n, e = []) {
|
|
3181
3181
|
* See the License for the specific language governing permissions and
|
3182
3182
|
* limitations under the License.
|
3183
3183
|
*/
|
3184
|
-
class
|
3184
|
+
class Vi {
|
3185
3185
|
constructor(e) {
|
3186
3186
|
this.auth = e, this.queue = [];
|
3187
3187
|
}
|
3188
3188
|
pushCallback(e, t) {
|
3189
|
-
const r = (s) => new Promise((
|
3189
|
+
const r = (s) => new Promise((o, a) => {
|
3190
3190
|
try {
|
3191
3191
|
const c = e(s);
|
3192
|
-
a(c);
|
3193
|
-
} catch (c) {
|
3194
3192
|
o(c);
|
3193
|
+
} catch (c) {
|
3194
|
+
a(c);
|
3195
3195
|
}
|
3196
3196
|
});
|
3197
3197
|
r.onAbort = t, this.queue.push(r);
|
@@ -3236,7 +3236,7 @@ class Hi {
|
|
3236
3236
|
* See the License for the specific language governing permissions and
|
3237
3237
|
* limitations under the License.
|
3238
3238
|
*/
|
3239
|
-
async function
|
3239
|
+
async function Gi(n, e = {}) {
|
3240
3240
|
return Z(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3241
3241
|
}
|
3242
3242
|
/**
|
@@ -3255,20 +3255,20 @@ async function ji(n, e = {}) {
|
|
3255
3255
|
* See the License for the specific language governing permissions and
|
3256
3256
|
* limitations under the License.
|
3257
3257
|
*/
|
3258
|
-
const
|
3258
|
+
const ji = 6;
|
3259
3259
|
class Wi {
|
3260
3260
|
constructor(e) {
|
3261
3261
|
var t, r, i, s;
|
3262
|
-
const
|
3263
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t =
|
3262
|
+
const o = e.customStrengthOptions;
|
3263
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : ji, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
|
3264
3264
|
}
|
3265
3265
|
validatePassword(e) {
|
3266
|
-
var t, r, i, s,
|
3266
|
+
var t, r, i, s, o, a;
|
3267
3267
|
const c = {
|
3268
3268
|
isValid: !0,
|
3269
3269
|
passwordPolicy: this
|
3270
3270
|
};
|
3271
|
-
return this.validatePasswordLengthOptions(e, c), this.validatePasswordCharacterOptions(e, c), c.isValid && (c.isValid = (t = c.meetsMinPasswordLength) !== null && t !== void 0 ? t : !0), c.isValid && (c.isValid = (r = c.meetsMaxPasswordLength) !== null && r !== void 0 ? r : !0), c.isValid && (c.isValid = (i = c.containsLowercaseLetter) !== null && i !== void 0 ? i : !0), c.isValid && (c.isValid = (s = c.containsUppercaseLetter) !== null && s !== void 0 ? s : !0), c.isValid && (c.isValid = (
|
3271
|
+
return this.validatePasswordLengthOptions(e, c), this.validatePasswordCharacterOptions(e, c), c.isValid && (c.isValid = (t = c.meetsMinPasswordLength) !== null && t !== void 0 ? t : !0), c.isValid && (c.isValid = (r = c.meetsMaxPasswordLength) !== null && r !== void 0 ? r : !0), c.isValid && (c.isValid = (i = c.containsLowercaseLetter) !== null && i !== void 0 ? i : !0), c.isValid && (c.isValid = (s = c.containsUppercaseLetter) !== null && s !== void 0 ? s : !0), c.isValid && (c.isValid = (o = c.containsNumericCharacter) !== null && o !== void 0 ? o : !0), c.isValid && (c.isValid = (a = c.containsNonAlphanumericCharacter) !== null && a !== void 0 ? a : !0), c;
|
3272
3272
|
}
|
3273
3273
|
/**
|
3274
3274
|
* Validates that the password meets the length options for the policy.
|
@@ -3345,12 +3345,12 @@ class Wi {
|
|
3345
3345
|
*/
|
3346
3346
|
class zi {
|
3347
3347
|
constructor(e, t, r, i) {
|
3348
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new
|
3348
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Vi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3349
3349
|
}
|
3350
3350
|
_initializeWithPersistence(e, t) {
|
3351
3351
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3352
3352
|
var r, i;
|
3353
|
-
if (!this._deleted && (this.persistenceManager = await
|
3353
|
+
if (!this._deleted && (this.persistenceManager = await G.create(this, e), !this._deleted)) {
|
3354
3354
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3355
3355
|
try {
|
3356
3356
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3381,7 +3381,7 @@ class zi {
|
|
3381
3381
|
}
|
3382
3382
|
async initializeCurrentUserFromIdToken(e) {
|
3383
3383
|
try {
|
3384
|
-
const t = await
|
3384
|
+
const t = await an(this, { idToken: e }), r = await y._fromGetAccountInfoResponse(this, t, e);
|
3385
3385
|
await this.directlySetCurrentUser(r);
|
3386
3386
|
} catch (t) {
|
3387
3387
|
console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
|
@@ -3390,17 +3390,17 @@ class zi {
|
|
3390
3390
|
async initializeCurrentUser(e) {
|
3391
3391
|
var t;
|
3392
3392
|
if (I(this.app)) {
|
3393
|
-
const
|
3394
|
-
return
|
3395
|
-
setTimeout(() => this.initializeCurrentUserFromIdToken(
|
3393
|
+
const o = this.app.settings.authIdToken;
|
3394
|
+
return o ? new Promise((a) => {
|
3395
|
+
setTimeout(() => this.initializeCurrentUserFromIdToken(o).then(a, a));
|
3396
3396
|
}) : this.directlySetCurrentUser(null);
|
3397
3397
|
}
|
3398
3398
|
const r = await this.assertedPersistence.getCurrentUser();
|
3399
3399
|
let i = r, s = !1;
|
3400
3400
|
if (e && this.config.authDomain) {
|
3401
3401
|
await this.getOrInitRedirectPersistenceManager();
|
3402
|
-
const
|
3403
|
-
(!
|
3402
|
+
const o = (t = this.redirectUser) === null || t === void 0 ? void 0 : t._redirectEventId, a = i == null ? void 0 : i._redirectEventId, c = await this.tryRedirectSignIn(e);
|
3403
|
+
(!o || o === a) && (c != null && c.user) && (i = c.user, s = !0);
|
3404
3404
|
}
|
3405
3405
|
if (!i)
|
3406
3406
|
return this.directlySetCurrentUser(null);
|
@@ -3408,8 +3408,8 @@ class zi {
|
|
3408
3408
|
if (s)
|
3409
3409
|
try {
|
3410
3410
|
await this.beforeStateQueue.runMiddleware(i);
|
3411
|
-
} catch (
|
3412
|
-
i = r, this._popupRedirectResolver._overrideRedirectResult(this, () => Promise.reject(
|
3411
|
+
} catch (o) {
|
3412
|
+
i = r, this._popupRedirectResolver._overrideRedirectResult(this, () => Promise.reject(o));
|
3413
3413
|
}
|
3414
3414
|
return i ? this.reloadAndSetCurrentUserOrClear(i) : this.directlySetCurrentUser(null);
|
3415
3415
|
}
|
@@ -3490,7 +3490,7 @@ class zi {
|
|
3490
3490
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3491
3491
|
}
|
3492
3492
|
async _updatePasswordPolicy() {
|
3493
|
-
const e = await
|
3493
|
+
const e = await Gi(this), t = new Wi(e);
|
3494
3494
|
this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
|
3495
3495
|
}
|
3496
3496
|
_getPersistence() {
|
@@ -3554,7 +3554,7 @@ class zi {
|
|
3554
3554
|
this,
|
3555
3555
|
"argument-error"
|
3556
3556
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3557
|
-
), this.redirectPersistenceManager = await
|
3557
|
+
), this.redirectPersistenceManager = await G.create(
|
3558
3558
|
this,
|
3559
3559
|
[E(t._redirectPersistence)],
|
3560
3560
|
"redirectUser"
|
@@ -3602,24 +3602,24 @@ class zi {
|
|
3602
3602
|
return () => {
|
3603
3603
|
};
|
3604
3604
|
const s = typeof t == "function" ? t : t.next.bind(t);
|
3605
|
-
let
|
3606
|
-
const
|
3605
|
+
let o = !1;
|
3606
|
+
const a = this._isInitialized ? Promise.resolve() : this._initializationPromise;
|
3607
3607
|
if (d(
|
3608
|
-
|
3608
|
+
a,
|
3609
3609
|
this,
|
3610
3610
|
"internal-error"
|
3611
3611
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3612
|
-
),
|
3613
|
-
|
3612
|
+
), a.then(() => {
|
3613
|
+
o || s(this.currentUser);
|
3614
3614
|
}), typeof t == "function") {
|
3615
3615
|
const c = e.addObserver(t, r, i);
|
3616
3616
|
return () => {
|
3617
|
-
|
3617
|
+
o = !0, c();
|
3618
3618
|
};
|
3619
3619
|
} else {
|
3620
3620
|
const c = e.addObserver(t);
|
3621
3621
|
return () => {
|
3622
|
-
|
3622
|
+
o = !0, c();
|
3623
3623
|
};
|
3624
3624
|
}
|
3625
3625
|
}
|
@@ -3725,7 +3725,7 @@ function $i(n) {
|
|
3725
3725
|
function Ji() {
|
3726
3726
|
return qe.gapiScript;
|
3727
3727
|
}
|
3728
|
-
function
|
3728
|
+
function Yi(n) {
|
3729
3729
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
3730
3730
|
}
|
3731
3731
|
/**
|
@@ -3744,8 +3744,8 @@ function Xi(n) {
|
|
3744
3744
|
* See the License for the specific language governing permissions and
|
3745
3745
|
* limitations under the License.
|
3746
3746
|
*/
|
3747
|
-
function
|
3748
|
-
const t =
|
3747
|
+
function Xi(n, e) {
|
3748
|
+
const t = Yt(n, "auth");
|
3749
3749
|
if (t.isInitialized()) {
|
3750
3750
|
const i = t.getImmediate(), s = t.getOptions();
|
3751
3751
|
if (de(s, e ?? {}))
|
@@ -3775,10 +3775,10 @@ function qi(n, e, t) {
|
|
3775
3775
|
"invalid-emulator-scheme"
|
3776
3776
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
3777
3777
|
);
|
3778
|
-
const i = !1, s = In(e), { host:
|
3779
|
-
r.config.emulator = { url: `${s}//${
|
3780
|
-
host:
|
3781
|
-
port:
|
3778
|
+
const i = !1, s = In(e), { host: o, port: a } = Qi(e), c = a === null ? "" : `:${a}`;
|
3779
|
+
r.config.emulator = { url: `${s}//${o}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
3780
|
+
host: o,
|
3781
|
+
port: a,
|
3782
3782
|
protocol: s.replace(":", ""),
|
3783
3783
|
options: Object.freeze({ disableWarnings: i })
|
3784
3784
|
}), es();
|
@@ -3796,8 +3796,8 @@ function Qi(n) {
|
|
3796
3796
|
const s = i[1];
|
3797
3797
|
return { host: s, port: wt(r.substr(s.length + 1)) };
|
3798
3798
|
} else {
|
3799
|
-
const [s,
|
3800
|
-
return { host: s, port: wt(
|
3799
|
+
const [s, o] = r.split(":");
|
3800
|
+
return { host: s, port: wt(o) };
|
3801
3801
|
}
|
3802
3802
|
}
|
3803
3803
|
function wt(n) {
|
@@ -3871,7 +3871,7 @@ class bn {
|
|
3871
3871
|
* See the License for the specific language governing permissions and
|
3872
3872
|
* limitations under the License.
|
3873
3873
|
*/
|
3874
|
-
async function
|
3874
|
+
async function j(n, e) {
|
3875
3875
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ge(n, e));
|
3876
3876
|
}
|
3877
3877
|
/**
|
@@ -3928,23 +3928,23 @@ class U extends bn {
|
|
3928
3928
|
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
|
3929
3929
|
if (!r || !i)
|
3930
3930
|
return null;
|
3931
|
-
const
|
3932
|
-
return
|
3931
|
+
const o = new U(r, i);
|
3932
|
+
return o.idToken = s.idToken || void 0, o.accessToken = s.accessToken || void 0, o.secret = s.secret, o.nonce = s.nonce, o.pendingToken = s.pendingToken || null, o;
|
3933
3933
|
}
|
3934
3934
|
/** @internal */
|
3935
3935
|
_getIdTokenResponse(e) {
|
3936
3936
|
const t = this.buildRequest();
|
3937
|
-
return
|
3937
|
+
return j(e, t);
|
3938
3938
|
}
|
3939
3939
|
/** @internal */
|
3940
3940
|
_linkToIdToken(e, t) {
|
3941
3941
|
const r = this.buildRequest();
|
3942
|
-
return r.idToken = t,
|
3942
|
+
return r.idToken = t, j(e, r);
|
3943
3943
|
}
|
3944
3944
|
/** @internal */
|
3945
3945
|
_getReauthenticationResolver(e) {
|
3946
3946
|
const t = this.buildRequest();
|
3947
|
-
return t.autoCreate = !1,
|
3947
|
+
return t.autoCreate = !1, j(e, t);
|
3948
3948
|
}
|
3949
3949
|
buildRequest() {
|
3950
3950
|
const e = {
|
@@ -4349,10 +4349,10 @@ class B {
|
|
4349
4349
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4350
4350
|
}
|
4351
4351
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4352
|
-
const s = await y._fromIdTokenResponse(e, r, i),
|
4352
|
+
const s = await y._fromIdTokenResponse(e, r, i), o = Rt(r);
|
4353
4353
|
return new B({
|
4354
4354
|
user: s,
|
4355
|
-
providerId:
|
4355
|
+
providerId: o,
|
4356
4356
|
_tokenResponse: r,
|
4357
4357
|
operationType: t
|
4358
4358
|
});
|
@@ -4443,16 +4443,16 @@ async function rs(n, e, t = !1) {
|
|
4443
4443
|
"internal-error"
|
4444
4444
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4445
4445
|
);
|
4446
|
-
const
|
4446
|
+
const o = Xe(s.idToken);
|
4447
4447
|
d(
|
4448
|
-
|
4448
|
+
o,
|
4449
4449
|
r,
|
4450
4450
|
"internal-error"
|
4451
4451
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4452
4452
|
);
|
4453
|
-
const { sub:
|
4453
|
+
const { sub: a } = o;
|
4454
4454
|
return d(
|
4455
|
-
n.uid ===
|
4455
|
+
n.uid === a,
|
4456
4456
|
r,
|
4457
4457
|
"user-mismatch"
|
4458
4458
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4522,7 +4522,7 @@ async function ss(n, e) {
|
|
4522
4522
|
* See the License for the specific language governing permissions and
|
4523
4523
|
* limitations under the License.
|
4524
4524
|
*/
|
4525
|
-
async function
|
4525
|
+
async function os(n, e) {
|
4526
4526
|
if (I(n.app))
|
4527
4527
|
return Promise.reject(P(n));
|
4528
4528
|
const t = ve(n), r = await ss(t, {
|
@@ -4531,7 +4531,7 @@ async function as(n, e) {
|
|
4531
4531
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4532
4532
|
return await t._updateCurrentUser(i.user), i;
|
4533
4533
|
}
|
4534
|
-
function
|
4534
|
+
function as(n, e, t, r) {
|
4535
4535
|
return z(n).onIdTokenChanged(e, t, r);
|
4536
4536
|
}
|
4537
4537
|
function cs(n, e, t) {
|
@@ -4612,18 +4612,18 @@ class wn extends Tn {
|
|
4612
4612
|
}
|
4613
4613
|
onStorageEvent(e, t = !1) {
|
4614
4614
|
if (!e.key) {
|
4615
|
-
this.forAllChangedKeys((
|
4616
|
-
this.notifyListeners(
|
4615
|
+
this.forAllChangedKeys((o, a, c) => {
|
4616
|
+
this.notifyListeners(o, c);
|
4617
4617
|
});
|
4618
4618
|
return;
|
4619
4619
|
}
|
4620
4620
|
const r = e.key;
|
4621
4621
|
t ? this.detachListener() : this.stopPolling();
|
4622
4622
|
const i = () => {
|
4623
|
-
const
|
4624
|
-
!t && this.localCache[r] ===
|
4623
|
+
const o = this.storage.getItem(r);
|
4624
|
+
!t && this.localCache[r] === o || this.notifyListeners(r, o);
|
4625
4625
|
}, s = this.storage.getItem(r);
|
4626
|
-
|
4626
|
+
Hi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ds) : i();
|
4627
4627
|
}
|
4628
4628
|
notifyListeners(e, t) {
|
4629
4629
|
this.localCache[e] = t;
|
@@ -4785,15 +4785,15 @@ class Ie {
|
|
4785
4785
|
*
|
4786
4786
|
*/
|
4787
4787
|
async handleEvent(e) {
|
4788
|
-
const t = e, { eventId: r, eventType: i, data: s } = t.data,
|
4789
|
-
if (!(
|
4788
|
+
const t = e, { eventId: r, eventType: i, data: s } = t.data, o = this.handlersMap[i];
|
4789
|
+
if (!(o != null && o.size))
|
4790
4790
|
return;
|
4791
4791
|
t.ports[0].postMessage({
|
4792
4792
|
status: "ack",
|
4793
4793
|
eventId: r,
|
4794
4794
|
eventType: i
|
4795
4795
|
});
|
4796
|
-
const
|
4796
|
+
const a = Array.from(o).map(async (l) => l(t.origin, s)), c = await hs(a);
|
4797
4797
|
t.ports[0].postMessage({
|
4798
4798
|
status: "done",
|
4799
4799
|
eventId: r,
|
@@ -4893,8 +4893,8 @@ class ps {
|
|
4893
4893
|
"connection_unavailable"
|
4894
4894
|
/* _MessageError.CONNECTION_UNAVAILABLE */
|
4895
4895
|
);
|
4896
|
-
let s,
|
4897
|
-
return new Promise((
|
4896
|
+
let s, o;
|
4897
|
+
return new Promise((a, c) => {
|
4898
4898
|
const l = Qe("", 20);
|
4899
4899
|
i.port1.start();
|
4900
4900
|
const u = setTimeout(() => {
|
@@ -4903,7 +4903,7 @@ class ps {
|
|
4903
4903
|
/* _MessageError.UNSUPPORTED_EVENT */
|
4904
4904
|
));
|
4905
4905
|
}, r);
|
4906
|
-
|
4906
|
+
o = {
|
4907
4907
|
messageChannel: i,
|
4908
4908
|
onMessage(p) {
|
4909
4909
|
const m = p;
|
@@ -4922,7 +4922,7 @@ class ps {
|
|
4922
4922
|
);
|
4923
4923
|
break;
|
4924
4924
|
case "done":
|
4925
|
-
clearTimeout(s),
|
4925
|
+
clearTimeout(s), a(m.data.response);
|
4926
4926
|
break;
|
4927
4927
|
default:
|
4928
4928
|
clearTimeout(u), clearTimeout(s), c(new Error(
|
@@ -4932,13 +4932,13 @@ class ps {
|
|
4932
4932
|
break;
|
4933
4933
|
}
|
4934
4934
|
}
|
4935
|
-
}, this.handlers.add(
|
4935
|
+
}, this.handlers.add(o), i.port1.addEventListener("message", o.onMessage), this.target.postMessage({
|
4936
4936
|
eventType: e,
|
4937
4937
|
eventId: l,
|
4938
4938
|
data: t
|
4939
4939
|
}, [i.port2]);
|
4940
4940
|
}).finally(() => {
|
4941
|
-
|
4941
|
+
o && this.removeMessageHandler(o);
|
4942
4942
|
});
|
4943
4943
|
}
|
4944
4944
|
}
|
@@ -5037,7 +5037,7 @@ function Is() {
|
|
5037
5037
|
const n = indexedDB.deleteDatabase(An);
|
5038
5038
|
return new re(n).toPromise();
|
5039
5039
|
}
|
5040
|
-
function
|
5040
|
+
function Ve() {
|
5041
5041
|
const n = indexedDB.open(An, vs);
|
5042
5042
|
return new Promise((e, t) => {
|
5043
5043
|
n.addEventListener("error", () => {
|
@@ -5051,7 +5051,7 @@ function He() {
|
|
5051
5051
|
}
|
5052
5052
|
}), n.addEventListener("success", async () => {
|
5053
5053
|
const r = n.result;
|
5054
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Is(), e(await
|
5054
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Is(), e(await Ve()));
|
5055
5055
|
});
|
5056
5056
|
});
|
5057
5057
|
}
|
@@ -5078,7 +5078,7 @@ class Cn {
|
|
5078
5078
|
});
|
5079
5079
|
}
|
5080
5080
|
async _openDb() {
|
5081
|
-
return this.db ? this.db : (this.db = await
|
5081
|
+
return this.db ? this.db : (this.db = await Ve(), this.db);
|
5082
5082
|
}
|
5083
5083
|
async _withRetries(e) {
|
5084
5084
|
let t = 0;
|
@@ -5159,7 +5159,7 @@ class Cn {
|
|
5159
5159
|
try {
|
5160
5160
|
if (!indexedDB)
|
5161
5161
|
return !1;
|
5162
|
-
const e = await
|
5162
|
+
const e = await Ve();
|
5163
5163
|
return await kt(e, me, "1"), await St(e, me), !0;
|
5164
5164
|
} catch {
|
5165
5165
|
}
|
@@ -5272,13 +5272,13 @@ class et extends bn {
|
|
5272
5272
|
), this.params = e;
|
5273
5273
|
}
|
5274
5274
|
_getIdTokenResponse(e) {
|
5275
|
-
return
|
5275
|
+
return j(e, this._buildIdpRequest());
|
5276
5276
|
}
|
5277
5277
|
_linkToIdToken(e, t) {
|
5278
|
-
return
|
5278
|
+
return j(e, this._buildIdpRequest(t));
|
5279
5279
|
}
|
5280
5280
|
_getReauthenticationResolver(e) {
|
5281
|
-
return
|
5281
|
+
return j(e, this._buildIdpRequest());
|
5282
5282
|
}
|
5283
5283
|
_buildIdpRequest(e) {
|
5284
5284
|
const t = {
|
@@ -5345,9 +5345,9 @@ class Nn {
|
|
5345
5345
|
});
|
5346
5346
|
}
|
5347
5347
|
async onAuthEvent(e) {
|
5348
|
-
const { urlResponse: t, sessionId: r, postBody: i, tenantId: s, error:
|
5349
|
-
if (
|
5350
|
-
this.reject(
|
5348
|
+
const { urlResponse: t, sessionId: r, postBody: i, tenantId: s, error: o, type: a } = e;
|
5349
|
+
if (o) {
|
5350
|
+
this.reject(o);
|
5351
5351
|
return;
|
5352
5352
|
}
|
5353
5353
|
const c = {
|
@@ -5360,7 +5360,7 @@ class Nn {
|
|
5360
5360
|
bypassAuthState: this.bypassAuthState
|
5361
5361
|
};
|
5362
5362
|
try {
|
5363
|
-
this.resolve(await this.getIdpTask(
|
5363
|
+
this.resolve(await this.getIdpTask(a)(c));
|
5364
5364
|
} catch (l) {
|
5365
5365
|
this.reject(l);
|
5366
5366
|
}
|
@@ -5499,7 +5499,7 @@ x.currentPopupAction = null;
|
|
5499
5499
|
* See the License for the specific language governing permissions and
|
5500
5500
|
* limitations under the License.
|
5501
5501
|
*/
|
5502
|
-
const Os = "pendingRedirect",
|
5502
|
+
const Os = "pendingRedirect", ae = /* @__PURE__ */ new Map();
|
5503
5503
|
class Cs extends Nn {
|
5504
5504
|
constructor(e, t, r = !1) {
|
5505
5505
|
super(e, [
|
@@ -5515,7 +5515,7 @@ class Cs extends Nn {
|
|
5515
5515
|
* just return it.
|
5516
5516
|
*/
|
5517
5517
|
async execute() {
|
5518
|
-
let e =
|
5518
|
+
let e = ae.get(this.auth._key());
|
5519
5519
|
if (!e) {
|
5520
5520
|
try {
|
5521
5521
|
const r = await Ns(this.resolver, this.auth) ? await super.execute() : null;
|
@@ -5523,9 +5523,9 @@ class Cs extends Nn {
|
|
5523
5523
|
} catch (t) {
|
5524
5524
|
e = () => Promise.reject(t);
|
5525
5525
|
}
|
5526
|
-
|
5526
|
+
ae.set(this.auth._key(), e);
|
5527
5527
|
}
|
5528
|
-
return this.bypassAuthState ||
|
5528
|
+
return this.bypassAuthState || ae.set(this.auth._key(), () => Promise.resolve(null)), e();
|
5529
5529
|
}
|
5530
5530
|
async onAuthEvent(e) {
|
5531
5531
|
if (e.type === "signInViaRedirect")
|
@@ -5554,19 +5554,19 @@ async function Ns(n, e) {
|
|
5554
5554
|
return await r._remove(t), i;
|
5555
5555
|
}
|
5556
5556
|
function Ds(n, e) {
|
5557
|
-
|
5557
|
+
ae.set(n._key(), e);
|
5558
5558
|
}
|
5559
5559
|
function Ps(n) {
|
5560
5560
|
return E(n._redirectPersistence);
|
5561
5561
|
}
|
5562
5562
|
function Ms(n) {
|
5563
|
-
return
|
5563
|
+
return oe(Os, n.config.apiKey, n.name);
|
5564
5564
|
}
|
5565
5565
|
async function Ls(n, e, t = !1) {
|
5566
5566
|
if (I(n.app))
|
5567
5567
|
return Promise.reject(P(n));
|
5568
|
-
const r = ve(n), i = ws(r, e),
|
5569
|
-
return
|
5568
|
+
const r = ve(n), i = ws(r, e), o = await new Cs(r, i, t).execute();
|
5569
|
+
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5570
5570
|
}
|
5571
5571
|
/**
|
5572
5572
|
* @license
|
@@ -5675,14 +5675,14 @@ async function xs(n, e = {}) {
|
|
5675
5675
|
* See the License for the specific language governing permissions and
|
5676
5676
|
* limitations under the License.
|
5677
5677
|
*/
|
5678
|
-
const
|
5679
|
-
async function
|
5678
|
+
const Hs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Vs = /^https?/;
|
5679
|
+
async function Gs(n) {
|
5680
5680
|
if (n.config.emulator)
|
5681
5681
|
return;
|
5682
5682
|
const { authorizedDomains: e } = await xs(n);
|
5683
5683
|
for (const t of e)
|
5684
5684
|
try {
|
5685
|
-
if (
|
5685
|
+
if (js(t))
|
5686
5686
|
return;
|
5687
5687
|
} catch {
|
5688
5688
|
}
|
@@ -5692,15 +5692,15 @@ async function js(n) {
|
|
5692
5692
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5693
5693
|
);
|
5694
5694
|
}
|
5695
|
-
function
|
5695
|
+
function js(n) {
|
5696
5696
|
const e = xe(), { protocol: t, hostname: r } = new URL(e);
|
5697
5697
|
if (n.startsWith("chrome-extension://")) {
|
5698
|
-
const
|
5699
|
-
return
|
5698
|
+
const o = new URL(n);
|
5699
|
+
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5700
5700
|
}
|
5701
|
-
if (!
|
5701
|
+
if (!Vs.test(t))
|
5702
5702
|
return !1;
|
5703
|
-
if (
|
5703
|
+
if (Hs.test(n))
|
5704
5704
|
return r === n;
|
5705
5705
|
const i = n.replace(/\./g, "\\.");
|
5706
5706
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -5734,7 +5734,7 @@ function Ot() {
|
|
5734
5734
|
function zs(n) {
|
5735
5735
|
return new Promise((e, t) => {
|
5736
5736
|
var r, i, s;
|
5737
|
-
function
|
5737
|
+
function o() {
|
5738
5738
|
Ot(), gapi.load("gapi.iframes", {
|
5739
5739
|
callback: () => {
|
5740
5740
|
e(gapi.iframes.getContext());
|
@@ -5752,16 +5752,16 @@ function zs(n) {
|
|
5752
5752
|
if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
|
5753
5753
|
e(gapi.iframes.getContext());
|
5754
5754
|
else if (!((s = g().gapi) === null || s === void 0) && s.load)
|
5755
|
-
|
5755
|
+
o();
|
5756
5756
|
else {
|
5757
|
-
const
|
5758
|
-
return g()[
|
5759
|
-
gapi.load ?
|
5757
|
+
const a = Yi("iframefcb");
|
5758
|
+
return g()[a] = () => {
|
5759
|
+
gapi.load ? o() : t(_(
|
5760
5760
|
n,
|
5761
5761
|
"network-request-failed"
|
5762
5762
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5763
5763
|
));
|
5764
|
-
}, $i(`${Ji()}?onload=${
|
5764
|
+
}, $i(`${Ji()}?onload=${a}`).catch((c) => t(c));
|
5765
5765
|
}
|
5766
5766
|
}).catch((e) => {
|
5767
5767
|
throw ce = null, e;
|
@@ -5787,7 +5787,7 @@ function Zs(n) {
|
|
5787
5787
|
* See the License for the specific language governing permissions and
|
5788
5788
|
* limitations under the License.
|
5789
5789
|
*/
|
5790
|
-
const $s = new te(5e3, 15e3), Js = "__/auth/iframe",
|
5790
|
+
const $s = new te(5e3, 15e3), Js = "__/auth/iframe", Ys = "emulator/auth/iframe", Xs = {
|
5791
5791
|
style: {
|
5792
5792
|
position: "absolute",
|
5793
5793
|
top: "-100px",
|
@@ -5810,7 +5810,7 @@ function qs(n) {
|
|
5810
5810
|
"auth-domain-config-required"
|
5811
5811
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5812
5812
|
);
|
5813
|
-
const t = e.emulator ?
|
5813
|
+
const t = e.emulator ? Ye(e, Ys) : `https://${n.config.authDomain}/${Js}`, r = {
|
5814
5814
|
apiKey: e.apiKey,
|
5815
5815
|
appName: n.name,
|
5816
5816
|
v: ee
|
@@ -5830,25 +5830,25 @@ async function Qs(n) {
|
|
5830
5830
|
where: document.body,
|
5831
5831
|
url: qs(n),
|
5832
5832
|
messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
|
5833
|
-
attributes:
|
5833
|
+
attributes: Xs,
|
5834
5834
|
dontclear: !0
|
5835
5835
|
}, (r) => new Promise(async (i, s) => {
|
5836
5836
|
await r.restyle({
|
5837
5837
|
// Prevent iframe from closing on mouse out.
|
5838
5838
|
setHideOnLeave: !1
|
5839
5839
|
});
|
5840
|
-
const
|
5840
|
+
const o = _(
|
5841
5841
|
n,
|
5842
5842
|
"network-request-failed"
|
5843
5843
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5844
|
-
),
|
5845
|
-
s(
|
5844
|
+
), a = g().setTimeout(() => {
|
5845
|
+
s(o);
|
5846
5846
|
}, $s.get());
|
5847
5847
|
function c() {
|
5848
|
-
g().clearTimeout(
|
5848
|
+
g().clearTimeout(a), i(r);
|
5849
5849
|
}
|
5850
5850
|
r.ping(c).then(c, () => {
|
5851
|
-
s(
|
5851
|
+
s(o);
|
5852
5852
|
});
|
5853
5853
|
}));
|
5854
5854
|
}
|
@@ -5868,12 +5868,12 @@ async function Qs(n) {
|
|
5868
5868
|
* See the License for the specific language governing permissions and
|
5869
5869
|
* limitations under the License.
|
5870
5870
|
*/
|
5871
|
-
const
|
5871
|
+
const eo = {
|
5872
5872
|
location: "yes",
|
5873
5873
|
resizable: "yes",
|
5874
5874
|
statusbar: "yes",
|
5875
5875
|
toolbar: "no"
|
5876
|
-
},
|
5876
|
+
}, to = 500, no = 600, ro = "_blank", io = "http://localhost";
|
5877
5877
|
class Ct {
|
5878
5878
|
constructor(e) {
|
5879
5879
|
this.window = e, this.associatedEvent = null;
|
@@ -5886,20 +5886,20 @@ class Ct {
|
|
5886
5886
|
}
|
5887
5887
|
}
|
5888
5888
|
}
|
5889
|
-
function
|
5890
|
-
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(),
|
5891
|
-
let
|
5892
|
-
const c = Object.assign(Object.assign({},
|
5889
|
+
function so(n, e, t, r = to, i = no) {
|
5890
|
+
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), o = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
5891
|
+
let a = "";
|
5892
|
+
const c = Object.assign(Object.assign({}, eo), {
|
5893
5893
|
width: r.toString(),
|
5894
5894
|
height: i.toString(),
|
5895
5895
|
top: s,
|
5896
|
-
left:
|
5896
|
+
left: o
|
5897
5897
|
}), l = f().toLowerCase();
|
5898
|
-
t && (
|
5898
|
+
t && (a = hn(l) ? ro : t), dn(l) && (e = e || io, c.scrollbars = "yes");
|
5899
5899
|
const u = Object.entries(c).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
5900
|
-
if (xi(l) &&
|
5901
|
-
return
|
5902
|
-
const p = window.open(e || "",
|
5900
|
+
if (xi(l) && a !== "_self")
|
5901
|
+
return oo(e || "", a), new Ct(null);
|
5902
|
+
const p = window.open(e || "", a, u);
|
5903
5903
|
d(
|
5904
5904
|
p,
|
5905
5905
|
n,
|
@@ -5912,7 +5912,7 @@ function sa(n, e, t, r = ta, i = na) {
|
|
5912
5912
|
}
|
5913
5913
|
return new Ct(p);
|
5914
5914
|
}
|
5915
|
-
function
|
5915
|
+
function oo(n, e) {
|
5916
5916
|
const t = document.createElement("a");
|
5917
5917
|
t.href = n, t.target = e;
|
5918
5918
|
const r = document.createEvent("MouseEvent");
|
@@ -5934,7 +5934,7 @@ function aa(n, e) {
|
|
5934
5934
|
* See the License for the specific language governing permissions and
|
5935
5935
|
* limitations under the License.
|
5936
5936
|
*/
|
5937
|
-
const
|
5937
|
+
const ao = "__/auth/handler", co = "emulator/auth/handler", lo = encodeURIComponent("fac");
|
5938
5938
|
async function Nt(n, e, t, r, i, s) {
|
5939
5939
|
d(
|
5940
5940
|
n.config.authDomain,
|
@@ -5947,7 +5947,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
5947
5947
|
"invalid-api-key"
|
5948
5948
|
/* AuthErrorCode.INVALID_API_KEY */
|
5949
5949
|
);
|
5950
|
-
const
|
5950
|
+
const o = {
|
5951
5951
|
apiKey: n.config.apiKey,
|
5952
5952
|
appName: n.name,
|
5953
5953
|
authType: t,
|
@@ -5956,23 +5956,23 @@ async function Nt(n, e, t, r, i, s) {
|
|
5956
5956
|
eventId: i
|
5957
5957
|
};
|
5958
5958
|
if (e instanceof yn) {
|
5959
|
-
e.setDefaultLanguage(n.languageCode),
|
5959
|
+
e.setDefaultLanguage(n.languageCode), o.providerId = e.providerId || "", lr(e.getCustomParameters()) || (o.customParameters = JSON.stringify(e.getCustomParameters()));
|
5960
5960
|
for (const [u, p] of Object.entries({}))
|
5961
|
-
|
5961
|
+
o[u] = p;
|
5962
5962
|
}
|
5963
5963
|
if (e instanceof ne) {
|
5964
5964
|
const u = e.getScopes().filter((p) => p !== "");
|
5965
|
-
u.length > 0 && (
|
5965
|
+
u.length > 0 && (o.scopes = u.join(","));
|
5966
5966
|
}
|
5967
|
-
n.tenantId && (
|
5968
|
-
const
|
5969
|
-
for (const u of Object.keys(
|
5970
|
-
|
5971
|
-
const c = await n._getAppCheckToken(), l = c ? `#${
|
5972
|
-
return `${
|
5967
|
+
n.tenantId && (o.tid = n.tenantId);
|
5968
|
+
const a = o;
|
5969
|
+
for (const u of Object.keys(a))
|
5970
|
+
a[u] === void 0 && delete a[u];
|
5971
|
+
const c = await n._getAppCheckToken(), l = c ? `#${lo}=${encodeURIComponent(c)}` : "";
|
5972
|
+
return `${uo(n)}?${Q(a).slice(1)}${l}`;
|
5973
5973
|
}
|
5974
|
-
function
|
5975
|
-
return n.emulator ?
|
5974
|
+
function uo({ config: n }) {
|
5975
|
+
return n.emulator ? Ye(n, co) : `https://${n.authDomain}/${ao}`;
|
5976
5976
|
}
|
5977
5977
|
/**
|
5978
5978
|
* @license
|
@@ -5991,7 +5991,7 @@ function da({ config: n }) {
|
|
5991
5991
|
* limitations under the License.
|
5992
5992
|
*/
|
5993
5993
|
const Ne = "webStorageSupport";
|
5994
|
-
class
|
5994
|
+
class ho {
|
5995
5995
|
constructor() {
|
5996
5996
|
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ls, this._overrideRedirectResult = Ds;
|
5997
5997
|
}
|
@@ -6000,8 +6000,8 @@ class ua {
|
|
6000
6000
|
async _openPopup(e, t, r, i) {
|
6001
6001
|
var s;
|
6002
6002
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6003
|
-
const
|
6004
|
-
return
|
6003
|
+
const o = await Nt(e, t, r, xe(), i);
|
6004
|
+
return so(e, o, Qe());
|
6005
6005
|
}
|
6006
6006
|
async _openRedirect(e, t, r, i) {
|
6007
6007
|
await this._originValidation(e);
|
@@ -6035,8 +6035,8 @@ class ua {
|
|
6035
6035
|
_isIframeWebStorageSupported(e, t) {
|
6036
6036
|
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6037
6037
|
var s;
|
6038
|
-
const
|
6039
|
-
|
6038
|
+
const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6039
|
+
o !== void 0 && t(!!o), w(
|
6040
6040
|
e,
|
6041
6041
|
"internal-error"
|
6042
6042
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6045,13 +6045,13 @@ class ua {
|
|
6045
6045
|
}
|
6046
6046
|
_originValidation(e) {
|
6047
6047
|
const t = e._key();
|
6048
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6048
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Gs(e)), this.originValidationPromises[t];
|
6049
6049
|
}
|
6050
6050
|
get _shouldInitProactively() {
|
6051
6051
|
return gn() || un() || Ke();
|
6052
6052
|
}
|
6053
6053
|
}
|
6054
|
-
const
|
6054
|
+
const po = ho;
|
6055
6055
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6056
6056
|
/**
|
6057
6057
|
* @license
|
@@ -6069,7 +6069,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
|
|
6069
6069
|
* See the License for the specific language governing permissions and
|
6070
6070
|
* limitations under the License.
|
6071
6071
|
*/
|
6072
|
-
class
|
6072
|
+
class fo {
|
6073
6073
|
constructor(e) {
|
6074
6074
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6075
6075
|
}
|
@@ -6120,7 +6120,7 @@ class pa {
|
|
6120
6120
|
* See the License for the specific language governing permissions and
|
6121
6121
|
* limitations under the License.
|
6122
6122
|
*/
|
6123
|
-
function
|
6123
|
+
function mo(n) {
|
6124
6124
|
switch (n) {
|
6125
6125
|
case "Node":
|
6126
6126
|
return "node";
|
@@ -6136,15 +6136,15 @@ function fa(n) {
|
|
6136
6136
|
return;
|
6137
6137
|
}
|
6138
6138
|
}
|
6139
|
-
function
|
6140
|
-
|
6139
|
+
function _o(n) {
|
6140
|
+
Y(new W(
|
6141
6141
|
"auth",
|
6142
6142
|
(e, { options: t }) => {
|
6143
|
-
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey:
|
6144
|
-
d(
|
6143
|
+
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
|
6144
|
+
d(o && !o.includes(":"), "invalid-api-key", { appName: r.name });
|
6145
6145
|
const c = {
|
6146
|
-
apiKey:
|
6147
|
-
authDomain:
|
6146
|
+
apiKey: o,
|
6147
|
+
authDomain: a,
|
6148
6148
|
clientPlatform: n,
|
6149
6149
|
apiHost: "identitytoolkit.googleapis.com",
|
6150
6150
|
tokenApiHost: "securetoken.googleapis.com",
|
@@ -6163,21 +6163,21 @@ function ma(n) {
|
|
6163
6163
|
"auth-internal"
|
6164
6164
|
/* _ComponentName.AUTH_INTERNAL */
|
6165
6165
|
).initialize();
|
6166
|
-
})),
|
6166
|
+
})), Y(new W(
|
6167
6167
|
"auth-internal",
|
6168
6168
|
(e) => {
|
6169
6169
|
const t = ve(e.getProvider(
|
6170
6170
|
"auth"
|
6171
6171
|
/* _ComponentName.AUTH */
|
6172
6172
|
).getImmediate());
|
6173
|
-
return ((r) => new
|
6173
|
+
return ((r) => new fo(r))(t);
|
6174
6174
|
},
|
6175
6175
|
"PRIVATE"
|
6176
6176
|
/* ComponentType.PRIVATE */
|
6177
6177
|
).setInstantiationMode(
|
6178
6178
|
"EXPLICIT"
|
6179
6179
|
/* InstantiationMode.EXPLICIT */
|
6180
|
-
)),
|
6180
|
+
)), H(Dt, Pt, mo(n)), H(Dt, Pt, "esm2017");
|
6181
6181
|
}
|
6182
6182
|
/**
|
6183
6183
|
* @license
|
@@ -6195,11 +6195,11 @@ function ma(n) {
|
|
6195
6195
|
* See the License for the specific language governing permissions and
|
6196
6196
|
* limitations under the License.
|
6197
6197
|
*/
|
6198
|
-
const
|
6198
|
+
const go = 5 * 60, vo = zt("authIdTokenMaxAge") || go;
|
6199
6199
|
let Mt = null;
|
6200
|
-
const
|
6200
|
+
const Io = (n) => async (e) => {
|
6201
6201
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6202
|
-
if (r && r >
|
6202
|
+
if (r && r > vo)
|
6203
6203
|
return;
|
6204
6204
|
const i = t == null ? void 0 : t.token;
|
6205
6205
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6209,12 +6209,12 @@ const va = (n) => async (e) => {
|
|
6209
6209
|
} : {}
|
6210
6210
|
}));
|
6211
6211
|
};
|
6212
|
-
function
|
6213
|
-
const e =
|
6212
|
+
function bo(n = ui()) {
|
6213
|
+
const e = Yt(n, "auth");
|
6214
6214
|
if (e.isInitialized())
|
6215
6215
|
return e.getImmediate();
|
6216
|
-
const t =
|
6217
|
-
popupRedirectResolver:
|
6216
|
+
const t = Xi(n, {
|
6217
|
+
popupRedirectResolver: po,
|
6218
6218
|
persistence: [
|
6219
6219
|
Ts,
|
6220
6220
|
us,
|
@@ -6224,14 +6224,14 @@ function Ia(n = ui()) {
|
|
6224
6224
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6225
6225
|
const s = new URL(r, location.origin);
|
6226
6226
|
if (location.origin === s.origin) {
|
6227
|
-
const
|
6228
|
-
cs(t,
|
6227
|
+
const o = Io(s.toString());
|
6228
|
+
cs(t, o, () => o(t.currentUser)), as(t, (a) => o(a));
|
6229
6229
|
}
|
6230
6230
|
}
|
6231
|
-
const i =
|
6231
|
+
const i = jt("auth");
|
6232
6232
|
return i && qi(t, `http://${i}`), t;
|
6233
6233
|
}
|
6234
|
-
function
|
6234
|
+
function yo() {
|
6235
6235
|
var n, e;
|
6236
6236
|
return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
|
6237
6237
|
}
|
@@ -6245,142 +6245,142 @@ Zi({
|
|
6245
6245
|
/* AuthErrorCode.INTERNAL_ERROR */
|
6246
6246
|
);
|
6247
6247
|
s.customData = i, t(s);
|
6248
|
-
}, r.type = "text/javascript", r.charset = "UTF-8",
|
6248
|
+
}, r.type = "text/javascript", r.charset = "UTF-8", yo().appendChild(r);
|
6249
6249
|
});
|
6250
6250
|
},
|
6251
6251
|
gapiScript: "https://apis.google.com/js/api.js",
|
6252
6252
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6253
6253
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6254
6254
|
});
|
6255
|
-
|
6255
|
+
_o(
|
6256
6256
|
"Browser"
|
6257
6257
|
/* ClientPlatform.BROWSER */
|
6258
6258
|
);
|
6259
|
-
const
|
6259
|
+
const Eo = Ln({
|
6260
6260
|
history: Un(),
|
6261
|
-
routes: [...We, ...
|
6261
|
+
routes: [...We, ...je]
|
6262
6262
|
});
|
6263
6263
|
let De, Pe;
|
6264
|
-
|
6264
|
+
Eo.beforeEach(async (n) => {
|
6265
6265
|
const {
|
6266
6266
|
sessionUser: e,
|
6267
6267
|
currentRestaurant: t,
|
6268
6268
|
currentBusiness: r,
|
6269
6269
|
readRestaurants: i,
|
6270
6270
|
changeRestaurant: s
|
6271
|
-
} =
|
6272
|
-
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((
|
6273
|
-
const
|
6271
|
+
} = Ge();
|
6272
|
+
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
|
6273
|
+
const a = $(e, (c) => {
|
6274
6274
|
var l;
|
6275
|
-
c && (
|
6275
|
+
c && (a(), o(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6276
6276
|
});
|
6277
6277
|
})), De) : !r.value || !t.value ? (Pe || (Pe = Promise.all([
|
6278
|
-
new Promise(async (
|
6279
|
-
const
|
6280
|
-
c && (
|
6278
|
+
new Promise(async (o) => {
|
6279
|
+
const a = $(r, (c) => {
|
6280
|
+
c && (a(), o(!0));
|
6281
6281
|
});
|
6282
6282
|
}),
|
6283
|
-
new Promise(async (
|
6284
|
-
const
|
6285
|
-
l && (
|
6283
|
+
new Promise(async (o) => {
|
6284
|
+
const a = $(t, (l) => {
|
6285
|
+
l && (a(), o(!0));
|
6286
6286
|
}), c = await i();
|
6287
6287
|
await s(c == null ? void 0 : c.at(0));
|
6288
6288
|
})
|
6289
|
-
]).then((
|
6289
|
+
]).then((o) => !0)), Pe) : !0;
|
6290
6290
|
});
|
6291
|
-
const
|
6291
|
+
const To = /* @__PURE__ */ Ut({
|
6292
6292
|
__name: "AppSidebar",
|
6293
6293
|
setup(n) {
|
6294
|
-
const e =
|
6294
|
+
const e = Ge(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6295
6295
|
$(t.currentRoute, () => {
|
6296
|
-
let
|
6297
|
-
t.currentRoute.value.meta.parent && (
|
6296
|
+
let a = t.currentRoute.value.name;
|
6297
|
+
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
6298
6298
|
});
|
6299
|
-
const i = We.map((
|
6299
|
+
const i = We.map((a) => {
|
6300
6300
|
var l;
|
6301
|
-
if (!((l =
|
6301
|
+
if (!((l = a.meta) != null && l.sidebarDisplay))
|
6302
6302
|
return;
|
6303
6303
|
const c = {
|
6304
|
-
label:
|
6305
|
-
value:
|
6304
|
+
label: a.meta.sidebarDisplay,
|
6305
|
+
value: a.name,
|
6306
6306
|
action: () => {
|
6307
|
-
if (t.currentRoute.value.name !==
|
6308
|
-
return t.push({ name:
|
6307
|
+
if (t.currentRoute.value.name !== a.name)
|
6308
|
+
return t.push({ name: a.name });
|
6309
6309
|
}
|
6310
6310
|
};
|
6311
|
-
return
|
6312
|
-
}).filter((
|
6311
|
+
return a.meta.sidebarNew && (c.badge = () => xn(jn.FmPill, { label: "New" })), c;
|
6312
|
+
}).filter((a) => !!a), s = je.map((a) => {
|
6313
6313
|
var c;
|
6314
|
-
if ((c =
|
6314
|
+
if ((c = a.meta) != null && c.sidebarDisplay)
|
6315
6315
|
return {
|
6316
|
-
label:
|
6317
|
-
value:
|
6316
|
+
label: a.meta.sidebarDisplay,
|
6317
|
+
value: a.name,
|
6318
6318
|
action: () => {
|
6319
|
-
if (t.currentRoute.value.name !==
|
6320
|
-
return t.push({ name:
|
6319
|
+
if (t.currentRoute.value.name !== a.name)
|
6320
|
+
return t.push({ name: a.name });
|
6321
6321
|
}
|
6322
6322
|
};
|
6323
|
-
}).filter((
|
6323
|
+
}).filter((a) => !!a), o = Lt(() => {
|
6324
6324
|
var c;
|
6325
|
-
const
|
6326
|
-
return (c = e.sessionUser.value) != null && c.isInternal && (
|
6325
|
+
const a = [...i];
|
6326
|
+
return (c = e.sessionUser.value) != null && c.isInternal && (a.push({
|
6327
6327
|
label: "",
|
6328
6328
|
value: "divider",
|
6329
6329
|
disabled: !0
|
6330
|
-
}),
|
6330
|
+
}), a.push({
|
6331
6331
|
label: "Admin Panel",
|
6332
6332
|
icon: "admin_panel_settings",
|
6333
6333
|
value: "divider",
|
6334
6334
|
disabled: !0
|
6335
|
-
}),
|
6335
|
+
}), a.push(...s)), a;
|
6336
6336
|
});
|
6337
|
-
return (
|
6337
|
+
return (a, c) => {
|
6338
6338
|
const l = Bt("FmCollapsibleTabs");
|
6339
6339
|
return Ft(), xt(l, {
|
6340
6340
|
modelValue: r.value,
|
6341
6341
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
6342
|
-
items:
|
6342
|
+
items: o.value,
|
6343
6343
|
class: "py-16 px-8 w-[240px]"
|
6344
6344
|
}, null, 8, ["modelValue", "items"]);
|
6345
6345
|
};
|
6346
6346
|
}
|
6347
6347
|
});
|
6348
|
-
var
|
6349
|
-
const
|
6348
|
+
var wo = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6349
|
+
const Do = /* @__PURE__ */ Ut({
|
6350
6350
|
__name: "App",
|
6351
6351
|
setup(n) {
|
6352
|
-
const { state: e } = Wn(), t =
|
6352
|
+
const { state: e } = Wn(), t = Ge(), r = Xt(wo.firebase);
|
6353
6353
|
async function i() {
|
6354
6354
|
const s = t.sessionUser.value;
|
6355
6355
|
if (!s || !s.token) return;
|
6356
|
-
const
|
6357
|
-
await
|
6356
|
+
const o = await s.getCustomToken(), a = bo(r);
|
6357
|
+
await os(a, o);
|
6358
6358
|
}
|
6359
|
-
return i(), $(t.sessionUser, i),
|
6359
|
+
return i(), $(t.sessionUser, i), Hn(() => {
|
6360
6360
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6361
|
-
}),
|
6362
|
-
t.registerSidebarComponent(
|
6363
|
-
}), (s,
|
6364
|
-
const
|
6365
|
-
return Ft(), xt(
|
6361
|
+
}), Vn(() => {
|
6362
|
+
t.registerSidebarComponent(To);
|
6363
|
+
}), (s, o) => {
|
6364
|
+
const a = Bt("RouterView");
|
6365
|
+
return Ft(), xt(a);
|
6366
6366
|
};
|
6367
6367
|
}
|
6368
|
-
}),
|
6369
|
-
...
|
6368
|
+
}), Po = [
|
6369
|
+
...je,
|
6370
6370
|
...We
|
6371
6371
|
];
|
6372
6372
|
export {
|
6373
6373
|
W as C,
|
6374
6374
|
M as F,
|
6375
6375
|
ee as S,
|
6376
|
-
|
6377
|
-
|
6378
|
-
|
6376
|
+
Y as _,
|
6377
|
+
Yt as a,
|
6378
|
+
Co as b,
|
6379
6379
|
ui as c,
|
6380
|
-
|
6380
|
+
No as d,
|
6381
6381
|
gt as e,
|
6382
|
-
|
6382
|
+
Po as f,
|
6383
6383
|
z as g,
|
6384
|
-
|
6385
|
-
|
6384
|
+
Do as h,
|
6385
|
+
H as r
|
6386
6386
|
};
|