@feedmepos/mf-payment 1.0.16-beta.1 → 1.0.16-beta.2
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-BLnAnrdL.js → PayoutAccount-8PS0XG-o.js} +5 -5
- package/dist/{PayoutAccount-6es5M8rA.js → PayoutAccount-BaR-pQsE.js} +3 -3
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-Cfkyp9mf.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-Bpfma3sQ.js} +2 -2
- package/dist/{PayoutAccountSetting-BmqsY0rS.js → PayoutAccountSetting-DGv-V72Q.js} +4 -4
- package/dist/{Restaurant-BYlL_o6q.js → Restaurant-DxFHtTvZ.js} +4 -4
- package/dist/{RestaurantSetting-Cj1hxkIg.js → RestaurantSetting-CClHn4b1.js} +4 -4
- package/dist/{Settlement-Nq0i8Jkq.js → Settlement-BZ47PeA4.js} +3 -3
- package/dist/{Settlement-B5kB8Fnq.js → Settlement-Dre6hrbR.js} +3 -3
- package/dist/{SettlementTransactions-D4utbC0A.js → SettlementTransactions-BX1rAyIV.js} +4 -4
- package/dist/{SettlementTransactions-C7L0siVw.js → SettlementTransactions-DMrhyxeT.js} +4 -4
- package/dist/{Terminal-CDQJ9wy0.js → Terminal-3YWAIFU-.js} +5 -5
- package/dist/{TerminalSetting-BgFe3rKb.js → TerminalSetting-6uNjMrlx.js} +43 -41
- package/dist/{TerminalTransaction-BSjwDhBv.js → TerminalTransaction-Dx55gC2L.js} +129 -129
- package/dist/{TerminalTransaction-CnQmbEoQ.js → TerminalTransaction-DxNG44rA.js} +6 -6
- package/dist/{Transaction-CAzMLsJt.js → Transaction-PnNFOZeu.js} +5 -5
- package/dist/{Transaction-CV2ymNDx.js → Transaction-cDKuWfvi.js} +6 -6
- package/dist/{TransactionOld-CgLoRexV.js → TransactionOld-Ba4Fhq0A.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-CktM2jzP.js → TransactionTable.vue_vue_type_script_setup_true_lang-6RXME_ux.js} +2 -2
- package/dist/{app-Ci-Vcr4m.js → app-DOh5Q7Wl.js} +352 -352
- package/dist/app.js +1 -1
- package/dist/{assets-FkjGSBQ1.js → assets-CofaZ_lT.js} +1 -1
- package/dist/{grafana-931Nxkhi.js → grafana-Bk6PPzTz.js} +1 -1
- package/dist/{index-BcCZ_0v0.js → index-BGLG0L6x.js} +1 -1
- package/dist/{index-BgRAawwk.js → index-BdPxytRc.js} +1 -1
- package/dist/{index-CUiFh1mv.js → index-BvOwxlNE.js} +1 -1
- package/dist/{index-CBBlXAaP.js → index-CORtn1qp.js} +1 -1
- package/dist/{index-DGdWaUJP.js → index-CiR5XvPL.js} +1 -1
- package/dist/{index-CTyGGtdE.js → index-Cn1xSOHw.js} +1 -1
- package/dist/{index-CoZV8mxc.js → index-D1ycS_0Y.js} +1 -1
- package/dist/{index-C6keHWJr.js → index-d4H-VoHb.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-ooSmpomb.js → index.vue_vue_type_script_setup_true_lang-Cz-jVTPU.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-CGdTzV98.js → payout-account-lrJn2HVt.js} +2 -2
- package/dist/{transaction-2NjSBj5U.js → transaction-B8ifjkL4.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 Gn, onBeforeMount as Hn } from "vue";
|
3
|
+
import { useCoreStore as je } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as jn } from "pinia";
|
5
|
+
import { components as Vn } from "@feedmepos/ui-library";
|
6
|
+
const Ve = [
|
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-DxFHtTvZ.js")
|
14
14
|
},
|
15
15
|
{
|
16
16
|
path: "/admin/restaurants/:restaurantId",
|
@@ -19,7 +19,7 @@ const Ge = [
|
|
19
19
|
meta: {
|
20
20
|
parent: "mf-payment-admin.restaurant"
|
21
21
|
},
|
22
|
-
component: () => import("./RestaurantSetting-
|
22
|
+
component: () => import("./RestaurantSetting-CClHn4b1.js")
|
23
23
|
},
|
24
24
|
{
|
25
25
|
path: "/admin/payout-accounts",
|
@@ -27,7 +27,7 @@ const Ge = [
|
|
27
27
|
meta: {
|
28
28
|
sidebarDisplay: "Payout Accounts"
|
29
29
|
},
|
30
|
-
component: () => import("./PayoutAccount-
|
30
|
+
component: () => import("./PayoutAccount-8PS0XG-o.js")
|
31
31
|
},
|
32
32
|
{
|
33
33
|
path: "/admin/payout-accounts/:accountId",
|
@@ -36,7 +36,7 @@ const Ge = [
|
|
36
36
|
meta: {
|
37
37
|
parent: "mf-payment-admin.payout-account"
|
38
38
|
},
|
39
|
-
component: () => import("./PayoutAccountSetting-
|
39
|
+
component: () => import("./PayoutAccountSetting-DGv-V72Q.js")
|
40
40
|
},
|
41
41
|
{
|
42
42
|
path: "/admin/terminal",
|
@@ -44,7 +44,7 @@ const Ge = [
|
|
44
44
|
meta: {
|
45
45
|
sidebarDisplay: "Terminals"
|
46
46
|
},
|
47
|
-
component: () => import("./Terminal-
|
47
|
+
component: () => import("./Terminal-3YWAIFU-.js")
|
48
48
|
},
|
49
49
|
{
|
50
50
|
path: "/admin/terminal/:terminalId",
|
@@ -53,7 +53,7 @@ const Ge = [
|
|
53
53
|
meta: {
|
54
54
|
parent: "mf-payment-admin.terminal"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalSetting-
|
56
|
+
component: () => import("./TerminalSetting-6uNjMrlx.js")
|
57
57
|
},
|
58
58
|
{
|
59
59
|
path: "/admin/terminal-transaction",
|
@@ -61,7 +61,7 @@ const Ge = [
|
|
61
61
|
meta: {
|
62
62
|
sidebarDisplay: "Terminal Transactions"
|
63
63
|
},
|
64
|
-
component: () => import("./TerminalTransaction-
|
64
|
+
component: () => import("./TerminalTransaction-DxNG44rA.js")
|
65
65
|
},
|
66
66
|
{
|
67
67
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const Ge = [
|
|
69
69
|
meta: {
|
70
70
|
sidebarDisplay: "Online Transactions"
|
71
71
|
},
|
72
|
-
component: () => import("./Transaction-
|
72
|
+
component: () => import("./Transaction-cDKuWfvi.js")
|
73
73
|
},
|
74
74
|
{
|
75
75
|
path: "/admin/settlement",
|
@@ -77,7 +77,7 @@ const Ge = [
|
|
77
77
|
meta: {
|
78
78
|
sidebarDisplay: "Settlements"
|
79
79
|
},
|
80
|
-
component: () => import("./Settlement-
|
80
|
+
component: () => import("./Settlement-Dre6hrbR.js")
|
81
81
|
},
|
82
82
|
{
|
83
83
|
path: "/admin/settlement/:settlementId",
|
@@ -86,7 +86,7 @@ const Ge = [
|
|
86
86
|
meta: {
|
87
87
|
parent: "mf-payment-admin.settlement"
|
88
88
|
},
|
89
|
-
component: () => import("./SettlementTransactions-
|
89
|
+
component: () => import("./SettlementTransactions-DMrhyxeT.js")
|
90
90
|
}
|
91
91
|
], We = [
|
92
92
|
{
|
@@ -96,7 +96,7 @@ const Ge = [
|
|
96
96
|
{
|
97
97
|
path: "/payout-account",
|
98
98
|
name: "mf-payment-payout-account",
|
99
|
-
component: () => import("./PayoutAccount-
|
99
|
+
component: () => import("./PayoutAccount-BaR-pQsE.js"),
|
100
100
|
meta: {
|
101
101
|
sidebarDisplay: "Payout Accounts"
|
102
102
|
}
|
@@ -104,7 +104,7 @@ const Ge = [
|
|
104
104
|
{
|
105
105
|
path: "/transaction-old",
|
106
106
|
name: "mf-payment-old-transaction",
|
107
|
-
component: () => import("./TransactionOld-
|
107
|
+
component: () => import("./TransactionOld-Ba4Fhq0A.js"),
|
108
108
|
meta: {
|
109
109
|
sidebarDisplay: "Transactions"
|
110
110
|
}
|
@@ -116,12 +116,12 @@ const Ge = [
|
|
116
116
|
sidebarDisplay: "Terminal Transactions",
|
117
117
|
sidebarNew: !0
|
118
118
|
},
|
119
|
-
component: () => import("./TerminalTransaction-
|
119
|
+
component: () => import("./TerminalTransaction-Dx55gC2L.js")
|
120
120
|
},
|
121
121
|
{
|
122
122
|
path: "/transaction",
|
123
123
|
name: "mf-payment-transaction",
|
124
|
-
component: () => import("./Transaction-
|
124
|
+
component: () => import("./Transaction-PnNFOZeu.js"),
|
125
125
|
meta: {
|
126
126
|
sidebarDisplay: "Online Transactions",
|
127
127
|
sidebarNew: !0
|
@@ -130,7 +130,7 @@ const Ge = [
|
|
130
130
|
{
|
131
131
|
path: "/settlement",
|
132
132
|
name: "mf-payment-settlement",
|
133
|
-
component: () => import("./Settlement-
|
133
|
+
component: () => import("./Settlement-BZ47PeA4.js"),
|
134
134
|
meta: {
|
135
135
|
sidebarDisplay: "Settlements"
|
136
136
|
}
|
@@ -139,12 +139,12 @@ const Ge = [
|
|
139
139
|
path: "/settlement/:settlementId",
|
140
140
|
name: "mf-payment-settlement-transaction",
|
141
141
|
props: !0,
|
142
|
-
component: () => import("./SettlementTransactions-
|
142
|
+
component: () => import("./SettlementTransactions-BX1rAyIV.js"),
|
143
143
|
meta: {
|
144
144
|
parent: "mf-payment-settlement"
|
145
145
|
}
|
146
146
|
}
|
147
|
-
], Wn =
|
147
|
+
], Wn = jn("mf-payment-iframe", () => {
|
148
148
|
const n = {
|
149
149
|
isIframe: !1
|
150
150
|
}, e = Lt(() => n);
|
@@ -156,7 +156,7 @@ const Ge = [
|
|
156
156
|
init: t
|
157
157
|
};
|
158
158
|
});
|
159
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_6471e8fe-bfc3-4dae-97ba-032031ffa190", 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_6471e8fe-bfc3-4dae-97ba-032031ffa190", 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_MPey9HFUHdXvZyxKECDWZdCKwC9nNK2drNeJ", 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: "706", 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:6233", 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: "12804140805", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "6f3998dfd3c6dd54f26ab810902df7a5eb6b94ca", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ODRiZDYyZmUtMTk4Zi00NjEwLThiMTAtZWQ2ZTVjMjYxYTBjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTEyIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ODRiZDYyZmUtMTk4Zi00NjEwLThiMTAtZWQ2ZTVjMjYxYTBjOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTEyIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYjYyYmE0ZDktY2VjYi00M2Q1LTgxMWItNGY5Nzc5ZTAzYmRiIiwic2lkIjoiMmY3OWY0ZWQtOTg1NC00MmU3LWEwZTktZWU3YTJiNGQzNzNiIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjZmMzk5OGRmZDNjNmRkNTRmMjZhYjgxMDkwMmRmN2E1ZWI2Yjk0Y2FcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTI4MDQxNDA4MDVcIixcInJ1bl9udW1iZXJcIjpcIjEyMFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI2ZjM5OThkZmQzYzZkZDU0ZjI2YWI4MTA5MDJkZjdhNWViNmI5NGNhXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI2ZjM5OThkZmQzYzZkZDU0ZjI2YWI4MTA5MDJkZjdhNWViNmI5NGNhXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI4NGJkNjJmZS0xOThmLTQ2MTAtOGIxMC1lZDZlNWMyNjFhMGMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzcwMTIxNTAsImV4cCI6MTczNzAzNDk1MH0.dw-6ar6XmTcC1E0rTTeiahcgttNss-0Dd8lvdSgJP0fjMerWSyQN6_-kMANSoaMClQMGsglH_scOLj_NXra3BwKBMmSaSeaRNV7IbjqUeL_7SoktxT_3TEyGbLVwjKE4JKll6T5O8HipbeSLtmiap-FJAmV0vKvl4A4XEQpMSk4eI4mpS8AKaVm2ZxRdWGq5XnivAWYywMt_C-3Ov0lOa4SDXPfL2aQAI45pb5kqaVI4b311Vu9CahuXj0Y9ARYkeHGdFBIwB_Xh1xndfg6CScUNP0rt7YiggYYhlYsMQAhZbmREXcuotuNtSMuiLxRLsToYxPYRtsRwiz_eRvf4Tw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1737012805335-0.8736021464161889:/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--1737012805176-0.5316159993059528:/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--1737012805018-0.2550995097169759:/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_16c26c7d-0113-4512-98bf-c7657b79a7c2", INVOCATION_ID: "89076e60a6bd4ec38c0a5e720ab5d2d4", 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: "120", 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 85", 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.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: "6f3998dfd3c6dd54f26ab810902df7a5eb6b94ca", 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_6471e8fe-bfc3-4dae-97ba-032031ffa190", 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/84bd62fe-198f-4610-8b10-ed6e5c261a0c/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_6471e8fe-bfc3-4dae-97ba-032031ffa190", 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_6471e8fe-bfc3-4dae-97ba-032031ffa190", 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 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" };
|
160
160
|
/**
|
161
161
|
* @license
|
162
162
|
* Copyright 2017 Google LLC
|
@@ -173,7 +173,7 @@ var at = { 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 Gt = function(n) {
|
177
177
|
const e = [];
|
178
178
|
let t = 0;
|
179
179
|
for (let r = 0; r < n.length; r++) {
|
@@ -192,11 +192,11 @@ const jt = 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++], a = n[t++], o = n[t++], c = ((i & 7) << 18 | (s & 63) << 12 | (a & 63) << 6 | o & 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++], a = n[t++];
|
199
|
+
e[r++] = String.fromCharCode((i & 15) << 12 | (s & 63) << 6 | a & 63);
|
200
200
|
}
|
201
201
|
}
|
202
202
|
return e.join("");
|
@@ -259,9 +259,9 @@ const jt = 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], a = i + 1 < n.length, o = a ? n[i + 1] : 0, c = i + 2 < n.length, l = c ? n[i + 2] : 0, u = s >> 2, p = (s & 3) << 4 | o >> 4;
|
263
|
+
let m = (o & 15) << 2 | l >> 6, v = l & 63;
|
264
|
+
c || (v = 64, a || (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 jt = 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(Gt(n), e);
|
278
278
|
},
|
279
279
|
/**
|
280
280
|
* Base64-decode a string.
|
@@ -306,16 +306,16 @@ const jt = 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++)], o = 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 || o == null || l == null || p == null)
|
315
315
|
throw new Zn();
|
316
|
-
const m = s << 2 |
|
316
|
+
const m = s << 2 | o >> 4;
|
317
317
|
if (r.push(m), l !== 64) {
|
318
|
-
const v =
|
318
|
+
const v = o << 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,11 +343,11 @@ class Zn extends Error {
|
|
343
343
|
}
|
344
344
|
}
|
345
345
|
const $n = function(n) {
|
346
|
-
const e =
|
346
|
+
const e = Gt(n);
|
347
347
|
return Ht.encodeByteArray(e, !0);
|
348
348
|
}, le = function(n) {
|
349
349
|
return $n(n).replace(/\./g, "");
|
350
|
-
},
|
350
|
+
}, jt = function(n) {
|
351
351
|
try {
|
352
352
|
return Ht.decodeString(n, !0);
|
353
353
|
} catch (e) {
|
@@ -397,9 +397,9 @@ function Jn() {
|
|
397
397
|
* limitations under the License.
|
398
398
|
*/
|
399
399
|
const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
400
|
-
if (typeof process > "u" || typeof
|
400
|
+
if (typeof process > "u" || typeof ot > "u")
|
401
401
|
return;
|
402
|
-
const n =
|
402
|
+
const n = ot.__FIREBASE_DEFAULTS__;
|
403
403
|
if (n)
|
404
404
|
return JSON.parse(n);
|
405
405
|
}, Kn = () => {
|
@@ -411,7 +411,7 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
411
411
|
} catch {
|
412
412
|
return;
|
413
413
|
}
|
414
|
-
const e = n &&
|
414
|
+
const e = n && jt(n[1]);
|
415
415
|
return e && JSON.parse(e);
|
416
416
|
}, ze = () => {
|
417
417
|
try {
|
@@ -420,11 +420,11 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
420
420
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
421
421
|
return;
|
422
422
|
}
|
423
|
-
},
|
423
|
+
}, Vt = (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
|
+
}, Oa = (n) => {
|
427
|
+
const e = Vt(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 Ca(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 No(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 a = 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 No(n, e) {
|
|
516
516
|
}, n);
|
517
517
|
return [
|
518
518
|
le(JSON.stringify(t)),
|
519
|
-
le(JSON.stringify(
|
519
|
+
le(JSON.stringify(a)),
|
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 ar = "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 = ar, 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], a = s ? or(s, r) : "Error", o = `${this.serviceName}: ${a} (${i}).`;
|
614
|
+
return new M(i, o, r);
|
615
615
|
}
|
616
616
|
}
|
617
|
-
function
|
617
|
+
function or(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], a = e[i];
|
638
|
+
if (ct(s) && ct(a)) {
|
639
|
+
if (!de(s, a))
|
640
640
|
return !1;
|
641
|
-
} else if (s !==
|
641
|
+
} else if (s !== a)
|
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, a] of this.instancesDeferred.entries()) {
|
949
|
+
const o = this.normalizeInstanceIdentifier(s);
|
950
|
+
r === o && a.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 a = this.instances.get(i);
|
967
|
+
return a && e(a, 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", a);
|
1184
1184
|
}, s = () => {
|
1185
1185
|
t(N(n.result)), i();
|
1186
|
-
},
|
1186
|
+
}, a = () => {
|
1187
1187
|
r(n.error), i();
|
1188
1188
|
};
|
1189
|
-
n.addEventListener("success", s), n.addEventListener("error",
|
1189
|
+
n.addEventListener("success", s), n.addEventListener("error", a);
|
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", a), n.removeEventListener("abort", a);
|
1202
1202
|
}, s = () => {
|
1203
1203
|
t(), i();
|
1204
|
-
},
|
1204
|
+
}, a = () => {
|
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", a), n.addEventListener("abort", a);
|
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 a = indexedDB.open(n, e), o = N(a);
|
1257
|
+
return r && a.addEventListener("upgradeneeded", (c) => {
|
1258
|
+
r(N(a.result), c.oldVersion, c.newVersion, N(a.transaction), c);
|
1259
|
+
}), t && a.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
|
+
)), o.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
|
+
}), o;
|
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(a, ...o) {
|
1282
|
+
const c = this.transaction(a, i ? "readwrite" : "readonly");
|
1283
1283
|
let l = c.store;
|
1284
|
-
return r && (l = l.index(
|
1285
|
-
l[t](...
|
1284
|
+
return r && (l = l.index(o.shift())), (await Promise.all([
|
1285
|
+
l[t](...o),
|
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", Gr = "@firebase/auth-compat", Hr = "@firebase/database", jr = "@firebase/data-connect", Vr = "@firebase/database-compat", Wr = "@firebase/functions", zr = "@firebase/functions-compat", Zr = "@firebase/installations", $r = "@firebase/installations-compat", Jr = "@firebase/messaging", Xr = "@firebase/messaging-compat", Yr = "@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", ai = "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]", oi = {
|
1367
1367
|
[Ue]: "fire-core",
|
1368
1368
|
[Mr]: "fire-core-compat",
|
1369
1369
|
[Ur]: "fire-analytics",
|
@@ -1371,10 +1371,10 @@ const Be = "[DEFAULT]", ai = {
|
|
1371
1371
|
[Fr]: "fire-app-check",
|
1372
1372
|
[Br]: "fire-app-check-compat",
|
1373
1373
|
[xr]: "fire-auth",
|
1374
|
-
[
|
1374
|
+
[Gr]: "fire-auth-compat",
|
1375
1375
|
[Hr]: "fire-rtdb",
|
1376
|
-
[
|
1377
|
-
[
|
1376
|
+
[jr]: "fire-data-connect",
|
1377
|
+
[Vr]: "fire-rtdb-compat",
|
1378
1378
|
[Wr]: "fire-fn",
|
1379
1379
|
[zr]: "fire-fn-compat",
|
1380
1380
|
[Zr]: "fire-iid",
|
@@ -1541,7 +1541,7 @@ 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 =
|
1544
|
+
const ee = ai;
|
1545
1545
|
function Yt(n, e = {}) {
|
1546
1546
|
let t = n;
|
1547
1547
|
typeof e != "object" && (e = { name: e });
|
@@ -1561,11 +1561,11 @@ function Yt(n, e = {}) {
|
|
1561
1561
|
return s;
|
1562
1562
|
throw D.create("duplicate-app", { appName: i });
|
1563
1563
|
}
|
1564
|
-
const
|
1564
|
+
const a = new _r(i);
|
1565
1565
|
for (const c of Fe.values())
|
1566
|
-
|
1567
|
-
const
|
1568
|
-
return ue.set(i,
|
1566
|
+
a.addComponent(c);
|
1567
|
+
const o = new di(t, r, a);
|
1568
|
+
return ue.set(i, o), o;
|
1569
1569
|
}
|
1570
1570
|
function ui(n = Be) {
|
1571
1571
|
const e = ue.get(n);
|
@@ -1575,16 +1575,16 @@ function ui(n = Be) {
|
|
1575
1575
|
throw D.create("no-app", { appName: n });
|
1576
1576
|
return e;
|
1577
1577
|
}
|
1578
|
-
function
|
1578
|
+
function G(n, e, t) {
|
1579
1579
|
var r;
|
1580
|
-
let i = (r =
|
1580
|
+
let i = (r = oi[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|\//), a = e.match(/\s|\//);
|
1583
|
+
if (s || a) {
|
1584
|
+
const o = [
|
1585
1585
|
`Unable to register library "${i}" with version "${e}":`
|
1586
1586
|
];
|
1587
|
-
s &&
|
1587
|
+
s && o.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && o.push("and"), a && o.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(o.join(" "));
|
1588
1588
|
return;
|
1589
1589
|
}
|
1590
1590
|
X(new W(
|
@@ -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((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
|
1701
|
+
const o = new Date(a.date).valueOf();
|
1702
|
+
return Date.now() - o <= _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((a) => a.agent === i.agent);
|
1735
1735
|
if (s) {
|
1736
1736
|
if (s.dates.push(i.date), _t(t) > e) {
|
1737
1737
|
s.dates.pop();
|
@@ -1829,7 +1829,7 @@ function bi(n) {
|
|
1829
1829
|
(e) => new gi(e),
|
1830
1830
|
"PRIVATE"
|
1831
1831
|
/* ComponentType.PRIVATE */
|
1832
|
-
)),
|
1832
|
+
)), G(Ue, ht, n), G(Ue, ht, "esm2017"), G("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
|
+
G(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++) {
|
@@ -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 = {}, a = {};
|
2224
|
+
r && (e === "GET" ? a = r : s = {
|
2225
2225
|
body: JSON.stringify(r)
|
2226
2226
|
});
|
2227
|
-
const
|
2227
|
+
const o = Q(Object.assign({ key: n.config.apiKey }, a)).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()(an(n, n.config.apiHost, t, o), 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 a = await s.json();
|
2252
|
+
if ("needConfirmation" in a)
|
2253
|
+
throw ie(n, "account-exists-with-different-credential", a);
|
2254
|
+
if (s.ok && !("errorMessage" in a))
|
2255
|
+
return a;
|
2256
2256
|
{
|
2257
|
-
const
|
2257
|
+
const o = s.ok ? a.errorMessage : a.error.message, [c, l] = o.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", a);
|
2260
2260
|
if (c === "EMAIL_EXISTS")
|
2261
|
-
throw ie(n, "email-already-in-use",
|
2261
|
+
throw ie(n, "email-already-in-use", a);
|
2262
2262
|
if (c === "USER_DISABLED")
|
2263
|
-
throw ie(n, "user-disabled",
|
2263
|
+
throw ie(n, "user-disabled", a);
|
2264
2264
|
const u = r[c] || c.toLowerCase().replace(/[_\s]+/g, "-");
|
2265
2265
|
if (l)
|
2266
2266
|
throw tn(n, u, l);
|
@@ -2278,7 +2278,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2278
2278
|
_serverResponse: s
|
2279
2279
|
}), s;
|
2280
2280
|
}
|
2281
|
-
function
|
2281
|
+
function an(n, e, t, r) {
|
2282
2282
|
const i = `${e}${t}?${r}`;
|
2283
2283
|
return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2284
2284
|
}
|
@@ -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 on(n, e) {
|
2327
2327
|
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2328
2328
|
}
|
2329
2329
|
/**
|
@@ -2359,14 +2359,14 @@ async function Di(n, e = !1) {
|
|
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, a = 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: a || null,
|
2370
2370
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2371
2371
|
};
|
2372
2372
|
}
|
@@ -2378,7 +2378,7 @@ function Ye(n) {
|
|
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 = jt(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;
|
@@ -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 Ge {
|
2510
2510
|
constructor(e, t) {
|
2511
2511
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2512
2512
|
}
|
@@ -2541,7 +2541,7 @@ class je {
|
|
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, on(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 a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], o = Ui(n.providerData, a), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(o != null && o.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: o,
|
2562
|
+
metadata: new Ge(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, a = an(n, i, "/v1/token", `key=${s}`), o = await n._getAdditionalHeaders();
|
2609
|
+
return o[
|
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()(a, {
|
2613
2613
|
method: "POST",
|
2614
|
-
headers:
|
2614
|
+
headers: o,
|
2615
2615
|
body: r
|
2616
2616
|
});
|
2617
2617
|
});
|
@@ -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, a = new H();
|
2696
2696
|
return r && (d(typeof r == "string", "internal-error", {
|
2697
2697
|
appName: e
|
2698
|
-
}),
|
2698
|
+
}), a.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
2699
2699
|
appName: e
|
2700
|
-
}),
|
2700
|
+
}), a.accessToken = i), s && (d(typeof s == "number", "internal-error", {
|
2701
2701
|
appName: e
|
2702
|
-
}),
|
2702
|
+
}), a.expirationTime = s), a;
|
2703
2703
|
}
|
2704
2704
|
toJSON() {
|
2705
2705
|
return {
|
@@ -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 Ge(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, a, o, 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 = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (o = t.tenantId) !== null && o !== void 0 ? o : 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: at } = t;
|
2826
2826
|
d(
|
2827
|
-
Ee &&
|
2827
|
+
Ee && at,
|
2828
2828
|
e,
|
2829
2829
|
"internal-error"
|
2830
2830
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2831
2831
|
);
|
2832
|
-
const Pn = H.fromJSON(this.name,
|
2832
|
+
const Pn = H.fromJSON(this.name, at);
|
2833
2833
|
d(
|
2834
2834
|
typeof Ee == "string",
|
2835
2835
|
e,
|
@@ -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) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), o = new H();
|
2894
|
+
o.updateFromIdToken(r);
|
2895
2895
|
const c = new y({
|
2896
2896
|
uid: i.localId,
|
2897
2897
|
auth: e,
|
2898
|
-
stsTokenManager:
|
2899
|
-
isAnonymous:
|
2898
|
+
stsTokenManager: o,
|
2899
|
+
isAnonymous: a
|
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 Ge(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 ae(n, e, t) {
|
2994
2994
|
return `firebase:${n}:${e}:${t}`;
|
2995
2995
|
}
|
2996
|
-
class
|
2996
|
+
class j {
|
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 = ae(this.userKey, i.apiKey, s), this.fullPersistenceKey = ae("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 V {
|
|
3024
3024
|
}
|
3025
3025
|
static async create(e, t, r = "authUser") {
|
3026
3026
|
if (!t.length)
|
3027
|
-
return new
|
3027
|
+
return new j(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 a = ae(r, e.config.apiKey, e.name);
|
3034
|
+
let o = null;
|
3035
3035
|
for (const l of t)
|
3036
3036
|
try {
|
3037
|
-
const u = await l._get(
|
3037
|
+
const u = await l._get(a);
|
3038
3038
|
if (u) {
|
3039
3039
|
const p = y._fromJSON(e, u);
|
3040
|
-
l !== s && (
|
3040
|
+
l !== s && (o = 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 j(s, e, r) : (s = c[0], o && await s._set(a, o.toJSON()), await Promise.all(t.map(async (l) => {
|
3047
3047
|
if (l !== s)
|
3048
3048
|
try {
|
3049
|
-
await l._remove(
|
3049
|
+
await l._remove(a);
|
3050
3050
|
} catch {
|
3051
3051
|
}
|
3052
|
-
})), new
|
3052
|
+
})), new j(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 Gi() {
|
3132
3132
|
return rr() && document.documentMode === 10;
|
3133
3133
|
}
|
3134
3134
|
function gn(n = f()) {
|
@@ -3186,12 +3186,12 @@ class Hi {
|
|
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((a, o) => {
|
3190
3190
|
try {
|
3191
3191
|
const c = e(s);
|
3192
|
-
o(c);
|
3193
|
-
} catch (c) {
|
3194
3192
|
a(c);
|
3193
|
+
} catch (c) {
|
3194
|
+
o(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 ji(n, e = {}) {
|
3240
3240
|
return Z(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3241
3241
|
}
|
3242
3242
|
/**
|
@@ -3255,20 +3255,20 @@ async function Vi(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 Vi = 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 a = e.customStrengthOptions;
|
3263
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : Vi, a.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = a.maxPasswordLength), a.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = a.containsLowercaseCharacter), a.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = a.containsUppercaseCharacter), a.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = a.containsNumericCharacter), a.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = a.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, a, o;
|
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 = (a = c.containsNumericCharacter) !== null && a !== void 0 ? a : !0), c.isValid && (c.isValid = (o = c.containsNonAlphanumericCharacter) !== null && o !== void 0 ? o : !0), c;
|
3272
3272
|
}
|
3273
3273
|
/**
|
3274
3274
|
* Validates that the password meets the length options for the policy.
|
@@ -3350,7 +3350,7 @@ class zi {
|
|
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 j.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 on(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 a = this.app.settings.authIdToken;
|
3394
|
+
return a ? new Promise((o) => {
|
3395
|
+
setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(o, o));
|
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 a = (t = this.redirectUser) === null || t === void 0 ? void 0 : t._redirectEventId, o = i == null ? void 0 : i._redirectEventId, c = await this.tryRedirectSignIn(e);
|
3403
|
+
(!a || a === o) && (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 (a) {
|
3412
|
+
i = r, this._popupRedirectResolver._overrideRedirectResult(this, () => Promise.reject(a));
|
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 ji(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 j.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 a = !1;
|
3606
|
+
const o = this._isInitialized ? Promise.resolve() : this._initializationPromise;
|
3607
3607
|
if (d(
|
3608
|
-
|
3608
|
+
o,
|
3609
3609
|
this,
|
3610
3610
|
"internal-error"
|
3611
3611
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3612
|
-
),
|
3613
|
-
|
3612
|
+
), o.then(() => {
|
3613
|
+
a || s(this.currentUser);
|
3614
3614
|
}), typeof t == "function") {
|
3615
3615
|
const c = e.addObserver(t, r, i);
|
3616
3616
|
return () => {
|
3617
|
-
|
3617
|
+
a = !0, c();
|
3618
3618
|
};
|
3619
3619
|
} else {
|
3620
3620
|
const c = e.addObserver(t);
|
3621
3621
|
return () => {
|
3622
|
-
|
3622
|
+
a = !0, c();
|
3623
3623
|
};
|
3624
3624
|
}
|
3625
3625
|
}
|
@@ -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: a, port: o } = Qi(e), c = o === null ? "" : `:${o}`;
|
3779
|
+
r.config.emulator = { url: `${s}//${a}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
3780
|
+
host: a,
|
3781
|
+
port: o,
|
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, a] = r.split(":");
|
3800
|
+
return { host: s, port: wt(a) };
|
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 V(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 a = new U(r, i);
|
3932
|
+
return a.idToken = s.idToken || void 0, a.accessToken = s.accessToken || void 0, a.secret = s.secret, a.nonce = s.nonce, a.pendingToken = s.pendingToken || null, a;
|
3933
3933
|
}
|
3934
3934
|
/** @internal */
|
3935
3935
|
_getIdTokenResponse(e) {
|
3936
3936
|
const t = this.buildRequest();
|
3937
|
-
return
|
3937
|
+
return V(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, V(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, V(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), a = Rt(r);
|
4353
4353
|
return new B({
|
4354
4354
|
user: s,
|
4355
|
-
providerId:
|
4355
|
+
providerId: a,
|
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 a = Ye(s.idToken);
|
4447
4447
|
d(
|
4448
|
-
|
4448
|
+
a,
|
4449
4449
|
r,
|
4450
4450
|
"internal-error"
|
4451
4451
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4452
4452
|
);
|
4453
|
-
const { sub:
|
4453
|
+
const { sub: o } = a;
|
4454
4454
|
return d(
|
4455
|
-
n.uid ===
|
4455
|
+
n.uid === o,
|
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 as(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 os(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 os(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((a, o, c) => {
|
4616
|
+
this.notifyListeners(a, 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 a = this.storage.getItem(r);
|
4624
|
+
!t && this.localCache[r] === a || this.notifyListeners(r, a);
|
4625
4625
|
}, s = this.storage.getItem(r);
|
4626
|
-
|
4626
|
+
Gi() && 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, a = this.handlersMap[i];
|
4789
|
+
if (!(a != null && a.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 o = Array.from(a).map(async (l) => l(t.origin, s)), c = await hs(o);
|
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, a;
|
4897
|
+
return new Promise((o, 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
|
+
a = {
|
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), o(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(a), i.port1.addEventListener("message", a.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
|
+
a && this.removeMessageHandler(a);
|
4942
4942
|
});
|
4943
4943
|
}
|
4944
4944
|
}
|
@@ -5272,13 +5272,13 @@ class et extends bn {
|
|
5272
5272
|
), this.params = e;
|
5273
5273
|
}
|
5274
5274
|
_getIdTokenResponse(e) {
|
5275
|
-
return
|
5275
|
+
return V(e, this._buildIdpRequest());
|
5276
5276
|
}
|
5277
5277
|
_linkToIdToken(e, t) {
|
5278
|
-
return
|
5278
|
+
return V(e, this._buildIdpRequest(t));
|
5279
5279
|
}
|
5280
5280
|
_getReauthenticationResolver(e) {
|
5281
|
-
return
|
5281
|
+
return V(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: a, type: o } = e;
|
5349
|
+
if (a) {
|
5350
|
+
this.reject(a);
|
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(o)(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", oe = /* @__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 = oe.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
|
+
oe.set(this.auth._key(), e);
|
5527
5527
|
}
|
5528
|
-
return this.bypassAuthState ||
|
5528
|
+
return this.bypassAuthState || oe.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
|
+
oe.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 ae(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), a = await new Cs(r, i, t).execute();
|
5569
|
+
return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
|
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 Gs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Hs = /^https?/;
|
5679
|
+
async function js(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 (Vs(t))
|
5686
5686
|
return;
|
5687
5687
|
} catch {
|
5688
5688
|
}
|
@@ -5692,15 +5692,15 @@ async function Vs(n) {
|
|
5692
5692
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5693
5693
|
);
|
5694
5694
|
}
|
5695
|
-
function
|
5695
|
+
function Vs(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 a = new URL(n);
|
5699
|
+
return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
|
5700
5700
|
}
|
5701
5701
|
if (!Hs.test(t))
|
5702
5702
|
return !1;
|
5703
|
-
if (
|
5703
|
+
if (Gs.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 a() {
|
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
|
+
a();
|
5756
5756
|
else {
|
5757
|
-
const
|
5758
|
-
return g()[
|
5759
|
-
gapi.load ?
|
5757
|
+
const o = Xi("iframefcb");
|
5758
|
+
return g()[o] = () => {
|
5759
|
+
gapi.load ? a() : 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=${o}`).catch((c) => t(c));
|
5765
5765
|
}
|
5766
5766
|
}).catch((e) => {
|
5767
5767
|
throw ce = null, e;
|
@@ -5837,18 +5837,18 @@ async function Qs(n) {
|
|
5837
5837
|
// Prevent iframe from closing on mouse out.
|
5838
5838
|
setHideOnLeave: !1
|
5839
5839
|
});
|
5840
|
-
const
|
5840
|
+
const a = _(
|
5841
5841
|
n,
|
5842
5842
|
"network-request-failed"
|
5843
5843
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5844
|
-
),
|
5845
|
-
s(
|
5844
|
+
), o = g().setTimeout(() => {
|
5845
|
+
s(a);
|
5846
5846
|
}, $s.get());
|
5847
5847
|
function c() {
|
5848
|
-
g().clearTimeout(
|
5848
|
+
g().clearTimeout(o), i(r);
|
5849
5849
|
}
|
5850
5850
|
r.ping(c).then(c, () => {
|
5851
|
-
s(
|
5851
|
+
s(a);
|
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 ea = {
|
5872
5872
|
location: "yes",
|
5873
5873
|
resizable: "yes",
|
5874
5874
|
statusbar: "yes",
|
5875
5875
|
toolbar: "no"
|
5876
|
-
},
|
5876
|
+
}, ta = 500, na = 600, ra = "_blank", ia = "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 sa(n, e, t, r = ta, i = na) {
|
5890
|
+
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
5891
|
+
let o = "";
|
5892
|
+
const c = Object.assign(Object.assign({}, ea), {
|
5893
5893
|
width: r.toString(),
|
5894
5894
|
height: i.toString(),
|
5895
5895
|
top: s,
|
5896
|
-
left:
|
5896
|
+
left: a
|
5897
5897
|
}), l = f().toLowerCase();
|
5898
|
-
t && (
|
5898
|
+
t && (o = hn(l) ? ra : t), dn(l) && (e = e || ia, 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) && o !== "_self")
|
5901
|
+
return aa(e || "", o), new Ct(null);
|
5902
|
+
const p = window.open(e || "", o, u);
|
5903
5903
|
d(
|
5904
5904
|
p,
|
5905
5905
|
n,
|
@@ -5912,7 +5912,7 @@ function so(n, e, t, r = to, i = no) {
|
|
5912
5912
|
}
|
5913
5913
|
return new Ct(p);
|
5914
5914
|
}
|
5915
|
-
function
|
5915
|
+
function aa(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 oo(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 oa = "__/auth/handler", ca = "emulator/auth/handler", la = 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 a = {
|
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), a.providerId = e.providerId || "", lr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
|
5960
5960
|
for (const [u, p] of Object.entries({}))
|
5961
|
-
|
5961
|
+
a[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 && (a.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 && (a.tid = n.tenantId);
|
5968
|
+
const o = a;
|
5969
|
+
for (const u of Object.keys(o))
|
5970
|
+
o[u] === void 0 && delete o[u];
|
5971
|
+
const c = await n._getAppCheckToken(), l = c ? `#${la}=${encodeURIComponent(c)}` : "";
|
5972
|
+
return `${da(n)}?${Q(o).slice(1)}${l}`;
|
5973
5973
|
}
|
5974
|
-
function
|
5975
|
-
return n.emulator ? Xe(n,
|
5974
|
+
function da({ config: n }) {
|
5975
|
+
return n.emulator ? Xe(n, ca) : `https://${n.authDomain}/${oa}`;
|
5976
5976
|
}
|
5977
5977
|
/**
|
5978
5978
|
* @license
|
@@ -5991,7 +5991,7 @@ function uo({ config: n }) {
|
|
5991
5991
|
* limitations under the License.
|
5992
5992
|
*/
|
5993
5993
|
const Ne = "webStorageSupport";
|
5994
|
-
class
|
5994
|
+
class ua {
|
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 ho {
|
|
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 a = await Nt(e, t, r, xe(), i);
|
6004
|
+
return sa(e, a, Qe());
|
6005
6005
|
}
|
6006
6006
|
async _openRedirect(e, t, r, i) {
|
6007
6007
|
await this._originValidation(e);
|
@@ -6035,8 +6035,8 @@ class ho {
|
|
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 a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6039
|
+
a !== void 0 && t(!!a), w(
|
6040
6040
|
e,
|
6041
6041
|
"internal-error"
|
6042
6042
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6045,13 +6045,13 @@ class ho {
|
|
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] = js(e)), this.originValidationPromises[t];
|
6049
6049
|
}
|
6050
6050
|
get _shouldInitProactively() {
|
6051
6051
|
return gn() || un() || Ke();
|
6052
6052
|
}
|
6053
6053
|
}
|
6054
|
-
const
|
6054
|
+
const ha = ua;
|
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 pa {
|
6073
6073
|
constructor(e) {
|
6074
6074
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6075
6075
|
}
|
@@ -6120,7 +6120,7 @@ class fo {
|
|
6120
6120
|
* See the License for the specific language governing permissions and
|
6121
6121
|
* limitations under the License.
|
6122
6122
|
*/
|
6123
|
-
function
|
6123
|
+
function fa(n) {
|
6124
6124
|
switch (n) {
|
6125
6125
|
case "Node":
|
6126
6126
|
return "node";
|
@@ -6136,15 +6136,15 @@ function mo(n) {
|
|
6136
6136
|
return;
|
6137
6137
|
}
|
6138
6138
|
}
|
6139
|
-
function
|
6139
|
+
function ma(n) {
|
6140
6140
|
X(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: a, authDomain: o } = r.options;
|
6144
|
+
d(a && !a.includes(":"), "invalid-api-key", { appName: r.name });
|
6145
6145
|
const c = {
|
6146
|
-
apiKey:
|
6147
|
-
authDomain:
|
6146
|
+
apiKey: a,
|
6147
|
+
authDomain: o,
|
6148
6148
|
clientPlatform: n,
|
6149
6149
|
apiHost: "identitytoolkit.googleapis.com",
|
6150
6150
|
tokenApiHost: "securetoken.googleapis.com",
|
@@ -6170,14 +6170,14 @@ function _o(n) {
|
|
6170
6170
|
"auth"
|
6171
6171
|
/* _ComponentName.AUTH */
|
6172
6172
|
).getImmediate());
|
6173
|
-
return ((r) => new
|
6173
|
+
return ((r) => new pa(r))(t);
|
6174
6174
|
},
|
6175
6175
|
"PRIVATE"
|
6176
6176
|
/* ComponentType.PRIVATE */
|
6177
6177
|
).setInstantiationMode(
|
6178
6178
|
"EXPLICIT"
|
6179
6179
|
/* InstantiationMode.EXPLICIT */
|
6180
|
-
)),
|
6180
|
+
)), G(Dt, Pt, fa(n)), G(Dt, Pt, "esm2017");
|
6181
6181
|
}
|
6182
6182
|
/**
|
6183
6183
|
* @license
|
@@ -6195,11 +6195,11 @@ function _o(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 _a = 5 * 60, ga = zt("authIdTokenMaxAge") || _a;
|
6199
6199
|
let Mt = null;
|
6200
|
-
const
|
6200
|
+
const va = (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 > ga)
|
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 Io = (n) => async (e) => {
|
|
6209
6209
|
} : {}
|
6210
6210
|
}));
|
6211
6211
|
};
|
6212
|
-
function
|
6212
|
+
function Ia(n = ui()) {
|
6213
6213
|
const e = Xt(n, "auth");
|
6214
6214
|
if (e.isInitialized())
|
6215
6215
|
return e.getImmediate();
|
6216
6216
|
const t = Yi(n, {
|
6217
|
-
popupRedirectResolver:
|
6217
|
+
popupRedirectResolver: ha,
|
6218
6218
|
persistence: [
|
6219
6219
|
Ts,
|
6220
6220
|
us,
|
@@ -6224,14 +6224,14 @@ function bo(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 a = va(s.toString());
|
6228
|
+
cs(t, a, () => a(t.currentUser)), os(t, (o) => a(o));
|
6229
6229
|
}
|
6230
6230
|
}
|
6231
|
-
const i =
|
6231
|
+
const i = Vt("auth");
|
6232
6232
|
return i && qi(t, `http://${i}`), t;
|
6233
6233
|
}
|
6234
|
-
function
|
6234
|
+
function ba() {
|
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,128 +6245,128 @@ 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", ba().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
|
+
ma(
|
6256
6256
|
"Browser"
|
6257
6257
|
/* ClientPlatform.BROWSER */
|
6258
6258
|
);
|
6259
|
-
const
|
6259
|
+
const ya = Ln({
|
6260
6260
|
history: Un(),
|
6261
|
-
routes: [...We, ...
|
6261
|
+
routes: [...We, ...Ve]
|
6262
6262
|
});
|
6263
6263
|
let De, Pe;
|
6264
|
-
|
6264
|
+
ya.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
|
+
} = je();
|
6272
|
+
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((a) => {
|
6273
|
+
const o = $(e, (c) => {
|
6274
6274
|
var l;
|
6275
|
-
c && (
|
6275
|
+
c && (o(), a(((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 (a) => {
|
6279
|
+
const o = $(r, (c) => {
|
6280
|
+
c && (o(), a(!0));
|
6281
6281
|
});
|
6282
6282
|
}),
|
6283
|
-
new Promise(async (
|
6284
|
-
const
|
6285
|
-
l && (
|
6283
|
+
new Promise(async (a) => {
|
6284
|
+
const o = $(t, (l) => {
|
6285
|
+
l && (o(), a(!0));
|
6286
6286
|
}), c = await i();
|
6287
6287
|
await s(c == null ? void 0 : c.at(0));
|
6288
6288
|
})
|
6289
|
-
]).then((
|
6289
|
+
]).then((a) => !0)), Pe) : !0;
|
6290
6290
|
});
|
6291
|
-
const
|
6291
|
+
const Ea = /* @__PURE__ */ Ut({
|
6292
6292
|
__name: "AppSidebar",
|
6293
6293
|
setup(n) {
|
6294
|
-
const e =
|
6294
|
+
const e = je(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6295
6295
|
$(t.currentRoute, () => {
|
6296
|
-
let
|
6297
|
-
t.currentRoute.value.meta.parent && (
|
6296
|
+
let o = t.currentRoute.value.name;
|
6297
|
+
t.currentRoute.value.meta.parent && (o = t.currentRoute.value.meta.parent), r.value = o;
|
6298
6298
|
});
|
6299
|
-
const i = We.map((
|
6299
|
+
const i = We.map((o) => {
|
6300
6300
|
var l;
|
6301
|
-
if (!((l =
|
6301
|
+
if (!((l = o.meta) != null && l.sidebarDisplay))
|
6302
6302
|
return;
|
6303
6303
|
const c = {
|
6304
|
-
label:
|
6305
|
-
value:
|
6304
|
+
label: o.meta.sidebarDisplay,
|
6305
|
+
value: o.name,
|
6306
6306
|
action: () => {
|
6307
|
-
if (t.currentRoute.value.name !==
|
6308
|
-
return t.push({ name:
|
6307
|
+
if (t.currentRoute.value.name !== o.name)
|
6308
|
+
return t.push({ name: o.name });
|
6309
6309
|
}
|
6310
6310
|
};
|
6311
|
-
return
|
6312
|
-
}).filter((
|
6311
|
+
return o.meta.sidebarNew && (c.badge = () => xn(Vn.FmPill, { label: "New" })), c;
|
6312
|
+
}).filter((o) => !!o), s = Ve.map((o) => {
|
6313
6313
|
var c;
|
6314
|
-
if ((c =
|
6314
|
+
if ((c = o.meta) != null && c.sidebarDisplay)
|
6315
6315
|
return {
|
6316
|
-
label:
|
6317
|
-
value:
|
6316
|
+
label: o.meta.sidebarDisplay,
|
6317
|
+
value: o.name,
|
6318
6318
|
action: () => {
|
6319
|
-
if (t.currentRoute.value.name !==
|
6320
|
-
return t.push({ name:
|
6319
|
+
if (t.currentRoute.value.name !== o.name)
|
6320
|
+
return t.push({ name: o.name });
|
6321
6321
|
}
|
6322
6322
|
};
|
6323
|
-
}).filter((
|
6323
|
+
}).filter((o) => !!o), a = Lt(() => {
|
6324
6324
|
var c;
|
6325
|
-
const
|
6326
|
-
return (c = e.sessionUser.value) != null && c.isInternal && (
|
6325
|
+
const o = [...i];
|
6326
|
+
return (c = e.sessionUser.value) != null && c.isInternal && (o.push({
|
6327
6327
|
label: "",
|
6328
6328
|
value: "divider",
|
6329
6329
|
disabled: !0
|
6330
|
-
}),
|
6330
|
+
}), o.push({
|
6331
6331
|
label: "Admin Panel",
|
6332
6332
|
icon: "admin_panel_settings",
|
6333
6333
|
value: "divider",
|
6334
6334
|
disabled: !0
|
6335
|
-
}),
|
6335
|
+
}), o.push(...s)), o;
|
6336
6336
|
});
|
6337
|
-
return (
|
6337
|
+
return (o, 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: a.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 Ta = { 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 Na = /* @__PURE__ */ Ut({
|
6350
6350
|
__name: "App",
|
6351
6351
|
setup(n) {
|
6352
|
-
const { state: e } = Wn(), t =
|
6352
|
+
const { state: e } = Wn(), t = je(), r = Yt(Ta.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 a = await s.getCustomToken(), o = Ia(r);
|
6357
|
+
await as(o, a);
|
6358
6358
|
}
|
6359
|
-
return i(), $(t.sessionUser, i),
|
6359
|
+
return i(), $(t.sessionUser, i), Gn(() => {
|
6360
6360
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6361
6361
|
}), Hn(() => {
|
6362
|
-
t.registerSidebarComponent(
|
6363
|
-
}), (s,
|
6364
|
-
const
|
6365
|
-
return Ft(), xt(
|
6362
|
+
t.registerSidebarComponent(Ea);
|
6363
|
+
}), (s, a) => {
|
6364
|
+
const o = Bt("RouterView");
|
6365
|
+
return Ft(), xt(o);
|
6366
6366
|
};
|
6367
6367
|
}
|
6368
|
-
}),
|
6369
|
-
...
|
6368
|
+
}), Da = [
|
6369
|
+
...Ve,
|
6370
6370
|
...We
|
6371
6371
|
];
|
6372
6372
|
export {
|
@@ -6375,12 +6375,12 @@ export {
|
|
6375
6375
|
ee as S,
|
6376
6376
|
X as _,
|
6377
6377
|
Xt as a,
|
6378
|
-
|
6378
|
+
Oa as b,
|
6379
6379
|
ui as c,
|
6380
|
-
|
6380
|
+
Ca as d,
|
6381
6381
|
gt as e,
|
6382
|
-
|
6382
|
+
Da as f,
|
6383
6383
|
z as g,
|
6384
|
-
|
6385
|
-
|
6384
|
+
Na as h,
|
6385
|
+
G as r
|
6386
6386
|
};
|