@feedmepos/mf-payment 1.0.10-beta.1 → 1.0.11-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-8NVWxFn3.js → PayoutAccount-CeT9fNeU.js} +5 -5
- package/dist/{PayoutAccount-DoKlHHYN.js → PayoutAccount-yFo7nZG4.js} +3 -3
- package/dist/{PayoutAccountSelector.vue_vue_type_script_setup_true_lang-ByqBf42w.js → PayoutAccountSelector.vue_vue_type_script_setup_true_lang-BPESKPRq.js} +2 -2
- package/dist/{PayoutAccountSetting-CX_W2Rjg.js → PayoutAccountSetting-DsXv2Bz_.js} +4 -4
- package/dist/{Restaurant-T7UjuFq_.js → Restaurant-DtW32fL1.js} +4 -4
- package/dist/{RestaurantSetting-CQ7hJgq7.js → RestaurantSetting-BrxVU3Lc.js} +4 -4
- package/dist/{Settlement-vbnEhSu-.js → Settlement-BGHbqS-9.js} +34 -34
- package/dist/{Settlement-DVC-W7jC.js → Settlement-CZsYR0oB.js} +3 -3
- package/dist/{SettlementTransactions-BO5pScuJ.js → SettlementTransactions-B2481ygT.js} +4 -4
- package/dist/{SettlementTransactions-B44yGwyb.js → SettlementTransactions-DE8O1NG8.js} +4 -4
- package/dist/{Terminal-CJYGEzbC.js → Terminal-8aKEMqTA.js} +5 -5
- package/dist/{TerminalSetting-CAYbIM9M.js → TerminalSetting-CvZFqrNy.js} +3 -3
- package/dist/{TerminalTransaction-CO5WFesa.js → TerminalTransaction-BVDta6n-.js} +6 -6
- package/dist/TerminalTransaction-ZFXJaj9B.js +819 -0
- package/dist/{Transaction-BKDm9RXe.js → Transaction-23iQibVQ.js} +6 -6
- package/dist/{Transaction-C8oSnvoO.js → Transaction-D2qquEdz.js} +5 -5
- package/dist/{TransactionOld-ABF8toeX.js → TransactionOld-CnN6Pn5G.js} +4 -4
- package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-BJVj6Ccn.js → TransactionTable.vue_vue_type_script_setup_true_lang-Bmwos4HB.js} +2 -2
- package/dist/{app-CaSTgZoX.js → app-BEvjMQUa.js} +241 -241
- package/dist/app.js +1 -1
- package/dist/{assets-DqhBQDq3.js → assets-C4cUp6IQ.js} +1 -1
- package/dist/{grafana-Bq1c5RBk.js → grafana-BMdrGPLj.js} +1 -1
- package/dist/{index-BEEXYgZi.js → index-9eGVn0Ef.js} +1 -1
- package/dist/{index-CrbORR-u.js → index-BceYR6w6.js} +1 -1
- package/dist/{index-5Lo5aruq.js → index-C2w4pdRU.js} +1 -1
- package/dist/{index-DRrkGtG3.js → index-Cuaa9bIW.js} +1 -1
- package/dist/{index-gCVXK1_f.js → index-D9Ki4HTD.js} +1 -1
- package/dist/{index-CB5OLcn8.js → index-DREjwqPu.js} +1 -1
- package/dist/{index-DXTaY_0K.js → index-DppBYnNM.js} +1 -1
- package/dist/{index-C3GuwuGu.js → index-fIb956AI.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-LzfmvSQf.js → index.vue_vue_type_script_setup_true_lang-kRQsKH1g.js} +1 -1
- package/dist/package.json +1 -1
- package/dist/{payout-account-DqS4cpuf.js → payout-account-C8T6R3bA.js} +2 -2
- package/dist/{transaction-DAdXCO4E.js → transaction-BBMSuJHv.js} +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/TerminalTransaction-UungarG3.js +0 -819
@@ -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
|
3
|
-
import { useCoreStore as
|
4
|
-
import { defineStore as
|
5
|
-
import { components as
|
6
|
-
const
|
2
|
+
import { computed as Lt, watch as $, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as xn, onMounted as Hn, onBeforeMount as Gn } from "vue";
|
3
|
+
import { useCoreStore as Ve } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as Vn } from "pinia";
|
5
|
+
import { components as jn } from "@feedmepos/ui-library";
|
6
|
+
const je = [
|
7
7
|
{
|
8
8
|
path: "/admin/restaurants",
|
9
9
|
name: "mf-payment-admin.restaurant",
|
10
10
|
meta: {
|
11
11
|
sidebarDisplay: "Restaurants"
|
12
12
|
},
|
13
|
-
component: () => import("./Restaurant-
|
13
|
+
component: () => import("./Restaurant-DtW32fL1.js")
|
14
14
|
},
|
15
15
|
{
|
16
16
|
path: "/admin/restaurants/:restaurantId",
|
@@ -19,7 +19,7 @@ const Ve = [
|
|
19
19
|
meta: {
|
20
20
|
parent: "mf-payment-admin.restaurant"
|
21
21
|
},
|
22
|
-
component: () => import("./RestaurantSetting-
|
22
|
+
component: () => import("./RestaurantSetting-BrxVU3Lc.js")
|
23
23
|
},
|
24
24
|
{
|
25
25
|
path: "/admin/payout-accounts",
|
@@ -27,7 +27,7 @@ const Ve = [
|
|
27
27
|
meta: {
|
28
28
|
sidebarDisplay: "Payout Accounts"
|
29
29
|
},
|
30
|
-
component: () => import("./PayoutAccount-
|
30
|
+
component: () => import("./PayoutAccount-CeT9fNeU.js")
|
31
31
|
},
|
32
32
|
{
|
33
33
|
path: "/admin/payout-accounts/:accountId",
|
@@ -36,7 +36,7 @@ const Ve = [
|
|
36
36
|
meta: {
|
37
37
|
parent: "mf-payment-admin.payout-account"
|
38
38
|
},
|
39
|
-
component: () => import("./PayoutAccountSetting-
|
39
|
+
component: () => import("./PayoutAccountSetting-DsXv2Bz_.js")
|
40
40
|
},
|
41
41
|
{
|
42
42
|
path: "/admin/terminal",
|
@@ -44,7 +44,7 @@ const Ve = [
|
|
44
44
|
meta: {
|
45
45
|
sidebarDisplay: "Terminals"
|
46
46
|
},
|
47
|
-
component: () => import("./Terminal-
|
47
|
+
component: () => import("./Terminal-8aKEMqTA.js")
|
48
48
|
},
|
49
49
|
{
|
50
50
|
path: "/admin/terminal/:terminalId",
|
@@ -53,7 +53,7 @@ const Ve = [
|
|
53
53
|
meta: {
|
54
54
|
parent: "mf-payment-admin.terminal"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalSetting-
|
56
|
+
component: () => import("./TerminalSetting-CvZFqrNy.js")
|
57
57
|
},
|
58
58
|
{
|
59
59
|
path: "/admin/terminal-transaction",
|
@@ -61,7 +61,7 @@ const Ve = [
|
|
61
61
|
meta: {
|
62
62
|
sidebarDisplay: "Terminal Transactions"
|
63
63
|
},
|
64
|
-
component: () => import("./TerminalTransaction-
|
64
|
+
component: () => import("./TerminalTransaction-BVDta6n-.js")
|
65
65
|
},
|
66
66
|
{
|
67
67
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const Ve = [
|
|
69
69
|
meta: {
|
70
70
|
sidebarDisplay: "Online Transactions"
|
71
71
|
},
|
72
|
-
component: () => import("./Transaction-
|
72
|
+
component: () => import("./Transaction-23iQibVQ.js")
|
73
73
|
},
|
74
74
|
{
|
75
75
|
path: "/admin/settlement",
|
@@ -77,7 +77,7 @@ const Ve = [
|
|
77
77
|
meta: {
|
78
78
|
sidebarDisplay: "Settlements"
|
79
79
|
},
|
80
|
-
component: () => import("./Settlement-
|
80
|
+
component: () => import("./Settlement-CZsYR0oB.js")
|
81
81
|
},
|
82
82
|
{
|
83
83
|
path: "/admin/settlement/:settlementId",
|
@@ -86,7 +86,7 @@ const Ve = [
|
|
86
86
|
meta: {
|
87
87
|
parent: "mf-payment-admin.settlement"
|
88
88
|
},
|
89
|
-
component: () => import("./SettlementTransactions-
|
89
|
+
component: () => import("./SettlementTransactions-B2481ygT.js")
|
90
90
|
}
|
91
91
|
], We = [
|
92
92
|
{
|
@@ -96,7 +96,7 @@ const Ve = [
|
|
96
96
|
{
|
97
97
|
path: "/payout-account",
|
98
98
|
name: "mf-payment-payout-account",
|
99
|
-
component: () => import("./PayoutAccount-
|
99
|
+
component: () => import("./PayoutAccount-yFo7nZG4.js"),
|
100
100
|
meta: {
|
101
101
|
sidebarDisplay: "Payout Accounts"
|
102
102
|
}
|
@@ -104,7 +104,7 @@ const Ve = [
|
|
104
104
|
{
|
105
105
|
path: "/transaction-old",
|
106
106
|
name: "mf-payment-old-transaction",
|
107
|
-
component: () => import("./TransactionOld-
|
107
|
+
component: () => import("./TransactionOld-CnN6Pn5G.js"),
|
108
108
|
meta: {
|
109
109
|
sidebarDisplay: "Transactions"
|
110
110
|
}
|
@@ -116,12 +116,12 @@ const Ve = [
|
|
116
116
|
sidebarDisplay: "Terminal Transactions",
|
117
117
|
sidebarNew: !0
|
118
118
|
},
|
119
|
-
component: () => import("./TerminalTransaction-
|
119
|
+
component: () => import("./TerminalTransaction-ZFXJaj9B.js")
|
120
120
|
},
|
121
121
|
{
|
122
122
|
path: "/transaction",
|
123
123
|
name: "mf-payment-transaction",
|
124
|
-
component: () => import("./Transaction-
|
124
|
+
component: () => import("./Transaction-D2qquEdz.js"),
|
125
125
|
meta: {
|
126
126
|
sidebarDisplay: "Online Transactions",
|
127
127
|
sidebarNew: !0
|
@@ -130,7 +130,7 @@ const Ve = [
|
|
130
130
|
{
|
131
131
|
path: "/settlement",
|
132
132
|
name: "mf-payment-settlement",
|
133
|
-
component: () => import("./Settlement-
|
133
|
+
component: () => import("./Settlement-BGHbqS-9.js"),
|
134
134
|
meta: {
|
135
135
|
sidebarDisplay: "Settlements"
|
136
136
|
}
|
@@ -139,12 +139,12 @@ const Ve = [
|
|
139
139
|
path: "/settlement/:settlementId",
|
140
140
|
name: "mf-payment-settlement-transaction",
|
141
141
|
props: !0,
|
142
|
-
component: () => import("./SettlementTransactions-
|
142
|
+
component: () => import("./SettlementTransactions-DE8O1NG8.js"),
|
143
143
|
meta: {
|
144
144
|
parent: "mf-payment-settlement"
|
145
145
|
}
|
146
146
|
}
|
147
|
-
], Wn =
|
147
|
+
], Wn = Vn("mf-payment-iframe", () => {
|
148
148
|
const n = {
|
149
149
|
isIframe: !1
|
150
150
|
}, e = Lt(() => n);
|
@@ -156,7 +156,7 @@ const Ve = [
|
|
156
156
|
init: t
|
157
157
|
};
|
158
158
|
});
|
159
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0f5faac5-6703-4980-a9d8-2a002eb9d7a3", 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_0f5faac5-6703-4980-a9d8-2a002eb9d7a3", 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_GHi3LZifmEdd0eS4dzqRwUSJFQhFrl0Wvrxz", 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.11.1", 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: "707", 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: "20241215.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:6711", 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: "12644949035", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "09cfb9080d9c09f3687e70ef82a0b4b066f3e44b", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6Y2EzOWRkMmEtZGY5Ny00OTUzLWEwNzgtMGEwNzRkNDQ4OTRlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDgwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46Y2EzOWRkMmEtZGY5Ny00OTUzLWEwNzgtMGEwNzRkNDQ4OTRlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDgwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiODA0ZDA3NGMtYmNiMC00MTY1LWFlZjEtNmZmZDVkYTk0YjY0Iiwic2lkIjoiMzBkY2NmMmItNTgxZi00NWUyLWI4ZTMtMTgwZDhkMTRhMDUxIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjA5Y2ZiOTA4MGQ5YzA5ZjM2ODdlNzBlZjgyYTBiNGIwNjZmM2U0NGJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTI2NDQ5NDkwMzVcIixcInJ1bl9udW1iZXJcIjpcIjExNFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIwOWNmYjkwODBkOWMwOWYzNjg3ZTcwZWY4MmEwYjRiMDY2ZjNlNDRiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIwOWNmYjkwODBkOWMwOWYzNjg3ZTcwZWY4MmEwYjRiMDY2ZjNlNDRiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjYTM5ZGQyYS1kZjk3LTQ5NTMtYTA3OC0wYTA3NGQ0NDg5NGUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzYyMjE5MzIsImV4cCI6MTczNjI0NDczMn0.VDpJ-4VJQ1vowZbz9saBhlfRh4mpXVt9UVsHrHAQS-lGqL6niinU7YrntO9BXEM87pKdMm4CU5uYzRrSCIoK7dUG3DIjHL6fzME0GMH8l5DWHnz-vLlxYYKZepoO_NImG9R-hnXKD-fwAUXmx8UqDBeZT5K-N5kTQ0A0zNk5NWL-oQTkk5_QjUsyayLGI-Yq56QJjbYFHc6PfORXRoJzlUih7jVExzF4TCL8gE2LivbmmD_mPORWt32F2Kp4K_4qMNyM0zL78cCOvZDdjdj6NyMO4BopDx7GBR4uWPH3galBfMQw05YycyUOPpoM3L-WJ7cen2XQJcIAA5vgCOsBgQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1736222583816-0.546705055649557:/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--1736222583656-0.8718941738412358:/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--1736222583498-0.8282795116436441:/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_5426a9f5-0f7a-40d6-9048-ce4e857e643a", INVOCATION_ID: "fd2195568cbf4f31be0775fec9828dd3", 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: "114", 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 196", 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.10-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: "09cfb9080d9c09f3687e70ef82a0b4b066f3e44b", 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_0f5faac5-6703-4980-a9d8-2a002eb9d7a3", 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/ca39dd2a-df97-4953-a078-0a074d44894e/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_0f5faac5-6703-4980-a9d8-2a002eb9d7a3", 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_0f5faac5-6703-4980-a9d8-2a002eb9d7a3", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.13", NODE_ENV: "production", ENVIRONMENT: "development", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" };
|
159
|
+
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_e0d07a03-d4b2-4202-8279-8462a733e6f4", 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_e0d07a03-d4b2-4202-8279-8462a733e6f4", 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_msRbhJymnRjaCBca6BP0Yk01lLn5U80LUnK3", 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: "707", 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:6352", 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: "12664276024", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c921f431fd7964938d7d78401c7dab42e2878152", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ODc5MTBhOTktZmFhOS00NzU2LTgyMWEtMDU4MzIyY2RhZDEwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDg5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ODc5MTBhOTktZmFhOS00NzU2LTgyMWEtMDU4MzIyY2RhZDEwOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMDg5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiNGU4OWE3NzItZDA0Yy00OWE2LTlhNmMtZmU4YWFiMTBmMzFjIiwic2lkIjoiNGFiOTE4NWYtMTg5ZS00YmIzLTllNzAtMzAxYzU2N2ZiNWQ2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImM5MjFmNDMxZmQ3OTY0OTM4ZDdkNzg0MDFjN2RhYjQyZTI4NzgxNTJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTI2NjQyNzYwMjRcIixcInJ1bl9udW1iZXJcIjpcIjExNVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJjOTIxZjQzMWZkNzk2NDkzOGQ3ZDc4NDAxYzdkYWI0MmUyODc4MTUyXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjOTIxZjQzMWZkNzk2NDkzOGQ3ZDc4NDAxYzdkYWI0MmUyODc4MTUyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI4NzkxMGE5OS1mYWE5LTQ3NTYtODIxYS0wNTgzMjJjZGFkMTAuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzYzMTExNTUsImV4cCI6MTczNjMzMzk1NX0.CV2L5Qh9fmOmo4Os052whqJHj7Otf_qQyotZJ-Yxxou5QeCTw0DtBG3DLqCGpIP6I-nYJhmUErBknQ_oJukagCXMiAIVs_flUdiBvFhEfIoaImcDWPRgvrnnkRTdm3nRdsuIvAwQ8CteiGlWFLRkRhOUxeIWjZj3SpJhw9fZMUhVWYaLzoqShhwZexgTG0pdoMM7TwayJqIaKfP2LxQ0kRyGNttr7BoX2wYu5Q0iszdYhMDswooKYeE-T2ERx-hba0go89G2Xe0kPN-Fi2JZR7ovm69mwFVS-drQ3pHSQTbPWm8O7uBFfJdZLHnBB4cV3Xq1coyLgwqXmYooA1unkg", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1736311811309-0.9208442644987345:/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--1736311811152-0.3623813072755582:/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--1736311810994-0.6279463627864659:/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_1a05208d-2ba2-4323-a2b8-4fc7977d5779", INVOCATION_ID: "33cac4a2605d482fa5f865a82a95eff9", 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: "115", 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 209", 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.11-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: "c921f431fd7964938d7d78401c7dab42e2878152", 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_e0d07a03-d4b2-4202-8279-8462a733e6f4", 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/87910a99-faa9-4756-821a-058322cdad10/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_e0d07a03-d4b2-4202-8279-8462a733e6f4", 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_e0d07a03-d4b2-4202-8279-8462a733e6f4", 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 Ht = function(n) {
|
177
177
|
const e = [];
|
178
178
|
let t = 0;
|
179
179
|
for (let r = 0; r < n.length; r++) {
|
@@ -200,7 +200,7 @@ const Gt = function(n) {
|
|
200
200
|
}
|
201
201
|
}
|
202
202
|
return e.join("");
|
203
|
-
},
|
203
|
+
}, Gt = {
|
204
204
|
/**
|
205
205
|
* Maps bytes to characters.
|
206
206
|
*/
|
@@ -274,7 +274,7 @@ const Gt = function(n) {
|
|
274
274
|
* @return The base64 encoded string.
|
275
275
|
*/
|
276
276
|
encodeString(n, e) {
|
277
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
277
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
278
278
|
},
|
279
279
|
/**
|
280
280
|
* Base64-decode a string.
|
@@ -343,13 +343,13 @@ class Zn extends Error {
|
|
343
343
|
}
|
344
344
|
}
|
345
345
|
const $n = function(n) {
|
346
|
-
const e =
|
347
|
-
return
|
346
|
+
const e = Ht(n);
|
347
|
+
return Gt.encodeByteArray(e, !0);
|
348
348
|
}, le = function(n) {
|
349
349
|
return $n(n).replace(/\./g, "");
|
350
|
-
},
|
350
|
+
}, Vt = function(n) {
|
351
351
|
try {
|
352
|
-
return
|
352
|
+
return Gt.decodeString(n, !0);
|
353
353
|
} catch (e) {
|
354
354
|
console.error("base64Decode failed: ", e);
|
355
355
|
}
|
@@ -396,7 +396,7 @@ function Jn() {
|
|
396
396
|
* See the License for the specific language governing permissions and
|
397
397
|
* limitations under the License.
|
398
398
|
*/
|
399
|
-
const
|
399
|
+
const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
400
400
|
if (typeof process > "u" || typeof at > "u")
|
401
401
|
return;
|
402
402
|
const n = at.__FIREBASE_DEFAULTS__;
|
@@ -411,20 +411,20 @@ const Yn = () => Jn().__FIREBASE_DEFAULTS__, Xn = () => {
|
|
411
411
|
} catch {
|
412
412
|
return;
|
413
413
|
}
|
414
|
-
const e = n &&
|
414
|
+
const e = n && Vt(n[1]);
|
415
415
|
return e && JSON.parse(e);
|
416
416
|
}, ze = () => {
|
417
417
|
try {
|
418
|
-
return
|
418
|
+
return Xn() || Yn() || Kn();
|
419
419
|
} catch (n) {
|
420
420
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
421
421
|
return;
|
422
422
|
}
|
423
|
-
},
|
423
|
+
}, jt = (n) => {
|
424
424
|
var e, t;
|
425
425
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
426
426
|
}, Co = (n) => {
|
427
|
-
const e =
|
427
|
+
const e = jt(n);
|
428
428
|
if (!e)
|
429
429
|
return;
|
430
430
|
const t = e.lastIndexOf(":");
|
@@ -1169,7 +1169,7 @@ function Er() {
|
|
1169
1169
|
IDBTransaction
|
1170
1170
|
]);
|
1171
1171
|
}
|
1172
|
-
function
|
1172
|
+
function Tr() {
|
1173
1173
|
return dt || (dt = [
|
1174
1174
|
IDBCursor.prototype.advance,
|
1175
1175
|
IDBCursor.prototype.continue,
|
@@ -1177,7 +1177,7 @@ function wr() {
|
|
1177
1177
|
]);
|
1178
1178
|
}
|
1179
1179
|
const $t = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), ke = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
|
1180
|
-
function
|
1180
|
+
function wr(n) {
|
1181
1181
|
const e = new Promise((t, r) => {
|
1182
1182
|
const i = () => {
|
1183
1183
|
n.removeEventListener("success", s), n.removeEventListener("error", o);
|
@@ -1230,28 +1230,28 @@ let Le = {
|
|
1230
1230
|
function kr(n) {
|
1231
1231
|
Le = n(Le);
|
1232
1232
|
}
|
1233
|
-
function
|
1233
|
+
function Sr(n) {
|
1234
1234
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1235
|
-
const r = n.call(
|
1235
|
+
const r = n.call(Se(this), e, ...t);
|
1236
1236
|
return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1237
|
-
} :
|
1238
|
-
return n.apply(
|
1237
|
+
} : Tr().includes(n) ? function(...e) {
|
1238
|
+
return n.apply(Se(this), e), N($t.get(this));
|
1239
1239
|
} : function(...e) {
|
1240
|
-
return N(n.apply(
|
1240
|
+
return N(n.apply(Se(this), e));
|
1241
1241
|
};
|
1242
1242
|
}
|
1243
|
-
function
|
1244
|
-
return typeof n == "function" ?
|
1243
|
+
function Ar(n) {
|
1244
|
+
return typeof n == "function" ? Sr(n) : (n instanceof IDBTransaction && Rr(n), yr(n, Er()) ? new Proxy(n, Le) : n);
|
1245
1245
|
}
|
1246
1246
|
function N(n) {
|
1247
1247
|
if (n instanceof IDBRequest)
|
1248
|
-
return
|
1248
|
+
return wr(n);
|
1249
1249
|
if (ke.has(n))
|
1250
1250
|
return ke.get(n);
|
1251
|
-
const e =
|
1251
|
+
const e = Ar(n);
|
1252
1252
|
return e !== n && (ke.set(n, e), Ze.set(e, n)), e;
|
1253
1253
|
}
|
1254
|
-
const
|
1254
|
+
const Se = (n) => Ze.get(n);
|
1255
1255
|
function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1256
1256
|
const o = indexedDB.open(n, e), a = N(o);
|
1257
1257
|
return r && o.addEventListener("upgradeneeded", (c) => {
|
@@ -1266,12 +1266,12 @@ function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
|
1266
1266
|
}).catch(() => {
|
1267
1267
|
}), a;
|
1268
1268
|
}
|
1269
|
-
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"],
|
1269
|
+
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
|
1270
1270
|
function ut(n, e) {
|
1271
1271
|
if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
|
1272
1272
|
return;
|
1273
|
-
if (
|
1274
|
-
return
|
1273
|
+
if (Ae.get(e))
|
1274
|
+
return Ae.get(e);
|
1275
1275
|
const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Nr.includes(t);
|
1276
1276
|
if (
|
1277
1277
|
// Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
|
@@ -1286,7 +1286,7 @@ function ut(n, e) {
|
|
1286
1286
|
i && c.done
|
1287
1287
|
]))[0];
|
1288
1288
|
};
|
1289
|
-
return
|
1289
|
+
return Ae.set(e, s), s;
|
1290
1290
|
}
|
1291
1291
|
kr((n) => ({
|
1292
1292
|
...n,
|
@@ -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
|
1349
|
+
const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", Fr = "@firebase/app-check", xr = "@firebase/auth", Hr = "@firebase/auth-compat", Gr = "@firebase/database", Vr = "@firebase/data-connect", jr = "@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", oi = "10.14.1";
|
1350
1350
|
/**
|
1351
1351
|
* @license
|
1352
1352
|
* Copyright 2019 Google LLC
|
@@ -1370,18 +1370,18 @@ const Be = "[DEFAULT]", ai = {
|
|
1370
1370
|
[Lr]: "fire-analytics-compat",
|
1371
1371
|
[Fr]: "fire-app-check",
|
1372
1372
|
[Br]: "fire-app-check-compat",
|
1373
|
-
[
|
1374
|
-
[
|
1375
|
-
[
|
1376
|
-
[
|
1377
|
-
[
|
1373
|
+
[xr]: "fire-auth",
|
1374
|
+
[Hr]: "fire-auth-compat",
|
1375
|
+
[Gr]: "fire-rtdb",
|
1376
|
+
[Vr]: "fire-data-connect",
|
1377
|
+
[jr]: "fire-rtdb-compat",
|
1378
1378
|
[Wr]: "fire-fn",
|
1379
1379
|
[zr]: "fire-fn-compat",
|
1380
1380
|
[Zr]: "fire-iid",
|
1381
1381
|
[$r]: "fire-iid-compat",
|
1382
1382
|
[Jr]: "fire-fcm",
|
1383
|
-
[
|
1384
|
-
[
|
1383
|
+
[Xr]: "fire-fcm-compat",
|
1384
|
+
[Yr]: "fire-perf",
|
1385
1385
|
[Kr]: "fire-perf-compat",
|
1386
1386
|
[qr]: "fire-rc",
|
1387
1387
|
[Qr]: "fire-rc-compat",
|
@@ -1414,13 +1414,13 @@ function pt(n, e) {
|
|
1414
1414
|
try {
|
1415
1415
|
n.container.addComponent(e);
|
1416
1416
|
} catch (t) {
|
1417
|
-
|
1417
|
+
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1418
1418
|
}
|
1419
1419
|
}
|
1420
|
-
function
|
1420
|
+
function X(n) {
|
1421
1421
|
const e = n.name;
|
1422
1422
|
if (Fe.has(e))
|
1423
|
-
return
|
1423
|
+
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1424
1424
|
Fe.set(e, n);
|
1425
1425
|
for (const t of ue.values())
|
1426
1426
|
pt(t, n);
|
@@ -1428,7 +1428,7 @@ function Y(n) {
|
|
1428
1428
|
pt(t, n);
|
1429
1429
|
return !0;
|
1430
1430
|
}
|
1431
|
-
function
|
1431
|
+
function Xt(n, e) {
|
1432
1432
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1433
1433
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1434
1434
|
}
|
@@ -1542,7 +1542,7 @@ class di {
|
|
1542
1542
|
* limitations under the License.
|
1543
1543
|
*/
|
1544
1544
|
const ee = oi;
|
1545
|
-
function
|
1545
|
+
function Yt(n, e = {}) {
|
1546
1546
|
let t = n;
|
1547
1547
|
typeof e != "object" && (e = { name: e });
|
1548
1548
|
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1570,12 +1570,12 @@ function Xt(n, e = {}) {
|
|
1570
1570
|
function ui(n = Be) {
|
1571
1571
|
const e = ue.get(n);
|
1572
1572
|
if (!e && n === Be && Wt())
|
1573
|
-
return
|
1573
|
+
return Yt();
|
1574
1574
|
if (!e)
|
1575
1575
|
throw D.create("no-app", { appName: n });
|
1576
1576
|
return e;
|
1577
1577
|
}
|
1578
|
-
function
|
1578
|
+
function H(n, e, t) {
|
1579
1579
|
var r;
|
1580
1580
|
let i = (r = ai[n]) !== null && r !== void 0 ? r : n;
|
1581
1581
|
t && (i += `-${t}`);
|
@@ -1584,10 +1584,10 @@ function G(n, e, t) {
|
|
1584
1584
|
const a = [
|
1585
1585
|
`Unable to register library "${i}" with version "${e}":`
|
1586
1586
|
];
|
1587
|
-
s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
1587
|
+
s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(a.join(" "));
|
1588
1588
|
return;
|
1589
1589
|
}
|
1590
|
-
|
1590
|
+
X(new W(
|
1591
1591
|
`${i}-version`,
|
1592
1592
|
() => ({ library: i, version: e }),
|
1593
1593
|
"VERSION"
|
@@ -1610,7 +1610,7 @@ function G(n, e, t) {
|
|
1610
1610
|
* See the License for the specific language governing permissions and
|
1611
1611
|
* limitations under the License.
|
1612
1612
|
*/
|
1613
|
-
const hi = "firebase-heartbeat-database", pi = 1,
|
1613
|
+
const hi = "firebase-heartbeat-database", pi = 1, Y = "firebase-heartbeat-store";
|
1614
1614
|
let Oe = null;
|
1615
1615
|
function Kt() {
|
1616
1616
|
return Oe || (Oe = Or(hi, pi, {
|
@@ -1618,7 +1618,7 @@ function Kt() {
|
|
1618
1618
|
switch (e) {
|
1619
1619
|
case 0:
|
1620
1620
|
try {
|
1621
|
-
n.createObjectStore(
|
1621
|
+
n.createObjectStore(Y);
|
1622
1622
|
} catch (t) {
|
1623
1623
|
console.warn(t);
|
1624
1624
|
}
|
@@ -1632,31 +1632,31 @@ function Kt() {
|
|
1632
1632
|
}
|
1633
1633
|
async function fi(n) {
|
1634
1634
|
try {
|
1635
|
-
const t = (await Kt()).transaction(
|
1635
|
+
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1636
1636
|
return await t.done, r;
|
1637
1637
|
} catch (e) {
|
1638
1638
|
if (e instanceof M)
|
1639
|
-
|
1639
|
+
T.warn(e.message);
|
1640
1640
|
else {
|
1641
1641
|
const t = D.create("idb-get", {
|
1642
1642
|
originalErrorMessage: e == null ? void 0 : e.message
|
1643
1643
|
});
|
1644
|
-
|
1644
|
+
T.warn(t.message);
|
1645
1645
|
}
|
1646
1646
|
}
|
1647
1647
|
}
|
1648
1648
|
async function ft(n, e) {
|
1649
1649
|
try {
|
1650
|
-
const r = (await Kt()).transaction(
|
1651
|
-
await r.objectStore(
|
1650
|
+
const r = (await Kt()).transaction(Y, "readwrite");
|
1651
|
+
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
1652
1652
|
} catch (t) {
|
1653
1653
|
if (t instanceof M)
|
1654
|
-
|
1654
|
+
T.warn(t.message);
|
1655
1655
|
else {
|
1656
1656
|
const r = D.create("idb-set", {
|
1657
1657
|
originalErrorMessage: t == null ? void 0 : t.message
|
1658
1658
|
});
|
1659
|
-
|
1659
|
+
T.warn(r.message);
|
1660
1660
|
}
|
1661
1661
|
}
|
1662
1662
|
}
|
@@ -1702,7 +1702,7 @@ class gi {
|
|
1702
1702
|
return Date.now() - a <= _i;
|
1703
1703
|
}), this._storage.overwrite(this._heartbeatsCache));
|
1704
1704
|
} catch (r) {
|
1705
|
-
|
1705
|
+
T.warn(r);
|
1706
1706
|
}
|
1707
1707
|
}
|
1708
1708
|
/**
|
@@ -1720,7 +1720,7 @@ class gi {
|
|
1720
1720
|
const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = vi(this._heartbeatsCache.heartbeats), s = le(JSON.stringify({ version: 2, heartbeats: r }));
|
1721
1721
|
return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
|
1722
1722
|
} catch (t) {
|
1723
|
-
return
|
1723
|
+
return T.warn(t), "";
|
1724
1724
|
}
|
1725
1725
|
}
|
1726
1726
|
}
|
@@ -1819,17 +1819,17 @@ function _t(n) {
|
|
1819
1819
|
* limitations under the License.
|
1820
1820
|
*/
|
1821
1821
|
function bi(n) {
|
1822
|
-
|
1822
|
+
X(new W(
|
1823
1823
|
"platform-logger",
|
1824
1824
|
(e) => new Dr(e),
|
1825
1825
|
"PRIVATE"
|
1826
1826
|
/* ComponentType.PRIVATE */
|
1827
|
-
)),
|
1827
|
+
)), X(new W(
|
1828
1828
|
"heartbeat",
|
1829
1829
|
(e) => new gi(e),
|
1830
1830
|
"PRIVATE"
|
1831
1831
|
/* ComponentType.PRIVATE */
|
1832
|
-
)),
|
1832
|
+
)), H(Ue, ht, n), H(Ue, ht, "esm2017"), H("fire-js", "");
|
1833
1833
|
}
|
1834
1834
|
bi("");
|
1835
1835
|
var yi = "firebase", Ei = "10.14.1";
|
@@ -1849,7 +1849,7 @@ var yi = "firebase", Ei = "10.14.1";
|
|
1849
1849
|
* See the License for the specific language governing permissions and
|
1850
1850
|
* limitations under the License.
|
1851
1851
|
*/
|
1852
|
-
|
1852
|
+
H(yi, Ei, "app");
|
1853
1853
|
var gt = function() {
|
1854
1854
|
return gt = Object.assign || function(e) {
|
1855
1855
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -1872,7 +1872,7 @@ function Qt() {
|
|
1872
1872
|
"dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
|
1873
1873
|
};
|
1874
1874
|
}
|
1875
|
-
const
|
1875
|
+
const Ti = Qt, en = new q("auth", "Firebase", Qt());
|
1876
1876
|
/**
|
1877
1877
|
* @license
|
1878
1878
|
* Copyright 2020 Google LLC
|
@@ -1890,7 +1890,7 @@ const wi = Qt, en = new q("auth", "Firebase", Qt());
|
|
1890
1890
|
* limitations under the License.
|
1891
1891
|
*/
|
1892
1892
|
const he = new Zt("@firebase/auth");
|
1893
|
-
function
|
1893
|
+
function wi(n, ...e) {
|
1894
1894
|
he.logLevel <= h.WARN && he.warn(`Auth (${ee}): ${n}`, ...e);
|
1895
1895
|
}
|
1896
1896
|
function se(n, ...e) {
|
@@ -1912,14 +1912,14 @@ function se(n, ...e) {
|
|
1912
1912
|
* See the License for the specific language governing permissions and
|
1913
1913
|
* limitations under the License.
|
1914
1914
|
*/
|
1915
|
-
function
|
1915
|
+
function w(n, ...e) {
|
1916
1916
|
throw Je(n, ...e);
|
1917
1917
|
}
|
1918
1918
|
function _(n, ...e) {
|
1919
1919
|
return Je(n, ...e);
|
1920
1920
|
}
|
1921
1921
|
function tn(n, e, t) {
|
1922
|
-
const r = Object.assign(Object.assign({},
|
1922
|
+
const r = Object.assign(Object.assign({}, Ti()), { [e]: t });
|
1923
1923
|
return new q("auth", "Firebase", r).create(e, {
|
1924
1924
|
appName: n.name
|
1925
1925
|
});
|
@@ -1961,7 +1961,7 @@ function R(n, e) {
|
|
1961
1961
|
* See the License for the specific language governing permissions and
|
1962
1962
|
* limitations under the License.
|
1963
1963
|
*/
|
1964
|
-
function
|
1964
|
+
function xe() {
|
1965
1965
|
var n;
|
1966
1966
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
1967
1967
|
}
|
@@ -1996,7 +1996,7 @@ function ki() {
|
|
1996
1996
|
// defines navigator.connection.
|
1997
1997
|
(Ri() || tr() || "connection" in navigator) ? navigator.onLine : !0;
|
1998
1998
|
}
|
1999
|
-
function
|
1999
|
+
function Si() {
|
2000
2000
|
if (typeof navigator > "u")
|
2001
2001
|
return null;
|
2002
2002
|
const n = navigator;
|
@@ -2048,7 +2048,7 @@ class te {
|
|
2048
2048
|
* See the License for the specific language governing permissions and
|
2049
2049
|
* limitations under the License.
|
2050
2050
|
*/
|
2051
|
-
function
|
2051
|
+
function Xe(n, e) {
|
2052
2052
|
R(n.emulator, "Emulator should always be set here");
|
2053
2053
|
const { url: t } = n.emulator;
|
2054
2054
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2123,7 +2123,7 @@ class nn {
|
|
2123
2123
|
* See the License for the specific language governing permissions and
|
2124
2124
|
* limitations under the License.
|
2125
2125
|
*/
|
2126
|
-
const
|
2126
|
+
const Ai = {
|
2127
2127
|
// Custom token errors.
|
2128
2128
|
CREDENTIAL_MISMATCH: "custom-token-mismatch",
|
2129
2129
|
// This can only happen if the SDK sends a bad request.
|
@@ -2241,7 +2241,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2241
2241
|
}
|
2242
2242
|
async function rn(n, e, t) {
|
2243
2243
|
n._canInitEmulator = !1;
|
2244
|
-
const r = Object.assign(Object.assign({},
|
2244
|
+
const r = Object.assign(Object.assign({}, Ai), e);
|
2245
2245
|
try {
|
2246
2246
|
const i = new Ci(n), s = await Promise.race([
|
2247
2247
|
t(),
|
@@ -2264,23 +2264,23 @@ async function rn(n, e, t) {
|
|
2264
2264
|
const u = r[c] || c.toLowerCase().replace(/[_\s]+/g, "-");
|
2265
2265
|
if (l)
|
2266
2266
|
throw tn(n, u, l);
|
2267
|
-
|
2267
|
+
w(n, u);
|
2268
2268
|
}
|
2269
2269
|
} catch (i) {
|
2270
2270
|
if (i instanceof M)
|
2271
2271
|
throw i;
|
2272
|
-
|
2272
|
+
w(n, "network-request-failed", { message: String(i) });
|
2273
2273
|
}
|
2274
2274
|
}
|
2275
2275
|
async function sn(n, e, t, r, i = {}) {
|
2276
2276
|
const s = await Z(n, e, t, r, i);
|
2277
|
-
return "mfaPendingCredential" in s &&
|
2277
|
+
return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
|
2278
2278
|
_serverResponse: s
|
2279
2279
|
}), s;
|
2280
2280
|
}
|
2281
2281
|
function on(n, e, t, r) {
|
2282
2282
|
const i = `${e}${t}?${r}`;
|
2283
|
-
return n.config.emulator ?
|
2283
|
+
return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2284
2284
|
}
|
2285
2285
|
class Ci {
|
2286
2286
|
constructor(e) {
|
@@ -2352,7 +2352,7 @@ function J(n) {
|
|
2352
2352
|
}
|
2353
2353
|
}
|
2354
2354
|
async function Di(n, e = !1) {
|
2355
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2355
|
+
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2356
2356
|
d(
|
2357
2357
|
i && i.exp && i.auth_time && i.iat,
|
2358
2358
|
t.auth,
|
@@ -2373,19 +2373,19 @@ async function Di(n, e = !1) {
|
|
2373
2373
|
function Ce(n) {
|
2374
2374
|
return Number(n) * 1e3;
|
2375
2375
|
}
|
2376
|
-
function
|
2376
|
+
function Ye(n) {
|
2377
2377
|
const [e, t, r] = n.split(".");
|
2378
2378
|
if (e === void 0 || t === void 0 || r === void 0)
|
2379
2379
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2380
2380
|
try {
|
2381
|
-
const i =
|
2381
|
+
const i = Vt(t);
|
2382
2382
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2383
2383
|
} catch (i) {
|
2384
2384
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2385
2385
|
}
|
2386
2386
|
}
|
2387
2387
|
function It(n) {
|
2388
|
-
const e =
|
2388
|
+
const e = Ye(n);
|
2389
2389
|
return d(
|
2390
2390
|
e,
|
2391
2391
|
"internal-error"
|
@@ -2506,7 +2506,7 @@ class Mi {
|
|
2506
2506
|
* See the License for the specific language governing permissions and
|
2507
2507
|
* limitations under the License.
|
2508
2508
|
*/
|
2509
|
-
class
|
2509
|
+
class He {
|
2510
2510
|
constructor(e, t) {
|
2511
2511
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2512
2512
|
}
|
@@ -2559,7 +2559,7 @@ async function pe(n) {
|
|
2559
2559
|
phoneNumber: s.phoneNumber || null,
|
2560
2560
|
tenantId: s.tenantId || null,
|
2561
2561
|
providerData: a,
|
2562
|
-
metadata: new
|
2562
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2563
2563
|
isAnonymous: u
|
2564
2564
|
};
|
2565
2565
|
Object.assign(n, p);
|
@@ -2640,7 +2640,7 @@ async function Fi(n, e) {
|
|
2640
2640
|
* See the License for the specific language governing permissions and
|
2641
2641
|
* limitations under the License.
|
2642
2642
|
*/
|
2643
|
-
class
|
2643
|
+
class G {
|
2644
2644
|
constructor() {
|
2645
2645
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2646
2646
|
}
|
@@ -2692,7 +2692,7 @@ class j {
|
|
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, o = new
|
2695
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new G();
|
2696
2696
|
return r && (d(typeof r == "string", "internal-error", {
|
2697
2697
|
appName: e
|
2698
2698
|
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
@@ -2712,7 +2712,7 @@ class j {
|
|
2712
2712
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
2713
2713
|
}
|
2714
2714
|
_clone() {
|
2715
|
-
return Object.assign(new
|
2715
|
+
return Object.assign(new G(), this.toJSON());
|
2716
2716
|
}
|
2717
2717
|
_performRefresh() {
|
2718
2718
|
return b("not implemented");
|
@@ -2740,7 +2740,7 @@ function k(n, e) {
|
|
2740
2740
|
class y {
|
2741
2741
|
constructor(e) {
|
2742
2742
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
|
2743
|
-
this.providerId = "firebase", this.proactiveRefresh = new Mi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
2743
|
+
this.providerId = "firebase", this.proactiveRefresh = new Mi(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
2744
2744
|
}
|
2745
2745
|
async getIdToken(e) {
|
2746
2746
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -2822,14 +2822,14 @@ class y {
|
|
2822
2822
|
}
|
2823
2823
|
static _fromJSON(e, t) {
|
2824
2824
|
var r, i, s, o, a, c, l, u;
|
2825
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData:
|
2825
|
+
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: ot } = t;
|
2826
2826
|
d(
|
2827
2827
|
Ee && ot,
|
2828
2828
|
e,
|
2829
2829
|
"internal-error"
|
2830
2830
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2831
2831
|
);
|
2832
|
-
const Pn =
|
2832
|
+
const Pn = G.fromJSON(this.name, ot);
|
2833
2833
|
d(
|
2834
2834
|
typeof Ee == "string",
|
2835
2835
|
e,
|
@@ -2846,7 +2846,7 @@ class y {
|
|
2846
2846
|
"internal-error"
|
2847
2847
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2848
2848
|
), k(v, e.name), k(F, e.name), k(tt, e.name), k(ye, e.name), k(nt, e.name), k(rt, e.name);
|
2849
|
-
const
|
2849
|
+
const we = new y({
|
2850
2850
|
uid: Ee,
|
2851
2851
|
auth: e,
|
2852
2852
|
email: m,
|
@@ -2860,7 +2860,7 @@ class y {
|
|
2860
2860
|
createdAt: nt,
|
2861
2861
|
lastLoginAt: rt
|
2862
2862
|
});
|
2863
|
-
return
|
2863
|
+
return Te && Array.isArray(Te) && (we.providerData = Te.map((Mn) => Object.assign({}, Mn))), ye && (we._redirectEventId = ye), we;
|
2864
2864
|
}
|
2865
2865
|
/**
|
2866
2866
|
* Initialize a User from an idToken server response
|
@@ -2868,7 +2868,7 @@ class y {
|
|
2868
2868
|
* @param idTokenResponse
|
2869
2869
|
*/
|
2870
2870
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
2871
|
-
const i = new
|
2871
|
+
const i = new G();
|
2872
2872
|
i.updateFromServerResponse(t);
|
2873
2873
|
const s = new y({
|
2874
2874
|
uid: t.localId,
|
@@ -2890,7 +2890,7 @@ class y {
|
|
2890
2890
|
"internal-error"
|
2891
2891
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2892
2892
|
);
|
2893
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new
|
2893
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new G();
|
2894
2894
|
a.updateFromIdToken(r);
|
2895
2895
|
const c = new y({
|
2896
2896
|
uid: i.localId,
|
@@ -2906,7 +2906,7 @@ class y {
|
|
2906
2906
|
phoneNumber: i.phoneNumber || null,
|
2907
2907
|
tenantId: i.tenantId || null,
|
2908
2908
|
providerData: s,
|
2909
|
-
metadata: new
|
2909
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
2910
2910
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
2911
2911
|
};
|
2912
2912
|
return Object.assign(c, l), c;
|
@@ -2993,7 +2993,7 @@ const yt = ln;
|
|
2993
2993
|
function oe(n, e, t) {
|
2994
2994
|
return `firebase:${n}:${e}:${t}`;
|
2995
2995
|
}
|
2996
|
-
class
|
2996
|
+
class V {
|
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;
|
@@ -3024,7 +3024,7 @@ class x {
|
|
3024
3024
|
}
|
3025
3025
|
static async create(e, t, r = "authUser") {
|
3026
3026
|
if (!t.length)
|
3027
|
-
return new
|
3027
|
+
return new V(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;
|
@@ -3043,13 +3043,13 @@ class x {
|
|
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 V(s, e, r) : (s = c[0], a && await s._set(o, a.toJSON()), await Promise.all(t.map(async (l) => {
|
3047
3047
|
if (l !== s)
|
3048
3048
|
try {
|
3049
3049
|
await l._remove(o);
|
3050
3050
|
} catch {
|
3051
3051
|
}
|
3052
|
-
})), new
|
3052
|
+
})), new V(s, e, r));
|
3053
3053
|
}
|
3054
3054
|
}
|
3055
3055
|
/**
|
@@ -3124,11 +3124,11 @@ function _n(n = f()) {
|
|
3124
3124
|
function Ke(n = f()) {
|
3125
3125
|
return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
|
3126
3126
|
}
|
3127
|
-
function
|
3127
|
+
function xi(n = f()) {
|
3128
3128
|
var e;
|
3129
3129
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3130
3130
|
}
|
3131
|
-
function
|
3131
|
+
function Hi() {
|
3132
3132
|
return rr() && document.documentMode === 10;
|
3133
3133
|
}
|
3134
3134
|
function gn(n = f()) {
|
@@ -3181,7 +3181,7 @@ function vn(n, e = []) {
|
|
3181
3181
|
* See the License for the specific language governing permissions and
|
3182
3182
|
* limitations under the License.
|
3183
3183
|
*/
|
3184
|
-
class
|
3184
|
+
class Gi {
|
3185
3185
|
constructor(e) {
|
3186
3186
|
this.auth = e, this.queue = [];
|
3187
3187
|
}
|
@@ -3236,7 +3236,7 @@ class ji {
|
|
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 Vi(n, e = {}) {
|
3240
3240
|
return Z(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3241
3241
|
}
|
3242
3242
|
/**
|
@@ -3255,12 +3255,12 @@ async function xi(n, e = {}) {
|
|
3255
3255
|
* See the License for the specific language governing permissions and
|
3256
3256
|
* limitations under the License.
|
3257
3257
|
*/
|
3258
|
-
const
|
3258
|
+
const ji = 6;
|
3259
3259
|
class Wi {
|
3260
3260
|
constructor(e) {
|
3261
3261
|
var t, r, i, s;
|
3262
3262
|
const o = e.customStrengthOptions;
|
3263
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t :
|
3263
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : ji, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
|
3264
3264
|
}
|
3265
3265
|
validatePassword(e) {
|
3266
3266
|
var t, r, i, s, o, a;
|
@@ -3345,12 +3345,12 @@ class Wi {
|
|
3345
3345
|
*/
|
3346
3346
|
class zi {
|
3347
3347
|
constructor(e, t, r, i) {
|
3348
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new
|
3348
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Gi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3349
3349
|
}
|
3350
3350
|
_initializeWithPersistence(e, t) {
|
3351
3351
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3352
3352
|
var r, i;
|
3353
|
-
if (!this._deleted && (this.persistenceManager = await
|
3353
|
+
if (!this._deleted && (this.persistenceManager = await V.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);
|
@@ -3439,7 +3439,7 @@ class zi {
|
|
3439
3439
|
return this.directlySetCurrentUser(e);
|
3440
3440
|
}
|
3441
3441
|
useDeviceLanguage() {
|
3442
|
-
this.languageCode =
|
3442
|
+
this.languageCode = Si();
|
3443
3443
|
}
|
3444
3444
|
async _delete() {
|
3445
3445
|
this._deleted = !0;
|
@@ -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 Vi(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 V.create(
|
3558
3558
|
this,
|
3559
3559
|
[E(t._redirectPersistence)],
|
3560
3560
|
"redirectUser"
|
@@ -3673,13 +3673,13 @@ class zi {
|
|
3673
3673
|
async _getAppCheckToken() {
|
3674
3674
|
var e;
|
3675
3675
|
const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
|
3676
|
-
return t != null && t.error &&
|
3676
|
+
return t != null && t.error && wi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3677
3677
|
}
|
3678
3678
|
}
|
3679
3679
|
function ve(n) {
|
3680
3680
|
return z(n);
|
3681
3681
|
}
|
3682
|
-
class
|
3682
|
+
class Tt {
|
3683
3683
|
constructor(e) {
|
3684
3684
|
this.auth = e, this.observer = null, this.addObserver = dr((t) => this.observer = t);
|
3685
3685
|
}
|
@@ -3725,7 +3725,7 @@ function $i(n) {
|
|
3725
3725
|
function Ji() {
|
3726
3726
|
return qe.gapiScript;
|
3727
3727
|
}
|
3728
|
-
function
|
3728
|
+
function Xi(n) {
|
3729
3729
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
3730
3730
|
}
|
3731
3731
|
/**
|
@@ -3744,13 +3744,13 @@ function Yi(n) {
|
|
3744
3744
|
* See the License for the specific language governing permissions and
|
3745
3745
|
* limitations under the License.
|
3746
3746
|
*/
|
3747
|
-
function
|
3748
|
-
const t =
|
3747
|
+
function Yi(n, e) {
|
3748
|
+
const t = Xt(n, "auth");
|
3749
3749
|
if (t.isInitialized()) {
|
3750
3750
|
const i = t.getImmediate(), s = t.getOptions();
|
3751
3751
|
if (de(s, e ?? {}))
|
3752
3752
|
return i;
|
3753
|
-
|
3753
|
+
w(
|
3754
3754
|
i,
|
3755
3755
|
"already-initialized"
|
3756
3756
|
/* AuthErrorCode.ALREADY_INITIALIZED */
|
@@ -3794,13 +3794,13 @@ function Qi(n) {
|
|
3794
3794
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
3795
3795
|
if (i) {
|
3796
3796
|
const s = i[1];
|
3797
|
-
return { host: s, port:
|
3797
|
+
return { host: s, port: wt(r.substr(s.length + 1)) };
|
3798
3798
|
} else {
|
3799
3799
|
const [s, o] = r.split(":");
|
3800
|
-
return { host: s, port:
|
3800
|
+
return { host: s, port: wt(o) };
|
3801
3801
|
}
|
3802
3802
|
}
|
3803
|
-
function
|
3803
|
+
function wt(n) {
|
3804
3804
|
if (!n)
|
3805
3805
|
return null;
|
3806
3806
|
const e = Number(n);
|
@@ -3871,7 +3871,7 @@ class bn {
|
|
3871
3871
|
* See the License for the specific language governing permissions and
|
3872
3872
|
* limitations under the License.
|
3873
3873
|
*/
|
3874
|
-
async function
|
3874
|
+
async function j(n, e) {
|
3875
3875
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ge(n, e));
|
3876
3876
|
}
|
3877
3877
|
/**
|
@@ -3898,7 +3898,7 @@ class U extends bn {
|
|
3898
3898
|
/** @internal */
|
3899
3899
|
static _fromParams(e) {
|
3900
3900
|
const t = new U(e.providerId, e.signInMethod);
|
3901
|
-
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) :
|
3901
|
+
return e.idToken || e.accessToken ? (e.idToken && (t.idToken = e.idToken), e.accessToken && (t.accessToken = e.accessToken), e.nonce && !e.pendingToken && (t.nonce = e.nonce), e.pendingToken && (t.pendingToken = e.pendingToken)) : e.oauthToken && e.oauthTokenSecret ? (t.accessToken = e.oauthToken, t.secret = e.oauthTokenSecret) : w(
|
3902
3902
|
"argument-error"
|
3903
3903
|
/* AuthErrorCode.ARGUMENT_ERROR */
|
3904
3904
|
), t;
|
@@ -3934,17 +3934,17 @@ class U extends bn {
|
|
3934
3934
|
/** @internal */
|
3935
3935
|
_getIdTokenResponse(e) {
|
3936
3936
|
const t = this.buildRequest();
|
3937
|
-
return
|
3937
|
+
return j(e, t);
|
3938
3938
|
}
|
3939
3939
|
/** @internal */
|
3940
3940
|
_linkToIdToken(e, t) {
|
3941
3941
|
const r = this.buildRequest();
|
3942
|
-
return r.idToken = t,
|
3942
|
+
return r.idToken = t, j(e, r);
|
3943
3943
|
}
|
3944
3944
|
/** @internal */
|
3945
3945
|
_getReauthenticationResolver(e) {
|
3946
3946
|
const t = this.buildRequest();
|
3947
|
-
return t.autoCreate = !1,
|
3947
|
+
return t.autoCreate = !1, j(e, t);
|
3948
3948
|
}
|
3949
3949
|
buildRequest() {
|
3950
3950
|
const e = {
|
@@ -4064,7 +4064,7 @@ class ne extends yn {
|
|
4064
4064
|
* See the License for the specific language governing permissions and
|
4065
4065
|
* limitations under the License.
|
4066
4066
|
*/
|
4067
|
-
class
|
4067
|
+
class S extends ne {
|
4068
4068
|
constructor() {
|
4069
4069
|
super(
|
4070
4070
|
"facebook.com"
|
@@ -4085,8 +4085,8 @@ class A extends ne {
|
|
4085
4085
|
*/
|
4086
4086
|
static credential(e) {
|
4087
4087
|
return U._fromParams({
|
4088
|
-
providerId:
|
4089
|
-
signInMethod:
|
4088
|
+
providerId: S.PROVIDER_ID,
|
4089
|
+
signInMethod: S.FACEBOOK_SIGN_IN_METHOD,
|
4090
4090
|
accessToken: e
|
4091
4091
|
});
|
4092
4092
|
}
|
@@ -4096,7 +4096,7 @@ class A extends ne {
|
|
4096
4096
|
* @param userCredential - The user credential.
|
4097
4097
|
*/
|
4098
4098
|
static credentialFromResult(e) {
|
4099
|
-
return
|
4099
|
+
return S.credentialFromTaggedObject(e);
|
4100
4100
|
}
|
4101
4101
|
/**
|
4102
4102
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4105,20 +4105,20 @@ class A extends ne {
|
|
4105
4105
|
* @param userCredential - The user credential.
|
4106
4106
|
*/
|
4107
4107
|
static credentialFromError(e) {
|
4108
|
-
return
|
4108
|
+
return S.credentialFromTaggedObject(e.customData || {});
|
4109
4109
|
}
|
4110
4110
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4111
4111
|
if (!e || !("oauthAccessToken" in e) || !e.oauthAccessToken)
|
4112
4112
|
return null;
|
4113
4113
|
try {
|
4114
|
-
return
|
4114
|
+
return S.credential(e.oauthAccessToken);
|
4115
4115
|
} catch {
|
4116
4116
|
return null;
|
4117
4117
|
}
|
4118
4118
|
}
|
4119
4119
|
}
|
4120
|
-
|
4121
|
-
|
4120
|
+
S.FACEBOOK_SIGN_IN_METHOD = "facebook.com";
|
4121
|
+
S.PROVIDER_ID = "facebook.com";
|
4122
4122
|
/**
|
4123
4123
|
* @license
|
4124
4124
|
* Copyright 2020 Google LLC
|
@@ -4135,7 +4135,7 @@ A.PROVIDER_ID = "facebook.com";
|
|
4135
4135
|
* See the License for the specific language governing permissions and
|
4136
4136
|
* limitations under the License.
|
4137
4137
|
*/
|
4138
|
-
class
|
4138
|
+
class A extends ne {
|
4139
4139
|
constructor() {
|
4140
4140
|
super(
|
4141
4141
|
"google.com"
|
@@ -4157,8 +4157,8 @@ class S extends ne {
|
|
4157
4157
|
*/
|
4158
4158
|
static credential(e, t) {
|
4159
4159
|
return U._fromParams({
|
4160
|
-
providerId:
|
4161
|
-
signInMethod:
|
4160
|
+
providerId: A.PROVIDER_ID,
|
4161
|
+
signInMethod: A.GOOGLE_SIGN_IN_METHOD,
|
4162
4162
|
idToken: e,
|
4163
4163
|
accessToken: t
|
4164
4164
|
});
|
@@ -4169,7 +4169,7 @@ class S extends ne {
|
|
4169
4169
|
* @param userCredential - The user credential.
|
4170
4170
|
*/
|
4171
4171
|
static credentialFromResult(e) {
|
4172
|
-
return
|
4172
|
+
return A.credentialFromTaggedObject(e);
|
4173
4173
|
}
|
4174
4174
|
/**
|
4175
4175
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4178,7 +4178,7 @@ class S extends ne {
|
|
4178
4178
|
* @param userCredential - The user credential.
|
4179
4179
|
*/
|
4180
4180
|
static credentialFromError(e) {
|
4181
|
-
return
|
4181
|
+
return A.credentialFromTaggedObject(e.customData || {});
|
4182
4182
|
}
|
4183
4183
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4184
4184
|
if (!e)
|
@@ -4187,14 +4187,14 @@ class S extends ne {
|
|
4187
4187
|
if (!t && !r)
|
4188
4188
|
return null;
|
4189
4189
|
try {
|
4190
|
-
return
|
4190
|
+
return A.credential(t, r);
|
4191
4191
|
} catch {
|
4192
4192
|
return null;
|
4193
4193
|
}
|
4194
4194
|
}
|
4195
4195
|
}
|
4196
|
-
|
4197
|
-
|
4196
|
+
A.GOOGLE_SIGN_IN_METHOD = "google.com";
|
4197
|
+
A.PROVIDER_ID = "google.com";
|
4198
4198
|
/**
|
4199
4199
|
* @license
|
4200
4200
|
* Copyright 2020 Google LLC
|
@@ -4443,7 +4443,7 @@ async function rs(n, e, t = !1) {
|
|
4443
4443
|
"internal-error"
|
4444
4444
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4445
4445
|
);
|
4446
|
-
const o =
|
4446
|
+
const o = Ye(s.idToken);
|
4447
4447
|
d(
|
4448
4448
|
o,
|
4449
4449
|
r,
|
@@ -4458,7 +4458,7 @@ async function rs(n, e, t = !1) {
|
|
4458
4458
|
/* AuthErrorCode.USER_MISMATCH */
|
4459
4459
|
), B._forOperation(n, i, s);
|
4460
4460
|
} catch (s) {
|
4461
|
-
throw (s == null ? void 0 : s.code) === "auth/user-not-found" &&
|
4461
|
+
throw (s == null ? void 0 : s.code) === "auth/user-not-found" && w(
|
4462
4462
|
r,
|
4463
4463
|
"user-mismatch"
|
4464
4464
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4554,7 +4554,7 @@ const me = "__sak";
|
|
4554
4554
|
* See the License for the specific language governing permissions and
|
4555
4555
|
* limitations under the License.
|
4556
4556
|
*/
|
4557
|
-
class
|
4557
|
+
class Tn {
|
4558
4558
|
constructor(e, t) {
|
4559
4559
|
this.storageRetriever = e, this.type = t;
|
4560
4560
|
}
|
@@ -4596,7 +4596,7 @@ class wn {
|
|
4596
4596
|
* limitations under the License.
|
4597
4597
|
*/
|
4598
4598
|
const ls = 1e3, ds = 10;
|
4599
|
-
class
|
4599
|
+
class wn extends Tn {
|
4600
4600
|
constructor() {
|
4601
4601
|
super(
|
4602
4602
|
() => window.localStorage,
|
@@ -4623,7 +4623,7 @@ class Tn extends wn {
|
|
4623
4623
|
const o = this.storage.getItem(r);
|
4624
4624
|
!t && this.localCache[r] === o || this.notifyListeners(r, o);
|
4625
4625
|
}, s = this.storage.getItem(r);
|
4626
|
-
|
4626
|
+
Hi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ds) : i();
|
4627
4627
|
}
|
4628
4628
|
notifyListeners(e, t) {
|
4629
4629
|
this.localCache[e] = t;
|
@@ -4674,8 +4674,8 @@ class Tn extends wn {
|
|
4674
4674
|
await super._remove(e), delete this.localCache[e];
|
4675
4675
|
}
|
4676
4676
|
}
|
4677
|
-
|
4678
|
-
const us =
|
4677
|
+
wn.type = "LOCAL";
|
4678
|
+
const us = wn;
|
4679
4679
|
/**
|
4680
4680
|
* @license
|
4681
4681
|
* Copyright 2020 Google LLC
|
@@ -4692,7 +4692,7 @@ const us = Tn;
|
|
4692
4692
|
* See the License for the specific language governing permissions and
|
4693
4693
|
* limitations under the License.
|
4694
4694
|
*/
|
4695
|
-
class Rn extends
|
4695
|
+
class Rn extends Tn {
|
4696
4696
|
constructor() {
|
4697
4697
|
super(
|
4698
4698
|
() => window.sessionStorage,
|
@@ -4980,7 +4980,7 @@ function fs(n) {
|
|
4980
4980
|
* See the License for the specific language governing permissions and
|
4981
4981
|
* limitations under the License.
|
4982
4982
|
*/
|
4983
|
-
function
|
4983
|
+
function Sn() {
|
4984
4984
|
return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
|
4985
4985
|
}
|
4986
4986
|
async function ms() {
|
@@ -4997,7 +4997,7 @@ function _s() {
|
|
4997
4997
|
return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
|
4998
4998
|
}
|
4999
4999
|
function gs() {
|
5000
|
-
return
|
5000
|
+
return Sn() ? self : null;
|
5001
5001
|
}
|
5002
5002
|
/**
|
5003
5003
|
* @license
|
@@ -5015,7 +5015,7 @@ function gs() {
|
|
5015
5015
|
* See the License for the specific language governing permissions and
|
5016
5016
|
* limitations under the License.
|
5017
5017
|
*/
|
5018
|
-
const
|
5018
|
+
const An = "firebaseLocalStorageDb", vs = 1, _e = "firebaseLocalStorage", On = "fbase_key";
|
5019
5019
|
class re {
|
5020
5020
|
constructor(e) {
|
5021
5021
|
this.request = e;
|
@@ -5034,11 +5034,11 @@ function be(n, e) {
|
|
5034
5034
|
return n.transaction([_e], e ? "readwrite" : "readonly").objectStore(_e);
|
5035
5035
|
}
|
5036
5036
|
function Is() {
|
5037
|
-
const n = indexedDB.deleteDatabase(
|
5037
|
+
const n = indexedDB.deleteDatabase(An);
|
5038
5038
|
return new re(n).toPromise();
|
5039
5039
|
}
|
5040
|
-
function
|
5041
|
-
const n = indexedDB.open(
|
5040
|
+
function Ge() {
|
5041
|
+
const n = indexedDB.open(An, vs);
|
5042
5042
|
return new Promise((e, t) => {
|
5043
5043
|
n.addEventListener("error", () => {
|
5044
5044
|
t(n.error);
|
@@ -5051,7 +5051,7 @@ function je() {
|
|
5051
5051
|
}
|
5052
5052
|
}), n.addEventListener("success", async () => {
|
5053
5053
|
const r = n.result;
|
5054
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Is(), e(await
|
5054
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await Is(), e(await Ge()));
|
5055
5055
|
});
|
5056
5056
|
});
|
5057
5057
|
}
|
@@ -5066,7 +5066,7 @@ async function bs(n, e) {
|
|
5066
5066
|
const t = be(n, !1).get(e), r = await new re(t).toPromise();
|
5067
5067
|
return r === void 0 ? null : r.value;
|
5068
5068
|
}
|
5069
|
-
function
|
5069
|
+
function St(n, e) {
|
5070
5070
|
const t = be(n, !0).delete(e);
|
5071
5071
|
return new re(t).toPromise();
|
5072
5072
|
}
|
@@ -5078,7 +5078,7 @@ class Cn {
|
|
5078
5078
|
});
|
5079
5079
|
}
|
5080
5080
|
async _openDb() {
|
5081
|
-
return this.db ? this.db : (this.db = await
|
5081
|
+
return this.db ? this.db : (this.db = await Ge(), this.db);
|
5082
5082
|
}
|
5083
5083
|
async _withRetries(e) {
|
5084
5084
|
let t = 0;
|
@@ -5097,7 +5097,7 @@ class Cn {
|
|
5097
5097
|
* postMessage interface to send these events to the worker ourselves.
|
5098
5098
|
*/
|
5099
5099
|
async initializeServiceWorkerMessaging() {
|
5100
|
-
return
|
5100
|
+
return Sn() ? this.initializeReceiver() : this.initializeSender();
|
5101
5101
|
}
|
5102
5102
|
/**
|
5103
5103
|
* As the worker we should listen to events from the main window.
|
@@ -5159,8 +5159,8 @@ class Cn {
|
|
5159
5159
|
try {
|
5160
5160
|
if (!indexedDB)
|
5161
5161
|
return !1;
|
5162
|
-
const e = await
|
5163
|
-
return await kt(e, me, "1"), await
|
5162
|
+
const e = await Ge();
|
5163
|
+
return await kt(e, me, "1"), await St(e, me), !0;
|
5164
5164
|
} catch {
|
5165
5165
|
}
|
5166
5166
|
return !1;
|
@@ -5181,7 +5181,7 @@ class Cn {
|
|
5181
5181
|
return this.localCache[e] = t, t;
|
5182
5182
|
}
|
5183
5183
|
async _remove(e) {
|
5184
|
-
return this._withPendingWrite(async () => (await this._withRetries((t) =>
|
5184
|
+
return this._withPendingWrite(async () => (await this._withRetries((t) => St(t, e)), delete this.localCache[e], this.notifyServiceWorker(e)));
|
5185
5185
|
}
|
5186
5186
|
async _poll() {
|
5187
5187
|
const e = await this._withRetries((i) => {
|
@@ -5221,7 +5221,7 @@ class Cn {
|
|
5221
5221
|
}
|
5222
5222
|
}
|
5223
5223
|
Cn.type = "LOCAL";
|
5224
|
-
const
|
5224
|
+
const Ts = Cn;
|
5225
5225
|
new te(3e4, 6e4);
|
5226
5226
|
/**
|
5227
5227
|
* @license
|
@@ -5239,7 +5239,7 @@ new te(3e4, 6e4);
|
|
5239
5239
|
* See the License for the specific language governing permissions and
|
5240
5240
|
* limitations under the License.
|
5241
5241
|
*/
|
5242
|
-
function
|
5242
|
+
function ws(n, e) {
|
5243
5243
|
return e ? E(e) : (d(
|
5244
5244
|
n._popupRedirectResolver,
|
5245
5245
|
n,
|
@@ -5272,13 +5272,13 @@ class et extends bn {
|
|
5272
5272
|
), this.params = e;
|
5273
5273
|
}
|
5274
5274
|
_getIdTokenResponse(e) {
|
5275
|
-
return
|
5275
|
+
return j(e, this._buildIdpRequest());
|
5276
5276
|
}
|
5277
5277
|
_linkToIdToken(e, t) {
|
5278
|
-
return
|
5278
|
+
return j(e, this._buildIdpRequest(t));
|
5279
5279
|
}
|
5280
5280
|
_getReauthenticationResolver(e) {
|
5281
|
-
return
|
5281
|
+
return j(e, this._buildIdpRequest());
|
5282
5282
|
}
|
5283
5283
|
_buildIdpRequest(e) {
|
5284
5284
|
const t = {
|
@@ -5305,7 +5305,7 @@ function ks(n) {
|
|
5305
5305
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5306
5306
|
), rs(t, new et(n), n.bypassAuthState);
|
5307
5307
|
}
|
5308
|
-
async function
|
5308
|
+
async function Ss(n) {
|
5309
5309
|
const { auth: e, user: t } = n;
|
5310
5310
|
return d(
|
5311
5311
|
t,
|
@@ -5375,12 +5375,12 @@ class Nn {
|
|
5375
5375
|
return Rs;
|
5376
5376
|
case "linkViaPopup":
|
5377
5377
|
case "linkViaRedirect":
|
5378
|
-
return
|
5378
|
+
return Ss;
|
5379
5379
|
case "reauthViaPopup":
|
5380
5380
|
case "reauthViaRedirect":
|
5381
5381
|
return ks;
|
5382
5382
|
default:
|
5383
|
-
|
5383
|
+
w(
|
5384
5384
|
this.auth,
|
5385
5385
|
"internal-error"
|
5386
5386
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -5413,10 +5413,10 @@ class Nn {
|
|
5413
5413
|
* See the License for the specific language governing permissions and
|
5414
5414
|
* limitations under the License.
|
5415
5415
|
*/
|
5416
|
-
const
|
5417
|
-
class
|
5416
|
+
const As = new te(2e3, 1e4);
|
5417
|
+
class x extends Nn {
|
5418
5418
|
constructor(e, t, r, i, s) {
|
5419
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5419
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
|
5420
5420
|
}
|
5421
5421
|
async executeNotNull() {
|
5422
5422
|
const e = await this.execute();
|
@@ -5458,7 +5458,7 @@ class H extends Nn {
|
|
5458
5458
|
));
|
5459
5459
|
}
|
5460
5460
|
cleanUp() {
|
5461
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5461
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
|
5462
5462
|
}
|
5463
5463
|
pollUserCancellation() {
|
5464
5464
|
const e = () => {
|
@@ -5477,12 +5477,12 @@ class H extends Nn {
|
|
5477
5477
|
);
|
5478
5478
|
return;
|
5479
5479
|
}
|
5480
|
-
this.pollId = window.setTimeout(e,
|
5480
|
+
this.pollId = window.setTimeout(e, As.get());
|
5481
5481
|
};
|
5482
5482
|
e();
|
5483
5483
|
}
|
5484
5484
|
}
|
5485
|
-
|
5485
|
+
x.currentPopupAction = null;
|
5486
5486
|
/**
|
5487
5487
|
* @license
|
5488
5488
|
* Copyright 2020 Google LLC
|
@@ -5565,7 +5565,7 @@ function Ms(n) {
|
|
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 =
|
5568
|
+
const r = ve(n), i = ws(r, e), o = await new Cs(r, i, t).execute();
|
5569
5569
|
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5570
5570
|
}
|
5571
5571
|
/**
|
@@ -5616,13 +5616,13 @@ class Bs {
|
|
5616
5616
|
return t.filter.includes(e.type) && r;
|
5617
5617
|
}
|
5618
5618
|
hasEventBeenHandled(e) {
|
5619
|
-
return Date.now() - this.lastProcessedEventTime >= Us && this.cachedEventUids.clear(), this.cachedEventUids.has(
|
5619
|
+
return Date.now() - this.lastProcessedEventTime >= Us && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
|
5620
5620
|
}
|
5621
5621
|
saveEventToCache(e) {
|
5622
|
-
this.cachedEventUids.add(
|
5622
|
+
this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
|
5623
5623
|
}
|
5624
5624
|
}
|
5625
|
-
function
|
5625
|
+
function At(n) {
|
5626
5626
|
return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
|
5627
5627
|
}
|
5628
5628
|
function Dn({ type: n, error: e }) {
|
@@ -5656,7 +5656,7 @@ function Fs(n) {
|
|
5656
5656
|
* See the License for the specific language governing permissions and
|
5657
5657
|
* limitations under the License.
|
5658
5658
|
*/
|
5659
|
-
async function
|
5659
|
+
async function xs(n, e = {}) {
|
5660
5660
|
return Z(n, "GET", "/v1/projects", e);
|
5661
5661
|
}
|
5662
5662
|
/**
|
@@ -5675,32 +5675,32 @@ async function Hs(n, e = {}) {
|
|
5675
5675
|
* See the License for the specific language governing permissions and
|
5676
5676
|
* limitations under the License.
|
5677
5677
|
*/
|
5678
|
-
const
|
5679
|
-
async function
|
5678
|
+
const Hs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Gs = /^https?/;
|
5679
|
+
async function Vs(n) {
|
5680
5680
|
if (n.config.emulator)
|
5681
5681
|
return;
|
5682
|
-
const { authorizedDomains: e } = await
|
5682
|
+
const { authorizedDomains: e } = await xs(n);
|
5683
5683
|
for (const t of e)
|
5684
5684
|
try {
|
5685
|
-
if (
|
5685
|
+
if (js(t))
|
5686
5686
|
return;
|
5687
5687
|
} catch {
|
5688
5688
|
}
|
5689
|
-
|
5689
|
+
w(
|
5690
5690
|
n,
|
5691
5691
|
"unauthorized-domain"
|
5692
5692
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5693
5693
|
);
|
5694
5694
|
}
|
5695
|
-
function
|
5696
|
-
const e =
|
5695
|
+
function js(n) {
|
5696
|
+
const e = xe(), { protocol: t, hostname: r } = new URL(e);
|
5697
5697
|
if (n.startsWith("chrome-extension://")) {
|
5698
5698
|
const o = new URL(n);
|
5699
5699
|
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5700
5700
|
}
|
5701
|
-
if (!
|
5701
|
+
if (!Gs.test(t))
|
5702
5702
|
return !1;
|
5703
|
-
if (
|
5703
|
+
if (Hs.test(n))
|
5704
5704
|
return r === n;
|
5705
5705
|
const i = n.replace(/\./g, "\\.");
|
5706
5706
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -5754,7 +5754,7 @@ function zs(n) {
|
|
5754
5754
|
else if (!((s = g().gapi) === null || s === void 0) && s.load)
|
5755
5755
|
o();
|
5756
5756
|
else {
|
5757
|
-
const a =
|
5757
|
+
const a = Xi("iframefcb");
|
5758
5758
|
return g()[a] = () => {
|
5759
5759
|
gapi.load ? o() : t(_(
|
5760
5760
|
n,
|
@@ -5787,7 +5787,7 @@ function Zs(n) {
|
|
5787
5787
|
* See the License for the specific language governing permissions and
|
5788
5788
|
* limitations under the License.
|
5789
5789
|
*/
|
5790
|
-
const $s = new te(5e3, 15e3), Js = "__/auth/iframe",
|
5790
|
+
const $s = new te(5e3, 15e3), Js = "__/auth/iframe", Xs = "emulator/auth/iframe", Ys = {
|
5791
5791
|
style: {
|
5792
5792
|
position: "absolute",
|
5793
5793
|
top: "-100px",
|
@@ -5810,7 +5810,7 @@ function qs(n) {
|
|
5810
5810
|
"auth-domain-config-required"
|
5811
5811
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5812
5812
|
);
|
5813
|
-
const t = e.emulator ?
|
5813
|
+
const t = e.emulator ? Xe(e, Xs) : `https://${n.config.authDomain}/${Js}`, r = {
|
5814
5814
|
apiKey: e.apiKey,
|
5815
5815
|
appName: n.name,
|
5816
5816
|
v: ee
|
@@ -5830,7 +5830,7 @@ async function Qs(n) {
|
|
5830
5830
|
where: document.body,
|
5831
5831
|
url: qs(n),
|
5832
5832
|
messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
|
5833
|
-
attributes:
|
5833
|
+
attributes: Ys,
|
5834
5834
|
dontclear: !0
|
5835
5835
|
}, (r) => new Promise(async (i, s) => {
|
5836
5836
|
await r.restyle({
|
@@ -5897,7 +5897,7 @@ function so(n, e, t, r = to, i = no) {
|
|
5897
5897
|
}), l = f().toLowerCase();
|
5898
5898
|
t && (a = hn(l) ? ro : t), dn(l) && (e = e || io, c.scrollbars = "yes");
|
5899
5899
|
const u = Object.entries(c).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
5900
|
-
if (
|
5900
|
+
if (xi(l) && a !== "_self")
|
5901
5901
|
return oo(e || "", a), new Ct(null);
|
5902
5902
|
const p = window.open(e || "", a, u);
|
5903
5903
|
d(
|
@@ -5972,7 +5972,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
5972
5972
|
return `${uo(n)}?${Q(a).slice(1)}${l}`;
|
5973
5973
|
}
|
5974
5974
|
function uo({ config: n }) {
|
5975
|
-
return n.emulator ?
|
5975
|
+
return n.emulator ? Xe(n, co) : `https://${n.authDomain}/${ao}`;
|
5976
5976
|
}
|
5977
5977
|
/**
|
5978
5978
|
* @license
|
@@ -6000,12 +6000,12 @@ 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 o = await Nt(e, t, r,
|
6003
|
+
const o = await Nt(e, t, r, xe(), i);
|
6004
6004
|
return so(e, o, Qe());
|
6005
6005
|
}
|
6006
6006
|
async _openRedirect(e, t, r, i) {
|
6007
6007
|
await this._originValidation(e);
|
6008
|
-
const s = await Nt(e, t, r,
|
6008
|
+
const s = await Nt(e, t, r, xe(), i);
|
6009
6009
|
return fs(s), new Promise(() => {
|
6010
6010
|
});
|
6011
6011
|
}
|
@@ -6036,7 +6036,7 @@ class ho {
|
|
6036
6036
|
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6037
6037
|
var s;
|
6038
6038
|
const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6039
|
-
o !== void 0 && t(!!o),
|
6039
|
+
o !== void 0 && t(!!o), w(
|
6040
6040
|
e,
|
6041
6041
|
"internal-error"
|
6042
6042
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6045,7 +6045,7 @@ 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] = Vs(e)), this.originValidationPromises[t];
|
6049
6049
|
}
|
6050
6050
|
get _shouldInitProactively() {
|
6051
6051
|
return gn() || un() || Ke();
|
@@ -6137,7 +6137,7 @@ function mo(n) {
|
|
6137
6137
|
}
|
6138
6138
|
}
|
6139
6139
|
function _o(n) {
|
6140
|
-
|
6140
|
+
X(new W(
|
6141
6141
|
"auth",
|
6142
6142
|
(e, { options: t }) => {
|
6143
6143
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
|
@@ -6163,7 +6163,7 @@ function _o(n) {
|
|
6163
6163
|
"auth-internal"
|
6164
6164
|
/* _ComponentName.AUTH_INTERNAL */
|
6165
6165
|
).initialize();
|
6166
|
-
})),
|
6166
|
+
})), X(new W(
|
6167
6167
|
"auth-internal",
|
6168
6168
|
(e) => {
|
6169
6169
|
const t = ve(e.getProvider(
|
@@ -6177,7 +6177,7 @@ function _o(n) {
|
|
6177
6177
|
).setInstantiationMode(
|
6178
6178
|
"EXPLICIT"
|
6179
6179
|
/* InstantiationMode.EXPLICIT */
|
6180
|
-
)),
|
6180
|
+
)), H(Dt, Pt, mo(n)), H(Dt, Pt, "esm2017");
|
6181
6181
|
}
|
6182
6182
|
/**
|
6183
6183
|
* @license
|
@@ -6210,13 +6210,13 @@ const Io = (n) => async (e) => {
|
|
6210
6210
|
}));
|
6211
6211
|
};
|
6212
6212
|
function bo(n = ui()) {
|
6213
|
-
const e =
|
6213
|
+
const e = Xt(n, "auth");
|
6214
6214
|
if (e.isInitialized())
|
6215
6215
|
return e.getImmediate();
|
6216
|
-
const t =
|
6216
|
+
const t = Yi(n, {
|
6217
6217
|
popupRedirectResolver: po,
|
6218
6218
|
persistence: [
|
6219
|
-
|
6219
|
+
Ts,
|
6220
6220
|
us,
|
6221
6221
|
kn
|
6222
6222
|
]
|
@@ -6228,7 +6228,7 @@ function bo(n = ui()) {
|
|
6228
6228
|
cs(t, o, () => o(t.currentUser)), as(t, (a) => o(a));
|
6229
6229
|
}
|
6230
6230
|
}
|
6231
|
-
const i =
|
6231
|
+
const i = jt("auth");
|
6232
6232
|
return i && qi(t, `http://${i}`), t;
|
6233
6233
|
}
|
6234
6234
|
function yo() {
|
@@ -6258,7 +6258,7 @@ _o(
|
|
6258
6258
|
);
|
6259
6259
|
const Eo = Ln({
|
6260
6260
|
history: Un(),
|
6261
|
-
routes: [...We, ...
|
6261
|
+
routes: [...We, ...je]
|
6262
6262
|
});
|
6263
6263
|
let De, Pe;
|
6264
6264
|
Eo.beforeEach(async (n) => {
|
@@ -6268,7 +6268,7 @@ Eo.beforeEach(async (n) => {
|
|
6268
6268
|
currentBusiness: r,
|
6269
6269
|
readRestaurants: i,
|
6270
6270
|
changeRestaurant: s
|
6271
|
-
} =
|
6271
|
+
} = Ve();
|
6272
6272
|
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
|
6273
6273
|
const a = $(e, (c) => {
|
6274
6274
|
var l;
|
@@ -6288,10 +6288,10 @@ Eo.beforeEach(async (n) => {
|
|
6288
6288
|
})
|
6289
6289
|
]).then((o) => !0)), Pe) : !0;
|
6290
6290
|
});
|
6291
|
-
const
|
6291
|
+
const To = /* @__PURE__ */ Ut({
|
6292
6292
|
__name: "AppSidebar",
|
6293
6293
|
setup(n) {
|
6294
|
-
const e =
|
6294
|
+
const e = Ve(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6295
6295
|
$(t.currentRoute, () => {
|
6296
6296
|
let a = t.currentRoute.value.name;
|
6297
6297
|
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
@@ -6308,8 +6308,8 @@ const wo = /* @__PURE__ */ Ut({
|
|
6308
6308
|
return t.push({ name: a.name });
|
6309
6309
|
}
|
6310
6310
|
};
|
6311
|
-
return a.meta.sidebarNew && (c.badge = () =>
|
6312
|
-
}).filter((a) => !!a), s =
|
6311
|
+
return a.meta.sidebarNew && (c.badge = () => xn(jn.FmPill, { label: "New" })), c;
|
6312
|
+
}).filter((a) => !!a), s = je.map((a) => {
|
6313
6313
|
var c;
|
6314
6314
|
if ((c = a.meta) != null && c.sidebarDisplay)
|
6315
6315
|
return {
|
@@ -6336,7 +6336,7 @@ const wo = /* @__PURE__ */ Ut({
|
|
6336
6336
|
});
|
6337
6337
|
return (a, c) => {
|
6338
6338
|
const l = Bt("FmCollapsibleTabs");
|
6339
|
-
return Ft(),
|
6339
|
+
return Ft(), xt(l, {
|
6340
6340
|
modelValue: r.value,
|
6341
6341
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
6342
6342
|
items: o.value,
|
@@ -6345,36 +6345,36 @@ const wo = /* @__PURE__ */ Ut({
|
|
6345
6345
|
};
|
6346
6346
|
}
|
6347
6347
|
});
|
6348
|
-
var
|
6348
|
+
var wo = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6349
6349
|
const Do = /* @__PURE__ */ Ut({
|
6350
6350
|
__name: "App",
|
6351
6351
|
setup(n) {
|
6352
|
-
const { state: e } = Wn(), t =
|
6352
|
+
const { state: e } = Wn(), t = Ve(), r = Yt(wo.firebase);
|
6353
6353
|
async function i() {
|
6354
6354
|
const s = t.sessionUser.value;
|
6355
6355
|
if (!s || !s.token) return;
|
6356
6356
|
const o = await s.getCustomToken(), a = bo(r);
|
6357
6357
|
await os(a, o);
|
6358
6358
|
}
|
6359
|
-
return i(), $(t.sessionUser, i),
|
6359
|
+
return i(), $(t.sessionUser, i), Hn(() => {
|
6360
6360
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6361
|
-
}),
|
6362
|
-
t.registerSidebarComponent(
|
6361
|
+
}), Gn(() => {
|
6362
|
+
t.registerSidebarComponent(To);
|
6363
6363
|
}), (s, o) => {
|
6364
6364
|
const a = Bt("RouterView");
|
6365
|
-
return Ft(),
|
6365
|
+
return Ft(), xt(a);
|
6366
6366
|
};
|
6367
6367
|
}
|
6368
6368
|
}), Po = [
|
6369
|
-
...
|
6369
|
+
...je,
|
6370
6370
|
...We
|
6371
6371
|
];
|
6372
6372
|
export {
|
6373
6373
|
W as C,
|
6374
6374
|
M as F,
|
6375
6375
|
ee as S,
|
6376
|
-
|
6377
|
-
|
6376
|
+
X as _,
|
6377
|
+
Xt as a,
|
6378
6378
|
Co as b,
|
6379
6379
|
ui as c,
|
6380
6380
|
No as d,
|
@@ -6382,5 +6382,5 @@ export {
|
|
6382
6382
|
Po as f,
|
6383
6383
|
z as g,
|
6384
6384
|
Do as h,
|
6385
|
-
|
6385
|
+
H as r
|
6386
6386
|
};
|