@feedmepos/mf-payment 1.1.9 → 1.1.10-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/dist/{PayoutAccount-BuYnCwX0.js → PayoutAccount-BsGYgYqK.js} +152 -152
  2. package/dist/{PayoutAccount-D-UAfJmx.js → PayoutAccount-DsQCwRok.js} +5 -5
  3. package/dist/{PayoutAccountSetting-P3EEdPd8.js → PayoutAccountSetting-DlTlipkR.js} +3 -3
  4. package/dist/{Restaurant-DVfQgRDa.js → Restaurant-B00xtheA.js} +4 -4
  5. package/dist/{RestaurantSelector.vue_vue_type_script_setup_true_lang-hJAJYKmE.js → RestaurantSelector.vue_vue_type_script_setup_true_lang-DyLnqQYe.js} +6 -6
  6. package/dist/{RestaurantSetting-v4X04iUd.js → RestaurantSetting-C4Uswfiq.js} +3 -3
  7. package/dist/{Settlement-B7E4lpuy.js → Settlement-CsuI5viX.js} +3 -3
  8. package/dist/{Settlement-BvOHdyd-.js → Settlement-FXQpkHg9.js} +92 -92
  9. package/dist/{SettlementTransactions-C_QiVAAT.js → SettlementTransactions-CLIWl2ft.js} +82 -82
  10. package/dist/{SettlementTransactions-XWF6lcgO.js → SettlementTransactions-CwFD7ZNW.js} +3 -3
  11. package/dist/{Terminal-uiqG_SS0.js → Terminal-D4jCEaVn.js} +6 -6
  12. package/dist/{TerminalSetting-BZ13kPwS.js → TerminalSetting-PK0CIFIv.js} +3 -3
  13. package/dist/{Transaction-73ONBoa8.js → Transaction-B-gOcc81.js} +5 -5
  14. package/dist/{Transaction-Do-cIw77.js → Transaction-K2CdzMSr.js} +36 -36
  15. package/dist/{TransactionOld-CImEq3E_.js → TransactionOld-85ud0GVA.js} +14 -14
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-Ba83O4G-.js → TransactionTable.vue_vue_type_script_setup_true_lang-vuYIyvMv.js} +16 -16
  17. package/dist/{app-BboGv5bA.js → app-gDs_z8vb.js} +774 -770
  18. package/dist/app.d.ts +242 -238
  19. package/dist/app.js +1 -1
  20. package/dist/{assets-SBx-FS2c.js → assets-si0LYmis.js} +1 -1
  21. package/dist/{grafana-DKPCmS74.js → grafana-CcI-Y-7W.js} +2 -2
  22. package/dist/{index-BMI-n_D8.js → index-BnU2pweJ.js} +2162 -2162
  23. package/dist/{index-DitA7AGz.js → index-CBqS2uRV.js} +1 -1
  24. package/dist/{index-Cc3tk2uy.js → index-CMl0v9KN.js} +1 -1
  25. package/dist/{index-DNVOx0Qk.js → index-eW-bur4D.js} +1 -1
  26. package/dist/{index-DChD3CMr.js → index-edR0IH2v.js} +1 -1
  27. package/dist/{index-CUXRAwm_.js → index-gG4wgVTV.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-Bk00_8Zw.js → index.vue_vue_type_script_setup_true_lang-BFLwe9RG.js} +1 -1
  29. package/dist/package.json +1 -1
  30. package/dist/{payout-account-DEWX726j.js → payout-account-kKxhI2Rx.js} +2 -2
  31. package/dist/tsconfig.app.tsbuildinfo +1 -1
  32. package/package.json +1 -1
@@ -1,302 +1,306 @@
1
- import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
2
- import { computed as Lt, watch as J, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as Wn, onMounted as jn, onBeforeMount as Hn, unref as Vn } from "vue";
3
- import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
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 xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Gn, onMounted as Hn, onBeforeMount as Vn, unref as jn } from "vue";
3
+ import { useCoreStore as je, useI18n as Wn } from "@feedmepos/mf-common";
4
4
  import { defineStore as zn } from "pinia";
5
- import { components as $n } from "@feedmepos/ui-library";
6
- const Jn = {
7
- select: "Select filter entity",
8
- restaurant: "Restaurant",
9
- device: "Device",
10
- payout_account: "Payout Account"
11
- }, Zn = {
12
- payout_account: "Payout Account",
13
- transaction: "Transactions",
14
- "transaction-new": "Transactions",
15
- settlement: "Settlements"
16
- }, Yn = {
17
- title: "Settlements",
18
- description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
19
- export: "Export",
20
- table: {
21
- id: "Settlement ID",
22
- bank: "Bank",
23
- account: "Account No",
24
- created_at: "Created At",
25
- sales_amount: "Sales Amount",
26
- fee: "Fee",
27
- settlement_amount: "Settlement Amount"
5
+ import { components as Zn } from "@feedmepos/ui-library";
6
+ const $n = {
7
+ components: {
8
+ select: "Select filter entity",
9
+ restaurant: "Restaurant",
10
+ device: "Device",
11
+ payout_account: "Payout Account"
28
12
  },
29
- dialog: {
30
- title: "Settlements Transactions",
31
- date: "Date",
32
- search: "Search Transactions ...",
33
- info: {
34
- transaction: {
35
- title: "Transaction Info",
36
- for: "For",
37
- reference: "Reference",
38
- count: "Transaction"
13
+ routes: {
14
+ payout_account: "Payout Account",
15
+ transaction: "Transactions",
16
+ "transaction-new": "Transactions",
17
+ settlement: "Settlements"
18
+ },
19
+ settlements: {
20
+ title: "Settlements",
21
+ description: "Settlements are the finalization of financial transactions, transferring funds to complete payments.",
22
+ export: "Export",
23
+ table: {
24
+ id: "Settlement ID",
25
+ bank: "Bank",
26
+ account: "Account No",
27
+ created_at: "Created At",
28
+ sales_amount: "Sales Amount",
29
+ fee: "Fee",
30
+ settlement_amount: "Settlement Amount"
31
+ },
32
+ dialog: {
33
+ title: "Settlements Transactions",
34
+ date: "Date",
35
+ search: "Search Transactions ...",
36
+ info: {
37
+ transaction: {
38
+ title: "Transaction Info",
39
+ for: "For",
40
+ reference: "Reference",
41
+ count: "Transaction"
42
+ },
43
+ bank: {
44
+ title: "Bank Info",
45
+ for: "Bank",
46
+ name: "Name",
47
+ number: "Number"
48
+ },
49
+ payout: {
50
+ title: "Payout Info",
51
+ amount: "Amount",
52
+ fee: "Fee",
53
+ payout: "Payout"
54
+ }
39
55
  },
40
- bank: {
41
- title: "Bank Info",
42
- for: "Bank",
43
- name: "Name",
44
- number: "Number"
56
+ fiuu: {
57
+ id: "Transaction ID",
58
+ type: "Type",
59
+ transaction_at: "Transaction At",
60
+ sales_amount: "Sales Amount",
61
+ fee: "Fee",
62
+ settlement_amount: "Settlement Amount"
45
63
  },
46
- payout: {
47
- title: "Payout Info",
48
- amount: "Amount",
64
+ feedme: {
65
+ id: "Transaction ID",
66
+ pay_id: "Pay ID",
67
+ gateway: "Gateway",
68
+ method: "Method",
69
+ status: "Status",
70
+ type: "Type",
71
+ payFor: "For",
72
+ transaction_at: "Transaction At",
73
+ sales_amount: "Sales Amount",
49
74
  fee: "Fee",
50
- payout: "Payout"
75
+ settlement_amount: "Settlement Amount"
51
76
  }
77
+ }
78
+ },
79
+ transactions: {
80
+ title: "Transactions",
81
+ description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
82
+ restaurant: "Restaurant",
83
+ status: "Status",
84
+ search: {
85
+ title: "Search",
86
+ placeholder: "Search Transactions ..."
52
87
  },
53
- fiuu: {
54
- id: "Transaction ID",
55
- type: "Type",
56
- transaction_at: "Transaction At",
57
- sales_amount: "Sales Amount",
58
- fee: "Fee",
59
- settlement_amount: "Settlement Amount"
88
+ button: {
89
+ export: "Export"
60
90
  },
61
- feedme: {
91
+ table: {
62
92
  id: "Transaction ID",
63
93
  pay_id: "Pay ID",
94
+ gateway_id: "Gateway ID",
95
+ bill_seq: "Bill Seq No",
64
96
  gateway: "Gateway",
65
97
  method: "Method",
66
- status: "Status",
67
98
  type: "Type",
68
- payFor: "For",
99
+ status: "Status",
100
+ source: "Source",
101
+ restaurant: "Restaurant",
69
102
  transaction_at: "Transaction At",
70
103
  sales_amount: "Sales Amount",
71
- fee: "Fee",
72
- settlement_amount: "Settlement Amount"
104
+ actions: "Actions"
73
105
  }
74
- }
75
- }, Xn = {
76
- title: "Transactions",
77
- description: "Transactions are purchases or payments made over the internet using electronic methods like cards or digital wallets.",
78
- restaurant: "Restaurant",
79
- status: "Status",
80
- search: {
81
- title: "Search",
82
- placeholder: "Search Transactions ..."
83
- },
84
- button: {
85
- export: "Export"
86
106
  },
87
- table: {
88
- id: "Transaction ID",
89
- pay_id: "Pay ID",
90
- gateway_id: "Gateway ID",
91
- bill_seq: "Bill Seq No",
92
- gateway: "Gateway",
93
- method: "Method",
94
- type: "Type",
95
- status: "Status",
96
- source: "Source",
97
- restaurant: "Restaurant",
98
- transaction_at: "Transaction At",
99
- sales_amount: "Sales Amount",
100
- actions: "Actions"
101
- }
102
- }, Kn = {
103
- title: "Payout Account",
104
- description: "A Payout Account is an account used to receive payments or disbursements, such as earnings or refunds, typically linked to a bank.",
105
- button: {
106
- apply: "Apply"
107
- },
108
- table: {
109
- type: "Type",
110
- name: "Name",
111
- status: "Status",
112
- active: "Active?",
113
- bank: "Bank Details",
114
- pic: "Person In-Charge (PIC)"
115
- },
116
- dialog: {
117
- view_title: " View Payout Account",
118
- title: "Apply Payout Account",
107
+ payout_account: {
108
+ title: "Payout Account",
109
+ description: "A Payout Account is an account used to receive payments or disbursements, such as earnings or refunds, typically linked to a bank.",
119
110
  button: {
120
- remove: "Remove",
121
- submit: "Submit"
111
+ apply: "Apply"
122
112
  },
123
- fields: {
113
+ table: {
124
114
  type: "Type",
125
- for: "For",
126
- for_placeholder: "Select store",
127
115
  name: "Name",
128
- phone: "Phone No",
129
- email: "Email",
130
- bank: "Bank",
131
- bank_type: "Type",
132
- bank_account: "Account Number",
133
- bank_holder: "Holder Name"
134
- },
135
- document: {
136
- ssm: "SSM Certificate ( Form D )",
137
- bank: "Bank Statement w/ Holder Name",
138
- exterior: "Exterior Photo"
116
+ status: "Status",
117
+ active: "Active?",
118
+ bank: "Bank Details",
119
+ pic: "Person In-Charge (PIC)"
139
120
  },
140
- section: {
141
- account: "Account",
142
- bank: "Bank Info",
143
- pic: "Key Person",
144
- document: "Legal Documents"
121
+ dialog: {
122
+ view_title: " View Payout Account",
123
+ title: "Apply Payout Account",
124
+ button: {
125
+ remove: "Remove",
126
+ submit: "Submit"
127
+ },
128
+ fields: {
129
+ type: "Type",
130
+ for: "For",
131
+ for_placeholder: "Select store",
132
+ name: "Name",
133
+ phone: "Phone No",
134
+ email: "Email",
135
+ bank: "Bank",
136
+ bank_type: "Type",
137
+ bank_account: "Account Number",
138
+ bank_holder: "Holder Name"
139
+ },
140
+ document: {
141
+ ssm: "SSM Certificate ( Form D )",
142
+ bank: "Bank Statement w/ Holder Name",
143
+ exterior: "Exterior Photo"
144
+ },
145
+ section: {
146
+ account: "Account",
147
+ bank: "Bank Info",
148
+ pic: "Key Person",
149
+ document: "Legal Documents"
150
+ }
145
151
  }
146
152
  }
147
- }, qn = {
148
- components: Jn,
149
- routes: Zn,
150
- settlements: Yn,
151
- transactions: Xn,
152
- payout_account: Kn
153
- }, Qn = {
154
- select: "选择筛选对象",
155
- restaurant: "餐厅",
156
- device: "设备",
157
- payout_account: "结算账户"
158
- }, er = {
159
- payout_account: "结算账户",
160
- transaction: "交易订单",
161
- "transaction-new": "交易订单",
162
- settlement: "交易结算"
163
- }, tr = {
164
- title: "交易结算",
165
- description: "交易结算是金融交易的最终处理,交易流水的详细,完成付款的资金转移。",
166
- export: "导出",
167
- table: {
168
- id: "结算ID",
169
- bank: "银行",
170
- account: "账户号码",
171
- created_at: "结算时间",
172
- sales_amount: "营业金额",
173
- fee: "服务费用",
174
- settlement_amount: "结算金额"
153
+ }, Jn = {
154
+ payment: $n
155
+ }, Yn = {
156
+ components: {
157
+ select: "选择筛选对象",
158
+ restaurant: "餐厅",
159
+ device: "设备",
160
+ payout_account: "结算账户"
175
161
  },
176
- dialog: {
177
- title: "结算订单详细",
178
- date: "日期",
179
- search: "查询订单 ...",
180
- info: {
181
- transaction: {
182
- title: "交易详细",
183
- for: "",
184
- reference: "相关",
185
- count: "数量"
162
+ routes: {
163
+ payout_account: "结算账户",
164
+ transaction: "交易订单",
165
+ "transaction-new": "交易订单",
166
+ settlement: "交易结算"
167
+ },
168
+ settlements: {
169
+ title: "交易结算",
170
+ description: "交易结算是金融交易的最终处理,交易流水的详细,完成付款的资金转移。",
171
+ export: "导出",
172
+ table: {
173
+ id: "结算ID",
174
+ bank: "银行",
175
+ account: "账户号码",
176
+ created_at: "结算时间",
177
+ sales_amount: "营业金额",
178
+ fee: "服务费用",
179
+ settlement_amount: "结算金额"
180
+ },
181
+ dialog: {
182
+ title: "结算订单详细",
183
+ date: "日期",
184
+ search: "查询订单 ...",
185
+ info: {
186
+ transaction: {
187
+ title: "交易详细",
188
+ for: "于",
189
+ reference: "相关",
190
+ count: "数量"
191
+ },
192
+ bank: {
193
+ title: "银行详细",
194
+ for: "银行",
195
+ name: "名称",
196
+ number: "号码"
197
+ },
198
+ payout: {
199
+ title: "结算详细",
200
+ amount: "营业金额",
201
+ fee: "服务费",
202
+ payout: "结算金额"
203
+ }
186
204
  },
187
- bank: {
188
- title: "银行详细",
189
- for: "银行",
190
- name: "名称",
191
- number: "号码"
205
+ fiuu: {
206
+ id: "交易ID",
207
+ type: "类型",
208
+ transaction_at: "交易时间",
209
+ sales_amount: "营业金额",
210
+ fee: "服务费",
211
+ settlement_amount: "结算金额"
192
212
  },
193
- payout: {
194
- title: "结算详细",
195
- amount: "营业金额",
213
+ feedme: {
214
+ id: "交易ID",
215
+ pay_id: "订单ID",
216
+ gateway: "支付网关",
217
+ method: "支付方法",
218
+ status: "状态",
219
+ type: "类型",
220
+ payFor: "于",
221
+ transaction_at: "交易时间",
222
+ sales_amount: "营业金额",
196
223
  fee: "服务费",
197
- payout: "结算金额"
224
+ settlement_amount: "结算金额"
198
225
  }
226
+ }
227
+ },
228
+ transactions: {
229
+ title: "交易订单",
230
+ description: "交易订单是使用卡或数字钱包等电子方式通过互联网进行的购买或付款。",
231
+ restaurant: "餐厅",
232
+ status: "状态",
233
+ search: {
234
+ title: "查询",
235
+ placeholder: "查询订单 ..."
199
236
  },
200
- fiuu: {
201
- id: "交易ID",
202
- type: "类型",
203
- transaction_at: "交易时间",
204
- sales_amount: "营业金额",
205
- fee: "服务费",
206
- settlement_amount: "结算金额"
237
+ button: {
238
+ export: "导出"
207
239
  },
208
- feedme: {
240
+ table: {
209
241
  id: "交易ID",
210
- pay_id: "订单ID",
242
+ pay_id: "支付ID",
243
+ gateway_id: "网关ID",
244
+ bill_seq: "订单序列号",
211
245
  gateway: "支付网关",
212
246
  method: "支付方法",
247
+ type: "支付类型",
213
248
  status: "状态",
214
- type: "类型",
215
- payFor: "",
249
+ restaurant: "餐厅",
250
+ source: "",
216
251
  transaction_at: "交易时间",
217
- sales_amount: "营业金额",
218
- fee: "服务费",
219
- settlement_amount: "结算金额"
252
+ sales_amount: "交易金额",
253
+ actions: "操作"
220
254
  }
221
- }
222
- }, nr = {
223
- title: "交易订单",
224
- description: "交易订单是使用卡或数字钱包等电子方式通过互联网进行的购买或付款。",
225
- restaurant: "餐厅",
226
- status: "状态",
227
- search: {
228
- title: "查询",
229
- placeholder: "查询订单 ..."
230
- },
231
- button: {
232
- export: "导出"
233
- },
234
- table: {
235
- id: "交易ID",
236
- pay_id: "支付ID",
237
- gateway_id: "网关ID",
238
- bill_seq: "订单序列号",
239
- gateway: "支付网关",
240
- method: "支付方法",
241
- type: "支付类型",
242
- status: "状态",
243
- restaurant: "餐厅",
244
- source: "源",
245
- transaction_at: "交易时间",
246
- sales_amount: "交易金额",
247
- actions: "操作"
248
- }
249
- }, rr = {
250
- title: "结算账户",
251
- description: "结算账户是用于接收付款或支出的账户,例如收入或退款,通常与银行关联。",
252
- button: {
253
- apply: "申请"
254
255
  },
255
- table: {
256
- type: "类型",
257
- name: "名称",
258
- status: "状态",
259
- active: "活跃?",
260
- bank: "银行详情",
261
- pic: "负责人 (PIC)"
262
- },
263
- dialog: {
264
- view_title: " 查看结算账户",
265
- title: "申请结算账户",
256
+ payout_account: {
257
+ title: "结算账户",
258
+ description: "结算账户是用于接收付款或支出的账户,例如收入或退款,通常与银行关联。",
266
259
  button: {
267
- remove: "删除",
268
- submit: "提交"
260
+ apply: "申请"
269
261
  },
270
- fields: {
262
+ table: {
271
263
  type: "类型",
272
- for: "于",
273
- for_placeholder: "选择商户/餐厅",
274
264
  name: "名称",
275
- phone: "电话号码",
276
- email: "电子邮箱",
277
- bank: "银行",
278
- bank_type: "账户类型",
279
- bank_account: "账户号码",
280
- bank_holder: "持有人名称"
281
- },
282
- document: {
283
- ssm: "SSM营业证书(Form D)",
284
- bank: "银行对账单(含持有人姓名)",
285
- exterior: "营业户外照片"
265
+ status: "状态",
266
+ active: "活跃?",
267
+ bank: "银行详情",
268
+ pic: "负责人 (PIC)"
286
269
  },
287
- section: {
288
- account: "账户讯息",
289
- bank: "银行讯息",
290
- pic: "负责人讯息",
291
- document: "法律文件"
270
+ dialog: {
271
+ view_title: " 查看结算账户",
272
+ title: "申请结算账户",
273
+ button: {
274
+ remove: "删除",
275
+ submit: "提交"
276
+ },
277
+ fields: {
278
+ type: "类型",
279
+ for: "于",
280
+ for_placeholder: "选择商户/餐厅",
281
+ name: "名称",
282
+ phone: "电话号码",
283
+ email: "电子邮箱",
284
+ bank: "银行",
285
+ bank_type: "账户类型",
286
+ bank_account: "账户号码",
287
+ bank_holder: "持有人名称"
288
+ },
289
+ document: {
290
+ ssm: "SSM营业证书(Form D)",
291
+ bank: "银行对账单(含持有人姓名)",
292
+ exterior: "营业户外照片"
293
+ },
294
+ section: {
295
+ account: "账户讯息",
296
+ bank: "银行讯息",
297
+ pic: "负责人讯息",
298
+ document: "法律文件"
299
+ }
292
300
  }
293
301
  }
294
- }, ir = {
295
- components: Qn,
296
- routes: er,
297
- settlements: tr,
298
- transactions: nr,
299
- payout_account: rr
302
+ }, Xn = {
303
+ payment: Yn
300
304
  }, le = [
301
305
  {
302
306
  path: "/admin/restaurants",
@@ -305,7 +309,7 @@ const Jn = {
305
309
  sidebarDisplay: "Restaurants",
306
310
  section: "payment-gateway"
307
311
  },
308
- component: () => import("./Restaurant-DVfQgRDa.js")
312
+ component: () => import("./Restaurant-B00xtheA.js")
309
313
  },
310
314
  {
311
315
  path: "/admin/restaurants/:restaurantId",
@@ -314,7 +318,7 @@ const Jn = {
314
318
  meta: {
315
319
  parent: "mf-payment-admin.restaurant"
316
320
  },
317
- component: () => import("./RestaurantSetting-v4X04iUd.js")
321
+ component: () => import("./RestaurantSetting-C4Uswfiq.js")
318
322
  },
319
323
  {
320
324
  path: "/admin/payout-accounts",
@@ -323,7 +327,7 @@ const Jn = {
323
327
  sidebarDisplay: "Payout Accounts",
324
328
  section: "payment-gateway"
325
329
  },
326
- component: () => import("./PayoutAccount-D-UAfJmx.js")
330
+ component: () => import("./PayoutAccount-DsQCwRok.js")
327
331
  },
328
332
  {
329
333
  path: "/admin/payout-accounts/:accountId",
@@ -332,7 +336,7 @@ const Jn = {
332
336
  meta: {
333
337
  parent: "mf-payment-admin.payout-account"
334
338
  },
335
- component: () => import("./PayoutAccountSetting-P3EEdPd8.js")
339
+ component: () => import("./PayoutAccountSetting-DlTlipkR.js")
336
340
  },
337
341
  {
338
342
  path: "/admin/terminal/pos",
@@ -341,7 +345,7 @@ const Jn = {
341
345
  sidebarDisplay: "POS",
342
346
  section: "device"
343
347
  },
344
- component: () => import("./Terminal-uiqG_SS0.js"),
348
+ component: () => import("./Terminal-D4jCEaVn.js"),
345
349
  props: {
346
350
  type: "POS"
347
351
  }
@@ -353,7 +357,7 @@ const Jn = {
353
357
  sidebarDisplay: "Kiosks",
354
358
  section: "device"
355
359
  },
356
- component: () => import("./Terminal-uiqG_SS0.js"),
360
+ component: () => import("./Terminal-D4jCEaVn.js"),
357
361
  props: {
358
362
  type: "KIOSK"
359
363
  }
@@ -365,7 +369,7 @@ const Jn = {
365
369
  sidebarDisplay: "Terminals",
366
370
  section: "device"
367
371
  },
368
- component: () => import("./Terminal-uiqG_SS0.js"),
372
+ component: () => import("./Terminal-D4jCEaVn.js"),
369
373
  props: {
370
374
  type: "TERMINAL"
371
375
  }
@@ -377,7 +381,7 @@ const Jn = {
377
381
  meta: {
378
382
  parent: "mf-payment-admin.pos"
379
383
  },
380
- component: () => import("./TerminalSetting-BZ13kPwS.js")
384
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
381
385
  },
382
386
  {
383
387
  path: "/admin/terminal/kiosk/:terminalId",
@@ -386,7 +390,7 @@ const Jn = {
386
390
  meta: {
387
391
  parent: "mf-payment-admin.kiosk"
388
392
  },
389
- component: () => import("./TerminalSetting-BZ13kPwS.js")
393
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
390
394
  },
391
395
  {
392
396
  path: "/admin/terminal/terminal/:terminalId",
@@ -395,7 +399,7 @@ const Jn = {
395
399
  meta: {
396
400
  parent: "mf-payment-admin.terminal"
397
401
  },
398
- component: () => import("./TerminalSetting-BZ13kPwS.js")
402
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
399
403
  },
400
404
  {
401
405
  path: "/admin/transaction",
@@ -403,7 +407,7 @@ const Jn = {
403
407
  meta: {
404
408
  sidebarDisplay: "Transactions"
405
409
  },
406
- component: () => import("./Transaction-73ONBoa8.js")
410
+ component: () => import("./Transaction-B-gOcc81.js")
407
411
  },
408
412
  {
409
413
  path: "/admin/settlement",
@@ -411,7 +415,7 @@ const Jn = {
411
415
  meta: {
412
416
  sidebarDisplay: "Settlements"
413
417
  },
414
- component: () => import("./Settlement-B7E4lpuy.js")
418
+ component: () => import("./Settlement-CsuI5viX.js")
415
419
  },
416
420
  {
417
421
  path: "/admin/settlement/:settlementId",
@@ -420,9 +424,9 @@ const Jn = {
420
424
  meta: {
421
425
  parent: "mf-payment-admin.settlement"
422
426
  },
423
- component: () => import("./SettlementTransactions-XWF6lcgO.js")
427
+ component: () => import("./SettlementTransactions-CwFD7ZNW.js")
424
428
  }
425
- ], Ge = [
429
+ ], We = [
426
430
  {
427
431
  path: "",
428
432
  redirect: { name: "mf-payment-payout-account" }
@@ -430,46 +434,46 @@ const Jn = {
430
434
  {
431
435
  path: "/payout-account",
432
436
  name: "mf-payment-payout-account",
433
- component: () => import("./PayoutAccount-BuYnCwX0.js"),
437
+ component: () => import("./PayoutAccount-BsGYgYqK.js"),
434
438
  meta: {
435
- sidebarDisplay: "i18n:routes.payout_account"
439
+ sidebarDisplay: "i18n:payment.routes.payout_account"
436
440
  }
437
441
  },
438
442
  {
439
443
  path: "/transaction-old",
440
444
  name: "mf-payment-old-transaction",
441
- component: () => import("./TransactionOld-CImEq3E_.js"),
445
+ component: () => import("./TransactionOld-85ud0GVA.js"),
442
446
  meta: {
443
- sidebarDisplay: "i18n:routes.transaction"
447
+ sidebarDisplay: "i18n:payment.routes.transaction"
444
448
  }
445
449
  },
446
450
  {
447
451
  path: "/transaction",
448
452
  name: "mf-payment-transaction",
449
- component: () => import("./Transaction-Do-cIw77.js"),
453
+ component: () => import("./Transaction-K2CdzMSr.js"),
450
454
  meta: {
451
- sidebarDisplay: "i18n:routes.transaction-new",
455
+ sidebarDisplay: "i18n:payment.routes.transaction-new",
452
456
  sidebarNew: !0
453
457
  }
454
458
  },
455
459
  {
456
460
  path: "/settlement",
457
461
  name: "mf-payment-settlement",
458
- component: () => import("./Settlement-BvOHdyd-.js"),
462
+ component: () => import("./Settlement-FXQpkHg9.js"),
459
463
  meta: {
460
- sidebarDisplay: "i18n:routes.settlement"
464
+ sidebarDisplay: "i18n:payment.routes.settlement"
461
465
  }
462
466
  },
463
467
  {
464
468
  path: "/settlement/:settlementId",
465
469
  name: "mf-payment-settlement-transaction",
466
470
  props: !0,
467
- component: () => import("./SettlementTransactions-C_QiVAAT.js"),
471
+ component: () => import("./SettlementTransactions-CLIWl2ft.js"),
468
472
  meta: {
469
473
  parent: "mf-payment-settlement"
470
474
  }
471
475
  }
472
- ], sr = zn("mf-payment-iframe", () => {
476
+ ], Kn = zn("mf-payment-iframe", () => {
473
477
  const n = {
474
478
  isIframe: !1
475
479
  }, e = Lt(() => n);
@@ -481,7 +485,7 @@ const Jn = {
481
485
  init: t
482
486
  };
483
487
  });
484
- var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_3Wdq4skJt1Lz4mAMRO6ILXSn25T53Q0hwCx1", 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: "716", 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: "20250413.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.8/x64", JOURNAL_STREAM: "8:6677", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", 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: "14572125345", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "33a793f5b423d5b3dfa9f7739d97fec26b79bc2c", 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-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzExNjRkNGItNGRjZS00N2QyLWJmZDctOGYyY2EwZmY1MmI5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg5IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YzExNjRkNGItNGRjZS00N2QyLWJmZDctOGYyY2EwZmY1MmI5OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDg5IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiODM2Y2Y5ZTEtN2U1Ny00YjFiLTk5NTItZmYxNDdhYmUyY2Y1Iiwic2lkIjoiN2U4MDU2OGYtMWM3OS00NjY3LWEwOWItN2JhNTY5OGY4ZmM2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIzM2E3OTNmNWI0MjNkNWIzZGZhOWY3NzM5ZDk3ZmVjMjZiNzliYzJjXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0NTcyMTI1MzQ1XCIsXCJydW5fbnVtYmVyXCI6XCI0NlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIzM2E3OTNmNWI0MjNkNWIzZGZhOWY3NzM5ZDk3ZmVjMjZiNzliYzJjXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjMzYTc5M2Y1YjQyM2Q1YjNkZmE5Zjc3MzlkOTdmZWMyNmI3OWJjMmNcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJjMTE2NGQ0Yi00ZGNlLTQ3ZDItYmZkNy04ZjJjYTBmZjUyYjkuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUyMzE2NjgsImV4cCI6MTc0NTI1NDQ2OH0.s042rzazeKEXVm_zx7ReAj5i0dUUe9gwG5YGh1Dno6Tlld6rvJYzOTIb5LdtWjYi7mv_A0w_h_vycenmYuRH3eTsbum0A8f8SEa10pplzXCWf0a6j0e-jszIc7I0S1kDlSvVPi7znwJXWzisj7EutEOa3GUSjjOYVI7wG-E3MGo4Fc0FQlmYNITNS6M6e-ZwNX0ZdJDPxJ-2CxV87ZrRVcJI9lchJ_D2lAg4Iy3sRVMC9leROx2_uf0jEzCAh2WmPfQx7L5hVmNdwiaJSmR122Lafpvc9ki2EWvuTxhGQB5cuq5dCshYHcJSkTlafa-O8w8cJFWlsyohYIAI1sxq1A", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745232316491-0.20803941376293666:/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--1745232316335-0.03144825957162234:/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--1745232316179-0.5506960002161332:/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_725a7975-b288-4bf3-8e77-fec5079832fd", INVOCATION_ID: "f27154bc3604409aa7950f50452f6915", 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: "46", 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 245", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.9", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "33a793f5b423d5b3dfa9f7739d97fec26b79bc2c", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", 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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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/c1164d4b-4dce-47d2-bfd7-8f2ca0ff52b9/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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", 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_a6a7fc93-c432-41b6-b4ed-4fa621521e8c", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
488
+ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_c973fbb5-9efa-4701-8074-877d6bdd4da0", 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_c973fbb5-9efa-4701-8074-877d6bdd4da0", 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_88tmJayB5QoJDYUgIgEgkKipvopE501u8JDh", 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: "712", 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: "20250413.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.8/x64", JOURNAL_STREAM: "8:6237", 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: "14592216561", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "da24656807b4a2d40b3ce3e6b96c5b4a475d18e2", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6N2MxZTdjM2UtNDljMy00NTQyLWFkOTUtN2E3ZDMwOGNkNWNkOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkzIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46N2MxZTdjM2UtNDljMy00NTQyLWFkOTUtN2E3ZDMwOGNkNWNkOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkzIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiZjUzZTE4ODMtYjIxMy00ZDExLWFlM2UtZTU2MTNmZDlhM2Q2Iiwic2lkIjoiODc3YzY5YmQtODY0My00NzMxLWI2NDEtNjYxNzM4MTM4MzA4IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcImRhMjQ2NTY4MDdiNGEyZDQwYjNjZTNlNmI5NmM1YjRhNDc1ZDE4ZTJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ1OTIyMTY1NjFcIixcInJ1bl9udW1iZXJcIjpcIjE3MVwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCJkYTI0NjU2ODA3YjRhMmQ0MGIzY2UzZTZiOTZjNWI0YTQ3NWQxOGUyXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCJkYTI0NjU2ODA3YjRhMmQ0MGIzY2UzZTZiOTZjNWI0YTQ3NWQxOGUyXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiI3YzFlN2MzZS00OWMzLTQ1NDItYWQ5NS03YTdkMzA4Y2Q1Y2QuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUzMTU5NTYsImV4cCI6MTc0NTMzODc1Nn0.c2VyyuRyQ_nXfUbG1Juxf3R5vOhsL29ny2cbVuvXa4T-pM4pzcjZwsuC6TlOv8pSeOINqD_D7oN4DeO6HQVduitdmoetJ4zV0vgBB8AtEtcKVeB4Kdelf20Boz_m8ipTlvJGdGqY9nOMLas57XMXGUr-E9PV1xk9PQtJg6fTANItPjE05UZmJ5siM2p0sjn-Ls3Y3hWoGnYouiqzKQnquS166-bFmQDpnFlSbVPPO5R2N9EGJKMhyYEdlgb-4tGkWfKmlOQoAz1QrkFHx9ZrbohsYIHUDGOeGYJqdOtfmERdXnaQlpA3xeuAkGM9IAD1i_GYTGpSwoKq5XErxLTyPQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745316604677-0.09703701861615843:/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--1745316604519-0.15573614102252975:/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--1745316604356-0.35573808359025305:/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_4180df9e-f4de-4f97-959e-cfa12c9b86a0", INVOCATION_ID: "7de208106c1d4506a9239868749a586f", 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: "171", 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 145", 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.10-beta.1", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:dev"],"original":["deploy:dev"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_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: "da24656807b4a2d40b3ce3e6b96c5b4a475d18e2", 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_c973fbb5-9efa-4701-8074-877d6bdd4da0", 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/7c1e7c3e-49c3-4542-ad95-7a7d308cd5cd/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_c973fbb5-9efa-4701-8074-877d6bdd4da0", 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_c973fbb5-9efa-4701-8074-877d6bdd4da0", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", 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" };
485
489
  /**
486
490
  * @license
487
491
  * Copyright 2017 Google LLC
@@ -498,7 +502,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
498
502
  * See the License for the specific language governing permissions and
499
503
  * limitations under the License.
500
504
  */
501
- const Wt = function(n) {
505
+ const Gt = function(n) {
502
506
  const e = [];
503
507
  let t = 0;
504
508
  for (let r = 0; r < n.length; r++) {
@@ -506,7 +510,7 @@ const Wt = function(n) {
506
510
  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);
507
511
  }
508
512
  return e;
509
- }, ar = function(n) {
513
+ }, qn = function(n) {
510
514
  const e = [];
511
515
  let t = 0, r = 0;
512
516
  for (; t < n.length; ) {
@@ -525,7 +529,7 @@ const Wt = function(n) {
525
529
  }
526
530
  }
527
531
  return e.join("");
528
- }, jt = {
532
+ }, Ht = {
529
533
  /**
530
534
  * Maps bytes to characters.
531
535
  */
@@ -599,7 +603,7 @@ const Wt = function(n) {
599
603
  * @return The base64 encoded string.
600
604
  */
601
605
  encodeString(n, e) {
602
- return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Wt(n), e);
606
+ return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Gt(n), e);
603
607
  },
604
608
  /**
605
609
  * Base64-decode a string.
@@ -610,7 +614,7 @@ const Wt = function(n) {
610
614
  * @return string representing the decoded value.
611
615
  */
612
616
  decodeString(n, e) {
613
- return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : ar(this.decodeStringToByteArray(n, e));
617
+ return this.HAS_NATIVE_SUPPORT && !e ? atob(n) : qn(this.decodeStringToByteArray(n, e));
614
618
  },
615
619
  /**
616
620
  * Base64-decode a string.
@@ -637,13 +641,13 @@ const Wt = function(n) {
637
641
  ++i;
638
642
  const h = i < n.length ? t[n.charAt(i)] : 64;
639
643
  if (++i, s == null || c == null || l == null || h == null)
640
- throw new or();
644
+ throw new Qn();
641
645
  const m = s << 2 | c >> 4;
642
646
  if (r.push(m), l !== 64) {
643
647
  const v = c << 4 & 240 | l >> 2;
644
648
  if (r.push(v), h !== 64) {
645
- const x = l << 6 & 192 | h;
646
- r.push(x);
649
+ const F = l << 6 & 192 | h;
650
+ r.push(F);
647
651
  }
648
652
  }
649
653
  }
@@ -662,19 +666,19 @@ const Wt = function(n) {
662
666
  }
663
667
  }
664
668
  };
665
- class or extends Error {
669
+ class Qn extends Error {
666
670
  constructor() {
667
671
  super(...arguments), this.name = "DecodeBase64StringError";
668
672
  }
669
673
  }
670
- const cr = function(n) {
671
- const e = Wt(n);
672
- return jt.encodeByteArray(e, !0);
674
+ const er = function(n) {
675
+ const e = Gt(n);
676
+ return Ht.encodeByteArray(e, !0);
673
677
  }, de = function(n) {
674
- return cr(n).replace(/\./g, "");
675
- }, Ht = function(n) {
678
+ return er(n).replace(/\./g, "");
679
+ }, Vt = function(n) {
676
680
  try {
677
- return jt.decodeString(n, !0);
681
+ return Ht.decodeString(n, !0);
678
682
  } catch (e) {
679
683
  console.error("base64Decode failed: ", e);
680
684
  }
@@ -696,7 +700,7 @@ const cr = function(n) {
696
700
  * See the License for the specific language governing permissions and
697
701
  * limitations under the License.
698
702
  */
699
- function lr() {
703
+ function tr() {
700
704
  if (typeof self < "u")
701
705
  return self;
702
706
  if (typeof window < "u")
@@ -721,13 +725,13 @@ function lr() {
721
725
  * See the License for the specific language governing permissions and
722
726
  * limitations under the License.
723
727
  */
724
- const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
728
+ const nr = () => tr().__FIREBASE_DEFAULTS__, rr = () => {
725
729
  if (typeof process > "u" || typeof ot > "u")
726
730
  return;
727
731
  const n = ot.__FIREBASE_DEFAULTS__;
728
732
  if (n)
729
733
  return JSON.parse(n);
730
- }, hr = () => {
734
+ }, ir = () => {
731
735
  if (typeof document > "u")
732
736
  return;
733
737
  let n;
@@ -736,20 +740,20 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
736
740
  } catch {
737
741
  return;
738
742
  }
739
- const e = n && Ht(n[1]);
743
+ const e = n && Vt(n[1]);
740
744
  return e && JSON.parse(e);
741
745
  }, ze = () => {
742
746
  try {
743
- return dr() || ur() || hr();
747
+ return nr() || rr() || ir();
744
748
  } catch (n) {
745
749
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
746
750
  return;
747
751
  }
748
- }, Vt = (n) => {
752
+ }, jt = (n) => {
749
753
  var e, t;
750
754
  return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
751
- }, Ga = (n) => {
752
- const e = Vt(n);
755
+ }, Ua = (n) => {
756
+ const e = jt(n);
753
757
  if (!e)
754
758
  return;
755
759
  const t = e.lastIndexOf(":");
@@ -757,7 +761,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
757
761
  throw new Error(`Invalid host ${e} with no separate hostname and port!`);
758
762
  const r = parseInt(e.substring(t + 1), 10);
759
763
  return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
760
- }, Gt = () => {
764
+ }, Wt = () => {
761
765
  var n;
762
766
  return (n = ze()) === null || n === void 0 ? void 0 : n.config;
763
767
  }, zt = (n) => {
@@ -780,7 +784,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
780
784
  * See the License for the specific language governing permissions and
781
785
  * limitations under the License.
782
786
  */
783
- class pr {
787
+ class sr {
784
788
  constructor() {
785
789
  this.reject = () => {
786
790
  }, this.resolve = () => {
@@ -816,7 +820,7 @@ class pr {
816
820
  * See the License for the specific language governing permissions and
817
821
  * limitations under the License.
818
822
  */
819
- function za(n, e) {
823
+ function Ba(n, e) {
820
824
  if (n.uid)
821
825
  throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');
822
826
  const t = {
@@ -864,33 +868,33 @@ function za(n, e) {
864
868
  function f() {
865
869
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
866
870
  }
867
- function mr() {
871
+ function ar() {
868
872
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
869
873
  // just to deal with this case would probably be a bad idea.
870
874
  !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
871
875
  }
872
- function fr() {
876
+ function or() {
873
877
  return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
874
878
  }
875
- function _r() {
879
+ function cr() {
876
880
  const n = typeof chrome == "object" ? chrome.runtime : typeof browser == "object" ? browser.runtime : void 0;
877
881
  return typeof n == "object" && n.id !== void 0;
878
882
  }
879
- function gr() {
883
+ function lr() {
880
884
  return typeof navigator == "object" && navigator.product === "ReactNative";
881
885
  }
882
- function vr() {
886
+ function dr() {
883
887
  const n = f();
884
888
  return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
885
889
  }
886
- function Ir() {
890
+ function ur() {
887
891
  try {
888
892
  return typeof indexedDB == "object";
889
893
  } catch {
890
894
  return !1;
891
895
  }
892
896
  }
893
- function br() {
897
+ function hr() {
894
898
  return new Promise((n, e) => {
895
899
  try {
896
900
  let t = !0;
@@ -924,10 +928,10 @@ function br() {
924
928
  * See the License for the specific language governing permissions and
925
929
  * limitations under the License.
926
930
  */
927
- const yr = "FirebaseError";
931
+ const pr = "FirebaseError";
928
932
  class M extends Error {
929
933
  constructor(e, t, r) {
930
- super(t), this.code = e, this.customData = r, this.name = yr, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
934
+ super(t), this.code = e, this.customData = r, this.name = pr, Object.setPrototypeOf(this, M.prototype), Error.captureStackTrace && Error.captureStackTrace(this, q.prototype.create);
931
935
  }
932
936
  }
933
937
  class q {
@@ -935,18 +939,18 @@ class q {
935
939
  this.service = e, this.serviceName = t, this.errors = r;
936
940
  }
937
941
  create(e, ...t) {
938
- const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? Er(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
942
+ const r = t[0] || {}, i = `${this.service}/${e}`, s = this.errors[e], a = s ? mr(s, r) : "Error", c = `${this.serviceName}: ${a} (${i}).`;
939
943
  return new M(i, c, r);
940
944
  }
941
945
  }
942
- function Er(n, e) {
943
- return n.replace(Tr, (t, r) => {
946
+ function mr(n, e) {
947
+ return n.replace(fr, (t, r) => {
944
948
  const i = e[r];
945
949
  return i != null ? String(i) : `<${r}?>`;
946
950
  });
947
951
  }
948
- const Tr = /\{\$([^}]+)}/g;
949
- function wr(n) {
952
+ const fr = /\{\$([^}]+)}/g;
953
+ function _r(n) {
950
954
  for (const e in n)
951
955
  if (Object.prototype.hasOwnProperty.call(n, e))
952
956
  return !1;
@@ -998,11 +1002,11 @@ function Q(n) {
998
1002
  }) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
999
1003
  return e.length ? "&" + e.join("&") : "";
1000
1004
  }
1001
- function Rr(n, e) {
1002
- const t = new kr(n, e);
1005
+ function gr(n, e) {
1006
+ const t = new vr(n, e);
1003
1007
  return t.subscribe.bind(t);
1004
1008
  }
1005
- class kr {
1009
+ class vr {
1006
1010
  /**
1007
1011
  * @param executor Function which can make calls to a single Observer
1008
1012
  * as a proxy.
@@ -1040,7 +1044,7 @@ class kr {
1040
1044
  let i;
1041
1045
  if (e === void 0 && t === void 0 && r === void 0)
1042
1046
  throw new Error("Missing Observer.");
1043
- Sr(e, [
1047
+ Ir(e, [
1044
1048
  "next",
1045
1049
  "error",
1046
1050
  "complete"
@@ -1048,7 +1052,7 @@ class kr {
1048
1052
  next: e,
1049
1053
  error: t,
1050
1054
  complete: r
1051
- }, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
1055
+ }, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
1052
1056
  const s = this.unsubscribeOne.bind(this, this.observers.length);
1053
1057
  return this.finalized && this.task.then(() => {
1054
1058
  try {
@@ -1086,7 +1090,7 @@ class kr {
1086
1090
  }));
1087
1091
  }
1088
1092
  }
1089
- function Sr(n, e) {
1093
+ function Ir(n, e) {
1090
1094
  if (typeof n != "object" || n === null)
1091
1095
  return !1;
1092
1096
  for (const t of e)
@@ -1094,7 +1098,7 @@ function Sr(n, e) {
1094
1098
  return !0;
1095
1099
  return !1;
1096
1100
  }
1097
- function ke() {
1101
+ function Re() {
1098
1102
  }
1099
1103
  /**
1100
1104
  * @license
@@ -1115,7 +1119,7 @@ function ke() {
1115
1119
  function z(n) {
1116
1120
  return n && n._delegate ? n._delegate : n;
1117
1121
  }
1118
- class G {
1122
+ class W {
1119
1123
  /**
1120
1124
  *
1121
1125
  * @param name The public service name, e.g. app, auth, firestore, database
@@ -1171,7 +1175,7 @@ const L = "[DEFAULT]";
1171
1175
  * See the License for the specific language governing permissions and
1172
1176
  * limitations under the License.
1173
1177
  */
1174
- class Ar {
1178
+ class br {
1175
1179
  constructor(e, t) {
1176
1180
  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();
1177
1181
  }
@@ -1182,7 +1186,7 @@ class Ar {
1182
1186
  get(e) {
1183
1187
  const t = this.normalizeInstanceIdentifier(e);
1184
1188
  if (!this.instancesDeferred.has(t)) {
1185
- const r = new pr();
1189
+ const r = new sr();
1186
1190
  if (this.instancesDeferred.set(t, r), this.isInitialized(t) || this.shouldAutoInitialize())
1187
1191
  try {
1188
1192
  const i = this.getOrInitializeService({
@@ -1222,7 +1226,7 @@ class Ar {
1222
1226
  if (this.component)
1223
1227
  throw Error(`Component for ${this.name} has already been provided`);
1224
1228
  if (this.component = e, !!this.shouldAutoInitialize()) {
1225
- if (Nr(e))
1229
+ if (Er(e))
1226
1230
  try {
1227
1231
  this.getOrInitializeService({ instanceIdentifier: L });
1228
1232
  } catch {
@@ -1309,7 +1313,7 @@ class Ar {
1309
1313
  getOrInitializeService({ instanceIdentifier: e, options: t = {} }) {
1310
1314
  let r = this.instances.get(e);
1311
1315
  if (!r && this.component && (r = this.component.instanceFactory(this.container, {
1312
- instanceIdentifier: Or(e),
1316
+ instanceIdentifier: yr(e),
1313
1317
  options: t
1314
1318
  }), this.instances.set(e, r), this.instancesOptions.set(e, t), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
1315
1319
  try {
@@ -1325,10 +1329,10 @@ class Ar {
1325
1329
  return !!this.component && this.component.instantiationMode !== "EXPLICIT";
1326
1330
  }
1327
1331
  }
1328
- function Or(n) {
1332
+ function yr(n) {
1329
1333
  return n === L ? void 0 : n;
1330
1334
  }
1331
- function Nr(n) {
1335
+ function Er(n) {
1332
1336
  return n.instantiationMode === "EAGER";
1333
1337
  }
1334
1338
  /**
@@ -1347,7 +1351,7 @@ function Nr(n) {
1347
1351
  * See the License for the specific language governing permissions and
1348
1352
  * limitations under the License.
1349
1353
  */
1350
- class Cr {
1354
+ class Tr {
1351
1355
  constructor(e) {
1352
1356
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1353
1357
  }
@@ -1379,7 +1383,7 @@ class Cr {
1379
1383
  getProvider(e) {
1380
1384
  if (this.providers.has(e))
1381
1385
  return this.providers.get(e);
1382
- const t = new Ar(e, this);
1386
+ const t = new br(e, this);
1383
1387
  return this.providers.set(e, t), t;
1384
1388
  }
1385
1389
  getProviders() {
@@ -1406,29 +1410,29 @@ var p;
1406
1410
  (function(n) {
1407
1411
  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";
1408
1412
  })(p || (p = {}));
1409
- const Dr = {
1413
+ const wr = {
1410
1414
  debug: p.DEBUG,
1411
1415
  verbose: p.VERBOSE,
1412
1416
  info: p.INFO,
1413
1417
  warn: p.WARN,
1414
1418
  error: p.ERROR,
1415
1419
  silent: p.SILENT
1416
- }, Pr = p.INFO, Mr = {
1420
+ }, kr = p.INFO, Rr = {
1417
1421
  [p.DEBUG]: "log",
1418
1422
  [p.VERBOSE]: "log",
1419
1423
  [p.INFO]: "info",
1420
1424
  [p.WARN]: "warn",
1421
1425
  [p.ERROR]: "error"
1422
- }, Lr = (n, e, ...t) => {
1426
+ }, Sr = (n, e, ...t) => {
1423
1427
  if (e < n.logLevel)
1424
1428
  return;
1425
- const r = (/* @__PURE__ */ new Date()).toISOString(), i = Mr[e];
1429
+ const r = (/* @__PURE__ */ new Date()).toISOString(), i = Rr[e];
1426
1430
  if (i)
1427
1431
  console[i](`[${r}] ${n.name}:`, ...t);
1428
1432
  else
1429
1433
  throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
1430
1434
  };
1431
- class $t {
1435
+ class Zt {
1432
1436
  /**
1433
1437
  * Gives you an instance of a Logger to capture messages according to
1434
1438
  * Firebase's logging scheme.
@@ -1436,7 +1440,7 @@ class $t {
1436
1440
  * @param name The name that the logs will be associated with
1437
1441
  */
1438
1442
  constructor(e) {
1439
- this.name = e, this._logLevel = Pr, this._logHandler = Lr, this._userLogHandler = null;
1443
+ this.name = e, this._logLevel = kr, this._logHandler = Sr, this._userLogHandler = null;
1440
1444
  }
1441
1445
  get logLevel() {
1442
1446
  return this._logLevel;
@@ -1448,7 +1452,7 @@ class $t {
1448
1452
  }
1449
1453
  // Workaround for setter/getter having to be the same type.
1450
1454
  setLogLevel(e) {
1451
- this._logLevel = typeof e == "string" ? Dr[e] : e;
1455
+ this._logLevel = typeof e == "string" ? wr[e] : e;
1452
1456
  }
1453
1457
  get logHandler() {
1454
1458
  return this._logHandler;
@@ -1483,9 +1487,9 @@ class $t {
1483
1487
  this._userLogHandler && this._userLogHandler(this, p.ERROR, ...e), this._logHandler(this, p.ERROR, ...e);
1484
1488
  }
1485
1489
  }
1486
- const Ur = (n, e) => e.some((t) => n instanceof t);
1490
+ const Ar = (n, e) => e.some((t) => n instanceof t);
1487
1491
  let lt, dt;
1488
- function Br() {
1492
+ function Or() {
1489
1493
  return lt || (lt = [
1490
1494
  IDBDatabase,
1491
1495
  IDBObjectStore,
@@ -1494,31 +1498,31 @@ function Br() {
1494
1498
  IDBTransaction
1495
1499
  ]);
1496
1500
  }
1497
- function xr() {
1501
+ function Nr() {
1498
1502
  return dt || (dt = [
1499
1503
  IDBCursor.prototype.advance,
1500
1504
  IDBCursor.prototype.continue,
1501
1505
  IDBCursor.prototype.continuePrimaryKey
1502
1506
  ]);
1503
1507
  }
1504
- const Jt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Zt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
1505
- function Fr(n) {
1508
+ const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
1509
+ function Dr(n) {
1506
1510
  const e = new Promise((t, r) => {
1507
1511
  const i = () => {
1508
1512
  n.removeEventListener("success", s), n.removeEventListener("error", a);
1509
1513
  }, s = () => {
1510
- t(C(n.result)), i();
1514
+ t(D(n.result)), i();
1511
1515
  }, a = () => {
1512
1516
  r(n.error), i();
1513
1517
  };
1514
1518
  n.addEventListener("success", s), n.addEventListener("error", a);
1515
1519
  });
1516
1520
  return e.then((t) => {
1517
- t instanceof IDBCursor && Jt.set(t, n);
1521
+ t instanceof IDBCursor && $t.set(t, n);
1518
1522
  }).catch(() => {
1519
- }), $e.set(e, n), e;
1523
+ }), Ze.set(e, n), e;
1520
1524
  }
1521
- function Wr(n) {
1525
+ function Cr(n) {
1522
1526
  if (Le.has(n))
1523
1527
  return;
1524
1528
  const e = new Promise((t, r) => {
@@ -1539,11 +1543,11 @@ let Ue = {
1539
1543
  if (e === "done")
1540
1544
  return Le.get(n);
1541
1545
  if (e === "objectStoreNames")
1542
- return n.objectStoreNames || Zt.get(n);
1546
+ return n.objectStoreNames || Jt.get(n);
1543
1547
  if (e === "store")
1544
1548
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1545
1549
  }
1546
- return C(n[e]);
1550
+ return D(n[e]);
1547
1551
  },
1548
1552
  set(n, e, t) {
1549
1553
  return n[e] = t, !0;
@@ -1552,35 +1556,35 @@ let Ue = {
1552
1556
  return n instanceof IDBTransaction && (e === "done" || e === "store") ? !0 : e in n;
1553
1557
  }
1554
1558
  };
1555
- function jr(n) {
1559
+ function Pr(n) {
1556
1560
  Ue = n(Ue);
1557
1561
  }
1558
- function Hr(n) {
1562
+ function Mr(n) {
1559
1563
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1560
1564
  const r = n.call(Ae(this), e, ...t);
1561
- return Zt.set(r, e.sort ? e.sort() : [e]), C(r);
1562
- } : xr().includes(n) ? function(...e) {
1563
- return n.apply(Ae(this), e), C(Jt.get(this));
1565
+ return Jt.set(r, e.sort ? e.sort() : [e]), D(r);
1566
+ } : Nr().includes(n) ? function(...e) {
1567
+ return n.apply(Ae(this), e), D($t.get(this));
1564
1568
  } : function(...e) {
1565
- return C(n.apply(Ae(this), e));
1569
+ return D(n.apply(Ae(this), e));
1566
1570
  };
1567
1571
  }
1568
- function Vr(n) {
1569
- return typeof n == "function" ? Hr(n) : (n instanceof IDBTransaction && Wr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
1572
+ function Lr(n) {
1573
+ return typeof n == "function" ? Mr(n) : (n instanceof IDBTransaction && Cr(n), Ar(n, Or()) ? new Proxy(n, Ue) : n);
1570
1574
  }
1571
- function C(n) {
1575
+ function D(n) {
1572
1576
  if (n instanceof IDBRequest)
1573
- return Fr(n);
1577
+ return Dr(n);
1574
1578
  if (Se.has(n))
1575
1579
  return Se.get(n);
1576
- const e = Vr(n);
1577
- return e !== n && (Se.set(n, e), $e.set(e, n)), e;
1580
+ const e = Lr(n);
1581
+ return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
1578
1582
  }
1579
- const Ae = (n) => $e.get(n);
1580
- function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1581
- const a = indexedDB.open(n, e), c = C(a);
1583
+ const Ae = (n) => Ze.get(n);
1584
+ function Ur(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1585
+ const a = indexedDB.open(n, e), c = D(a);
1582
1586
  return r && a.addEventListener("upgradeneeded", (o) => {
1583
- r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
1587
+ r(D(a.result), o.oldVersion, o.newVersion, D(a.transaction), o);
1584
1588
  }), t && a.addEventListener("blocked", (o) => t(
1585
1589
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
1586
1590
  o.oldVersion,
@@ -1591,16 +1595,16 @@ function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1591
1595
  }).catch(() => {
1592
1596
  }), c;
1593
1597
  }
1594
- const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1598
+ const Br = ["get", "getKey", "getAll", "getAllKeys", "count"], Fr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1595
1599
  function ut(n, e) {
1596
1600
  if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
1597
1601
  return;
1598
1602
  if (Oe.get(e))
1599
1603
  return Oe.get(e);
1600
- const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
1604
+ const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Fr.includes(t);
1601
1605
  if (
1602
1606
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
1603
- !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
1607
+ !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || Br.includes(t))
1604
1608
  )
1605
1609
  return;
1606
1610
  const s = async function(a, ...c) {
@@ -1613,7 +1617,7 @@ function ut(n, e) {
1613
1617
  };
1614
1618
  return Oe.set(e, s), s;
1615
1619
  }
1616
- jr((n) => ({
1620
+ Pr((n) => ({
1617
1621
  ...n,
1618
1622
  get: (e, t, r) => ut(e, t) || n.get(e, t, r),
1619
1623
  has: (e, t) => !!ut(e, t) || n.has(e, t)
@@ -1634,7 +1638,7 @@ jr((n) => ({
1634
1638
  * See the License for the specific language governing permissions and
1635
1639
  * limitations under the License.
1636
1640
  */
1637
- class Jr {
1641
+ class xr {
1638
1642
  constructor(e) {
1639
1643
  this.container = e;
1640
1644
  }
@@ -1642,7 +1646,7 @@ class Jr {
1642
1646
  // auth token refresh, and installations will send this string.
1643
1647
  getPlatformInfoString() {
1644
1648
  return this.container.getProviders().map((t) => {
1645
- if (Zr(t)) {
1649
+ if (Gr(t)) {
1646
1650
  const r = t.getImmediate();
1647
1651
  return `${r.library}/${r.version}`;
1648
1652
  } else
@@ -1650,7 +1654,7 @@ class Jr {
1650
1654
  }).filter((t) => t).join(" ");
1651
1655
  }
1652
1656
  }
1653
- function Zr(n) {
1657
+ function Gr(n) {
1654
1658
  const e = n.getComponent();
1655
1659
  return (e == null ? void 0 : e.type) === "VERSION";
1656
1660
  }
@@ -1671,7 +1675,7 @@ const Be = "@firebase/app", ht = "0.10.13";
1671
1675
  * See the License for the specific language governing permissions and
1672
1676
  * limitations under the License.
1673
1677
  */
1674
- const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", vi = "@firebase/vertexai-preview", Ii = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
1678
+ const T = new Zt("@firebase/app"), Hr = "@firebase/app-compat", Vr = "@firebase/analytics-compat", jr = "@firebase/analytics", Wr = "@firebase/app-check-compat", zr = "@firebase/app-check", Zr = "@firebase/auth", $r = "@firebase/auth-compat", Jr = "@firebase/database", Yr = "@firebase/data-connect", Xr = "@firebase/database-compat", Kr = "@firebase/functions", qr = "@firebase/functions-compat", Qr = "@firebase/installations", ei = "@firebase/installations-compat", ti = "@firebase/messaging", ni = "@firebase/messaging-compat", ri = "@firebase/performance", ii = "@firebase/performance-compat", si = "@firebase/remote-config", ai = "@firebase/remote-config-compat", oi = "@firebase/storage", ci = "@firebase/storage-compat", li = "@firebase/firestore", di = "@firebase/vertexai-preview", ui = "@firebase/firestore-compat", hi = "firebase", pi = "10.14.1";
1675
1679
  /**
1676
1680
  * @license
1677
1681
  * Copyright 2019 Google LLC
@@ -1688,35 +1692,35 @@ const T = new $t("@firebase/app"), Yr = "@firebase/app-compat", Xr = "@firebase/
1688
1692
  * See the License for the specific language governing permissions and
1689
1693
  * limitations under the License.
1690
1694
  */
1691
- const xe = "[DEFAULT]", Ei = {
1695
+ const Fe = "[DEFAULT]", mi = {
1692
1696
  [Be]: "fire-core",
1693
- [Yr]: "fire-core-compat",
1694
- [Kr]: "fire-analytics",
1695
- [Xr]: "fire-analytics-compat",
1696
- [Qr]: "fire-app-check",
1697
- [qr]: "fire-app-check-compat",
1698
- [ei]: "fire-auth",
1699
- [ti]: "fire-auth-compat",
1700
- [ni]: "fire-rtdb",
1701
- [ri]: "fire-data-connect",
1702
- [ii]: "fire-rtdb-compat",
1703
- [si]: "fire-fn",
1704
- [ai]: "fire-fn-compat",
1705
- [oi]: "fire-iid",
1706
- [ci]: "fire-iid-compat",
1707
- [li]: "fire-fcm",
1708
- [di]: "fire-fcm-compat",
1709
- [ui]: "fire-perf",
1710
- [hi]: "fire-perf-compat",
1711
- [pi]: "fire-rc",
1712
- [mi]: "fire-rc-compat",
1713
- [fi]: "fire-gcs",
1714
- [_i]: "fire-gcs-compat",
1715
- [gi]: "fire-fst",
1716
- [Ii]: "fire-fst-compat",
1717
- [vi]: "fire-vertex",
1697
+ [Hr]: "fire-core-compat",
1698
+ [jr]: "fire-analytics",
1699
+ [Vr]: "fire-analytics-compat",
1700
+ [zr]: "fire-app-check",
1701
+ [Wr]: "fire-app-check-compat",
1702
+ [Zr]: "fire-auth",
1703
+ [$r]: "fire-auth-compat",
1704
+ [Jr]: "fire-rtdb",
1705
+ [Yr]: "fire-data-connect",
1706
+ [Xr]: "fire-rtdb-compat",
1707
+ [Kr]: "fire-fn",
1708
+ [qr]: "fire-fn-compat",
1709
+ [Qr]: "fire-iid",
1710
+ [ei]: "fire-iid-compat",
1711
+ [ti]: "fire-fcm",
1712
+ [ni]: "fire-fcm-compat",
1713
+ [ri]: "fire-perf",
1714
+ [ii]: "fire-perf-compat",
1715
+ [si]: "fire-rc",
1716
+ [ai]: "fire-rc-compat",
1717
+ [oi]: "fire-gcs",
1718
+ [ci]: "fire-gcs-compat",
1719
+ [li]: "fire-fst",
1720
+ [ui]: "fire-fst-compat",
1721
+ [di]: "fire-vertex",
1718
1722
  "fire-js": "fire-js",
1719
- [bi]: "fire-js-all"
1723
+ [hi]: "fire-js-all"
1720
1724
  };
1721
1725
  /**
1722
1726
  * @license
@@ -1734,7 +1738,7 @@ const xe = "[DEFAULT]", Ei = {
1734
1738
  * See the License for the specific language governing permissions and
1735
1739
  * limitations under the License.
1736
1740
  */
1737
- const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
1741
+ const he = /* @__PURE__ */ new Map(), fi = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
1738
1742
  function pt(n, e) {
1739
1743
  try {
1740
1744
  n.container.addComponent(e);
@@ -1744,12 +1748,12 @@ function pt(n, e) {
1744
1748
  }
1745
1749
  function Y(n) {
1746
1750
  const e = n.name;
1747
- if (Fe.has(e))
1751
+ if (xe.has(e))
1748
1752
  return T.debug(`There were multiple attempts to register component ${e}.`), !1;
1749
- Fe.set(e, n);
1753
+ xe.set(e, n);
1750
1754
  for (const t of he.values())
1751
1755
  pt(t, n);
1752
- for (const t of Ti.values())
1756
+ for (const t of fi.values())
1753
1757
  pt(t, n);
1754
1758
  return !0;
1755
1759
  }
@@ -1776,7 +1780,7 @@ function I(n) {
1776
1780
  * See the License for the specific language governing permissions and
1777
1781
  * limitations under the License.
1778
1782
  */
1779
- const wi = {
1783
+ const _i = {
1780
1784
  "no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
1781
1785
  "bad-app-name": "Illegal App name: '{$appName}'",
1782
1786
  "duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
@@ -1791,7 +1795,7 @@ const wi = {
1791
1795
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
1792
1796
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
1793
1797
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
1794
- }, D = new q("app", "Firebase", wi);
1798
+ }, C = new q("app", "Firebase", _i);
1795
1799
  /**
1796
1800
  * @license
1797
1801
  * Copyright 2019 Google LLC
@@ -1808,9 +1812,9 @@ const wi = {
1808
1812
  * See the License for the specific language governing permissions and
1809
1813
  * limitations under the License.
1810
1814
  */
1811
- class Ri {
1815
+ class gi {
1812
1816
  constructor(e, t, r) {
1813
- this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
1817
+ 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(
1814
1818
  "app",
1815
1819
  () => this,
1816
1820
  "PUBLIC"
@@ -1847,7 +1851,7 @@ class Ri {
1847
1851
  */
1848
1852
  checkDestroyed() {
1849
1853
  if (this.isDeleted)
1850
- throw D.create("app-deleted", { appName: this._name });
1854
+ throw C.create("app-deleted", { appName: this._name });
1851
1855
  }
1852
1856
  }
1853
1857
  /**
@@ -1866,17 +1870,17 @@ class Ri {
1866
1870
  * See the License for the specific language governing permissions and
1867
1871
  * limitations under the License.
1868
1872
  */
1869
- const ee = yi;
1873
+ const ee = pi;
1870
1874
  function Xt(n, e = {}) {
1871
1875
  let t = n;
1872
1876
  typeof e != "object" && (e = { name: e });
1873
- const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1877
+ const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1874
1878
  if (typeof i != "string" || !i)
1875
- throw D.create("bad-app-name", {
1879
+ throw C.create("bad-app-name", {
1876
1880
  appName: String(i)
1877
1881
  });
1878
- if (t || (t = Gt()), !t)
1879
- throw D.create(
1882
+ if (t || (t = Wt()), !t)
1883
+ throw C.create(
1880
1884
  "no-options"
1881
1885
  /* AppError.NO_OPTIONS */
1882
1886
  );
@@ -1884,25 +1888,25 @@ function Xt(n, e = {}) {
1884
1888
  if (s) {
1885
1889
  if (ue(t, s.options) && ue(r, s.config))
1886
1890
  return s;
1887
- throw D.create("duplicate-app", { appName: i });
1891
+ throw C.create("duplicate-app", { appName: i });
1888
1892
  }
1889
- const a = new Cr(i);
1890
- for (const o of Fe.values())
1893
+ const a = new Tr(i);
1894
+ for (const o of xe.values())
1891
1895
  a.addComponent(o);
1892
- const c = new Ri(t, r, a);
1896
+ const c = new gi(t, r, a);
1893
1897
  return he.set(i, c), c;
1894
1898
  }
1895
- function ki(n = xe) {
1899
+ function vi(n = Fe) {
1896
1900
  const e = he.get(n);
1897
- if (!e && n === xe && Gt())
1901
+ if (!e && n === Fe && Wt())
1898
1902
  return Xt();
1899
1903
  if (!e)
1900
- throw D.create("no-app", { appName: n });
1904
+ throw C.create("no-app", { appName: n });
1901
1905
  return e;
1902
1906
  }
1903
- function W(n, e, t) {
1907
+ function G(n, e, t) {
1904
1908
  var r;
1905
- let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
1909
+ let i = (r = mi[n]) !== null && r !== void 0 ? r : n;
1906
1910
  t && (i += `-${t}`);
1907
1911
  const s = i.match(/\s|\//), a = e.match(/\s|\//);
1908
1912
  if (s || a) {
@@ -1912,7 +1916,7 @@ function W(n, e, t) {
1912
1916
  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(" "));
1913
1917
  return;
1914
1918
  }
1915
- Y(new G(
1919
+ Y(new W(
1916
1920
  `${i}-version`,
1917
1921
  () => ({ library: i, version: e }),
1918
1922
  "VERSION"
@@ -1935,10 +1939,10 @@ function W(n, e, t) {
1935
1939
  * See the License for the specific language governing permissions and
1936
1940
  * limitations under the License.
1937
1941
  */
1938
- const Si = "firebase-heartbeat-database", Ai = 1, X = "firebase-heartbeat-store";
1942
+ const Ii = "firebase-heartbeat-database", bi = 1, X = "firebase-heartbeat-store";
1939
1943
  let Ne = null;
1940
1944
  function Kt() {
1941
- return Ne || (Ne = Gr(Si, Ai, {
1945
+ return Ne || (Ne = Ur(Ii, bi, {
1942
1946
  upgrade: (n, e) => {
1943
1947
  switch (e) {
1944
1948
  case 0:
@@ -1950,12 +1954,12 @@ function Kt() {
1950
1954
  }
1951
1955
  }
1952
1956
  }).catch((n) => {
1953
- throw D.create("idb-open", {
1957
+ throw C.create("idb-open", {
1954
1958
  originalErrorMessage: n.message
1955
1959
  });
1956
1960
  })), Ne;
1957
1961
  }
1958
- async function Oi(n) {
1962
+ async function yi(n) {
1959
1963
  try {
1960
1964
  const t = (await Kt()).transaction(X), r = await t.objectStore(X).get(qt(n));
1961
1965
  return await t.done, r;
@@ -1963,7 +1967,7 @@ async function Oi(n) {
1963
1967
  if (e instanceof M)
1964
1968
  T.warn(e.message);
1965
1969
  else {
1966
- const t = D.create("idb-get", {
1970
+ const t = C.create("idb-get", {
1967
1971
  originalErrorMessage: e == null ? void 0 : e.message
1968
1972
  });
1969
1973
  T.warn(t.message);
@@ -1978,7 +1982,7 @@ async function mt(n, e) {
1978
1982
  if (t instanceof M)
1979
1983
  T.warn(t.message);
1980
1984
  else {
1981
- const r = D.create("idb-set", {
1985
+ const r = C.create("idb-set", {
1982
1986
  originalErrorMessage: t == null ? void 0 : t.message
1983
1987
  });
1984
1988
  T.warn(r.message);
@@ -2004,12 +2008,12 @@ function qt(n) {
2004
2008
  * See the License for the specific language governing permissions and
2005
2009
  * limitations under the License.
2006
2010
  */
2007
- const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
2008
- class Di {
2011
+ const Ei = 1024, Ti = 30 * 24 * 60 * 60 * 1e3;
2012
+ class wi {
2009
2013
  constructor(e) {
2010
2014
  this.container = e, this._heartbeatsCache = null;
2011
2015
  const t = this.container.getProvider("app").getImmediate();
2012
- this._storage = new Mi(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
2016
+ this._storage = new Ri(t), this._heartbeatsCachePromise = this._storage.read().then((r) => (this._heartbeatsCache = r, r));
2013
2017
  }
2014
2018
  /**
2015
2019
  * Called to report a heartbeat. The function will generate
@@ -2024,7 +2028,7 @@ class Di {
2024
2028
  const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
2025
2029
  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) => {
2026
2030
  const c = new Date(a.date).valueOf();
2027
- return Date.now() - c <= Ci;
2031
+ return Date.now() - c <= Ti;
2028
2032
  }), this._storage.overwrite(this._heartbeatsCache));
2029
2033
  } catch (r) {
2030
2034
  T.warn(r);
@@ -2042,7 +2046,7 @@ class Di {
2042
2046
  try {
2043
2047
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
2044
2048
  return "";
2045
- const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2049
+ const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = ki(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2046
2050
  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;
2047
2051
  } catch (t) {
2048
2052
  return T.warn(t), "";
@@ -2052,7 +2056,7 @@ class Di {
2052
2056
  function ft() {
2053
2057
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
2054
2058
  }
2055
- function Pi(n, e = Ni) {
2059
+ function ki(n, e = Ei) {
2056
2060
  const t = [];
2057
2061
  let r = n.slice();
2058
2062
  for (const i of n) {
@@ -2076,19 +2080,19 @@ function Pi(n, e = Ni) {
2076
2080
  unsentEntries: r
2077
2081
  };
2078
2082
  }
2079
- class Mi {
2083
+ class Ri {
2080
2084
  constructor(e) {
2081
2085
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
2082
2086
  }
2083
2087
  async runIndexedDBEnvironmentCheck() {
2084
- return Ir() ? br().then(() => !0).catch(() => !1) : !1;
2088
+ return ur() ? hr().then(() => !0).catch(() => !1) : !1;
2085
2089
  }
2086
2090
  /**
2087
2091
  * Read all heartbeats.
2088
2092
  */
2089
2093
  async read() {
2090
2094
  if (await this._canUseIndexedDBPromise) {
2091
- const t = await Oi(this.app);
2095
+ const t = await yi(this.app);
2092
2096
  return t != null && t.heartbeats ? t : { heartbeats: [] };
2093
2097
  } else
2094
2098
  return { heartbeats: [] };
@@ -2143,21 +2147,21 @@ function _t(n) {
2143
2147
  * See the License for the specific language governing permissions and
2144
2148
  * limitations under the License.
2145
2149
  */
2146
- function Li(n) {
2147
- Y(new G(
2150
+ function Si(n) {
2151
+ Y(new W(
2148
2152
  "platform-logger",
2149
- (e) => new Jr(e),
2153
+ (e) => new xr(e),
2150
2154
  "PRIVATE"
2151
2155
  /* ComponentType.PRIVATE */
2152
- )), Y(new G(
2156
+ )), Y(new W(
2153
2157
  "heartbeat",
2154
- (e) => new Di(e),
2158
+ (e) => new wi(e),
2155
2159
  "PRIVATE"
2156
2160
  /* ComponentType.PRIVATE */
2157
- )), W(Be, ht, n), W(Be, ht, "esm2017"), W("fire-js", "");
2161
+ )), G(Be, ht, n), G(Be, ht, "esm2017"), G("fire-js", "");
2158
2162
  }
2159
- Li("");
2160
- var Ui = "firebase", Bi = "10.14.1";
2163
+ Si("");
2164
+ var Ai = "firebase", Oi = "10.14.1";
2161
2165
  /**
2162
2166
  * @license
2163
2167
  * Copyright 2020 Google LLC
@@ -2174,7 +2178,7 @@ var Ui = "firebase", Bi = "10.14.1";
2174
2178
  * See the License for the specific language governing permissions and
2175
2179
  * limitations under the License.
2176
2180
  */
2177
- W(Ui, Bi, "app");
2181
+ G(Ai, Oi, "app");
2178
2182
  var gt = function() {
2179
2183
  return gt = Object.assign || function(e) {
2180
2184
  for (var t, r = 1, i = arguments.length; r < i; r++) {
@@ -2184,7 +2188,7 @@ var gt = function() {
2184
2188
  return e;
2185
2189
  }, gt.apply(this, arguments);
2186
2190
  };
2187
- function Je(n, e) {
2191
+ function $e(n, e) {
2188
2192
  var t = {};
2189
2193
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
2190
2194
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
@@ -2197,7 +2201,7 @@ function Qt() {
2197
2201
  "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."
2198
2202
  };
2199
2203
  }
2200
- const xi = Qt, en = new q("auth", "Firebase", Qt());
2204
+ const Ni = Qt, en = new q("auth", "Firebase", Qt());
2201
2205
  /**
2202
2206
  * @license
2203
2207
  * Copyright 2020 Google LLC
@@ -2214,8 +2218,8 @@ const xi = Qt, en = new q("auth", "Firebase", Qt());
2214
2218
  * See the License for the specific language governing permissions and
2215
2219
  * limitations under the License.
2216
2220
  */
2217
- const pe = new $t("@firebase/auth");
2218
- function Fi(n, ...e) {
2221
+ const pe = new Zt("@firebase/auth");
2222
+ function Di(n, ...e) {
2219
2223
  pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
2220
2224
  }
2221
2225
  function se(n, ...e) {
@@ -2238,13 +2242,13 @@ function se(n, ...e) {
2238
2242
  * limitations under the License.
2239
2243
  */
2240
2244
  function w(n, ...e) {
2241
- throw Ze(n, ...e);
2245
+ throw Je(n, ...e);
2242
2246
  }
2243
2247
  function _(n, ...e) {
2244
- return Ze(n, ...e);
2248
+ return Je(n, ...e);
2245
2249
  }
2246
2250
  function tn(n, e, t) {
2247
- const r = Object.assign(Object.assign({}, xi()), { [e]: t });
2251
+ const r = Object.assign(Object.assign({}, Ni()), { [e]: t });
2248
2252
  return new q("auth", "Firebase", r).create(e, {
2249
2253
  appName: n.name
2250
2254
  });
@@ -2252,7 +2256,7 @@ function tn(n, e, t) {
2252
2256
  function P(n) {
2253
2257
  return tn(n, "operation-not-supported-in-this-environment", "Operations that alter the current user are not supported in conjunction with FirebaseServerApp");
2254
2258
  }
2255
- function Ze(n, ...e) {
2259
+ function Je(n, ...e) {
2256
2260
  if (typeof n != "string") {
2257
2261
  const t = e[0], r = [...e.slice(1)];
2258
2262
  return r[0] && (r[0].appName = n.name), n._errorFactory.create(t, ...r);
@@ -2261,13 +2265,13 @@ function Ze(n, ...e) {
2261
2265
  }
2262
2266
  function u(n, e, ...t) {
2263
2267
  if (!n)
2264
- throw Ze(e, ...t);
2268
+ throw Je(e, ...t);
2265
2269
  }
2266
2270
  function b(n) {
2267
2271
  const e = "INTERNAL ASSERTION FAILED: " + n;
2268
2272
  throw se(e), new Error(e);
2269
2273
  }
2270
- function R(n, e) {
2274
+ function k(n, e) {
2271
2275
  n || b(e);
2272
2276
  }
2273
2277
  /**
@@ -2286,11 +2290,11 @@ function R(n, e) {
2286
2290
  * See the License for the specific language governing permissions and
2287
2291
  * limitations under the License.
2288
2292
  */
2289
- function We() {
2293
+ function Ge() {
2290
2294
  var n;
2291
2295
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
2292
2296
  }
2293
- function Wi() {
2297
+ function Ci() {
2294
2298
  return vt() === "http:" || vt() === "https:";
2295
2299
  }
2296
2300
  function vt() {
@@ -2313,15 +2317,15 @@ function vt() {
2313
2317
  * See the License for the specific language governing permissions and
2314
2318
  * limitations under the License.
2315
2319
  */
2316
- function ji() {
2320
+ function Pi() {
2317
2321
  return typeof navigator < "u" && navigator && "onLine" in navigator && typeof navigator.onLine == "boolean" && // Apply only for traditional web apps and Chrome extensions.
2318
2322
  // This is especially true for Cordova apps which have unreliable
2319
2323
  // navigator.onLine behavior unless cordova-plugin-network-information is
2320
2324
  // installed which overwrites the native navigator.onLine value and
2321
2325
  // defines navigator.connection.
2322
- (Wi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
2326
+ (Ci() || cr() || "connection" in navigator) ? navigator.onLine : !0;
2323
2327
  }
2324
- function Hi() {
2328
+ function Mi() {
2325
2329
  if (typeof navigator > "u")
2326
2330
  return null;
2327
2331
  const n = navigator;
@@ -2351,10 +2355,10 @@ function Hi() {
2351
2355
  */
2352
2356
  class te {
2353
2357
  constructor(e, t) {
2354
- this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
2358
+ this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = ar() || lr();
2355
2359
  }
2356
2360
  get() {
2357
- return ji() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2361
+ return Pi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
2358
2362
  }
2359
2363
  }
2360
2364
  /**
@@ -2374,7 +2378,7 @@ class te {
2374
2378
  * limitations under the License.
2375
2379
  */
2376
2380
  function Ye(n, e) {
2377
- R(n.emulator, "Emulator should always be set here");
2381
+ k(n.emulator, "Emulator should always be set here");
2378
2382
  const { url: t } = n.emulator;
2379
2383
  return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
2380
2384
  }
@@ -2448,7 +2452,7 @@ class nn {
2448
2452
  * See the License for the specific language governing permissions and
2449
2453
  * limitations under the License.
2450
2454
  */
2451
- const Vi = {
2455
+ const Li = {
2452
2456
  // Custom token errors.
2453
2457
  CREDENTIAL_MISMATCH: "custom-token-mismatch",
2454
2458
  // This can only happen if the SDK sends a bad request.
@@ -2539,11 +2543,11 @@ const Vi = {
2539
2543
  * See the License for the specific language governing permissions and
2540
2544
  * limitations under the License.
2541
2545
  */
2542
- const Gi = new te(3e4, 6e4);
2546
+ const Ui = new te(3e4, 6e4);
2543
2547
  function ve(n, e) {
2544
2548
  return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
2545
2549
  }
2546
- async function $(n, e, t, r, i = {}) {
2550
+ async function Z(n, e, t, r, i = {}) {
2547
2551
  return rn(n, i, async () => {
2548
2552
  let s = {}, a = {};
2549
2553
  r && (e === "GET" ? a = r : s = {
@@ -2561,14 +2565,14 @@ async function $(n, e, t, r, i = {}) {
2561
2565
  method: e,
2562
2566
  headers: o
2563
2567
  }, s);
2564
- return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2568
+ return or() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2565
2569
  });
2566
2570
  }
2567
2571
  async function rn(n, e, t) {
2568
2572
  n._canInitEmulator = !1;
2569
- const r = Object.assign(Object.assign({}, Vi), e);
2573
+ const r = Object.assign(Object.assign({}, Li), e);
2570
2574
  try {
2571
- const i = new zi(n), s = await Promise.race([
2575
+ const i = new Bi(n), s = await Promise.race([
2572
2576
  t(),
2573
2577
  i.promise
2574
2578
  ]);
@@ -2598,7 +2602,7 @@ async function rn(n, e, t) {
2598
2602
  }
2599
2603
  }
2600
2604
  async function sn(n, e, t, r, i = {}) {
2601
- const s = await $(n, e, t, r, i);
2605
+ const s = await Z(n, e, t, r, i);
2602
2606
  return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
2603
2607
  _serverResponse: s
2604
2608
  }), s;
@@ -2607,14 +2611,14 @@ function an(n, e, t, r) {
2607
2611
  const i = `${e}${t}?${r}`;
2608
2612
  return n.config.emulator ? Ye(n.config, i) : `${n.config.apiScheme}://${i}`;
2609
2613
  }
2610
- class zi {
2614
+ class Bi {
2611
2615
  constructor(e) {
2612
2616
  this.auth = e, this.timer = null, this.promise = new Promise((t, r) => {
2613
2617
  this.timer = setTimeout(() => r(_(
2614
2618
  this.auth,
2615
2619
  "network-request-failed"
2616
2620
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
2617
- )), Gi.get());
2621
+ )), Ui.get());
2618
2622
  });
2619
2623
  }
2620
2624
  clearNetworkTimeout() {
@@ -2645,11 +2649,11 @@ function ie(n, e, t) {
2645
2649
  * See the License for the specific language governing permissions and
2646
2650
  * limitations under the License.
2647
2651
  */
2648
- async function $i(n, e) {
2649
- return $(n, "POST", "/v1/accounts:delete", e);
2652
+ async function Fi(n, e) {
2653
+ return Z(n, "POST", "/v1/accounts:delete", e);
2650
2654
  }
2651
2655
  async function on(n, e) {
2652
- return $(n, "POST", "/v1/accounts:lookup", e);
2656
+ return Z(n, "POST", "/v1/accounts:lookup", e);
2653
2657
  }
2654
2658
  /**
2655
2659
  * @license
@@ -2667,7 +2671,7 @@ async function on(n, e) {
2667
2671
  * See the License for the specific language governing permissions and
2668
2672
  * limitations under the License.
2669
2673
  */
2670
- function Z(n) {
2674
+ function J(n) {
2671
2675
  if (n)
2672
2676
  try {
2673
2677
  const e = new Date(Number(n));
@@ -2676,7 +2680,7 @@ function Z(n) {
2676
2680
  } catch {
2677
2681
  }
2678
2682
  }
2679
- async function Ji(n, e = !1) {
2683
+ async function xi(n, e = !1) {
2680
2684
  const t = z(n), r = await t.getIdToken(e), i = Xe(r);
2681
2685
  u(
2682
2686
  i && i.exp && i.auth_time && i.iat,
@@ -2688,14 +2692,14 @@ async function Ji(n, e = !1) {
2688
2692
  return {
2689
2693
  claims: i,
2690
2694
  token: r,
2691
- authTime: Z(Ce(i.auth_time)),
2692
- issuedAtTime: Z(Ce(i.iat)),
2693
- expirationTime: Z(Ce(i.exp)),
2695
+ authTime: J(De(i.auth_time)),
2696
+ issuedAtTime: J(De(i.iat)),
2697
+ expirationTime: J(De(i.exp)),
2694
2698
  signInProvider: a || null,
2695
2699
  signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
2696
2700
  };
2697
2701
  }
2698
- function Ce(n) {
2702
+ function De(n) {
2699
2703
  return Number(n) * 1e3;
2700
2704
  }
2701
2705
  function Xe(n) {
@@ -2703,7 +2707,7 @@ function Xe(n) {
2703
2707
  if (e === void 0 || t === void 0 || r === void 0)
2704
2708
  return se("JWT malformed, contained fewer than 3 sections"), null;
2705
2709
  try {
2706
- const i = Ht(t);
2710
+ const i = Vt(t);
2707
2711
  return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
2708
2712
  } catch (i) {
2709
2713
  return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
@@ -2747,10 +2751,10 @@ async function K(n, e, t = !1) {
2747
2751
  try {
2748
2752
  return await e;
2749
2753
  } catch (r) {
2750
- throw r instanceof M && Zi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2754
+ throw r instanceof M && Gi(r) && n.auth.currentUser === n && await n.auth.signOut(), r;
2751
2755
  }
2752
2756
  }
2753
- function Zi({ code: n }) {
2757
+ function Gi({ code: n }) {
2754
2758
  return n === "auth/user-disabled" || n === "auth/user-token-expired";
2755
2759
  }
2756
2760
  /**
@@ -2769,7 +2773,7 @@ function Zi({ code: n }) {
2769
2773
  * See the License for the specific language governing permissions and
2770
2774
  * limitations under the License.
2771
2775
  */
2772
- class Yi {
2776
+ class Hi {
2773
2777
  constructor(e) {
2774
2778
  this.user = e, this.isRunning = !1, this.timerId = null, this.errorBackoff = 3e4;
2775
2779
  }
@@ -2831,12 +2835,12 @@ class Yi {
2831
2835
  * See the License for the specific language governing permissions and
2832
2836
  * limitations under the License.
2833
2837
  */
2834
- class je {
2838
+ class He {
2835
2839
  constructor(e, t) {
2836
2840
  this.createdAt = e, this.lastLoginAt = t, this._initializeTime();
2837
2841
  }
2838
2842
  _initializeTime() {
2839
- this.lastSignInTime = Z(this.lastLoginAt), this.creationTime = Z(this.createdAt);
2843
+ this.lastSignInTime = J(this.lastLoginAt), this.creationTime = J(this.createdAt);
2840
2844
  }
2841
2845
  _copy(e) {
2842
2846
  this.createdAt = e.createdAt, this.lastLoginAt = e.lastLoginAt, this._initializeTime();
@@ -2875,7 +2879,7 @@ async function me(n) {
2875
2879
  );
2876
2880
  const s = i.users[0];
2877
2881
  n._notifyReloadListener(s);
2878
- const a = !((e = s.providerUserInfo) === null || e === void 0) && e.length ? cn(s.providerUserInfo) : [], c = Ki(n.providerData, a), o = n.isAnonymous, l = !(n.email && s.passwordHash) && !(c != null && c.length), d = o ? l : !1, h = {
2882
+ 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), d = o ? l : !1, h = {
2879
2883
  uid: s.localId,
2880
2884
  displayName: s.displayName || null,
2881
2885
  photoURL: s.photoUrl || null,
@@ -2884,21 +2888,21 @@ async function me(n) {
2884
2888
  phoneNumber: s.phoneNumber || null,
2885
2889
  tenantId: s.tenantId || null,
2886
2890
  providerData: c,
2887
- metadata: new je(s.createdAt, s.lastLoginAt),
2891
+ metadata: new He(s.createdAt, s.lastLoginAt),
2888
2892
  isAnonymous: d
2889
2893
  };
2890
2894
  Object.assign(n, h);
2891
2895
  }
2892
- async function Xi(n) {
2896
+ async function Vi(n) {
2893
2897
  const e = z(n);
2894
2898
  await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2895
2899
  }
2896
- function Ki(n, e) {
2900
+ function ji(n, e) {
2897
2901
  return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
2898
2902
  }
2899
2903
  function cn(n) {
2900
2904
  return n.map((e) => {
2901
- var { providerId: t } = e, r = Je(e, ["providerId"]);
2905
+ var { providerId: t } = e, r = $e(e, ["providerId"]);
2902
2906
  return {
2903
2907
  providerId: t,
2904
2908
  uid: r.rawId || "",
@@ -2925,7 +2929,7 @@ function cn(n) {
2925
2929
  * See the License for the specific language governing permissions and
2926
2930
  * limitations under the License.
2927
2931
  */
2928
- async function qi(n, e) {
2932
+ async function Wi(n, e) {
2929
2933
  const t = await rn(n, {}, async () => {
2930
2934
  const r = Q({
2931
2935
  grant_type: "refresh_token",
@@ -2946,8 +2950,8 @@ async function qi(n, e) {
2946
2950
  refreshToken: t.refresh_token
2947
2951
  };
2948
2952
  }
2949
- async function Qi(n, e) {
2950
- return $(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2953
+ async function zi(n, e) {
2954
+ return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2951
2955
  }
2952
2956
  /**
2953
2957
  * @license
@@ -2965,7 +2969,7 @@ async function Qi(n, e) {
2965
2969
  * See the License for the specific language governing permissions and
2966
2970
  * limitations under the License.
2967
2971
  */
2968
- class j {
2972
+ class H {
2969
2973
  constructor() {
2970
2974
  this.refreshToken = null, this.accessToken = null, this.expirationTime = null;
2971
2975
  }
@@ -3010,14 +3014,14 @@ class j {
3010
3014
  this.refreshToken = null;
3011
3015
  }
3012
3016
  async refresh(e, t) {
3013
- const { accessToken: r, refreshToken: i, expiresIn: s } = await qi(e, t);
3017
+ const { accessToken: r, refreshToken: i, expiresIn: s } = await Wi(e, t);
3014
3018
  this.updateTokensAndExpiration(r, i, Number(s));
3015
3019
  }
3016
3020
  updateTokensAndExpiration(e, t, r) {
3017
3021
  this.refreshToken = t || null, this.accessToken = e || null, this.expirationTime = Date.now() + r * 1e3;
3018
3022
  }
3019
3023
  static fromJSON(e, t) {
3020
- const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new j();
3024
+ const { refreshToken: r, accessToken: i, expirationTime: s } = t, a = new H();
3021
3025
  return r && (u(typeof r == "string", "internal-error", {
3022
3026
  appName: e
3023
3027
  }), a.refreshToken = r), i && (u(typeof i == "string", "internal-error", {
@@ -3037,7 +3041,7 @@ class j {
3037
3041
  this.accessToken = e.accessToken, this.refreshToken = e.refreshToken, this.expirationTime = e.expirationTime;
3038
3042
  }
3039
3043
  _clone() {
3040
- return Object.assign(new j(), this.toJSON());
3044
+ return Object.assign(new H(), this.toJSON());
3041
3045
  }
3042
3046
  _performRefresh() {
3043
3047
  return b("not implemented");
@@ -3059,13 +3063,13 @@ class j {
3059
3063
  * See the License for the specific language governing permissions and
3060
3064
  * limitations under the License.
3061
3065
  */
3062
- function k(n, e) {
3066
+ function R(n, e) {
3063
3067
  u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
3064
3068
  }
3065
3069
  class y {
3066
3070
  constructor(e) {
3067
- var { uid: t, auth: r, stsTokenManager: i } = e, s = Je(e, ["uid", "auth", "stsTokenManager"]);
3068
- this.providerId = "firebase", this.proactiveRefresh = new Yi(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 je(s.createdAt || void 0, s.lastLoginAt || void 0);
3071
+ var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
3072
+ this.providerId = "firebase", this.proactiveRefresh = new Hi(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);
3069
3073
  }
3070
3074
  async getIdToken(e) {
3071
3075
  const t = await K(this, this.stsTokenManager.getToken(this.auth, e));
@@ -3077,10 +3081,10 @@ class y {
3077
3081
  ), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
3078
3082
  }
3079
3083
  getIdTokenResult(e) {
3080
- return Ji(this, e);
3084
+ return xi(this, e);
3081
3085
  }
3082
3086
  reload() {
3083
- return Xi(this);
3087
+ return Vi(this);
3084
3088
  }
3085
3089
  _assign(e) {
3086
3090
  this !== e && (u(
@@ -3119,7 +3123,7 @@ class y {
3119
3123
  if (I(this.auth.app))
3120
3124
  return Promise.reject(P(this.auth));
3121
3125
  const e = await this.getIdToken();
3122
- return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
3126
+ return await K(this, Fi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
3123
3127
  }
3124
3128
  toJSON() {
3125
3129
  return Object.assign(Object.assign({
@@ -3147,20 +3151,20 @@ class y {
3147
3151
  }
3148
3152
  static _fromJSON(e, t) {
3149
3153
  var r, i, s, a, c, o, l, d;
3150
- const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
3154
+ const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, F = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
3151
3155
  u(
3152
3156
  Te && at,
3153
3157
  e,
3154
3158
  "internal-error"
3155
3159
  /* AuthErrorCode.INTERNAL_ERROR */
3156
3160
  );
3157
- const Pn = j.fromJSON(this.name, at);
3161
+ const Pn = H.fromJSON(this.name, at);
3158
3162
  u(
3159
3163
  typeof Te == "string",
3160
3164
  e,
3161
3165
  "internal-error"
3162
3166
  /* AuthErrorCode.INTERNAL_ERROR */
3163
- ), k(h, e.name), k(m, e.name), u(
3167
+ ), R(h, e.name), R(m, e.name), u(
3164
3168
  typeof it == "boolean",
3165
3169
  e,
3166
3170
  "internal-error"
@@ -3170,22 +3174,22 @@ class y {
3170
3174
  e,
3171
3175
  "internal-error"
3172
3176
  /* AuthErrorCode.INTERNAL_ERROR */
3173
- ), k(v, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
3174
- const Re = new y({
3177
+ ), R(v, e.name), R(F, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
3178
+ const ke = new y({
3175
3179
  uid: Te,
3176
3180
  auth: e,
3177
3181
  email: m,
3178
3182
  emailVerified: it,
3179
3183
  displayName: h,
3180
3184
  isAnonymous: st,
3181
- photoURL: x,
3185
+ photoURL: F,
3182
3186
  phoneNumber: v,
3183
3187
  tenantId: tt,
3184
3188
  stsTokenManager: Pn,
3185
3189
  createdAt: nt,
3186
3190
  lastLoginAt: rt
3187
3191
  });
3188
- return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
3192
+ return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
3189
3193
  }
3190
3194
  /**
3191
3195
  * Initialize a User from an idToken server response
@@ -3193,7 +3197,7 @@ class y {
3193
3197
  * @param idTokenResponse
3194
3198
  */
3195
3199
  static async _fromIdTokenResponse(e, t, r = !1) {
3196
- const i = new j();
3200
+ const i = new H();
3197
3201
  i.updateFromServerResponse(t);
3198
3202
  const s = new y({
3199
3203
  uid: t.localId,
@@ -3215,7 +3219,7 @@ class y {
3215
3219
  "internal-error"
3216
3220
  /* AuthErrorCode.INTERNAL_ERROR */
3217
3221
  );
3218
- const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new j();
3222
+ const s = i.providerUserInfo !== void 0 ? cn(i.providerUserInfo) : [], a = !(i.email && i.passwordHash) && !(s != null && s.length), c = new H();
3219
3223
  c.updateFromIdToken(r);
3220
3224
  const o = new y({
3221
3225
  uid: i.localId,
@@ -3231,7 +3235,7 @@ class y {
3231
3235
  phoneNumber: i.phoneNumber || null,
3232
3236
  tenantId: i.tenantId || null,
3233
3237
  providerData: s,
3234
- metadata: new je(i.createdAt, i.lastLoginAt),
3238
+ metadata: new He(i.createdAt, i.lastLoginAt),
3235
3239
  isAnonymous: !(i.email && i.passwordHash) && !(s != null && s.length)
3236
3240
  };
3237
3241
  return Object.assign(o, l), o;
@@ -3255,9 +3259,9 @@ class y {
3255
3259
  */
3256
3260
  const bt = /* @__PURE__ */ new Map();
3257
3261
  function E(n) {
3258
- R(n instanceof Function, "Expected a class definition");
3262
+ k(n instanceof Function, "Expected a class definition");
3259
3263
  let e = bt.get(n);
3260
- return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3264
+ return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3261
3265
  }
3262
3266
  /**
3263
3267
  * @license
@@ -3318,7 +3322,7 @@ const yt = ln;
3318
3322
  function ae(n, e, t) {
3319
3323
  return `firebase:${n}:${e}:${t}`;
3320
3324
  }
3321
- class H {
3325
+ class V {
3322
3326
  constructor(e, t, r) {
3323
3327
  this.persistence = e, this.auth = t, this.userKey = r;
3324
3328
  const { config: i, name: s } = this.auth;
@@ -3349,7 +3353,7 @@ class H {
3349
3353
  }
3350
3354
  static async create(e, t, r = "authUser") {
3351
3355
  if (!t.length)
3352
- return new H(E(yt), e, r);
3356
+ return new V(E(yt), e, r);
3353
3357
  const i = (await Promise.all(t.map(async (l) => {
3354
3358
  if (await l._isAvailable())
3355
3359
  return l;
@@ -3368,13 +3372,13 @@ class H {
3368
3372
  } catch {
3369
3373
  }
3370
3374
  const o = i.filter((l) => l._shouldAllowMigration);
3371
- 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) => {
3375
+ 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) => {
3372
3376
  if (l !== s)
3373
3377
  try {
3374
3378
  await l._remove(a);
3375
3379
  } catch {
3376
3380
  }
3377
- })), new H(s, e, r));
3381
+ })), new V(s, e, r));
3378
3382
  }
3379
3383
  }
3380
3384
  /**
@@ -3449,12 +3453,12 @@ function _n(n = f()) {
3449
3453
  function Ke(n = f()) {
3450
3454
  return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
3451
3455
  }
3452
- function es(n = f()) {
3456
+ function Zi(n = f()) {
3453
3457
  var e;
3454
3458
  return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
3455
3459
  }
3456
- function ts() {
3457
- return vr() && document.documentMode === 10;
3460
+ function $i() {
3461
+ return dr() && document.documentMode === 10;
3458
3462
  }
3459
3463
  function gn(n = f()) {
3460
3464
  return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
@@ -3506,7 +3510,7 @@ function vn(n, e = []) {
3506
3510
  * See the License for the specific language governing permissions and
3507
3511
  * limitations under the License.
3508
3512
  */
3509
- class ns {
3513
+ class Ji {
3510
3514
  constructor(e) {
3511
3515
  this.auth = e, this.queue = [];
3512
3516
  }
@@ -3561,8 +3565,8 @@ class ns {
3561
3565
  * See the License for the specific language governing permissions and
3562
3566
  * limitations under the License.
3563
3567
  */
3564
- async function rs(n, e = {}) {
3565
- return $(n, "GET", "/v2/passwordPolicy", ve(n, e));
3568
+ async function Yi(n, e = {}) {
3569
+ return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
3566
3570
  }
3567
3571
  /**
3568
3572
  * @license
@@ -3580,12 +3584,12 @@ async function rs(n, e = {}) {
3580
3584
  * See the License for the specific language governing permissions and
3581
3585
  * limitations under the License.
3582
3586
  */
3583
- const is = 6;
3584
- class ss {
3587
+ const Xi = 6;
3588
+ class Ki {
3585
3589
  constructor(e) {
3586
3590
  var t, r, i, s;
3587
3591
  const a = e.customStrengthOptions;
3588
- this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : is, 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;
3592
+ this.customStrengthOptions = {}, this.customStrengthOptions.minPasswordLength = (t = a.minPasswordLength) !== null && t !== void 0 ? t : Xi, 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;
3589
3593
  }
3590
3594
  validatePassword(e) {
3591
3595
  var t, r, i, s, a, c;
@@ -3668,14 +3672,14 @@ class ss {
3668
3672
  * See the License for the specific language governing permissions and
3669
3673
  * limitations under the License.
3670
3674
  */
3671
- class as {
3675
+ class qi {
3672
3676
  constructor(e, t, r, i) {
3673
- 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 ns(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;
3677
+ this.app = e, this.heartbeatServiceProvider = t, this.appCheckServiceProvider = r, this.config = i, this.currentUser = null, this.emulatorConfig = null, this.operations = Promise.resolve(), this.authStateSubscription = new Tt(this), this.idTokenSubscription = new Tt(this), this.beforeStateQueue = new Ji(this), this.redirectUser = null, this.isProactiveRefreshEnabled = !1, this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION = 1, this._canInitEmulator = !0, this._isInitialized = !1, this._deleted = !1, this._initializationPromise = null, this._popupRedirectResolver = null, this._errorFactory = en, this._agentRecaptchaConfig = null, this._tenantRecaptchaConfigs = {}, this._projectPasswordPolicy = null, this._tenantPasswordPolicies = {}, this.lastNotifiedUid = void 0, this.languageCode = null, this.tenantId = null, this.settings = { appVerificationDisabledForTesting: !1 }, this.frameworks = [], this.name = e.name, this.clientVersion = i.sdkClientVersion;
3674
3678
  }
3675
3679
  _initializeWithPersistence(e, t) {
3676
3680
  return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
3677
3681
  var r, i;
3678
- if (!this._deleted && (this.persistenceManager = await H.create(this, e), !this._deleted)) {
3682
+ if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
3679
3683
  if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
3680
3684
  try {
3681
3685
  await this._popupRedirectResolver._initialize(this);
@@ -3764,7 +3768,7 @@ class as {
3764
3768
  return this.directlySetCurrentUser(e);
3765
3769
  }
3766
3770
  useDeviceLanguage() {
3767
- this.languageCode = Hi();
3771
+ this.languageCode = Mi();
3768
3772
  }
3769
3773
  async _delete() {
3770
3774
  this._deleted = !0;
@@ -3815,7 +3819,7 @@ class as {
3815
3819
  return this.tenantId === null ? this._projectPasswordPolicy : this._tenantPasswordPolicies[this.tenantId];
3816
3820
  }
3817
3821
  async _updatePasswordPolicy() {
3818
- const e = await rs(this), t = new ss(e);
3822
+ const e = await Yi(this), t = new Ki(e);
3819
3823
  this.tenantId === null ? this._projectPasswordPolicy = t : this._tenantPasswordPolicies[this.tenantId] = t;
3820
3824
  }
3821
3825
  _getPersistence() {
@@ -3855,7 +3859,7 @@ class as {
3855
3859
  token: e,
3856
3860
  idToken: t
3857
3861
  };
3858
- this.tenantId != null && (r.tenantId = this.tenantId), await Qi(this, r);
3862
+ this.tenantId != null && (r.tenantId = this.tenantId), await zi(this, r);
3859
3863
  }
3860
3864
  }
3861
3865
  toJSON() {
@@ -3879,7 +3883,7 @@ class as {
3879
3883
  this,
3880
3884
  "argument-error"
3881
3885
  /* AuthErrorCode.ARGUMENT_ERROR */
3882
- ), this.redirectPersistenceManager = await H.create(
3886
+ ), this.redirectPersistenceManager = await V.create(
3883
3887
  this,
3884
3888
  [E(t._redirectPersistence)],
3885
3889
  "redirectUser"
@@ -3998,7 +4002,7 @@ class as {
3998
4002
  async _getAppCheckToken() {
3999
4003
  var e;
4000
4004
  const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
4001
- return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
4005
+ return t != null && t.error && Di(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
4002
4006
  }
4003
4007
  }
4004
4008
  function Ie(n) {
@@ -4006,7 +4010,7 @@ function Ie(n) {
4006
4010
  }
4007
4011
  class Tt {
4008
4012
  constructor(e) {
4009
- this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
4013
+ this.auth = e, this.observer = null, this.addObserver = gr((t) => this.observer = t);
4010
4014
  }
4011
4015
  get next() {
4012
4016
  return u(
@@ -4041,16 +4045,16 @@ let qe = {
4041
4045
  recaptchaEnterpriseScript: "",
4042
4046
  gapiScript: ""
4043
4047
  };
4044
- function os(n) {
4048
+ function Qi(n) {
4045
4049
  qe = n;
4046
4050
  }
4047
- function cs(n) {
4051
+ function es(n) {
4048
4052
  return qe.loadJS(n);
4049
4053
  }
4050
- function ls() {
4054
+ function ts() {
4051
4055
  return qe.gapiScript;
4052
4056
  }
4053
- function ds(n) {
4057
+ function ns(n) {
4054
4058
  return `__${n}${Math.floor(Math.random() * 1e6)}`;
4055
4059
  }
4056
4060
  /**
@@ -4069,7 +4073,7 @@ function ds(n) {
4069
4073
  * See the License for the specific language governing permissions and
4070
4074
  * limitations under the License.
4071
4075
  */
4072
- function us(n, e) {
4076
+ function rs(n, e) {
4073
4077
  const t = Yt(n, "auth");
4074
4078
  if (t.isInitialized()) {
4075
4079
  const i = t.getImmediate(), s = t.getOptions();
@@ -4083,11 +4087,11 @@ function us(n, e) {
4083
4087
  }
4084
4088
  return t.initialize({ options: e });
4085
4089
  }
4086
- function hs(n, e) {
4090
+ function is(n, e) {
4087
4091
  const t = (e == null ? void 0 : e.persistence) || [], r = (Array.isArray(t) ? t : [t]).map(E);
4088
4092
  e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
4089
4093
  }
4090
- function ps(n, e, t) {
4094
+ function ss(n, e, t) {
4091
4095
  const r = Ie(n);
4092
4096
  u(
4093
4097
  r._canInitEmulator,
@@ -4100,19 +4104,19 @@ function ps(n, e, t) {
4100
4104
  "invalid-emulator-scheme"
4101
4105
  /* AuthErrorCode.INVALID_EMULATOR_SCHEME */
4102
4106
  );
4103
- const i = !1, s = In(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
4107
+ const i = !1, s = In(e), { host: a, port: c } = as(e), o = c === null ? "" : `:${c}`;
4104
4108
  r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
4105
4109
  host: a,
4106
4110
  port: c,
4107
4111
  protocol: s.replace(":", ""),
4108
4112
  options: Object.freeze({ disableWarnings: i })
4109
- }), fs();
4113
+ }), os();
4110
4114
  }
4111
4115
  function In(n) {
4112
4116
  const e = n.indexOf(":");
4113
4117
  return e < 0 ? "" : n.substr(0, e + 1);
4114
4118
  }
4115
- function ms(n) {
4119
+ function as(n) {
4116
4120
  const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
4117
4121
  if (!t)
4118
4122
  return { host: "", port: null };
@@ -4131,7 +4135,7 @@ function wt(n) {
4131
4135
  const e = Number(n);
4132
4136
  return isNaN(e) ? null : e;
4133
4137
  }
4134
- function fs() {
4138
+ function os() {
4135
4139
  function n() {
4136
4140
  const e = document.createElement("p"), t = e.style;
4137
4141
  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);
@@ -4196,7 +4200,7 @@ class bn {
4196
4200
  * See the License for the specific language governing permissions and
4197
4201
  * limitations under the License.
4198
4202
  */
4199
- async function V(n, e) {
4203
+ async function j(n, e) {
4200
4204
  return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
4201
4205
  }
4202
4206
  /**
@@ -4215,7 +4219,7 @@ async function V(n, e) {
4215
4219
  * See the License for the specific language governing permissions and
4216
4220
  * limitations under the License.
4217
4221
  */
4218
- const _s = "http://localhost";
4222
+ const cs = "http://localhost";
4219
4223
  class U extends bn {
4220
4224
  constructor() {
4221
4225
  super(...arguments), this.pendingToken = null;
@@ -4250,7 +4254,7 @@ class U extends bn {
4250
4254
  * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
4251
4255
  */
4252
4256
  static fromJSON(e) {
4253
- const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Je(t, ["providerId", "signInMethod"]);
4257
+ const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
4254
4258
  if (!r || !i)
4255
4259
  return null;
4256
4260
  const a = new U(r, i);
@@ -4259,21 +4263,21 @@ class U extends bn {
4259
4263
  /** @internal */
4260
4264
  _getIdTokenResponse(e) {
4261
4265
  const t = this.buildRequest();
4262
- return V(e, t);
4266
+ return j(e, t);
4263
4267
  }
4264
4268
  /** @internal */
4265
4269
  _linkToIdToken(e, t) {
4266
4270
  const r = this.buildRequest();
4267
- return r.idToken = t, V(e, r);
4271
+ return r.idToken = t, j(e, r);
4268
4272
  }
4269
4273
  /** @internal */
4270
4274
  _getReauthenticationResolver(e) {
4271
4275
  const t = this.buildRequest();
4272
- return t.autoCreate = !1, V(e, t);
4276
+ return t.autoCreate = !1, j(e, t);
4273
4277
  }
4274
4278
  buildRequest() {
4275
4279
  const e = {
4276
- requestUri: _s,
4280
+ requestUri: cs,
4277
4281
  returnSecureToken: !0
4278
4282
  };
4279
4283
  if (this.pendingToken)
@@ -4674,7 +4678,7 @@ class B {
4674
4678
  this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
4675
4679
  }
4676
4680
  static async _fromIdTokenResponse(e, t, r, i = !1) {
4677
- const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
4681
+ const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
4678
4682
  return new B({
4679
4683
  user: s,
4680
4684
  providerId: a,
@@ -4688,7 +4692,7 @@ class B {
4688
4692
  /* reload */
4689
4693
  !0
4690
4694
  );
4691
- const i = Rt(r);
4695
+ const i = kt(r);
4692
4696
  return new B({
4693
4697
  user: e,
4694
4698
  providerId: i,
@@ -4697,7 +4701,7 @@ class B {
4697
4701
  });
4698
4702
  }
4699
4703
  }
4700
- function Rt(n) {
4704
+ function kt(n) {
4701
4705
  return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
4702
4706
  }
4703
4707
  /**
@@ -4735,7 +4739,7 @@ function En(n, e, t, r) {
4735
4739
  throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
4736
4740
  });
4737
4741
  }
4738
- async function gs(n, e, t = !1) {
4742
+ async function ls(n, e, t = !1) {
4739
4743
  const r = await K(n, e._linkToIdToken(n.auth, await n.getIdToken()), t);
4740
4744
  return B._forOperation(n, "link", r);
4741
4745
  }
@@ -4755,7 +4759,7 @@ async function gs(n, e, t = !1) {
4755
4759
  * See the License for the specific language governing permissions and
4756
4760
  * limitations under the License.
4757
4761
  */
4758
- async function vs(n, e, t = !1) {
4762
+ async function ds(n, e, t = !1) {
4759
4763
  const { auth: r } = n;
4760
4764
  if (I(r.app))
4761
4765
  return Promise.reject(P(r));
@@ -4806,7 +4810,7 @@ async function vs(n, e, t = !1) {
4806
4810
  * See the License for the specific language governing permissions and
4807
4811
  * limitations under the License.
4808
4812
  */
4809
- async function Is(n, e, t = !1) {
4813
+ async function us(n, e, t = !1) {
4810
4814
  if (I(n.app))
4811
4815
  return Promise.reject(P(n));
4812
4816
  const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
@@ -4828,7 +4832,7 @@ async function Is(n, e, t = !1) {
4828
4832
  * See the License for the specific language governing permissions and
4829
4833
  * limitations under the License.
4830
4834
  */
4831
- async function bs(n, e) {
4835
+ async function hs(n, e) {
4832
4836
  return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
4833
4837
  }
4834
4838
  /**
@@ -4847,19 +4851,19 @@ async function bs(n, e) {
4847
4851
  * See the License for the specific language governing permissions and
4848
4852
  * limitations under the License.
4849
4853
  */
4850
- async function ys(n, e) {
4854
+ async function ps(n, e) {
4851
4855
  if (I(n.app))
4852
4856
  return Promise.reject(P(n));
4853
- const t = Ie(n), r = await bs(t, {
4857
+ const t = Ie(n), r = await hs(t, {
4854
4858
  token: e,
4855
4859
  returnSecureToken: !0
4856
4860
  }), i = await B._fromIdTokenResponse(t, "signIn", r);
4857
4861
  return await t._updateCurrentUser(i.user), i;
4858
4862
  }
4859
- function Es(n, e, t, r) {
4863
+ function ms(n, e, t, r) {
4860
4864
  return z(n).onIdTokenChanged(e, t, r);
4861
4865
  }
4862
- function Ts(n, e, t) {
4866
+ function fs(n, e, t) {
4863
4867
  return z(n).beforeAuthStateChanged(e, t);
4864
4868
  }
4865
4869
  const _e = "__sak";
@@ -4920,7 +4924,7 @@ class Tn {
4920
4924
  * See the License for the specific language governing permissions and
4921
4925
  * limitations under the License.
4922
4926
  */
4923
- const ws = 1e3, Rs = 10;
4927
+ const _s = 1e3, gs = 10;
4924
4928
  class wn extends Tn {
4925
4929
  constructor() {
4926
4930
  super(
@@ -4948,7 +4952,7 @@ class wn extends Tn {
4948
4952
  const a = this.storage.getItem(r);
4949
4953
  !t && this.localCache[r] === a || this.notifyListeners(r, a);
4950
4954
  }, s = this.storage.getItem(r);
4951
- ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
4955
+ $i() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, gs) : i();
4952
4956
  }
4953
4957
  notifyListeners(e, t) {
4954
4958
  this.localCache[e] = t;
@@ -4970,7 +4974,7 @@ class wn extends Tn {
4970
4974
  !0
4971
4975
  );
4972
4976
  });
4973
- }, ws);
4977
+ }, _s);
4974
4978
  }
4975
4979
  stopPolling() {
4976
4980
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -5000,7 +5004,7 @@ class wn extends Tn {
5000
5004
  }
5001
5005
  }
5002
5006
  wn.type = "LOCAL";
5003
- const ks = wn;
5007
+ const vs = wn;
5004
5008
  /**
5005
5009
  * @license
5006
5010
  * Copyright 2020 Google LLC
@@ -5017,7 +5021,7 @@ const ks = wn;
5017
5021
  * See the License for the specific language governing permissions and
5018
5022
  * limitations under the License.
5019
5023
  */
5020
- class Rn extends Tn {
5024
+ class kn extends Tn {
5021
5025
  constructor() {
5022
5026
  super(
5023
5027
  () => window.sessionStorage,
@@ -5030,8 +5034,8 @@ class Rn extends Tn {
5030
5034
  _removeListener(e, t) {
5031
5035
  }
5032
5036
  }
5033
- Rn.type = "SESSION";
5034
- const kn = Rn;
5037
+ kn.type = "SESSION";
5038
+ const Rn = kn;
5035
5039
  /**
5036
5040
  * @license
5037
5041
  * Copyright 2019 Google LLC
@@ -5048,7 +5052,7 @@ const kn = Rn;
5048
5052
  * See the License for the specific language governing permissions and
5049
5053
  * limitations under the License.
5050
5054
  */
5051
- function Ss(n) {
5055
+ function Is(n) {
5052
5056
  return Promise.all(n.map(async (e) => {
5053
5057
  try {
5054
5058
  return {
@@ -5118,7 +5122,7 @@ class be {
5118
5122
  eventId: r,
5119
5123
  eventType: i
5120
5124
  });
5121
- const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await Ss(c);
5125
+ const c = Array.from(a).map(async (l) => l(t.origin, s)), o = await Is(c);
5122
5126
  t.ports[0].postMessage({
5123
5127
  status: "done",
5124
5128
  eventId: r,
@@ -5186,7 +5190,7 @@ function Qe(n = "", e = 10) {
5186
5190
  * See the License for the specific language governing permissions and
5187
5191
  * limitations under the License.
5188
5192
  */
5189
- class As {
5193
+ class bs {
5190
5194
  constructor(e) {
5191
5195
  this.target = e, this.handlers = /* @__PURE__ */ new Set();
5192
5196
  }
@@ -5286,7 +5290,7 @@ class As {
5286
5290
  function g() {
5287
5291
  return window;
5288
5292
  }
5289
- function Os(n) {
5293
+ function ys(n) {
5290
5294
  g().location.href = n;
5291
5295
  }
5292
5296
  /**
@@ -5308,7 +5312,7 @@ function Os(n) {
5308
5312
  function Sn() {
5309
5313
  return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
5310
5314
  }
5311
- async function Ns() {
5315
+ async function Es() {
5312
5316
  if (!(navigator != null && navigator.serviceWorker))
5313
5317
  return null;
5314
5318
  try {
@@ -5317,11 +5321,11 @@ async function Ns() {
5317
5321
  return null;
5318
5322
  }
5319
5323
  }
5320
- function Cs() {
5324
+ function Ts() {
5321
5325
  var n;
5322
5326
  return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
5323
5327
  }
5324
- function Ds() {
5328
+ function ws() {
5325
5329
  return Sn() ? self : null;
5326
5330
  }
5327
5331
  /**
@@ -5340,7 +5344,7 @@ function Ds() {
5340
5344
  * See the License for the specific language governing permissions and
5341
5345
  * limitations under the License.
5342
5346
  */
5343
- const An = "firebaseLocalStorageDb", Ps = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5347
+ const An = "firebaseLocalStorageDb", ks = 1, ge = "firebaseLocalStorage", On = "fbase_key";
5344
5348
  class re {
5345
5349
  constructor(e) {
5346
5350
  this.request = e;
@@ -5358,12 +5362,12 @@ class re {
5358
5362
  function ye(n, e) {
5359
5363
  return n.transaction([ge], e ? "readwrite" : "readonly").objectStore(ge);
5360
5364
  }
5361
- function Ms() {
5365
+ function Rs() {
5362
5366
  const n = indexedDB.deleteDatabase(An);
5363
5367
  return new re(n).toPromise();
5364
5368
  }
5365
- function He() {
5366
- const n = indexedDB.open(An, Ps);
5369
+ function Ve() {
5370
+ const n = indexedDB.open(An, ks);
5367
5371
  return new Promise((e, t) => {
5368
5372
  n.addEventListener("error", () => {
5369
5373
  t(n.error);
@@ -5376,18 +5380,18 @@ function He() {
5376
5380
  }
5377
5381
  }), n.addEventListener("success", async () => {
5378
5382
  const r = n.result;
5379
- r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await He()));
5383
+ r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Rs(), e(await Ve()));
5380
5384
  });
5381
5385
  });
5382
5386
  }
5383
- async function kt(n, e, t) {
5387
+ async function Rt(n, e, t) {
5384
5388
  const r = ye(n, !0).put({
5385
5389
  [On]: e,
5386
5390
  value: t
5387
5391
  });
5388
5392
  return new re(r).toPromise();
5389
5393
  }
5390
- async function Ls(n, e) {
5394
+ async function Ss(n, e) {
5391
5395
  const t = ye(n, !1).get(e), r = await new re(t).toPromise();
5392
5396
  return r === void 0 ? null : r.value;
5393
5397
  }
@@ -5395,7 +5399,7 @@ function St(n, e) {
5395
5399
  const t = ye(n, !0).delete(e);
5396
5400
  return new re(t).toPromise();
5397
5401
  }
5398
- const Us = 800, Bs = 3;
5402
+ const As = 800, Os = 3;
5399
5403
  class Nn {
5400
5404
  constructor() {
5401
5405
  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(() => {
@@ -5403,7 +5407,7 @@ class Nn {
5403
5407
  });
5404
5408
  }
5405
5409
  async _openDb() {
5406
- return this.db ? this.db : (this.db = await He(), this.db);
5410
+ return this.db ? this.db : (this.db = await Ve(), this.db);
5407
5411
  }
5408
5412
  async _withRetries(e) {
5409
5413
  let t = 0;
@@ -5412,7 +5416,7 @@ class Nn {
5412
5416
  const r = await this._openDb();
5413
5417
  return await e(r);
5414
5418
  } catch (r) {
5415
- if (t++ > Bs)
5419
+ if (t++ > Os)
5416
5420
  throw r;
5417
5421
  this.db && (this.db.close(), this.db = void 0);
5418
5422
  }
@@ -5428,7 +5432,7 @@ class Nn {
5428
5432
  * As the worker we should listen to events from the main window.
5429
5433
  */
5430
5434
  async initializeReceiver() {
5431
- this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5435
+ this.receiver = be._getInstance(ws()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5432
5436
  keyProcessed: (await this._poll()).includes(t.key)
5433
5437
  })), this.receiver._subscribe("ping", async (e, t) => [
5434
5438
  "keyChanged"
@@ -5444,9 +5448,9 @@ class Nn {
5444
5448
  */
5445
5449
  async initializeSender() {
5446
5450
  var e, t;
5447
- if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
5451
+ if (this.activeServiceWorker = await Es(), !this.activeServiceWorker)
5448
5452
  return;
5449
- this.sender = new As(this.activeServiceWorker);
5453
+ this.sender = new bs(this.activeServiceWorker);
5450
5454
  const r = await this.sender._send(
5451
5455
  "ping",
5452
5456
  {},
@@ -5468,7 +5472,7 @@ class Nn {
5468
5472
  * @param key - Storage key which changed.
5469
5473
  */
5470
5474
  async notifyServiceWorker(e) {
5471
- if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
5475
+ if (!(!this.sender || !this.activeServiceWorker || Ts() !== this.activeServiceWorker))
5472
5476
  try {
5473
5477
  await this.sender._send(
5474
5478
  "keyChanged",
@@ -5484,8 +5488,8 @@ class Nn {
5484
5488
  try {
5485
5489
  if (!indexedDB)
5486
5490
  return !1;
5487
- const e = await He();
5488
- return await kt(e, _e, "1"), await St(e, _e), !0;
5491
+ const e = await Ve();
5492
+ return await Rt(e, _e, "1"), await St(e, _e), !0;
5489
5493
  } catch {
5490
5494
  }
5491
5495
  return !1;
@@ -5499,10 +5503,10 @@ class Nn {
5499
5503
  }
5500
5504
  }
5501
5505
  async _set(e, t) {
5502
- return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5506
+ return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5503
5507
  }
5504
5508
  async _get(e) {
5505
- const t = await this._withRetries((r) => Ls(r, e));
5509
+ const t = await this._withRetries((r) => Ss(r, e));
5506
5510
  return this.localCache[e] = t, t;
5507
5511
  }
5508
5512
  async _remove(e) {
@@ -5533,7 +5537,7 @@ class Nn {
5533
5537
  i(t);
5534
5538
  }
5535
5539
  startPolling() {
5536
- this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), Us);
5540
+ this.stopPolling(), this.pollTimer = setInterval(async () => this._poll(), As);
5537
5541
  }
5538
5542
  stopPolling() {
5539
5543
  this.pollTimer && (clearInterval(this.pollTimer), this.pollTimer = null);
@@ -5546,7 +5550,7 @@ class Nn {
5546
5550
  }
5547
5551
  }
5548
5552
  Nn.type = "LOCAL";
5549
- const xs = Nn;
5553
+ const Ns = Nn;
5550
5554
  new te(3e4, 6e4);
5551
5555
  /**
5552
5556
  * @license
@@ -5564,7 +5568,7 @@ new te(3e4, 6e4);
5564
5568
  * See the License for the specific language governing permissions and
5565
5569
  * limitations under the License.
5566
5570
  */
5567
- function Fs(n, e) {
5571
+ function Ds(n, e) {
5568
5572
  return e ? E(e) : (u(
5569
5573
  n._popupRedirectResolver,
5570
5574
  n,
@@ -5597,13 +5601,13 @@ class et extends bn {
5597
5601
  ), this.params = e;
5598
5602
  }
5599
5603
  _getIdTokenResponse(e) {
5600
- return V(e, this._buildIdpRequest());
5604
+ return j(e, this._buildIdpRequest());
5601
5605
  }
5602
5606
  _linkToIdToken(e, t) {
5603
- return V(e, this._buildIdpRequest(t));
5607
+ return j(e, this._buildIdpRequest(t));
5604
5608
  }
5605
5609
  _getReauthenticationResolver(e) {
5606
- return V(e, this._buildIdpRequest());
5610
+ return j(e, this._buildIdpRequest());
5607
5611
  }
5608
5612
  _buildIdpRequest(e) {
5609
5613
  const t = {
@@ -5618,26 +5622,26 @@ class et extends bn {
5618
5622
  return e && (t.idToken = e), t;
5619
5623
  }
5620
5624
  }
5621
- function Ws(n) {
5622
- return Is(n.auth, new et(n), n.bypassAuthState);
5625
+ function Cs(n) {
5626
+ return us(n.auth, new et(n), n.bypassAuthState);
5623
5627
  }
5624
- function js(n) {
5628
+ function Ps(n) {
5625
5629
  const { auth: e, user: t } = n;
5626
5630
  return u(
5627
5631
  t,
5628
5632
  e,
5629
5633
  "internal-error"
5630
5634
  /* AuthErrorCode.INTERNAL_ERROR */
5631
- ), vs(t, new et(n), n.bypassAuthState);
5635
+ ), ds(t, new et(n), n.bypassAuthState);
5632
5636
  }
5633
- async function Hs(n) {
5637
+ async function Ms(n) {
5634
5638
  const { auth: e, user: t } = n;
5635
5639
  return u(
5636
5640
  t,
5637
5641
  e,
5638
5642
  "internal-error"
5639
5643
  /* AuthErrorCode.INTERNAL_ERROR */
5640
- ), gs(t, new et(n), n.bypassAuthState);
5644
+ ), ls(t, new et(n), n.bypassAuthState);
5641
5645
  }
5642
5646
  /**
5643
5647
  * @license
@@ -5655,7 +5659,7 @@ async function Hs(n) {
5655
5659
  * See the License for the specific language governing permissions and
5656
5660
  * limitations under the License.
5657
5661
  */
5658
- class Cn {
5662
+ class Dn {
5659
5663
  constructor(e, t, r, i, s = !1) {
5660
5664
  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];
5661
5665
  }
@@ -5697,13 +5701,13 @@ class Cn {
5697
5701
  switch (e) {
5698
5702
  case "signInViaPopup":
5699
5703
  case "signInViaRedirect":
5700
- return Ws;
5704
+ return Cs;
5701
5705
  case "linkViaPopup":
5702
5706
  case "linkViaRedirect":
5703
- return Hs;
5707
+ return Ms;
5704
5708
  case "reauthViaPopup":
5705
5709
  case "reauthViaRedirect":
5706
- return js;
5710
+ return Ps;
5707
5711
  default:
5708
5712
  w(
5709
5713
  this.auth,
@@ -5713,10 +5717,10 @@ class Cn {
5713
5717
  }
5714
5718
  }
5715
5719
  resolve(e) {
5716
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5720
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5717
5721
  }
5718
5722
  reject(e) {
5719
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5723
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5720
5724
  }
5721
5725
  unregisterAndCleanUp() {
5722
5726
  this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
@@ -5738,10 +5742,10 @@ class Cn {
5738
5742
  * See the License for the specific language governing permissions and
5739
5743
  * limitations under the License.
5740
5744
  */
5741
- const Vs = new te(2e3, 1e4);
5742
- class F extends Cn {
5745
+ const Ls = new te(2e3, 1e4);
5746
+ class x extends Dn {
5743
5747
  constructor(e, t, r, i, s) {
5744
- super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
5748
+ super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
5745
5749
  }
5746
5750
  async executeNotNull() {
5747
5751
  const e = await this.execute();
@@ -5753,7 +5757,7 @@ class F extends Cn {
5753
5757
  ), e;
5754
5758
  }
5755
5759
  async onExecution() {
5756
- R(this.filter.length === 1, "Popup operations only handle one event");
5760
+ k(this.filter.length === 1, "Popup operations only handle one event");
5757
5761
  const e = Qe();
5758
5762
  this.authWindow = await this.resolver._openPopup(
5759
5763
  this.auth,
@@ -5783,7 +5787,7 @@ class F extends Cn {
5783
5787
  ));
5784
5788
  }
5785
5789
  cleanUp() {
5786
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
5790
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
5787
5791
  }
5788
5792
  pollUserCancellation() {
5789
5793
  const e = () => {
@@ -5802,12 +5806,12 @@ class F extends Cn {
5802
5806
  );
5803
5807
  return;
5804
5808
  }
5805
- this.pollId = window.setTimeout(e, Vs.get());
5809
+ this.pollId = window.setTimeout(e, Ls.get());
5806
5810
  };
5807
5811
  e();
5808
5812
  }
5809
5813
  }
5810
- F.currentPopupAction = null;
5814
+ x.currentPopupAction = null;
5811
5815
  /**
5812
5816
  * @license
5813
5817
  * Copyright 2020 Google LLC
@@ -5824,8 +5828,8 @@ F.currentPopupAction = null;
5824
5828
  * See the License for the specific language governing permissions and
5825
5829
  * limitations under the License.
5826
5830
  */
5827
- const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5828
- class zs extends Cn {
5831
+ const Us = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5832
+ class Bs extends Dn {
5829
5833
  constructor(e, t, r = !1) {
5830
5834
  super(e, [
5831
5835
  "signInViaRedirect",
@@ -5843,7 +5847,7 @@ class zs extends Cn {
5843
5847
  let e = oe.get(this.auth._key());
5844
5848
  if (!e) {
5845
5849
  try {
5846
- const r = await $s(this.resolver, this.auth) ? await super.execute() : null;
5850
+ const r = await Fs(this.resolver, this.auth) ? await super.execute() : null;
5847
5851
  e = () => Promise.resolve(r);
5848
5852
  } catch (t) {
5849
5853
  e = () => Promise.reject(t);
@@ -5871,26 +5875,26 @@ class zs extends Cn {
5871
5875
  cleanUp() {
5872
5876
  }
5873
5877
  }
5874
- async function $s(n, e) {
5875
- const t = Ys(e), r = Zs(n);
5878
+ async function Fs(n, e) {
5879
+ const t = Hs(e), r = Gs(n);
5876
5880
  if (!await r._isAvailable())
5877
5881
  return !1;
5878
5882
  const i = await r._get(t) === "true";
5879
5883
  return await r._remove(t), i;
5880
5884
  }
5881
- function Js(n, e) {
5885
+ function xs(n, e) {
5882
5886
  oe.set(n._key(), e);
5883
5887
  }
5884
- function Zs(n) {
5888
+ function Gs(n) {
5885
5889
  return E(n._redirectPersistence);
5886
5890
  }
5887
- function Ys(n) {
5888
- return ae(Gs, n.config.apiKey, n.name);
5891
+ function Hs(n) {
5892
+ return ae(Us, n.config.apiKey, n.name);
5889
5893
  }
5890
- async function Xs(n, e, t = !1) {
5894
+ async function Vs(n, e, t = !1) {
5891
5895
  if (I(n.app))
5892
5896
  return Promise.reject(P(n));
5893
- const r = Ie(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
5897
+ const r = Ie(n), i = Ds(r, e), a = await new Bs(r, i, t).execute();
5894
5898
  return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
5895
5899
  }
5896
5900
  /**
@@ -5909,8 +5913,8 @@ async function Xs(n, e, t = !1) {
5909
5913
  * See the License for the specific language governing permissions and
5910
5914
  * limitations under the License.
5911
5915
  */
5912
- const Ks = 10 * 60 * 1e3;
5913
- class qs {
5916
+ const js = 10 * 60 * 1e3;
5917
+ class Ws {
5914
5918
  constructor(e) {
5915
5919
  this.auth = e, this.cachedEventUids = /* @__PURE__ */ new Set(), this.consumers = /* @__PURE__ */ new Set(), this.queuedRedirectEvent = null, this.hasHandledPotentialRedirect = !1, this.lastProcessedEventTime = Date.now();
5916
5920
  }
@@ -5926,11 +5930,11 @@ class qs {
5926
5930
  let t = !1;
5927
5931
  return this.consumers.forEach((r) => {
5928
5932
  this.isEventForConsumer(e, r) && (t = !0, this.sendToConsumer(e, r), this.saveEventToCache(e));
5929
- }), this.hasHandledPotentialRedirect || !Qs(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5933
+ }), this.hasHandledPotentialRedirect || !zs(e) || (this.hasHandledPotentialRedirect = !0, t || (this.queuedRedirectEvent = e, t = !0)), t;
5930
5934
  }
5931
5935
  sendToConsumer(e, t) {
5932
5936
  var r;
5933
- if (e.error && !Dn(e)) {
5937
+ if (e.error && !Cn(e)) {
5934
5938
  const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
5935
5939
  t.onError(_(this.auth, i));
5936
5940
  } else
@@ -5941,7 +5945,7 @@ class qs {
5941
5945
  return t.filter.includes(e.type) && r;
5942
5946
  }
5943
5947
  hasEventBeenHandled(e) {
5944
- return Date.now() - this.lastProcessedEventTime >= Ks && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5948
+ return Date.now() - this.lastProcessedEventTime >= js && this.cachedEventUids.clear(), this.cachedEventUids.has(At(e));
5945
5949
  }
5946
5950
  saveEventToCache(e) {
5947
5951
  this.cachedEventUids.add(At(e)), this.lastProcessedEventTime = Date.now();
@@ -5950,17 +5954,17 @@ class qs {
5950
5954
  function At(n) {
5951
5955
  return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
5952
5956
  }
5953
- function Dn({ type: n, error: e }) {
5957
+ function Cn({ type: n, error: e }) {
5954
5958
  return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
5955
5959
  }
5956
- function Qs(n) {
5960
+ function zs(n) {
5957
5961
  switch (n.type) {
5958
5962
  case "signInViaRedirect":
5959
5963
  case "linkViaRedirect":
5960
5964
  case "reauthViaRedirect":
5961
5965
  return !0;
5962
5966
  case "unknown":
5963
- return Dn(n);
5967
+ return Cn(n);
5964
5968
  default:
5965
5969
  return !1;
5966
5970
  }
@@ -5981,8 +5985,8 @@ function Qs(n) {
5981
5985
  * See the License for the specific language governing permissions and
5982
5986
  * limitations under the License.
5983
5987
  */
5984
- async function ea(n, e = {}) {
5985
- return $(n, "GET", "/v1/projects", e);
5988
+ async function Zs(n, e = {}) {
5989
+ return Z(n, "GET", "/v1/projects", e);
5986
5990
  }
5987
5991
  /**
5988
5992
  * @license
@@ -6000,14 +6004,14 @@ async function ea(n, e = {}) {
6000
6004
  * See the License for the specific language governing permissions and
6001
6005
  * limitations under the License.
6002
6006
  */
6003
- const ta = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, na = /^https?/;
6004
- async function ra(n) {
6007
+ const $s = /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/, Js = /^https?/;
6008
+ async function Ys(n) {
6005
6009
  if (n.config.emulator)
6006
6010
  return;
6007
- const { authorizedDomains: e } = await ea(n);
6011
+ const { authorizedDomains: e } = await Zs(n);
6008
6012
  for (const t of e)
6009
6013
  try {
6010
- if (ia(t))
6014
+ if (Xs(t))
6011
6015
  return;
6012
6016
  } catch {
6013
6017
  }
@@ -6017,15 +6021,15 @@ async function ra(n) {
6017
6021
  /* AuthErrorCode.INVALID_ORIGIN */
6018
6022
  );
6019
6023
  }
6020
- function ia(n) {
6021
- const e = We(), { protocol: t, hostname: r } = new URL(e);
6024
+ function Xs(n) {
6025
+ const e = Ge(), { protocol: t, hostname: r } = new URL(e);
6022
6026
  if (n.startsWith("chrome-extension://")) {
6023
6027
  const a = new URL(n);
6024
6028
  return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
6025
6029
  }
6026
- if (!na.test(t))
6030
+ if (!Js.test(t))
6027
6031
  return !1;
6028
- if (ta.test(n))
6032
+ if ($s.test(n))
6029
6033
  return r === n;
6030
6034
  const i = n.replace(/\./g, "\\.");
6031
6035
  return new RegExp("^(.+\\." + i + "|" + i + ")$", "i").test(r);
@@ -6046,7 +6050,7 @@ function ia(n) {
6046
6050
  * See the License for the specific language governing permissions and
6047
6051
  * limitations under the License.
6048
6052
  */
6049
- const sa = new te(3e4, 6e4);
6053
+ const Ks = new te(3e4, 6e4);
6050
6054
  function Ot() {
6051
6055
  const n = g().___jsl;
6052
6056
  if (n != null && n.H) {
@@ -6056,7 +6060,7 @@ function Ot() {
6056
6060
  n.CP[t] = null;
6057
6061
  }
6058
6062
  }
6059
- function aa(n) {
6063
+ function qs(n) {
6060
6064
  return new Promise((e, t) => {
6061
6065
  var r, i, s;
6062
6066
  function a() {
@@ -6071,7 +6075,7 @@ function aa(n) {
6071
6075
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
6072
6076
  ));
6073
6077
  },
6074
- timeout: sa.get()
6078
+ timeout: Ks.get()
6075
6079
  });
6076
6080
  }
6077
6081
  if (!((i = (r = g().gapi) === null || r === void 0 ? void 0 : r.iframes) === null || i === void 0) && i.Iframe)
@@ -6079,22 +6083,22 @@ function aa(n) {
6079
6083
  else if (!((s = g().gapi) === null || s === void 0) && s.load)
6080
6084
  a();
6081
6085
  else {
6082
- const c = ds("iframefcb");
6086
+ const c = ns("iframefcb");
6083
6087
  return g()[c] = () => {
6084
6088
  gapi.load ? a() : t(_(
6085
6089
  n,
6086
6090
  "network-request-failed"
6087
6091
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
6088
6092
  ));
6089
- }, cs(`${ls()}?onload=${c}`).catch((o) => t(o));
6093
+ }, es(`${ts()}?onload=${c}`).catch((o) => t(o));
6090
6094
  }
6091
6095
  }).catch((e) => {
6092
6096
  throw ce = null, e;
6093
6097
  });
6094
6098
  }
6095
6099
  let ce = null;
6096
- function oa(n) {
6097
- return ce = ce || aa(n), ce;
6100
+ function Qs(n) {
6101
+ return ce = ce || qs(n), ce;
6098
6102
  }
6099
6103
  /**
6100
6104
  * @license
@@ -6112,7 +6116,7 @@ function oa(n) {
6112
6116
  * See the License for the specific language governing permissions and
6113
6117
  * limitations under the License.
6114
6118
  */
6115
- const ca = new te(5e3, 15e3), la = "__/auth/iframe", da = "emulator/auth/iframe", ua = {
6119
+ const ea = new te(5e3, 15e3), ta = "__/auth/iframe", na = "emulator/auth/iframe", ra = {
6116
6120
  style: {
6117
6121
  position: "absolute",
6118
6122
  top: "-100px",
@@ -6121,13 +6125,13 @@ const ca = new te(5e3, 15e3), la = "__/auth/iframe", da = "emulator/auth/iframe"
6121
6125
  },
6122
6126
  "aria-hidden": "true",
6123
6127
  tabindex: "-1"
6124
- }, ha = /* @__PURE__ */ new Map([
6128
+ }, ia = /* @__PURE__ */ new Map([
6125
6129
  ["identitytoolkit.googleapis.com", "p"],
6126
6130
  ["staging-identitytoolkit.sandbox.googleapis.com", "s"],
6127
6131
  ["test-identitytoolkit.sandbox.googleapis.com", "t"]
6128
6132
  // test
6129
6133
  ]);
6130
- function pa(n) {
6134
+ function sa(n) {
6131
6135
  const e = n.config;
6132
6136
  u(
6133
6137
  e.authDomain,
@@ -6135,17 +6139,17 @@ function pa(n) {
6135
6139
  "auth-domain-config-required"
6136
6140
  /* AuthErrorCode.MISSING_AUTH_DOMAIN */
6137
6141
  );
6138
- const t = e.emulator ? Ye(e, da) : `https://${n.config.authDomain}/${la}`, r = {
6142
+ const t = e.emulator ? Ye(e, na) : `https://${n.config.authDomain}/${ta}`, r = {
6139
6143
  apiKey: e.apiKey,
6140
6144
  appName: n.name,
6141
6145
  v: ee
6142
- }, i = ha.get(n.config.apiHost);
6146
+ }, i = ia.get(n.config.apiHost);
6143
6147
  i && (r.eid = i);
6144
6148
  const s = n._getFrameworks();
6145
6149
  return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
6146
6150
  }
6147
- async function ma(n) {
6148
- const e = await oa(n), t = g().gapi;
6151
+ async function aa(n) {
6152
+ const e = await Qs(n), t = g().gapi;
6149
6153
  return u(
6150
6154
  t,
6151
6155
  n,
@@ -6153,9 +6157,9 @@ async function ma(n) {
6153
6157
  /* AuthErrorCode.INTERNAL_ERROR */
6154
6158
  ), e.open({
6155
6159
  where: document.body,
6156
- url: pa(n),
6160
+ url: sa(n),
6157
6161
  messageHandlersFilter: t.iframes.CROSS_ORIGIN_IFRAMES_FILTER,
6158
- attributes: ua,
6162
+ attributes: ra,
6159
6163
  dontclear: !0
6160
6164
  }, (r) => new Promise(async (i, s) => {
6161
6165
  await r.restyle({
@@ -6168,7 +6172,7 @@ async function ma(n) {
6168
6172
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
6169
6173
  ), c = g().setTimeout(() => {
6170
6174
  s(a);
6171
- }, ca.get());
6175
+ }, ea.get());
6172
6176
  function o() {
6173
6177
  g().clearTimeout(c), i(r);
6174
6178
  }
@@ -6193,12 +6197,12 @@ async function ma(n) {
6193
6197
  * See the License for the specific language governing permissions and
6194
6198
  * limitations under the License.
6195
6199
  */
6196
- const fa = {
6200
+ const oa = {
6197
6201
  location: "yes",
6198
6202
  resizable: "yes",
6199
6203
  statusbar: "yes",
6200
6204
  toolbar: "no"
6201
- }, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
6205
+ }, ca = 500, la = 600, da = "_blank", ua = "http://localhost";
6202
6206
  class Nt {
6203
6207
  constructor(e) {
6204
6208
  this.window = e, this.associatedEvent = null;
@@ -6211,19 +6215,19 @@ class Nt {
6211
6215
  }
6212
6216
  }
6213
6217
  }
6214
- function ba(n, e, t, r = _a, i = ga) {
6218
+ function ha(n, e, t, r = ca, i = la) {
6215
6219
  const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
6216
6220
  let c = "";
6217
- const o = Object.assign(Object.assign({}, fa), {
6221
+ const o = Object.assign(Object.assign({}, oa), {
6218
6222
  width: r.toString(),
6219
6223
  height: i.toString(),
6220
6224
  top: s,
6221
6225
  left: a
6222
6226
  }), l = f().toLowerCase();
6223
- t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
6224
- const d = Object.entries(o).reduce((m, [v, x]) => `${m}${v}=${x},`, "");
6225
- if (es(l) && c !== "_self")
6226
- return ya(e || "", c), new Nt(null);
6227
+ t && (c = hn(l) ? da : t), dn(l) && (e = e || ua, o.scrollbars = "yes");
6228
+ const d = Object.entries(o).reduce((m, [v, F]) => `${m}${v}=${F},`, "");
6229
+ if (Zi(l) && c !== "_self")
6230
+ return pa(e || "", c), new Nt(null);
6227
6231
  const h = window.open(e || "", c, d);
6228
6232
  u(
6229
6233
  h,
@@ -6237,7 +6241,7 @@ function ba(n, e, t, r = _a, i = ga) {
6237
6241
  }
6238
6242
  return new Nt(h);
6239
6243
  }
6240
- function ya(n, e) {
6244
+ function pa(n, e) {
6241
6245
  const t = document.createElement("a");
6242
6246
  t.href = n, t.target = e;
6243
6247
  const r = document.createEvent("MouseEvent");
@@ -6259,8 +6263,8 @@ function ya(n, e) {
6259
6263
  * See the License for the specific language governing permissions and
6260
6264
  * limitations under the License.
6261
6265
  */
6262
- const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
6263
- async function Ct(n, e, t, r, i, s) {
6266
+ const ma = "__/auth/handler", fa = "emulator/auth/handler", _a = encodeURIComponent("fac");
6267
+ async function Dt(n, e, t, r, i, s) {
6264
6268
  u(
6265
6269
  n.config.authDomain,
6266
6270
  n,
@@ -6281,7 +6285,7 @@ async function Ct(n, e, t, r, i, s) {
6281
6285
  eventId: i
6282
6286
  };
6283
6287
  if (e instanceof yn) {
6284
- e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", wr(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
6288
+ e.setDefaultLanguage(n.languageCode), a.providerId = e.providerId || "", _r(e.getCustomParameters()) || (a.customParameters = JSON.stringify(e.getCustomParameters()));
6285
6289
  for (const [d, h] of Object.entries({}))
6286
6290
  a[d] = h;
6287
6291
  }
@@ -6293,11 +6297,11 @@ async function Ct(n, e, t, r, i, s) {
6293
6297
  const c = a;
6294
6298
  for (const d of Object.keys(c))
6295
6299
  c[d] === void 0 && delete c[d];
6296
- const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
6297
- return `${Ra(n)}?${Q(c).slice(1)}${l}`;
6300
+ const o = await n._getAppCheckToken(), l = o ? `#${_a}=${encodeURIComponent(o)}` : "";
6301
+ return `${ga(n)}?${Q(c).slice(1)}${l}`;
6298
6302
  }
6299
- function Ra({ config: n }) {
6300
- return n.emulator ? Ye(n, Ta) : `https://${n.authDomain}/${Ea}`;
6303
+ function ga({ config: n }) {
6304
+ return n.emulator ? Ye(n, fa) : `https://${n.authDomain}/${ma}`;
6301
6305
  }
6302
6306
  /**
6303
6307
  * @license
@@ -6315,30 +6319,30 @@ function Ra({ config: n }) {
6315
6319
  * See the License for the specific language governing permissions and
6316
6320
  * limitations under the License.
6317
6321
  */
6318
- const De = "webStorageSupport";
6319
- class ka {
6322
+ const Ce = "webStorageSupport";
6323
+ class va {
6320
6324
  constructor() {
6321
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Xs, this._overrideRedirectResult = Js;
6325
+ this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Vs, this._overrideRedirectResult = xs;
6322
6326
  }
6323
6327
  // Wrapping in async even though we don't await anywhere in order
6324
6328
  // to make sure errors are raised as promise rejections
6325
6329
  async _openPopup(e, t, r, i) {
6326
6330
  var s;
6327
- R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6328
- const a = await Ct(e, t, r, We(), i);
6329
- return ba(e, a, Qe());
6331
+ k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6332
+ const a = await Dt(e, t, r, Ge(), i);
6333
+ return ha(e, a, Qe());
6330
6334
  }
6331
6335
  async _openRedirect(e, t, r, i) {
6332
6336
  await this._originValidation(e);
6333
- const s = await Ct(e, t, r, We(), i);
6334
- return Os(s), new Promise(() => {
6337
+ const s = await Dt(e, t, r, Ge(), i);
6338
+ return ys(s), new Promise(() => {
6335
6339
  });
6336
6340
  }
6337
6341
  _initialize(e) {
6338
6342
  const t = e._key();
6339
6343
  if (this.eventManagers[t]) {
6340
6344
  const { manager: i, promise: s } = this.eventManagers[t];
6341
- return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
6345
+ return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
6342
6346
  }
6343
6347
  const r = this.initAndGetManager(e);
6344
6348
  return this.eventManagers[t] = { promise: r }, r.catch(() => {
@@ -6346,7 +6350,7 @@ class ka {
6346
6350
  }), r;
6347
6351
  }
6348
6352
  async initAndGetManager(e) {
6349
- const t = await ma(e), r = new qs(e);
6353
+ const t = await aa(e), r = new Ws(e);
6350
6354
  return t.register("authEvent", (i) => (u(
6351
6355
  i == null ? void 0 : i.authEvent,
6352
6356
  e,
@@ -6358,9 +6362,9 @@ class ka {
6358
6362
  }), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
6359
6363
  }
6360
6364
  _isIframeWebStorageSupported(e, t) {
6361
- this.iframes[e._key()].send(De, { type: De }, (i) => {
6365
+ this.iframes[e._key()].send(Ce, { type: Ce }, (i) => {
6362
6366
  var s;
6363
- const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
6367
+ const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ce];
6364
6368
  a !== void 0 && t(!!a), w(
6365
6369
  e,
6366
6370
  "internal-error"
@@ -6370,14 +6374,14 @@ class ka {
6370
6374
  }
6371
6375
  _originValidation(e) {
6372
6376
  const t = e._key();
6373
- return this.originValidationPromises[t] || (this.originValidationPromises[t] = ra(e)), this.originValidationPromises[t];
6377
+ return this.originValidationPromises[t] || (this.originValidationPromises[t] = Ys(e)), this.originValidationPromises[t];
6374
6378
  }
6375
6379
  get _shouldInitProactively() {
6376
6380
  return gn() || un() || Ke();
6377
6381
  }
6378
6382
  }
6379
- const Sa = ka;
6380
- var Dt = "@firebase/auth", Pt = "1.7.9";
6383
+ const Ia = va;
6384
+ var Ct = "@firebase/auth", Pt = "1.7.9";
6381
6385
  /**
6382
6386
  * @license
6383
6387
  * Copyright 2020 Google LLC
@@ -6394,7 +6398,7 @@ var Dt = "@firebase/auth", Pt = "1.7.9";
6394
6398
  * See the License for the specific language governing permissions and
6395
6399
  * limitations under the License.
6396
6400
  */
6397
- class Aa {
6401
+ class ba {
6398
6402
  constructor(e) {
6399
6403
  this.auth = e, this.internalListeners = /* @__PURE__ */ new Map();
6400
6404
  }
@@ -6445,7 +6449,7 @@ class Aa {
6445
6449
  * See the License for the specific language governing permissions and
6446
6450
  * limitations under the License.
6447
6451
  */
6448
- function Oa(n) {
6452
+ function ya(n) {
6449
6453
  switch (n) {
6450
6454
  case "Node":
6451
6455
  return "node";
@@ -6461,8 +6465,8 @@ function Oa(n) {
6461
6465
  return;
6462
6466
  }
6463
6467
  }
6464
- function Na(n) {
6465
- Y(new G(
6468
+ function Ea(n) {
6469
+ Y(new W(
6466
6470
  "auth",
6467
6471
  (e, { options: t }) => {
6468
6472
  const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
@@ -6475,8 +6479,8 @@ function Na(n) {
6475
6479
  tokenApiHost: "securetoken.googleapis.com",
6476
6480
  apiScheme: "https",
6477
6481
  sdkClientVersion: vn(n)
6478
- }, l = new as(r, i, s, o);
6479
- return hs(l, t), l;
6482
+ }, l = new qi(r, i, s, o);
6483
+ return is(l, t), l;
6480
6484
  },
6481
6485
  "PUBLIC"
6482
6486
  /* ComponentType.PUBLIC */
@@ -6488,21 +6492,21 @@ function Na(n) {
6488
6492
  "auth-internal"
6489
6493
  /* _ComponentName.AUTH_INTERNAL */
6490
6494
  ).initialize();
6491
- })), Y(new G(
6495
+ })), Y(new W(
6492
6496
  "auth-internal",
6493
6497
  (e) => {
6494
6498
  const t = Ie(e.getProvider(
6495
6499
  "auth"
6496
6500
  /* _ComponentName.AUTH */
6497
6501
  ).getImmediate());
6498
- return ((r) => new Aa(r))(t);
6502
+ return ((r) => new ba(r))(t);
6499
6503
  },
6500
6504
  "PRIVATE"
6501
6505
  /* ComponentType.PRIVATE */
6502
6506
  ).setInstantiationMode(
6503
6507
  "EXPLICIT"
6504
6508
  /* InstantiationMode.EXPLICIT */
6505
- )), W(Dt, Pt, Oa(n)), W(Dt, Pt, "esm2017");
6509
+ )), G(Ct, Pt, ya(n)), G(Ct, Pt, "esm2017");
6506
6510
  }
6507
6511
  /**
6508
6512
  * @license
@@ -6520,11 +6524,11 @@ function Na(n) {
6520
6524
  * See the License for the specific language governing permissions and
6521
6525
  * limitations under the License.
6522
6526
  */
6523
- const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
6527
+ const Ta = 5 * 60, wa = zt("authIdTokenMaxAge") || Ta;
6524
6528
  let Mt = null;
6525
- const Pa = (n) => async (e) => {
6529
+ const ka = (n) => async (e) => {
6526
6530
  const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
6527
- if (r && r > Da)
6531
+ if (r && r > wa)
6528
6532
  return;
6529
6533
  const i = t == null ? void 0 : t.token;
6530
6534
  Mt !== i && (Mt = i, await fetch(n, {
@@ -6534,33 +6538,33 @@ const Pa = (n) => async (e) => {
6534
6538
  } : {}
6535
6539
  }));
6536
6540
  };
6537
- function Ma(n = ki()) {
6541
+ function Ra(n = vi()) {
6538
6542
  const e = Yt(n, "auth");
6539
6543
  if (e.isInitialized())
6540
6544
  return e.getImmediate();
6541
- const t = us(n, {
6542
- popupRedirectResolver: Sa,
6545
+ const t = rs(n, {
6546
+ popupRedirectResolver: Ia,
6543
6547
  persistence: [
6544
- xs,
6545
- ks,
6546
- kn
6548
+ Ns,
6549
+ vs,
6550
+ Rn
6547
6551
  ]
6548
6552
  }), r = zt("authTokenSyncURL");
6549
6553
  if (r && typeof isSecureContext == "boolean" && isSecureContext) {
6550
6554
  const s = new URL(r, location.origin);
6551
6555
  if (location.origin === s.origin) {
6552
- const a = Pa(s.toString());
6553
- Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
6556
+ const a = ka(s.toString());
6557
+ fs(t, a, () => a(t.currentUser)), ms(t, (c) => a(c));
6554
6558
  }
6555
6559
  }
6556
- const i = Vt("auth");
6557
- return i && ps(t, `http://${i}`), t;
6560
+ const i = jt("auth");
6561
+ return i && ss(t, `http://${i}`), t;
6558
6562
  }
6559
- function La() {
6563
+ function Sa() {
6560
6564
  var n, e;
6561
6565
  return (e = (n = document.getElementsByTagName("head")) === null || n === void 0 ? void 0 : n[0]) !== null && e !== void 0 ? e : document;
6562
6566
  }
6563
- os({
6567
+ Qi({
6564
6568
  loadJS(n) {
6565
6569
  return new Promise((e, t) => {
6566
6570
  const r = document.createElement("script");
@@ -6570,58 +6574,58 @@ os({
6570
6574
  /* AuthErrorCode.INTERNAL_ERROR */
6571
6575
  );
6572
6576
  s.customData = i, t(s);
6573
- }, r.type = "text/javascript", r.charset = "UTF-8", La().appendChild(r);
6577
+ }, r.type = "text/javascript", r.charset = "UTF-8", Sa().appendChild(r);
6574
6578
  });
6575
6579
  },
6576
6580
  gapiScript: "https://apis.google.com/js/api.js",
6577
6581
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6578
6582
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6579
6583
  });
6580
- Na(
6584
+ Ea(
6581
6585
  "Browser"
6582
6586
  /* ClientPlatform.BROWSER */
6583
6587
  );
6584
- const Ua = Ln({
6588
+ const Aa = Ln({
6585
6589
  history: Un(),
6586
- routes: [...Ge, ...le]
6590
+ routes: [...We, ...le]
6587
6591
  });
6588
6592
  let Pe, Me;
6589
- Ua.beforeEach(async (n) => {
6593
+ Aa.beforeEach(async (n) => {
6590
6594
  const {
6591
6595
  sessionUser: e,
6592
6596
  currentRestaurant: t,
6593
6597
  currentBusiness: r,
6594
6598
  readRestaurants: i,
6595
6599
  changeRestaurant: s
6596
- } = Ve();
6600
+ } = je();
6597
6601
  return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
6598
- const c = J(e, (o) => {
6602
+ const c = $(e, (o) => {
6599
6603
  var l;
6600
6604
  o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
6601
6605
  });
6602
6606
  })), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
6603
6607
  new Promise(async (a) => {
6604
- const c = J(r, (o) => {
6608
+ const c = $(r, (o) => {
6605
6609
  o && (c(), a(!0));
6606
6610
  });
6607
6611
  }),
6608
6612
  new Promise(async (a) => {
6609
- const c = J(t, (l) => {
6613
+ const c = $(t, (l) => {
6610
6614
  l && (c(), a(!0));
6611
6615
  }), o = await i();
6612
6616
  await s(o == null ? void 0 : o.at(0));
6613
6617
  })
6614
6618
  ]).then((a) => !0)), Me) : !0;
6615
6619
  });
6616
- const Ba = /* @__PURE__ */ Ut({
6620
+ const Oa = /* @__PURE__ */ Ut({
6617
6621
  __name: "AppSidebar",
6618
6622
  setup(n) {
6619
- const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
6620
- J(t.currentRoute, () => {
6623
+ const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
6624
+ $(t.currentRoute, () => {
6621
6625
  let l = t.currentRoute.value.name;
6622
6626
  t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
6623
6627
  });
6624
- const s = Ge.map((l) => {
6628
+ const s = We.map((l) => {
6625
6629
  var m;
6626
6630
  if (!((m = l.meta) != null && m.sidebarDisplay))
6627
6631
  return;
@@ -6633,7 +6637,7 @@ const Ba = /* @__PURE__ */ Ut({
6633
6637
  return t.push({ name: l.name });
6634
6638
  }
6635
6639
  };
6636
- return l.meta.sidebarNew && (h.badge = () => Wn($n.FmPill, { label: "New" })), h;
6640
+ return l.meta.sidebarNew && (h.badge = () => Gn(Zn.FmPill, { label: "New" })), h;
6637
6641
  }).filter((l) => !!l), a = le.map((l) => {
6638
6642
  var d;
6639
6643
  if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
@@ -6690,7 +6694,7 @@ const Ba = /* @__PURE__ */ Ut({
6690
6694
  });
6691
6695
  return (l, d) => {
6692
6696
  const h = Bt("FmCollapsibleTabs");
6693
- return xt(), Ft(h, {
6697
+ return Ft(), xt(h, {
6694
6698
  modelValue: i.value,
6695
6699
  "onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
6696
6700
  items: o.value,
@@ -6699,45 +6703,45 @@ const Ba = /* @__PURE__ */ Ut({
6699
6703
  };
6700
6704
  }
6701
6705
  });
6702
- var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
6703
- const $a = /* @__PURE__ */ Ut({
6706
+ var Na = { 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" };
6707
+ const Fa = /* @__PURE__ */ Ut({
6704
6708
  __name: "App",
6705
6709
  setup(n) {
6706
- const { state: e } = sr(), t = Ve(), r = xn(), i = Xt(xa.firebase);
6710
+ const { state: e } = Kn(), t = je(), r = Fn(), i = Xt(Na.firebase);
6707
6711
  async function s() {
6708
6712
  const a = t.sessionUser.value;
6709
6713
  if (!a || !a.token) return;
6710
- const c = await a.getCustomToken(), o = Ma(i);
6711
- await ys(o, c);
6714
+ const c = await a.getCustomToken(), o = Ra(i);
6715
+ await ps(o, c);
6712
6716
  }
6713
- return s(), J(t.sessionUser, s), jn(() => {
6717
+ return s(), $(t.sessionUser, s), Hn(() => {
6714
6718
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6715
- }), Hn(() => {
6716
- t.registerSidebarComponent(Ba);
6719
+ }), Vn(() => {
6720
+ t.registerSidebarComponent(Oa);
6717
6721
  }), (a, c) => {
6718
6722
  const o = Bt("RouterView");
6719
- return xt(), Ft(o, {
6720
- key: Vn(r).path
6723
+ return Ft(), xt(o, {
6724
+ key: jn(r).path
6721
6725
  });
6722
6726
  };
6723
6727
  }
6724
- }), Ja = {
6725
- "en-US": qn,
6726
- "zh-CN": ir
6727
- }, Za = [...le, ...Ge];
6728
+ }), xa = {
6729
+ "en-US": Jn,
6730
+ "zh-CN": Xn
6731
+ }, Ga = [...le, ...We];
6728
6732
  export {
6729
- G as C,
6733
+ W as C,
6730
6734
  M as F,
6731
6735
  ee as S,
6732
6736
  Y as _,
6733
6737
  Yt as a,
6734
- Ga as b,
6735
- ki as c,
6736
- za as d,
6738
+ Ua as b,
6739
+ vi as c,
6740
+ Ba as d,
6737
6741
  gt as e,
6738
- Za as f,
6742
+ Ga as f,
6739
6743
  z as g,
6740
- $a as h,
6741
- Ja as i,
6742
- W as r
6744
+ Fa as h,
6745
+ xa as i,
6746
+ G as r
6743
6747
  };