@feedmepos/mf-payment 1.0.2 → 1.0.3-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{PayoutAccount-suhh8XGz.js → PayoutAccount-C3OJFxGE.js} +5 -5
- package/dist/{PayoutAccount-B1dg1KvL.js → PayoutAccount-kB_wn4cP.js} +3 -3
- package/dist/{PayoutAccountSetting-C1yeSNv8.js → PayoutAccountSetting-CLBYDEPi.js} +4 -4
- package/dist/Restaurant-DOnRexzg.js +305 -0
- package/dist/{RestaurantSetting-CWZAKz1A.js → RestaurantSetting-gtFlM2pd.js} +4 -4
- package/dist/{Settlement-BKwie9R8.js → Settlement-B5j1UFxP.js} +3 -3
- package/dist/{Settlement-ByPXBNx1.js → Settlement-CEUQnTCZ.js} +3 -3
- package/dist/{SettlementTransactions-BxMV868W.js → SettlementTransactions-C5Tx5b4s.js} +4 -4
- package/dist/{SettlementTransactions-DcZmwZKJ.js → SettlementTransactions-DxbsTgdU.js} +4 -4
- package/dist/Terminal-PaTjy0Pe.js +404 -0
- package/dist/{TerminalSetting-qklmRz3H.js → TerminalSetting-CflniirY.js} +3 -3
- package/dist/{TerminalTransaction-YXcGJ2ne.js → TerminalTransaction-BSzztH-b.js} +184 -154
- package/dist/{TerminalTransaction-64Bn6vh0.js → TerminalTransaction-CLRn9sy5.js} +19 -18
- package/dist/Transaction-BlvwjRPM.js +412 -0
- package/dist/{Transaction-CZkNzH-m.js → Transaction-DZz0TdGO.js} +31 -27
- package/dist/api/transaction/index.d.ts +3 -0
- package/dist/{app-8rjSGM7c.js → app-Dlxc8Z6C.js} +246 -246
- package/dist/app.js +1 -1
- package/dist/{assets-DjRoCcqv.js → assets-C1lv-AvI.js} +1 -1
- package/dist/grafana-CqkYm_ru.js +46 -0
- package/dist/helpers/grafana.d.ts +7 -0
- package/dist/{index-BWFqxSU3.js → index-41sp-SQk.js} +1 -1
- package/dist/{index-CWGSYCJG.js → index-B1OxP811.js} +1 -1
- package/dist/{index-Dj_LwPBy.js → index-BrKBilMa.js} +8295 -8151
- package/dist/{index-DFePh4ct.js → index-CLBjviI0.js} +1 -1
- package/dist/{index-BerQZMQW.js → index-Cg9lo1F7.js} +1 -1
- package/dist/{index-CKyh0nlu.js → index-Ct_2lLEp.js} +1 -1
- package/dist/{index-Bp_58SiC.js → index-DCvp77iI.js} +1 -1
- package/dist/{index-BEFlDEyV.js → index-DS40kAjx.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-BgTr7KWF.js → index.vue_vue_type_script_setup_true_lang-DTDPPej5.js} +1 -1
- package/dist/model/payout-account.d.ts +1 -1
- package/dist/model/transaction.d.ts +2 -0
- package/dist/package.json +2 -2
- package/dist/{payout-account-D5aZKGxy.js → payout-account-DWi-NqRL.js} +2 -2
- package/dist/stores/payoutAccount.d.ts +6 -6
- package/dist/transaction-Caa2nhli.js +105 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/admin/payout-account/tabs/Information.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentGateway.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/PaymentStatus.vue.d.ts +6 -6
- package/dist/views/admin/payout-account/tabs/Settlement.vue.d.ts +6 -6
- package/dist/views/admin/restaurant/cell/LogButton.vue.d.ts +5 -0
- package/dist/views/admin/restaurant/tabs/PaymentGateway.vue.d.ts +2 -2
- package/dist/views/admin/settlement/SettlementTable.vue.d.ts +12 -12
- package/dist/views/admin/terminal/TerminalDialog.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/FiuuGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/GhlGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/Information.vue.d.ts +8 -8
- package/dist/views/admin/terminal/tabs/TerminalGateway.vue.d.ts +8 -8
- package/dist/views/admin/terminal-transaction/cell/Actions.vue.d.ts +3 -1
- package/dist/views/admin/transaction/cell/Actions.vue.d.ts +1 -1
- package/dist/views/payout-account/PayoutAccountTable.vue.d.ts +12 -12
- package/dist/views/settlement/SettlementTable.vue.d.ts +12 -12
- package/package.json +2 -2
- package/dist/Restaurant-B02jty0J.js +0 -262
- package/dist/Terminal-DX8v8WpM.js +0 -386
- package/dist/Transaction-CvrsRuuz.js +0 -403
- package/dist/transaction-CIYqsLqc.js +0 -97
- package/dist/views/admin/transaction/TransactionTable.vue.d.ts +0 -30
@@ -1,15 +1,15 @@
|
|
1
1
|
import { createRouter as Ln, createWebHistory as Un, useRouter as Bn } from "vue-router";
|
2
|
-
import { computed as Lt, watch as J, defineComponent as Ut, ref as
|
2
|
+
import { computed as Lt, watch as J, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as Ft, createBlock as jt, onMounted as jn, onBeforeMount as Hn } from "vue";
|
3
3
|
import { useCoreStore as We } from "@feedmepos/mf-common";
|
4
|
-
import { defineStore as
|
5
|
-
const
|
4
|
+
import { defineStore as xn } from "pinia";
|
5
|
+
const Ve = [
|
6
6
|
{
|
7
7
|
path: "/admin/restaurants",
|
8
8
|
name: "mf-payment-admin.restaurant",
|
9
9
|
meta: {
|
10
10
|
sidebarDisplay: "Restaurants"
|
11
11
|
},
|
12
|
-
component: () => import("./Restaurant-
|
12
|
+
component: () => import("./Restaurant-DOnRexzg.js")
|
13
13
|
},
|
14
14
|
{
|
15
15
|
path: "/admin/restaurants/:restaurantId",
|
@@ -18,7 +18,7 @@ const je = [
|
|
18
18
|
meta: {
|
19
19
|
parent: "mf-payment-admin.restaurant"
|
20
20
|
},
|
21
|
-
component: () => import("./RestaurantSetting-
|
21
|
+
component: () => import("./RestaurantSetting-gtFlM2pd.js")
|
22
22
|
},
|
23
23
|
{
|
24
24
|
path: "/admin/payout-accounts",
|
@@ -26,7 +26,7 @@ const je = [
|
|
26
26
|
meta: {
|
27
27
|
sidebarDisplay: "Payout Accounts"
|
28
28
|
},
|
29
|
-
component: () => import("./PayoutAccount-
|
29
|
+
component: () => import("./PayoutAccount-C3OJFxGE.js")
|
30
30
|
},
|
31
31
|
{
|
32
32
|
path: "/admin/payout-accounts/:accountId",
|
@@ -35,7 +35,7 @@ const je = [
|
|
35
35
|
meta: {
|
36
36
|
parent: "mf-payment-admin.payout-account"
|
37
37
|
},
|
38
|
-
component: () => import("./PayoutAccountSetting-
|
38
|
+
component: () => import("./PayoutAccountSetting-CLBYDEPi.js")
|
39
39
|
},
|
40
40
|
{
|
41
41
|
path: "/admin/terminal",
|
@@ -43,7 +43,7 @@ const je = [
|
|
43
43
|
meta: {
|
44
44
|
sidebarDisplay: "Terminals"
|
45
45
|
},
|
46
|
-
component: () => import("./Terminal-
|
46
|
+
component: () => import("./Terminal-PaTjy0Pe.js")
|
47
47
|
},
|
48
48
|
{
|
49
49
|
path: "/admin/terminal/:terminalId",
|
@@ -52,7 +52,7 @@ const je = [
|
|
52
52
|
meta: {
|
53
53
|
parent: "mf-payment-admin.terminal"
|
54
54
|
},
|
55
|
-
component: () => import("./TerminalSetting-
|
55
|
+
component: () => import("./TerminalSetting-CflniirY.js")
|
56
56
|
},
|
57
57
|
{
|
58
58
|
path: "/admin/terminal-transaction",
|
@@ -60,7 +60,7 @@ const je = [
|
|
60
60
|
meta: {
|
61
61
|
sidebarDisplay: "Terminal Transactions"
|
62
62
|
},
|
63
|
-
component: () => import("./TerminalTransaction-
|
63
|
+
component: () => import("./TerminalTransaction-BSzztH-b.js")
|
64
64
|
},
|
65
65
|
{
|
66
66
|
path: "/admin/transaction",
|
@@ -68,7 +68,7 @@ const je = [
|
|
68
68
|
meta: {
|
69
69
|
sidebarDisplay: "Online Transactions"
|
70
70
|
},
|
71
|
-
component: () => import("./Transaction-
|
71
|
+
component: () => import("./Transaction-BlvwjRPM.js")
|
72
72
|
},
|
73
73
|
{
|
74
74
|
path: "/admin/settlement",
|
@@ -76,7 +76,7 @@ const je = [
|
|
76
76
|
meta: {
|
77
77
|
sidebarDisplay: "Settlements"
|
78
78
|
},
|
79
|
-
component: () => import("./Settlement-
|
79
|
+
component: () => import("./Settlement-B5j1UFxP.js")
|
80
80
|
},
|
81
81
|
{
|
82
82
|
path: "/admin/settlement/:settlementId",
|
@@ -85,7 +85,7 @@ const je = [
|
|
85
85
|
meta: {
|
86
86
|
parent: "mf-payment-admin.settlement"
|
87
87
|
},
|
88
|
-
component: () => import("./SettlementTransactions-
|
88
|
+
component: () => import("./SettlementTransactions-C5Tx5b4s.js")
|
89
89
|
}
|
90
90
|
], Ge = [
|
91
91
|
{
|
@@ -95,7 +95,7 @@ const je = [
|
|
95
95
|
{
|
96
96
|
path: "/payout-account",
|
97
97
|
name: "mf-payment-payout-account",
|
98
|
-
component: () => import("./PayoutAccount-
|
98
|
+
component: () => import("./PayoutAccount-kB_wn4cP.js"),
|
99
99
|
meta: {
|
100
100
|
sidebarDisplay: "Payout Accounts"
|
101
101
|
}
|
@@ -106,12 +106,12 @@ const je = [
|
|
106
106
|
meta: {
|
107
107
|
sidebarDisplay: "Terminal Transactions"
|
108
108
|
},
|
109
|
-
component: () => import("./TerminalTransaction-
|
109
|
+
component: () => import("./TerminalTransaction-CLRn9sy5.js")
|
110
110
|
},
|
111
111
|
{
|
112
112
|
path: "/transaction",
|
113
113
|
name: "mf-payment-transaction",
|
114
|
-
component: () => import("./Transaction-
|
114
|
+
component: () => import("./Transaction-DZz0TdGO.js"),
|
115
115
|
meta: {
|
116
116
|
sidebarDisplay: "Online Transactions"
|
117
117
|
}
|
@@ -119,7 +119,7 @@ const je = [
|
|
119
119
|
{
|
120
120
|
path: "/settlement",
|
121
121
|
name: "mf-payment-settlement",
|
122
|
-
component: () => import("./Settlement-
|
122
|
+
component: () => import("./Settlement-CEUQnTCZ.js"),
|
123
123
|
meta: {
|
124
124
|
sidebarDisplay: "Settlements"
|
125
125
|
}
|
@@ -128,12 +128,12 @@ const je = [
|
|
128
128
|
path: "/settlement/:settlementId",
|
129
129
|
name: "mf-payment-settlement-transaction",
|
130
130
|
props: !0,
|
131
|
-
component: () => import("./SettlementTransactions-
|
131
|
+
component: () => import("./SettlementTransactions-DxbsTgdU.js"),
|
132
132
|
meta: {
|
133
133
|
parent: "mf-payment-settlement"
|
134
134
|
}
|
135
135
|
}
|
136
|
-
], Wn =
|
136
|
+
], Wn = xn("mf-payment-iframe", () => {
|
137
137
|
const n = {
|
138
138
|
isIframe: !1
|
139
139
|
}, e = Lt(() => n);
|
@@ -145,7 +145,7 @@ const je = [
|
|
145
145
|
init: t
|
146
146
|
};
|
147
147
|
});
|
148
|
-
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_21313233-d1e8-47c3-a8b5-952cddfcb79f", 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.11.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_21313233-d1e8-47c3-a8b5-952cddfcb79f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.11.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_uPlVVPrikfyK4RWdahbmcoFU2WDdoQ0wF0W2", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", 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: "480", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.61", 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: "20241201.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.9/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.3/x64", JOURNAL_STREAM: "8:18659", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/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", 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: "12177411005", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "7530026e202dd06673af982d75139888378903bb", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", 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-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YjJjMmIwYjctYzg4OS00MzEyLWFmYjctNDkzZTBhZDM1NTVlOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC85NzIgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjpiMmMyYjBiNy1jODg5LTQzMTItYWZiNy00OTNlMGFkMzU1NWU6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzk3MiIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6IjczMjA0YTQxLTM1MGEtNGNkNi05N2UzLTY5OTNmNTcxMTcwOSIsInNpZCI6IjA5NzE5MmRmLTdiNTktNDFjNC1hZWNlLTVkYTUxMTY5OGVlNyIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjozfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL21haW5cIixcInNoYVwiOlwiNzUzMDAyNmUyMDJkZDA2NjczYWY5ODJkNzUxMzk4ODgzNzg5MDNiYlwiLFwicmVwb3NpdG9yeVwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZVwiLFwicmVwb3NpdG9yeV9vd25lclwiOlwiZmVlZG1lcG9zXCIsXCJyZXBvc2l0b3J5X293bmVyX2lkXCI6XCI1NDgzMTUxNVwiLFwicnVuX2lkXCI6XCIxMjE3NzQxMTAwNVwiLFwicnVuX251bWJlclwiOlwiNFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NTMwMDI2ZTIwMmRkMDY2NzNhZjk4MmQ3NTEzOTg4ODM3ODkwM2JiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjc1MzAwMjZlMjAyZGQwNjY3M2FmOTgyZDc1MTM5ODg4Mzc4OTAzYmJcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJiMmMyYjBiNy1jODg5LTQzMTItYWZiNy00OTNlMGFkMzU1NWUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzMzOTIyNTMsImV4cCI6MTczMzQxNTA1M30.Q7BaKRCcirJoK9284c5Iyx58TL_NmCMQVnLpIonLewgLb6NYJZTy2iPnzuatG3epCMZ6g356FYc8EBjNKuzVpfdg2iW5nmAI_sy3pkVbeUMYKGyJLG9JTKAWjlifapwvUEOzWVDz11HPecakpAeAcVL2A_-ayjrwMBrHIpx0TmquiQKrjzDhLnHLwhJh6gJT_BKoyg1wEy7lwauGEA1-_wWOymxdC0X7q8AIJLyEOMyOVlJPQbyyPq_wqhh46vAcbQktf4Mc3Pn_01G4-yRD7DtwWVXDaCwfevM1mHPaaTPTPxTpVzgjob52oxG_KJVn3i6bBj64xygW6tQf1D6j0g", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1733392889310-0.9778246828375381:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1733392889149-0.13139117824937063:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1733392888989-0.3956541351533329:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.11.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.11.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.11.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_20cd82b2-746f-4380-86b9-87fe99b6d720", INVOCATION_ID: "51c86a1c400f42739ace1a4f06a7497b", 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: "4", 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 199", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", 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:prod", 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.2", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', 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: "7530026e202dd06673af982d75139888378903bb", 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/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", LEIN_HOME: "/usr/local/lib/lein", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_qrcode: "^1.5.1", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_21313233-d1e8-47c3-a8b5-952cddfcb79f", JAVA_HOME: "/usr/lib/jvm/temurin-11-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/b2c2b0b7-c889-4312-afb7-493e0ad3555e/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_21313233-d1e8-47c3-a8b5-952cddfcb79f", 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", 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_21313233-d1e8-47c3-a8b5-952cddfcb79f", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.6", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
|
148
|
+
var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_4980aa7a-7dfb-41e0-bc88-eca217434dfb", npm_package_devDependencies_ts_node: "^10.9.1", npm_package_dependencies_zod: "^3.23.8", npm_package_dependencies_dinero_js: "^1.9.1", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", USER: "runner", npm_package_devDependencies_jest: "^29.6.3", npm_package_dependencies_vue_pdf_embed: "^2.1.0", npm_config_version_commit_hooks: "true", npm_config_user_agent: "yarn/1.22.22 npm/? node/v22.12.0 linux x64", npm_config_always_auth: "", CI: "true", npm_package_dependencies_vue: "^3.2.25", npm_config_bin_links: "true", npm_config_wrap_output: "", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_4980aa7a-7dfb-41e0-bc88-eca217434dfb", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.12.0/x64/bin/node", npm_package_devDependencies_vite: "^5.2.11", npm_package_devDependencies__tsconfig_node20: "^20.1.4", npm_config_init_version: "1.0.0", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", NODE_AUTH_TOKEN: "ghs_udTybvyAL5U91tbbWuCSJF2oy4fPwN3Fb24s", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", npm_package_devDependencies_sass: "1.32.12", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_dependencies_jspdf: "^2.5.1", npm_package_scripts_build_mf_dev: "vite build --mode fmmf:dev", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies_change_case: "^4.1.2", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_config_init_license: "MIT", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", 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: "476", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.2.61", 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: "20241211.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:18305", 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", 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: "12312717671", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2e6c47c01a1164770b9551bcab3165647d842fa6", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6OTE1NzBlZWYtY2Q3MC00OTRiLThjMTEtNzIzMzhmODM0ZjdkOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC85OTIgRGlzdHJpYnV0ZWRUYXNrLkdlbmVyYXRlSWRUb2tlbjo5MTU3MGVlZi1jZDcwLTQ5NGItOGMxMS03MjMzOGY4MzRmN2Q6ZTA3NzQyYmQtMTg5YS01MDc5LTkxOGItNDNmOGIyZjk0Yjg5IExvY2F0aW9uU2VydmljZS5Db25uZWN0IFJlYWRBbmRVcGRhdGVCdWlsZEJ5VXJpOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMC8xOkJ1aWxkL0J1aWxkLzk5MiIsIklkZW50aXR5VHlwZUNsYWltIjoiU3lzdGVtOlNlcnZpY2VJZGVudGl0eSIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL3NpZCI6IkRERERERERELUREREQtRERERC1ERERELURERERERERERERERCIsImh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vd3MvMjAwOC8wNi9pZGVudGl0eS9jbGFpbXMvcHJpbWFyeXNpZCI6ImRkZGRkZGRkLWRkZGQtZGRkZC1kZGRkLWRkZGRkZGRkZGRkZCIsImF1aSI6IjdjNjE1ZjllLTU3YmEtNDY3Zi1iNTg4LWQ3MTU3YWZkMDNmMyIsInNpZCI6IjJiMDNhNjMyLTNkOGEtNGEyMy04Y2RmLWQ0YTdiYTkwZmZmZiIsImFjIjoiW3tcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwiUGVybWlzc2lvblwiOjN9LHtcIlNjb3BlXCI6XCJyZWZzL2hlYWRzL21haW5cIixcIlBlcm1pc3Npb25cIjoxfV0iLCJhY3NsIjoiMTAiLCJvaWRjX2V4dHJhIjoie1wicmVmXCI6XCJyZWZzL2hlYWRzL2RldlwiLFwic2hhXCI6XCIyZTZjNDdjMDFhMTE2NDc3MGI5NTUxYmNhYjMxNjU2NDdkODQyZmE2XCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjEyMzEyNzE3NjcxXCIsXCJydW5fbnVtYmVyXCI6XCI5OVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIyZTZjNDdjMDFhMTE2NDc3MGI5NTUxYmNhYjMxNjU2NDdkODQyZmE2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIyZTZjNDdjMDFhMTE2NDc3MGI5NTUxYmNhYjMxNjU2NDdkODQyZmE2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI5MTU3MGVlZi1jZDcwLTQ5NGItOGMxMS03MjMzOGY4MzRmN2QuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3MzQwODAyMzcsImV4cCI6MTczNDEwMzAzN30.pA8IW176gGoKNBlLwHNffbb7eSRuE0HiAMk2PmRSL_BIEIAOhVJ4WZReLR9HmxA84q0io6A0ClruQC6A3TgDsri9_WA3D17KYLtMP9rJNqp944A-9wbiZ4DI9EZMSymLkpS4q3uo51JH87cWR5NXKf_I7FSYnRA1NwWYn979QvABHdvruNkZRJkWUaolo6_mq-1tkg6BOYmJKIDwiocAr268noYUuz5-wK-ucUZ2YndTbfeD5qnkhnY2Q7KqYtL75JJl0g6jjngAem5y_JVaYRl28QtZr2S1ZwuLN3Num4wRh05mdSLPPJ18XICsa0ZFjW5FI8FlRgz7CmbrOTOYGA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1734080875038-0.5778722765713367:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1734080874871-0.7204462783417207:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1734080874709-0.25995264406019514:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.12.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.12.0/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", NODE: "/opt/hostedtoolcache/node/22.12.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_ce07e18e-f0ce-4bf7-9c39-38050794ef21", INVOCATION_ID: "bc2423b2ad054e00a5b7ac71d51fec8e", 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: "99", 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 19", 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.3-beta.2", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "2e6c47c01a1164770b9551bcab3165647d842fa6", 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", LEIN_HOME: "/usr/local/lib/lein", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_qrcode: "^1.5.1", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_4980aa7a-7dfb-41e0-bc88-eca217434dfb", JAVA_HOME: "/usr/lib/jvm/temurin-11-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/91570eef-cd70-494b-8c11-72338f834f7d/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_4980aa7a-7dfb-41e0-bc88-eca217434dfb", 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", 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_4980aa7a-7dfb-41e0-bc88-eca217434dfb", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.10", 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" };
|
149
149
|
/**
|
150
150
|
* @license
|
151
151
|
* Copyright 2017 Google LLC
|
@@ -162,7 +162,7 @@ var at = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
|
|
162
162
|
* See the License for the specific language governing permissions and
|
163
163
|
* limitations under the License.
|
164
164
|
*/
|
165
|
-
const
|
165
|
+
const Ht = function(n) {
|
166
166
|
const e = [];
|
167
167
|
let t = 0;
|
168
168
|
for (let r = 0; r < n.length; r++) {
|
@@ -170,7 +170,7 @@ const Ft = function(n) {
|
|
170
170
|
i < 128 ? e[t++] = i : i < 2048 ? (e[t++] = i >> 6 | 192, e[t++] = i & 63 | 128) : (i & 64512) === 55296 && r + 1 < n.length && (n.charCodeAt(r + 1) & 64512) === 56320 ? (i = 65536 + ((i & 1023) << 10) + (n.charCodeAt(++r) & 1023), e[t++] = i >> 18 | 240, e[t++] = i >> 12 & 63 | 128, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128) : (e[t++] = i >> 12 | 224, e[t++] = i >> 6 & 63 | 128, e[t++] = i & 63 | 128);
|
171
171
|
}
|
172
172
|
return e;
|
173
|
-
},
|
173
|
+
}, Vn = function(n) {
|
174
174
|
const e = [];
|
175
175
|
let t = 0, r = 0;
|
176
176
|
for (; t < n.length; ) {
|
@@ -189,7 +189,7 @@ const Ft = function(n) {
|
|
189
189
|
}
|
190
190
|
}
|
191
191
|
return e.join("");
|
192
|
-
},
|
192
|
+
}, xt = {
|
193
193
|
/**
|
194
194
|
* Maps bytes to characters.
|
195
195
|
*/
|
@@ -249,8 +249,8 @@ const Ft = function(n) {
|
|
249
249
|
const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
|
250
250
|
for (let i = 0; i < n.length; i += 3) {
|
251
251
|
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;
|
252
|
-
let m = (a & 15) << 2 | l >> 6,
|
253
|
-
c || (
|
252
|
+
let m = (a & 15) << 2 | l >> 6, v = l & 63;
|
253
|
+
c || (v = 64, o || (m = 64)), r.push(t[u], t[p], t[m], t[v]);
|
254
254
|
}
|
255
255
|
return r.join("");
|
256
256
|
},
|
@@ -263,7 +263,7 @@ const Ft = function(n) {
|
|
263
263
|
* @return The base64 encoded string.
|
264
264
|
*/
|
265
265
|
encodeString(n, e) {
|
266
|
-
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(
|
266
|
+
return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Ht(n), e);
|
267
267
|
},
|
268
268
|
/**
|
269
269
|
* Base64-decode a string.
|
@@ -274,7 +274,7 @@ const Ft = function(n) {
|
|
274
274
|
* @return string representing the decoded value.
|
275
275
|
*/
|
276
276
|
decodeString(n, e) {
|
277
|
-
return this.HAS_NATIVE_SUPPORT && !e ? atob(n) :
|
277
|
+
return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : Vn(this.decodeStringToByteArray(n, e));
|
278
278
|
},
|
279
279
|
/**
|
280
280
|
* Base64-decode a string.
|
@@ -304,10 +304,10 @@ const Ft = function(n) {
|
|
304
304
|
throw new Gn();
|
305
305
|
const m = s << 2 | a >> 4;
|
306
306
|
if (r.push(m), l !== 64) {
|
307
|
-
const
|
308
|
-
if (r.push(
|
309
|
-
const
|
310
|
-
r.push(
|
307
|
+
const v = a << 4 & 240 | l >> 2;
|
308
|
+
if (r.push(v), p !== 64) {
|
309
|
+
const F = l << 6 & 192 | p;
|
310
|
+
r.push(F);
|
311
311
|
}
|
312
312
|
}
|
313
313
|
}
|
@@ -332,13 +332,13 @@ class Gn extends Error {
|
|
332
332
|
}
|
333
333
|
}
|
334
334
|
const zn = function(n) {
|
335
|
-
const e =
|
336
|
-
return
|
335
|
+
const e = Ht(n);
|
336
|
+
return xt.encodeByteArray(e, !0);
|
337
337
|
}, le = function(n) {
|
338
338
|
return zn(n).replace(/\./g, "");
|
339
339
|
}, Wt = function(n) {
|
340
340
|
try {
|
341
|
-
return
|
341
|
+
return xt.decodeString(n, !0);
|
342
342
|
} catch (e) {
|
343
343
|
console.error("base64Decode failed: ", e);
|
344
344
|
}
|
@@ -391,7 +391,7 @@ const Jn = () => $n().__FIREBASE_DEFAULTS__, Zn = () => {
|
|
391
391
|
const n = at.__FIREBASE_DEFAULTS__;
|
392
392
|
if (n)
|
393
393
|
return JSON.parse(n);
|
394
|
-
},
|
394
|
+
}, Xn = () => {
|
395
395
|
if (typeof document > "u")
|
396
396
|
return;
|
397
397
|
let n;
|
@@ -404,16 +404,16 @@ const Jn = () => $n().__FIREBASE_DEFAULTS__, Zn = () => {
|
|
404
404
|
return e && JSON.parse(e);
|
405
405
|
}, ze = () => {
|
406
406
|
try {
|
407
|
-
return Jn() || Zn() ||
|
407
|
+
return Jn() || Zn() || Xn();
|
408
408
|
} catch (n) {
|
409
409
|
console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
|
410
410
|
return;
|
411
411
|
}
|
412
|
-
},
|
412
|
+
}, Vt = (n) => {
|
413
413
|
var e, t;
|
414
414
|
return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
|
415
415
|
}, Ao = (n) => {
|
416
|
-
const e =
|
416
|
+
const e = Vt(n);
|
417
417
|
if (!e)
|
418
418
|
return;
|
419
419
|
const t = e.lastIndexOf(":");
|
@@ -444,7 +444,7 @@ const Jn = () => $n().__FIREBASE_DEFAULTS__, Zn = () => {
|
|
444
444
|
* See the License for the specific language governing permissions and
|
445
445
|
* limitations under the License.
|
446
446
|
*/
|
447
|
-
class
|
447
|
+
class Yn {
|
448
448
|
constructor() {
|
449
449
|
this.reject = () => {
|
450
450
|
}, this.resolve = () => {
|
@@ -846,7 +846,7 @@ class ur {
|
|
846
846
|
get(e) {
|
847
847
|
const t = this.normalizeInstanceIdentifier(e);
|
848
848
|
if (!this.instancesDeferred.has(t)) {
|
849
|
-
const r = new
|
849
|
+
const r = new Yn();
|
850
850
|
if (this.instancesDeferred.set(t, r), this.isInitialized(t) || this.shouldAutoInitialize())
|
851
851
|
try {
|
852
852
|
const i = this.getOrInitializeService({
|
@@ -1083,7 +1083,7 @@ const mr = {
|
|
1083
1083
|
[h.INFO]: "info",
|
1084
1084
|
[h.WARN]: "warn",
|
1085
1085
|
[h.ERROR]: "error"
|
1086
|
-
},
|
1086
|
+
}, vr = (n, e, ...t) => {
|
1087
1087
|
if (e < n.logLevel)
|
1088
1088
|
return;
|
1089
1089
|
const r = (/* @__PURE__ */ new Date()).toISOString(), i = gr[e];
|
@@ -1100,7 +1100,7 @@ class $t {
|
|
1100
1100
|
* @param name The name that the logs will be associated with
|
1101
1101
|
*/
|
1102
1102
|
constructor(e) {
|
1103
|
-
this.name = e, this._logLevel = _r, this._logHandler =
|
1103
|
+
this.name = e, this._logLevel = _r, this._logHandler = vr, this._userLogHandler = null;
|
1104
1104
|
}
|
1105
1105
|
get logLevel() {
|
1106
1106
|
return this._logLevel;
|
@@ -1147,7 +1147,7 @@ class $t {
|
|
1147
1147
|
this._userLogHandler && this._userLogHandler(this, h.ERROR, ...e), this._logHandler(this, h.ERROR, ...e);
|
1148
1148
|
}
|
1149
1149
|
}
|
1150
|
-
const
|
1150
|
+
const Ir = (n, e) => e.some((t) => n instanceof t);
|
1151
1151
|
let lt, dt;
|
1152
1152
|
function br() {
|
1153
1153
|
return lt || (lt = [
|
@@ -1171,7 +1171,7 @@ function Er(n) {
|
|
1171
1171
|
const i = () => {
|
1172
1172
|
n.removeEventListener("success", s), n.removeEventListener("error", o);
|
1173
1173
|
}, s = () => {
|
1174
|
-
t(
|
1174
|
+
t(N(n.result)), i();
|
1175
1175
|
}, o = () => {
|
1176
1176
|
r(n.error), i();
|
1177
1177
|
};
|
@@ -1207,7 +1207,7 @@ let Le = {
|
|
1207
1207
|
if (e === "store")
|
1208
1208
|
return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
|
1209
1209
|
}
|
1210
|
-
return
|
1210
|
+
return N(n[e]);
|
1211
1211
|
},
|
1212
1212
|
set(n, e, t) {
|
1213
1213
|
return n[e] = t, !0;
|
@@ -1222,17 +1222,17 @@ function wr(n) {
|
|
1222
1222
|
function Rr(n) {
|
1223
1223
|
return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
|
1224
1224
|
const r = n.call(Ae(this), e, ...t);
|
1225
|
-
return Zt.set(r, e.sort ? e.sort() : [e]),
|
1225
|
+
return Zt.set(r, e.sort ? e.sort() : [e]), N(r);
|
1226
1226
|
} : yr().includes(n) ? function(...e) {
|
1227
|
-
return n.apply(Ae(this), e),
|
1227
|
+
return n.apply(Ae(this), e), N(Jt.get(this));
|
1228
1228
|
} : function(...e) {
|
1229
|
-
return
|
1229
|
+
return N(n.apply(Ae(this), e));
|
1230
1230
|
};
|
1231
1231
|
}
|
1232
1232
|
function kr(n) {
|
1233
|
-
return typeof n == "function" ? Rr(n) : (n instanceof IDBTransaction && Tr(n),
|
1233
|
+
return typeof n == "function" ? Rr(n) : (n instanceof IDBTransaction && Tr(n), Ir(n, br()) ? new Proxy(n, Le) : n);
|
1234
1234
|
}
|
1235
|
-
function
|
1235
|
+
function N(n) {
|
1236
1236
|
if (n instanceof IDBRequest)
|
1237
1237
|
return Er(n);
|
1238
1238
|
if (ke.has(n))
|
@@ -1242,9 +1242,9 @@ function C(n) {
|
|
1242
1242
|
}
|
1243
1243
|
const Ae = (n) => $e.get(n);
|
1244
1244
|
function Ar(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
|
1245
|
-
const o = indexedDB.open(n, e), a =
|
1245
|
+
const o = indexedDB.open(n, e), a = N(o);
|
1246
1246
|
return r && o.addEventListener("upgradeneeded", (c) => {
|
1247
|
-
r(
|
1247
|
+
r(N(o.result), c.oldVersion, c.newVersion, N(o.transaction), c);
|
1248
1248
|
}), t && o.addEventListener("blocked", (c) => t(
|
1249
1249
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
1250
1250
|
c.oldVersion,
|
@@ -1298,7 +1298,7 @@ wr((n) => ({
|
|
1298
1298
|
* See the License for the specific language governing permissions and
|
1299
1299
|
* limitations under the License.
|
1300
1300
|
*/
|
1301
|
-
class
|
1301
|
+
class Cr {
|
1302
1302
|
constructor(e) {
|
1303
1303
|
this.container = e;
|
1304
1304
|
}
|
@@ -1306,7 +1306,7 @@ class Nr {
|
|
1306
1306
|
// auth token refresh, and installations will send this string.
|
1307
1307
|
getPlatformInfoString() {
|
1308
1308
|
return this.container.getProviders().map((t) => {
|
1309
|
-
if (
|
1309
|
+
if (Nr(t)) {
|
1310
1310
|
const r = t.getImmediate();
|
1311
1311
|
return `${r.library}/${r.version}`;
|
1312
1312
|
} else
|
@@ -1314,7 +1314,7 @@ class Nr {
|
|
1314
1314
|
}).filter((t) => t).join(" ");
|
1315
1315
|
}
|
1316
1316
|
}
|
1317
|
-
function
|
1317
|
+
function Nr(n) {
|
1318
1318
|
const e = n.getComponent();
|
1319
1319
|
return (e == null ? void 0 : e.type) === "VERSION";
|
1320
1320
|
}
|
@@ -1335,7 +1335,7 @@ const Ue = "@firebase/app", ht = "0.10.13";
|
|
1335
1335
|
* See the License for the specific language governing permissions and
|
1336
1336
|
* limitations under the License.
|
1337
1337
|
*/
|
1338
|
-
const T = new $t("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/analytics-compat", Mr = "@firebase/analytics", Lr = "@firebase/app-check-compat", Ur = "@firebase/app-check", Br = "@firebase/auth",
|
1338
|
+
const T = new $t("@firebase/app"), Dr = "@firebase/app-compat", Pr = "@firebase/analytics-compat", Mr = "@firebase/analytics", Lr = "@firebase/app-check-compat", Ur = "@firebase/app-check", Br = "@firebase/auth", Fr = "@firebase/auth-compat", jr = "@firebase/database", Hr = "@firebase/data-connect", xr = "@firebase/database-compat", Wr = "@firebase/functions", Vr = "@firebase/functions-compat", Gr = "@firebase/installations", zr = "@firebase/installations-compat", $r = "@firebase/messaging", Jr = "@firebase/messaging-compat", Zr = "@firebase/performance", Xr = "@firebase/performance-compat", Yr = "@firebase/remote-config", Kr = "@firebase/remote-config-compat", qr = "@firebase/storage", Qr = "@firebase/storage-compat", ei = "@firebase/firestore", ti = "@firebase/vertexai-preview", ni = "@firebase/firestore-compat", ri = "firebase", ii = "10.14.1";
|
1339
1339
|
/**
|
1340
1340
|
* @license
|
1341
1341
|
* Copyright 2019 Google LLC
|
@@ -1360,19 +1360,19 @@ const Be = "[DEFAULT]", si = {
|
|
1360
1360
|
[Ur]: "fire-app-check",
|
1361
1361
|
[Lr]: "fire-app-check-compat",
|
1362
1362
|
[Br]: "fire-auth",
|
1363
|
-
[
|
1364
|
-
[
|
1365
|
-
[
|
1366
|
-
[
|
1363
|
+
[Fr]: "fire-auth-compat",
|
1364
|
+
[jr]: "fire-rtdb",
|
1365
|
+
[Hr]: "fire-data-connect",
|
1366
|
+
[xr]: "fire-rtdb-compat",
|
1367
1367
|
[Wr]: "fire-fn",
|
1368
|
-
[
|
1368
|
+
[Vr]: "fire-fn-compat",
|
1369
1369
|
[Gr]: "fire-iid",
|
1370
1370
|
[zr]: "fire-iid-compat",
|
1371
1371
|
[$r]: "fire-fcm",
|
1372
1372
|
[Jr]: "fire-fcm-compat",
|
1373
1373
|
[Zr]: "fire-perf",
|
1374
|
-
[
|
1375
|
-
[
|
1374
|
+
[Xr]: "fire-perf-compat",
|
1375
|
+
[Yr]: "fire-rc",
|
1376
1376
|
[Kr]: "fire-rc-compat",
|
1377
1377
|
[qr]: "fire-gcs",
|
1378
1378
|
[Qr]: "fire-gcs-compat",
|
@@ -1398,7 +1398,7 @@ const Be = "[DEFAULT]", si = {
|
|
1398
1398
|
* See the License for the specific language governing permissions and
|
1399
1399
|
* limitations under the License.
|
1400
1400
|
*/
|
1401
|
-
const ue = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(),
|
1401
|
+
const ue = /* @__PURE__ */ new Map(), oi = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
|
1402
1402
|
function pt(n, e) {
|
1403
1403
|
try {
|
1404
1404
|
n.container.addComponent(e);
|
@@ -1406,22 +1406,22 @@ function pt(n, e) {
|
|
1406
1406
|
T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
|
1407
1407
|
}
|
1408
1408
|
}
|
1409
|
-
function
|
1409
|
+
function X(n) {
|
1410
1410
|
const e = n.name;
|
1411
|
-
if (
|
1411
|
+
if (Fe.has(e))
|
1412
1412
|
return T.debug(`There were multiple attempts to register component ${e}.`), !1;
|
1413
|
-
|
1413
|
+
Fe.set(e, n);
|
1414
1414
|
for (const t of ue.values())
|
1415
1415
|
pt(t, n);
|
1416
1416
|
for (const t of oi.values())
|
1417
1417
|
pt(t, n);
|
1418
1418
|
return !0;
|
1419
1419
|
}
|
1420
|
-
function
|
1420
|
+
function Xt(n, e) {
|
1421
1421
|
const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
1422
1422
|
return t && t.triggerHeartbeat(), n.container.getProvider(e);
|
1423
1423
|
}
|
1424
|
-
function
|
1424
|
+
function I(n) {
|
1425
1425
|
return n.settings !== void 0;
|
1426
1426
|
}
|
1427
1427
|
/**
|
@@ -1531,7 +1531,7 @@ class ci {
|
|
1531
1531
|
* limitations under the License.
|
1532
1532
|
*/
|
1533
1533
|
const ee = ii;
|
1534
|
-
function
|
1534
|
+
function Yt(n, e = {}) {
|
1535
1535
|
let t = n;
|
1536
1536
|
typeof e != "object" && (e = { name: e });
|
1537
1537
|
const r = Object.assign({ name: Be, automaticDataCollectionEnabled: !1 }, e), i = r.name;
|
@@ -1551,7 +1551,7 @@ function Xt(n, e = {}) {
|
|
1551
1551
|
throw D.create("duplicate-app", { appName: i });
|
1552
1552
|
}
|
1553
1553
|
const o = new fr(i);
|
1554
|
-
for (const c of
|
1554
|
+
for (const c of Fe.values())
|
1555
1555
|
o.addComponent(c);
|
1556
1556
|
const a = new ci(t, r, o);
|
1557
1557
|
return ue.set(i, a), a;
|
@@ -1559,12 +1559,12 @@ function Xt(n, e = {}) {
|
|
1559
1559
|
function li(n = Be) {
|
1560
1560
|
const e = ue.get(n);
|
1561
1561
|
if (!e && n === Be && Gt())
|
1562
|
-
return
|
1562
|
+
return Yt();
|
1563
1563
|
if (!e)
|
1564
1564
|
throw D.create("no-app", { appName: n });
|
1565
1565
|
return e;
|
1566
1566
|
}
|
1567
|
-
function
|
1567
|
+
function H(n, e, t) {
|
1568
1568
|
var r;
|
1569
1569
|
let i = (r = si[n]) !== null && r !== void 0 ? r : n;
|
1570
1570
|
t && (i += `-${t}`);
|
@@ -1576,7 +1576,7 @@ function F(n, e, t) {
|
|
1576
1576
|
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(" "));
|
1577
1577
|
return;
|
1578
1578
|
}
|
1579
|
-
|
1579
|
+
X(new G(
|
1580
1580
|
`${i}-version`,
|
1581
1581
|
() => ({ library: i, version: e }),
|
1582
1582
|
"VERSION"
|
@@ -1599,7 +1599,7 @@ function F(n, e, t) {
|
|
1599
1599
|
* See the License for the specific language governing permissions and
|
1600
1600
|
* limitations under the License.
|
1601
1601
|
*/
|
1602
|
-
const di = "firebase-heartbeat-database", ui = 1,
|
1602
|
+
const di = "firebase-heartbeat-database", ui = 1, Y = "firebase-heartbeat-store";
|
1603
1603
|
let Oe = null;
|
1604
1604
|
function Kt() {
|
1605
1605
|
return Oe || (Oe = Ar(di, ui, {
|
@@ -1607,7 +1607,7 @@ function Kt() {
|
|
1607
1607
|
switch (e) {
|
1608
1608
|
case 0:
|
1609
1609
|
try {
|
1610
|
-
n.createObjectStore(
|
1610
|
+
n.createObjectStore(Y);
|
1611
1611
|
} catch (t) {
|
1612
1612
|
console.warn(t);
|
1613
1613
|
}
|
@@ -1621,7 +1621,7 @@ function Kt() {
|
|
1621
1621
|
}
|
1622
1622
|
async function hi(n) {
|
1623
1623
|
try {
|
1624
|
-
const t = (await Kt()).transaction(
|
1624
|
+
const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
|
1625
1625
|
return await t.done, r;
|
1626
1626
|
} catch (e) {
|
1627
1627
|
if (e instanceof M)
|
@@ -1636,8 +1636,8 @@ async function hi(n) {
|
|
1636
1636
|
}
|
1637
1637
|
async function ft(n, e) {
|
1638
1638
|
try {
|
1639
|
-
const r = (await Kt()).transaction(
|
1640
|
-
await r.objectStore(
|
1639
|
+
const r = (await Kt()).transaction(Y, "readwrite");
|
1640
|
+
await r.objectStore(Y).put(e, qt(n)), await r.done;
|
1641
1641
|
} catch (t) {
|
1642
1642
|
if (t instanceof M)
|
1643
1643
|
T.warn(t.message);
|
@@ -1807,21 +1807,21 @@ function _t(n) {
|
|
1807
1807
|
* See the License for the specific language governing permissions and
|
1808
1808
|
* limitations under the License.
|
1809
1809
|
*/
|
1810
|
-
function
|
1811
|
-
|
1810
|
+
function vi(n) {
|
1811
|
+
X(new G(
|
1812
1812
|
"platform-logger",
|
1813
|
-
(e) => new
|
1813
|
+
(e) => new Cr(e),
|
1814
1814
|
"PRIVATE"
|
1815
1815
|
/* ComponentType.PRIVATE */
|
1816
|
-
)),
|
1816
|
+
)), X(new G(
|
1817
1817
|
"heartbeat",
|
1818
1818
|
(e) => new mi(e),
|
1819
1819
|
"PRIVATE"
|
1820
1820
|
/* ComponentType.PRIVATE */
|
1821
|
-
)),
|
1821
|
+
)), H(Ue, ht, n), H(Ue, ht, "esm2017"), H("fire-js", "");
|
1822
1822
|
}
|
1823
|
-
|
1824
|
-
var
|
1823
|
+
vi("");
|
1824
|
+
var Ii = "firebase", bi = "10.14.1";
|
1825
1825
|
/**
|
1826
1826
|
* @license
|
1827
1827
|
* Copyright 2020 Google LLC
|
@@ -1838,7 +1838,7 @@ var vi = "firebase", bi = "10.14.1";
|
|
1838
1838
|
* See the License for the specific language governing permissions and
|
1839
1839
|
* limitations under the License.
|
1840
1840
|
*/
|
1841
|
-
|
1841
|
+
H(Ii, bi, "app");
|
1842
1842
|
var gt = function() {
|
1843
1843
|
return gt = Object.assign || function(e) {
|
1844
1844
|
for (var t, r = 1, i = arguments.length; r < i; r++) {
|
@@ -1950,14 +1950,14 @@ function R(n, e) {
|
|
1950
1950
|
* See the License for the specific language governing permissions and
|
1951
1951
|
* limitations under the License.
|
1952
1952
|
*/
|
1953
|
-
function
|
1953
|
+
function je() {
|
1954
1954
|
var n;
|
1955
1955
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
|
1956
1956
|
}
|
1957
1957
|
function Ti() {
|
1958
|
-
return
|
1958
|
+
return vt() === "http:" || vt() === "https:";
|
1959
1959
|
}
|
1960
|
-
function
|
1960
|
+
function vt() {
|
1961
1961
|
var n;
|
1962
1962
|
return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
|
1963
1963
|
}
|
@@ -2037,7 +2037,7 @@ class te {
|
|
2037
2037
|
* See the License for the specific language governing permissions and
|
2038
2038
|
* limitations under the License.
|
2039
2039
|
*/
|
2040
|
-
function
|
2040
|
+
function Xe(n, e) {
|
2041
2041
|
R(n.emulator, "Emulator should always be set here");
|
2042
2042
|
const { url: t } = n.emulator;
|
2043
2043
|
return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
|
@@ -2269,7 +2269,7 @@ async function sn(n, e, t, r, i = {}) {
|
|
2269
2269
|
}
|
2270
2270
|
function on(n, e, t, r) {
|
2271
2271
|
const i = `${e}${t}?${r}`;
|
2272
|
-
return n.config.emulator ?
|
2272
|
+
return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
|
2273
2273
|
}
|
2274
2274
|
class Si {
|
2275
2275
|
constructor(e) {
|
@@ -2340,8 +2340,8 @@ function Z(n) {
|
|
2340
2340
|
} catch {
|
2341
2341
|
}
|
2342
2342
|
}
|
2343
|
-
async function
|
2344
|
-
const t = z(n), r = await t.getIdToken(e), i =
|
2343
|
+
async function Ci(n, e = !1) {
|
2344
|
+
const t = z(n), r = await t.getIdToken(e), i = Ye(r);
|
2345
2345
|
d(
|
2346
2346
|
i && i.exp && i.auth_time && i.iat,
|
2347
2347
|
t.auth,
|
@@ -2352,17 +2352,17 @@ async function Ni(n, e = !1) {
|
|
2352
2352
|
return {
|
2353
2353
|
claims: i,
|
2354
2354
|
token: r,
|
2355
|
-
authTime: Z(
|
2356
|
-
issuedAtTime: Z(
|
2357
|
-
expirationTime: Z(
|
2355
|
+
authTime: Z(Ce(i.auth_time)),
|
2356
|
+
issuedAtTime: Z(Ce(i.iat)),
|
2357
|
+
expirationTime: Z(Ce(i.exp)),
|
2358
2358
|
signInProvider: o || null,
|
2359
2359
|
signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
|
2360
2360
|
};
|
2361
2361
|
}
|
2362
|
-
function
|
2362
|
+
function Ce(n) {
|
2363
2363
|
return Number(n) * 1e3;
|
2364
2364
|
}
|
2365
|
-
function
|
2365
|
+
function Ye(n) {
|
2366
2366
|
const [e, t, r] = n.split(".");
|
2367
2367
|
if (e === void 0 || t === void 0 || r === void 0)
|
2368
2368
|
return se("JWT malformed, contained fewer than 3 sections"), null;
|
@@ -2373,8 +2373,8 @@ function Xe(n) {
|
|
2373
2373
|
return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
|
2374
2374
|
}
|
2375
2375
|
}
|
2376
|
-
function
|
2377
|
-
const e =
|
2376
|
+
function It(n) {
|
2377
|
+
const e = Ye(n);
|
2378
2378
|
return d(
|
2379
2379
|
e,
|
2380
2380
|
"internal-error"
|
@@ -2411,10 +2411,10 @@ async function K(n, e, t = !1) {
|
|
2411
2411
|
try {
|
2412
2412
|
return await e;
|
2413
2413
|
} catch (r) {
|
2414
|
-
throw r instanceof M &&
|
2414
|
+
throw r instanceof M && Ni(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
|
2415
2415
|
}
|
2416
2416
|
}
|
2417
|
-
function
|
2417
|
+
function Ni({ code: n }) {
|
2418
2418
|
return n === "auth/user-disabled" || n === "auth/user-token-expired";
|
2419
2419
|
}
|
2420
2420
|
/**
|
@@ -2495,7 +2495,7 @@ class Di {
|
|
2495
2495
|
* See the License for the specific language governing permissions and
|
2496
2496
|
* limitations under the License.
|
2497
2497
|
*/
|
2498
|
-
class
|
2498
|
+
class He {
|
2499
2499
|
constructor(e, t) {
|
2500
2500
|
this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
|
2501
2501
|
}
|
@@ -2548,7 +2548,7 @@ async function pe(n) {
|
|
2548
2548
|
phoneNumber: s.phoneNumber || null,
|
2549
2549
|
tenantId: s.tenantId || null,
|
2550
2550
|
providerData: a,
|
2551
|
-
metadata: new
|
2551
|
+
metadata: new He(s.createdAt, s.lastLoginAt),
|
2552
2552
|
isAnonymous: u
|
2553
2553
|
};
|
2554
2554
|
Object.assign(n, p);
|
@@ -2629,7 +2629,7 @@ async function Ui(n, e) {
|
|
2629
2629
|
* See the License for the specific language governing permissions and
|
2630
2630
|
* limitations under the License.
|
2631
2631
|
*/
|
2632
|
-
class
|
2632
|
+
class x {
|
2633
2633
|
constructor() {
|
2634
2634
|
this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
|
2635
2635
|
}
|
@@ -2650,7 +2650,7 @@ class H {
|
|
2650
2650
|
"internal-error"
|
2651
2651
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2652
2652
|
);
|
2653
|
-
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) :
|
2653
|
+
const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
|
2654
2654
|
this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
|
2655
2655
|
}
|
2656
2656
|
updateFromIdToken(e) {
|
@@ -2659,7 +2659,7 @@ class H {
|
|
2659
2659
|
"internal-error"
|
2660
2660
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2661
2661
|
);
|
2662
|
-
const t =
|
2662
|
+
const t = It(e);
|
2663
2663
|
this.updateTokensAndExpiration(e, null, t);
|
2664
2664
|
}
|
2665
2665
|
async getToken(e, t = !1) {
|
@@ -2681,7 +2681,7 @@ class H {
|
|
2681
2681
|
this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
|
2682
2682
|
}
|
2683
2683
|
static fromJSON(e, t) {
|
2684
|
-
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new
|
2684
|
+
const { refreshToken: r, accessToken: i, expirationTime: s } = t, o = new x();
|
2685
2685
|
return r && (d(typeof r == "string", "internal-error", {
|
2686
2686
|
appName: e
|
2687
2687
|
}), o.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
|
@@ -2701,7 +2701,7 @@ class H {
|
|
2701
2701
|
this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
|
2702
2702
|
}
|
2703
2703
|
_clone() {
|
2704
|
-
return Object.assign(new
|
2704
|
+
return Object.assign(new x(), this.toJSON());
|
2705
2705
|
}
|
2706
2706
|
_performRefresh() {
|
2707
2707
|
return b("not implemented");
|
@@ -2729,7 +2729,7 @@ function k(n, e) {
|
|
2729
2729
|
class y {
|
2730
2730
|
constructor(e) {
|
2731
2731
|
var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
|
2732
|
-
this.providerId = "firebase", this.proactiveRefresh = new Di(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new
|
2732
|
+
this.providerId = "firebase", this.proactiveRefresh = new Di(this), this.reloadUserInfo = null, this.reloadListener = null, this.uid = t, this.auth = r, this.stsTokenManager = i, this.accessToken = i.accessToken, this.displayName = s.displayName || null, this.email = s.email || null, this.emailVerified = s.emailVerified || !1, this.phoneNumber = s.phoneNumber || null, this.photoURL = s.photoURL || null, this.isAnonymous = s.isAnonymous || !1, this.tenantId = s.tenantId || null, this.providerData = s.providerData ? [...s.providerData] : [], this.metadata = new He(s.createdAt || void 0, s.lastLoginAt || void 0);
|
2733
2733
|
}
|
2734
2734
|
async getIdToken(e) {
|
2735
2735
|
const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
|
@@ -2741,7 +2741,7 @@ class y {
|
|
2741
2741
|
), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
|
2742
2742
|
}
|
2743
2743
|
getIdTokenResult(e) {
|
2744
|
-
return
|
2744
|
+
return Ci(this, e);
|
2745
2745
|
}
|
2746
2746
|
reload() {
|
2747
2747
|
return Pi(this);
|
@@ -2780,7 +2780,7 @@ class y {
|
|
2780
2780
|
e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await pe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
|
2781
2781
|
}
|
2782
2782
|
async delete() {
|
2783
|
-
if (
|
2783
|
+
if (I(this.auth.app))
|
2784
2784
|
return Promise.reject(P(this.auth));
|
2785
2785
|
const e = await this.getIdToken();
|
2786
2786
|
return await K(this, Oi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
|
@@ -2811,14 +2811,14 @@ class y {
|
|
2811
2811
|
}
|
2812
2812
|
static _fromJSON(e, t) {
|
2813
2813
|
var r, i, s, o, a, c, l, u;
|
2814
|
-
const p = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0,
|
2814
|
+
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;
|
2815
2815
|
d(
|
2816
2816
|
Ee && ot,
|
2817
2817
|
e,
|
2818
2818
|
"internal-error"
|
2819
2819
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2820
2820
|
);
|
2821
|
-
const Pn =
|
2821
|
+
const Pn = x.fromJSON(this.name, ot);
|
2822
2822
|
d(
|
2823
2823
|
typeof Ee == "string",
|
2824
2824
|
e,
|
@@ -2834,7 +2834,7 @@ class y {
|
|
2834
2834
|
e,
|
2835
2835
|
"internal-error"
|
2836
2836
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2837
|
-
), k(
|
2837
|
+
), k(v, e.name), k(F, e.name), k(tt, e.name), k(ye, e.name), k(nt, e.name), k(rt, e.name);
|
2838
2838
|
const we = new y({
|
2839
2839
|
uid: Ee,
|
2840
2840
|
auth: e,
|
@@ -2842,8 +2842,8 @@ class y {
|
|
2842
2842
|
emailVerified: it,
|
2843
2843
|
displayName: p,
|
2844
2844
|
isAnonymous: st,
|
2845
|
-
photoURL:
|
2846
|
-
phoneNumber:
|
2845
|
+
photoURL: F,
|
2846
|
+
phoneNumber: v,
|
2847
2847
|
tenantId: tt,
|
2848
2848
|
stsTokenManager: Pn,
|
2849
2849
|
createdAt: nt,
|
@@ -2857,7 +2857,7 @@ class y {
|
|
2857
2857
|
* @param idTokenResponse
|
2858
2858
|
*/
|
2859
2859
|
static async _fromIdTokenResponse(e, t, r = !1) {
|
2860
|
-
const i = new
|
2860
|
+
const i = new x();
|
2861
2861
|
i.updateFromServerResponse(t);
|
2862
2862
|
const s = new y({
|
2863
2863
|
uid: t.localId,
|
@@ -2879,7 +2879,7 @@ class y {
|
|
2879
2879
|
"internal-error"
|
2880
2880
|
/* AuthErrorCode.INTERNAL_ERROR */
|
2881
2881
|
);
|
2882
|
-
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new
|
2882
|
+
const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], o = !(i.email && i.passwordHash) && !(s != null && s.length), a = new x();
|
2883
2883
|
a.updateFromIdToken(r);
|
2884
2884
|
const c = new y({
|
2885
2885
|
uid: i.localId,
|
@@ -2895,7 +2895,7 @@ class y {
|
|
2895
2895
|
phoneNumber: i.phoneNumber || null,
|
2896
2896
|
tenantId: i.tenantId || null,
|
2897
2897
|
providerData: s,
|
2898
|
-
metadata: new
|
2898
|
+
metadata: new He(i.createdAt, i.lastLoginAt),
|
2899
2899
|
isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
|
2900
2900
|
};
|
2901
2901
|
return Object.assign(c, l), c;
|
@@ -3117,7 +3117,7 @@ function Bi(n = f()) {
|
|
3117
3117
|
var e;
|
3118
3118
|
return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
|
3119
3119
|
}
|
3120
|
-
function
|
3120
|
+
function Fi() {
|
3121
3121
|
return tr() && document.documentMode === 10;
|
3122
3122
|
}
|
3123
3123
|
function gn(n = f()) {
|
@@ -3139,7 +3139,7 @@ function gn(n = f()) {
|
|
3139
3139
|
* See the License for the specific language governing permissions and
|
3140
3140
|
* limitations under the License.
|
3141
3141
|
*/
|
3142
|
-
function
|
3142
|
+
function vn(n, e = []) {
|
3143
3143
|
let t;
|
3144
3144
|
switch (n) {
|
3145
3145
|
case "Browser":
|
@@ -3170,7 +3170,7 @@ function In(n, e = []) {
|
|
3170
3170
|
* See the License for the specific language governing permissions and
|
3171
3171
|
* limitations under the License.
|
3172
3172
|
*/
|
3173
|
-
class
|
3173
|
+
class ji {
|
3174
3174
|
constructor(e) {
|
3175
3175
|
this.auth = e, this.queue = [];
|
3176
3176
|
}
|
@@ -3225,7 +3225,7 @@ class Vi {
|
|
3225
3225
|
* See the License for the specific language governing permissions and
|
3226
3226
|
* limitations under the License.
|
3227
3227
|
*/
|
3228
|
-
async function
|
3228
|
+
async function Hi(n, e = {}) {
|
3229
3229
|
return $(n, "GET", "/v2/passwordPolicy", ge(n, e));
|
3230
3230
|
}
|
3231
3231
|
/**
|
@@ -3244,12 +3244,12 @@ async function Fi(n, e = {}) {
|
|
3244
3244
|
* See the License for the specific language governing permissions and
|
3245
3245
|
* limitations under the License.
|
3246
3246
|
*/
|
3247
|
-
const
|
3247
|
+
const xi = 6;
|
3248
3248
|
class Wi {
|
3249
3249
|
constructor(e) {
|
3250
3250
|
var t, r, i, s;
|
3251
3251
|
const o = e.customStrengthOptions;
|
3252
|
-
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t :
|
3252
|
+
this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = o.minPasswordLength) !== null && t !== void 0 ? t : xi, 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;
|
3253
3253
|
}
|
3254
3254
|
validatePassword(e) {
|
3255
3255
|
var t, r, i, s, o, a;
|
@@ -3332,9 +3332,9 @@ class Wi {
|
|
3332
3332
|
* See the License for the specific language governing permissions and
|
3333
3333
|
* limitations under the License.
|
3334
3334
|
*/
|
3335
|
-
class
|
3335
|
+
class Vi {
|
3336
3336
|
constructor(e, t, r, i) {
|
3337
|
-
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new
|
3337
|
+
this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new ji(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
|
3338
3338
|
}
|
3339
3339
|
_initializeWithPersistence(e, t) {
|
3340
3340
|
return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
|
@@ -3378,7 +3378,7 @@ class ji {
|
|
3378
3378
|
}
|
3379
3379
|
async initializeCurrentUser(e) {
|
3380
3380
|
var t;
|
3381
|
-
if (
|
3381
|
+
if (I(this.app)) {
|
3382
3382
|
const o = this.app.settings.authIdToken;
|
3383
3383
|
return o ? new Promise((a) => {
|
3384
3384
|
setTimeout(() => this.initializeCurrentUserFromIdToken(o).then(a, a));
|
@@ -3434,7 +3434,7 @@ class ji {
|
|
3434
3434
|
this._deleted = !0;
|
3435
3435
|
}
|
3436
3436
|
async updateCurrentUser(e) {
|
3437
|
-
if (
|
3437
|
+
if (I(this.app))
|
3438
3438
|
return Promise.reject(P(this));
|
3439
3439
|
const t = e ? z(e) : null;
|
3440
3440
|
return t && d(
|
@@ -3456,14 +3456,14 @@ class ji {
|
|
3456
3456
|
});
|
3457
3457
|
}
|
3458
3458
|
async signOut() {
|
3459
|
-
return
|
3459
|
+
return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
|
3460
3460
|
null,
|
3461
3461
|
/* skipBeforeStateCallbacks */
|
3462
3462
|
!0
|
3463
3463
|
));
|
3464
3464
|
}
|
3465
3465
|
setPersistence(e) {
|
3466
|
-
return
|
3466
|
+
return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
|
3467
3467
|
await this.assertedPersistence.setPersistence(E(e));
|
3468
3468
|
});
|
3469
3469
|
}
|
@@ -3479,7 +3479,7 @@ class ji {
|
|
3479
3479
|
return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
|
3480
3480
|
}
|
3481
3481
|
async _updatePasswordPolicy() {
|
3482
|
-
const e = await
|
3482
|
+
const e = await Hi(this), t = new Wi(e);
|
3483
3483
|
this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
|
3484
3484
|
}
|
3485
3485
|
_getPersistence() {
|
@@ -3632,7 +3632,7 @@ class ji {
|
|
3632
3632
|
), this.persistenceManager;
|
3633
3633
|
}
|
3634
3634
|
_logFramework(e) {
|
3635
|
-
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion =
|
3635
|
+
!e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = vn(this.config.clientPlatform, this._getFrameworks()));
|
3636
3636
|
}
|
3637
3637
|
_getFrameworks() {
|
3638
3638
|
return this.frameworks;
|
@@ -3665,7 +3665,7 @@ class ji {
|
|
3665
3665
|
return t != null && t.error && Ei(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
|
3666
3666
|
}
|
3667
3667
|
}
|
3668
|
-
function
|
3668
|
+
function ve(n) {
|
3669
3669
|
return z(n);
|
3670
3670
|
}
|
3671
3671
|
class Tt {
|
@@ -3734,7 +3734,7 @@ function Ji(n) {
|
|
3734
3734
|
* limitations under the License.
|
3735
3735
|
*/
|
3736
3736
|
function Zi(n, e) {
|
3737
|
-
const t =
|
3737
|
+
const t = Xt(n, "auth");
|
3738
3738
|
if (t.isInitialized()) {
|
3739
3739
|
const i = t.getImmediate(), s = t.getOptions();
|
3740
3740
|
if (de(s, e ?? {}))
|
@@ -3747,12 +3747,12 @@ function Zi(n, e) {
|
|
3747
3747
|
}
|
3748
3748
|
return t.initialize({ options: e });
|
3749
3749
|
}
|
3750
|
-
function
|
3750
|
+
function Xi(n, e) {
|
3751
3751
|
const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
|
3752
3752
|
e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
|
3753
3753
|
}
|
3754
|
-
function
|
3755
|
-
const r =
|
3754
|
+
function Yi(n, e, t) {
|
3755
|
+
const r = ve(n);
|
3756
3756
|
d(
|
3757
3757
|
r._canInitEmulator,
|
3758
3758
|
r,
|
@@ -3764,7 +3764,7 @@ function Xi(n, e, t) {
|
|
3764
3764
|
"invalid-emulator-scheme"
|
3765
3765
|
/* AuthErrorCode.INVALID_EMULATOR_SCHEME */
|
3766
3766
|
);
|
3767
|
-
const i = !1, s =
|
3767
|
+
const i = !1, s = In(e), { host: o, port: a } = Ki(e), c = a === null ? "" : `:${a}`;
|
3768
3768
|
r.config.emulator = { url: `${s}//${o}${c}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
|
3769
3769
|
host: o,
|
3770
3770
|
port: a,
|
@@ -3772,12 +3772,12 @@ function Xi(n, e, t) {
|
|
3772
3772
|
options: Object.freeze({ disableWarnings: i })
|
3773
3773
|
}), qi();
|
3774
3774
|
}
|
3775
|
-
function
|
3775
|
+
function In(n) {
|
3776
3776
|
const e = n.indexOf(":");
|
3777
3777
|
return e < 0 ? "" : n.substr(0, e + 1);
|
3778
3778
|
}
|
3779
3779
|
function Ki(n) {
|
3780
|
-
const e =
|
3780
|
+
const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
|
3781
3781
|
if (!t)
|
3782
3782
|
return { host: "", port: null };
|
3783
3783
|
const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
|
@@ -3860,7 +3860,7 @@ class bn {
|
|
3860
3860
|
* See the License for the specific language governing permissions and
|
3861
3861
|
* limitations under the License.
|
3862
3862
|
*/
|
3863
|
-
async function
|
3863
|
+
async function V(n, e) {
|
3864
3864
|
return sn(n, "POST", "/v1/accounts:signInWithIdp", ge(n, e));
|
3865
3865
|
}
|
3866
3866
|
/**
|
@@ -3923,17 +3923,17 @@ class U extends bn {
|
|
3923
3923
|
/** @internal */
|
3924
3924
|
_getIdTokenResponse(e) {
|
3925
3925
|
const t = this.buildRequest();
|
3926
|
-
return
|
3926
|
+
return V(e, t);
|
3927
3927
|
}
|
3928
3928
|
/** @internal */
|
3929
3929
|
_linkToIdToken(e, t) {
|
3930
3930
|
const r = this.buildRequest();
|
3931
|
-
return r.idToken = t,
|
3931
|
+
return r.idToken = t, V(e, r);
|
3932
3932
|
}
|
3933
3933
|
/** @internal */
|
3934
3934
|
_getReauthenticationResolver(e) {
|
3935
3935
|
const t = this.buildRequest();
|
3936
|
-
return t.autoCreate = !1,
|
3936
|
+
return t.autoCreate = !1, V(e, t);
|
3937
3937
|
}
|
3938
3938
|
buildRequest() {
|
3939
3939
|
const e = {
|
@@ -4264,7 +4264,7 @@ O.PROVIDER_ID = "github.com";
|
|
4264
4264
|
* See the License for the specific language governing permissions and
|
4265
4265
|
* limitations under the License.
|
4266
4266
|
*/
|
4267
|
-
class
|
4267
|
+
class C extends ne {
|
4268
4268
|
constructor() {
|
4269
4269
|
super(
|
4270
4270
|
"twitter.com"
|
@@ -4279,8 +4279,8 @@ class N extends ne {
|
|
4279
4279
|
*/
|
4280
4280
|
static credential(e, t) {
|
4281
4281
|
return U._fromParams({
|
4282
|
-
providerId:
|
4283
|
-
signInMethod:
|
4282
|
+
providerId: C.PROVIDER_ID,
|
4283
|
+
signInMethod: C.TWITTER_SIGN_IN_METHOD,
|
4284
4284
|
oauthToken: e,
|
4285
4285
|
oauthTokenSecret: t
|
4286
4286
|
});
|
@@ -4291,7 +4291,7 @@ class N extends ne {
|
|
4291
4291
|
* @param userCredential - The user credential.
|
4292
4292
|
*/
|
4293
4293
|
static credentialFromResult(e) {
|
4294
|
-
return
|
4294
|
+
return C.credentialFromTaggedObject(e);
|
4295
4295
|
}
|
4296
4296
|
/**
|
4297
4297
|
* Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
|
@@ -4300,7 +4300,7 @@ class N extends ne {
|
|
4300
4300
|
* @param userCredential - The user credential.
|
4301
4301
|
*/
|
4302
4302
|
static credentialFromError(e) {
|
4303
|
-
return
|
4303
|
+
return C.credentialFromTaggedObject(e.customData || {});
|
4304
4304
|
}
|
4305
4305
|
static credentialFromTaggedObject({ _tokenResponse: e }) {
|
4306
4306
|
if (!e)
|
@@ -4309,14 +4309,14 @@ class N extends ne {
|
|
4309
4309
|
if (!t || !r)
|
4310
4310
|
return null;
|
4311
4311
|
try {
|
4312
|
-
return
|
4312
|
+
return C.credential(t, r);
|
4313
4313
|
} catch {
|
4314
4314
|
return null;
|
4315
4315
|
}
|
4316
4316
|
}
|
4317
4317
|
}
|
4318
|
-
|
4319
|
-
|
4318
|
+
C.TWITTER_SIGN_IN_METHOD = "twitter.com";
|
4319
|
+
C.PROVIDER_ID = "twitter.com";
|
4320
4320
|
/**
|
4321
4321
|
* @license
|
4322
4322
|
* Copyright 2020 Google LLC
|
@@ -4421,7 +4421,7 @@ async function es(n, e, t = !1) {
|
|
4421
4421
|
*/
|
4422
4422
|
async function ts(n, e, t = !1) {
|
4423
4423
|
const { auth: r } = n;
|
4424
|
-
if (
|
4424
|
+
if (I(r.app))
|
4425
4425
|
return Promise.reject(P(r));
|
4426
4426
|
const i = "reauthenticate";
|
4427
4427
|
try {
|
@@ -4432,7 +4432,7 @@ async function ts(n, e, t = !1) {
|
|
4432
4432
|
"internal-error"
|
4433
4433
|
/* AuthErrorCode.INTERNAL_ERROR */
|
4434
4434
|
);
|
4435
|
-
const o =
|
4435
|
+
const o = Ye(s.idToken);
|
4436
4436
|
d(
|
4437
4437
|
o,
|
4438
4438
|
r,
|
@@ -4471,7 +4471,7 @@ async function ts(n, e, t = !1) {
|
|
4471
4471
|
* limitations under the License.
|
4472
4472
|
*/
|
4473
4473
|
async function ns(n, e, t = !1) {
|
4474
|
-
if (
|
4474
|
+
if (I(n.app))
|
4475
4475
|
return Promise.reject(P(n));
|
4476
4476
|
const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
|
4477
4477
|
return t || await n._updateCurrentUser(s.user), s;
|
@@ -4512,9 +4512,9 @@ async function rs(n, e) {
|
|
4512
4512
|
* limitations under the License.
|
4513
4513
|
*/
|
4514
4514
|
async function is(n, e) {
|
4515
|
-
if (
|
4515
|
+
if (I(n.app))
|
4516
4516
|
return Promise.reject(P(n));
|
4517
|
-
const t =
|
4517
|
+
const t = ve(n), r = await rs(t, {
|
4518
4518
|
token: e,
|
4519
4519
|
returnSecureToken: !0
|
4520
4520
|
}), i = await B._fromIdTokenResponse(t, "signIn", r);
|
@@ -4612,7 +4612,7 @@ class wn extends Tn {
|
|
4612
4612
|
const o = this.storage.getItem(r);
|
4613
4613
|
!t && this.localCache[r] === o || this.notifyListeners(r, o);
|
4614
4614
|
}, s = this.storage.getItem(r);
|
4615
|
-
|
4615
|
+
Fi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, cs) : i();
|
4616
4616
|
}
|
4617
4617
|
notifyListeners(e, t) {
|
4618
4618
|
this.localCache[e] = t;
|
@@ -4743,7 +4743,7 @@ function ds(n) {
|
|
4743
4743
|
* See the License for the specific language governing permissions and
|
4744
4744
|
* limitations under the License.
|
4745
4745
|
*/
|
4746
|
-
class
|
4746
|
+
class Ie {
|
4747
4747
|
constructor(e) {
|
4748
4748
|
this.eventTarget = e, this.handlersMap = {}, this.boundEventHandler = this.handleEvent.bind(this);
|
4749
4749
|
}
|
@@ -4757,7 +4757,7 @@ class ve {
|
|
4757
4757
|
const t = this.receivers.find((i) => i.isListeningto(e));
|
4758
4758
|
if (t)
|
4759
4759
|
return t;
|
4760
|
-
const r = new
|
4760
|
+
const r = new Ie(e);
|
4761
4761
|
return this.receivers.push(r), r;
|
4762
4762
|
}
|
4763
4763
|
isListeningto(e) {
|
@@ -4811,7 +4811,7 @@ class ve {
|
|
4811
4811
|
this.handlersMap[e] && t && this.handlersMap[e].delete(t), (!t || this.handlersMap[e].size === 0) && delete this.handlersMap[e], Object.keys(this.handlersMap).length === 0 && this.eventTarget.removeEventListener("message", this.boundEventHandler);
|
4812
4812
|
}
|
4813
4813
|
}
|
4814
|
-
|
4814
|
+
Ie.receivers = [];
|
4815
4815
|
/**
|
4816
4816
|
* @license
|
4817
4817
|
* Copyright 2020 Google LLC
|
@@ -5026,7 +5026,7 @@ function gs() {
|
|
5026
5026
|
const n = indexedDB.deleteDatabase(Sn);
|
5027
5027
|
return new re(n).toPromise();
|
5028
5028
|
}
|
5029
|
-
function
|
5029
|
+
function xe() {
|
5030
5030
|
const n = indexedDB.open(Sn, _s);
|
5031
5031
|
return new Promise((e, t) => {
|
5032
5032
|
n.addEventListener("error", () => {
|
@@ -5040,7 +5040,7 @@ function He() {
|
|
5040
5040
|
}
|
5041
5041
|
}), n.addEventListener("success", async () => {
|
5042
5042
|
const r = n.result;
|
5043
|
-
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await gs(), e(await
|
5043
|
+
r.objectStoreNames.contains(_e) ? e(r) : (r.close(), await gs(), e(await xe()));
|
5044
5044
|
});
|
5045
5045
|
});
|
5046
5046
|
}
|
@@ -5051,7 +5051,7 @@ async function kt(n, e, t) {
|
|
5051
5051
|
});
|
5052
5052
|
return new re(r).toPromise();
|
5053
5053
|
}
|
5054
|
-
async function
|
5054
|
+
async function vs(n, e) {
|
5055
5055
|
const t = be(n, !1).get(e), r = await new re(t).toPromise();
|
5056
5056
|
return r === void 0 ? null : r.value;
|
5057
5057
|
}
|
@@ -5059,15 +5059,15 @@ function At(n, e) {
|
|
5059
5059
|
const t = be(n, !0).delete(e);
|
5060
5060
|
return new re(t).toPromise();
|
5061
5061
|
}
|
5062
|
-
const
|
5063
|
-
class
|
5062
|
+
const Is = 800, bs = 3;
|
5063
|
+
class Cn {
|
5064
5064
|
constructor() {
|
5065
5065
|
this.type = "LOCAL", this._shouldAllowMigration = !0, this.listeners = {}, this.localCache = {}, this.pollTimer = null, this.pendingWrites = 0, this.receiver = null, this.sender = null, this.serviceWorkerReceiverAvailable = !1, this.activeServiceWorker = null, this._workerInitializationPromise = this.initializeServiceWorkerMessaging().then(() => {
|
5066
5066
|
}, () => {
|
5067
5067
|
});
|
5068
5068
|
}
|
5069
5069
|
async _openDb() {
|
5070
|
-
return this.db ? this.db : (this.db = await
|
5070
|
+
return this.db ? this.db : (this.db = await xe(), this.db);
|
5071
5071
|
}
|
5072
5072
|
async _withRetries(e) {
|
5073
5073
|
let t = 0;
|
@@ -5092,7 +5092,7 @@ class Nn {
|
|
5092
5092
|
* As the worker we should listen to events from the main window.
|
5093
5093
|
*/
|
5094
5094
|
async initializeReceiver() {
|
5095
|
-
this.receiver =
|
5095
|
+
this.receiver = Ie._getInstance(ms()), this.receiver._subscribe("keyChanged", async (e, t) => ({
|
5096
5096
|
keyProcessed: (await this._poll()).includes(t.key)
|
5097
5097
|
})), this.receiver._subscribe("ping", async (e, t) => [
|
5098
5098
|
"keyChanged"
|
@@ -5148,7 +5148,7 @@ class Nn {
|
|
5148
5148
|
try {
|
5149
5149
|
if (!indexedDB)
|
5150
5150
|
return !1;
|
5151
|
-
const e = await
|
5151
|
+
const e = await xe();
|
5152
5152
|
return await kt(e, me, "1"), await At(e, me), !0;
|
5153
5153
|
} catch {
|
5154
5154
|
}
|
@@ -5166,7 +5166,7 @@ class Nn {
|
|
5166
5166
|
return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
|
5167
5167
|
}
|
5168
5168
|
async _get(e) {
|
5169
|
-
const t = await this._withRetries((r) =>
|
5169
|
+
const t = await this._withRetries((r) => vs(r, e));
|
5170
5170
|
return this.localCache[e] = t, t;
|
5171
5171
|
}
|
5172
5172
|
async _remove(e) {
|
@@ -5197,7 +5197,7 @@ class Nn {
|
|
5197
5197
|
i(t);
|
5198
5198
|
}
|
5199
5199
|
startPolling() {
|
5200
|
-
this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(),
|
5200
|
+
this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), Is);
|
5201
5201
|
}
|
5202
5202
|
stopPolling() {
|
5203
5203
|
this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
|
@@ -5209,8 +5209,8 @@ class Nn {
|
|
5209
5209
|
this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
|
5210
5210
|
}
|
5211
5211
|
}
|
5212
|
-
|
5213
|
-
const ys =
|
5212
|
+
Cn.type = "LOCAL";
|
5213
|
+
const ys = Cn;
|
5214
5214
|
new te(3e4, 6e4);
|
5215
5215
|
/**
|
5216
5216
|
* @license
|
@@ -5261,13 +5261,13 @@ class et extends bn {
|
|
5261
5261
|
), this.params = e;
|
5262
5262
|
}
|
5263
5263
|
_getIdTokenResponse(e) {
|
5264
|
-
return
|
5264
|
+
return V(e, this._buildIdpRequest());
|
5265
5265
|
}
|
5266
5266
|
_linkToIdToken(e, t) {
|
5267
|
-
return
|
5267
|
+
return V(e, this._buildIdpRequest(t));
|
5268
5268
|
}
|
5269
5269
|
_getReauthenticationResolver(e) {
|
5270
|
-
return
|
5270
|
+
return V(e, this._buildIdpRequest());
|
5271
5271
|
}
|
5272
5272
|
_buildIdpRequest(e) {
|
5273
5273
|
const t = {
|
@@ -5319,7 +5319,7 @@ async function Rs(n) {
|
|
5319
5319
|
* See the License for the specific language governing permissions and
|
5320
5320
|
* limitations under the License.
|
5321
5321
|
*/
|
5322
|
-
class
|
5322
|
+
class Nn {
|
5323
5323
|
constructor(e, t, r, i, s = !1) {
|
5324
5324
|
this.auth = e, this.resolver = r, this.user = i, this.bypassAuthState = s, this.pendingPromise = null, this.eventManager = null, this.filter = Array.isArray(t) ? t : [t];
|
5325
5325
|
}
|
@@ -5403,9 +5403,9 @@ class Cn {
|
|
5403
5403
|
* limitations under the License.
|
5404
5404
|
*/
|
5405
5405
|
const ks = new te(2e3, 1e4);
|
5406
|
-
class
|
5406
|
+
class j extends Nn {
|
5407
5407
|
constructor(e, t, r, i, s) {
|
5408
|
-
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null,
|
5408
|
+
super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, j.currentPopupAction && j.currentPopupAction.cancel(), j.currentPopupAction = this;
|
5409
5409
|
}
|
5410
5410
|
async executeNotNull() {
|
5411
5411
|
const e = await this.execute();
|
@@ -5447,7 +5447,7 @@ class V extends Cn {
|
|
5447
5447
|
));
|
5448
5448
|
}
|
5449
5449
|
cleanUp() {
|
5450
|
-
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null,
|
5450
|
+
this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, j.currentPopupAction = null;
|
5451
5451
|
}
|
5452
5452
|
pollUserCancellation() {
|
5453
5453
|
const e = () => {
|
@@ -5471,7 +5471,7 @@ class V extends Cn {
|
|
5471
5471
|
e();
|
5472
5472
|
}
|
5473
5473
|
}
|
5474
|
-
|
5474
|
+
j.currentPopupAction = null;
|
5475
5475
|
/**
|
5476
5476
|
* @license
|
5477
5477
|
* Copyright 2020 Google LLC
|
@@ -5489,7 +5489,7 @@ V.currentPopupAction = null;
|
|
5489
5489
|
* limitations under the License.
|
5490
5490
|
*/
|
5491
5491
|
const As = "pendingRedirect", ae = /* @__PURE__ */ new Map();
|
5492
|
-
class Ss extends
|
5492
|
+
class Ss extends Nn {
|
5493
5493
|
constructor(e, t, r = !1) {
|
5494
5494
|
super(e, [
|
5495
5495
|
"signInViaRedirect",
|
@@ -5536,25 +5536,25 @@ class Ss extends Cn {
|
|
5536
5536
|
}
|
5537
5537
|
}
|
5538
5538
|
async function Os(n, e) {
|
5539
|
-
const t = Ds(e), r =
|
5539
|
+
const t = Ds(e), r = Ns(n);
|
5540
5540
|
if (!await r._isAvailable())
|
5541
5541
|
return !1;
|
5542
5542
|
const i = await r._get(t) === "true";
|
5543
5543
|
return await r._remove(t), i;
|
5544
5544
|
}
|
5545
|
-
function
|
5545
|
+
function Cs(n, e) {
|
5546
5546
|
ae.set(n._key(), e);
|
5547
5547
|
}
|
5548
|
-
function
|
5548
|
+
function Ns(n) {
|
5549
5549
|
return E(n._redirectPersistence);
|
5550
5550
|
}
|
5551
5551
|
function Ds(n) {
|
5552
5552
|
return oe(As, n.config.apiKey, n.name);
|
5553
5553
|
}
|
5554
5554
|
async function Ps(n, e, t = !1) {
|
5555
|
-
if (
|
5555
|
+
if (I(n.app))
|
5556
5556
|
return Promise.reject(P(n));
|
5557
|
-
const r =
|
5557
|
+
const r = ve(n), i = Es(r, e), o = await new Ss(r, i, t).execute();
|
5558
5558
|
return o && !t && (delete o.user._redirectEventId, await r._persistUserIfCurrent(o.user), await r._setRedirectUser(null, e)), o;
|
5559
5559
|
}
|
5560
5560
|
/**
|
@@ -5664,14 +5664,14 @@ async function Bs(n, e = {}) {
|
|
5664
5664
|
* See the License for the specific language governing permissions and
|
5665
5665
|
* limitations under the License.
|
5666
5666
|
*/
|
5667
|
-
const
|
5668
|
-
async function
|
5667
|
+
const Fs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, js = /^https?/;
|
5668
|
+
async function Hs(n) {
|
5669
5669
|
if (n.config.emulator)
|
5670
5670
|
return;
|
5671
5671
|
const { authorizedDomains: e } = await Bs(n);
|
5672
5672
|
for (const t of e)
|
5673
5673
|
try {
|
5674
|
-
if (
|
5674
|
+
if (xs(t))
|
5675
5675
|
return;
|
5676
5676
|
} catch {
|
5677
5677
|
}
|
@@ -5681,15 +5681,15 @@ async function Fs(n) {
|
|
5681
5681
|
/* AuthErrorCode.INVALID_ORIGIN */
|
5682
5682
|
);
|
5683
5683
|
}
|
5684
|
-
function
|
5685
|
-
const e =
|
5684
|
+
function xs(n) {
|
5685
|
+
const e = je(), { protocol: t, hostname: r } = new URL(e);
|
5686
5686
|
if (n.startsWith("chrome-extension://")) {
|
5687
5687
|
const o = new URL(n);
|
5688
5688
|
return o.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && o.hostname === r;
|
5689
5689
|
}
|
5690
|
-
if (!
|
5690
|
+
if (!js.test(t))
|
5691
5691
|
return !1;
|
5692
|
-
if (
|
5692
|
+
if (Fs.test(n))
|
5693
5693
|
return r === n;
|
5694
5694
|
const i = n.replace(/\./g, "\\.");
|
5695
5695
|
return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
|
@@ -5720,7 +5720,7 @@ function Ot() {
|
|
5720
5720
|
n.CP[t] = null;
|
5721
5721
|
}
|
5722
5722
|
}
|
5723
|
-
function
|
5723
|
+
function Vs(n) {
|
5724
5724
|
return new Promise((e, t) => {
|
5725
5725
|
var r, i, s;
|
5726
5726
|
function o() {
|
@@ -5758,7 +5758,7 @@ function js(n) {
|
|
5758
5758
|
}
|
5759
5759
|
let ce = null;
|
5760
5760
|
function Gs(n) {
|
5761
|
-
return ce = ce ||
|
5761
|
+
return ce = ce || Vs(n), ce;
|
5762
5762
|
}
|
5763
5763
|
/**
|
5764
5764
|
* @license
|
@@ -5785,13 +5785,13 @@ const zs = new te(5e3, 15e3), $s = "__/auth/iframe", Js = "emulator/auth/iframe"
|
|
5785
5785
|
},
|
5786
5786
|
"aria-hidden": "true",
|
5787
5787
|
tabindex: "-1"
|
5788
|
-
},
|
5788
|
+
}, Xs = /* @__PURE__ */ new Map([
|
5789
5789
|
["identitytoolkit.googleapis.com", "p"],
|
5790
5790
|
["staging-identitytoolkit.sandbox.googleapis.com", "s"],
|
5791
5791
|
["test-identitytoolkit.sandbox.googleapis.com", "t"]
|
5792
5792
|
// test
|
5793
5793
|
]);
|
5794
|
-
function
|
5794
|
+
function Ys(n) {
|
5795
5795
|
const e = n.config;
|
5796
5796
|
d(
|
5797
5797
|
e.authDomain,
|
@@ -5799,11 +5799,11 @@ function Xs(n) {
|
|
5799
5799
|
"auth-domain-config-required"
|
5800
5800
|
/* AuthErrorCode.MISSING_AUTH_DOMAIN */
|
5801
5801
|
);
|
5802
|
-
const t = e.emulator ?
|
5802
|
+
const t = e.emulator ? Xe(e, Js) : `https://${n.config.authDomain}/${$s}`, r = {
|
5803
5803
|
apiKey: e.apiKey,
|
5804
5804
|
appName: n.name,
|
5805
5805
|
v: ee
|
5806
|
-
}, i =
|
5806
|
+
}, i = Xs.get(n.config.apiHost);
|
5807
5807
|
i && (r.eid = i);
|
5808
5808
|
const s = n._getFrameworks();
|
5809
5809
|
return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
|
@@ -5817,7 +5817,7 @@ async function Ks(n) {
|
|
5817
5817
|
/* AuthErrorCode.INTERNAL_ERROR */
|
5818
5818
|
), e.open({
|
5819
5819
|
where: document.body,
|
5820
|
-
url:
|
5820
|
+
url: Ys(n),
|
5821
5821
|
messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
|
5822
5822
|
attributes: Zs,
|
5823
5823
|
dontclear: !0
|
@@ -5863,7 +5863,7 @@ const qs = {
|
|
5863
5863
|
statusbar: "yes",
|
5864
5864
|
toolbar: "no"
|
5865
5865
|
}, Qs = 500, eo = 600, to = "_blank", no = "http://localhost";
|
5866
|
-
class
|
5866
|
+
class Ct {
|
5867
5867
|
constructor(e) {
|
5868
5868
|
this.window = e, this.associatedEvent = null;
|
5869
5869
|
}
|
@@ -5885,9 +5885,9 @@ function ro(n, e, t, r = Qs, i = eo) {
|
|
5885
5885
|
left: o
|
5886
5886
|
}), l = f().toLowerCase();
|
5887
5887
|
t && (a = hn(l) ? to : t), dn(l) && (e = e || no, c.scrollbars = "yes");
|
5888
|
-
const u = Object.entries(c).reduce((m, [
|
5888
|
+
const u = Object.entries(c).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
|
5889
5889
|
if (Bi(l) && a !== "_self")
|
5890
|
-
return io(e || "", a), new
|
5890
|
+
return io(e || "", a), new Ct(null);
|
5891
5891
|
const p = window.open(e || "", a, u);
|
5892
5892
|
d(
|
5893
5893
|
p,
|
@@ -5899,7 +5899,7 @@ function ro(n, e, t, r = Qs, i = eo) {
|
|
5899
5899
|
p.focus();
|
5900
5900
|
} catch {
|
5901
5901
|
}
|
5902
|
-
return new
|
5902
|
+
return new Ct(p);
|
5903
5903
|
}
|
5904
5904
|
function io(n, e) {
|
5905
5905
|
const t = document.createElement("a");
|
@@ -5924,7 +5924,7 @@ function io(n, e) {
|
|
5924
5924
|
* limitations under the License.
|
5925
5925
|
*/
|
5926
5926
|
const so = "__/auth/handler", oo = "emulator/auth/handler", ao = encodeURIComponent("fac");
|
5927
|
-
async function
|
5927
|
+
async function Nt(n, e, t, r, i, s) {
|
5928
5928
|
d(
|
5929
5929
|
n.config.authDomain,
|
5930
5930
|
n,
|
@@ -5961,7 +5961,7 @@ async function Ct(n, e, t, r, i, s) {
|
|
5961
5961
|
return `${co(n)}?${Q(a).slice(1)}${l}`;
|
5962
5962
|
}
|
5963
5963
|
function co({ config: n }) {
|
5964
|
-
return n.emulator ?
|
5964
|
+
return n.emulator ? Xe(n, oo) : `https://${n.authDomain}/${so}`;
|
5965
5965
|
}
|
5966
5966
|
/**
|
5967
5967
|
* @license
|
@@ -5979,22 +5979,22 @@ function co({ config: n }) {
|
|
5979
5979
|
* See the License for the specific language governing permissions and
|
5980
5980
|
* limitations under the License.
|
5981
5981
|
*/
|
5982
|
-
const
|
5982
|
+
const Ne = "webStorageSupport";
|
5983
5983
|
class lo {
|
5984
5984
|
constructor() {
|
5985
|
-
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ps, this._overrideRedirectResult =
|
5985
|
+
this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ps, this._overrideRedirectResult = Cs;
|
5986
5986
|
}
|
5987
5987
|
// Wrapping in async even though we don't await anywhere in order
|
5988
5988
|
// to make sure errors are raised as promise rejections
|
5989
5989
|
async _openPopup(e, t, r, i) {
|
5990
5990
|
var s;
|
5991
5991
|
R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
|
5992
|
-
const o = await
|
5992
|
+
const o = await Nt(e, t, r, je(), i);
|
5993
5993
|
return ro(e, o, Qe());
|
5994
5994
|
}
|
5995
5995
|
async _openRedirect(e, t, r, i) {
|
5996
5996
|
await this._originValidation(e);
|
5997
|
-
const s = await
|
5997
|
+
const s = await Nt(e, t, r, je(), i);
|
5998
5998
|
return hs(s), new Promise(() => {
|
5999
5999
|
});
|
6000
6000
|
}
|
@@ -6022,9 +6022,9 @@ class lo {
|
|
6022
6022
|
}), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
|
6023
6023
|
}
|
6024
6024
|
_isIframeWebStorageSupported(e, t) {
|
6025
|
-
this.iframes[e._key()].send(
|
6025
|
+
this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
|
6026
6026
|
var s;
|
6027
|
-
const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[
|
6027
|
+
const o = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
|
6028
6028
|
o !== void 0 && t(!!o), w(
|
6029
6029
|
e,
|
6030
6030
|
"internal-error"
|
@@ -6034,7 +6034,7 @@ class lo {
|
|
6034
6034
|
}
|
6035
6035
|
_originValidation(e) {
|
6036
6036
|
const t = e._key();
|
6037
|
-
return this.originValidationPromises[t] || (this.originValidationPromises[t] =
|
6037
|
+
return this.originValidationPromises[t] || (this.originValidationPromises[t] = Hs(e)), this.originValidationPromises[t];
|
6038
6038
|
}
|
6039
6039
|
get _shouldInitProactively() {
|
6040
6040
|
return gn() || un() || Ke();
|
@@ -6126,7 +6126,7 @@ function po(n) {
|
|
6126
6126
|
}
|
6127
6127
|
}
|
6128
6128
|
function fo(n) {
|
6129
|
-
|
6129
|
+
X(new G(
|
6130
6130
|
"auth",
|
6131
6131
|
(e, { options: t }) => {
|
6132
6132
|
const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: o, authDomain: a } = r.options;
|
@@ -6138,9 +6138,9 @@ function fo(n) {
|
|
6138
6138
|
apiHost: "identitytoolkit.googleapis.com",
|
6139
6139
|
tokenApiHost: "securetoken.googleapis.com",
|
6140
6140
|
apiScheme: "https",
|
6141
|
-
sdkClientVersion:
|
6142
|
-
}, l = new
|
6143
|
-
return
|
6141
|
+
sdkClientVersion: vn(n)
|
6142
|
+
}, l = new Vi(r, i, s, c);
|
6143
|
+
return Xi(l, t), l;
|
6144
6144
|
},
|
6145
6145
|
"PUBLIC"
|
6146
6146
|
/* ComponentType.PUBLIC */
|
@@ -6152,10 +6152,10 @@ function fo(n) {
|
|
6152
6152
|
"auth-internal"
|
6153
6153
|
/* _ComponentName.AUTH_INTERNAL */
|
6154
6154
|
).initialize();
|
6155
|
-
})),
|
6155
|
+
})), X(new G(
|
6156
6156
|
"auth-internal",
|
6157
6157
|
(e) => {
|
6158
|
-
const t =
|
6158
|
+
const t = ve(e.getProvider(
|
6159
6159
|
"auth"
|
6160
6160
|
/* _ComponentName.AUTH */
|
6161
6161
|
).getImmediate());
|
@@ -6166,7 +6166,7 @@ function fo(n) {
|
|
6166
6166
|
).setInstantiationMode(
|
6167
6167
|
"EXPLICIT"
|
6168
6168
|
/* InstantiationMode.EXPLICIT */
|
6169
|
-
)),
|
6169
|
+
)), H(Dt, Pt, po(n)), H(Dt, Pt, "esm2017");
|
6170
6170
|
}
|
6171
6171
|
/**
|
6172
6172
|
* @license
|
@@ -6198,8 +6198,8 @@ const go = (n) => async (e) => {
|
|
6198
6198
|
} : {}
|
6199
6199
|
}));
|
6200
6200
|
};
|
6201
|
-
function
|
6202
|
-
const e =
|
6201
|
+
function vo(n = li()) {
|
6202
|
+
const e = Xt(n, "auth");
|
6203
6203
|
if (e.isInitialized())
|
6204
6204
|
return e.getImmediate();
|
6205
6205
|
const t = Zi(n, {
|
@@ -6217,10 +6217,10 @@ function Io(n = li()) {
|
|
6217
6217
|
os(t, o, () => o(t.currentUser)), ss(t, (a) => o(a));
|
6218
6218
|
}
|
6219
6219
|
}
|
6220
|
-
const i =
|
6221
|
-
return i &&
|
6220
|
+
const i = Vt("auth");
|
6221
|
+
return i && Yi(t, `http://${i}`), t;
|
6222
6222
|
}
|
6223
|
-
function
|
6223
|
+
function Io() {
|
6224
6224
|
var n, e;
|
6225
6225
|
return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
|
6226
6226
|
}
|
@@ -6234,7 +6234,7 @@ Gi({
|
|
6234
6234
|
/* AuthErrorCode.INTERNAL_ERROR */
|
6235
6235
|
);
|
6236
6236
|
s.customData = i, t(s);
|
6237
|
-
}, r.type = "text/javascript", r.charset = "UTF-8",
|
6237
|
+
}, r.type = "text/javascript", r.charset = "UTF-8", Io().appendChild(r);
|
6238
6238
|
});
|
6239
6239
|
},
|
6240
6240
|
gapiScript: "https://apis.google.com/js/api.js",
|
@@ -6247,7 +6247,7 @@ fo(
|
|
6247
6247
|
);
|
6248
6248
|
const bo = Ln({
|
6249
6249
|
history: Un(),
|
6250
|
-
routes: [...Ge, ...
|
6250
|
+
routes: [...Ge, ...Ve]
|
6251
6251
|
});
|
6252
6252
|
let De, Pe;
|
6253
6253
|
bo.beforeEach(async (n) => {
|
@@ -6280,7 +6280,7 @@ bo.beforeEach(async (n) => {
|
|
6280
6280
|
const yo = /* @__PURE__ */ Ut({
|
6281
6281
|
__name: "AppSidebar",
|
6282
6282
|
setup(n) {
|
6283
|
-
const e = We(), t = Bn(), r =
|
6283
|
+
const e = We(), t = Bn(), r = Fn(t.currentRoute.value.name);
|
6284
6284
|
J(t.currentRoute, () => {
|
6285
6285
|
let a = t.currentRoute.value.name;
|
6286
6286
|
t.currentRoute.value.meta.parent && (a = t.currentRoute.value.meta.parent), r.value = a;
|
@@ -6296,7 +6296,7 @@ const yo = /* @__PURE__ */ Ut({
|
|
6296
6296
|
return t.push({ name: a.name });
|
6297
6297
|
}
|
6298
6298
|
};
|
6299
|
-
}).filter((a) => !!a), s =
|
6299
|
+
}).filter((a) => !!a), s = Ve.map((a) => {
|
6300
6300
|
var c;
|
6301
6301
|
if ((c = a.meta) != null && c.sidebarDisplay)
|
6302
6302
|
return {
|
@@ -6323,7 +6323,7 @@ const yo = /* @__PURE__ */ Ut({
|
|
6323
6323
|
});
|
6324
6324
|
return (a, c) => {
|
6325
6325
|
const l = Bt("FmCollapsibleTabs");
|
6326
|
-
return
|
6326
|
+
return Ft(), jt(l, {
|
6327
6327
|
modelValue: r.value,
|
6328
6328
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => r.value = u),
|
6329
6329
|
items: o.value,
|
@@ -6332,42 +6332,42 @@ const yo = /* @__PURE__ */ Ut({
|
|
6332
6332
|
};
|
6333
6333
|
}
|
6334
6334
|
});
|
6335
|
-
var Eo = { authClientId: "
|
6335
|
+
var Eo = { 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" };
|
6336
6336
|
const Oo = /* @__PURE__ */ Ut({
|
6337
6337
|
__name: "App",
|
6338
6338
|
setup(n) {
|
6339
|
-
const { state: e } = Wn(), t = We(), r =
|
6339
|
+
const { state: e } = Wn(), t = We(), r = Yt(Eo.firebase);
|
6340
6340
|
async function i() {
|
6341
6341
|
const s = t.sessionUser.value;
|
6342
6342
|
if (!s || !s.token) return;
|
6343
|
-
const o = await s.getCustomToken(), a =
|
6343
|
+
const o = await s.getCustomToken(), a = vo(r);
|
6344
6344
|
await is(a, o);
|
6345
6345
|
}
|
6346
|
-
return i(), J(t.sessionUser, i),
|
6346
|
+
return i(), J(t.sessionUser, i), jn(() => {
|
6347
6347
|
e.isIframe && parent.postMessage({ event: "ready" }, "*");
|
6348
|
-
}),
|
6348
|
+
}), Hn(() => {
|
6349
6349
|
t.registerSidebarComponent(yo);
|
6350
6350
|
}), (s, o) => {
|
6351
6351
|
const a = Bt("RouterView");
|
6352
|
-
return
|
6352
|
+
return Ft(), jt(a);
|
6353
6353
|
};
|
6354
6354
|
}
|
6355
|
-
}),
|
6356
|
-
...
|
6355
|
+
}), Co = [
|
6356
|
+
...Ve,
|
6357
6357
|
...Ge
|
6358
6358
|
];
|
6359
6359
|
export {
|
6360
6360
|
G as C,
|
6361
6361
|
M as F,
|
6362
6362
|
ee as S,
|
6363
|
-
|
6364
|
-
|
6363
|
+
X as _,
|
6364
|
+
Xt as a,
|
6365
6365
|
Ao as b,
|
6366
6366
|
li as c,
|
6367
6367
|
So as d,
|
6368
6368
|
gt as e,
|
6369
|
-
|
6369
|
+
Co as f,
|
6370
6370
|
z as g,
|
6371
6371
|
Oo as h,
|
6372
|
-
|
6372
|
+
H as r
|
6373
6373
|
};
|