@feedmepos/mf-payment 1.0.22-beta.1 → 1.0.23-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{PayoutAccount-CwoA24JH.js → PayoutAccount-B463eESm.js} +3 -3
- package/dist/{PayoutAccount-BZTTGOFh.js → PayoutAccount-DDu-qHpZ.js} +5 -5
- package/dist/{PayoutAccountSetting-BcIMtCpl.js → PayoutAccountSetting-CxYQimCK.js} +3 -3
- package/dist/{Restaurant-WfXXzIXe.js → Restaurant-CZgsNkFT.js} +4 -4
- package/dist/{RestaurantSetting-Iah2FIHD.js → RestaurantSetting-BrWh6gkg.js} +3 -3
- package/dist/{Settlement-DFeSSyuD.js → Settlement-BPoi-C2_.js} +3 -3
- package/dist/{Settlement-ClaEFau0.js → Settlement-BnUDYZdR.js} +3 -3
- package/dist/{SettlementTransactions-Q4uxGzAT.js → SettlementTransactions-Bi-3ZDn6.js} +4 -4
- package/dist/{SettlementTransactions-DYRHBU2q.js → SettlementTransactions-DtRw3Y-I.js} +4 -4
- package/dist/{Terminal-Oyz0DVbc.js → Terminal-CPA61km3.js} +5 -5
- package/dist/{TerminalSetting-CyQGeoVa.js → TerminalSetting-e0On23IR.js} +3 -3
- package/dist/{TerminalTransaction-DsoDyf1F.js → TerminalTransaction-BXGWLNMY.js} +5 -5
- package/dist/{TerminalTransaction-BgkewAyb.js → TerminalTransaction-BfCeJOhY.js} +6 -6
- package/dist/{Transaction-CxRzwGsQ.js → Transaction-C6XD2VJa.js} +95 -103
- package/dist/{Transaction-CwPOQmeR.js → Transaction-DawTPwQf.js} +5 -5
- package/dist/{TransactionOld-Dc7iDAmX.js → TransactionOld-DR-AWVlu.js} +4 -4
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-CjPLBAWo.js +159 -0
- package/dist/{app-lsoYwMfI.js → app-GdoY1AYd.js} +392 -392
- package/dist/app.js +1 -1
- package/dist/{assets-yNkhkckI.js → assets-CQPGNPef.js} +1 -1
- package/dist/{grafana-C0lDaEM8.js → grafana-D69TtQST.js} +1 -1
- package/dist/{index-CA4AIOD-.js → index-BZQWoB1l.js} +1 -1
- package/dist/{index-DwGEqo54.js → index-BfvYxxLn.js} +3369 -3238
- package/dist/{index-DLjHw3ck.js → index-CEvkP-3s.js} +1 -1
- package/dist/{index-BCjfVXDw.js → index-CahwZpuN.js} +1 -1
- package/dist/{index-Dr0QpQBZ.js → index-Cy_U6AnG.js} +1 -1
- package/dist/{index-C7GLLU3e.js → index-Drmj-z-Z.js} +1 -1
- package/dist/{index-7JP5KfeF.js → index-yHSwTSNd.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-Dv0yGqcV.js → index.vue_vue_type_script_setup_true_lang-C4HJObS4.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/model/transaction.d.ts +1 -1
- package/dist/package.json +2 -2
- package/dist/{payout-account-QkwQ_tRQ.js → payout-account-D9CBV9oc.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +2 -2
- package/dist/{transaction-EGAGBJLc.js → transaction-DhGbTW2q.js} +2 -2
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +2 -2
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +2 -2
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +2 -2
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +2 -2
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +4 -4
- package/dist/views/settlement/FiuuSettlementTable.vue.d.ts +28 -28
- package/dist/views/settlement/FiuuSettlementTransactions.vue.d.ts +14 -14
- package/package.json +2 -2
- package/dist/TransactionTable.vue_vue_type_script_setup_true_lang-DHo7h5ec.js +0 -167
@@ -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 jt, h as jn, onMounted as xn, onBeforeMount as Vn } from "vue";
|
3
|
+
import { useCoreStore as He } from "@feedmepos/mf-common";
|
4
|
+
import { defineStore as Hn } from "pinia";
|
5
|
+
import { components as Wn } from "@feedmepos/ui-library";
|
6
|
+
const We = [
|
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-CZgsNkFT.js")
|
14
14
|
},
|
15
15
|
{
|
16
16
|
path: "/admin/restaurants/:restaurantId",
|
@@ -19,7 +19,7 @@ const Ge = [
|
|
19
19
|
meta: {
|
20
20
|
parent: "mf-payment-admin.restaurant"
|
21
21
|
},
|
22
|
-
component: () => import("./RestaurantSetting-
|
22
|
+
component: () => import("./RestaurantSetting-BrWh6gkg.js")
|
23
23
|
},
|
24
24
|
{
|
25
25
|
path: "/admin/payout-accounts",
|
@@ -27,7 +27,7 @@ const Ge = [
|
|
27
27
|
meta: {
|
28
28
|
sidebarDisplay: "Payout Accounts"
|
29
29
|
},
|
30
|
-
component: () => import("./PayoutAccount-
|
30
|
+
component: () => import("./PayoutAccount-DDu-qHpZ.js")
|
31
31
|
},
|
32
32
|
{
|
33
33
|
path: "/admin/payout-accounts/:accountId",
|
@@ -36,7 +36,7 @@ const Ge = [
|
|
36
36
|
meta: {
|
37
37
|
parent: "mf-payment-admin.payout-account"
|
38
38
|
},
|
39
|
-
component: () => import("./PayoutAccountSetting-
|
39
|
+
component: () => import("./PayoutAccountSetting-CxYQimCK.js")
|
40
40
|
},
|
41
41
|
{
|
42
42
|
path: "/admin/terminal",
|
@@ -44,7 +44,7 @@ const Ge = [
|
|
44
44
|
meta: {
|
45
45
|
sidebarDisplay: "Terminals"
|
46
46
|
},
|
47
|
-
component: () => import("./Terminal-
|
47
|
+
component: () => import("./Terminal-CPA61km3.js")
|
48
48
|
},
|
49
49
|
{
|
50
50
|
path: "/admin/terminal/:terminalId",
|
@@ -53,7 +53,7 @@ const Ge = [
|
|
53
53
|
meta: {
|
54
54
|
parent: "mf-payment-admin.terminal"
|
55
55
|
},
|
56
|
-
component: () => import("./TerminalSetting-
|
56
|
+
component: () => import("./TerminalSetting-e0On23IR.js")
|
57
57
|
},
|
58
58
|
{
|
59
59
|
path: "/admin/terminal-transaction",
|
@@ -61,7 +61,7 @@ const Ge = [
|
|
61
61
|
meta: {
|
62
62
|
sidebarDisplay: "Terminal Transactions"
|
63
63
|
},
|
64
|
-
component: () => import("./TerminalTransaction-
|
64
|
+
component: () => import("./TerminalTransaction-BfCeJOhY.js")
|
65
65
|
},
|
66
66
|
{
|
67
67
|
path: "/admin/transaction",
|
@@ -69,7 +69,7 @@ const Ge = [
|
|
69
69
|
meta: {
|
70
70
|
sidebarDisplay: "Online Transactions"
|
71
71
|
},
|
72
|
-
component: () => import("./Transaction-
|
72
|
+
component: () => import("./Transaction-C6XD2VJa.js")
|
73
73
|
},
|
74
74
|
{
|
75
75
|
path: "/admin/settlement",
|
@@ -77,7 +77,7 @@ const Ge = [
|
|
77
77
|
meta: {
|
78
78
|
sidebarDisplay: "Settlements"
|
79
79
|
},
|
80
|
-
component: () => import("./Settlement-
|
80
|
+
component: () => import("./Settlement-BPoi-C2_.js")
|
81
81
|
},
|
82
82
|
{
|
83
83
|
path: "/admin/settlement/:settlementId",
|
@@ -86,9 +86,9 @@ const Ge = [
|
|
86
86
|
meta: {
|
87
87
|
parent: "mf-payment-admin.settlement"
|
88
88
|
},
|
89
|
-
component: () => import("./SettlementTransactions-
|
89
|
+
component: () => import("./SettlementTransactions-DtRw3Y-I.js")
|
90
90
|
}
|
91
|
-
],
|
91
|
+
], Ge = [
|
92
92
|
{
|
93
93
|
path: "",
|
94
94
|
redirect: { name: "mf-payment-payout-account" }
|
@@ -96,7 +96,7 @@ const Ge = [
|
|
96
96
|
{
|
97
97
|
path: "/payout-account",
|
98
98
|
name: "mf-payment-payout-account",
|
99
|
-
component: () => import("./PayoutAccount-
|
99
|
+
component: () => import("./PayoutAccount-B463eESm.js"),
|
100
100
|
meta: {
|
101
101
|
sidebarDisplay: "Payout Accounts"
|
102
102
|
}
|
@@ -104,7 +104,7 @@ const Ge = [
|
|
104
104
|
{
|
105
105
|
path: "/transaction-old",
|
106
106
|
name: "mf-payment-old-transaction",
|
107
|
-
component: () => import("./TransactionOld-
|
107
|
+
component: () => import("./TransactionOld-DR-AWVlu.js"),
|
108
108
|
meta: {
|
109
109
|
sidebarDisplay: "Transactions"
|
110
110
|
}
|
@@ -116,12 +116,12 @@ const Ge = [
|
|
116
116
|
sidebarDisplay: "Terminal Transactions",
|
117
117
|
sidebarNew: !0
|
118
118
|
},
|
119
|
-
component: () => import("./TerminalTransaction-
|
119
|
+
component: () => import("./TerminalTransaction-BXGWLNMY.js")
|
120
120
|
},
|
121
121
|
{
|
122
122
|
path: "/transaction",
|
123
123
|
name: "mf-payment-transaction",
|
124
|
-
component: () => import("./Transaction-
|
124
|
+
component: () => import("./Transaction-DawTPwQf.js"),
|
125
125
|
meta: {
|
126
126
|
sidebarDisplay: "Online Transactions",
|
127
127
|
sidebarNew: !0
|
@@ -130,7 +130,7 @@ const Ge = [
|
|
130
130
|
{
|
131
131
|
path: "/settlement",
|
132
132
|
name: "mf-payment-settlement",
|
133
|
-
component: () => import("./Settlement-
|
133
|
+
component: () => import("./Settlement-BnUDYZdR.js"),
|
134
134
|
meta: {
|
135
135
|
sidebarDisplay: "Settlements"
|
136
136
|
}
|
@@ -139,12 +139,12 @@ const Ge = [
|
|
139
139
|
path: "/settlement/:settlementId",
|
140
140
|
name: "mf-payment-settlement-transaction",
|
141
141
|
props: !0,
|
142
|
-
component: () => import("./SettlementTransactions-
|
142
|
+
component: () => import("./SettlementTransactions-Bi-3ZDn6.js"),
|
143
143
|
meta: {
|
144
144
|
parent: "mf-payment-settlement"
|
145
145
|
}
|
146
146
|
}
|
147
|
-
],
|
147
|
+
], Gn = Hn("mf-payment-iframe", () => {
|
148
148
|
const n = {
|
149
149
|
isIframe: !1
|
150
150
|
}, e = Lt(() => n);
|
@@ -156,7 +156,7 @@ const Ge = [
|
|
156
156
|
init: t
|
157
157
|
};
|
158
158
|
});
|
159
|
-
var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_012ddd1a-d6fd-483b-8141-0adee908a6ad", 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.13.1 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_012ddd1a-d6fd-483b-8141-0adee908a6ad", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.13.1/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_1NECEhQVGVFcztazhXDeY6Xtcjg2Hl4dUqpt", 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.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: "719", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250209.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:7187", 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: "13302912395", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d91641e0e7d0962c6f8be3752acfc298295616a1", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2U1ZmYxNjAtOGFhNS00ZTZmLWE1MDUtM2JhZTIyYTVjNGQ2OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTg5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2U1ZmYxNjAtOGFhNS00ZTZmLWE1MDUtM2JhZTIyYTVjNGQ2OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTg5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMWNiNDczYzAtODU0OC00NzY2LTkxNmItNzE1N2IwZGU1OWViIiwic2lkIjoiMzM4NTkzNzgtM2JmMi00NjA3LThiMGQtOGU0YjhlOTcxOTJiIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImQ5MTY0MWUwZTdkMDk2MmM2ZjhiZTM3NTJhY2ZjMjk4Mjk1NjE2YTFcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTMzMDI5MTIzOTVcIixcInJ1bl9udW1iZXJcIjpcIjEzM1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJkOTE2NDFlMGU3ZDA5NjJjNmY4YmUzNzUyYWNmYzI5ODI5NTYxNmExXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJkOTE2NDFlMGU3ZDA5NjJjNmY4YmUzNzUyYWNmYzI5ODI5NTYxNmExXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZTVmZjE2MC04YWE1LTRlNmYtYTUwNS0zYmFlMjJhNWM0ZDYuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3Mzk0MzI2MDMsImV4cCI6MTczOTQ1NTQwM30.glSKWOuaW_38Ykbv9apbwNZtz5Y2OZaBeKZXeRncOWhrppfEsPNBHMHqljzPZsNKXQIdHJK0teZjqGXBKChDNWfOK1FPCHRhK55X-9bHFS0EcUqaMQDJDAQfy5wUVJjPq1zmulm4gtZ5mbyX5KVCgVRhlQMHTNC-Uw8X0dJ-qmQKXngzDBDhU_dg7IgaQNHzflk1Plj9mB0CYP1s6CScldAxzMFnWArNUVpjrf9XCjvrEINBqxH4CutEw0k3KleVORc87irb9FpT4SOWbUzo9tak_C_Dn10ZU6wy2YtItINJ5RLknhK7K5BLOelEhZq9w6100-FSRTPxZW7DiHZXyQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1739433256807-0.6019581677550596:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1739433256651-0.8465565124146479:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1739433256498-0.19685096187617712:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/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.13.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_5d30d400-1ebb-46fc-be09-a39da7782a96", INVOCATION_ID: "aefbc08a1e0e4276bb37e10c151510e0", 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: "133", 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 301", 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.22-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: "d91641e0e7d0962c6f8be3752acfc298295616a1", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_012ddd1a-d6fd-483b-8141-0adee908a6ad", 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/7e5ff160-8aa5-4e6f-a505-3bae22a5c4d6/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_012ddd1a-d6fd-483b-8141-0adee908a6ad", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_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_012ddd1a-d6fd-483b-8141-0adee908a6ad", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.15", 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_356fe0b0-d00c-49f8-a5f6-121df5df2d53", 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.13.1 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_356fe0b0-d00c-49f8-a5f6-121df5df2d53", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.13.1/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_RKEYzrtVu6kOukMwEkh9DK3bz3UHDT1mCNkY", 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.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: "711", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250209.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:6461", 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: "13304287204", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "d23bf1cbf6ed8ba2b3b1e113a12cc5dfb9d4f1df", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YTdhNzk3MTctM2Y3Ni00YzYwLThlMmMtMjViNzIzNzI0ZmMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTk2IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YTdhNzk3MTctM2Y3Ni00YzYwLThlMmMtMjViNzIzNzI0ZmMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMTk2IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiYmM5MDYzNWMtMDdhMS00YzYwLWE0MTUtOTgwZjM1MjFlMmViIiwic2lkIjoiYmU4ZWExOGYtZWRmZS00ZTgwLTgwY2MtODA0NmQwZjJlYzdhIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImQyM2JmMWNiZjZlZDhiYTJiM2IxZTExM2ExMmNjNWRmYjlkNGYxZGZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTMzMDQyODcyMDRcIixcInJ1bl9udW1iZXJcIjpcIjEzNFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJkMjNiZjFjYmY2ZWQ4YmEyYjNiMWUxMTNhMTJjYzVkZmI5ZDRmMWRmXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJkMjNiZjFjYmY2ZWQ4YmEyYjNiMWUxMTNhMTJjYzVkZmI5ZDRmMWRmXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJhN2E3OTcxNy0zZjc2LTRjNjAtOGUyYy0yNWI3MjM3MjRmYzMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3Mzk0Mzc1NDMsImV4cCI6MTczOTQ2MDM0M30.tmiVoVVRekdqCTcsX_7hoOTgJjvH3kh-n5FfmGCZiKok-jtKxZUwb7wroR9JlJdN9pE6rWfed_JgRanBkTUzywiYI8n6PKjbEdNPn27duNTUTzYJsheWKXOGeJ2ytf8WdBJPIMIY8QqVi0oiMpsac6XTzlSEHha8ehTqd_dFaL-l_vjZ9otQSZkg0mNqLni_gD7CpFRYSt3ijka5FZ_No7Wj1fLiy8bmLIxnKCZJoKQGOucvSN5ZprT1cZrbSofubxgqn7InM-OKZrxC-kAeuMVJRUfcVCfdOzqIjcobPlN__M5gWal6vwvAdVhzaswyJB7iHGXq6NUA57_f4dDUWw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1739438201933-0.863003421415669:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1739438201772-0.5110087246836248:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1739438201613-0.3137279299742024:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.13.1/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.13.1/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.13.1/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_4345b642-c39a-4dea-929c-37be4da7d24c", INVOCATION_ID: "907dfe8a56a64e09b438593a5f679c54", 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: "134", 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 279", 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.23-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: "d23bf1cbf6ed8ba2b3b1e113a12cc5dfb9d4f1df", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_356fe0b0-d00c-49f8-a5f6-121df5df2d53", 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/a7a79717-3f76-4c60-8e2c-25b723724fc3/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_356fe0b0-d00c-49f8-a5f6-121df5df2d53", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_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_356fe0b0-d00c-49f8-a5f6-121df5df2d53", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.16", 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
|
@@ -192,11 +192,11 @@ const xt = function(n) {
|
|
192
192
|
const s = n[t++];
|
193
193
|
e[r++] = String.fromCharCode((i & 31) << 6 | s & 63);
|
194
194
|
} else if (i > 239 && i < 365) {
|
195
|
-
const s = n[t++],
|
195
|
+
const s = n[t++], o = n[t++], a = n[t++], c = ((i & 7) << 18 | (s & 63) << 12 | (o & 63) << 6 | a & 63) - 65536;
|
196
196
|
e[r++] = String.fromCharCode(55296 + (c >> 10)), e[r++] = String.fromCharCode(56320 + (c & 1023));
|
197
197
|
} else {
|
198
|
-
const s = n[t++],
|
199
|
-
e[r++] = String.fromCharCode((i & 15) << 12 | (s & 63) << 6 |
|
198
|
+
const s = n[t++], o = n[t++];
|
199
|
+
e[r++] = String.fromCharCode((i & 15) << 12 | (s & 63) << 6 | o & 63);
|
200
200
|
}
|
201
201
|
}
|
202
202
|
return e.join("");
|
@@ -259,9 +259,9 @@ const xt = function(n) {
|
|
259
259
|
this.init_();
|
260
260
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
261
261
|
for (let i = 0; i < n.length; i += 3) {
|
262
|
-
const s = n[i],
|
263
|
-
let m = (
|
264
|
-
c || (v = 64,
|
262
|
+
const s = n[i], o = i + 1 < n.length, a = o ? n[i + 1] : 0, c = i + 2 < n.length, l = c ? n[i + 2] : 0, u = s >> 2, p = (s & 3) << 4 | a >> 4;
|
263
|
+
let m = (a & 15) << 2 | l >> 6, v = l & 63;
|
264
|
+
c || (v = 64, o || (m = 64)), r.push(t[u], t[p], t[m], t[v]);
|
265
265
|
}
|
266
266
|
return r.join("");
|
267
267
|
},
|
@@ -306,16 +306,16 @@ const xt = function(n) {
|
|
306
306
|
this.init_();
|
307
307
|
const t = e ? this.charToByteMapWebSafe_ : this.charToByteMap_, r = [];
|
308
308
|
for (let i = 0; i < n.length; ) {
|
309
|
-
const s = t[n.charAt(i++)],
|
309
|
+
const s = t[n.charAt(i++)], a = i < n.length ? t[n.charAt(i)] : 0;
|
310
310
|
++i;
|
311
311
|
const l = i < n.length ? t[n.charAt(i)] : 64;
|
312
312
|
++i;
|
313
313
|
const p = i < n.length ? t[n.charAt(i)] : 64;
|
314
|
-
if (++i, s == null ||
|
314
|
+
if (++i, s == null || a == null || l == null || p == null)
|
315
315
|
throw new Zn();
|
316
|
-
const m = s << 2 |
|
316
|
+
const m = s << 2 | a >> 4;
|
317
317
|
if (r.push(m), l !== 64) {
|
318
|
-
const v =
|
318
|
+
const v = a << 4 & 240 | l >> 2;
|
319
319
|
if (r.push(v), p !== 64) {
|
320
320
|
const F = l << 6 & 192 | p;
|
321
321
|
r.push(F);
|
@@ -347,7 +347,7 @@ const $n = function(n) {
|
|
347
347
|
return Vt.encodeByteArray(e, !0);
|
348
348
|
}, le = function(n) {
|
349
349
|
return $n(n).replace(/\./g, "");
|
350
|
-
},
|
350
|
+
}, Ht = function(n) {
|
351
351
|
try {
|
352
352
|
return Vt.decodeString(n, !0);
|
353
353
|
} catch (e) {
|
@@ -396,10 +396,10 @@ function Jn() {
|
|
396
396
|
* See the License for the specific language governing permissions and
|
397
397
|
* limitations under the License.
|
398
398
|
*/
|
399
|
-
const
|
400
|
-
if (typeof process > "u" || typeof
|
399
|
+
const Yn = () => Jn().__FIREBASE_DEFAULTS__, Xn = () => {
|
400
|
+
if (typeof process > "u" || typeof at > "u")
|
401
401
|
return;
|
402
|
-
const n =
|
402
|
+
const n = at.__FIREBASE_DEFAULTS__;
|
403
403
|
if (n)
|
404
404
|
return JSON.parse(n);
|
405
405
|
}, Kn = () => {
|
@@ -411,20 +411,20 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
411
411
|
} catch {
|
412
412
|
return;
|
413
413
|
}
|
414
|
-
const e = n &&
|
414
|
+
const e = n && Ht(n[1]);
|
415
415
|
return e && JSON.parse(e);
|
416
416
|
}, ze = () => {
|
417
417
|
try {
|
418
|
-
return
|
418
|
+
return Yn() || Xn() || Kn();
|
419
419
|
} catch (n) {
|
420
420
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
421
421
|
return;
|
422
422
|
}
|
423
|
-
},
|
423
|
+
}, Wt = (n) => {
|
424
424
|
var e, t;
|
425
425
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
426
|
-
},
|
427
|
-
const e =
|
426
|
+
}, Co = (n) => {
|
427
|
+
const e = Wt(n);
|
428
428
|
if (!e)
|
429
429
|
return;
|
430
430
|
const t = e.lastIndexOf(":");
|
@@ -432,7 +432,7 @@ const Xn = () => Jn().__FIREBASE_DEFAULTS__, Yn = () => {
|
|
432
432
|
throw new Error(`Invalid host ${e} with no separate hostname and port!`);
|
433
433
|
const r = parseInt(e.substring(t + 1), 10);
|
434
434
|
return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
|
435
|
-
},
|
435
|
+
}, Gt = () => {
|
436
436
|
var n;
|
437
437
|
return (n = ze()) === null || n === void 0 ? void 0 : n.config;
|
438
438
|
}, zt = (n) => {
|
@@ -491,7 +491,7 @@ class qn {
|
|
491
491
|
* See the License for the specific language governing permissions and
|
492
492
|
* limitations under the License.
|
493
493
|
*/
|
494
|
-
function
|
494
|
+
function No(n, e) {
|
495
495
|
if (n.uid)
|
496
496
|
throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
|
497
497
|
const t = {
|
@@ -500,7 +500,7 @@ function Ca(n, e) {
|
|
500
500
|
}, r = e || "demo-project", i = n.iat || 0, s = n.sub || n.user_id;
|
501
501
|
if (!s)
|
502
502
|
throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");
|
503
|
-
const
|
503
|
+
const o = Object.assign({
|
504
504
|
// Set all required fields to decent defaults
|
505
505
|
iss: `https://securetoken.google.com/${r}`,
|
506
506
|
aud: r,
|
@@ -516,7 +516,7 @@ function Ca(n, e) {
|
|
516
516
|
}, n);
|
517
517
|
return [
|
518
518
|
le(JSON.stringify(t)),
|
519
|
-
le(JSON.stringify(
|
519
|
+
le(JSON.stringify(o)),
|
520
520
|
""
|
521
521
|
].join(".");
|
522
522
|
}
|
@@ -599,10 +599,10 @@ function sr() {
|
|
599
599
|
* See the License for the specific language governing permissions and
|
600
600
|
* limitations under the License.
|
601
601
|
*/
|
602
|
-
const
|
602
|
+
const or = "FirebaseError";
|
603
603
|
class M extends Error {
|
604
604
|
constructor(e, t, r) {
|
605
|
-
super(t), this.code = e, this.customData = r, this.name =
|
605
|
+
super(t), this.code = e, this.customData = r, this.name = or, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
|
606
606
|
}
|
607
607
|
}
|
608
608
|
class q {
|
@@ -610,11 +610,11 @@ class q {
|
|
610
610
|
this.service = e, this.serviceName = t, this.errors = r;
|
611
611
|
}
|
612
612
|
create(e, ...t) {
|
613
|
-
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e],
|
614
|
-
return new M(i,
|
613
|
+
const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], o = s ? ar(s, r) : "Error", a = `${this.serviceName}: ${o} (${i}).`;
|
614
|
+
return new M(i, a, r);
|
615
615
|
}
|
616
616
|
}
|
617
|
-
function
|
617
|
+
function ar(n, e) {
|
618
618
|
return n.replace(cr, (t, r) => {
|
619
619
|
const i = e[r];
|
620
620
|
return i != null ? String(i) : `<${r}?>`;
|
@@ -634,11 +634,11 @@ function de(n, e) {
|
|
634
634
|
for (const i of t) {
|
635
635
|
if (!r.includes(i))
|
636
636
|
return !1;
|
637
|
-
const s = n[i],
|
638
|
-
if (ct(s) && ct(
|
639
|
-
if (!de(s,
|
637
|
+
const s = n[i], o = e[i];
|
638
|
+
if (ct(s) && ct(o)) {
|
639
|
+
if (!de(s, o))
|
640
640
|
return !1;
|
641
|
-
} else if (s !==
|
641
|
+
} else if (s !== o)
|
642
642
|
return !1;
|
643
643
|
}
|
644
644
|
for (const i of r)
|
@@ -790,7 +790,7 @@ function Re() {
|
|
790
790
|
function z(n) {
|
791
791
|
return n && n._delegate ? n._delegate : n;
|
792
792
|
}
|
793
|
-
class
|
793
|
+
class G {
|
794
794
|
/**
|
795
795
|
*
|
796
796
|
* @param name The public service name, e.g. app, auth, firestore, database
|
@@ -945,9 +945,9 @@ class pr {
|
|
945
945
|
instanceIdentifier: r,
|
946
946
|
options: t
|
947
947
|
});
|
948
|
-
for (const [s,
|
949
|
-
const
|
950
|
-
r ===
|
948
|
+
for (const [s, o] of this.instancesDeferred.entries()) {
|
949
|
+
const a = this.normalizeInstanceIdentifier(s);
|
950
|
+
r === a && o.resolve(i);
|
951
951
|
}
|
952
952
|
return i;
|
953
953
|
}
|
@@ -963,8 +963,8 @@ class pr {
|
|
963
963
|
var r;
|
964
964
|
const i = this.normalizeInstanceIdentifier(t), s = (r = this.onInitCallbacks.get(i)) !== null && r !== void 0 ? r : /* @__PURE__ */ new Set();
|
965
965
|
s.add(e), this.onInitCallbacks.set(i, s);
|
966
|
-
const
|
967
|
-
return
|
966
|
+
const o = this.instances.get(i);
|
967
|
+
return o && e(o, i), () => {
|
968
968
|
s.delete(e);
|
969
969
|
};
|
970
970
|
}
|
@@ -1180,13 +1180,13 @@ const $t = /* @__PURE__ */ new WeakMap(), Me = /* @__PURE__ */ new WeakMap(), Jt
|
|
1180
1180
|
function wr(n) {
|
1181
1181
|
const e = new Promise((t, r) => {
|
1182
1182
|
const i = () => {
|
1183
|
-
n.removeEventListener("success", s), n.removeEventListener("error",
|
1183
|
+
n.removeEventListener("success", s), n.removeEventListener("error", o);
|
1184
1184
|
}, s = () => {
|
1185
1185
|
t(N(n.result)), i();
|
1186
|
-
},
|
1186
|
+
}, o = () => {
|
1187
1187
|
r(n.error), i();
|
1188
1188
|
};
|
1189
|
-
n.addEventListener("success", s), n.addEventListener("error",
|
1189
|
+
n.addEventListener("success", s), n.addEventListener("error", o);
|
1190
1190
|
});
|
1191
1191
|
return e.then((t) => {
|
1192
1192
|
t instanceof IDBCursor && $t.set(t, n);
|
@@ -1198,13 +1198,13 @@ function Rr(n) {
|
|
1198
1198
|
return;
|
1199
1199
|
const e = new Promise((t, r) => {
|
1200
1200
|
const i = () => {
|
1201
|
-
n.removeEventListener("complete", s), n.removeEventListener("error",
|
1201
|
+
n.removeEventListener("complete", s), n.removeEventListener("error", o), n.removeEventListener("abort", o);
|
1202
1202
|
}, s = () => {
|
1203
1203
|
t(), i();
|
1204
|
-
},
|
1204
|
+
}, o = () => {
|
1205
1205
|
r(n.error || new DOMException("AbortError", "AbortError")), i();
|
1206
1206
|
};
|
1207
|
-
n.addEventListener("complete", s), n.addEventListener("error",
|
1207
|
+
n.addEventListener("complete", s), n.addEventListener("error", o), n.addEventListener("abort", o);
|
1208
1208
|
});
|
1209
1209
|
Me.set(n, e);
|
1210
1210
|
}
|
@@ -1253,18 +1253,18 @@ function N(n) {
|
|
1253
1253
|
}
|
1254
1254
|
const Se = (n) => Ze.get(n);
|
1255
1255
|
function Or(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1256
|
-
const
|
1257
|
-
return r &&
|
1258
|
-
r(N(
|
1259
|
-
}), t &&
|
1256
|
+
const o = indexedDB.open(n, e), a = N(o);
|
1257
|
+
return r && o.addEventListener("upgradeneeded", (c) => {
|
1258
|
+
r(N(o.result), c.oldVersion, c.newVersion, N(o.transaction), c);
|
1259
|
+
}), t && o.addEventListener("blocked", (c) => t(
|
1260
1260
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1261
1261
|
c.oldVersion,
|
1262
1262
|
c.newVersion,
|
1263
1263
|
c
|
1264
|
-
)),
|
1264
|
+
)), a.then((c) => {
|
1265
1265
|
s && c.addEventListener("close", () => s()), i && c.addEventListener("versionchange", (l) => i(l.oldVersion, l.newVersion, l));
|
1266
1266
|
}).catch(() => {
|
1267
|
-
}),
|
1267
|
+
}), a;
|
1268
1268
|
}
|
1269
1269
|
const Cr = ["get", "getKey", "getAll", "getAllKeys", "count"], Nr = ["put", "add", "delete", "clear"], Ae = /* @__PURE__ */ new Map();
|
1270
1270
|
function ut(n, e) {
|
@@ -1278,11 +1278,11 @@ function ut(n, e) {
|
|
1278
1278
|
!(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Cr.includes(t))
|
1279
1279
|
)
|
1280
1280
|
return;
|
1281
|
-
const s = async function(
|
1282
|
-
const c = this.transaction(
|
1281
|
+
const s = async function(o, ...a) {
|
1282
|
+
const c = this.transaction(o, i ? "readwrite" : "readonly");
|
1283
1283
|
let l = c.store;
|
1284
|
-
return r && (l = l.index(
|
1285
|
-
l[t](...
|
1284
|
+
return r && (l = l.index(a.shift())), (await Promise.all([
|
1285
|
+
l[t](...a),
|
1286
1286
|
i && c.done
|
1287
1287
|
]))[0];
|
1288
1288
|
};
|
@@ -1346,7 +1346,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
|
|
1346
1346
|
* See the License for the specific language governing permissions and
|
1347
1347
|
* limitations under the License.
|
1348
1348
|
*/
|
1349
|
-
const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/analytics-compat", Ur = "@firebase/analytics", Br = "@firebase/app-check-compat", Fr = "@firebase/app-check",
|
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", jr = "@firebase/auth", xr = "@firebase/auth-compat", Vr = "@firebase/database", Hr = "@firebase/data-connect", Wr = "@firebase/database-compat", Gr = "@firebase/functions", zr = "@firebase/functions-compat", Zr = "@firebase/installations", $r = "@firebase/installations-compat", Jr = "@firebase/messaging", Yr = "@firebase/messaging-compat", Xr = "@firebase/performance", Kr = "@firebase/performance-compat", qr = "@firebase/remote-config", Qr = "@firebase/remote-config-compat", ei = "@firebase/storage", ti = "@firebase/storage-compat", ni = "@firebase/firestore", ri = "@firebase/vertexai-preview", ii = "@firebase/firestore-compat", si = "firebase", oi = "10.14.1";
|
1350
1350
|
/**
|
1351
1351
|
* @license
|
1352
1352
|
* Copyright 2019 Google LLC
|
@@ -1363,25 +1363,25 @@ const T = new Zt("@firebase/app"), Mr = "@firebase/app-compat", Lr = "@firebase/
|
|
1363
1363
|
* See the License for the specific language governing permissions and
|
1364
1364
|
* limitations under the License.
|
1365
1365
|
*/
|
1366
|
-
const Be = "[DEFAULT]",
|
1366
|
+
const Be = "[DEFAULT]", ai = {
|
1367
1367
|
[Ue]: "fire-core",
|
1368
1368
|
[Mr]: "fire-core-compat",
|
1369
1369
|
[Ur]: "fire-analytics",
|
1370
1370
|
[Lr]: "fire-analytics-compat",
|
1371
1371
|
[Fr]: "fire-app-check",
|
1372
1372
|
[Br]: "fire-app-check-compat",
|
1373
|
-
[
|
1373
|
+
[jr]: "fire-auth",
|
1374
1374
|
[xr]: "fire-auth-compat",
|
1375
1375
|
[Vr]: "fire-rtdb",
|
1376
|
-
[
|
1377
|
-
[
|
1378
|
-
[
|
1376
|
+
[Hr]: "fire-data-connect",
|
1377
|
+
[Wr]: "fire-rtdb-compat",
|
1378
|
+
[Gr]: "fire-fn",
|
1379
1379
|
[zr]: "fire-fn-compat",
|
1380
1380
|
[Zr]: "fire-iid",
|
1381
1381
|
[$r]: "fire-iid-compat",
|
1382
1382
|
[Jr]: "fire-fcm",
|
1383
|
-
[
|
1384
|
-
[
|
1383
|
+
[Yr]: "fire-fcm-compat",
|
1384
|
+
[Xr]: "fire-perf",
|
1385
1385
|
[Kr]: "fire-perf-compat",
|
1386
1386
|
[qr]: "fire-rc",
|
1387
1387
|
[Qr]: "fire-rc-compat",
|
@@ -1417,7 +1417,7 @@ function pt(n, e) {
|
|
1417
1417
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1418
1418
|
}
|
1419
1419
|
}
|
1420
|
-
function
|
1420
|
+
function Y(n) {
|
1421
1421
|
const e = n.name;
|
1422
1422
|
if (Fe.has(e))
|
1423
1423
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
@@ -1428,7 +1428,7 @@ function X(n) {
|
|
1428
1428
|
pt(t, n);
|
1429
1429
|
return !0;
|
1430
1430
|
}
|
1431
|
-
function
|
1431
|
+
function Yt(n, e) {
|
1432
1432
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1433
1433
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1434
1434
|
}
|
@@ -1485,7 +1485,7 @@ const li = {
|
|
1485
1485
|
*/
|
1486
1486
|
class di {
|
1487
1487
|
constructor(e, t, r) {
|
1488
|
-
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new
|
1488
|
+
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
|
1489
1489
|
"app",
|
1490
1490
|
() => this,
|
1491
1491
|
"PUBLIC"
|
@@ -1541,8 +1541,8 @@ class di {
|
|
1541
1541
|
* See the License for the specific language governing permissions and
|
1542
1542
|
* limitations under the License.
|
1543
1543
|
*/
|
1544
|
-
const ee =
|
1545
|
-
function
|
1544
|
+
const ee = oi;
|
1545
|
+
function Xt(n, e = {}) {
|
1546
1546
|
let t = n;
|
1547
1547
|
typeof e != "object" && (e = { name: e });
|
1548
1548
|
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1550,7 +1550,7 @@ function Yt(n, e = {}) {
|
|
1550
1550
|
throw D.create("bad-app-name", {
|
1551
1551
|
appName: String(i)
|
1552
1552
|
});
|
1553
|
-
if (t || (t =
|
1553
|
+
if (t || (t = Gt()), !t)
|
1554
1554
|
throw D.create(
|
1555
1555
|
"no-options"
|
1556
1556
|
/* AppError.NO_OPTIONS */
|
@@ -1561,33 +1561,33 @@ function Yt(n, e = {}) {
|
|
1561
1561
|
return s;
|
1562
1562
|
throw D.create("duplicate-app", { appName: i });
|
1563
1563
|
}
|
1564
|
-
const
|
1564
|
+
const o = new _r(i);
|
1565
1565
|
for (const c of Fe.values())
|
1566
|
-
|
1567
|
-
const
|
1568
|
-
return ue.set(i,
|
1566
|
+
o.addComponent(c);
|
1567
|
+
const a = new di(t, r, o);
|
1568
|
+
return ue.set(i, a), a;
|
1569
1569
|
}
|
1570
1570
|
function ui(n = Be) {
|
1571
1571
|
const e = ue.get(n);
|
1572
|
-
if (!e && n === Be &&
|
1573
|
-
return
|
1572
|
+
if (!e && n === Be && Gt())
|
1573
|
+
return Xt();
|
1574
1574
|
if (!e)
|
1575
1575
|
throw D.create("no-app", { appName: n });
|
1576
1576
|
return e;
|
1577
1577
|
}
|
1578
1578
|
function x(n, e, t) {
|
1579
1579
|
var r;
|
1580
|
-
let i = (r =
|
1580
|
+
let i = (r = ai[n]) !== null && r !== void 0 ? r : n;
|
1581
1581
|
t && (i += `-${t}`);
|
1582
|
-
const s = i.match(/\s|\//),
|
1583
|
-
if (s ||
|
1584
|
-
const
|
1582
|
+
const s = i.match(/\s|\//), o = e.match(/\s|\//);
|
1583
|
+
if (s || o) {
|
1584
|
+
const a = [
|
1585
1585
|
`Unable to register library "${i}" with version "${e}":`
|
1586
1586
|
];
|
1587
|
-
s &&
|
1587
|
+
s && a.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && o && a.push("and"), o && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(a.join(" "));
|
1588
1588
|
return;
|
1589
1589
|
}
|
1590
|
-
|
1590
|
+
Y(new G(
|
1591
1591
|
`${i}-version`,
|
1592
1592
|
() => ({ library: i, version: e }),
|
1593
1593
|
"VERSION"
|
@@ -1610,7 +1610,7 @@ function x(n, e, t) {
|
|
1610
1610
|
* See the License for the specific language governing permissions and
|
1611
1611
|
* limitations under the License.
|
1612
1612
|
*/
|
1613
|
-
const hi = "firebase-heartbeat-database", pi = 1,
|
1613
|
+
const hi = "firebase-heartbeat-database", pi = 1, X = "firebase-heartbeat-store";
|
1614
1614
|
let Oe = null;
|
1615
1615
|
function Kt() {
|
1616
1616
|
return Oe || (Oe = Or(hi, pi, {
|
@@ -1618,7 +1618,7 @@ function Kt() {
|
|
1618
1618
|
switch (e) {
|
1619
1619
|
case 0:
|
1620
1620
|
try {
|
1621
|
-
n.createObjectStore(
|
1621
|
+
n.createObjectStore(X);
|
1622
1622
|
} catch (t) {
|
1623
1623
|
console.warn(t);
|
1624
1624
|
}
|
@@ -1632,7 +1632,7 @@ function Kt() {
|
|
1632
1632
|
}
|
1633
1633
|
async function fi(n) {
|
1634
1634
|
try {
|
1635
|
-
const t = (await Kt()).transaction(
|
1635
|
+
const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
|
1636
1636
|
return await t.done, r;
|
1637
1637
|
} catch (e) {
|
1638
1638
|
if (e instanceof M)
|
@@ -1647,8 +1647,8 @@ async function fi(n) {
|
|
1647
1647
|
}
|
1648
1648
|
async function ft(n, e) {
|
1649
1649
|
try {
|
1650
|
-
const r = (await Kt()).transaction(
|
1651
|
-
await r.objectStore(
|
1650
|
+
const r = (await Kt()).transaction(X, "readwrite");
|
1651
|
+
await r.objectStore(X).put(e, qt(n)), await r.done;
|
1652
1652
|
} catch (t) {
|
1653
1653
|
if (t instanceof M)
|
1654
1654
|
T.warn(t.message);
|
@@ -1697,9 +1697,9 @@ class gi {
|
|
1697
1697
|
var e, t;
|
1698
1698
|
try {
|
1699
1699
|
const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
|
1700
|
-
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((
|
1701
|
-
const
|
1702
|
-
return Date.now() -
|
1700
|
+
return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((o) => o.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((o) => {
|
1701
|
+
const a = new Date(o.date).valueOf();
|
1702
|
+
return Date.now() - a <= _i;
|
1703
1703
|
}), this._storage.overwrite(this._heartbeatsCache));
|
1704
1704
|
} catch (r) {
|
1705
1705
|
T.warn(r);
|
@@ -1731,7 +1731,7 @@ function vi(n, e = mi) {
|
|
1731
1731
|
const t = [];
|
1732
1732
|
let r = n.slice();
|
1733
1733
|
for (const i of n) {
|
1734
|
-
const s = t.find((
|
1734
|
+
const s = t.find((o) => o.agent === i.agent);
|
1735
1735
|
if (s) {
|
1736
1736
|
if (s.dates.push(i.date), _t(t) > e) {
|
1737
1737
|
s.dates.pop();
|
@@ -1819,12 +1819,12 @@ function _t(n) {
|
|
1819
1819
|
* limitations under the License.
|
1820
1820
|
*/
|
1821
1821
|
function bi(n) {
|
1822
|
-
|
1822
|
+
Y(new G(
|
1823
1823
|
"platform-logger",
|
1824
1824
|
(e) => new Dr(e),
|
1825
1825
|
"PRIVATE"
|
1826
1826
|
/* ComponentType.PRIVATE */
|
1827
|
-
)),
|
1827
|
+
)), Y(new G(
|
1828
1828
|
"heartbeat",
|
1829
1829
|
(e) => new gi(e),
|
1830
1830
|
"PRIVATE"
|
@@ -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 je() {
|
1965
1965
|
var n;
|
1966
1966
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
1967
1967
|
}
|
@@ -2048,7 +2048,7 @@ class te {
|
|
2048
2048
|
* See the License for the specific language governing permissions and
|
2049
2049
|
* limitations under the License.
|
2050
2050
|
*/
|
2051
|
-
function
|
2051
|
+
function Ye(n, e) {
|
2052
2052
|
R(n.emulator, "Emulator should always be set here");
|
2053
2053
|
const { url: t } = n.emulator;
|
2054
2054
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2220,11 +2220,11 @@ function ge(n, e) {
|
|
2220
2220
|
}
|
2221
2221
|
async function Z(n, e, t, r, i = {}) {
|
2222
2222
|
return rn(n, i, async () => {
|
2223
|
-
let s = {},
|
2224
|
-
r && (e === "GET" ?
|
2223
|
+
let s = {}, o = {};
|
2224
|
+
r && (e === "GET" ? o = r : s = {
|
2225
2225
|
body: JSON.stringify(r)
|
2226
2226
|
});
|
2227
|
-
const
|
2227
|
+
const a = Q(Object.assign({ key: n.config.apiKey }, o)).slice(1), c = await n._getAdditionalHeaders();
|
2228
2228
|
c[
|
2229
2229
|
"Content-Type"
|
2230
2230
|
/* HttpHeader.CONTENT_TYPE */
|
@@ -2236,7 +2236,7 @@ async function Z(n, e, t, r, i = {}) {
|
|
2236
2236
|
method: e,
|
2237
2237
|
headers: c
|
2238
2238
|
}, s);
|
2239
|
-
return er() || (l.referrerPolicy = "no-referrer"), nn.fetch()(
|
2239
|
+
return er() || (l.referrerPolicy = "no-referrer"), nn.fetch()(on(n, n.config.apiHost, t, a), l);
|
2240
2240
|
});
|
2241
2241
|
}
|
2242
2242
|
async function rn(n, e, t) {
|
@@ -2248,19 +2248,19 @@ async function rn(n, e, t) {
|
|
2248
2248
|
i.promise
|
2249
2249
|
]);
|
2250
2250
|
i.clearNetworkTimeout();
|
2251
|
-
const
|
2252
|
-
if ("needConfirmation" in
|
2253
|
-
throw ie(n, "account-exists-with-different-credential",
|
2254
|
-
if (s.ok && !("errorMessage" in
|
2255
|
-
return
|
2251
|
+
const o = await s.json();
|
2252
|
+
if ("needConfirmation" in o)
|
2253
|
+
throw ie(n, "account-exists-with-different-credential", o);
|
2254
|
+
if (s.ok && !("errorMessage" in o))
|
2255
|
+
return o;
|
2256
2256
|
{
|
2257
|
-
const
|
2257
|
+
const a = s.ok ? o.errorMessage : o.error.message, [c, l] = a.split(" : ");
|
2258
2258
|
if (c === "FEDERATED_USER_ID_ALREADY_LINKED")
|
2259
|
-
throw ie(n, "credential-already-in-use",
|
2259
|
+
throw ie(n, "credential-already-in-use", o);
|
2260
2260
|
if (c === "EMAIL_EXISTS")
|
2261
|
-
throw ie(n, "email-already-in-use",
|
2261
|
+
throw ie(n, "email-already-in-use", o);
|
2262
2262
|
if (c === "USER_DISABLED")
|
2263
|
-
throw ie(n, "user-disabled",
|
2263
|
+
throw ie(n, "user-disabled", o);
|
2264
2264
|
const u = r[c] || c.toLowerCase().replace(/[_\s]+/g, "-");
|
2265
2265
|
if (l)
|
2266
2266
|
throw tn(n, u, l);
|
@@ -2278,9 +2278,9 @@ async function sn(n, e, t, r, i = {}) {
|
|
2278
2278
|
_serverResponse: s
|
2279
2279
|
}), s;
|
2280
2280
|
}
|
2281
|
-
function
|
2281
|
+
function on(n, e, t, r) {
|
2282
2282
|
const i = `${e}${t}?${r}`;
|
2283
|
-
return n.config.emulator ?
|
2283
|
+
return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2284
2284
|
}
|
2285
2285
|
class Ci {
|
2286
2286
|
constructor(e) {
|
@@ -2323,7 +2323,7 @@ function ie(n, e, t) {
|
|
2323
2323
|
async function Ni(n, e) {
|
2324
2324
|
return Z(n, "POST", "/v1/accounts:delete", e);
|
2325
2325
|
}
|
2326
|
-
async function
|
2326
|
+
async function an(n, e) {
|
2327
2327
|
return Z(n, "POST", "/v1/accounts:lookup", e);
|
2328
2328
|
}
|
2329
2329
|
/**
|
@@ -2352,40 +2352,40 @@ function J(n) {
|
|
2352
2352
|
}
|
2353
2353
|
}
|
2354
2354
|
async function Di(n, e = !1) {
|
2355
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2355
|
+
const t = z(n), r = await t.getIdToken(e), i = Xe(r);
|
2356
2356
|
d(
|
2357
2357
|
i && i.exp && i.auth_time && i.iat,
|
2358
2358
|
t.auth,
|
2359
2359
|
"internal-error"
|
2360
2360
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2361
2361
|
);
|
2362
|
-
const s = typeof i.firebase == "object" ? i.firebase : void 0,
|
2362
|
+
const s = typeof i.firebase == "object" ? i.firebase : void 0, o = s == null ? void 0 : s.sign_in_provider;
|
2363
2363
|
return {
|
2364
2364
|
claims: i,
|
2365
2365
|
token: r,
|
2366
2366
|
authTime: J(Ce(i.auth_time)),
|
2367
2367
|
issuedAtTime: J(Ce(i.iat)),
|
2368
2368
|
expirationTime: J(Ce(i.exp)),
|
2369
|
-
signInProvider:
|
2369
|
+
signInProvider: o || null,
|
2370
2370
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2371
2371
|
};
|
2372
2372
|
}
|
2373
2373
|
function Ce(n) {
|
2374
2374
|
return Number(n) * 1e3;
|
2375
2375
|
}
|
2376
|
-
function
|
2376
|
+
function Xe(n) {
|
2377
2377
|
const [e, t, r] = n.split(".");
|
2378
2378
|
if (e === void 0 || t === void 0 || r === void 0)
|
2379
2379
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
2380
2380
|
try {
|
2381
|
-
const i =
|
2381
|
+
const i = Ht(t);
|
2382
2382
|
return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
|
2383
2383
|
} catch (i) {
|
2384
2384
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2385
2385
|
}
|
2386
2386
|
}
|
2387
2387
|
function It(n) {
|
2388
|
-
const e =
|
2388
|
+
const e = Xe(n);
|
2389
2389
|
return d(
|
2390
2390
|
e,
|
2391
2391
|
"internal-error"
|
@@ -2541,7 +2541,7 @@ class xe {
|
|
2541
2541
|
*/
|
2542
2542
|
async function pe(n) {
|
2543
2543
|
var e;
|
2544
|
-
const t = n.auth, r = await n.getIdToken(), i = await K(n,
|
2544
|
+
const t = n.auth, r = await n.getIdToken(), i = await K(n, an(t, { idToken: r }));
|
2545
2545
|
d(
|
2546
2546
|
i == null ? void 0 : i.users.length,
|
2547
2547
|
t,
|
@@ -2550,7 +2550,7 @@ async function pe(n) {
|
|
2550
2550
|
);
|
2551
2551
|
const s = i.users[0];
|
2552
2552
|
n._notifyReloadListener(s);
|
2553
|
-
const
|
2553
|
+
const o = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], a = Ui(n.providerData, o), c = n.isAnonymous, l = !(n.email && s.passwordHash) && !(a != null && a.length), u = c ? l : !1, p = {
|
2554
2554
|
uid: s.localId,
|
2555
2555
|
displayName: s.displayName || null,
|
2556
2556
|
photoURL: s.photoUrl || null,
|
@@ -2558,7 +2558,7 @@ async function pe(n) {
|
|
2558
2558
|
emailVerified: s.emailVerified || !1,
|
2559
2559
|
phoneNumber: s.phoneNumber || null,
|
2560
2560
|
tenantId: s.tenantId || null,
|
2561
|
-
providerData:
|
2561
|
+
providerData: a,
|
2562
2562
|
metadata: new xe(s.createdAt, s.lastLoginAt),
|
2563
2563
|
isAnonymous: u
|
2564
2564
|
};
|
@@ -2605,13 +2605,13 @@ async function Bi(n, e) {
|
|
2605
2605
|
const r = Q({
|
2606
2606
|
grant_type: "refresh_token",
|
2607
2607
|
refresh_token: e
|
2608
|
-
}).slice(1), { tokenApiHost: i, apiKey: s } = n.config,
|
2609
|
-
return
|
2608
|
+
}).slice(1), { tokenApiHost: i, apiKey: s } = n.config, o = on(n, i, "/v1/token", `key=${s}`), a = await n._getAdditionalHeaders();
|
2609
|
+
return a[
|
2610
2610
|
"Content-Type"
|
2611
2611
|
/* HttpHeader.CONTENT_TYPE */
|
2612
|
-
] = "application/x-www-form-urlencoded", nn.fetch()(
|
2612
|
+
] = "application/x-www-form-urlencoded", nn.fetch()(o, {
|
2613
2613
|
method: "POST",
|
2614
|
-
headers:
|
2614
|
+
headers: a,
|
2615
2615
|
body: r
|
2616
2616
|
});
|
2617
2617
|
});
|
@@ -2692,14 +2692,14 @@ class V {
|
|
2692
2692
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
2693
2693
|
}
|
2694
2694
|
static fromJSON(e, t) {
|
2695
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t,
|
2695
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new V();
|
2696
2696
|
return r && (d(typeof r == "string", "internal-error", {
|
2697
2697
|
appName: e
|
2698
|
-
}),
|
2698
|
+
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
2699
2699
|
appName: e
|
2700
|
-
}),
|
2700
|
+
}), o.accessToken = i), s && (d(typeof s == "number", "internal-error", {
|
2701
2701
|
appName: e
|
2702
|
-
}),
|
2702
|
+
}), o.expirationTime = s), o;
|
2703
2703
|
}
|
2704
2704
|
toJSON() {
|
2705
2705
|
return {
|
@@ -2821,15 +2821,15 @@ class y {
|
|
2821
2821
|
return this.stsTokenManager.refreshToken || "";
|
2822
2822
|
}
|
2823
2823
|
static _fromJSON(e, t) {
|
2824
|
-
var r, i, s,
|
2825
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (
|
2824
|
+
var r, i, s, o, a, c, l, u;
|
2825
|
+
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (o = t.photoURL) !== null && o !== void 0 ? o : void 0, tt = (a = t.tenantId) !== null && a !== void 0 ? a : void 0, ye = (c = t._redirectEventId) !== null && c !== void 0 ? c : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (u = t.lastLoginAt) !== null && u !== void 0 ? u : void 0, { uid: Ee, emailVerified: it, isAnonymous: st, providerData: Te, stsTokenManager: ot } = t;
|
2826
2826
|
d(
|
2827
|
-
Ee &&
|
2827
|
+
Ee && ot,
|
2828
2828
|
e,
|
2829
2829
|
"internal-error"
|
2830
2830
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2831
2831
|
);
|
2832
|
-
const Pn = V.fromJSON(this.name,
|
2832
|
+
const Pn = V.fromJSON(this.name, ot);
|
2833
2833
|
d(
|
2834
2834
|
typeof Ee == "string",
|
2835
2835
|
e,
|
@@ -2890,13 +2890,13 @@ class y {
|
|
2890
2890
|
"internal-error"
|
2891
2891
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2892
2892
|
);
|
2893
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [],
|
2894
|
-
|
2893
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new V();
|
2894
|
+
a.updateFromIdToken(r);
|
2895
2895
|
const c = new y({
|
2896
2896
|
uid: i.localId,
|
2897
2897
|
auth: e,
|
2898
|
-
stsTokenManager:
|
2899
|
-
isAnonymous:
|
2898
|
+
stsTokenManager: a,
|
2899
|
+
isAnonymous: o
|
2900
2900
|
}), l = {
|
2901
2901
|
uid: i.localId,
|
2902
2902
|
displayName: i.displayName || null,
|
@@ -2990,14 +2990,14 @@ const yt = ln;
|
|
2990
2990
|
* See the License for the specific language governing permissions and
|
2991
2991
|
* limitations under the License.
|
2992
2992
|
*/
|
2993
|
-
function
|
2993
|
+
function oe(n, e, t) {
|
2994
2994
|
return `firebase:${n}:${e}:${t}`;
|
2995
2995
|
}
|
2996
|
-
class
|
2996
|
+
class H {
|
2997
2997
|
constructor(e, t, r) {
|
2998
2998
|
this.persistence = e, this.auth = t, this.userKey = r;
|
2999
2999
|
const { config: i, name: s } = this.auth;
|
3000
|
-
this.fullUserKey =
|
3000
|
+
this.fullUserKey = oe(this.userKey, i.apiKey, s), this.fullPersistenceKey = oe("persistence", i.apiKey, s), this.boundEventHandler = t._onStorageEvent.bind(t), this.persistence._addListener(this.fullUserKey, this.boundEventHandler);
|
3001
3001
|
}
|
3002
3002
|
setCurrentUser(e) {
|
3003
3003
|
return this.persistence._set(this.fullUserKey, e.toJSON());
|
@@ -3024,32 +3024,32 @@ class j {
|
|
3024
3024
|
}
|
3025
3025
|
static async create(e, t, r = "authUser") {
|
3026
3026
|
if (!t.length)
|
3027
|
-
return new
|
3027
|
+
return new H(E(yt), e, r);
|
3028
3028
|
const i = (await Promise.all(t.map(async (l) => {
|
3029
3029
|
if (await l._isAvailable())
|
3030
3030
|
return l;
|
3031
3031
|
}))).filter((l) => l);
|
3032
3032
|
let s = i[0] || E(yt);
|
3033
|
-
const
|
3034
|
-
let
|
3033
|
+
const o = oe(r, e.config.apiKey, e.name);
|
3034
|
+
let a = null;
|
3035
3035
|
for (const l of t)
|
3036
3036
|
try {
|
3037
|
-
const u = await l._get(
|
3037
|
+
const u = await l._get(o);
|
3038
3038
|
if (u) {
|
3039
3039
|
const p = y._fromJSON(e, u);
|
3040
|
-
l !== s && (
|
3040
|
+
l !== s && (a = p), s = l;
|
3041
3041
|
break;
|
3042
3042
|
}
|
3043
3043
|
} catch {
|
3044
3044
|
}
|
3045
3045
|
const c = i.filter((l) => l._shouldAllowMigration);
|
3046
|
-
return !s._shouldAllowMigration || !c.length ? new
|
3046
|
+
return !s._shouldAllowMigration || !c.length ? new H(s, e, r) : (s = c[0], a && await s._set(o, a.toJSON()), await Promise.all(t.map(async (l) => {
|
3047
3047
|
if (l !== s)
|
3048
3048
|
try {
|
3049
|
-
await l._remove(
|
3049
|
+
await l._remove(o);
|
3050
3050
|
} catch {
|
3051
3051
|
}
|
3052
|
-
})), new
|
3052
|
+
})), new H(s, e, r));
|
3053
3053
|
}
|
3054
3054
|
}
|
3055
3055
|
/**
|
@@ -3124,7 +3124,7 @@ 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 ji(n = f()) {
|
3128
3128
|
var e;
|
3129
3129
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3130
3130
|
}
|
@@ -3186,12 +3186,12 @@ class Vi {
|
|
3186
3186
|
this.auth = e, this.queue = [];
|
3187
3187
|
}
|
3188
3188
|
pushCallback(e, t) {
|
3189
|
-
const r = (s) => new Promise((
|
3189
|
+
const r = (s) => new Promise((o, a) => {
|
3190
3190
|
try {
|
3191
3191
|
const c = e(s);
|
3192
|
-
a(c);
|
3193
|
-
} catch (c) {
|
3194
3192
|
o(c);
|
3193
|
+
} catch (c) {
|
3194
|
+
a(c);
|
3195
3195
|
}
|
3196
3196
|
});
|
3197
3197
|
r.onAbort = t, this.queue.push(r);
|
@@ -3236,7 +3236,7 @@ class Vi {
|
|
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 Hi(n, e = {}) {
|
3240
3240
|
return Z(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3241
3241
|
}
|
3242
3242
|
/**
|
@@ -3255,20 +3255,20 @@ async function ji(n, e = {}) {
|
|
3255
3255
|
* See the License for the specific language governing permissions and
|
3256
3256
|
* limitations under the License.
|
3257
3257
|
*/
|
3258
|
-
const
|
3259
|
-
class
|
3258
|
+
const Wi = 6;
|
3259
|
+
class Gi {
|
3260
3260
|
constructor(e) {
|
3261
3261
|
var t, r, i, s;
|
3262
|
-
const
|
3263
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t =
|
3262
|
+
const o = e.customStrengthOptions;
|
3263
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : Wi, o.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = o.maxPasswordLength), o.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = o.containsLowercaseCharacter), o.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = o.containsUppercaseCharacter), o.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = o.containsNumericCharacter), o.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = o.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
|
3264
3264
|
}
|
3265
3265
|
validatePassword(e) {
|
3266
|
-
var t, r, i, s,
|
3266
|
+
var t, r, i, s, o, a;
|
3267
3267
|
const c = {
|
3268
3268
|
isValid: !0,
|
3269
3269
|
passwordPolicy: this
|
3270
3270
|
};
|
3271
|
-
return this.validatePasswordLengthOptions(e, c), this.validatePasswordCharacterOptions(e, c), c.isValid && (c.isValid = (t = c.meetsMinPasswordLength) !== null && t !== void 0 ? t : !0), c.isValid && (c.isValid = (r = c.meetsMaxPasswordLength) !== null && r !== void 0 ? r : !0), c.isValid && (c.isValid = (i = c.containsLowercaseLetter) !== null && i !== void 0 ? i : !0), c.isValid && (c.isValid = (s = c.containsUppercaseLetter) !== null && s !== void 0 ? s : !0), c.isValid && (c.isValid = (
|
3271
|
+
return this.validatePasswordLengthOptions(e, c), this.validatePasswordCharacterOptions(e, c), c.isValid && (c.isValid = (t = c.meetsMinPasswordLength) !== null && t !== void 0 ? t : !0), c.isValid && (c.isValid = (r = c.meetsMaxPasswordLength) !== null && r !== void 0 ? r : !0), c.isValid && (c.isValid = (i = c.containsLowercaseLetter) !== null && i !== void 0 ? i : !0), c.isValid && (c.isValid = (s = c.containsUppercaseLetter) !== null && s !== void 0 ? s : !0), c.isValid && (c.isValid = (o = c.containsNumericCharacter) !== null && o !== void 0 ? o : !0), c.isValid && (c.isValid = (a = c.containsNonAlphanumericCharacter) !== null && a !== void 0 ? a : !0), c;
|
3272
3272
|
}
|
3273
3273
|
/**
|
3274
3274
|
* Validates that the password meets the length options for the policy.
|
@@ -3350,7 +3350,7 @@ class zi {
|
|
3350
3350
|
_initializeWithPersistence(e, t) {
|
3351
3351
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
3352
3352
|
var r, i;
|
3353
|
-
if (!this._deleted && (this.persistenceManager = await
|
3353
|
+
if (!this._deleted && (this.persistenceManager = await H.create(this, e), !this._deleted)) {
|
3354
3354
|
if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
|
3355
3355
|
try {
|
3356
3356
|
await this._popupRedirectResolver._initialize(this);
|
@@ -3381,7 +3381,7 @@ class zi {
|
|
3381
3381
|
}
|
3382
3382
|
async initializeCurrentUserFromIdToken(e) {
|
3383
3383
|
try {
|
3384
|
-
const t = await
|
3384
|
+
const t = await an(this, { idToken: e }), r = await y._fromGetAccountInfoResponse(this, t, e);
|
3385
3385
|
await this.directlySetCurrentUser(r);
|
3386
3386
|
} catch (t) {
|
3387
3387
|
console.warn("FirebaseServerApp could not login user with provided authIdToken: ", t), await this.directlySetCurrentUser(null);
|
@@ -3390,17 +3390,17 @@ class zi {
|
|
3390
3390
|
async initializeCurrentUser(e) {
|
3391
3391
|
var t;
|
3392
3392
|
if (I(this.app)) {
|
3393
|
-
const
|
3394
|
-
return
|
3395
|
-
setTimeout(() => this.initializeCurrentUserFromIdToken(
|
3393
|
+
const o = this.app.settings.authIdToken;
|
3394
|
+
return o ? new Promise((a) => {
|
3395
|
+
setTimeout(() => this.initializeCurrentUserFromIdToken(o).then(a, a));
|
3396
3396
|
}) : this.directlySetCurrentUser(null);
|
3397
3397
|
}
|
3398
3398
|
const r = await this.assertedPersistence.getCurrentUser();
|
3399
3399
|
let i = r, s = !1;
|
3400
3400
|
if (e && this.config.authDomain) {
|
3401
3401
|
await this.getOrInitRedirectPersistenceManager();
|
3402
|
-
const
|
3403
|
-
(!
|
3402
|
+
const o = (t = this.redirectUser) === null || t === void 0 ? void 0 : t._redirectEventId, a = i == null ? void 0 : i._redirectEventId, c = await this.tryRedirectSignIn(e);
|
3403
|
+
(!o || o === a) && (c != null && c.user) && (i = c.user, s = !0);
|
3404
3404
|
}
|
3405
3405
|
if (!i)
|
3406
3406
|
return this.directlySetCurrentUser(null);
|
@@ -3408,8 +3408,8 @@ class zi {
|
|
3408
3408
|
if (s)
|
3409
3409
|
try {
|
3410
3410
|
await this.beforeStateQueue.runMiddleware(i);
|
3411
|
-
} catch (
|
3412
|
-
i = r, this._popupRedirectResolver._overrideRedirectResult(this, () => Promise.reject(
|
3411
|
+
} catch (o) {
|
3412
|
+
i = r, this._popupRedirectResolver._overrideRedirectResult(this, () => Promise.reject(o));
|
3413
3413
|
}
|
3414
3414
|
return i ? this.reloadAndSetCurrentUserOrClear(i) : this.directlySetCurrentUser(null);
|
3415
3415
|
}
|
@@ -3490,7 +3490,7 @@ class zi {
|
|
3490
3490
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3491
3491
|
}
|
3492
3492
|
async _updatePasswordPolicy() {
|
3493
|
-
const e = await
|
3493
|
+
const e = await Hi(this), t = new Gi(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 H.create(
|
3558
3558
|
this,
|
3559
3559
|
[E(t._redirectPersistence)],
|
3560
3560
|
"redirectUser"
|
@@ -3602,24 +3602,24 @@ class zi {
|
|
3602
3602
|
return () => {
|
3603
3603
|
};
|
3604
3604
|
const s = typeof t == "function" ? t : t.next.bind(t);
|
3605
|
-
let
|
3606
|
-
const
|
3605
|
+
let o = !1;
|
3606
|
+
const a = this._isInitialized ? Promise.resolve() : this._initializationPromise;
|
3607
3607
|
if (d(
|
3608
|
-
|
3608
|
+
a,
|
3609
3609
|
this,
|
3610
3610
|
"internal-error"
|
3611
3611
|
/* AuthErrorCode.INTERNAL_ERROR */
|
3612
|
-
),
|
3613
|
-
|
3612
|
+
), a.then(() => {
|
3613
|
+
o || s(this.currentUser);
|
3614
3614
|
}), typeof t == "function") {
|
3615
3615
|
const c = e.addObserver(t, r, i);
|
3616
3616
|
return () => {
|
3617
|
-
|
3617
|
+
o = !0, c();
|
3618
3618
|
};
|
3619
3619
|
} else {
|
3620
3620
|
const c = e.addObserver(t);
|
3621
3621
|
return () => {
|
3622
|
-
|
3622
|
+
o = !0, c();
|
3623
3623
|
};
|
3624
3624
|
}
|
3625
3625
|
}
|
@@ -3725,7 +3725,7 @@ function $i(n) {
|
|
3725
3725
|
function Ji() {
|
3726
3726
|
return qe.gapiScript;
|
3727
3727
|
}
|
3728
|
-
function
|
3728
|
+
function Yi(n) {
|
3729
3729
|
return `__${n}${Math.floor(Math.random() * 1e6)}`;
|
3730
3730
|
}
|
3731
3731
|
/**
|
@@ -3744,8 +3744,8 @@ function Xi(n) {
|
|
3744
3744
|
* See the License for the specific language governing permissions and
|
3745
3745
|
* limitations under the License.
|
3746
3746
|
*/
|
3747
|
-
function
|
3748
|
-
const t =
|
3747
|
+
function Xi(n, e) {
|
3748
|
+
const t = Yt(n, "auth");
|
3749
3749
|
if (t.isInitialized()) {
|
3750
3750
|
const i = t.getImmediate(), s = t.getOptions();
|
3751
3751
|
if (de(s, e ?? {}))
|
@@ -3775,10 +3775,10 @@ function qi(n, e, t) {
|
|
3775
3775
|
"invalid-emulator-scheme"
|
3776
3776
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
3777
3777
|
);
|
3778
|
-
const i = !1, s = In(e), { host:
|
3779
|
-
r.config.emulator = { url: `${s}//${
|
3780
|
-
host:
|
3781
|
-
port:
|
3778
|
+
const i = !1, s = In(e), { host: o, port: a } = Qi(e), c = a === null ? "" : `:${a}`;
|
3779
|
+
r.config.emulator = { url: `${s}//${o}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
3780
|
+
host: o,
|
3781
|
+
port: a,
|
3782
3782
|
protocol: s.replace(":", ""),
|
3783
3783
|
options: Object.freeze({ disableWarnings: i })
|
3784
3784
|
}), es();
|
@@ -3796,8 +3796,8 @@ function Qi(n) {
|
|
3796
3796
|
const s = i[1];
|
3797
3797
|
return { host: s, port: wt(r.substr(s.length + 1)) };
|
3798
3798
|
} else {
|
3799
|
-
const [s,
|
3800
|
-
return { host: s, port: wt(
|
3799
|
+
const [s, o] = r.split(":");
|
3800
|
+
return { host: s, port: wt(o) };
|
3801
3801
|
}
|
3802
3802
|
}
|
3803
3803
|
function wt(n) {
|
@@ -3871,7 +3871,7 @@ class bn {
|
|
3871
3871
|
* See the License for the specific language governing permissions and
|
3872
3872
|
* limitations under the License.
|
3873
3873
|
*/
|
3874
|
-
async function
|
3874
|
+
async function W(n, e) {
|
3875
3875
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ge(n, e));
|
3876
3876
|
}
|
3877
3877
|
/**
|
@@ -3928,23 +3928,23 @@ class U extends bn {
|
|
3928
3928
|
const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
|
3929
3929
|
if (!r || !i)
|
3930
3930
|
return null;
|
3931
|
-
const
|
3932
|
-
return
|
3931
|
+
const o = new U(r, i);
|
3932
|
+
return o.idToken = s.idToken || void 0, o.accessToken = s.accessToken || void 0, o.secret = s.secret, o.nonce = s.nonce, o.pendingToken = s.pendingToken || null, o;
|
3933
3933
|
}
|
3934
3934
|
/** @internal */
|
3935
3935
|
_getIdTokenResponse(e) {
|
3936
3936
|
const t = this.buildRequest();
|
3937
|
-
return
|
3937
|
+
return W(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, W(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, W(e, t);
|
3948
3948
|
}
|
3949
3949
|
buildRequest() {
|
3950
3950
|
const e = {
|
@@ -4349,10 +4349,10 @@ class B {
|
|
4349
4349
|
this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
|
4350
4350
|
}
|
4351
4351
|
static async _fromIdTokenResponse(e, t, r, i = !1) {
|
4352
|
-
const s = await y._fromIdTokenResponse(e, r, i),
|
4352
|
+
const s = await y._fromIdTokenResponse(e, r, i), o = Rt(r);
|
4353
4353
|
return new B({
|
4354
4354
|
user: s,
|
4355
|
-
providerId:
|
4355
|
+
providerId: o,
|
4356
4356
|
_tokenResponse: r,
|
4357
4357
|
operationType: t
|
4358
4358
|
});
|
@@ -4443,16 +4443,16 @@ async function rs(n, e, t = !1) {
|
|
4443
4443
|
"internal-error"
|
4444
4444
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4445
4445
|
);
|
4446
|
-
const
|
4446
|
+
const o = Xe(s.idToken);
|
4447
4447
|
d(
|
4448
|
-
|
4448
|
+
o,
|
4449
4449
|
r,
|
4450
4450
|
"internal-error"
|
4451
4451
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4452
4452
|
);
|
4453
|
-
const { sub:
|
4453
|
+
const { sub: a } = o;
|
4454
4454
|
return d(
|
4455
|
-
n.uid ===
|
4455
|
+
n.uid === a,
|
4456
4456
|
r,
|
4457
4457
|
"user-mismatch"
|
4458
4458
|
/* AuthErrorCode.USER_MISMATCH */
|
@@ -4522,7 +4522,7 @@ async function ss(n, e) {
|
|
4522
4522
|
* See the License for the specific language governing permissions and
|
4523
4523
|
* limitations under the License.
|
4524
4524
|
*/
|
4525
|
-
async function
|
4525
|
+
async function os(n, e) {
|
4526
4526
|
if (I(n.app))
|
4527
4527
|
return Promise.reject(P(n));
|
4528
4528
|
const t = ve(n), r = await ss(t, {
|
@@ -4531,7 +4531,7 @@ async function as(n, e) {
|
|
4531
4531
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
4532
4532
|
return await t._updateCurrentUser(i.user), i;
|
4533
4533
|
}
|
4534
|
-
function
|
4534
|
+
function as(n, e, t, r) {
|
4535
4535
|
return z(n).onIdTokenChanged(e, t, r);
|
4536
4536
|
}
|
4537
4537
|
function cs(n, e, t) {
|
@@ -4612,16 +4612,16 @@ class wn extends Tn {
|
|
4612
4612
|
}
|
4613
4613
|
onStorageEvent(e, t = !1) {
|
4614
4614
|
if (!e.key) {
|
4615
|
-
this.forAllChangedKeys((
|
4616
|
-
this.notifyListeners(
|
4615
|
+
this.forAllChangedKeys((o, a, c) => {
|
4616
|
+
this.notifyListeners(o, c);
|
4617
4617
|
});
|
4618
4618
|
return;
|
4619
4619
|
}
|
4620
4620
|
const r = e.key;
|
4621
4621
|
t ? this.detachListener() : this.stopPolling();
|
4622
4622
|
const i = () => {
|
4623
|
-
const
|
4624
|
-
!t && this.localCache[r] ===
|
4623
|
+
const o = this.storage.getItem(r);
|
4624
|
+
!t && this.localCache[r] === o || this.notifyListeners(r, o);
|
4625
4625
|
}, s = this.storage.getItem(r);
|
4626
4626
|
xi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ds) : i();
|
4627
4627
|
}
|
@@ -4785,15 +4785,15 @@ class Ie {
|
|
4785
4785
|
*
|
4786
4786
|
*/
|
4787
4787
|
async handleEvent(e) {
|
4788
|
-
const t = e, { eventId: r, eventType: i, data: s } = t.data,
|
4789
|
-
if (!(
|
4788
|
+
const t = e, { eventId: r, eventType: i, data: s } = t.data, o = this.handlersMap[i];
|
4789
|
+
if (!(o != null && o.size))
|
4790
4790
|
return;
|
4791
4791
|
t.ports[0].postMessage({
|
4792
4792
|
status: "ack",
|
4793
4793
|
eventId: r,
|
4794
4794
|
eventType: i
|
4795
4795
|
});
|
4796
|
-
const
|
4796
|
+
const a = Array.from(o).map(async (l) => l(t.origin, s)), c = await hs(a);
|
4797
4797
|
t.ports[0].postMessage({
|
4798
4798
|
status: "done",
|
4799
4799
|
eventId: r,
|
@@ -4893,8 +4893,8 @@ class ps {
|
|
4893
4893
|
"connection_unavailable"
|
4894
4894
|
/* _MessageError.CONNECTION_UNAVAILABLE */
|
4895
4895
|
);
|
4896
|
-
let s,
|
4897
|
-
return new Promise((
|
4896
|
+
let s, o;
|
4897
|
+
return new Promise((a, c) => {
|
4898
4898
|
const l = Qe("", 20);
|
4899
4899
|
i.port1.start();
|
4900
4900
|
const u = setTimeout(() => {
|
@@ -4903,7 +4903,7 @@ class ps {
|
|
4903
4903
|
/* _MessageError.UNSUPPORTED_EVENT */
|
4904
4904
|
));
|
4905
4905
|
}, r);
|
4906
|
-
|
4906
|
+
o = {
|
4907
4907
|
messageChannel: i,
|
4908
4908
|
onMessage(p) {
|
4909
4909
|
const m = p;
|
@@ -4922,7 +4922,7 @@ class ps {
|
|
4922
4922
|
);
|
4923
4923
|
break;
|
4924
4924
|
case "done":
|
4925
|
-
clearTimeout(s),
|
4925
|
+
clearTimeout(s), a(m.data.response);
|
4926
4926
|
break;
|
4927
4927
|
default:
|
4928
4928
|
clearTimeout(u), clearTimeout(s), c(new Error(
|
@@ -4932,13 +4932,13 @@ class ps {
|
|
4932
4932
|
break;
|
4933
4933
|
}
|
4934
4934
|
}
|
4935
|
-
}, this.handlers.add(
|
4935
|
+
}, this.handlers.add(o), i.port1.addEventListener("message", o.onMessage), this.target.postMessage({
|
4936
4936
|
eventType: e,
|
4937
4937
|
eventId: l,
|
4938
4938
|
data: t
|
4939
4939
|
}, [i.port2]);
|
4940
4940
|
}).finally(() => {
|
4941
|
-
|
4941
|
+
o && this.removeMessageHandler(o);
|
4942
4942
|
});
|
4943
4943
|
}
|
4944
4944
|
}
|
@@ -5272,13 +5272,13 @@ class et extends bn {
|
|
5272
5272
|
), this.params = e;
|
5273
5273
|
}
|
5274
5274
|
_getIdTokenResponse(e) {
|
5275
|
-
return
|
5275
|
+
return W(e, this._buildIdpRequest());
|
5276
5276
|
}
|
5277
5277
|
_linkToIdToken(e, t) {
|
5278
|
-
return
|
5278
|
+
return W(e, this._buildIdpRequest(t));
|
5279
5279
|
}
|
5280
5280
|
_getReauthenticationResolver(e) {
|
5281
|
-
return
|
5281
|
+
return W(e, this._buildIdpRequest());
|
5282
5282
|
}
|
5283
5283
|
_buildIdpRequest(e) {
|
5284
5284
|
const t = {
|
@@ -5345,9 +5345,9 @@ class Nn {
|
|
5345
5345
|
});
|
5346
5346
|
}
|
5347
5347
|
async onAuthEvent(e) {
|
5348
|
-
const { urlResponse: t, sessionId: r, postBody: i, tenantId: s, error:
|
5349
|
-
if (
|
5350
|
-
this.reject(
|
5348
|
+
const { urlResponse: t, sessionId: r, postBody: i, tenantId: s, error: o, type: a } = e;
|
5349
|
+
if (o) {
|
5350
|
+
this.reject(o);
|
5351
5351
|
return;
|
5352
5352
|
}
|
5353
5353
|
const c = {
|
@@ -5360,7 +5360,7 @@ class Nn {
|
|
5360
5360
|
bypassAuthState: this.bypassAuthState
|
5361
5361
|
};
|
5362
5362
|
try {
|
5363
|
-
this.resolve(await this.getIdpTask(
|
5363
|
+
this.resolve(await this.getIdpTask(a)(c));
|
5364
5364
|
} catch (l) {
|
5365
5365
|
this.reject(l);
|
5366
5366
|
}
|
@@ -5414,9 +5414,9 @@ class Nn {
|
|
5414
5414
|
* limitations under the License.
|
5415
5415
|
*/
|
5416
5416
|
const As = new te(2e3, 1e4);
|
5417
|
-
class
|
5417
|
+
class j 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, j.currentPopupAction && j.currentPopupAction.cancel(), j.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, j.currentPopupAction = null;
|
5462
5462
|
}
|
5463
5463
|
pollUserCancellation() {
|
5464
5464
|
const e = () => {
|
@@ -5482,7 +5482,7 @@ class H extends Nn {
|
|
5482
5482
|
e();
|
5483
5483
|
}
|
5484
5484
|
}
|
5485
|
-
|
5485
|
+
j.currentPopupAction = null;
|
5486
5486
|
/**
|
5487
5487
|
* @license
|
5488
5488
|
* Copyright 2020 Google LLC
|
@@ -5499,7 +5499,7 @@ H.currentPopupAction = null;
|
|
5499
5499
|
* See the License for the specific language governing permissions and
|
5500
5500
|
* limitations under the License.
|
5501
5501
|
*/
|
5502
|
-
const Os = "pendingRedirect",
|
5502
|
+
const Os = "pendingRedirect", ae = /* @__PURE__ */ new Map();
|
5503
5503
|
class Cs extends Nn {
|
5504
5504
|
constructor(e, t, r = !1) {
|
5505
5505
|
super(e, [
|
@@ -5515,7 +5515,7 @@ class Cs extends Nn {
|
|
5515
5515
|
* just return it.
|
5516
5516
|
*/
|
5517
5517
|
async execute() {
|
5518
|
-
let e =
|
5518
|
+
let e = ae.get(this.auth._key());
|
5519
5519
|
if (!e) {
|
5520
5520
|
try {
|
5521
5521
|
const r = await Ns(this.resolver, this.auth) ? await super.execute() : null;
|
@@ -5523,9 +5523,9 @@ class Cs extends Nn {
|
|
5523
5523
|
} catch (t) {
|
5524
5524
|
e = () => Promise.reject(t);
|
5525
5525
|
}
|
5526
|
-
|
5526
|
+
ae.set(this.auth._key(), e);
|
5527
5527
|
}
|
5528
|
-
return this.bypassAuthState ||
|
5528
|
+
return this.bypassAuthState || ae.set(this.auth._key(), () => Promise.resolve(null)), e();
|
5529
5529
|
}
|
5530
5530
|
async onAuthEvent(e) {
|
5531
5531
|
if (e.type === "signInViaRedirect")
|
@@ -5554,19 +5554,19 @@ async function Ns(n, e) {
|
|
5554
5554
|
return await r._remove(t), i;
|
5555
5555
|
}
|
5556
5556
|
function Ds(n, e) {
|
5557
|
-
|
5557
|
+
ae.set(n._key(), e);
|
5558
5558
|
}
|
5559
5559
|
function Ps(n) {
|
5560
5560
|
return E(n._redirectPersistence);
|
5561
5561
|
}
|
5562
5562
|
function Ms(n) {
|
5563
|
-
return
|
5563
|
+
return oe(Os, n.config.apiKey, n.name);
|
5564
5564
|
}
|
5565
5565
|
async function Ls(n, e, t = !1) {
|
5566
5566
|
if (I(n.app))
|
5567
5567
|
return Promise.reject(P(n));
|
5568
|
-
const r = ve(n), i = ws(r, e),
|
5569
|
-
return
|
5568
|
+
const r = ve(n), i = ws(r, e), o = await new Cs(r, i, t).execute();
|
5569
|
+
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5570
5570
|
}
|
5571
5571
|
/**
|
5572
5572
|
* @license
|
@@ -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 js(n, e = {}) {
|
5660
5660
|
return Z(n, "GET", "/v1/projects", e);
|
5661
5661
|
}
|
5662
5662
|
/**
|
@@ -5676,13 +5676,13 @@ async function Hs(n, e = {}) {
|
|
5676
5676
|
* limitations under the License.
|
5677
5677
|
*/
|
5678
5678
|
const xs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Vs = /^https?/;
|
5679
|
-
async function
|
5679
|
+
async function Hs(n) {
|
5680
5680
|
if (n.config.emulator)
|
5681
5681
|
return;
|
5682
|
-
const { authorizedDomains: e } = await
|
5682
|
+
const { authorizedDomains: e } = await js(n);
|
5683
5683
|
for (const t of e)
|
5684
5684
|
try {
|
5685
|
-
if (
|
5685
|
+
if (Ws(t))
|
5686
5686
|
return;
|
5687
5687
|
} catch {
|
5688
5688
|
}
|
@@ -5692,11 +5692,11 @@ async function js(n) {
|
|
5692
5692
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5693
5693
|
);
|
5694
5694
|
}
|
5695
|
-
function
|
5696
|
-
const e =
|
5695
|
+
function Ws(n) {
|
5696
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
5697
5697
|
if (n.startsWith("chrome-extension://")) {
|
5698
|
-
const
|
5699
|
-
return
|
5698
|
+
const o = new URL(n);
|
5699
|
+
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5700
5700
|
}
|
5701
5701
|
if (!Vs.test(t))
|
5702
5702
|
return !1;
|
@@ -5721,7 +5721,7 @@ function Gs(n) {
|
|
5721
5721
|
* See the License for the specific language governing permissions and
|
5722
5722
|
* limitations under the License.
|
5723
5723
|
*/
|
5724
|
-
const
|
5724
|
+
const Gs = new te(3e4, 6e4);
|
5725
5725
|
function Ot() {
|
5726
5726
|
const n = g().___jsl;
|
5727
5727
|
if (n != null && n.H) {
|
@@ -5734,7 +5734,7 @@ function Ot() {
|
|
5734
5734
|
function zs(n) {
|
5735
5735
|
return new Promise((e, t) => {
|
5736
5736
|
var r, i, s;
|
5737
|
-
function
|
5737
|
+
function o() {
|
5738
5738
|
Ot(), gapi.load("gapi.iframes", {
|
5739
5739
|
callback: () => {
|
5740
5740
|
e(gapi.iframes.getContext());
|
@@ -5746,22 +5746,22 @@ function zs(n) {
|
|
5746
5746
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5747
5747
|
));
|
5748
5748
|
},
|
5749
|
-
timeout:
|
5749
|
+
timeout: Gs.get()
|
5750
5750
|
});
|
5751
5751
|
}
|
5752
5752
|
if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
|
5753
5753
|
e(gapi.iframes.getContext());
|
5754
5754
|
else if (!((s = g().gapi) === null || s === void 0) && s.load)
|
5755
|
-
|
5755
|
+
o();
|
5756
5756
|
else {
|
5757
|
-
const
|
5758
|
-
return g()[
|
5759
|
-
gapi.load ?
|
5757
|
+
const a = Yi("iframefcb");
|
5758
|
+
return g()[a] = () => {
|
5759
|
+
gapi.load ? o() : t(_(
|
5760
5760
|
n,
|
5761
5761
|
"network-request-failed"
|
5762
5762
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5763
5763
|
));
|
5764
|
-
}, $i(`${Ji()}?onload=${
|
5764
|
+
}, $i(`${Ji()}?onload=${a}`).catch((c) => t(c));
|
5765
5765
|
}
|
5766
5766
|
}).catch((e) => {
|
5767
5767
|
throw ce = null, e;
|
@@ -5787,7 +5787,7 @@ function Zs(n) {
|
|
5787
5787
|
* See the License for the specific language governing permissions and
|
5788
5788
|
* limitations under the License.
|
5789
5789
|
*/
|
5790
|
-
const $s = new te(5e3, 15e3), Js = "__/auth/iframe",
|
5790
|
+
const $s = new te(5e3, 15e3), Js = "__/auth/iframe", Ys = "emulator/auth/iframe", Xs = {
|
5791
5791
|
style: {
|
5792
5792
|
position: "absolute",
|
5793
5793
|
top: "-100px",
|
@@ -5810,7 +5810,7 @@ function qs(n) {
|
|
5810
5810
|
"auth-domain-config-required"
|
5811
5811
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5812
5812
|
);
|
5813
|
-
const t = e.emulator ?
|
5813
|
+
const t = e.emulator ? Ye(e, Ys) : `https://${n.config.authDomain}/${Js}`, r = {
|
5814
5814
|
apiKey: e.apiKey,
|
5815
5815
|
appName: n.name,
|
5816
5816
|
v: ee
|
@@ -5830,25 +5830,25 @@ async function Qs(n) {
|
|
5830
5830
|
where: document.body,
|
5831
5831
|
url: qs(n),
|
5832
5832
|
messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
|
5833
|
-
attributes:
|
5833
|
+
attributes: Xs,
|
5834
5834
|
dontclear: !0
|
5835
5835
|
}, (r) => new Promise(async (i, s) => {
|
5836
5836
|
await r.restyle({
|
5837
5837
|
// Prevent iframe from closing on mouse out.
|
5838
5838
|
setHideOnLeave: !1
|
5839
5839
|
});
|
5840
|
-
const
|
5840
|
+
const o = _(
|
5841
5841
|
n,
|
5842
5842
|
"network-request-failed"
|
5843
5843
|
/* AuthErrorCode.NETWORK_REQUEST_FAILED */
|
5844
|
-
),
|
5845
|
-
s(
|
5844
|
+
), a = g().setTimeout(() => {
|
5845
|
+
s(o);
|
5846
5846
|
}, $s.get());
|
5847
5847
|
function c() {
|
5848
|
-
g().clearTimeout(
|
5848
|
+
g().clearTimeout(a), i(r);
|
5849
5849
|
}
|
5850
5850
|
r.ping(c).then(c, () => {
|
5851
|
-
s(
|
5851
|
+
s(o);
|
5852
5852
|
});
|
5853
5853
|
}));
|
5854
5854
|
}
|
@@ -5868,12 +5868,12 @@ async function Qs(n) {
|
|
5868
5868
|
* See the License for the specific language governing permissions and
|
5869
5869
|
* limitations under the License.
|
5870
5870
|
*/
|
5871
|
-
const
|
5871
|
+
const eo = {
|
5872
5872
|
location: "yes",
|
5873
5873
|
resizable: "yes",
|
5874
5874
|
statusbar: "yes",
|
5875
5875
|
toolbar: "no"
|
5876
|
-
},
|
5876
|
+
}, to = 500, no = 600, ro = "_blank", io = "http://localhost";
|
5877
5877
|
class Ct {
|
5878
5878
|
constructor(e) {
|
5879
5879
|
this.window = e, this.associatedEvent = null;
|
@@ -5886,20 +5886,20 @@ class Ct {
|
|
5886
5886
|
}
|
5887
5887
|
}
|
5888
5888
|
}
|
5889
|
-
function
|
5890
|
-
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(),
|
5891
|
-
let
|
5892
|
-
const c = Object.assign(Object.assign({},
|
5889
|
+
function so(n, e, t, r = to, i = no) {
|
5890
|
+
const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), o = Math.max((window.screen.availWidth - r) / 2, 0).toString();
|
5891
|
+
let a = "";
|
5892
|
+
const c = Object.assign(Object.assign({}, eo), {
|
5893
5893
|
width: r.toString(),
|
5894
5894
|
height: i.toString(),
|
5895
5895
|
top: s,
|
5896
|
-
left:
|
5896
|
+
left: o
|
5897
5897
|
}), l = f().toLowerCase();
|
5898
|
-
t && (
|
5898
|
+
t && (a = hn(l) ? ro : t), dn(l) && (e = e || io, c.scrollbars = "yes");
|
5899
5899
|
const u = Object.entries(c).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
5900
|
-
if (
|
5901
|
-
return
|
5902
|
-
const p = window.open(e || "",
|
5900
|
+
if (ji(l) && a !== "_self")
|
5901
|
+
return oo(e || "", a), new Ct(null);
|
5902
|
+
const p = window.open(e || "", a, u);
|
5903
5903
|
d(
|
5904
5904
|
p,
|
5905
5905
|
n,
|
@@ -5912,7 +5912,7 @@ function sa(n, e, t, r = ta, i = na) {
|
|
5912
5912
|
}
|
5913
5913
|
return new Ct(p);
|
5914
5914
|
}
|
5915
|
-
function
|
5915
|
+
function oo(n, e) {
|
5916
5916
|
const t = document.createElement("a");
|
5917
5917
|
t.href = n, t.target = e;
|
5918
5918
|
const r = document.createEvent("MouseEvent");
|
@@ -5934,7 +5934,7 @@ function aa(n, e) {
|
|
5934
5934
|
* See the License for the specific language governing permissions and
|
5935
5935
|
* limitations under the License.
|
5936
5936
|
*/
|
5937
|
-
const
|
5937
|
+
const ao = "__/auth/handler", co = "emulator/auth/handler", lo = encodeURIComponent("fac");
|
5938
5938
|
async function Nt(n, e, t, r, i, s) {
|
5939
5939
|
d(
|
5940
5940
|
n.config.authDomain,
|
@@ -5947,7 +5947,7 @@ async function Nt(n, e, t, r, i, s) {
|
|
5947
5947
|
"invalid-api-key"
|
5948
5948
|
/* AuthErrorCode.INVALID_API_KEY */
|
5949
5949
|
);
|
5950
|
-
const
|
5950
|
+
const o = {
|
5951
5951
|
apiKey: n.config.apiKey,
|
5952
5952
|
appName: n.name,
|
5953
5953
|
authType: t,
|
@@ -5956,23 +5956,23 @@ async function Nt(n, e, t, r, i, s) {
|
|
5956
5956
|
eventId: i
|
5957
5957
|
};
|
5958
5958
|
if (e instanceof yn) {
|
5959
|
-
e.setDefaultLanguage(n.languageCode),
|
5959
|
+
e.setDefaultLanguage(n.languageCode), o.providerId = e.providerId || "", lr(e.getCustomParameters()) || (o.customParameters = JSON.stringify(e.getCustomParameters()));
|
5960
5960
|
for (const [u, p] of Object.entries({}))
|
5961
|
-
|
5961
|
+
o[u] = p;
|
5962
5962
|
}
|
5963
5963
|
if (e instanceof ne) {
|
5964
5964
|
const u = e.getScopes().filter((p) => p !== "");
|
5965
|
-
u.length > 0 && (
|
5965
|
+
u.length > 0 && (o.scopes = u.join(","));
|
5966
5966
|
}
|
5967
|
-
n.tenantId && (
|
5968
|
-
const
|
5969
|
-
for (const u of Object.keys(
|
5970
|
-
|
5971
|
-
const c = await n._getAppCheckToken(), l = c ? `#${
|
5972
|
-
return `${
|
5967
|
+
n.tenantId && (o.tid = n.tenantId);
|
5968
|
+
const a = o;
|
5969
|
+
for (const u of Object.keys(a))
|
5970
|
+
a[u] === void 0 && delete a[u];
|
5971
|
+
const c = await n._getAppCheckToken(), l = c ? `#${lo}=${encodeURIComponent(c)}` : "";
|
5972
|
+
return `${uo(n)}?${Q(a).slice(1)}${l}`;
|
5973
5973
|
}
|
5974
|
-
function
|
5975
|
-
return n.emulator ?
|
5974
|
+
function uo({ config: n }) {
|
5975
|
+
return n.emulator ? Ye(n, co) : `https://${n.authDomain}/${ao}`;
|
5976
5976
|
}
|
5977
5977
|
/**
|
5978
5978
|
* @license
|
@@ -5991,7 +5991,7 @@ function da({ config: n }) {
|
|
5991
5991
|
* limitations under the License.
|
5992
5992
|
*/
|
5993
5993
|
const Ne = "webStorageSupport";
|
5994
|
-
class
|
5994
|
+
class ho {
|
5995
5995
|
constructor() {
|
5996
5996
|
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ls, this._overrideRedirectResult = Ds;
|
5997
5997
|
}
|
@@ -6000,12 +6000,12 @@ class ua {
|
|
6000
6000
|
async _openPopup(e, t, r, i) {
|
6001
6001
|
var s;
|
6002
6002
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
6003
|
-
const
|
6004
|
-
return
|
6003
|
+
const o = await Nt(e, t, r, je(), i);
|
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, je(), i);
|
6009
6009
|
return fs(s), new Promise(() => {
|
6010
6010
|
});
|
6011
6011
|
}
|
@@ -6035,8 +6035,8 @@ class ua {
|
|
6035
6035
|
_isIframeWebStorageSupported(e, t) {
|
6036
6036
|
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6037
6037
|
var s;
|
6038
|
-
const
|
6039
|
-
|
6038
|
+
const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6039
|
+
o !== void 0 && t(!!o), w(
|
6040
6040
|
e,
|
6041
6041
|
"internal-error"
|
6042
6042
|
/* AuthErrorCode.INTERNAL_ERROR */
|
@@ -6045,13 +6045,13 @@ class ua {
|
|
6045
6045
|
}
|
6046
6046
|
_originValidation(e) {
|
6047
6047
|
const t = e._key();
|
6048
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6048
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Hs(e)), this.originValidationPromises[t];
|
6049
6049
|
}
|
6050
6050
|
get _shouldInitProactively() {
|
6051
6051
|
return gn() || un() || Ke();
|
6052
6052
|
}
|
6053
6053
|
}
|
6054
|
-
const
|
6054
|
+
const po = ho;
|
6055
6055
|
var Dt = "@firebase/auth", Pt = "1.7.9";
|
6056
6056
|
/**
|
6057
6057
|
* @license
|
@@ -6069,7 +6069,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
|
|
6069
6069
|
* See the License for the specific language governing permissions and
|
6070
6070
|
* limitations under the License.
|
6071
6071
|
*/
|
6072
|
-
class
|
6072
|
+
class fo {
|
6073
6073
|
constructor(e) {
|
6074
6074
|
this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
|
6075
6075
|
}
|
@@ -6120,7 +6120,7 @@ class pa {
|
|
6120
6120
|
* See the License for the specific language governing permissions and
|
6121
6121
|
* limitations under the License.
|
6122
6122
|
*/
|
6123
|
-
function
|
6123
|
+
function mo(n) {
|
6124
6124
|
switch (n) {
|
6125
6125
|
case "Node":
|
6126
6126
|
return "node";
|
@@ -6136,15 +6136,15 @@ function fa(n) {
|
|
6136
6136
|
return;
|
6137
6137
|
}
|
6138
6138
|
}
|
6139
|
-
function
|
6140
|
-
|
6139
|
+
function _o(n) {
|
6140
|
+
Y(new G(
|
6141
6141
|
"auth",
|
6142
6142
|
(e, { options: t }) => {
|
6143
|
-
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey:
|
6144
|
-
d(
|
6143
|
+
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
|
6144
|
+
d(o && !o.includes(":"), "invalid-api-key", { appName: r.name });
|
6145
6145
|
const c = {
|
6146
|
-
apiKey:
|
6147
|
-
authDomain:
|
6146
|
+
apiKey: o,
|
6147
|
+
authDomain: a,
|
6148
6148
|
clientPlatform: n,
|
6149
6149
|
apiHost: "identitytoolkit.googleapis.com",
|
6150
6150
|
tokenApiHost: "securetoken.googleapis.com",
|
@@ -6163,21 +6163,21 @@ function ma(n) {
|
|
6163
6163
|
"auth-internal"
|
6164
6164
|
/* _ComponentName.AUTH_INTERNAL */
|
6165
6165
|
).initialize();
|
6166
|
-
})),
|
6166
|
+
})), Y(new G(
|
6167
6167
|
"auth-internal",
|
6168
6168
|
(e) => {
|
6169
6169
|
const t = ve(e.getProvider(
|
6170
6170
|
"auth"
|
6171
6171
|
/* _ComponentName.AUTH */
|
6172
6172
|
).getImmediate());
|
6173
|
-
return ((r) => new
|
6173
|
+
return ((r) => new fo(r))(t);
|
6174
6174
|
},
|
6175
6175
|
"PRIVATE"
|
6176
6176
|
/* ComponentType.PRIVATE */
|
6177
6177
|
).setInstantiationMode(
|
6178
6178
|
"EXPLICIT"
|
6179
6179
|
/* InstantiationMode.EXPLICIT */
|
6180
|
-
)), x(Dt, Pt,
|
6180
|
+
)), x(Dt, Pt, mo(n)), x(Dt, Pt, "esm2017");
|
6181
6181
|
}
|
6182
6182
|
/**
|
6183
6183
|
* @license
|
@@ -6195,11 +6195,11 @@ function ma(n) {
|
|
6195
6195
|
* See the License for the specific language governing permissions and
|
6196
6196
|
* limitations under the License.
|
6197
6197
|
*/
|
6198
|
-
const
|
6198
|
+
const go = 5 * 60, vo = zt("authIdTokenMaxAge") || go;
|
6199
6199
|
let Mt = null;
|
6200
|
-
const
|
6200
|
+
const Io = (n) => async (e) => {
|
6201
6201
|
const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
|
6202
|
-
if (r && r >
|
6202
|
+
if (r && r > vo)
|
6203
6203
|
return;
|
6204
6204
|
const i = t == null ? void 0 : t.token;
|
6205
6205
|
Mt !== i && (Mt = i, await fetch(n, {
|
@@ -6209,12 +6209,12 @@ const va = (n) => async (e) => {
|
|
6209
6209
|
} : {}
|
6210
6210
|
}));
|
6211
6211
|
};
|
6212
|
-
function
|
6213
|
-
const e =
|
6212
|
+
function bo(n = ui()) {
|
6213
|
+
const e = Yt(n, "auth");
|
6214
6214
|
if (e.isInitialized())
|
6215
6215
|
return e.getImmediate();
|
6216
|
-
const t =
|
6217
|
-
popupRedirectResolver:
|
6216
|
+
const t = Xi(n, {
|
6217
|
+
popupRedirectResolver: po,
|
6218
6218
|
persistence: [
|
6219
6219
|
Ts,
|
6220
6220
|
us,
|
@@ -6224,14 +6224,14 @@ function Ia(n = ui()) {
|
|
6224
6224
|
if (r && typeof isSecureContext == "boolean" && isSecureContext) {
|
6225
6225
|
const s = new URL(r, location.origin);
|
6226
6226
|
if (location.origin === s.origin) {
|
6227
|
-
const
|
6228
|
-
cs(t,
|
6227
|
+
const o = Io(s.toString());
|
6228
|
+
cs(t, o, () => o(t.currentUser)), as(t, (a) => o(a));
|
6229
6229
|
}
|
6230
6230
|
}
|
6231
|
-
const i =
|
6231
|
+
const i = Wt("auth");
|
6232
6232
|
return i && qi(t, `http://${i}`), t;
|
6233
6233
|
}
|
6234
|
-
function
|
6234
|
+
function yo() {
|
6235
6235
|
var n, e;
|
6236
6236
|
return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
|
6237
6237
|
}
|
@@ -6245,142 +6245,142 @@ Zi({
|
|
6245
6245
|
/* AuthErrorCode.INTERNAL_ERROR */
|
6246
6246
|
);
|
6247
6247
|
s.customData = i, t(s);
|
6248
|
-
}, r.type = "text/javascript", r.charset = "UTF-8",
|
6248
|
+
}, r.type = "text/javascript", r.charset = "UTF-8", yo().appendChild(r);
|
6249
6249
|
});
|
6250
6250
|
},
|
6251
6251
|
gapiScript: "https://apis.google.com/js/api.js",
|
6252
6252
|
recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
|
6253
6253
|
recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
|
6254
6254
|
});
|
6255
|
-
|
6255
|
+
_o(
|
6256
6256
|
"Browser"
|
6257
6257
|
/* ClientPlatform.BROWSER */
|
6258
6258
|
);
|
6259
|
-
const
|
6259
|
+
const Eo = Ln({
|
6260
6260
|
history: Un(),
|
6261
|
-
routes: [...
|
6261
|
+
routes: [...Ge, ...We]
|
6262
6262
|
});
|
6263
6263
|
let De, Pe;
|
6264
|
-
|
6264
|
+
Eo.beforeEach(async (n) => {
|
6265
6265
|
const {
|
6266
6266
|
sessionUser: e,
|
6267
6267
|
currentRestaurant: t,
|
6268
6268
|
currentBusiness: r,
|
6269
6269
|
readRestaurants: i,
|
6270
6270
|
changeRestaurant: s
|
6271
|
-
} =
|
6272
|
-
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((
|
6273
|
-
const
|
6271
|
+
} = He();
|
6272
|
+
return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (De || (De = new Promise((o) => {
|
6273
|
+
const a = $(e, (c) => {
|
6274
6274
|
var l;
|
6275
|
-
c && (
|
6275
|
+
c && (a(), o(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
|
6276
6276
|
});
|
6277
6277
|
})), De) : !r.value || !t.value ? (Pe || (Pe = Promise.all([
|
6278
|
-
new Promise(async (
|
6279
|
-
const
|
6280
|
-
c && (
|
6278
|
+
new Promise(async (o) => {
|
6279
|
+
const a = $(r, (c) => {
|
6280
|
+
c && (a(), o(!0));
|
6281
6281
|
});
|
6282
6282
|
}),
|
6283
|
-
new Promise(async (
|
6284
|
-
const
|
6285
|
-
l && (
|
6283
|
+
new Promise(async (o) => {
|
6284
|
+
const a = $(t, (l) => {
|
6285
|
+
l && (a(), o(!0));
|
6286
6286
|
}), c = await i();
|
6287
6287
|
await s(c == null ? void 0 : c.at(0));
|
6288
6288
|
})
|
6289
|
-
]).then((
|
6289
|
+
]).then((o) => !0)), Pe) : !0;
|
6290
6290
|
});
|
6291
|
-
const
|
6291
|
+
const To = /* @__PURE__ */ Ut({
|
6292
6292
|
__name: "AppSidebar",
|
6293
6293
|
setup(n) {
|
6294
|
-
const e =
|
6294
|
+
const e = He(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6295
6295
|
$(t.currentRoute, () => {
|
6296
|
-
let
|
6297
|
-
t.currentRoute.value.meta.parent && (
|
6296
|
+
let a = t.currentRoute.value.name;
|
6297
|
+
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
6298
6298
|
});
|
6299
|
-
const i =
|
6299
|
+
const i = Ge.map((a) => {
|
6300
6300
|
var l;
|
6301
|
-
if (!((l =
|
6301
|
+
if (!((l = a.meta) != null && l.sidebarDisplay))
|
6302
6302
|
return;
|
6303
6303
|
const c = {
|
6304
|
-
label:
|
6305
|
-
value:
|
6304
|
+
label: a.meta.sidebarDisplay,
|
6305
|
+
value: a.name,
|
6306
6306
|
action: () => {
|
6307
|
-
if (t.currentRoute.value.name !==
|
6308
|
-
return t.push({ name:
|
6307
|
+
if (t.currentRoute.value.name !== a.name)
|
6308
|
+
return t.push({ name: a.name });
|
6309
6309
|
}
|
6310
6310
|
};
|
6311
|
-
return
|
6312
|
-
}).filter((
|
6311
|
+
return a.meta.sidebarNew && (c.badge = () => jn(Wn.FmPill, { label: "New" })), c;
|
6312
|
+
}).filter((a) => !!a), s = We.map((a) => {
|
6313
6313
|
var c;
|
6314
|
-
if ((c =
|
6314
|
+
if ((c = a.meta) != null && c.sidebarDisplay)
|
6315
6315
|
return {
|
6316
|
-
label:
|
6317
|
-
value:
|
6316
|
+
label: a.meta.sidebarDisplay,
|
6317
|
+
value: a.name,
|
6318
6318
|
action: () => {
|
6319
|
-
if (t.currentRoute.value.name !==
|
6320
|
-
return t.push({ name:
|
6319
|
+
if (t.currentRoute.value.name !== a.name)
|
6320
|
+
return t.push({ name: a.name });
|
6321
6321
|
}
|
6322
6322
|
};
|
6323
|
-
}).filter((
|
6323
|
+
}).filter((a) => !!a), o = Lt(() => {
|
6324
6324
|
var c;
|
6325
|
-
const
|
6326
|
-
return (c = e.sessionUser.value) != null && c.isInternal && (
|
6325
|
+
const a = [...i];
|
6326
|
+
return (c = e.sessionUser.value) != null && c.isInternal && (a.push({
|
6327
6327
|
label: "",
|
6328
6328
|
value: "divider",
|
6329
6329
|
disabled: !0
|
6330
|
-
}),
|
6330
|
+
}), a.push({
|
6331
6331
|
label: "Admin Panel",
|
6332
6332
|
icon: "admin_panel_settings",
|
6333
6333
|
value: "divider",
|
6334
6334
|
disabled: !0
|
6335
|
-
}),
|
6335
|
+
}), a.push(...s)), a;
|
6336
6336
|
});
|
6337
|
-
return (
|
6337
|
+
return (a, c) => {
|
6338
6338
|
const l = Bt("FmCollapsibleTabs");
|
6339
|
-
return Ft(),
|
6339
|
+
return Ft(), jt(l, {
|
6340
6340
|
modelValue: r.value,
|
6341
6341
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
6342
|
-
items:
|
6342
|
+
items: o.value,
|
6343
6343
|
class: "py-16 px-8 w-[240px]"
|
6344
6344
|
}, null, 8, ["modelValue", "items"]);
|
6345
6345
|
};
|
6346
6346
|
}
|
6347
6347
|
});
|
6348
|
-
var
|
6349
|
-
const
|
6348
|
+
var wo = { authClientId: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", authDomain: "feedme-dev-4c3ef.firebaseapp.com", databaseURL: "https://feedme-dev-4c3ef.firebaseio.com", projectId: "feedme-dev-4c3ef", storageBucket: "feedme-dev-4c3ef.appspot.com", messagingSenderId: "458797803788", appId: "1:458797803788:web:37f2af2926a84288f0c129", measurementId: "G-J2QG09D2Q7" }, assetBucketUrl: "feedme-dev-4c3ef.appspot.com" };
|
6349
|
+
const Do = /* @__PURE__ */ Ut({
|
6350
6350
|
__name: "App",
|
6351
6351
|
setup(n) {
|
6352
|
-
const { state: e } =
|
6352
|
+
const { state: e } = Gn(), t = He(), r = Xt(wo.firebase);
|
6353
6353
|
async function i() {
|
6354
6354
|
const s = t.sessionUser.value;
|
6355
6355
|
if (!s || !s.token) return;
|
6356
|
-
const
|
6357
|
-
await
|
6356
|
+
const o = await s.getCustomToken(), a = bo(r);
|
6357
|
+
await os(a, o);
|
6358
6358
|
}
|
6359
6359
|
return i(), $(t.sessionUser, i), xn(() => {
|
6360
6360
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6361
6361
|
}), Vn(() => {
|
6362
|
-
t.registerSidebarComponent(
|
6363
|
-
}), (s,
|
6364
|
-
const
|
6365
|
-
return Ft(),
|
6362
|
+
t.registerSidebarComponent(To);
|
6363
|
+
}), (s, o) => {
|
6364
|
+
const a = Bt("RouterView");
|
6365
|
+
return Ft(), jt(a);
|
6366
6366
|
};
|
6367
6367
|
}
|
6368
|
-
}),
|
6369
|
-
...
|
6370
|
-
...
|
6368
|
+
}), Po = [
|
6369
|
+
...We,
|
6370
|
+
...Ge
|
6371
6371
|
];
|
6372
6372
|
export {
|
6373
|
-
|
6373
|
+
G as C,
|
6374
6374
|
M as F,
|
6375
6375
|
ee as S,
|
6376
|
-
|
6377
|
-
|
6378
|
-
|
6376
|
+
Y as _,
|
6377
|
+
Yt as a,
|
6378
|
+
Co as b,
|
6379
6379
|
ui as c,
|
6380
|
-
|
6380
|
+
No as d,
|
6381
6381
|
gt as e,
|
6382
|
-
|
6382
|
+
Po as f,
|
6383
6383
|
z as g,
|
6384
|
-
|
6384
|
+
Do as h,
|
6385
6385
|
x as r
|
6386
6386
|
};
|