@feedmepos/mf-payment 1.1.0-beta.1 → 1.1.0-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.
Files changed (37) hide show
  1. package/dist/{PayoutAccount-BHJpjUqD.js → PayoutAccount-BpMu58oE.js} +5 -5
  2. package/dist/{PayoutAccount-DCkf_1yL.js → PayoutAccount-z-gdodfR.js} +360 -360
  3. package/dist/{PayoutAccountSetting-Bk-g7ucZ.js → PayoutAccountSetting-jZJu4WWL.js} +3 -3
  4. package/dist/{Restaurant-D2qq84VL.js → Restaurant-DfBX5uPS.js} +4 -4
  5. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js +33 -0
  6. package/dist/{RestaurantSetting-DAtrtX6S.js → RestaurantSetting-KPtRoif-.js} +3 -3
  7. package/dist/{Settlement-Cx1tc5wt.js → Settlement-DbMQAA0_.js} +3 -3
  8. package/dist/Settlement-smC2PDKA.js +445 -0
  9. package/dist/{SettlementTransactions-C82DyYlO.js → SettlementTransactions-Bs8Il-GO.js} +3 -3
  10. package/dist/SettlementTransactions-Cw9DnODr.js +291 -0
  11. package/dist/{Terminal-Az2k8E6F.js → Terminal-HLOGtr0x.js} +5 -5
  12. package/dist/{TerminalSetting-C-xlLYXa.js → TerminalSetting-DraCszpQ.js} +3 -3
  13. package/dist/Transaction-B8cHQbbP.js +250 -0
  14. package/dist/{Transaction-Y_mc0yQv.js → Transaction-_CB4VTT9.js} +5 -5
  15. package/dist/TransactionOld-BhzUSu5h.js +99 -0
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-dwwesT4_.js → TransactionTable.vue_vue_type_script_setup_true_lang-UcnQKwQ5.js} +87 -87
  17. package/dist/{app-OBp4HaEY.js → app-DWRPKvx2.js} +721 -448
  18. package/dist/app.d.ts +278 -0
  19. package/dist/app.js +4 -3
  20. package/dist/{assets-pLBp82yE.js → assets-BImh8bhR.js} +1 -1
  21. package/dist/{grafana-hv7inD36.js → grafana-CPOGSE20.js} +1 -1
  22. package/dist/{index-1xF00w89.js → index-8eCaI4jI.js} +1 -1
  23. package/dist/{index-DGKxdJVj.js → index-CNZFZxie.js} +1 -1
  24. package/dist/{index-DD5mEX0D.js → index-D5DlMaeB.js} +1 -1
  25. package/dist/{index-oM4Z9ffu.js → index-DtT3I2PI.js} +1 -1
  26. package/dist/{index-Cqq3p9PP.js → index-DuSw-EaU.js} +1 -1
  27. package/dist/{index-CFYD8Dv4.js → index-eznEOmAe.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-C9tnqgzY.js → index.vue_vue_type_script_setup_true_lang-DNXWZt8k.js} +1 -1
  29. package/dist/package.json +8 -7
  30. package/dist/{payout-account-DPaS3dIs.js → payout-account-CjDkY3wf.js} +2 -2
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/package.json +8 -7
  33. package/dist/RestaurantSelector.vue_vue_type_script_setup_true_lang-p4qddIbp.js +0 -33
  34. package/dist/Settlement-BVIsszEJ.js +0 -447
  35. package/dist/SettlementTransactions-CeN4SRWa.js +0 -291
  36. package/dist/Transaction-CC8hc8_r.js +0 -250
  37. package/dist/TransactionOld-BxhI-wwm.js +0 -99
@@ -1,9 +1,281 @@
1
1
  import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
2
- import { computed as Lt, watch as $, defineComponent as Ut, ref as jn, resolveComponent as Bt, openBlock as Ft, createBlock as jt, h as xn, onMounted as Vn, onBeforeMount as Hn, unref as Gn } from "vue";
2
+ import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Vn, unref as Gn } from "vue";
3
3
  import { useCoreStore as Ge } from "@feedmepos/mf-common";
4
4
  import { defineStore as Wn } from "pinia";
5
5
  import { components as zn } from "@feedmepos/ui-library";
6
- const le = [
6
+ const Zn = {
7
+ select: "Select filter entity",
8
+ restaurant: "Restaurant",
9
+ device: "Device",
10
+ payout_account: "Payout Account"
11
+ }, $n = {
12
+ title: "Settlements",
13
+ description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
14
+ export: "Export",
15
+ table: {
16
+ id: "Settlement ID",
17
+ bank: "Bank",
18
+ account: "Account No",
19
+ created_at: "Created At",
20
+ sales_amount: "Sales Amount",
21
+ fee: "Fee",
22
+ settlement_amount: "Settlement Amount"
23
+ },
24
+ dialog: {
25
+ title: "Settlements Transactions",
26
+ search: "Search Transactions ...",
27
+ info: {
28
+ transaction: {
29
+ title: "Transaction Info",
30
+ for: "For",
31
+ reference: "Reference",
32
+ count: "Transaction"
33
+ },
34
+ bank: {
35
+ title: "Bank Info",
36
+ for: "Bank",
37
+ name: "Name",
38
+ number: "Number"
39
+ },
40
+ payout: {
41
+ title: "Payout Info",
42
+ amount: "Amount",
43
+ fee: "Fee",
44
+ payout: "Payout"
45
+ }
46
+ },
47
+ fiuu: {
48
+ id: "Transaction ID",
49
+ type: "Type",
50
+ transaction_at: "Transaction At",
51
+ sales_amount: "Sales Amount",
52
+ fee: "Fee",
53
+ settlement_amount: "Settlement Amount"
54
+ },
55
+ feedme: {
56
+ id: "Transaction ID",
57
+ pay_id: "Pay ID",
58
+ gateway: "Gateway",
59
+ method: "Method",
60
+ status: "Status",
61
+ type: "Type",
62
+ transaction_at: "Transaction At",
63
+ sales_amount: "Sales Amount",
64
+ fee: "Fee",
65
+ settlement_amount: "Settlement Amount"
66
+ }
67
+ }
68
+ }, Jn = {
69
+ title: "Transactions",
70
+ description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
71
+ restaurant: "Restaurant",
72
+ status: "Status",
73
+ search: {
74
+ title: "Search",
75
+ placeholder: "Search Transactions ..."
76
+ },
77
+ button: {
78
+ export: "Export"
79
+ },
80
+ table: {
81
+ id: "Transaction ID",
82
+ pay_id: "Pay ID",
83
+ bill_seq: "Bill Seq No",
84
+ gateway: "Gateway",
85
+ method: "Method",
86
+ type: "Type",
87
+ status: "Status",
88
+ transaction_at: "Transaction At",
89
+ sales_amount: "Sales Amount",
90
+ actions: "Actions"
91
+ }
92
+ }, Xn = {
93
+ title: "Payout Account",
94
+ description: "A Payout Account is an account used to receive payments or disbursements, such as earnings or refunds, typically linked to a bank.",
95
+ button: {
96
+ apply: "Apply"
97
+ },
98
+ table: {
99
+ type: "Type",
100
+ name: "Name",
101
+ status: "Status",
102
+ active: "Active?",
103
+ bank: "Bank Details",
104
+ pic: "Person In-Charge (PIC)"
105
+ },
106
+ dialog: {
107
+ view_title: " View Payout Account",
108
+ title: "Apply Payout Account",
109
+ button: {
110
+ remove: "Remove",
111
+ submit: "Submit"
112
+ },
113
+ fields: {
114
+ type: "Type",
115
+ for: "For",
116
+ for_placeholder: "Select store",
117
+ name: "Name",
118
+ phone: "Phone No",
119
+ email: "Email",
120
+ bank: "Bank",
121
+ bank_type: "Type",
122
+ bank_account: "Account Number",
123
+ bank_holder: "Holder Name"
124
+ },
125
+ document: {
126
+ ssm: "SSM Certificate ( Form D )",
127
+ bank: "Bank Statement w/ Holder Name",
128
+ exterior: "Exterior Photo"
129
+ },
130
+ section: {
131
+ account: "Account",
132
+ bank: "Bank Info",
133
+ pic: "Key Person",
134
+ document: "Legal Documents"
135
+ }
136
+ }
137
+ }, Yn = {
138
+ components: Zn,
139
+ settlements: $n,
140
+ transactions: Jn,
141
+ payout_account: Xn
142
+ }, Kn = {
143
+ select: "选择筛选对象",
144
+ restaurant: "餐厅",
145
+ device: "设备",
146
+ payout_account: "结算账户"
147
+ }, qn = {
148
+ title: "交易结算",
149
+ description: "交易结算是金融交易的最终处理,交易流水的详细,完成付款的资金转移。",
150
+ export: "导出",
151
+ table: {
152
+ id: "结算ID",
153
+ bank: "银行",
154
+ account: "账户号码",
155
+ created_at: "结算时间",
156
+ sales_amount: "营业金额",
157
+ fee: "服务费用",
158
+ settlement_amount: "结算金额"
159
+ },
160
+ dialog: {
161
+ title: "结算订单详细",
162
+ search: "查询订单 ...",
163
+ info: {
164
+ transaction: {
165
+ title: "交易详细",
166
+ for: "于",
167
+ reference: "相关",
168
+ count: "数量"
169
+ },
170
+ bank: {
171
+ title: "银行详细",
172
+ for: "银行",
173
+ name: "名称",
174
+ number: "号码"
175
+ },
176
+ payout: {
177
+ title: "结算详细",
178
+ amount: "营业金额",
179
+ fee: "服务费",
180
+ payout: "结算金额"
181
+ }
182
+ },
183
+ fiuu: {
184
+ id: "交易ID",
185
+ type: "类型",
186
+ transaction_at: "交易时间",
187
+ sales_amount: "营业金额",
188
+ fee: "服务费",
189
+ settlement_amount: "结算金额"
190
+ },
191
+ feedme: {
192
+ id: "交易ID",
193
+ pay_id: "订单ID",
194
+ gateway: "支付网关",
195
+ method: "支付方法",
196
+ status: "状态",
197
+ type: "类型",
198
+ transaction_at: "交易时间",
199
+ sales_amount: "营业金额",
200
+ fee: "服务费",
201
+ settlement_amount: "结算金额"
202
+ }
203
+ }
204
+ }, Qn = {
205
+ title: "交易订单",
206
+ description: "交易订单是使用卡或数字钱包等电子方式通过互联网进行的购买或付款。",
207
+ restaurant: "餐厅",
208
+ status: "状态",
209
+ search: {
210
+ title: "查询",
211
+ placeholder: "查询订单 ..."
212
+ },
213
+ button: {
214
+ export: "导出"
215
+ },
216
+ table: {
217
+ id: "交易ID",
218
+ pay_id: "支付ID",
219
+ bill_seq: "订单序列号",
220
+ gateway: "支付网关",
221
+ method: "支付方法",
222
+ type: "支付类型",
223
+ status: "状态",
224
+ transaction_at: "交易时间",
225
+ sales_amount: "交易金额",
226
+ actions: "操作"
227
+ }
228
+ }, er = {
229
+ title: "结算账户",
230
+ description: "结算账户是用于接收付款或支出的账户,例如收入或退款,通常与银行关联。",
231
+ button: {
232
+ apply: "申请"
233
+ },
234
+ table: {
235
+ type: "类型",
236
+ name: "名称",
237
+ status: "状态",
238
+ active: "活跃?",
239
+ bank: "银行详情",
240
+ pic: "负责人 (PIC)"
241
+ },
242
+ dialog: {
243
+ view_title: " 查看结算账户",
244
+ title: "申请结算账户",
245
+ button: {
246
+ remove: "删除",
247
+ submit: "提交"
248
+ },
249
+ fields: {
250
+ type: "类型",
251
+ for: "于",
252
+ for_placeholder: "选择商户/餐厅",
253
+ name: "名称",
254
+ phone: "电话号码",
255
+ email: "电子邮箱",
256
+ bank: "银行",
257
+ bank_type: "账户类型",
258
+ bank_account: "账户号码",
259
+ bank_holder: "持有人名称"
260
+ },
261
+ document: {
262
+ ssm: "SSM营业证书(Form D)",
263
+ bank: "银行对账单(含持有人姓名)",
264
+ exterior: "营业户外照片"
265
+ },
266
+ section: {
267
+ account: "账户讯息",
268
+ bank: "银行讯息",
269
+ pic: "负责人讯息",
270
+ document: "法律文件"
271
+ }
272
+ }
273
+ }, tr = {
274
+ components: Kn,
275
+ settlements: qn,
276
+ transactions: Qn,
277
+ payout_account: er
278
+ }, le = [
7
279
  {
8
280
  path: "/admin/restaurants",
9
281
  name: "mf-payment-admin.restaurant",
@@ -11,7 +283,7 @@ const le = [
11
283
  sidebarDisplay: "Restaurants",
12
284
  section: "payment-gateway"
13
285
  },
14
- component: () => import("./Restaurant-D2qq84VL.js")
286
+ component: () => import("./Restaurant-DfBX5uPS.js")
15
287
  },
16
288
  {
17
289
  path: "/admin/restaurants/:restaurantId",
@@ -20,7 +292,7 @@ const le = [
20
292
  meta: {
21
293
  parent: "mf-payment-admin.restaurant"
22
294
  },
23
- component: () => import("./RestaurantSetting-DAtrtX6S.js")
295
+ component: () => import("./RestaurantSetting-KPtRoif-.js")
24
296
  },
25
297
  {
26
298
  path: "/admin/payout-accounts",
@@ -29,7 +301,7 @@ const le = [
29
301
  sidebarDisplay: "Payout Accounts",
30
302
  section: "payment-gateway"
31
303
  },
32
- component: () => import("./PayoutAccount-BHJpjUqD.js")
304
+ component: () => import("./PayoutAccount-BpMu58oE.js")
33
305
  },
34
306
  {
35
307
  path: "/admin/payout-accounts/:accountId",
@@ -38,7 +310,7 @@ const le = [
38
310
  meta: {
39
311
  parent: "mf-payment-admin.payout-account"
40
312
  },
41
- component: () => import("./PayoutAccountSetting-Bk-g7ucZ.js")
313
+ component: () => import("./PayoutAccountSetting-jZJu4WWL.js")
42
314
  },
43
315
  {
44
316
  path: "/admin/terminal/pos",
@@ -47,7 +319,7 @@ const le = [
47
319
  sidebarDisplay: "POS",
48
320
  section: "device"
49
321
  },
50
- component: () => import("./Terminal-Az2k8E6F.js"),
322
+ component: () => import("./Terminal-HLOGtr0x.js"),
51
323
  props: {
52
324
  type: "POS"
53
325
  }
@@ -59,7 +331,7 @@ const le = [
59
331
  sidebarDisplay: "Kiosks",
60
332
  section: "device"
61
333
  },
62
- component: () => import("./Terminal-Az2k8E6F.js"),
334
+ component: () => import("./Terminal-HLOGtr0x.js"),
63
335
  props: {
64
336
  type: "KIOSK"
65
337
  }
@@ -71,7 +343,7 @@ const le = [
71
343
  sidebarDisplay: "Terminals",
72
344
  section: "device"
73
345
  },
74
- component: () => import("./Terminal-Az2k8E6F.js"),
346
+ component: () => import("./Terminal-HLOGtr0x.js"),
75
347
  props: {
76
348
  type: "TERMINAL"
77
349
  }
@@ -83,7 +355,7 @@ const le = [
83
355
  meta: {
84
356
  parent: "mf-payment-admin.pos"
85
357
  },
86
- component: () => import("./TerminalSetting-C-xlLYXa.js")
358
+ component: () => import("./TerminalSetting-DraCszpQ.js")
87
359
  },
88
360
  {
89
361
  path: "/admin/terminal/kiosk/:terminalId",
@@ -92,7 +364,7 @@ const le = [
92
364
  meta: {
93
365
  parent: "mf-payment-admin.kiosk"
94
366
  },
95
- component: () => import("./TerminalSetting-C-xlLYXa.js")
367
+ component: () => import("./TerminalSetting-DraCszpQ.js")
96
368
  },
97
369
  {
98
370
  path: "/admin/terminal/terminal/:terminalId",
@@ -101,7 +373,7 @@ const le = [
101
373
  meta: {
102
374
  parent: "mf-payment-admin.terminal"
103
375
  },
104
- component: () => import("./TerminalSetting-C-xlLYXa.js")
376
+ component: () => import("./TerminalSetting-DraCszpQ.js")
105
377
  },
106
378
  {
107
379
  path: "/admin/transaction",
@@ -109,7 +381,7 @@ const le = [
109
381
  meta: {
110
382
  sidebarDisplay: "Transactions"
111
383
  },
112
- component: () => import("./Transaction-Y_mc0yQv.js")
384
+ component: () => import("./Transaction-_CB4VTT9.js")
113
385
  },
114
386
  {
115
387
  path: "/admin/settlement",
@@ -117,7 +389,7 @@ const le = [
117
389
  meta: {
118
390
  sidebarDisplay: "Settlements"
119
391
  },
120
- component: () => import("./Settlement-Cx1tc5wt.js")
392
+ component: () => import("./Settlement-DbMQAA0_.js")
121
393
  },
122
394
  {
123
395
  path: "/admin/settlement/:settlementId",
@@ -126,7 +398,7 @@ const le = [
126
398
  meta: {
127
399
  parent: "mf-payment-admin.settlement"
128
400
  },
129
- component: () => import("./SettlementTransactions-C82DyYlO.js")
401
+ component: () => import("./SettlementTransactions-Bs8Il-GO.js")
130
402
  }
131
403
  ], We = [
132
404
  {
@@ -136,7 +408,7 @@ const le = [
136
408
  {
137
409
  path: "/payout-account",
138
410
  name: "mf-payment-payout-account",
139
- component: () => import("./PayoutAccount-DCkf_1yL.js"),
411
+ component: () => import("./PayoutAccount-z-gdodfR.js"),
140
412
  meta: {
141
413
  sidebarDisplay: "Payout Accounts"
142
414
  }
@@ -144,7 +416,7 @@ const le = [
144
416
  {
145
417
  path: "/transaction-old",
146
418
  name: "mf-payment-old-transaction",
147
- component: () => import("./TransactionOld-BxhI-wwm.js"),
419
+ component: () => import("./TransactionOld-BhzUSu5h.js"),
148
420
  meta: {
149
421
  sidebarDisplay: "Transactions"
150
422
  }
@@ -152,7 +424,7 @@ const le = [
152
424
  {
153
425
  path: "/transaction",
154
426
  name: "mf-payment-transaction",
155
- component: () => import("./Transaction-CC8hc8_r.js"),
427
+ component: () => import("./Transaction-B8cHQbbP.js"),
156
428
  meta: {
157
429
  sidebarDisplay: "Transactions",
158
430
  sidebarNew: !0
@@ -161,7 +433,7 @@ const le = [
161
433
  {
162
434
  path: "/settlement",
163
435
  name: "mf-payment-settlement",
164
- component: () => import("./Settlement-BVIsszEJ.js"),
436
+ component: () => import("./Settlement-smC2PDKA.js"),
165
437
  meta: {
166
438
  sidebarDisplay: "Settlements"
167
439
  }
@@ -170,12 +442,12 @@ const le = [
170
442
  path: "/settlement/:settlementId",
171
443
  name: "mf-payment-settlement-transaction",
172
444
  props: !0,
173
- component: () => import("./SettlementTransactions-CeN4SRWa.js"),
445
+ component: () => import("./SettlementTransactions-Cw9DnODr.js"),
174
446
  meta: {
175
447
  parent: "mf-payment-settlement"
176
448
  }
177
449
  }
178
- ], Zn = Wn("mf-payment-iframe", () => {
450
+ ], nr = Wn("mf-payment-iframe", () => {
179
451
  const n = {
180
452
  isIframe: !1
181
453
  }, e = Lt(() => n);
@@ -187,7 +459,7 @@ const le = [
187
459
  init: t
188
460
  };
189
461
  });
190
- var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_d2b46566-cdd2-4da6-a553-5df2367d87be", 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.14.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_d2b46566-cdd2-4da6-a553-5df2367d87be", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.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_Si6zxALdUInjVjAyY9zrXWiOEC8Atp3tDB54", 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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", YARN_WRAP_OUTPUT: "false", npm_package_dependencies__feedmepos_mf_common: "^1.8.21", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "710", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6624", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13918490302", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c4165d4c72a7ad82b94b35ff46ac6e777165eb43", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6NTM4M2U5MGUtNDYyMC00YTQyLWFmMTMtYjQwOWIzZjU1MTAyOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzI2IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46NTM4M2U5MGUtNDYyMC00YTQyLWFmMTMtYjQwOWIzZjU1MTAyOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzI2IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMzM5MWI0NjItZmVlYS00YWYwLTkwYjktNzY3ODdmZjU5ZWNlIiwic2lkIjoiMjI5YjJlZTYtYTZhMS00MjVlLTgyYTktZWVjMzc5NDkxMTgzIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImM0MTY1ZDRjNzJhN2FkODJiOTRiMzVmZjQ2YWM2ZTc3NzE2NWViNDNcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTM5MTg0OTAzMDJcIixcInJ1bl9udW1iZXJcIjpcIjE0NFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJjNDE2NWQ0YzcyYTdhZDgyYjk0YjM1ZmY0NmFjNmU3NzcxNjVlYjQzXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJjNDE2NWQ0YzcyYTdhZDgyYjk0YjM1ZmY0NmFjNmU3NzcxNjVlYjQzXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI1MzgzZTkwZS00NjIwLTRhNDItYWYxMy1iNDA5YjNmNTUxMDIuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDIyODU0MzcsImV4cCI6MTc0MjMwODIzN30.Fg9aOzjU68ptUSHqLPkyxAWV3UeFRF5kVrFQC0PFogHN9TzZmdp5tQiuj0yvWhjk82VvU5Tq13Sh38y4QENiNrGm0Iw1ZonmOxD43eEieVqGTPNfZdj2BxJliM7WoFepKdARPi7MQ2-pymTMMxSFSeuikygGy_QgP7zNjuca39cKi7BJwjp03kZif91v_vCjAZMFEq96vOG6BiGlQcmn6Uk9HvLL4qSXc1-AAxQf1U-UxxkwXhS3CDYuQFQc0DkvlJsde071KDZq7lEEYyTRJMpXi3WLx96-cff7DA-jVGvxjJ8rIDBahXJS6kFyMZ2jezVm6IAQ7DLlN2pRb1uBAA", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1742286092160-0.3080656005895879:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742286092001-0.4653794616059381:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742286091844-0.3528187099226008:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.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.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9871439e-09c6-41dc-b4b1-cef0f24f64ac", INVOCATION_ID: "504e351c509844a7b7b135861919a925", 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: "144", 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 489", 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.1.0-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "c4165d4c72a7ad82b94b35ff46ac6e777165eb43", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_d2b46566-cdd2-4da6-a553-5df2367d87be", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/5383e90e-4620-4a42-af13-b409b3f55102/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_d2b46566-cdd2-4da6-a553-5df2367d87be", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_d2b46566-cdd2-4da6-a553-5df2367d87be", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.23", 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" };
462
+ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_87b15eec-8de8-4c91-819c-f9fbabc7691f", 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.14.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_87b15eec-8de8-4c91-819c-f9fbabc7691f", PIPX_HOME: "/opt/pipx", npm_node_execpath: "/opt/hostedtoolcache/node/22.14.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_AfQtBhC9yphVOmKZeH0pJdxjLcHRqc1bc4es", 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.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", 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.11.6", npm_config_version_tag_prefix: "v", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.5", npm_config_userconfig: "/home/runner/work/_temp/.npmrc", SYSTEMD_EXEC_PID: "714", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250309.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6138", GITHUB_WORKFLOW: "payment-mf-portal-dev", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13922172776", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "767e7afb433e255e9404dd55eccc04cc9f009b48", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-dev.yaml@refs/heads/dev", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2YwMDhiMzQtZjBjYi00ZDg1LTgzNjctMzEyZjgxODg5MzE2OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzI5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2YwMDhiMzQtZjBjYi00ZDg1LTgzNjctMzEyZjgxODg5MzE2OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xMzI5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiNmVjYmIwZjktMWE2Yy00NDU1LWFjOGUtNGMwNDc0NDg5ODRhIiwic2lkIjoiN2FlYmIzODUtNzgzZi00ZmJlLThmOWEtZjIzOTZhNzc1MWI2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjc2N2U3YWZiNDMzZTI1NWU5NDA0ZGQ1NWVjY2MwNGNjOWYwMDliNDhcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTM5MjIxNzI3NzZcIixcInJ1bl9udW1iZXJcIjpcIjE0NlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI3NjdlN2FmYjQzM2UyNTVlOTQwNGRkNTVlY2NjMDRjYzlmMDA5YjQ4XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI3NjdlN2FmYjQzM2UyNTVlOTQwNGRkNTVlY2NjMDRjYzlmMDA5YjQ4XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3ZjAwOGIzNC1mMGNiLTRkODUtODM2Ny0zMTJmODE4ODkzMTYuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDIyOTY5NzcsImV4cCI6MTc0MjMxOTc3N30.OOKMNsFraeUCJlpmZD3gTAxTdf9lHCZlfj_HEtzA2tRA4bGdidLdMlsXmORBZ5j06lB4MVjBv-ZQQOVCMvu5wx5lqBPUMiYUxzTGKG20liT23NW58a8CGKaEjv_Vq4w3YZVIniaP9PS2qHvzBmvwofdmUh_eVv4-LQhMOw7JWCArqDWgwsSa2C63A1xIS-ZFUuPlsX60sypeQ7_0jhRnLG3xKVyLAgQyTHcZY0nheUx2MXCmaeA26Uy8uMxdTLqHzAQHwciBp1TzHob7PEqFlLJauiQzxUf6v6TfaSJEx2rRk9OV4kAZNHeYLPGECI_q8Hhod2L9zDBWDr6tZ4YjtQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1742297629522-0.3002916058976224:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742297629366-0.5060425940480151:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/tmp/yarn--1742297629205-0.3115261064996848:/home/runner/work/payment-service/payment-service/mf-portal/node_modules/.bin:/home/runner/.config/yarn/link/node_modules/.bin:/opt/hostedtoolcache/node/22.14.0/x64/libexec/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/lib/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.0/x64/bin/node_modules/npm/bin/node-gyp-bin:/opt/hostedtoolcache/node/22.14.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.14.0/x64/bin/node", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_df4fcce8-fcd8-4515-9a1f-056ea32ebc67", INVOCATION_ID: "a2f68627a15c4711a18929f7f7a1ad40", 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: "146", 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 39", 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.1.0-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_package_dependencies_vue_i18n: "10.0.5", 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: "767e7afb433e255e9404dd55eccc04cc9f009b48", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_87b15eec-8de8-4c91-819c-f9fbabc7691f", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/payment-service/payment-service/mf-portal", GITHUB_ACTOR_ID: "15674107", RUNNER_WORKSPACE: "/home/runner/work/payment-service", npm_execpath: "/usr/local/lib/node_modules/yarn/bin/yarn.js", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "push", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", ACTIONS_ID_TOKEN_REQUEST_URL: "https://pipelinesghubeus11.actions.githubusercontent.com/uhMzCspeMtZD05BczWutTDpLRkQb1I4q0fwG0tss4R7H4Wpw9s/00000000-0000-0000-0000-000000000000/_apis/distributedtask/hubs/Actions/plans/7f008b34-f0cb-4d85-8367-312f81889316/jobs/e07742bd-189a-5079-918b-43f8b2f94b89/idtoken?api-version=2.0", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_87b15eec-8de8-4c91-819c-f9fbabc7691f", npm_package_dependencies_qrcode_vue: "^3.6.0", npm_package_exports___types: "./dist/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", npm_package_devDependencies_postcss: "^8.4.47", npm_package_devDependencies_eslint_plugin_vue: "^9.1.0", npm_package_devDependencies__vue_vue3_jest: "^29.2.5", npm_package_devDependencies__pinia_testing: "^0.1.3", npm_config_save_prefix: "^", npm_config_ignore_optional: "", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_devDependencies_cd: "^0.3.3", npm_package_dependencies_i18next_http_backend: "^1.4.1", npm_package_dependencies_rasterizehtml: "^1.3.1", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", INIT_CWD: "/home/runner/work/payment-service/payment-service/mf-portal", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_87b15eec-8de8-4c91-819c-f9fbabc7691f", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.0.23", 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" };
191
463
  /**
192
464
  * @license
193
465
  * Copyright 2017 Google LLC
@@ -204,7 +476,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
204
476
  * See the License for the specific language governing permissions and
205
477
  * limitations under the License.
206
478
  */
207
- const xt = function(n) {
479
+ const jt = function(n) {
208
480
  const e = [];
209
481
  let t = 0;
210
482
  for (let r = 0; r < n.length; r++) {
@@ -212,7 +484,7 @@ const xt = function(n) {
212
484
  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);
213
485
  }
214
486
  return e;
215
- }, $n = function(n) {
487
+ }, rr = function(n) {
216
488
  const e = [];
217
489
  let t = 0, r = 0;
218
490
  for (; t < n.length; ) {
@@ -231,7 +503,7 @@ const xt = function(n) {
231
503
  }
232
504
  }
233
505
  return e.join("");
234
- }, Vt = {
506
+ }, Ht = {
235
507
  /**
236
508
  * Maps bytes to characters.
237
509
  */
@@ -305,7 +577,7 @@ const xt = function(n) {
305
577
  * @return The base64 encoded string.
306
578
  */
307
579
  encodeString(n, e) {
308
- return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(xt(n), e);
580
+ return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
309
581
  },
310
582
  /**
311
583
  * Base64-decode a string.
@@ -316,7 +588,7 @@ const xt = function(n) {
316
588
  * @return string representing the decoded value.
317
589
  */
318
590
  decodeString(n, e) {
319
- return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : $n(this.decodeStringToByteArray(n, e));
591
+ return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : rr(this.decodeStringToByteArray(n, e));
320
592
  },
321
593
  /**
322
594
  * Base64-decode a string.
@@ -343,7 +615,7 @@ const xt = function(n) {
343
615
  ++i;
344
616
  const p = i < n.length ? t[n.charAt(i)] : 64;
345
617
  if (++i, s == null || c == null || l == null || p == null)
346
- throw new Jn();
618
+ throw new ir();
347
619
  const m = s << 2 | c >> 4;
348
620
  if (r.push(m), l !== 64) {
349
621
  const v = c << 4 & 240 | l >> 2;
@@ -368,19 +640,19 @@ const xt = function(n) {
368
640
  }
369
641
  }
370
642
  };
371
- class Jn extends Error {
643
+ class ir extends Error {
372
644
  constructor() {
373
645
  super(...arguments), this.name = "DecodeBase64StringError";
374
646
  }
375
647
  }
376
- const Yn = function(n) {
377
- const e = xt(n);
378
- return Vt.encodeByteArray(e, !0);
648
+ const sr = function(n) {
649
+ const e = jt(n);
650
+ return Ht.encodeByteArray(e, !0);
379
651
  }, de = function(n) {
380
- return Yn(n).replace(/\./g, "");
381
- }, Ht = function(n) {
652
+ return sr(n).replace(/\./g, "");
653
+ }, Vt = function(n) {
382
654
  try {
383
- return Vt.decodeString(n, !0);
655
+ return Ht.decodeString(n, !0);
384
656
  } catch (e) {
385
657
  console.error("base64Decode failed: ", e);
386
658
  }
@@ -402,7 +674,7 @@ const Yn = function(n) {
402
674
  * See the License for the specific language governing permissions and
403
675
  * limitations under the License.
404
676
  */
405
- function Xn() {
677
+ function ar() {
406
678
  if (typeof self < "u")
407
679
  return self;
408
680
  if (typeof window < "u")
@@ -427,13 +699,13 @@ function Xn() {
427
699
  * See the License for the specific language governing permissions and
428
700
  * limitations under the License.
429
701
  */
430
- const Kn = () => Xn().__FIREBASE_DEFAULTS__, qn = () => {
702
+ const or = () => ar().__FIREBASE_DEFAULTS__, cr = () => {
431
703
  if (typeof process > "u" || typeof ot > "u")
432
704
  return;
433
705
  const n = ot.__FIREBASE_DEFAULTS__;
434
706
  if (n)
435
707
  return JSON.parse(n);
436
- }, Qn = () => {
708
+ }, lr = () => {
437
709
  if (typeof document > "u")
438
710
  return;
439
711
  let n;
@@ -442,11 +714,11 @@ const Kn = () => Xn().__FIREBASE_DEFAULTS__, qn = () => {
442
714
  } catch {
443
715
  return;
444
716
  }
445
- const e = n && Ht(n[1]);
717
+ const e = n && Vt(n[1]);
446
718
  return e && JSON.parse(e);
447
719
  }, ze = () => {
448
720
  try {
449
- return Kn() || qn() || Qn();
721
+ return or() || cr() || lr();
450
722
  } catch (n) {
451
723
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
452
724
  return;
@@ -454,7 +726,7 @@ const Kn = () => Xn().__FIREBASE_DEFAULTS__, qn = () => {
454
726
  }, Gt = (n) => {
455
727
  var e, t;
456
728
  return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
457
- }, Na = (n) => {
729
+ }, Ha = (n) => {
458
730
  const e = Gt(n);
459
731
  if (!e)
460
732
  return;
@@ -486,7 +758,7 @@ const Kn = () => Xn().__FIREBASE_DEFAULTS__, qn = () => {
486
758
  * See the License for the specific language governing permissions and
487
759
  * limitations under the License.
488
760
  */
489
- class er {
761
+ class dr {
490
762
  constructor() {
491
763
  this.reject = () => {
492
764
  }, this.resolve = () => {
@@ -522,7 +794,7 @@ class er {
522
794
  * See the License for the specific language governing permissions and
523
795
  * limitations under the License.
524
796
  */
525
- function Da(n, e) {
797
+ function Va(n, e) {
526
798
  if (n.uid)
527
799
  throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
528
800
  const t = {
@@ -570,33 +842,33 @@ function Da(n, e) {
570
842
  function f() {
571
843
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
572
844
  }
573
- function tr() {
845
+ function ur() {
574
846
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
575
847
  // just to deal with this case would probably be a bad idea.
576
848
  !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
577
849
  }
578
- function nr() {
850
+ function hr() {
579
851
  return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
580
852
  }
581
- function rr() {
853
+ function pr() {
582
854
  const n = typeof chrome == "object" ? chrome.runtime : typeof browser == "object" ? browser.runtime : void 0;
583
855
  return typeof n == "object" && n.id !== void 0;
584
856
  }
585
- function ir() {
857
+ function fr() {
586
858
  return typeof navigator == "object" && navigator.product === "ReactNative";
587
859
  }
588
- function sr() {
860
+ function mr() {
589
861
  const n = f();
590
862
  return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
591
863
  }
592
- function ar() {
864
+ function _r() {
593
865
  try {
594
866
  return typeof indexedDB == "object";
595
867
  } catch {
596
868
  return !1;
597
869
  }
598
870
  }
599
- function or() {
871
+ function gr() {
600
872
  return new Promise((n, e) => {
601
873
  try {
602
874
  let t = !0;
@@ -630,10 +902,10 @@ function or() {
630
902
  * See the License for the specific language governing permissions and
631
903
  * limitations under the License.
632
904
  */
633
- const cr = "FirebaseError";
905
+ const vr = "FirebaseError";
634
906
  class M extends Error {
635
907
  constructor(e, t, r) {
636
- super(t), this.code = e, this.customData = r, this.name = cr, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
908
+ super(t), this.code = e, this.customData = r, this.name = vr, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
637
909
  }
638
910
  }
639
911
  class q {
@@ -641,18 +913,18 @@ class q {
641
913
  this.service = e, this.serviceName = t, this.errors = r;
642
914
  }
643
915
  create(e, ...t) {
644
- const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? lr(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
916
+ const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? Ir(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
645
917
  return new M(i, c, r);
646
918
  }
647
919
  }
648
- function lr(n, e) {
649
- return n.replace(dr, (t, r) => {
920
+ function Ir(n, e) {
921
+ return n.replace(br, (t, r) => {
650
922
  const i = e[r];
651
923
  return i != null ? String(i) : `<${r}?>`;
652
924
  });
653
925
  }
654
- const dr = /\{\$([^}]+)}/g;
655
- function ur(n) {
926
+ const br = /\{\$([^}]+)}/g;
927
+ function yr(n) {
656
928
  for (const e in n)
657
929
  if (Object.prototype.hasOwnProperty.call(n, e))
658
930
  return !1;
@@ -704,11 +976,11 @@ function Q(n) {
704
976
  }) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
705
977
  return e.length ? "&" + e.join("&") : "";
706
978
  }
707
- function hr(n, e) {
708
- const t = new pr(n, e);
979
+ function Er(n, e) {
980
+ const t = new Tr(n, e);
709
981
  return t.subscribe.bind(t);
710
982
  }
711
- class pr {
983
+ class Tr {
712
984
  /**
713
985
  * @param executor Function which can make calls to a single Observer
714
986
  * as a proxy.
@@ -746,7 +1018,7 @@ class pr {
746
1018
  let i;
747
1019
  if (e === void 0 && t === void 0 && r === void 0)
748
1020
  throw new Error("Missing Observer.");
749
- fr(e, [
1021
+ wr(e, [
750
1022
  "next",
751
1023
  "error",
752
1024
  "complete"
@@ -792,7 +1064,7 @@ class pr {
792
1064
  }));
793
1065
  }
794
1066
  }
795
- function fr(n, e) {
1067
+ function wr(n, e) {
796
1068
  if (typeof n != "object" || n === null)
797
1069
  return !1;
798
1070
  for (const t of e)
@@ -877,7 +1149,7 @@ const L = "[DEFAULT]";
877
1149
  * See the License for the specific language governing permissions and
878
1150
  * limitations under the License.
879
1151
  */
880
- class mr {
1152
+ class Rr {
881
1153
  constructor(e, t) {
882
1154
  this.name = e, this.container = t, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
883
1155
  }
@@ -888,7 +1160,7 @@ class mr {
888
1160
  get(e) {
889
1161
  const t = this.normalizeInstanceIdentifier(e);
890
1162
  if (!this.instancesDeferred.has(t)) {
891
- const r = new er();
1163
+ const r = new dr();
892
1164
  if (this.instancesDeferred.set(t, r), this.isInitialized(t) || this.shouldAutoInitialize())
893
1165
  try {
894
1166
  const i = this.getOrInitializeService({
@@ -928,7 +1200,7 @@ class mr {
928
1200
  if (this.component)
929
1201
  throw Error(`Component for ${this.name} has already been provided`);
930
1202
  if (this.component = e, !!this.shouldAutoInitialize()) {
931
- if (gr(e))
1203
+ if (Sr(e))
932
1204
  try {
933
1205
  this.getOrInitializeService({ instanceIdentifier: L });
934
1206
  } catch {
@@ -1015,7 +1287,7 @@ class mr {
1015
1287
  getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
1016
1288
  let r = this.instances.get(e);
1017
1289
  if (!r && this.component && (r = this.component.instanceFactory(this.container, {
1018
- instanceIdentifier: _r(e),
1290
+ instanceIdentifier: kr(e),
1019
1291
  options: t
1020
1292
  }), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
1021
1293
  try {
@@ -1031,10 +1303,10 @@ class mr {
1031
1303
  return !!this.component && this.component.instantiationMode !== "EXPLICIT";
1032
1304
  }
1033
1305
  }
1034
- function _r(n) {
1306
+ function kr(n) {
1035
1307
  return n === L ? void 0 : n;
1036
1308
  }
1037
- function gr(n) {
1309
+ function Sr(n) {
1038
1310
  return n.instantiationMode === "EAGER";
1039
1311
  }
1040
1312
  /**
@@ -1053,7 +1325,7 @@ function gr(n) {
1053
1325
  * See the License for the specific language governing permissions and
1054
1326
  * limitations under the License.
1055
1327
  */
1056
- class vr {
1328
+ class Ar {
1057
1329
  constructor(e) {
1058
1330
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1059
1331
  }
@@ -1085,7 +1357,7 @@ class vr {
1085
1357
  getProvider(e) {
1086
1358
  if (this.providers.has(e))
1087
1359
  return this.providers.get(e);
1088
- const t = new mr(e, this);
1360
+ const t = new Rr(e, this);
1089
1361
  return this.providers.set(e, t), t;
1090
1362
  }
1091
1363
  getProviders() {
@@ -1112,23 +1384,23 @@ var h;
1112
1384
  (function(n) {
1113
1385
  n[n.DEBUG = 0] = "DEBUG", n[n.VERBOSE = 1] = "VERBOSE", n[n.INFO = 2] = "INFO", n[n.WARN = 3] = "WARN", n[n.ERROR = 4] = "ERROR", n[n.SILENT = 5] = "SILENT";
1114
1386
  })(h || (h = {}));
1115
- const Ir = {
1387
+ const Or = {
1116
1388
  debug: h.DEBUG,
1117
1389
  verbose: h.VERBOSE,
1118
1390
  info: h.INFO,
1119
1391
  warn: h.WARN,
1120
1392
  error: h.ERROR,
1121
1393
  silent: h.SILENT
1122
- }, br = h.INFO, yr = {
1394
+ }, Nr = h.INFO, Cr = {
1123
1395
  [h.DEBUG]: "log",
1124
1396
  [h.VERBOSE]: "log",
1125
1397
  [h.INFO]: "info",
1126
1398
  [h.WARN]: "warn",
1127
1399
  [h.ERROR]: "error"
1128
- }, Er = (n, e, ...t) => {
1400
+ }, Dr = (n, e, ...t) => {
1129
1401
  if (e < n.logLevel)
1130
1402
  return;
1131
- const r = (/* @__PURE__ */ new Date()).toISOString(), i = yr[e];
1403
+ const r = (/* @__PURE__ */ new Date()).toISOString(), i = Cr[e];
1132
1404
  if (i)
1133
1405
  console[i](`[${r}] ${n.name}:`, ...t);
1134
1406
  else
@@ -1142,7 +1414,7 @@ class Zt {
1142
1414
  * @param name The name that the logs will be associated with
1143
1415
  */
1144
1416
  constructor(e) {
1145
- this.name = e, this._logLevel = br, this._logHandler = Er, this._userLogHandler = null;
1417
+ this.name = e, this._logLevel = Nr, this._logHandler = Dr, this._userLogHandler = null;
1146
1418
  }
1147
1419
  get logLevel() {
1148
1420
  return this._logLevel;
@@ -1154,7 +1426,7 @@ class Zt {
1154
1426
  }
1155
1427
  // Workaround for setter/getter having to be the same type.
1156
1428
  setLogLevel(e) {
1157
- this._logLevel = typeof e == "string" ? Ir[e] : e;
1429
+ this._logLevel = typeof e == "string" ? Or[e] : e;
1158
1430
  }
1159
1431
  get logHandler() {
1160
1432
  return this._logHandler;
@@ -1189,9 +1461,9 @@ class Zt {
1189
1461
  this._userLogHandler && this._userLogHandler(this, h.ERROR, ...e), this._logHandler(this, h.ERROR, ...e);
1190
1462
  }
1191
1463
  }
1192
- const Tr = (n, e) => e.some((t) => n instanceof t);
1464
+ const Pr = (n, e) => e.some((t) => n instanceof t);
1193
1465
  let lt, dt;
1194
- function wr() {
1466
+ function Mr() {
1195
1467
  return lt || (lt = [
1196
1468
  IDBDatabase,
1197
1469
  IDBObjectStore,
@@ -1200,7 +1472,7 @@ function wr() {
1200
1472
  IDBTransaction
1201
1473
  ]);
1202
1474
  }
1203
- function Rr() {
1475
+ function Lr() {
1204
1476
  return dt || (dt = [
1205
1477
  IDBCursor.prototype.advance,
1206
1478
  IDBCursor.prototype.continue,
@@ -1208,12 +1480,12 @@ function Rr() {
1208
1480
  ]);
1209
1481
  }
1210
1482
  const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
1211
- function kr(n) {
1483
+ function Ur(n) {
1212
1484
  const e = new Promise((t, r) => {
1213
1485
  const i = () => {
1214
1486
  n.removeEventListener("success", s), n.removeEventListener("error", a);
1215
1487
  }, s = () => {
1216
- t(N(n.result)), i();
1488
+ t(C(n.result)), i();
1217
1489
  }, a = () => {
1218
1490
  r(n.error), i();
1219
1491
  };
@@ -1224,7 +1496,7 @@ function kr(n) {
1224
1496
  }).catch(() => {
1225
1497
  }), Ze.set(e, n), e;
1226
1498
  }
1227
- function Sr(n) {
1499
+ function Br(n) {
1228
1500
  if (Le.has(n))
1229
1501
  return;
1230
1502
  const e = new Promise((t, r) => {
@@ -1249,7 +1521,7 @@ let Ue = {
1249
1521
  if (e === "store")
1250
1522
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1251
1523
  }
1252
- return N(n[e]);
1524
+ return C(n[e]);
1253
1525
  },
1254
1526
  set(n, e, t) {
1255
1527
  return n[e] = t, !0;
@@ -1258,35 +1530,35 @@ let Ue = {
1258
1530
  return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
1259
1531
  }
1260
1532
  };
1261
- function Ar(n) {
1533
+ function Fr(n) {
1262
1534
  Ue = n(Ue);
1263
1535
  }
1264
- function Or(n) {
1536
+ function xr(n) {
1265
1537
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1266
1538
  const r = n.call(Ae(this), e, ...t);
1267
- return Jt.set(r, e.sort ? e.sort() : [e]), N(r);
1268
- } : Rr().includes(n) ? function(...e) {
1269
- return n.apply(Ae(this), e), N($t.get(this));
1539
+ return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
1540
+ } : Lr().includes(n) ? function(...e) {
1541
+ return n.apply(Ae(this), e), C($t.get(this));
1270
1542
  } : function(...e) {
1271
- return N(n.apply(Ae(this), e));
1543
+ return C(n.apply(Ae(this), e));
1272
1544
  };
1273
1545
  }
1274
- function Cr(n) {
1275
- return typeof n == "function" ? Or(n) : (n instanceof IDBTransaction && Sr(n), Tr(n, wr()) ? new Proxy(n, Ue) : n);
1546
+ function jr(n) {
1547
+ return typeof n == "function" ? xr(n) : (n instanceof IDBTransaction && Br(n), Pr(n, Mr()) ? new Proxy(n, Ue) : n);
1276
1548
  }
1277
- function N(n) {
1549
+ function C(n) {
1278
1550
  if (n instanceof IDBRequest)
1279
- return kr(n);
1551
+ return Ur(n);
1280
1552
  if (Se.has(n))
1281
1553
  return Se.get(n);
1282
- const e = Cr(n);
1554
+ const e = jr(n);
1283
1555
  return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
1284
1556
  }
1285
1557
  const Ae = (n) => Ze.get(n);
1286
- function Nr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1287
- const a = indexedDB.open(n, e), c = N(a);
1558
+ function Hr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1559
+ const a = indexedDB.open(n, e), c = C(a);
1288
1560
  return r && a.addEventListener("upgradeneeded", (o) => {
1289
- r(N(a.result), o.oldVersion, o.newVersion, N(a.transaction), o);
1561
+ r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
1290
1562
  }), t && a.addEventListener("blocked", (o) => t(
1291
1563
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
1292
1564
  o.oldVersion,
@@ -1297,16 +1569,16 @@ function Nr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1297
1569
  }).catch(() => {
1298
1570
  }), c;
1299
1571
  }
1300
- const Dr = ["get", "getKey", "getAll", "getAllKeys", "count"], Pr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1572
+ const Vr = ["get", "getKey", "getAll", "getAllKeys", "count"], Gr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1301
1573
  function ut(n, e) {
1302
1574
  if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
1303
1575
  return;
1304
1576
  if (Oe.get(e))
1305
1577
  return Oe.get(e);
1306
- const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Pr.includes(t);
1578
+ const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Gr.includes(t);
1307
1579
  if (
1308
1580
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
1309
- !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Dr.includes(t))
1581
+ !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Vr.includes(t))
1310
1582
  )
1311
1583
  return;
1312
1584
  const s = async function(a, ...c) {
@@ -1319,7 +1591,7 @@ function ut(n, e) {
1319
1591
  };
1320
1592
  return Oe.set(e, s), s;
1321
1593
  }
1322
- Ar((n) => ({
1594
+ Fr((n) => ({
1323
1595
  ...n,
1324
1596
  get: (e, t, r) => ut(e, t) || n.get(e, t, r),
1325
1597
  has: (e, t) => !!ut(e, t) || n.has(e, t)
@@ -1340,7 +1612,7 @@ Ar((n) => ({
1340
1612
  * See the License for the specific language governing permissions and
1341
1613
  * limitations under the License.
1342
1614
  */
1343
- class Mr {
1615
+ class Wr {
1344
1616
  constructor(e) {
1345
1617
  this.container = e;
1346
1618
  }
@@ -1348,7 +1620,7 @@ class Mr {
1348
1620
  // auth token refresh, and installations will send this string.
1349
1621
  getPlatformInfoString() {
1350
1622
  return this.container.getProviders().map((t) => {
1351
- if (Lr(t)) {
1623
+ if (zr(t)) {
1352
1624
  const r = t.getImmediate();
1353
1625
  return `${r.library}/${r.version}`;
1354
1626
  } else
@@ -1356,7 +1628,7 @@ class Mr {
1356
1628
  }).filter((t) => t).join(" ");
1357
1629
  }
1358
1630
  }
1359
- function Lr(n) {
1631
+ function zr(n) {
1360
1632
  const e = n.getComponent();
1361
1633
  return (e == null ? void 0 : e.type) === "VERSION";
1362
1634
  }
@@ -1377,7 +1649,7 @@ const Be = "@firebase/app", ht = "0.10.13";
1377
1649
  * See the License for the specific language governing permissions and
1378
1650
  * limitations under the License.
1379
1651
  */
1380
- const T = new Zt("@firebase/app"), Ur = "@firebase/app-compat", Br = "@firebase/analytics-compat", Fr = "@firebase/analytics", jr = "@firebase/app-check-compat", xr = "@firebase/app-check", Vr = "@firebase/auth", Hr = "@firebase/auth-compat", Gr = "@firebase/database", Wr = "@firebase/data-connect", zr = "@firebase/database-compat", Zr = "@firebase/functions", $r = "@firebase/functions-compat", Jr = "@firebase/installations", Yr = "@firebase/installations-compat", Xr = "@firebase/messaging", Kr = "@firebase/messaging-compat", qr = "@firebase/performance", Qr = "@firebase/performance-compat", ei = "@firebase/remote-config", ti = "@firebase/remote-config-compat", ni = "@firebase/storage", ri = "@firebase/storage-compat", ii = "@firebase/firestore", si = "@firebase/vertexai-preview", ai = "@firebase/firestore-compat", oi = "firebase", ci = "10.14.1";
1652
+ const T = new Zt("@firebase/app"), Zr = "@firebase/app-compat", $r = "@firebase/analytics-compat", Jr = "@firebase/analytics", Xr = "@firebase/app-check-compat", Yr = "@firebase/app-check", Kr = "@firebase/auth", qr = "@firebase/auth-compat", Qr = "@firebase/database", ei = "@firebase/data-connect", ti = "@firebase/database-compat", ni = "@firebase/functions", ri = "@firebase/functions-compat", ii = "@firebase/installations", si = "@firebase/installations-compat", ai = "@firebase/messaging", oi = "@firebase/messaging-compat", ci = "@firebase/performance", li = "@firebase/performance-compat", di = "@firebase/remote-config", ui = "@firebase/remote-config-compat", hi = "@firebase/storage", pi = "@firebase/storage-compat", fi = "@firebase/firestore", mi = "@firebase/vertexai-preview", _i = "@firebase/firestore-compat", gi = "firebase", vi = "10.14.1";
1381
1653
  /**
1382
1654
  * @license
1383
1655
  * Copyright 2019 Google LLC
@@ -1394,35 +1666,35 @@ const T = new Zt("@firebase/app"), Ur = "@firebase/app-compat", Br = "@firebase/
1394
1666
  * See the License for the specific language governing permissions and
1395
1667
  * limitations under the License.
1396
1668
  */
1397
- const Fe = "[DEFAULT]", li = {
1669
+ const Fe = "[DEFAULT]", Ii = {
1398
1670
  [Be]: "fire-core",
1399
- [Ur]: "fire-core-compat",
1400
- [Fr]: "fire-analytics",
1401
- [Br]: "fire-analytics-compat",
1402
- [xr]: "fire-app-check",
1403
- [jr]: "fire-app-check-compat",
1404
- [Vr]: "fire-auth",
1405
- [Hr]: "fire-auth-compat",
1406
- [Gr]: "fire-rtdb",
1407
- [Wr]: "fire-data-connect",
1408
- [zr]: "fire-rtdb-compat",
1409
- [Zr]: "fire-fn",
1410
- [$r]: "fire-fn-compat",
1411
- [Jr]: "fire-iid",
1412
- [Yr]: "fire-iid-compat",
1413
- [Xr]: "fire-fcm",
1414
- [Kr]: "fire-fcm-compat",
1415
- [qr]: "fire-perf",
1416
- [Qr]: "fire-perf-compat",
1417
- [ei]: "fire-rc",
1418
- [ti]: "fire-rc-compat",
1419
- [ni]: "fire-gcs",
1420
- [ri]: "fire-gcs-compat",
1421
- [ii]: "fire-fst",
1422
- [ai]: "fire-fst-compat",
1423
- [si]: "fire-vertex",
1671
+ [Zr]: "fire-core-compat",
1672
+ [Jr]: "fire-analytics",
1673
+ [$r]: "fire-analytics-compat",
1674
+ [Yr]: "fire-app-check",
1675
+ [Xr]: "fire-app-check-compat",
1676
+ [Kr]: "fire-auth",
1677
+ [qr]: "fire-auth-compat",
1678
+ [Qr]: "fire-rtdb",
1679
+ [ei]: "fire-data-connect",
1680
+ [ti]: "fire-rtdb-compat",
1681
+ [ni]: "fire-fn",
1682
+ [ri]: "fire-fn-compat",
1683
+ [ii]: "fire-iid",
1684
+ [si]: "fire-iid-compat",
1685
+ [ai]: "fire-fcm",
1686
+ [oi]: "fire-fcm-compat",
1687
+ [ci]: "fire-perf",
1688
+ [li]: "fire-perf-compat",
1689
+ [di]: "fire-rc",
1690
+ [ui]: "fire-rc-compat",
1691
+ [hi]: "fire-gcs",
1692
+ [pi]: "fire-gcs-compat",
1693
+ [fi]: "fire-fst",
1694
+ [_i]: "fire-fst-compat",
1695
+ [mi]: "fire-vertex",
1424
1696
  "fire-js": "fire-js",
1425
- [oi]: "fire-js-all"
1697
+ [gi]: "fire-js-all"
1426
1698
  };
1427
1699
  /**
1428
1700
  * @license
@@ -1440,7 +1712,7 @@ const Fe = "[DEFAULT]", li = {
1440
1712
  * See the License for the specific language governing permissions and
1441
1713
  * limitations under the License.
1442
1714
  */
1443
- const he = /* @__PURE__ */ new Map(), di = /* @__PURE__ */ new Map(), je = /* @__PURE__ */ new Map();
1715
+ const he = /* @__PURE__ */ new Map(), bi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
1444
1716
  function pt(n, e) {
1445
1717
  try {
1446
1718
  n.container.addComponent(e);
@@ -1448,18 +1720,18 @@ function pt(n, e) {
1448
1720
  T.debug(`Component ${e.name} failed to register with FirebaseApp ${n.name}`, t);
1449
1721
  }
1450
1722
  }
1451
- function Y(n) {
1723
+ function X(n) {
1452
1724
  const e = n.name;
1453
- if (je.has(e))
1725
+ if (xe.has(e))
1454
1726
  return T.debug(`There were multiple attempts to register component ${e}.`), !1;
1455
- je.set(e, n);
1727
+ xe.set(e, n);
1456
1728
  for (const t of he.values())
1457
1729
  pt(t, n);
1458
- for (const t of di.values())
1730
+ for (const t of bi.values())
1459
1731
  pt(t, n);
1460
1732
  return !0;
1461
1733
  }
1462
- function Yt(n, e) {
1734
+ function Xt(n, e) {
1463
1735
  const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
1464
1736
  return t && t.triggerHeartbeat(), n.container.getProvider(e);
1465
1737
  }
@@ -1482,7 +1754,7 @@ function I(n) {
1482
1754
  * See the License for the specific language governing permissions and
1483
1755
  * limitations under the License.
1484
1756
  */
1485
- const ui = {
1757
+ const yi = {
1486
1758
  "no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
1487
1759
  "bad-app-name": "Illegal App name: '{$appName}'",
1488
1760
  "duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
@@ -1497,7 +1769,7 @@ const ui = {
1497
1769
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
1498
1770
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
1499
1771
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
1500
- }, D = new q("app", "Firebase", ui);
1772
+ }, D = new q("app", "Firebase", yi);
1501
1773
  /**
1502
1774
  * @license
1503
1775
  * Copyright 2019 Google LLC
@@ -1514,7 +1786,7 @@ const ui = {
1514
1786
  * See the License for the specific language governing permissions and
1515
1787
  * limitations under the License.
1516
1788
  */
1517
- class hi {
1789
+ class Ei {
1518
1790
  constructor(e, t, r) {
1519
1791
  this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new W(
1520
1792
  "app",
@@ -1572,8 +1844,8 @@ class hi {
1572
1844
  * See the License for the specific language governing permissions and
1573
1845
  * limitations under the License.
1574
1846
  */
1575
- const ee = ci;
1576
- function Xt(n, e = {}) {
1847
+ const ee = vi;
1848
+ function Yt(n, e = {}) {
1577
1849
  let t = n;
1578
1850
  typeof e != "object" && (e = { name: e });
1579
1851
  const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
@@ -1592,23 +1864,23 @@ function Xt(n, e = {}) {
1592
1864
  return s;
1593
1865
  throw D.create("duplicate-app", { appName: i });
1594
1866
  }
1595
- const a = new vr(i);
1596
- for (const o of je.values())
1867
+ const a = new Ar(i);
1868
+ for (const o of xe.values())
1597
1869
  a.addComponent(o);
1598
- const c = new hi(t, r, a);
1870
+ const c = new Ei(t, r, a);
1599
1871
  return he.set(i, c), c;
1600
1872
  }
1601
- function pi(n = Fe) {
1873
+ function Ti(n = Fe) {
1602
1874
  const e = he.get(n);
1603
1875
  if (!e && n === Fe && Wt())
1604
- return Xt();
1876
+ return Yt();
1605
1877
  if (!e)
1606
1878
  throw D.create("no-app", { appName: n });
1607
1879
  return e;
1608
1880
  }
1609
- function x(n, e, t) {
1881
+ function j(n, e, t) {
1610
1882
  var r;
1611
- let i = (r = li[n]) !== null && r !== void 0 ? r : n;
1883
+ let i = (r = Ii[n]) !== null && r !== void 0 ? r : n;
1612
1884
  t && (i += `-${t}`);
1613
1885
  const s = i.match(/\s|\//), a = e.match(/\s|\//);
1614
1886
  if (s || a) {
@@ -1618,7 +1890,7 @@ function x(n, e, t) {
1618
1890
  s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
1619
1891
  return;
1620
1892
  }
1621
- Y(new W(
1893
+ X(new W(
1622
1894
  `${i}-version`,
1623
1895
  () => ({ library: i, version: e }),
1624
1896
  "VERSION"
@@ -1641,15 +1913,15 @@ function x(n, e, t) {
1641
1913
  * See the License for the specific language governing permissions and
1642
1914
  * limitations under the License.
1643
1915
  */
1644
- const fi = "firebase-heartbeat-database", mi = 1, X = "firebase-heartbeat-store";
1645
- let Ce = null;
1916
+ const wi = "firebase-heartbeat-database", Ri = 1, Y = "firebase-heartbeat-store";
1917
+ let Ne = null;
1646
1918
  function Kt() {
1647
- return Ce || (Ce = Nr(fi, mi, {
1919
+ return Ne || (Ne = Hr(wi, Ri, {
1648
1920
  upgrade: (n, e) => {
1649
1921
  switch (e) {
1650
1922
  case 0:
1651
1923
  try {
1652
- n.createObjectStore(X);
1924
+ n.createObjectStore(Y);
1653
1925
  } catch (t) {
1654
1926
  console.warn(t);
1655
1927
  }
@@ -1659,11 +1931,11 @@ function Kt() {
1659
1931
  throw D.create("idb-open", {
1660
1932
  originalErrorMessage: n.message
1661
1933
  });
1662
- })), Ce;
1934
+ })), Ne;
1663
1935
  }
1664
- async function _i(n) {
1936
+ async function ki(n) {
1665
1937
  try {
1666
- const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
1938
+ const t = (await Kt()).transaction(Y), r = await t.objectStore(Y).get(qt(n));
1667
1939
  return await t.done, r;
1668
1940
  } catch (e) {
1669
1941
  if (e instanceof M)
@@ -1678,8 +1950,8 @@ async function _i(n) {
1678
1950
  }
1679
1951
  async function ft(n, e) {
1680
1952
  try {
1681
- const r = (await Kt()).transaction(X, "readwrite");
1682
- await r.objectStore(X).put(e, qt(n)), await r.done;
1953
+ const r = (await Kt()).transaction(Y, "readwrite");
1954
+ await r.objectStore(Y).put(e, qt(n)), await r.done;
1683
1955
  } catch (t) {
1684
1956
  if (t instanceof M)
1685
1957
  T.warn(t.message);
@@ -1710,12 +1982,12 @@ function qt(n) {
1710
1982
  * See the License for the specific language governing permissions and
1711
1983
  * limitations under the License.
1712
1984
  */
1713
- const gi = 1024, vi = 30 * 24 * 60 * 60 * 1e3;
1714
- class Ii {
1985
+ const Si = 1024, Ai = 30 * 24 * 60 * 60 * 1e3;
1986
+ class Oi {
1715
1987
  constructor(e) {
1716
1988
  this.container = e, this._heartbeatsCache = null;
1717
1989
  const t = this.container.getProvider("app").getImmediate();
1718
- this._storage = new yi(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
1990
+ this._storage = new Ci(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
1719
1991
  }
1720
1992
  /**
1721
1993
  * Called to report a heartbeat. The function will generate
@@ -1730,7 +2002,7 @@ class Ii {
1730
2002
  const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
1731
2003
  return ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((t = this._heartbeatsCache) === null || t === void 0 ? void 0 : t.heartbeats) == null) || this._heartbeatsCache.lastSentHeartbeatDate === s || this._heartbeatsCache.heartbeats.some((a) => a.date === s) ? void 0 : (this._heartbeatsCache.heartbeats.push({ date: s, agent: i }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((a) => {
1732
2004
  const c = new Date(a.date).valueOf();
1733
- return Date.now() - c <= vi;
2005
+ return Date.now() - c <= Ai;
1734
2006
  }), this._storage.overwrite(this._heartbeatsCache));
1735
2007
  } catch (r) {
1736
2008
  T.warn(r);
@@ -1748,7 +2020,7 @@ class Ii {
1748
2020
  try {
1749
2021
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
1750
2022
  return "";
1751
- const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = bi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2023
+ const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Ni(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
1752
2024
  return this._heartbeatsCache.lastSentHeartbeatDate = t, i.length > 0 ? (this._heartbeatsCache.heartbeats = i, await this._storage.overwrite(this._heartbeatsCache)) : (this._heartbeatsCache.heartbeats = [], this._storage.overwrite(this._heartbeatsCache)), s;
1753
2025
  } catch (t) {
1754
2026
  return T.warn(t), "";
@@ -1758,7 +2030,7 @@ class Ii {
1758
2030
  function mt() {
1759
2031
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
1760
2032
  }
1761
- function bi(n, e = gi) {
2033
+ function Ni(n, e = Si) {
1762
2034
  const t = [];
1763
2035
  let r = n.slice();
1764
2036
  for (const i of n) {
@@ -1782,19 +2054,19 @@ function bi(n, e = gi) {
1782
2054
  unsentEntries: r
1783
2055
  };
1784
2056
  }
1785
- class yi {
2057
+ class Ci {
1786
2058
  constructor(e) {
1787
2059
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
1788
2060
  }
1789
2061
  async runIndexedDBEnvironmentCheck() {
1790
- return ar() ? or().then(() => !0).catch(() => !1) : !1;
2062
+ return _r() ? gr().then(() => !0).catch(() => !1) : !1;
1791
2063
  }
1792
2064
  /**
1793
2065
  * Read all heartbeats.
1794
2066
  */
1795
2067
  async read() {
1796
2068
  if (await this._canUseIndexedDBPromise) {
1797
- const t = await _i(this.app);
2069
+ const t = await ki(this.app);
1798
2070
  return t != null && t.heartbeats ? t : { heartbeats: [] };
1799
2071
  } else
1800
2072
  return { heartbeats: [] };
@@ -1849,21 +2121,21 @@ function _t(n) {
1849
2121
  * See the License for the specific language governing permissions and
1850
2122
  * limitations under the License.
1851
2123
  */
1852
- function Ei(n) {
1853
- Y(new W(
2124
+ function Di(n) {
2125
+ X(new W(
1854
2126
  "platform-logger",
1855
- (e) => new Mr(e),
2127
+ (e) => new Wr(e),
1856
2128
  "PRIVATE"
1857
2129
  /* ComponentType.PRIVATE */
1858
- )), Y(new W(
2130
+ )), X(new W(
1859
2131
  "heartbeat",
1860
- (e) => new Ii(e),
2132
+ (e) => new Oi(e),
1861
2133
  "PRIVATE"
1862
2134
  /* ComponentType.PRIVATE */
1863
- )), x(Be, ht, n), x(Be, ht, "esm2017"), x("fire-js", "");
2135
+ )), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
1864
2136
  }
1865
- Ei("");
1866
- var Ti = "firebase", wi = "10.14.1";
2137
+ Di("");
2138
+ var Pi = "firebase", Mi = "10.14.1";
1867
2139
  /**
1868
2140
  * @license
1869
2141
  * Copyright 2020 Google LLC
@@ -1880,7 +2152,7 @@ var Ti = "firebase", wi = "10.14.1";
1880
2152
  * See the License for the specific language governing permissions and
1881
2153
  * limitations under the License.
1882
2154
  */
1883
- x(Ti, wi, "app");
2155
+ j(Pi, Mi, "app");
1884
2156
  var gt = function() {
1885
2157
  return gt = Object.assign || function(e) {
1886
2158
  for (var t, r = 1, i = arguments.length; r < i; r++) {
@@ -1903,7 +2175,7 @@ function Qt() {
1903
2175
  "dependent-sdk-initialized-before-auth": "Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."
1904
2176
  };
1905
2177
  }
1906
- const Ri = Qt, en = new q("auth", "Firebase", Qt());
2178
+ const Li = Qt, en = new q("auth", "Firebase", Qt());
1907
2179
  /**
1908
2180
  * @license
1909
2181
  * Copyright 2020 Google LLC
@@ -1921,7 +2193,7 @@ const Ri = Qt, en = new q("auth", "Firebase", Qt());
1921
2193
  * limitations under the License.
1922
2194
  */
1923
2195
  const pe = new Zt("@firebase/auth");
1924
- function ki(n, ...e) {
2196
+ function Ui(n, ...e) {
1925
2197
  pe.logLevel <= h.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
1926
2198
  }
1927
2199
  function se(n, ...e) {
@@ -1950,7 +2222,7 @@ function _(n, ...e) {
1950
2222
  return Je(n, ...e);
1951
2223
  }
1952
2224
  function tn(n, e, t) {
1953
- const r = Object.assign(Object.assign({}, Ri()), { [e]: t });
2225
+ const r = Object.assign(Object.assign({}, Li()), { [e]: t });
1954
2226
  return new q("auth", "Firebase", r).create(e, {
1955
2227
  appName: n.name
1956
2228
  });
@@ -1992,11 +2264,11 @@ function R(n, e) {
1992
2264
  * See the License for the specific language governing permissions and
1993
2265
  * limitations under the License.
1994
2266
  */
1995
- function xe() {
2267
+ function je() {
1996
2268
  var n;
1997
2269
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
1998
2270
  }
1999
- function Si() {
2271
+ function Bi() {
2000
2272
  return vt() === "http:" || vt() === "https:";
2001
2273
  }
2002
2274
  function vt() {
@@ -2019,15 +2291,15 @@ function vt() {
2019
2291
  * See the License for the specific language governing permissions and
2020
2292
  * limitations under the License.
2021
2293
  */
2022
- function Ai() {
2294
+ function Fi() {
2023
2295
  return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
2024
2296
  // This is especially true for Cordova apps which have unreliable
2025
2297
  // navigator.onLine behavior unless cordova-plugin-network-information is
2026
2298
  // installed which overwrites the native navigator.onLine value and
2027
2299
  // defines navigator.connection.
2028
- (Si() || rr() || "connection" in navigator) ? navigator.onLine : !0;
2300
+ (Bi() || pr() || "connection" in navigator) ? navigator.onLine : !0;
2029
2301
  }
2030
- function Oi() {
2302
+ function xi() {
2031
2303
  if (typeof navigator > "u")
2032
2304
  return null;
2033
2305
  const n = navigator;
@@ -2057,10 +2329,10 @@ function Oi() {
2057
2329
  */
2058
2330
  class te {
2059
2331
  constructor(e, t) {
2060
- this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = tr() || ir();
2332
+ this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = ur() || fr();
2061
2333
  }
2062
2334
  get() {
2063
- return Ai() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2335
+ return Fi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2064
2336
  }
2065
2337
  }
2066
2338
  /**
@@ -2079,7 +2351,7 @@ class te {
2079
2351
  * See the License for the specific language governing permissions and
2080
2352
  * limitations under the License.
2081
2353
  */
2082
- function Ye(n, e) {
2354
+ function Xe(n, e) {
2083
2355
  R(n.emulator, "Emulator should always be set here");
2084
2356
  const { url: t } = n.emulator;
2085
2357
  return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
@@ -2154,7 +2426,7 @@ class nn {
2154
2426
  * See the License for the specific language governing permissions and
2155
2427
  * limitations under the License.
2156
2428
  */
2157
- const Ci = {
2429
+ const ji = {
2158
2430
  // Custom token errors.
2159
2431
  CREDENTIAL_MISMATCH: "custom-token-mismatch",
2160
2432
  // This can only happen if the SDK sends a bad request.
@@ -2245,7 +2517,7 @@ const Ci = {
2245
2517
  * See the License for the specific language governing permissions and
2246
2518
  * limitations under the License.
2247
2519
  */
2248
- const Ni = new te(3e4, 6e4);
2520
+ const Hi = new te(3e4, 6e4);
2249
2521
  function ve(n, e) {
2250
2522
  return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
2251
2523
  }
@@ -2267,14 +2539,14 @@ async function Z(n, e, t, r, i = {}) {
2267
2539
  method: e,
2268
2540
  headers: o
2269
2541
  }, s);
2270
- return nr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2542
+ return hr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2271
2543
  });
2272
2544
  }
2273
2545
  async function rn(n, e, t) {
2274
2546
  n._canInitEmulator = !1;
2275
- const r = Object.assign(Object.assign({}, Ci), e);
2547
+ const r = Object.assign(Object.assign({}, ji), e);
2276
2548
  try {
2277
- const i = new Di(n), s = await Promise.race([
2549
+ const i = new Vi(n), s = await Promise.race([
2278
2550
  t(),
2279
2551
  i.promise
2280
2552
  ]);
@@ -2311,16 +2583,16 @@ async function sn(n, e, t, r, i = {}) {
2311
2583
  }
2312
2584
  function an(n, e, t, r) {
2313
2585
  const i = `${e}${t}?${r}`;
2314
- return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
2586
+ return n.config.emulator ? Xe(n.config, i) : `${n.config.apiScheme}://${i}`;
2315
2587
  }
2316
- class Di {
2588
+ class Vi {
2317
2589
  constructor(e) {
2318
2590
  this.auth = e, this.timer = null, this.promise = new Promise((t, r) => {
2319
2591
  this.timer = setTimeout(() => r(_(
2320
2592
  this.auth,
2321
2593
  "network-request-failed"
2322
2594
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
2323
- )), Ni.get());
2595
+ )), Hi.get());
2324
2596
  });
2325
2597
  }
2326
2598
  clearNetworkTimeout() {
@@ -2351,7 +2623,7 @@ function ie(n, e, t) {
2351
2623
  * See the License for the specific language governing permissions and
2352
2624
  * limitations under the License.
2353
2625
  */
2354
- async function Pi(n, e) {
2626
+ async function Gi(n, e) {
2355
2627
  return Z(n, "POST", "/v1/accounts:delete", e);
2356
2628
  }
2357
2629
  async function on(n, e) {
@@ -2382,8 +2654,8 @@ function J(n) {
2382
2654
  } catch {
2383
2655
  }
2384
2656
  }
2385
- async function Mi(n, e = !1) {
2386
- const t = z(n), r = await t.getIdToken(e), i = Xe(r);
2657
+ async function Wi(n, e = !1) {
2658
+ const t = z(n), r = await t.getIdToken(e), i = Ye(r);
2387
2659
  d(
2388
2660
  i && i.exp && i.auth_time && i.iat,
2389
2661
  t.auth,
@@ -2394,29 +2666,29 @@ async function Mi(n, e = !1) {
2394
2666
  return {
2395
2667
  claims: i,
2396
2668
  token: r,
2397
- authTime: J(Ne(i.auth_time)),
2398
- issuedAtTime: J(Ne(i.iat)),
2399
- expirationTime: J(Ne(i.exp)),
2669
+ authTime: J(Ce(i.auth_time)),
2670
+ issuedAtTime: J(Ce(i.iat)),
2671
+ expirationTime: J(Ce(i.exp)),
2400
2672
  signInProvider: a || null,
2401
2673
  signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
2402
2674
  };
2403
2675
  }
2404
- function Ne(n) {
2676
+ function Ce(n) {
2405
2677
  return Number(n) * 1e3;
2406
2678
  }
2407
- function Xe(n) {
2679
+ function Ye(n) {
2408
2680
  const [e, t, r] = n.split(".");
2409
2681
  if (e === void 0 || t === void 0 || r === void 0)
2410
2682
  return se("JWT malformed, contained fewer than 3 sections"), null;
2411
2683
  try {
2412
- const i = Ht(t);
2684
+ const i = Vt(t);
2413
2685
  return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
2414
2686
  } catch (i) {
2415
2687
  return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
2416
2688
  }
2417
2689
  }
2418
2690
  function It(n) {
2419
- const e = Xe(n);
2691
+ const e = Ye(n);
2420
2692
  return d(
2421
2693
  e,
2422
2694
  "internal-error"
@@ -2453,10 +2725,10 @@ async function K(n, e, t = !1) {
2453
2725
  try {
2454
2726
  return await e;
2455
2727
  } catch (r) {
2456
- throw r instanceof M && Li(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2728
+ throw r instanceof M && zi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2457
2729
  }
2458
2730
  }
2459
- function Li({ code: n }) {
2731
+ function zi({ code: n }) {
2460
2732
  return n === "auth/user-disabled" || n === "auth/user-token-expired";
2461
2733
  }
2462
2734
  /**
@@ -2475,7 +2747,7 @@ function Li({ code: n }) {
2475
2747
  * See the License for the specific language governing permissions and
2476
2748
  * limitations under the License.
2477
2749
  */
2478
- class Ui {
2750
+ class Zi {
2479
2751
  constructor(e) {
2480
2752
  this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
2481
2753
  }
@@ -2537,7 +2809,7 @@ class Ui {
2537
2809
  * See the License for the specific language governing permissions and
2538
2810
  * limitations under the License.
2539
2811
  */
2540
- class Ve {
2812
+ class He {
2541
2813
  constructor(e, t) {
2542
2814
  this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
2543
2815
  }
@@ -2581,7 +2853,7 @@ async function fe(n) {
2581
2853
  );
2582
2854
  const s = i.users[0];
2583
2855
  n._notifyReloadListener(s);
2584
- const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c = Fi(n.providerData, a), o = n.isAnonymous, l = !(n.email && s.passwordHash) && !(c != null && c.length), u = o ? l : !1, p = {
2856
+ const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c = Ji(n.providerData, a), o = n.isAnonymous, l = !(n.email && s.passwordHash) && !(c != null && c.length), u = o ? l : !1, p = {
2585
2857
  uid: s.localId,
2586
2858
  displayName: s.displayName || null,
2587
2859
  photoURL: s.photoUrl || null,
@@ -2590,16 +2862,16 @@ async function fe(n) {
2590
2862
  phoneNumber: s.phoneNumber || null,
2591
2863
  tenantId: s.tenantId || null,
2592
2864
  providerData: c,
2593
- metadata: new Ve(s.createdAt, s.lastLoginAt),
2865
+ metadata: new He(s.createdAt, s.lastLoginAt),
2594
2866
  isAnonymous: u
2595
2867
  };
2596
2868
  Object.assign(n, p);
2597
2869
  }
2598
- async function Bi(n) {
2870
+ async function $i(n) {
2599
2871
  const e = z(n);
2600
2872
  await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2601
2873
  }
2602
- function Fi(n, e) {
2874
+ function Ji(n, e) {
2603
2875
  return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
2604
2876
  }
2605
2877
  function cn(n) {
@@ -2631,7 +2903,7 @@ function cn(n) {
2631
2903
  * See the License for the specific language governing permissions and
2632
2904
  * limitations under the License.
2633
2905
  */
2634
- async function ji(n, e) {
2906
+ async function Xi(n, e) {
2635
2907
  const t = await rn(n, {}, async () => {
2636
2908
  const r = Q({
2637
2909
  grant_type: "refresh_token",
@@ -2652,7 +2924,7 @@ async function ji(n, e) {
2652
2924
  refreshToken: t.refresh_token
2653
2925
  };
2654
2926
  }
2655
- async function xi(n, e) {
2927
+ async function Yi(n, e) {
2656
2928
  return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2657
2929
  }
2658
2930
  /**
@@ -2671,7 +2943,7 @@ async function xi(n, e) {
2671
2943
  * See the License for the specific language governing permissions and
2672
2944
  * limitations under the License.
2673
2945
  */
2674
- class V {
2946
+ class H {
2675
2947
  constructor() {
2676
2948
  this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
2677
2949
  }
@@ -2716,14 +2988,14 @@ class V {
2716
2988
  this.refreshToken = null;
2717
2989
  }
2718
2990
  async refresh(e, t) {
2719
- const { accessToken: r, refreshToken: i, expiresIn: s } = await ji(e, t);
2991
+ const { accessToken: r, refreshToken: i, expiresIn: s } = await Xi(e, t);
2720
2992
  this.updateTokensAndExpiration(r, i, Number(s));
2721
2993
  }
2722
2994
  updateTokensAndExpiration(e, t, r) {
2723
2995
  this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
2724
2996
  }
2725
2997
  static fromJSON(e, t) {
2726
- const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new V();
2998
+ const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
2727
2999
  return r && (d(typeof r == "string", "internal-error", {
2728
3000
  appName: e
2729
3001
  }), a.refreshToken = r), i && (d(typeof i == "string", "internal-error", {
@@ -2743,7 +3015,7 @@ class V {
2743
3015
  this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
2744
3016
  }
2745
3017
  _clone() {
2746
- return Object.assign(new V(), this.toJSON());
3018
+ return Object.assign(new H(), this.toJSON());
2747
3019
  }
2748
3020
  _performRefresh() {
2749
3021
  return b("not implemented");
@@ -2771,7 +3043,7 @@ function k(n, e) {
2771
3043
  class y {
2772
3044
  constructor(e) {
2773
3045
  var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
2774
- this.providerId = "firebase", this.proactiveRefresh = new Ui(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 Ve(s.createdAt || void 0, s.lastLoginAt || void 0);
3046
+ this.providerId = "firebase", this.proactiveRefresh = new Zi(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);
2775
3047
  }
2776
3048
  async getIdToken(e) {
2777
3049
  const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
@@ -2783,10 +3055,10 @@ class y {
2783
3055
  ), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
2784
3056
  }
2785
3057
  getIdTokenResult(e) {
2786
- return Mi(this, e);
3058
+ return Wi(this, e);
2787
3059
  }
2788
3060
  reload() {
2789
- return Bi(this);
3061
+ return $i(this);
2790
3062
  }
2791
3063
  _assign(e) {
2792
3064
  this !== e && (d(
@@ -2825,7 +3097,7 @@ class y {
2825
3097
  if (I(this.auth.app))
2826
3098
  return Promise.reject(P(this.auth));
2827
3099
  const e = await this.getIdToken();
2828
- return await K(this, Pi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
3100
+ return await K(this, Gi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
2829
3101
  }
2830
3102
  toJSON() {
2831
3103
  return Object.assign(Object.assign({
@@ -2860,7 +3132,7 @@ class y {
2860
3132
  "internal-error"
2861
3133
  /* AuthErrorCode.INTERNAL_ERROR */
2862
3134
  );
2863
- const Pn = V.fromJSON(this.name, at);
3135
+ const Pn = H.fromJSON(this.name, at);
2864
3136
  d(
2865
3137
  typeof Te == "string",
2866
3138
  e,
@@ -2899,7 +3171,7 @@ class y {
2899
3171
  * @param idTokenResponse
2900
3172
  */
2901
3173
  static async _fromIdTokenResponse(e, t, r = !1) {
2902
- const i = new V();
3174
+ const i = new H();
2903
3175
  i.updateFromServerResponse(t);
2904
3176
  const s = new y({
2905
3177
  uid: t.localId,
@@ -2921,7 +3193,7 @@ class y {
2921
3193
  "internal-error"
2922
3194
  /* AuthErrorCode.INTERNAL_ERROR */
2923
3195
  );
2924
- const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new V();
3196
+ const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
2925
3197
  c.updateFromIdToken(r);
2926
3198
  const o = new y({
2927
3199
  uid: i.localId,
@@ -2937,7 +3209,7 @@ class y {
2937
3209
  phoneNumber: i.phoneNumber || null,
2938
3210
  tenantId: i.tenantId || null,
2939
3211
  providerData: s,
2940
- metadata: new Ve(i.createdAt, i.lastLoginAt),
3212
+ metadata: new He(i.createdAt, i.lastLoginAt),
2941
3213
  isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
2942
3214
  };
2943
3215
  return Object.assign(o, l), o;
@@ -3024,7 +3296,7 @@ const yt = ln;
3024
3296
  function ae(n, e, t) {
3025
3297
  return `firebase:${n}:${e}:${t}`;
3026
3298
  }
3027
- class H {
3299
+ class V {
3028
3300
  constructor(e, t, r) {
3029
3301
  this.persistence = e, this.auth = t, this.userKey = r;
3030
3302
  const { config: i, name: s } = this.auth;
@@ -3055,7 +3327,7 @@ class H {
3055
3327
  }
3056
3328
  static async create(e, t, r = "authUser") {
3057
3329
  if (!t.length)
3058
- return new H(E(yt), e, r);
3330
+ return new V(E(yt), e, r);
3059
3331
  const i = (await Promise.all(t.map(async (l) => {
3060
3332
  if (await l._isAvailable())
3061
3333
  return l;
@@ -3074,13 +3346,13 @@ class H {
3074
3346
  } catch {
3075
3347
  }
3076
3348
  const o = i.filter((l) => l._shouldAllowMigration);
3077
- return !s._shouldAllowMigration || !o.length ? new H(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3349
+ return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3078
3350
  if (l !== s)
3079
3351
  try {
3080
3352
  await l._remove(a);
3081
3353
  } catch {
3082
3354
  }
3083
- })), new H(s, e, r));
3355
+ })), new V(s, e, r));
3084
3356
  }
3085
3357
  }
3086
3358
  /**
@@ -3155,12 +3427,12 @@ function _n(n = f()) {
3155
3427
  function Ke(n = f()) {
3156
3428
  return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
3157
3429
  }
3158
- function Vi(n = f()) {
3430
+ function Ki(n = f()) {
3159
3431
  var e;
3160
3432
  return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
3161
3433
  }
3162
- function Hi() {
3163
- return sr() && document.documentMode === 10;
3434
+ function qi() {
3435
+ return mr() && document.documentMode === 10;
3164
3436
  }
3165
3437
  function gn(n = f()) {
3166
3438
  return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
@@ -3212,7 +3484,7 @@ function vn(n, e = []) {
3212
3484
  * See the License for the specific language governing permissions and
3213
3485
  * limitations under the License.
3214
3486
  */
3215
- class Gi {
3487
+ class Qi {
3216
3488
  constructor(e) {
3217
3489
  this.auth = e, this.queue = [];
3218
3490
  }
@@ -3267,7 +3539,7 @@ class Gi {
3267
3539
  * See the License for the specific language governing permissions and
3268
3540
  * limitations under the License.
3269
3541
  */
3270
- async function Wi(n, e = {}) {
3542
+ async function es(n, e = {}) {
3271
3543
  return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
3272
3544
  }
3273
3545
  /**
@@ -3286,12 +3558,12 @@ async function Wi(n, e = {}) {
3286
3558
  * See the License for the specific language governing permissions and
3287
3559
  * limitations under the License.
3288
3560
  */
3289
- const zi = 6;
3290
- class Zi {
3561
+ const ts = 6;
3562
+ class ns {
3291
3563
  constructor(e) {
3292
3564
  var t, r, i, s;
3293
3565
  const a = e.customStrengthOptions;
3294
- this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : zi, a.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = a.maxPasswordLength), a.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = a.containsLowercaseCharacter), a.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = a.containsUppercaseCharacter), a.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = a.containsNumericCharacter), a.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = a.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
3566
+ this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : ts, a.maxPasswordLength && (this.customStrengthOptions.maxPasswordLength = a.maxPasswordLength), a.containsLowercaseCharacter !== void 0 && (this.customStrengthOptions.containsLowercaseLetter = a.containsLowercaseCharacter), a.containsUppercaseCharacter !== void 0 && (this.customStrengthOptions.containsUppercaseLetter = a.containsUppercaseCharacter), a.containsNumericCharacter !== void 0 && (this.customStrengthOptions.containsNumericCharacter = a.containsNumericCharacter), a.containsNonAlphanumericCharacter !== void 0 && (this.customStrengthOptions.containsNonAlphanumericCharacter = a.containsNonAlphanumericCharacter), this.enforcementState = e.enforcementState, this.enforcementState === "ENFORCEMENT_STATE_UNSPECIFIED" && (this.enforcementState = "OFF"), this.allowedNonAlphanumericCharacters = (i = (r = e.allowedNonAlphanumericCharacters) === null || r === void 0 ? void 0 : r.join("")) !== null && i !== void 0 ? i : "", this.forceUpgradeOnSignin = (s = e.forceUpgradeOnSignin) !== null && s !== void 0 ? s : !1, this.schemaVersion = e.schemaVersion;
3295
3567
  }
3296
3568
  validatePassword(e) {
3297
3569
  var t, r, i, s, a, c;
@@ -3374,14 +3646,14 @@ class Zi {
3374
3646
  * See the License for the specific language governing permissions and
3375
3647
  * limitations under the License.
3376
3648
  */
3377
- class $i {
3649
+ class rs {
3378
3650
  constructor(e, t, r, i) {
3379
- this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Gi(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
3651
+ 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 Qi(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;
3380
3652
  }
3381
3653
  _initializeWithPersistence(e, t) {
3382
3654
  return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
3383
3655
  var r, i;
3384
- if (!this._deleted && (this.persistenceManager = await H.create(this, e), !this._deleted)) {
3656
+ if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
3385
3657
  if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
3386
3658
  try {
3387
3659
  await this._popupRedirectResolver._initialize(this);
@@ -3470,7 +3742,7 @@ class $i {
3470
3742
  return this.directlySetCurrentUser(e);
3471
3743
  }
3472
3744
  useDeviceLanguage() {
3473
- this.languageCode = Oi();
3745
+ this.languageCode = xi();
3474
3746
  }
3475
3747
  async _delete() {
3476
3748
  this._deleted = !0;
@@ -3521,7 +3793,7 @@ class $i {
3521
3793
  return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
3522
3794
  }
3523
3795
  async _updatePasswordPolicy() {
3524
- const e = await Wi(this), t = new Zi(e);
3796
+ const e = await es(this), t = new ns(e);
3525
3797
  this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
3526
3798
  }
3527
3799
  _getPersistence() {
@@ -3561,7 +3833,7 @@ class $i {
3561
3833
  token: e,
3562
3834
  idToken: t
3563
3835
  };
3564
- this.tenantId != null && (r.tenantId = this.tenantId), await xi(this, r);
3836
+ this.tenantId != null && (r.tenantId = this.tenantId), await Yi(this, r);
3565
3837
  }
3566
3838
  }
3567
3839
  toJSON() {
@@ -3585,7 +3857,7 @@ class $i {
3585
3857
  this,
3586
3858
  "argument-error"
3587
3859
  /* AuthErrorCode.ARGUMENT_ERROR */
3588
- ), this.redirectPersistenceManager = await H.create(
3860
+ ), this.redirectPersistenceManager = await V.create(
3589
3861
  this,
3590
3862
  [E(t._redirectPersistence)],
3591
3863
  "redirectUser"
@@ -3704,7 +3976,7 @@ class $i {
3704
3976
  async _getAppCheckToken() {
3705
3977
  var e;
3706
3978
  const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
3707
- return t != null && t.error && ki(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3979
+ return t != null && t.error && Ui(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3708
3980
  }
3709
3981
  }
3710
3982
  function Ie(n) {
@@ -3712,7 +3984,7 @@ function Ie(n) {
3712
3984
  }
3713
3985
  class Tt {
3714
3986
  constructor(e) {
3715
- this.auth = e, this.observer = null, this.addObserver = hr((t) => this.observer = t);
3987
+ this.auth = e, this.observer = null, this.addObserver = Er((t) => this.observer = t);
3716
3988
  }
3717
3989
  get next() {
3718
3990
  return d(
@@ -3747,16 +4019,16 @@ let qe = {
3747
4019
  recaptchaEnterpriseScript: "",
3748
4020
  gapiScript: ""
3749
4021
  };
3750
- function Ji(n) {
4022
+ function is(n) {
3751
4023
  qe = n;
3752
4024
  }
3753
- function Yi(n) {
4025
+ function ss(n) {
3754
4026
  return qe.loadJS(n);
3755
4027
  }
3756
- function Xi() {
4028
+ function as() {
3757
4029
  return qe.gapiScript;
3758
4030
  }
3759
- function Ki(n) {
4031
+ function os(n) {
3760
4032
  return `__${n}${Math.floor(Math.random() * 1e6)}`;
3761
4033
  }
3762
4034
  /**
@@ -3775,8 +4047,8 @@ function Ki(n) {
3775
4047
  * See the License for the specific language governing permissions and
3776
4048
  * limitations under the License.
3777
4049
  */
3778
- function qi(n, e) {
3779
- const t = Yt(n, "auth");
4050
+ function cs(n, e) {
4051
+ const t = Xt(n, "auth");
3780
4052
  if (t.isInitialized()) {
3781
4053
  const i = t.getImmediate(), s = t.getOptions();
3782
4054
  if (ue(s, e ?? {}))
@@ -3789,11 +4061,11 @@ function qi(n, e) {
3789
4061
  }
3790
4062
  return t.initialize({ options: e });
3791
4063
  }
3792
- function Qi(n, e) {
4064
+ function ls(n, e) {
3793
4065
  const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
3794
4066
  e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
3795
4067
  }
3796
- function es(n, e, t) {
4068
+ function ds(n, e, t) {
3797
4069
  const r = Ie(n);
3798
4070
  d(
3799
4071
  r._canInitEmulator,
@@ -3806,19 +4078,19 @@ function es(n, e, t) {
3806
4078
  "invalid-emulator-scheme"
3807
4079
  /* AuthErrorCode.INVALID_EMULATOR_SCHEME */
3808
4080
  );
3809
- const i = !1, s = In(e), { host: a, port: c } = ts(e), o = c === null ? "" : `:${c}`;
4081
+ const i = !1, s = In(e), { host: a, port: c } = us(e), o = c === null ? "" : `:${c}`;
3810
4082
  r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
3811
4083
  host: a,
3812
4084
  port: c,
3813
4085
  protocol: s.replace(":", ""),
3814
4086
  options: Object.freeze({ disableWarnings: i })
3815
- }), ns();
4087
+ }), hs();
3816
4088
  }
3817
4089
  function In(n) {
3818
4090
  const e = n.indexOf(":");
3819
4091
  return e < 0 ? "" : n.substr(0, e + 1);
3820
4092
  }
3821
- function ts(n) {
4093
+ function us(n) {
3822
4094
  const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
3823
4095
  if (!t)
3824
4096
  return { host: "", port: null };
@@ -3837,7 +4109,7 @@ function wt(n) {
3837
4109
  const e = Number(n);
3838
4110
  return isNaN(e) ? null : e;
3839
4111
  }
3840
- function ns() {
4112
+ function hs() {
3841
4113
  function n() {
3842
4114
  const e = document.createElement("p"), t = e.style;
3843
4115
  e.innerText = "Running in emulator mode. Do not use with production credentials.", t.position = "fixed", t.width = "100%", t.backgroundColor = "#ffffff", t.border = ".1em solid #000000", t.color = "#b50000", t.bottom = "0px", t.left = "0px", t.margin = "0px", t.zIndex = "10000", t.textAlign = "center", e.classList.add("firebase-emulator-warning"), document.body.appendChild(e);
@@ -3921,7 +4193,7 @@ async function G(n, e) {
3921
4193
  * See the License for the specific language governing permissions and
3922
4194
  * limitations under the License.
3923
4195
  */
3924
- const rs = "http://localhost";
4196
+ const ps = "http://localhost";
3925
4197
  class U extends bn {
3926
4198
  constructor() {
3927
4199
  super(...arguments), this.pendingToken = null;
@@ -3979,7 +4251,7 @@ class U extends bn {
3979
4251
  }
3980
4252
  buildRequest() {
3981
4253
  const e = {
3982
- requestUri: rs,
4254
+ requestUri: ps,
3983
4255
  returnSecureToken: !0
3984
4256
  };
3985
4257
  if (this.pendingToken)
@@ -4306,7 +4578,7 @@ O.PROVIDER_ID = "github.com";
4306
4578
  * See the License for the specific language governing permissions and
4307
4579
  * limitations under the License.
4308
4580
  */
4309
- class C extends ne {
4581
+ class N extends ne {
4310
4582
  constructor() {
4311
4583
  super(
4312
4584
  "twitter.com"
@@ -4321,8 +4593,8 @@ class C extends ne {
4321
4593
  */
4322
4594
  static credential(e, t) {
4323
4595
  return U._fromParams({
4324
- providerId: C.PROVIDER_ID,
4325
- signInMethod: C.TWITTER_SIGN_IN_METHOD,
4596
+ providerId: N.PROVIDER_ID,
4597
+ signInMethod: N.TWITTER_SIGN_IN_METHOD,
4326
4598
  oauthToken: e,
4327
4599
  oauthTokenSecret: t
4328
4600
  });
@@ -4333,7 +4605,7 @@ class C extends ne {
4333
4605
  * @param userCredential - The user credential.
4334
4606
  */
4335
4607
  static credentialFromResult(e) {
4336
- return C.credentialFromTaggedObject(e);
4608
+ return N.credentialFromTaggedObject(e);
4337
4609
  }
4338
4610
  /**
4339
4611
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4342,7 +4614,7 @@ class C extends ne {
4342
4614
  * @param userCredential - The user credential.
4343
4615
  */
4344
4616
  static credentialFromError(e) {
4345
- return C.credentialFromTaggedObject(e.customData || {});
4617
+ return N.credentialFromTaggedObject(e.customData || {});
4346
4618
  }
4347
4619
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4348
4620
  if (!e)
@@ -4351,14 +4623,14 @@ class C extends ne {
4351
4623
  if (!t || !r)
4352
4624
  return null;
4353
4625
  try {
4354
- return C.credential(t, r);
4626
+ return N.credential(t, r);
4355
4627
  } catch {
4356
4628
  return null;
4357
4629
  }
4358
4630
  }
4359
4631
  }
4360
- C.TWITTER_SIGN_IN_METHOD = "twitter.com";
4361
- C.PROVIDER_ID = "twitter.com";
4632
+ N.TWITTER_SIGN_IN_METHOD = "twitter.com";
4633
+ N.PROVIDER_ID = "twitter.com";
4362
4634
  /**
4363
4635
  * @license
4364
4636
  * Copyright 2020 Google LLC
@@ -4441,7 +4713,7 @@ function En(n, e, t, r) {
4441
4713
  throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
4442
4714
  });
4443
4715
  }
4444
- async function is(n, e, t = !1) {
4716
+ async function fs(n, e, t = !1) {
4445
4717
  const r = await K(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
4446
4718
  return B._forOperation(n, "link", r);
4447
4719
  }
@@ -4461,7 +4733,7 @@ async function is(n, e, t = !1) {
4461
4733
  * See the License for the specific language governing permissions and
4462
4734
  * limitations under the License.
4463
4735
  */
4464
- async function ss(n, e, t = !1) {
4736
+ async function ms(n, e, t = !1) {
4465
4737
  const { auth: r } = n;
4466
4738
  if (I(r.app))
4467
4739
  return Promise.reject(P(r));
@@ -4474,7 +4746,7 @@ async function ss(n, e, t = !1) {
4474
4746
  "internal-error"
4475
4747
  /* AuthErrorCode.INTERNAL_ERROR */
4476
4748
  );
4477
- const a = Xe(s.idToken);
4749
+ const a = Ye(s.idToken);
4478
4750
  d(
4479
4751
  a,
4480
4752
  r,
@@ -4512,7 +4784,7 @@ async function ss(n, e, t = !1) {
4512
4784
  * See the License for the specific language governing permissions and
4513
4785
  * limitations under the License.
4514
4786
  */
4515
- async function as(n, e, t = !1) {
4787
+ async function _s(n, e, t = !1) {
4516
4788
  if (I(n.app))
4517
4789
  return Promise.reject(P(n));
4518
4790
  const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
@@ -4534,7 +4806,7 @@ async function as(n, e, t = !1) {
4534
4806
  * See the License for the specific language governing permissions and
4535
4807
  * limitations under the License.
4536
4808
  */
4537
- async function os(n, e) {
4809
+ async function gs(n, e) {
4538
4810
  return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
4539
4811
  }
4540
4812
  /**
@@ -4553,19 +4825,19 @@ async function os(n, e) {
4553
4825
  * See the License for the specific language governing permissions and
4554
4826
  * limitations under the License.
4555
4827
  */
4556
- async function cs(n, e) {
4828
+ async function vs(n, e) {
4557
4829
  if (I(n.app))
4558
4830
  return Promise.reject(P(n));
4559
- const t = Ie(n), r = await os(t, {
4831
+ const t = Ie(n), r = await gs(t, {
4560
4832
  token: e,
4561
4833
  returnSecureToken: !0
4562
4834
  }), i = await B._fromIdTokenResponse(t, "signIn", r);
4563
4835
  return await t._updateCurrentUser(i.user), i;
4564
4836
  }
4565
- function ls(n, e, t, r) {
4837
+ function Is(n, e, t, r) {
4566
4838
  return z(n).onIdTokenChanged(e, t, r);
4567
4839
  }
4568
- function ds(n, e, t) {
4840
+ function bs(n, e, t) {
4569
4841
  return z(n).beforeAuthStateChanged(e, t);
4570
4842
  }
4571
4843
  const _e = "__sak";
@@ -4626,7 +4898,7 @@ class Tn {
4626
4898
  * See the License for the specific language governing permissions and
4627
4899
  * limitations under the License.
4628
4900
  */
4629
- const us = 1e3, hs = 10;
4901
+ const ys = 1e3, Es = 10;
4630
4902
  class wn extends Tn {
4631
4903
  constructor() {
4632
4904
  super(
@@ -4654,7 +4926,7 @@ class wn extends Tn {
4654
4926
  const a = this.storage.getItem(r);
4655
4927
  !t && this.localCache[r] === a || this.notifyListeners(r, a);
4656
4928
  }, s = this.storage.getItem(r);
4657
- Hi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, hs) : i();
4929
+ qi() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Es) : i();
4658
4930
  }
4659
4931
  notifyListeners(e, t) {
4660
4932
  this.localCache[e] = t;
@@ -4676,7 +4948,7 @@ class wn extends Tn {
4676
4948
  !0
4677
4949
  );
4678
4950
  });
4679
- }, us);
4951
+ }, ys);
4680
4952
  }
4681
4953
  stopPolling() {
4682
4954
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -4706,7 +4978,7 @@ class wn extends Tn {
4706
4978
  }
4707
4979
  }
4708
4980
  wn.type = "LOCAL";
4709
- const ps = wn;
4981
+ const Ts = wn;
4710
4982
  /**
4711
4983
  * @license
4712
4984
  * Copyright 2020 Google LLC
@@ -4754,7 +5026,7 @@ const kn = Rn;
4754
5026
  * See the License for the specific language governing permissions and
4755
5027
  * limitations under the License.
4756
5028
  */
4757
- function fs(n) {
5029
+ function ws(n) {
4758
5030
  return Promise.all(n.map(async (e) => {
4759
5031
  try {
4760
5032
  return {
@@ -4824,7 +5096,7 @@ class be {
4824
5096
  eventId: r,
4825
5097
  eventType: i
4826
5098
  });
4827
- const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await fs(c);
5099
+ const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await ws(c);
4828
5100
  t.ports[0].postMessage({
4829
5101
  status: "done",
4830
5102
  eventId: r,
@@ -4892,7 +5164,7 @@ function Qe(n = "", e = 10) {
4892
5164
  * See the License for the specific language governing permissions and
4893
5165
  * limitations under the License.
4894
5166
  */
4895
- class ms {
5167
+ class Rs {
4896
5168
  constructor(e) {
4897
5169
  this.target = e, this.handlers = /* @__PURE__ */ new Set();
4898
5170
  }
@@ -4992,7 +5264,7 @@ class ms {
4992
5264
  function g() {
4993
5265
  return window;
4994
5266
  }
4995
- function _s(n) {
5267
+ function ks(n) {
4996
5268
  g().location.href = n;
4997
5269
  }
4998
5270
  /**
@@ -5014,7 +5286,7 @@ function _s(n) {
5014
5286
  function Sn() {
5015
5287
  return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
5016
5288
  }
5017
- async function gs() {
5289
+ async function Ss() {
5018
5290
  if (!(navigator != null && navigator.serviceWorker))
5019
5291
  return null;
5020
5292
  try {
@@ -5023,11 +5295,11 @@ async function gs() {
5023
5295
  return null;
5024
5296
  }
5025
5297
  }
5026
- function vs() {
5298
+ function As() {
5027
5299
  var n;
5028
5300
  return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
5029
5301
  }
5030
- function Is() {
5302
+ function Os() {
5031
5303
  return Sn() ? self : null;
5032
5304
  }
5033
5305
  /**
@@ -5046,7 +5318,7 @@ function Is() {
5046
5318
  * See the License for the specific language governing permissions and
5047
5319
  * limitations under the License.
5048
5320
  */
5049
- const An = "firebaseLocalStorageDb", bs = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5321
+ const An = "firebaseLocalStorageDb", Ns = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5050
5322
  class re {
5051
5323
  constructor(e) {
5052
5324
  this.request = e;
@@ -5064,12 +5336,12 @@ class re {
5064
5336
  function ye(n, e) {
5065
5337
  return n.transaction([ge], e ? "readwrite" : "readonly").objectStore(ge);
5066
5338
  }
5067
- function ys() {
5339
+ function Cs() {
5068
5340
  const n = indexedDB.deleteDatabase(An);
5069
5341
  return new re(n).toPromise();
5070
5342
  }
5071
- function He() {
5072
- const n = indexedDB.open(An, bs);
5343
+ function Ve() {
5344
+ const n = indexedDB.open(An, Ns);
5073
5345
  return new Promise((e, t) => {
5074
5346
  n.addEventListener("error", () => {
5075
5347
  t(n.error);
@@ -5082,7 +5354,7 @@ function He() {
5082
5354
  }
5083
5355
  }), n.addEventListener("success", async () => {
5084
5356
  const r = n.result;
5085
- r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await ys(), e(await He()));
5357
+ r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Cs(), e(await Ve()));
5086
5358
  });
5087
5359
  });
5088
5360
  }
@@ -5093,7 +5365,7 @@ async function kt(n, e, t) {
5093
5365
  });
5094
5366
  return new re(r).toPromise();
5095
5367
  }
5096
- async function Es(n, e) {
5368
+ async function Ds(n, e) {
5097
5369
  const t = ye(n, !1).get(e), r = await new re(t).toPromise();
5098
5370
  return r === void 0 ? null : r.value;
5099
5371
  }
@@ -5101,15 +5373,15 @@ function St(n, e) {
5101
5373
  const t = ye(n, !0).delete(e);
5102
5374
  return new re(t).toPromise();
5103
5375
  }
5104
- const Ts = 800, ws = 3;
5105
- class Cn {
5376
+ const Ps = 800, Ms = 3;
5377
+ class Nn {
5106
5378
  constructor() {
5107
5379
  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(() => {
5108
5380
  }, () => {
5109
5381
  });
5110
5382
  }
5111
5383
  async _openDb() {
5112
- return this.db ? this.db : (this.db = await He(), this.db);
5384
+ return this.db ? this.db : (this.db = await Ve(), this.db);
5113
5385
  }
5114
5386
  async _withRetries(e) {
5115
5387
  let t = 0;
@@ -5118,7 +5390,7 @@ class Cn {
5118
5390
  const r = await this._openDb();
5119
5391
  return await e(r);
5120
5392
  } catch (r) {
5121
- if (t++ > ws)
5393
+ if (t++ > Ms)
5122
5394
  throw r;
5123
5395
  this.db && (this.db.close(), this.db = void 0);
5124
5396
  }
@@ -5134,7 +5406,7 @@ class Cn {
5134
5406
  * As the worker we should listen to events from the main window.
5135
5407
  */
5136
5408
  async initializeReceiver() {
5137
- this.receiver = be._getInstance(Is()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5409
+ this.receiver = be._getInstance(Os()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5138
5410
  keyProcessed: (await this._poll()).includes(t.key)
5139
5411
  })), this.receiver._subscribe("ping", async (e, t) => [
5140
5412
  "keyChanged"
@@ -5150,9 +5422,9 @@ class Cn {
5150
5422
  */
5151
5423
  async initializeSender() {
5152
5424
  var e, t;
5153
- if (this.activeServiceWorker = await gs(), !this.activeServiceWorker)
5425
+ if (this.activeServiceWorker = await Ss(), !this.activeServiceWorker)
5154
5426
  return;
5155
- this.sender = new ms(this.activeServiceWorker);
5427
+ this.sender = new Rs(this.activeServiceWorker);
5156
5428
  const r = await this.sender._send(
5157
5429
  "ping",
5158
5430
  {},
@@ -5174,7 +5446,7 @@ class Cn {
5174
5446
  * @param key - Storage key which changed.
5175
5447
  */
5176
5448
  async notifyServiceWorker(e) {
5177
- if (!(!this.sender || !this.activeServiceWorker || vs() !== this.activeServiceWorker))
5449
+ if (!(!this.sender || !this.activeServiceWorker || As() !== this.activeServiceWorker))
5178
5450
  try {
5179
5451
  await this.sender._send(
5180
5452
  "keyChanged",
@@ -5190,7 +5462,7 @@ class Cn {
5190
5462
  try {
5191
5463
  if (!indexedDB)
5192
5464
  return !1;
5193
- const e = await He();
5465
+ const e = await Ve();
5194
5466
  return await kt(e, _e, "1"), await St(e, _e), !0;
5195
5467
  } catch {
5196
5468
  }
@@ -5208,7 +5480,7 @@ class Cn {
5208
5480
  return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5209
5481
  }
5210
5482
  async _get(e) {
5211
- const t = await this._withRetries((r) => Es(r, e));
5483
+ const t = await this._withRetries((r) => Ds(r, e));
5212
5484
  return this.localCache[e] = t, t;
5213
5485
  }
5214
5486
  async _remove(e) {
@@ -5239,7 +5511,7 @@ class Cn {
5239
5511
  i(t);
5240
5512
  }
5241
5513
  startPolling() {
5242
- this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), Ts);
5514
+ this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), Ps);
5243
5515
  }
5244
5516
  stopPolling() {
5245
5517
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -5251,8 +5523,8 @@ class Cn {
5251
5523
  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();
5252
5524
  }
5253
5525
  }
5254
- Cn.type = "LOCAL";
5255
- const Rs = Cn;
5526
+ Nn.type = "LOCAL";
5527
+ const Ls = Nn;
5256
5528
  new te(3e4, 6e4);
5257
5529
  /**
5258
5530
  * @license
@@ -5270,7 +5542,7 @@ new te(3e4, 6e4);
5270
5542
  * See the License for the specific language governing permissions and
5271
5543
  * limitations under the License.
5272
5544
  */
5273
- function ks(n, e) {
5545
+ function Us(n, e) {
5274
5546
  return e ? E(e) : (d(
5275
5547
  n._popupRedirectResolver,
5276
5548
  n,
@@ -5324,26 +5596,26 @@ class et extends bn {
5324
5596
  return e && (t.idToken = e), t;
5325
5597
  }
5326
5598
  }
5327
- function Ss(n) {
5328
- return as(n.auth, new et(n), n.bypassAuthState);
5599
+ function Bs(n) {
5600
+ return _s(n.auth, new et(n), n.bypassAuthState);
5329
5601
  }
5330
- function As(n) {
5602
+ function Fs(n) {
5331
5603
  const { auth: e, user: t } = n;
5332
5604
  return d(
5333
5605
  t,
5334
5606
  e,
5335
5607
  "internal-error"
5336
5608
  /* AuthErrorCode.INTERNAL_ERROR */
5337
- ), ss(t, new et(n), n.bypassAuthState);
5609
+ ), ms(t, new et(n), n.bypassAuthState);
5338
5610
  }
5339
- async function Os(n) {
5611
+ async function xs(n) {
5340
5612
  const { auth: e, user: t } = n;
5341
5613
  return d(
5342
5614
  t,
5343
5615
  e,
5344
5616
  "internal-error"
5345
5617
  /* AuthErrorCode.INTERNAL_ERROR */
5346
- ), is(t, new et(n), n.bypassAuthState);
5618
+ ), fs(t, new et(n), n.bypassAuthState);
5347
5619
  }
5348
5620
  /**
5349
5621
  * @license
@@ -5361,7 +5633,7 @@ async function Os(n) {
5361
5633
  * See the License for the specific language governing permissions and
5362
5634
  * limitations under the License.
5363
5635
  */
5364
- class Nn {
5636
+ class Cn {
5365
5637
  constructor(e, t, r, i, s = !1) {
5366
5638
  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];
5367
5639
  }
@@ -5403,13 +5675,13 @@ class Nn {
5403
5675
  switch (e) {
5404
5676
  case "signInViaPopup":
5405
5677
  case "signInViaRedirect":
5406
- return Ss;
5678
+ return Bs;
5407
5679
  case "linkViaPopup":
5408
5680
  case "linkViaRedirect":
5409
- return Os;
5681
+ return xs;
5410
5682
  case "reauthViaPopup":
5411
5683
  case "reauthViaRedirect":
5412
- return As;
5684
+ return Fs;
5413
5685
  default:
5414
5686
  w(
5415
5687
  this.auth,
@@ -5444,10 +5716,10 @@ class Nn {
5444
5716
  * See the License for the specific language governing permissions and
5445
5717
  * limitations under the License.
5446
5718
  */
5447
- const Cs = new te(2e3, 1e4);
5448
- class j extends Nn {
5719
+ const js = new te(2e3, 1e4);
5720
+ class x extends Cn {
5449
5721
  constructor(e, t, r, i, s) {
5450
- super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, j.currentPopupAction && j.currentPopupAction.cancel(), j.currentPopupAction = this;
5722
+ super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
5451
5723
  }
5452
5724
  async executeNotNull() {
5453
5725
  const e = await this.execute();
@@ -5489,7 +5761,7 @@ class j extends Nn {
5489
5761
  ));
5490
5762
  }
5491
5763
  cleanUp() {
5492
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, j.currentPopupAction = null;
5764
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
5493
5765
  }
5494
5766
  pollUserCancellation() {
5495
5767
  const e = () => {
@@ -5508,12 +5780,12 @@ class j extends Nn {
5508
5780
  );
5509
5781
  return;
5510
5782
  }
5511
- this.pollId = window.setTimeout(e, Cs.get());
5783
+ this.pollId = window.setTimeout(e, js.get());
5512
5784
  };
5513
5785
  e();
5514
5786
  }
5515
5787
  }
5516
- j.currentPopupAction = null;
5788
+ x.currentPopupAction = null;
5517
5789
  /**
5518
5790
  * @license
5519
5791
  * Copyright 2020 Google LLC
@@ -5530,8 +5802,8 @@ j.currentPopupAction = null;
5530
5802
  * See the License for the specific language governing permissions and
5531
5803
  * limitations under the License.
5532
5804
  */
5533
- const Ns = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5534
- class Ds extends Nn {
5805
+ const Hs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5806
+ class Vs extends Cn {
5535
5807
  constructor(e, t, r = !1) {
5536
5808
  super(e, [
5537
5809
  "signInViaRedirect",
@@ -5549,7 +5821,7 @@ class Ds extends Nn {
5549
5821
  let e = oe.get(this.auth._key());
5550
5822
  if (!e) {
5551
5823
  try {
5552
- const r = await Ps(this.resolver, this.auth) ? await super.execute() : null;
5824
+ const r = await Gs(this.resolver, this.auth) ? await super.execute() : null;
5553
5825
  e = () => Promise.resolve(r);
5554
5826
  } catch (t) {
5555
5827
  e = () => Promise.reject(t);
@@ -5577,26 +5849,26 @@ class Ds extends Nn {
5577
5849
  cleanUp() {
5578
5850
  }
5579
5851
  }
5580
- async function Ps(n, e) {
5581
- const t = Us(e), r = Ls(n);
5852
+ async function Gs(n, e) {
5853
+ const t = Zs(e), r = zs(n);
5582
5854
  if (!await r._isAvailable())
5583
5855
  return !1;
5584
5856
  const i = await r._get(t) === "true";
5585
5857
  return await r._remove(t), i;
5586
5858
  }
5587
- function Ms(n, e) {
5859
+ function Ws(n, e) {
5588
5860
  oe.set(n._key(), e);
5589
5861
  }
5590
- function Ls(n) {
5862
+ function zs(n) {
5591
5863
  return E(n._redirectPersistence);
5592
5864
  }
5593
- function Us(n) {
5594
- return ae(Ns, n.config.apiKey, n.name);
5865
+ function Zs(n) {
5866
+ return ae(Hs, n.config.apiKey, n.name);
5595
5867
  }
5596
- async function Bs(n, e, t = !1) {
5868
+ async function $s(n, e, t = !1) {
5597
5869
  if (I(n.app))
5598
5870
  return Promise.reject(P(n));
5599
- const r = Ie(n), i = ks(r, e), a = await new Ds(r, i, t).execute();
5871
+ const r = Ie(n), i = Us(r, e), a = await new Vs(r, i, t).execute();
5600
5872
  return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
5601
5873
  }
5602
5874
  /**
@@ -5615,8 +5887,8 @@ async function Bs(n, e, t = !1) {
5615
5887
  * See the License for the specific language governing permissions and
5616
5888
  * limitations under the License.
5617
5889
  */
5618
- const Fs = 10 * 60 * 1e3;
5619
- class js {
5890
+ const Js = 10 * 60 * 1e3;
5891
+ class Xs {
5620
5892
  constructor(e) {
5621
5893
  this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
5622
5894
  }
@@ -5632,7 +5904,7 @@ class js {
5632
5904
  let t = !1;
5633
5905
  return this.consumers.forEach((r) => {
5634
5906
  this.isEventForConsumer(e, r) && (t = !0, this.sendToConsumer(e, r), this.saveEventToCache(e));
5635
- }), this.hasHandledPotentialRedirect || !xs(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5907
+ }), this.hasHandledPotentialRedirect || !Ys(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5636
5908
  }
5637
5909
  sendToConsumer(e, t) {
5638
5910
  var r;
@@ -5647,7 +5919,7 @@ class js {
5647
5919
  return t.filter.includes(e.type) && r;
5648
5920
  }
5649
5921
  hasEventBeenHandled(e) {
5650
- return Date.now() - this.lastProcessedEventTime >= Fs && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5922
+ return Date.now() - this.lastProcessedEventTime >= Js && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5651
5923
  }
5652
5924
  saveEventToCache(e) {
5653
5925
  this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
@@ -5659,7 +5931,7 @@ function At(n) {
5659
5931
  function Dn({ type: n, error: e }) {
5660
5932
  return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
5661
5933
  }
5662
- function xs(n) {
5934
+ function Ys(n) {
5663
5935
  switch (n.type) {
5664
5936
  case "signInViaRedirect":
5665
5937
  case "linkViaRedirect":
@@ -5687,7 +5959,7 @@ function xs(n) {
5687
5959
  * See the License for the specific language governing permissions and
5688
5960
  * limitations under the License.
5689
5961
  */
5690
- async function Vs(n, e = {}) {
5962
+ async function Ks(n, e = {}) {
5691
5963
  return Z(n, "GET", "/v1/projects", e);
5692
5964
  }
5693
5965
  /**
@@ -5706,14 +5978,14 @@ async function Vs(n, e = {}) {
5706
5978
  * See the License for the specific language governing permissions and
5707
5979
  * limitations under the License.
5708
5980
  */
5709
- const Hs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Gs = /^https?/;
5710
- async function Ws(n) {
5981
+ const qs = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Qs = /^https?/;
5982
+ async function ea(n) {
5711
5983
  if (n.config.emulator)
5712
5984
  return;
5713
- const { authorizedDomains: e } = await Vs(n);
5985
+ const { authorizedDomains: e } = await Ks(n);
5714
5986
  for (const t of e)
5715
5987
  try {
5716
- if (zs(t))
5988
+ if (ta(t))
5717
5989
  return;
5718
5990
  } catch {
5719
5991
  }
@@ -5723,15 +5995,15 @@ async function Ws(n) {
5723
5995
  /* AuthErrorCode.INVALID_ORIGIN */
5724
5996
  );
5725
5997
  }
5726
- function zs(n) {
5727
- const e = xe(), { protocol: t, hostname: r } = new URL(e);
5998
+ function ta(n) {
5999
+ const e = je(), { protocol: t, hostname: r } = new URL(e);
5728
6000
  if (n.startsWith("chrome-extension://")) {
5729
6001
  const a = new URL(n);
5730
6002
  return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
5731
6003
  }
5732
- if (!Gs.test(t))
6004
+ if (!Qs.test(t))
5733
6005
  return !1;
5734
- if (Hs.test(n))
6006
+ if (qs.test(n))
5735
6007
  return r === n;
5736
6008
  const i = n.replace(/\./g, "\\.");
5737
6009
  return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
@@ -5752,7 +6024,7 @@ function zs(n) {
5752
6024
  * See the License for the specific language governing permissions and
5753
6025
  * limitations under the License.
5754
6026
  */
5755
- const Zs = new te(3e4, 6e4);
6027
+ const na = new te(3e4, 6e4);
5756
6028
  function Ot() {
5757
6029
  const n = g().___jsl;
5758
6030
  if (n != null && n.H) {
@@ -5762,7 +6034,7 @@ function Ot() {
5762
6034
  n.CP[t] = null;
5763
6035
  }
5764
6036
  }
5765
- function $s(n) {
6037
+ function ra(n) {
5766
6038
  return new Promise((e, t) => {
5767
6039
  var r, i, s;
5768
6040
  function a() {
@@ -5777,7 +6049,7 @@ function $s(n) {
5777
6049
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5778
6050
  ));
5779
6051
  },
5780
- timeout: Zs.get()
6052
+ timeout: na.get()
5781
6053
  });
5782
6054
  }
5783
6055
  if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
@@ -5785,22 +6057,22 @@ function $s(n) {
5785
6057
  else if (!((s = g().gapi) === null || s === void 0) && s.load)
5786
6058
  a();
5787
6059
  else {
5788
- const c = Ki("iframefcb");
6060
+ const c = os("iframefcb");
5789
6061
  return g()[c] = () => {
5790
6062
  gapi.load ? a() : t(_(
5791
6063
  n,
5792
6064
  "network-request-failed"
5793
6065
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5794
6066
  ));
5795
- }, Yi(`${Xi()}?onload=${c}`).catch((o) => t(o));
6067
+ }, ss(`${as()}?onload=${c}`).catch((o) => t(o));
5796
6068
  }
5797
6069
  }).catch((e) => {
5798
6070
  throw ce = null, e;
5799
6071
  });
5800
6072
  }
5801
6073
  let ce = null;
5802
- function Js(n) {
5803
- return ce = ce || $s(n), ce;
6074
+ function ia(n) {
6075
+ return ce = ce || ra(n), ce;
5804
6076
  }
5805
6077
  /**
5806
6078
  * @license
@@ -5818,7 +6090,7 @@ function Js(n) {
5818
6090
  * See the License for the specific language governing permissions and
5819
6091
  * limitations under the License.
5820
6092
  */
5821
- const Ys = new te(5e3, 15e3), Xs = "__/auth/iframe", Ks = "emulator/auth/iframe", qs = {
6093
+ const sa = new te(5e3, 15e3), aa = "__/auth/iframe", oa = "emulator/auth/iframe", ca = {
5822
6094
  style: {
5823
6095
  position: "absolute",
5824
6096
  top: "-100px",
@@ -5827,13 +6099,13 @@ const Ys = new te(5e3, 15e3), Xs = "__/auth/iframe", Ks = "emulator/auth/iframe"
5827
6099
  },
5828
6100
  "aria-hidden": "true",
5829
6101
  tabindex: "-1"
5830
- }, Qs = /* @__PURE__ */ new Map([
6102
+ }, la = /* @__PURE__ */ new Map([
5831
6103
  ["identitytoolkit.googleapis.com", "p"],
5832
6104
  ["staging-identitytoolkit.sandbox.googleapis.com", "s"],
5833
6105
  ["test-identitytoolkit.sandbox.googleapis.com", "t"]
5834
6106
  // test
5835
6107
  ]);
5836
- function ea(n) {
6108
+ function da(n) {
5837
6109
  const e = n.config;
5838
6110
  d(
5839
6111
  e.authDomain,
@@ -5841,17 +6113,17 @@ function ea(n) {
5841
6113
  "auth-domain-config-required"
5842
6114
  /* AuthErrorCode.MISSING_AUTH_DOMAIN */
5843
6115
  );
5844
- const t = e.emulator ? Ye(e, Ks) : `https://${n.config.authDomain}/${Xs}`, r = {
6116
+ const t = e.emulator ? Xe(e, oa) : `https://${n.config.authDomain}/${aa}`, r = {
5845
6117
  apiKey: e.apiKey,
5846
6118
  appName: n.name,
5847
6119
  v: ee
5848
- }, i = Qs.get(n.config.apiHost);
6120
+ }, i = la.get(n.config.apiHost);
5849
6121
  i && (r.eid = i);
5850
6122
  const s = n._getFrameworks();
5851
6123
  return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
5852
6124
  }
5853
- async function ta(n) {
5854
- const e = await Js(n), t = g().gapi;
6125
+ async function ua(n) {
6126
+ const e = await ia(n), t = g().gapi;
5855
6127
  return d(
5856
6128
  t,
5857
6129
  n,
@@ -5859,9 +6131,9 @@ async function ta(n) {
5859
6131
  /* AuthErrorCode.INTERNAL_ERROR */
5860
6132
  ), e.open({
5861
6133
  where: document.body,
5862
- url: ea(n),
6134
+ url: da(n),
5863
6135
  messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
5864
- attributes: qs,
6136
+ attributes: ca,
5865
6137
  dontclear: !0
5866
6138
  }, (r) => new Promise(async (i, s) => {
5867
6139
  await r.restyle({
@@ -5874,7 +6146,7 @@ async function ta(n) {
5874
6146
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
5875
6147
  ), c = g().setTimeout(() => {
5876
6148
  s(a);
5877
- }, Ys.get());
6149
+ }, sa.get());
5878
6150
  function o() {
5879
6151
  g().clearTimeout(c), i(r);
5880
6152
  }
@@ -5899,13 +6171,13 @@ async function ta(n) {
5899
6171
  * See the License for the specific language governing permissions and
5900
6172
  * limitations under the License.
5901
6173
  */
5902
- const na = {
6174
+ const ha = {
5903
6175
  location: "yes",
5904
6176
  resizable: "yes",
5905
6177
  statusbar: "yes",
5906
6178
  toolbar: "no"
5907
- }, ra = 500, ia = 600, sa = "_blank", aa = "http://localhost";
5908
- class Ct {
6179
+ }, pa = 500, fa = 600, ma = "_blank", _a = "http://localhost";
6180
+ class Nt {
5909
6181
  constructor(e) {
5910
6182
  this.window = e, this.associatedEvent = null;
5911
6183
  }
@@ -5917,19 +6189,19 @@ class Ct {
5917
6189
  }
5918
6190
  }
5919
6191
  }
5920
- function oa(n, e, t, r = ra, i = ia) {
6192
+ function ga(n, e, t, r = pa, i = fa) {
5921
6193
  const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
5922
6194
  let c = "";
5923
- const o = Object.assign(Object.assign({}, na), {
6195
+ const o = Object.assign(Object.assign({}, ha), {
5924
6196
  width: r.toString(),
5925
6197
  height: i.toString(),
5926
6198
  top: s,
5927
6199
  left: a
5928
6200
  }), l = f().toLowerCase();
5929
- t && (c = hn(l) ? sa : t), dn(l) && (e = e || aa, o.scrollbars = "yes");
6201
+ t && (c = hn(l) ? ma : t), dn(l) && (e = e || _a, o.scrollbars = "yes");
5930
6202
  const u = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
5931
- if (Vi(l) && c !== "_self")
5932
- return ca(e || "", c), new Ct(null);
6203
+ if (Ki(l) && c !== "_self")
6204
+ return va(e || "", c), new Nt(null);
5933
6205
  const p = window.open(e || "", c, u);
5934
6206
  d(
5935
6207
  p,
@@ -5941,9 +6213,9 @@ function oa(n, e, t, r = ra, i = ia) {
5941
6213
  p.focus();
5942
6214
  } catch {
5943
6215
  }
5944
- return new Ct(p);
6216
+ return new Nt(p);
5945
6217
  }
5946
- function ca(n, e) {
6218
+ function va(n, e) {
5947
6219
  const t = document.createElement("a");
5948
6220
  t.href = n, t.target = e;
5949
6221
  const r = document.createEvent("MouseEvent");
@@ -5965,8 +6237,8 @@ function ca(n, e) {
5965
6237
  * See the License for the specific language governing permissions and
5966
6238
  * limitations under the License.
5967
6239
  */
5968
- const la = "__/auth/handler", da = "emulator/auth/handler", ua = encodeURIComponent("fac");
5969
- async function Nt(n, e, t, r, i, s) {
6240
+ const Ia = "__/auth/handler", ba = "emulator/auth/handler", ya = encodeURIComponent("fac");
6241
+ async function Ct(n, e, t, r, i, s) {
5970
6242
  d(
5971
6243
  n.config.authDomain,
5972
6244
  n,
@@ -5987,7 +6259,7 @@ async function Nt(n, e, t, r, i, s) {
5987
6259
  eventId: i
5988
6260
  };
5989
6261
  if (e instanceof yn) {
5990
- e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", ur(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
6262
+ e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", yr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
5991
6263
  for (const [u, p] of Object.entries({}))
5992
6264
  a[u] = p;
5993
6265
  }
@@ -5999,11 +6271,11 @@ async function Nt(n, e, t, r, i, s) {
5999
6271
  const c = a;
6000
6272
  for (const u of Object.keys(c))
6001
6273
  c[u] === void 0 && delete c[u];
6002
- const o = await n._getAppCheckToken(), l = o ? `#${ua}=${encodeURIComponent(o)}` : "";
6003
- return `${ha(n)}?${Q(c).slice(1)}${l}`;
6274
+ const o = await n._getAppCheckToken(), l = o ? `#${ya}=${encodeURIComponent(o)}` : "";
6275
+ return `${Ea(n)}?${Q(c).slice(1)}${l}`;
6004
6276
  }
6005
- function ha({ config: n }) {
6006
- return n.emulator ? Ye(n, da) : `https://${n.authDomain}/${la}`;
6277
+ function Ea({ config: n }) {
6278
+ return n.emulator ? Xe(n, ba) : `https://${n.authDomain}/${Ia}`;
6007
6279
  }
6008
6280
  /**
6009
6281
  * @license
@@ -6022,22 +6294,22 @@ function ha({ config: n }) {
6022
6294
  * limitations under the License.
6023
6295
  */
6024
6296
  const De = "webStorageSupport";
6025
- class pa {
6297
+ class Ta {
6026
6298
  constructor() {
6027
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Bs, this._overrideRedirectResult = Ms;
6299
+ this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = $s, this._overrideRedirectResult = Ws;
6028
6300
  }
6029
6301
  // Wrapping in async even though we don't await anywhere in order
6030
6302
  // to make sure errors are raised as promise rejections
6031
6303
  async _openPopup(e, t, r, i) {
6032
6304
  var s;
6033
6305
  R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6034
- const a = await Nt(e, t, r, xe(), i);
6035
- return oa(e, a, Qe());
6306
+ const a = await Ct(e, t, r, je(), i);
6307
+ return ga(e, a, Qe());
6036
6308
  }
6037
6309
  async _openRedirect(e, t, r, i) {
6038
6310
  await this._originValidation(e);
6039
- const s = await Nt(e, t, r, xe(), i);
6040
- return _s(s), new Promise(() => {
6311
+ const s = await Ct(e, t, r, je(), i);
6312
+ return ks(s), new Promise(() => {
6041
6313
  });
6042
6314
  }
6043
6315
  _initialize(e) {
@@ -6052,7 +6324,7 @@ class pa {
6052
6324
  }), r;
6053
6325
  }
6054
6326
  async initAndGetManager(e) {
6055
- const t = await ta(e), r = new js(e);
6327
+ const t = await ua(e), r = new Xs(e);
6056
6328
  return t.register("authEvent", (i) => (d(
6057
6329
  i == null ? void 0 : i.authEvent,
6058
6330
  e,
@@ -6076,13 +6348,13 @@ class pa {
6076
6348
  }
6077
6349
  _originValidation(e) {
6078
6350
  const t = e._key();
6079
- return this.originValidationPromises[t] || (this.originValidationPromises[t] = Ws(e)), this.originValidationPromises[t];
6351
+ return this.originValidationPromises[t] || (this.originValidationPromises[t] = ea(e)), this.originValidationPromises[t];
6080
6352
  }
6081
6353
  get _shouldInitProactively() {
6082
6354
  return gn() || un() || Ke();
6083
6355
  }
6084
6356
  }
6085
- const fa = pa;
6357
+ const wa = Ta;
6086
6358
  var Dt = "@firebase/auth", Pt = "1.7.9";
6087
6359
  /**
6088
6360
  * @license
@@ -6100,7 +6372,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
6100
6372
  * See the License for the specific language governing permissions and
6101
6373
  * limitations under the License.
6102
6374
  */
6103
- class ma {
6375
+ class Ra {
6104
6376
  constructor(e) {
6105
6377
  this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
6106
6378
  }
@@ -6151,7 +6423,7 @@ class ma {
6151
6423
  * See the License for the specific language governing permissions and
6152
6424
  * limitations under the License.
6153
6425
  */
6154
- function _a(n) {
6426
+ function ka(n) {
6155
6427
  switch (n) {
6156
6428
  case "Node":
6157
6429
  return "node";
@@ -6167,8 +6439,8 @@ function _a(n) {
6167
6439
  return;
6168
6440
  }
6169
6441
  }
6170
- function ga(n) {
6171
- Y(new W(
6442
+ function Sa(n) {
6443
+ X(new W(
6172
6444
  "auth",
6173
6445
  (e, { options: t }) => {
6174
6446
  const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
@@ -6181,8 +6453,8 @@ function ga(n) {
6181
6453
  tokenApiHost: "securetoken.googleapis.com",
6182
6454
  apiScheme: "https",
6183
6455
  sdkClientVersion: vn(n)
6184
- }, l = new $i(r, i, s, o);
6185
- return Qi(l, t), l;
6456
+ }, l = new rs(r, i, s, o);
6457
+ return ls(l, t), l;
6186
6458
  },
6187
6459
  "PUBLIC"
6188
6460
  /* ComponentType.PUBLIC */
@@ -6194,21 +6466,21 @@ function ga(n) {
6194
6466
  "auth-internal"
6195
6467
  /* _ComponentName.AUTH_INTERNAL */
6196
6468
  ).initialize();
6197
- })), Y(new W(
6469
+ })), X(new W(
6198
6470
  "auth-internal",
6199
6471
  (e) => {
6200
6472
  const t = Ie(e.getProvider(
6201
6473
  "auth"
6202
6474
  /* _ComponentName.AUTH */
6203
6475
  ).getImmediate());
6204
- return ((r) => new ma(r))(t);
6476
+ return ((r) => new Ra(r))(t);
6205
6477
  },
6206
6478
  "PRIVATE"
6207
6479
  /* ComponentType.PRIVATE */
6208
6480
  ).setInstantiationMode(
6209
6481
  "EXPLICIT"
6210
6482
  /* InstantiationMode.EXPLICIT */
6211
- )), x(Dt, Pt, _a(n)), x(Dt, Pt, "esm2017");
6483
+ )), j(Dt, Pt, ka(n)), j(Dt, Pt, "esm2017");
6212
6484
  }
6213
6485
  /**
6214
6486
  * @license
@@ -6226,11 +6498,11 @@ function ga(n) {
6226
6498
  * See the License for the specific language governing permissions and
6227
6499
  * limitations under the License.
6228
6500
  */
6229
- const va = 5 * 60, Ia = zt("authIdTokenMaxAge") || va;
6501
+ const Aa = 5 * 60, Oa = zt("authIdTokenMaxAge") || Aa;
6230
6502
  let Mt = null;
6231
- const ba = (n) => async (e) => {
6503
+ const Na = (n) => async (e) => {
6232
6504
  const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
6233
- if (r && r > Ia)
6505
+ if (r && r > Oa)
6234
6506
  return;
6235
6507
  const i = t == null ? void 0 : t.token;
6236
6508
  Mt !== i && (Mt = i, await fetch(n, {
@@ -6240,33 +6512,33 @@ const ba = (n) => async (e) => {
6240
6512
  } : {}
6241
6513
  }));
6242
6514
  };
6243
- function ya(n = pi()) {
6244
- const e = Yt(n, "auth");
6515
+ function Ca(n = Ti()) {
6516
+ const e = Xt(n, "auth");
6245
6517
  if (e.isInitialized())
6246
6518
  return e.getImmediate();
6247
- const t = qi(n, {
6248
- popupRedirectResolver: fa,
6519
+ const t = cs(n, {
6520
+ popupRedirectResolver: wa,
6249
6521
  persistence: [
6250
- Rs,
6251
- ps,
6522
+ Ls,
6523
+ Ts,
6252
6524
  kn
6253
6525
  ]
6254
6526
  }), r = zt("authTokenSyncURL");
6255
6527
  if (r && typeof isSecureContext == "boolean" && isSecureContext) {
6256
6528
  const s = new URL(r, location.origin);
6257
6529
  if (location.origin === s.origin) {
6258
- const a = ba(s.toString());
6259
- ds(t, a, () => a(t.currentUser)), ls(t, (c) => a(c));
6530
+ const a = Na(s.toString());
6531
+ bs(t, a, () => a(t.currentUser)), Is(t, (c) => a(c));
6260
6532
  }
6261
6533
  }
6262
6534
  const i = Gt("auth");
6263
- return i && es(t, `http://${i}`), t;
6535
+ return i && ds(t, `http://${i}`), t;
6264
6536
  }
6265
- function Ea() {
6537
+ function Da() {
6266
6538
  var n, e;
6267
6539
  return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
6268
6540
  }
6269
- Ji({
6541
+ is({
6270
6542
  loadJS(n) {
6271
6543
  return new Promise((e, t) => {
6272
6544
  const r = document.createElement("script");
@@ -6276,23 +6548,23 @@ Ji({
6276
6548
  /* AuthErrorCode.INTERNAL_ERROR */
6277
6549
  );
6278
6550
  s.customData = i, t(s);
6279
- }, r.type = "text/javascript", r.charset = "UTF-8", Ea().appendChild(r);
6551
+ }, r.type = "text/javascript", r.charset = "UTF-8", Da().appendChild(r);
6280
6552
  });
6281
6553
  },
6282
6554
  gapiScript: "https://apis.google.com/js/api.js",
6283
6555
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6284
6556
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6285
6557
  });
6286
- ga(
6558
+ Sa(
6287
6559
  "Browser"
6288
6560
  /* ClientPlatform.BROWSER */
6289
6561
  );
6290
- const Ta = Ln({
6562
+ const Pa = Ln({
6291
6563
  history: Un(),
6292
6564
  routes: [...We, ...le]
6293
6565
  });
6294
6566
  let Pe, Me;
6295
- Ta.beforeEach(async (n) => {
6567
+ Pa.beforeEach(async (n) => {
6296
6568
  const {
6297
6569
  sessionUser: e,
6298
6570
  currentRestaurant: t,
@@ -6319,10 +6591,10 @@ Ta.beforeEach(async (n) => {
6319
6591
  })
6320
6592
  ]).then((a) => !0)), Me) : !0;
6321
6593
  });
6322
- const wa = /* @__PURE__ */ Ut({
6594
+ const Ma = /* @__PURE__ */ Ut({
6323
6595
  __name: "AppSidebar",
6324
6596
  setup(n) {
6325
- const e = Ge(), t = Bn(), r = jn(t.currentRoute.value.name);
6597
+ const e = Ge(), t = Bn(), r = xn(t.currentRoute.value.name);
6326
6598
  $(t.currentRoute, () => {
6327
6599
  let o = t.currentRoute.value.name;
6328
6600
  t.currentRoute.value.meta.parent && (o = t.currentRoute.value.meta.parent), r.value = o;
@@ -6339,7 +6611,7 @@ const wa = /* @__PURE__ */ Ut({
6339
6611
  return t.push({ name: o.name });
6340
6612
  }
6341
6613
  };
6342
- return o.meta.sidebarNew && (l.badge = () => xn(zn.FmPill, { label: "New" })), l;
6614
+ return o.meta.sidebarNew && (l.badge = () => jn(zn.FmPill, { label: "New" })), l;
6343
6615
  }).filter((o) => !!o), s = le.map((o) => {
6344
6616
  var l;
6345
6617
  if ((l = o.meta) != null && l.sidebarDisplay && !o.meta.section)
@@ -6396,7 +6668,7 @@ const wa = /* @__PURE__ */ Ut({
6396
6668
  });
6397
6669
  return (o, l) => {
6398
6670
  const u = Bt("FmCollapsibleTabs");
6399
- return Ft(), jt(u, {
6671
+ return Ft(), xt(u, {
6400
6672
  modelValue: r.value,
6401
6673
  "onUpdate:modelValue": l[0] || (l[0] = (p) => r.value = p),
6402
6674
  items: c.value,
@@ -6405,44 +6677,45 @@ const wa = /* @__PURE__ */ Ut({
6405
6677
  };
6406
6678
  }
6407
6679
  });
6408
- var Ra = { 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" };
6409
- const Pa = /* @__PURE__ */ Ut({
6680
+ var La = { 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" };
6681
+ const Ga = /* @__PURE__ */ Ut({
6410
6682
  __name: "App",
6411
6683
  setup(n) {
6412
- const { state: e } = Zn(), t = Ge(), r = Fn(), i = Xt(Ra.firebase);
6684
+ const { state: e } = nr(), t = Ge(), r = Fn(), i = Yt(La.firebase);
6413
6685
  async function s() {
6414
6686
  const a = t.sessionUser.value;
6415
6687
  if (!a || !a.token) return;
6416
- const c = await a.getCustomToken(), o = ya(i);
6417
- await cs(o, c);
6688
+ const c = await a.getCustomToken(), o = Ca(i);
6689
+ await vs(o, c);
6418
6690
  }
6419
- return s(), $(t.sessionUser, s), Vn(() => {
6691
+ return s(), $(t.sessionUser, s), Hn(() => {
6420
6692
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6421
- }), Hn(() => {
6422
- t.registerSidebarComponent(wa);
6693
+ }), Vn(() => {
6694
+ t.registerSidebarComponent(Ma);
6423
6695
  }), (a, c) => {
6424
6696
  const o = Bt("RouterView");
6425
- return Ft(), jt(o, {
6697
+ return Ft(), xt(o, {
6426
6698
  key: Gn(r).path
6427
6699
  });
6428
6700
  };
6429
6701
  }
6430
- }), Ma = [
6431
- ...le,
6432
- ...We
6433
- ];
6702
+ }), Wa = {
6703
+ "en-US": Yn,
6704
+ "zh-CN": tr
6705
+ }, za = [...le, ...We];
6434
6706
  export {
6435
6707
  W as C,
6436
6708
  M as F,
6437
6709
  ee as S,
6438
- Y as _,
6439
- Yt as a,
6440
- Na as b,
6441
- pi as c,
6442
- Da as d,
6710
+ X as _,
6711
+ Xt as a,
6712
+ Ha as b,
6713
+ Ti as c,
6714
+ Va as d,
6443
6715
  gt as e,
6444
- Ma as f,
6716
+ za as f,
6445
6717
  z as g,
6446
- Pa as h,
6447
- x as r
6718
+ Ga as h,
6719
+ Wa as i,
6720
+ j as r
6448
6721
  };