@feedmepos/mf-payment 1.1.9-beta.1 → 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-B4YLzVpp.js → PayoutAccount-BsGYgYqK.js} +152 -152
  2. package/dist/{PayoutAccount-DvrLfgt-.js → PayoutAccount-DsQCwRok.js} +5 -5
  3. package/dist/{PayoutAccountSetting-Co7DmROR.js → PayoutAccountSetting-DlTlipkR.js} +3 -3
  4. package/dist/{Restaurant-DuhPwxX3.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-BK9u7SCs.js → RestaurantSetting-C4Uswfiq.js} +3 -3
  7. package/dist/{Settlement-Ce_tmrSE.js → Settlement-CsuI5viX.js} +3 -3
  8. package/dist/{Settlement-Sl3sl0jF.js → Settlement-FXQpkHg9.js} +92 -92
  9. package/dist/{SettlementTransactions-CuHc2CZz.js → SettlementTransactions-CLIWl2ft.js} +82 -82
  10. package/dist/{SettlementTransactions-D7UHmaaD.js → SettlementTransactions-CwFD7ZNW.js} +3 -3
  11. package/dist/{Terminal-DC7kec1h.js → Terminal-D4jCEaVn.js} +5 -5
  12. package/dist/{TerminalSetting-uqU8wLtE.js → TerminalSetting-PK0CIFIv.js} +3 -3
  13. package/dist/{Transaction-vVo3tggm.js → Transaction-B-gOcc81.js} +5 -5
  14. package/dist/{Transaction-DSOyeHAf.js → Transaction-K2CdzMSr.js} +36 -36
  15. package/dist/{TransactionOld-sUH_2SAc.js → TransactionOld-85ud0GVA.js} +14 -14
  16. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-DFdz9uZ0.js → TransactionTable.vue_vue_type_script_setup_true_lang-vuYIyvMv.js} +16 -16
  17. package/dist/{app-tq6GxnyI.js → app-gDs_z8vb.js} +743 -739
  18. package/dist/app.d.ts +242 -238
  19. package/dist/app.js +1 -1
  20. package/dist/{assets-OObLkGWe.js → assets-si0LYmis.js} +1 -1
  21. package/dist/{grafana-RP6GDt42.js → grafana-CcI-Y-7W.js} +1 -1
  22. package/dist/{index-CD_22Kly.js → index-BnU2pweJ.js} +810 -810
  23. package/dist/{index-D1Vz4RR4.js → index-CBqS2uRV.js} +1 -1
  24. package/dist/{index-BO_i54up.js → index-CMl0v9KN.js} +1 -1
  25. package/dist/{index-CqHV-UqZ.js → index-eW-bur4D.js} +1 -1
  26. package/dist/{index-4WCrMAZE.js → index-edR0IH2v.js} +1 -1
  27. package/dist/{index-AW-HP_R7.js → index-gG4wgVTV.js} +1 -1
  28. package/dist/{index.vue_vue_type_script_setup_true_lang-yFA5HHj5.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-DFumNL6B.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 Fn, useRoute as Bn } from "vue-router";
2
- import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Ft, openBlock as Bt, createBlock as xt, h as jn, onMounted as Hn, onBeforeMount as Vn, unref as Gn } from "vue";
3
- import { useCoreStore as Ge, useI18n as Wn } 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
5
  import { components as Zn } from "@feedmepos/ui-library";
6
6
  const $n = {
7
- select: "Select filter entity",
8
- restaurant: "Restaurant",
9
- device: "Device",
10
- payout_account: "Payout Account"
11
- }, Jn = {
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"
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
- },
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
106
  },
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: $n,
149
- routes: Jn,
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
- table: {
256
- type: "类型",
257
- name: "名称",
258
- status: "状态",
259
- active: "活跃?",
260
- bank: "银行详情",
261
- pic: "负责人 (PIC)"
262
255
  },
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 $n = {
305
309
  sidebarDisplay: "Restaurants",
306
310
  section: "payment-gateway"
307
311
  },
308
- component: () => import("./Restaurant-DuhPwxX3.js")
312
+ component: () => import("./Restaurant-B00xtheA.js")
309
313
  },
310
314
  {
311
315
  path: "/admin/restaurants/:restaurantId",
@@ -314,7 +318,7 @@ const $n = {
314
318
  meta: {
315
319
  parent: "mf-payment-admin.restaurant"
316
320
  },
317
- component: () => import("./RestaurantSetting-BK9u7SCs.js")
321
+ component: () => import("./RestaurantSetting-C4Uswfiq.js")
318
322
  },
319
323
  {
320
324
  path: "/admin/payout-accounts",
@@ -323,7 +327,7 @@ const $n = {
323
327
  sidebarDisplay: "Payout Accounts",
324
328
  section: "payment-gateway"
325
329
  },
326
- component: () => import("./PayoutAccount-DvrLfgt-.js")
330
+ component: () => import("./PayoutAccount-DsQCwRok.js")
327
331
  },
328
332
  {
329
333
  path: "/admin/payout-accounts/:accountId",
@@ -332,7 +336,7 @@ const $n = {
332
336
  meta: {
333
337
  parent: "mf-payment-admin.payout-account"
334
338
  },
335
- component: () => import("./PayoutAccountSetting-Co7DmROR.js")
339
+ component: () => import("./PayoutAccountSetting-DlTlipkR.js")
336
340
  },
337
341
  {
338
342
  path: "/admin/terminal/pos",
@@ -341,7 +345,7 @@ const $n = {
341
345
  sidebarDisplay: "POS",
342
346
  section: "device"
343
347
  },
344
- component: () => import("./Terminal-DC7kec1h.js"),
348
+ component: () => import("./Terminal-D4jCEaVn.js"),
345
349
  props: {
346
350
  type: "POS"
347
351
  }
@@ -353,7 +357,7 @@ const $n = {
353
357
  sidebarDisplay: "Kiosks",
354
358
  section: "device"
355
359
  },
356
- component: () => import("./Terminal-DC7kec1h.js"),
360
+ component: () => import("./Terminal-D4jCEaVn.js"),
357
361
  props: {
358
362
  type: "KIOSK"
359
363
  }
@@ -365,7 +369,7 @@ const $n = {
365
369
  sidebarDisplay: "Terminals",
366
370
  section: "device"
367
371
  },
368
- component: () => import("./Terminal-DC7kec1h.js"),
372
+ component: () => import("./Terminal-D4jCEaVn.js"),
369
373
  props: {
370
374
  type: "TERMINAL"
371
375
  }
@@ -377,7 +381,7 @@ const $n = {
377
381
  meta: {
378
382
  parent: "mf-payment-admin.pos"
379
383
  },
380
- component: () => import("./TerminalSetting-uqU8wLtE.js")
384
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
381
385
  },
382
386
  {
383
387
  path: "/admin/terminal/kiosk/:terminalId",
@@ -386,7 +390,7 @@ const $n = {
386
390
  meta: {
387
391
  parent: "mf-payment-admin.kiosk"
388
392
  },
389
- component: () => import("./TerminalSetting-uqU8wLtE.js")
393
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
390
394
  },
391
395
  {
392
396
  path: "/admin/terminal/terminal/:terminalId",
@@ -395,7 +399,7 @@ const $n = {
395
399
  meta: {
396
400
  parent: "mf-payment-admin.terminal"
397
401
  },
398
- component: () => import("./TerminalSetting-uqU8wLtE.js")
402
+ component: () => import("./TerminalSetting-PK0CIFIv.js")
399
403
  },
400
404
  {
401
405
  path: "/admin/transaction",
@@ -403,7 +407,7 @@ const $n = {
403
407
  meta: {
404
408
  sidebarDisplay: "Transactions"
405
409
  },
406
- component: () => import("./Transaction-vVo3tggm.js")
410
+ component: () => import("./Transaction-B-gOcc81.js")
407
411
  },
408
412
  {
409
413
  path: "/admin/settlement",
@@ -411,7 +415,7 @@ const $n = {
411
415
  meta: {
412
416
  sidebarDisplay: "Settlements"
413
417
  },
414
- component: () => import("./Settlement-Ce_tmrSE.js")
418
+ component: () => import("./Settlement-CsuI5viX.js")
415
419
  },
416
420
  {
417
421
  path: "/admin/settlement/:settlementId",
@@ -420,7 +424,7 @@ const $n = {
420
424
  meta: {
421
425
  parent: "mf-payment-admin.settlement"
422
426
  },
423
- component: () => import("./SettlementTransactions-D7UHmaaD.js")
427
+ component: () => import("./SettlementTransactions-CwFD7ZNW.js")
424
428
  }
425
429
  ], We = [
426
430
  {
@@ -430,46 +434,46 @@ const $n = {
430
434
  {
431
435
  path: "/payout-account",
432
436
  name: "mf-payment-payout-account",
433
- component: () => import("./PayoutAccount-B4YLzVpp.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-sUH_2SAc.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-DSOyeHAf.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-Sl3sl0jF.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-CuHc2CZz.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 $n = {
481
485
  init: t
482
486
  };
483
487
  });
484
- var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_bb0696fd-89f2-49be-8078-5c242205c987", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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_pQEQ9P4v4moElPJbVTYoJcZa0rSPzH1zjTxe", 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: "710", npm_package_dependencies_moment: "^2.29.4", npm_package_dependencies_dotenv: "^16.0.3", npm_package_dependencies__feedmepos_ui_library: "^1.3.9", npm_package_scripts_postinstall: "yarn --cwd .. && yarn --cwd ../package/common && yarn --cwd ../package/entity", npm_config_feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_description: 'Development always based on production and add "-beta.version" in behind. Every deployment from development to production will increment based on semantic versioninig.', npm_package_devDependencies_typescript: "~5.4.0", npm_package_devDependencies_tailwindcss: "^3.4.14", npm_package_dependencies_i18next: "^21.8.8", npm_package_dependencies__casl_ability: "^3.2.0", npm_package_scripts_build_only_dev: "yarn build:mf:dev && yarn build:dts && yarn build-types && cp package.json ./dist", NVM_DIR: "/home/runner/.nvm", npm_package_readmeFilename: "README.md", npm_package_devDependencies_vue_tsc: "^2.0.11", npm_package_devDependencies__babel_preset_env: "^7.22.10", npm_package_dependencies_xlsx: "^0.18.5", npm_package_dependencies_google_maps: "^4.3.3", npm_package_scripts_build_only_prod: "yarn build:mf:prod && yarn build:dts && yarn build-types && cp package.json ./dist", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "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:6020", 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: "14572133842", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "1aaca9cb32f1ce2f32662ae8915aa5f4b47695fb", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YjM2ZTZiOTAtYTZiNC00MGEyLWJjOGMtZmI2NDcyZjY3Mjg1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkwIERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YjM2ZTZiOTAtYTZiNC00MGEyLWJjOGMtZmI2NDcyZjY3Mjg1OmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDkwIiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMTI1ZGE5YTgtYTdhNS00Mjk3LThkYjYtMzBiOTc5MDYxYjczIiwic2lkIjoiYTU2NTcxYmItMzZiZi00NTU1LTg2ODUtN2E2ODI1ODY1MTQ2IiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjFhYWNhOWNiMzJmMWNlMmYzMjY2MmFlODkxNWFhNWY0YjQ3Njk1ZmJcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQ1NzIxMzM4NDJcIixcInJ1bl9udW1iZXJcIjpcIjE3MFwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCIxYWFjYTljYjMyZjFjZTJmMzI2NjJhZTg5MTVhYTVmNGI0NzY5NWZiXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCIxYWFjYTljYjMyZjFjZTJmMzI2NjJhZTg5MTVhYTVmNGI0NzY5NWZiXCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJiMzZlNmI5MC1hNmI0LTQwYTItYmM4Yy1mYjY0NzJmNjcyODUuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDUyMzE3MDYsImV4cCI6MTc0NTI1NDUwNn0.isMpJuFWb6BuUGCvulGXr1j7MhoZnVXG6ZfmJX5ezjVSpoQU7hmXquFVMhSBBuOL4w9KEQnXeFX1Kj0NcMhPQTpf9OFECzyZFwpxqq8dUyYDt4yiAE-JNk-Y-RPhOmwyXcI-fhw43viCwceQW1WxbdvN9l15XcMEli6W42loIifFj7oddpxHSqtk_8xDQiap3OMRuatzUT77t9ugsf9UdEne-a0oS7LQyn-F1Gf0abxSwJ6L5Bg85UOMB-beA7LjCB_lDNQ54iFtmJTxjKpCHyqPcGcclug276fPw-LTcwIqHfVhsJCZOhVmHpyVFHWNNsXgayn9QZUEC4AO_xlT2Q", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1745232359807-0.21227032130548773:/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--1745232359650-0.1411747914554009:/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--1745232359494-0.677977813154766:/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_1a48fbb1-4d70-493f-9e91-d622958c6013", INVOCATION_ID: "2786342c6cd34774a2a13ef922190d8e", 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: "170", 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 89", 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.9-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: "1aaca9cb32f1ce2f32662ae8915aa5f4b47695fb", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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/b36e6b90-a6b4-40a2-bc8c-fb6472f67285/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_bb0696fd-89f2-49be-8078-5c242205c987", 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_bb0696fd-89f2-49be-8078-5c242205c987", 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" };
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 jt = 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 jt = 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; ) {
@@ -585,8 +589,8 @@ const jt = function(n) {
585
589
  const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
586
590
  for (let i = 0; i < n.length; i += 3) {
587
591
  const s = n[i], a = i + 1 < n.length, c = a ? n[i + 1] : 0, o = i + 2 < n.length, l = o ? n[i + 2] : 0, d = s >> 2, h = (s & 3) << 4 | c >> 4;
588
- let f = (c & 15) << 2 | l >> 6, v = l & 63;
589
- o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
592
+ let m = (c & 15) << 2 | l >> 6, v = l & 63;
593
+ o || (v = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[v]);
590
594
  }
591
595
  return r.join("");
592
596
  },
@@ -599,7 +603,7 @@ const jt = 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(jt(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 jt = 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 jt = 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();
641
- const f = s << 2 | c >> 4;
642
- if (r.push(f), l !== 64) {
644
+ throw new Qn();
645
+ const m = s << 2 | c >> 4;
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 B = l << 6 & 192 | h;
646
- r.push(B);
649
+ const F = l << 6 & 192 | h;
650
+ r.push(F);
647
651
  }
648
652
  }
649
653
  }
@@ -662,16 +666,16 @@ const jt = 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 = jt(n);
674
+ const er = function(n) {
675
+ const e = Gt(n);
672
676
  return Ht.encodeByteArray(e, !0);
673
677
  }, de = function(n) {
674
- return cr(n).replace(/\./g, "");
678
+ return er(n).replace(/\./g, "");
675
679
  }, Vt = function(n) {
676
680
  try {
677
681
  return Ht.decodeString(n, !0);
@@ -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;
@@ -740,16 +744,16 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
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
- }, Gt = (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
- }, Wa = (n) => {
752
- const e = Gt(n);
755
+ }, Ua = (n) => {
756
+ const e = jt(n);
753
757
  if (!e)
754
758
  return;
755
759
  const t = e.lastIndexOf(":");
@@ -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 = {
@@ -861,36 +865,36 @@ function za(n, e) {
861
865
  * See the License for the specific language governing permissions and
862
866
  * limitations under the License.
863
867
  */
864
- function m() {
868
+ function f() {
865
869
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
866
870
  }
867
- function fr() {
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
- !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
874
+ !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
871
875
  }
872
- function mr() {
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() {
883
- const n = m();
886
+ function dr() {
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 kr(n, e) {
1002
- const t = new Rr(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 Rr {
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 Rr {
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"
@@ -1086,7 +1090,7 @@ class Rr {
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)
@@ -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 (Cr(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 Cr(n) {
1335
+ function Er(n) {
1332
1336
  return n.instantiationMode === "EAGER";
1333
1337
  }
1334
1338
  /**
@@ -1347,7 +1351,7 @@ function Cr(n) {
1347
1351
  * See the License for the specific language governing permissions and
1348
1352
  * limitations under the License.
1349
1353
  */
1350
- class Nr {
1354
+ class Tr {
1351
1355
  constructor(e) {
1352
1356
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1353
1357
  }
@@ -1379,7 +1383,7 @@ class Nr {
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,23 +1410,23 @@ 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
@@ -1436,7 +1440,7 @@ class Zt {
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 Zt {
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 Zt {
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 Fr() {
1492
+ function Or() {
1489
1493
  return lt || (lt = [
1490
1494
  IDBDatabase,
1491
1495
  IDBObjectStore,
@@ -1494,7 +1498,7 @@ function Fr() {
1494
1498
  IDBTransaction
1495
1499
  ]);
1496
1500
  }
1497
- function Br() {
1501
+ function Nr() {
1498
1502
  return dt || (dt = [
1499
1503
  IDBCursor.prototype.advance,
1500
1504
  IDBCursor.prototype.continue,
@@ -1502,12 +1506,12 @@ function Br() {
1502
1506
  ]);
1503
1507
  }
1504
1508
  const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
1505
- function xr(n) {
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(N(n.result)), i();
1514
+ t(D(n.result)), i();
1511
1515
  }, a = () => {
1512
1516
  r(n.error), i();
1513
1517
  };
@@ -1518,7 +1522,7 @@ function xr(n) {
1518
1522
  }).catch(() => {
1519
1523
  }), Ze.set(e, n), e;
1520
1524
  }
1521
- function jr(n) {
1525
+ function Cr(n) {
1522
1526
  if (Le.has(n))
1523
1527
  return;
1524
1528
  const e = new Promise((t, r) => {
@@ -1543,7 +1547,7 @@ let Ue = {
1543
1547
  if (e === "store")
1544
1548
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1545
1549
  }
1546
- return N(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 Hr(n) {
1559
+ function Pr(n) {
1556
1560
  Ue = n(Ue);
1557
1561
  }
1558
- function Vr(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 Jt.set(r, e.sort ? e.sort() : [e]), N(r);
1562
- } : Br().includes(n) ? function(...e) {
1563
- return n.apply(Ae(this), e), N($t.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 N(n.apply(Ae(this), e));
1569
+ return D(n.apply(Ae(this), e));
1566
1570
  };
1567
1571
  }
1568
- function Gr(n) {
1569
- return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Fr()) ? 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 N(n) {
1575
+ function D(n) {
1572
1576
  if (n instanceof IDBRequest)
1573
- return xr(n);
1577
+ return Dr(n);
1574
1578
  if (Se.has(n))
1575
1579
  return Se.get(n);
1576
- const e = Gr(n);
1580
+ const e = Lr(n);
1577
1581
  return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
1578
1582
  }
1579
1583
  const Ae = (n) => Ze.get(n);
1580
- function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1581
- const a = indexedDB.open(n, e), c = N(a);
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(N(a.result), o.oldVersion, o.newVersion, N(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 Wr(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"], Zr = ["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 = Zr.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
- Hr((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 @@ Hr((n) => ({
1634
1638
  * See the License for the specific language governing permissions and
1635
1639
  * limitations under the License.
1636
1640
  */
1637
- class $r {
1641
+ class xr {
1638
1642
  constructor(e) {
1639
1643
  this.container = e;
1640
1644
  }
@@ -1642,7 +1646,7 @@ class $r {
1642
1646
  // auth token refresh, and installations will send this string.
1643
1647
  getPlatformInfoString() {
1644
1648
  return this.container.getProviders().map((t) => {
1645
- if (Jr(t)) {
1649
+ if (Gr(t)) {
1646
1650
  const r = t.getImmediate();
1647
1651
  return `${r.library}/${r.version}`;
1648
1652
  } else
@@ -1650,11 +1654,11 @@ class $r {
1650
1654
  }).filter((t) => t).join(" ");
1651
1655
  }
1652
1656
  }
1653
- function Jr(n) {
1657
+ function Gr(n) {
1654
1658
  const e = n.getComponent();
1655
1659
  return (e == null ? void 0 : e.type) === "VERSION";
1656
1660
  }
1657
- const Fe = "@firebase/app", ht = "0.10.13";
1661
+ const Be = "@firebase/app", ht = "0.10.13";
1658
1662
  /**
1659
1663
  * @license
1660
1664
  * Copyright 2019 Google LLC
@@ -1671,7 +1675,7 @@ const Fe = "@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 Zt("@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", fi = "@firebase/remote-config-compat", mi = "@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 Zt("@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 Be = "[DEFAULT]", Ei = {
1692
- [Fe]: "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
- [fi]: "fire-rc-compat",
1713
- [mi]: "fire-gcs",
1714
- [_i]: "fire-gcs-compat",
1715
- [gi]: "fire-fst",
1716
- [Ii]: "fire-fst-compat",
1717
- [vi]: "fire-vertex",
1695
+ const Fe = "[DEFAULT]", mi = {
1696
+ [Be]: "fire-core",
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 Be = "[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(), xe = /* @__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);
@@ -1749,7 +1753,7 @@ function Y(n) {
1749
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,7 +1812,7 @@ const wi = {
1808
1812
  * See the License for the specific language governing permissions and
1809
1813
  * limitations under the License.
1810
1814
  */
1811
- class ki {
1815
+ class gi {
1812
1816
  constructor(e, t, r) {
1813
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",
@@ -1847,7 +1851,7 @@ class ki {
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 ki {
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: Be, 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
1882
  if (t || (t = Wt()), !t)
1879
- throw D.create(
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 Nr(i);
1893
+ const a = new Tr(i);
1890
1894
  for (const o of xe.values())
1891
1895
  a.addComponent(o);
1892
- const c = new ki(t, r, a);
1896
+ const c = new gi(t, r, a);
1893
1897
  return he.set(i, c), c;
1894
1898
  }
1895
- function Ri(n = Be) {
1899
+ function vi(n = Fe) {
1896
1900
  const e = he.get(n);
1897
- if (!e && n === Be && Wt())
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 j(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) {
@@ -1935,10 +1939,10 @@ function j(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";
1939
- let Ce = null;
1942
+ const Ii = "firebase-heartbeat-database", bi = 1, X = "firebase-heartbeat-store";
1943
+ let Ne = null;
1940
1944
  function Kt() {
1941
- return Ce || (Ce = Wr(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
- })), Ce;
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,14 +1967,14 @@ 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);
1970
1974
  }
1971
1975
  }
1972
1976
  }
1973
- async function ft(n, e) {
1977
+ async function mt(n, e) {
1974
1978
  try {
1975
1979
  const r = (await Kt()).transaction(X, "readwrite");
1976
1980
  await r.objectStore(X).put(e, qt(n)), await r.done;
@@ -1978,7 +1982,7 @@ async function ft(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 Ci = 1024, Ni = 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
@@ -2021,10 +2025,10 @@ class Di {
2021
2025
  async triggerHeartbeat() {
2022
2026
  var e, t;
2023
2027
  try {
2024
- const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
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 <= Ni;
2031
+ return Date.now() - c <= Ti;
2028
2032
  }), this._storage.overwrite(this._heartbeatsCache));
2029
2033
  } catch (r) {
2030
2034
  T.warn(r);
@@ -2042,17 +2046,17 @@ 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 = mt(), { 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), "";
2049
2053
  }
2050
2054
  }
2051
2055
  }
2052
- function mt() {
2056
+ function ft() {
2053
2057
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
2054
2058
  }
2055
- function Pi(n, e = Ci) {
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 = Ci) {
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: [] };
@@ -2098,7 +2102,7 @@ class Mi {
2098
2102
  var t;
2099
2103
  if (await this._canUseIndexedDBPromise) {
2100
2104
  const i = await this.read();
2101
- return ft(this.app, {
2105
+ return mt(this.app, {
2102
2106
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2103
2107
  heartbeats: e.heartbeats
2104
2108
  });
@@ -2110,7 +2114,7 @@ class Mi {
2110
2114
  var t;
2111
2115
  if (await this._canUseIndexedDBPromise) {
2112
2116
  const i = await this.read();
2113
- return ft(this.app, {
2117
+ return mt(this.app, {
2114
2118
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2115
2119
  heartbeats: [
2116
2120
  ...i.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) {
2150
+ function Si(n) {
2147
2151
  Y(new W(
2148
2152
  "platform-logger",
2149
- (e) => new $r(e),
2153
+ (e) => new xr(e),
2150
2154
  "PRIVATE"
2151
2155
  /* ComponentType.PRIVATE */
2152
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
- )), j(Fe, ht, n), j(Fe, ht, "esm2017"), j("fire-js", "");
2161
+ )), G(Be, ht, n), G(Be, ht, "esm2017"), G("fire-js", "");
2158
2162
  }
2159
- Li("");
2160
- var Ui = "firebase", Fi = "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", Fi = "10.14.1";
2174
2178
  * See the License for the specific language governing permissions and
2175
2179
  * limitations under the License.
2176
2180
  */
2177
- j(Ui, Fi, "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++) {
@@ -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 Bi = 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
@@ -2215,7 +2219,7 @@ const Bi = Qt, en = new q("auth", "Firebase", Qt());
2215
2219
  * limitations under the License.
2216
2220
  */
2217
2221
  const pe = new Zt("@firebase/auth");
2218
- function xi(n, ...e) {
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) {
@@ -2244,7 +2248,7 @@ function _(n, ...e) {
2244
2248
  return Je(n, ...e);
2245
2249
  }
2246
2250
  function tn(n, e, t) {
2247
- const r = Object.assign(Object.assign({}, Bi()), { [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
  });
@@ -2286,11 +2290,11 @@ function k(n, e) {
2286
2290
  * See the License for the specific language governing permissions and
2287
2291
  * limitations under the License.
2288
2292
  */
2289
- function je() {
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 ji() {
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 Hi() {
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
- (ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
2326
+ (Ci() || cr() || "connection" in navigator) ? navigator.onLine : !0;
2323
2327
  }
2324
- function Vi() {
2328
+ function Mi() {
2325
2329
  if (typeof navigator > "u")
2326
2330
  return null;
2327
2331
  const n = navigator;
@@ -2351,10 +2355,10 @@ function Vi() {
2351
2355
  */
2352
2356
  class te {
2353
2357
  constructor(e, t) {
2354
- this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || 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 Hi() ? 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
  /**
@@ -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 Gi = {
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,7 +2543,7 @@ const Gi = {
2539
2543
  * See the License for the specific language governing permissions and
2540
2544
  * limitations under the License.
2541
2545
  */
2542
- const Wi = 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
  }
@@ -2561,14 +2565,14 @@ async function Z(n, e, t, r, i = {}) {
2561
2565
  method: e,
2562
2566
  headers: o
2563
2567
  }, s);
2564
- return mr() || (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({}, Gi), 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
  ]);
@@ -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
- )), Wi.get());
2621
+ )), Ui.get());
2618
2622
  });
2619
2623
  }
2620
2624
  clearNetworkTimeout() {
@@ -2645,7 +2649,7 @@ 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 Zi(n, e) {
2652
+ async function Fi(n, e) {
2649
2653
  return Z(n, "POST", "/v1/accounts:delete", e);
2650
2654
  }
2651
2655
  async function on(n, e) {
@@ -2676,7 +2680,7 @@ function J(n) {
2676
2680
  } catch {
2677
2681
  }
2678
2682
  }
2679
- async function $i(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 $i(n, e = !1) {
2688
2692
  return {
2689
2693
  claims: i,
2690
2694
  token: r,
2691
- authTime: J(Ne(i.auth_time)),
2692
- issuedAtTime: J(Ne(i.iat)),
2693
- expirationTime: J(Ne(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 Ne(n) {
2702
+ function De(n) {
2699
2703
  return Number(n) * 1e3;
2700
2704
  }
2701
2705
  function Xe(n) {
@@ -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 && Ji(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 Ji({ 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 Ji({ 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
  }
@@ -2864,7 +2868,7 @@ class He {
2864
2868
  * See the License for the specific language governing permissions and
2865
2869
  * limitations under the License.
2866
2870
  */
2867
- async function fe(n) {
2871
+ async function me(n) {
2868
2872
  var e;
2869
2873
  const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
2870
2874
  u(
@@ -2875,7 +2879,7 @@ async function fe(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,
@@ -2889,11 +2893,11 @@ async function fe(n) {
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
- await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
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) {
@@ -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,7 +2950,7 @@ async function qi(n, e) {
2946
2950
  refreshToken: t.refresh_token
2947
2951
  };
2948
2952
  }
2949
- async function Qi(n, e) {
2953
+ async function zi(n, e) {
2950
2954
  return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2951
2955
  }
2952
2956
  /**
@@ -3010,7 +3014,7 @@ class H {
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) {
@@ -3065,7 +3069,7 @@ function R(n, e) {
3065
3069
  class y {
3066
3070
  constructor(e) {
3067
3071
  var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(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 He(s.createdAt || void 0, s.lastLoginAt || void 0);
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 $i(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(
@@ -3113,13 +3117,13 @@ class y {
3113
3117
  }
3114
3118
  async _updateTokensIfNecessary(e, t = !1) {
3115
3119
  let r = !1;
3116
- e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await fe(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
3120
+ e.idToken && e.idToken !== this.stsTokenManager.accessToken && (this.stsTokenManager.updateFromServerResponse(e), r = !0), t && await me(this), await this.auth._persistUserIfCurrent(this), r && this.auth._notifyListenersIfCurrent(this);
3117
3121
  }
3118
3122
  async delete() {
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, Zi(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,7 +3151,7 @@ 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, f = (i = t.email) !== null && i !== void 0 ? i : void 0, v = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, B = (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,
@@ -3160,7 +3164,7 @@ class y {
3160
3164
  e,
3161
3165
  "internal-error"
3162
3166
  /* AuthErrorCode.INTERNAL_ERROR */
3163
- ), R(h, e.name), R(f, 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,15 +3174,15 @@ class y {
3170
3174
  e,
3171
3175
  "internal-error"
3172
3176
  /* AuthErrorCode.INTERNAL_ERROR */
3173
- ), R(v, e.name), R(B, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
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);
3174
3178
  const ke = new y({
3175
3179
  uid: Te,
3176
3180
  auth: e,
3177
- email: f,
3181
+ email: m,
3178
3182
  emailVerified: it,
3179
3183
  displayName: h,
3180
3184
  isAnonymous: st,
3181
- photoURL: B,
3185
+ photoURL: F,
3182
3186
  phoneNumber: v,
3183
3187
  tenantId: tt,
3184
3188
  stsTokenManager: Pn,
@@ -3201,7 +3205,7 @@ class y {
3201
3205
  stsTokenManager: i,
3202
3206
  isAnonymous: r
3203
3207
  });
3204
- return await fe(s), s;
3208
+ return await me(s), s;
3205
3209
  }
3206
3210
  /**
3207
3211
  * Initialize a User from an idToken server response
@@ -3407,7 +3411,7 @@ function Et(n) {
3407
3411
  return "Firefox";
3408
3412
  if (e.includes("silk/"))
3409
3413
  return "Silk";
3410
- if (mn(e))
3414
+ if (fn(e))
3411
3415
  return "Blackberry";
3412
3416
  if (_n(e))
3413
3417
  return "Webos";
@@ -3415,7 +3419,7 @@ function Et(n) {
3415
3419
  return "Safari";
3416
3420
  if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
3417
3421
  return "Chrome";
3418
- if (fn(e))
3422
+ if (mn(e))
3419
3423
  return "Android";
3420
3424
  {
3421
3425
  const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
@@ -3424,40 +3428,40 @@ function Et(n) {
3424
3428
  }
3425
3429
  return "Other";
3426
3430
  }
3427
- function dn(n = m()) {
3431
+ function dn(n = f()) {
3428
3432
  return /firefox\//i.test(n);
3429
3433
  }
3430
- function un(n = m()) {
3434
+ function un(n = f()) {
3431
3435
  const e = n.toLowerCase();
3432
3436
  return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
3433
3437
  }
3434
- function hn(n = m()) {
3438
+ function hn(n = f()) {
3435
3439
  return /crios\//i.test(n);
3436
3440
  }
3437
- function pn(n = m()) {
3441
+ function pn(n = f()) {
3438
3442
  return /iemobile/i.test(n);
3439
3443
  }
3440
- function fn(n = m()) {
3444
+ function mn(n = f()) {
3441
3445
  return /android/i.test(n);
3442
3446
  }
3443
- function mn(n = m()) {
3447
+ function fn(n = f()) {
3444
3448
  return /blackberry/i.test(n);
3445
3449
  }
3446
- function _n(n = m()) {
3450
+ function _n(n = f()) {
3447
3451
  return /webos/i.test(n);
3448
3452
  }
3449
- function Ke(n = m()) {
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 = m()) {
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
- function gn(n = m()) {
3460
- return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
3463
+ function gn(n = f()) {
3464
+ return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
3461
3465
  }
3462
3466
  /**
3463
3467
  * @license
@@ -3479,10 +3483,10 @@ function vn(n, e = []) {
3479
3483
  let t;
3480
3484
  switch (n) {
3481
3485
  case "Browser":
3482
- t = Et(m());
3486
+ t = Et(f());
3483
3487
  break;
3484
3488
  case "Worker":
3485
- t = `${Et(m())}-${n}`;
3489
+ t = `${Et(f())}-${n}`;
3486
3490
  break;
3487
3491
  default:
3488
3492
  t = 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,7 +3565,7 @@ 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 = {}) {
3568
+ async function Yi(n, e = {}) {
3565
3569
  return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
3566
3570
  }
3567
3571
  /**
@@ -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,9 +3672,9 @@ 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 () => {
@@ -3756,7 +3760,7 @@ class as {
3756
3760
  }
3757
3761
  async reloadAndSetCurrentUserOrClear(e) {
3758
3762
  try {
3759
- await fe(e);
3763
+ await me(e);
3760
3764
  } catch (t) {
3761
3765
  if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
3762
3766
  return this.directlySetCurrentUser(null);
@@ -3764,7 +3768,7 @@ class as {
3764
3768
  return this.directlySetCurrentUser(e);
3765
3769
  }
3766
3770
  useDeviceLanguage() {
3767
- this.languageCode = Vi();
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() {
@@ -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 && xi(`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 = kr((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 } = fs(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
- }), ms();
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 fs(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 ms() {
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 G(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 G(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;
@@ -4259,21 +4263,21 @@ class U extends bn {
4259
4263
  /** @internal */
4260
4264
  _getIdTokenResponse(e) {
4261
4265
  const t = this.buildRequest();
4262
- return G(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, G(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, G(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)
@@ -4600,7 +4604,7 @@ O.PROVIDER_ID = "github.com";
4600
4604
  * See the License for the specific language governing permissions and
4601
4605
  * limitations under the License.
4602
4606
  */
4603
- class C extends ne {
4607
+ class N extends ne {
4604
4608
  constructor() {
4605
4609
  super(
4606
4610
  "twitter.com"
@@ -4615,8 +4619,8 @@ class C extends ne {
4615
4619
  */
4616
4620
  static credential(e, t) {
4617
4621
  return U._fromParams({
4618
- providerId: C.PROVIDER_ID,
4619
- signInMethod: C.TWITTER_SIGN_IN_METHOD,
4622
+ providerId: N.PROVIDER_ID,
4623
+ signInMethod: N.TWITTER_SIGN_IN_METHOD,
4620
4624
  oauthToken: e,
4621
4625
  oauthTokenSecret: t
4622
4626
  });
@@ -4627,7 +4631,7 @@ class C extends ne {
4627
4631
  * @param userCredential - The user credential.
4628
4632
  */
4629
4633
  static credentialFromResult(e) {
4630
- return C.credentialFromTaggedObject(e);
4634
+ return N.credentialFromTaggedObject(e);
4631
4635
  }
4632
4636
  /**
4633
4637
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4636,7 +4640,7 @@ class C extends ne {
4636
4640
  * @param userCredential - The user credential.
4637
4641
  */
4638
4642
  static credentialFromError(e) {
4639
- return C.credentialFromTaggedObject(e.customData || {});
4643
+ return N.credentialFromTaggedObject(e.customData || {});
4640
4644
  }
4641
4645
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4642
4646
  if (!e)
@@ -4645,14 +4649,14 @@ class C extends ne {
4645
4649
  if (!t || !r)
4646
4650
  return null;
4647
4651
  try {
4648
- return C.credential(t, r);
4652
+ return N.credential(t, r);
4649
4653
  } catch {
4650
4654
  return null;
4651
4655
  }
4652
4656
  }
4653
4657
  }
4654
- C.TWITTER_SIGN_IN_METHOD = "twitter.com";
4655
- C.PROVIDER_ID = "twitter.com";
4658
+ N.TWITTER_SIGN_IN_METHOD = "twitter.com";
4659
+ N.PROVIDER_ID = "twitter.com";
4656
4660
  /**
4657
4661
  * @license
4658
4662
  * Copyright 2020 Google LLC
@@ -4669,13 +4673,13 @@ C.PROVIDER_ID = "twitter.com";
4669
4673
  * See the License for the specific language governing permissions and
4670
4674
  * limitations under the License.
4671
4675
  */
4672
- class F {
4676
+ class B {
4673
4677
  constructor(e) {
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
4681
  const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
4678
- return new F({
4682
+ return new B({
4679
4683
  user: s,
4680
4684
  providerId: a,
4681
4685
  _tokenResponse: r,
@@ -4689,7 +4693,7 @@ class F {
4689
4693
  !0
4690
4694
  );
4691
4695
  const i = kt(r);
4692
- return new F({
4696
+ return new B({
4693
4697
  user: e,
4694
4698
  providerId: i,
4695
4699
  _tokenResponse: r,
@@ -4716,10 +4720,10 @@ function kt(n) {
4716
4720
  * See the License for the specific language governing permissions and
4717
4721
  * limitations under the License.
4718
4722
  */
4719
- class me extends M {
4723
+ class fe extends M {
4720
4724
  constructor(e, t, r, i) {
4721
4725
  var s;
4722
- super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
4726
+ super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
4723
4727
  appName: e.name,
4724
4728
  tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
4725
4729
  _serverResponse: t.customData._serverResponse,
@@ -4727,17 +4731,17 @@ class me extends M {
4727
4731
  };
4728
4732
  }
4729
4733
  static _fromErrorAndOperation(e, t, r, i) {
4730
- return new me(e, t, r, i);
4734
+ return new fe(e, t, r, i);
4731
4735
  }
4732
4736
  }
4733
4737
  function En(n, e, t, r) {
4734
4738
  return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
4735
- throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
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
- return F._forOperation(n, "link", r);
4744
+ return B._forOperation(n, "link", r);
4741
4745
  }
4742
4746
  /**
4743
4747
  * @license
@@ -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));
@@ -4781,7 +4785,7 @@ async function vs(n, e, t = !1) {
4781
4785
  r,
4782
4786
  "user-mismatch"
4783
4787
  /* AuthErrorCode.USER_MISMATCH */
4784
- ), F._forOperation(n, i, s);
4788
+ ), B._forOperation(n, i, s);
4785
4789
  } catch (s) {
4786
4790
  throw (s == null ? void 0 : s.code) === "auth/user-not-found" && w(
4787
4791
  r,
@@ -4806,10 +4810,10 @@ 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
- const r = "signIn", i = await En(n, r, e), s = await F._fromIdTokenResponse(n, r, i);
4816
+ const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
4813
4817
  return t || await n._updateCurrentUser(s.user), s;
4814
4818
  }
4815
4819
  /**
@@ -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
- }), i = await F._fromIdTokenResponse(t, "signIn", r);
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, ks = 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, ks) : 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 Rs = wn;
5007
+ const vs = wn;
5004
5008
  /**
5005
5009
  * @license
5006
5010
  * Copyright 2020 Google LLC
@@ -5048,7 +5052,7 @@ const Rn = kn;
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
  }
@@ -5231,9 +5235,9 @@ class As {
5231
5235
  a = {
5232
5236
  messageChannel: i,
5233
5237
  onMessage(h) {
5234
- const f = h;
5235
- if (f.data.eventId === l)
5236
- switch (f.data.status) {
5238
+ const m = h;
5239
+ if (m.data.eventId === l)
5240
+ switch (m.data.status) {
5237
5241
  case "ack":
5238
5242
  clearTimeout(d), s = setTimeout(
5239
5243
  () => {
@@ -5247,7 +5251,7 @@ class As {
5247
5251
  );
5248
5252
  break;
5249
5253
  case "done":
5250
- clearTimeout(s), c(f.data.response);
5254
+ clearTimeout(s), c(m.data.response);
5251
5255
  break;
5252
5256
  default:
5253
5257
  clearTimeout(d), clearTimeout(s), o(new Error(
@@ -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 Cs() {
5315
+ async function Es() {
5312
5316
  if (!(navigator != null && navigator.serviceWorker))
5313
5317
  return null;
5314
5318
  try {
@@ -5317,11 +5321,11 @@ async function Cs() {
5317
5321
  return null;
5318
5322
  }
5319
5323
  }
5320
- function Ns() {
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
5369
  function Ve() {
5366
- const n = indexedDB.open(An, Ps);
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,7 +5380,7 @@ function Ve() {
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 Ve()));
5383
+ r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Rs(), e(await Ve()));
5380
5384
  });
5381
5385
  });
5382
5386
  }
@@ -5387,7 +5391,7 @@ async function Rt(n, e, 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,8 +5399,8 @@ 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, Fs = 3;
5399
- class Cn {
5402
+ const As = 800, Os = 3;
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(() => {
5402
5406
  }, () => {
@@ -5412,7 +5416,7 @@ class Cn {
5412
5416
  const r = await this._openDb();
5413
5417
  return await e(r);
5414
5418
  } catch (r) {
5415
- if (t++ > Fs)
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 Cn {
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 Cn {
5444
5448
  */
5445
5449
  async initializeSender() {
5446
5450
  var e, t;
5447
- if (this.activeServiceWorker = await Cs(), !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 Cn {
5468
5472
  * @param key - Storage key which changed.
5469
5473
  */
5470
5474
  async notifyServiceWorker(e) {
5471
- if (!(!this.sender || !this.activeServiceWorker || Ns() !== this.activeServiceWorker))
5475
+ if (!(!this.sender || !this.activeServiceWorker || Ts() !== this.activeServiceWorker))
5472
5476
  try {
5473
5477
  await this.sender._send(
5474
5478
  "keyChanged",
@@ -5502,7 +5506,7 @@ class Cn {
5502
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 Cn {
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);
@@ -5545,8 +5549,8 @@ class Cn {
5545
5549
  this.listeners[e] && (this.listeners[e].delete(t), this.listeners[e].size === 0 && delete this.listeners[e]), Object.keys(this.listeners).length === 0 && this.stopPolling();
5546
5550
  }
5547
5551
  }
5548
- Cn.type = "LOCAL";
5549
- const Bs = Cn;
5552
+ Nn.type = "LOCAL";
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 xs(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 G(e, this._buildIdpRequest());
5604
+ return j(e, this._buildIdpRequest());
5601
5605
  }
5602
5606
  _linkToIdToken(e, t) {
5603
- return G(e, this._buildIdpRequest(t));
5607
+ return j(e, this._buildIdpRequest(t));
5604
5608
  }
5605
5609
  _getReauthenticationResolver(e) {
5606
- return G(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 js(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 Hs(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 Vs(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 Vs(n) {
5655
5659
  * See the License for the specific language governing permissions and
5656
5660
  * limitations under the License.
5657
5661
  */
5658
- class Nn {
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 Nn {
5697
5701
  switch (e) {
5698
5702
  case "signInViaPopup":
5699
5703
  case "signInViaRedirect":
5700
- return js;
5704
+ return Cs;
5701
5705
  case "linkViaPopup":
5702
5706
  case "linkViaRedirect":
5703
- return Vs;
5707
+ return Ms;
5704
5708
  case "reauthViaPopup":
5705
5709
  case "reauthViaRedirect":
5706
- return Hs;
5710
+ return Ps;
5707
5711
  default:
5708
5712
  w(
5709
5713
  this.auth,
@@ -5738,8 +5742,8 @@ class Nn {
5738
5742
  * See the License for the specific language governing permissions and
5739
5743
  * limitations under the License.
5740
5744
  */
5741
- const Gs = new te(2e3, 1e4);
5742
- class x extends Nn {
5745
+ const Ls = new te(2e3, 1e4);
5746
+ class x extends Dn {
5743
5747
  constructor(e, t, r, i, s) {
5744
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
  }
@@ -5802,7 +5806,7 @@ class x extends Nn {
5802
5806
  );
5803
5807
  return;
5804
5808
  }
5805
- this.pollId = window.setTimeout(e, Gs.get());
5809
+ this.pollId = window.setTimeout(e, Ls.get());
5806
5810
  };
5807
5811
  e();
5808
5812
  }
@@ -5824,8 +5828,8 @@ x.currentPopupAction = null;
5824
5828
  * See the License for the specific language governing permissions and
5825
5829
  * limitations under the License.
5826
5830
  */
5827
- const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5828
- class zs extends Nn {
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 Nn {
5843
5847
  let e = oe.get(this.auth._key());
5844
5848
  if (!e) {
5845
5849
  try {
5846
- const r = await Zs(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 Nn {
5871
5875
  cleanUp() {
5872
5876
  }
5873
5877
  }
5874
- async function Zs(n, e) {
5875
- const t = Ys(e), r = Js(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 $s(n, e) {
5885
+ function xs(n, e) {
5882
5886
  oe.set(n._key(), e);
5883
5887
  }
5884
- function Js(n) {
5888
+ function Gs(n) {
5885
5889
  return E(n._redirectPersistence);
5886
5890
  }
5887
- function Ys(n) {
5888
- return ae(Ws, 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 = xs(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,7 +5985,7 @@ 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 = {}) {
5988
+ async function Zs(n, e = {}) {
5985
5989
  return Z(n, "GET", "/v1/projects", e);
5986
5990
  }
5987
5991
  /**
@@ -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 = je(), { 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 fa(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 fa(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 fa(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,13 +6197,13 @@ async function fa(n) {
6193
6197
  * See the License for the specific language governing permissions and
6194
6198
  * limitations under the License.
6195
6199
  */
6196
- const ma = {
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";
6202
- class Ct {
6205
+ }, ca = 500, la = 600, da = "_blank", ua = "http://localhost";
6206
+ class Nt {
6203
6207
  constructor(e) {
6204
6208
  this.window = e, this.associatedEvent = null;
6205
6209
  }
@@ -6211,19 +6215,19 @@ class Ct {
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({}, ma), {
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
- }), l = m().toLowerCase();
6223
- t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
6224
- const d = Object.entries(o).reduce((f, [v, B]) => `${f}${v}=${B},`, "");
6225
- if (es(l) && c !== "_self")
6226
- return ya(e || "", c), new Ct(null);
6226
+ }), l = f().toLowerCase();
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,
@@ -6235,9 +6239,9 @@ function ba(n, e, t, r = _a, i = ga) {
6235
6239
  h.focus();
6236
6240
  } catch {
6237
6241
  }
6238
- return new Ct(h);
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 Nt(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 Nt(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 Nt(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 `${ka(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 ka({ 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,23 +6319,23 @@ function ka({ 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 Ra {
6322
+ const Ce = "webStorageSupport";
6323
+ class va {
6320
6324
  constructor() {
6321
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Xs, this._overrideRedirectResult = $s;
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
6331
  k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6328
- const a = await Nt(e, t, r, je(), i);
6329
- return ba(e, a, Qe());
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 Nt(e, t, r, je(), 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) {
@@ -6346,7 +6350,7 @@ class Ra {
6346
6350
  }), r;
6347
6351
  }
6348
6352
  async initAndGetManager(e) {
6349
- const t = await fa(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 Ra {
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 Ra {
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 = Ra;
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,7 +6465,7 @@ function Oa(n) {
6461
6465
  return;
6462
6466
  }
6463
6467
  }
6464
- function Ca(n) {
6468
+ function Ea(n) {
6465
6469
  Y(new W(
6466
6470
  "auth",
6467
6471
  (e, { options: t }) => {
@@ -6475,8 +6479,8 @@ function Ca(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 */
@@ -6495,14 +6499,14 @@ function Ca(n) {
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
- )), j(Dt, Pt, Oa(n)), j(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 Ca(n) {
6520
6524
  * See the License for the specific language governing permissions and
6521
6525
  * limitations under the License.
6522
6526
  */
6523
- const Na = 5 * 60, Da = zt("authIdTokenMaxAge") || Na;
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 = Ri()) {
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
- Bs,
6545
- Rs,
6548
+ Ns,
6549
+ vs,
6546
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 = Gt("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,30 +6574,30 @@ 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
- Ca(
6584
+ Ea(
6581
6585
  "Browser"
6582
6586
  /* ClientPlatform.BROWSER */
6583
6587
  );
6584
- const Ua = Ln({
6588
+ const Aa = Ln({
6585
6589
  history: Un(),
6586
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
- } = Ge();
6600
+ } = je();
6597
6601
  return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
6598
6602
  const c = $(e, (o) => {
6599
6603
  var l;
@@ -6613,17 +6617,17 @@ Ua.beforeEach(async (n) => {
6613
6617
  })
6614
6618
  ]).then((a) => !0)), Me) : !0;
6615
6619
  });
6616
- const Fa = /* @__PURE__ */ Ut({
6620
+ const Oa = /* @__PURE__ */ Ut({
6617
6621
  __name: "AppSidebar",
6618
6622
  setup(n) {
6619
- const e = Ge(), t = Fn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
6623
+ const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
6620
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
6628
  const s = We.map((l) => {
6625
- var f;
6626
- if (!((f = l.meta) != null && f.sidebarDisplay))
6629
+ var m;
6630
+ if (!((m = l.meta) != null && m.sidebarDisplay))
6627
6631
  return;
6628
6632
  const d = l.meta.sidebarDisplay, h = {
6629
6633
  label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
@@ -6633,7 +6637,7 @@ const Fa = /* @__PURE__ */ Ut({
6633
6637
  return t.push({ name: l.name });
6634
6638
  }
6635
6639
  };
6636
- return l.meta.sidebarNew && (h.badge = () => jn(Zn.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)
@@ -6689,55 +6693,55 @@ const Fa = /* @__PURE__ */ Ut({
6689
6693
  }), l.push(...a)), l;
6690
6694
  });
6691
6695
  return (l, d) => {
6692
- const h = Ft("FmCollapsibleTabs");
6693
- return Bt(), xt(h, {
6696
+ const h = Bt("FmCollapsibleTabs");
6697
+ return Ft(), xt(h, {
6694
6698
  modelValue: i.value,
6695
- "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
6699
+ "onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
6696
6700
  items: o.value,
6697
6701
  class: "py-16 px-8 w-[240px]"
6698
6702
  }, null, 8, ["modelValue", "items"]);
6699
6703
  };
6700
6704
  }
6701
6705
  });
6702
- var Ba = { 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" };
6703
- const Za = /* @__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 = Ge(), r = Bn(), i = Xt(Ba.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
6717
  return s(), $(t.sessionUser, s), Hn(() => {
6714
6718
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6715
6719
  }), Vn(() => {
6716
- t.registerSidebarComponent(Fa);
6720
+ t.registerSidebarComponent(Oa);
6717
6721
  }), (a, c) => {
6718
- const o = Ft("RouterView");
6719
- return Bt(), xt(o, {
6720
- key: Gn(r).path
6722
+ const o = Bt("RouterView");
6723
+ return Ft(), xt(o, {
6724
+ key: jn(r).path
6721
6725
  });
6722
6726
  };
6723
6727
  }
6724
- }), $a = {
6725
- "en-US": qn,
6726
- "zh-CN": ir
6727
- }, Ja = [...le, ...We];
6728
+ }), xa = {
6729
+ "en-US": Jn,
6730
+ "zh-CN": Xn
6731
+ }, Ga = [...le, ...We];
6728
6732
  export {
6729
6733
  W as C,
6730
6734
  M as F,
6731
6735
  ee as S,
6732
6736
  Y as _,
6733
6737
  Yt as a,
6734
- Wa as b,
6735
- Ri as c,
6736
- za as d,
6738
+ Ua as b,
6739
+ vi as c,
6740
+ Ba as d,
6737
6741
  gt as e,
6738
- Ja as f,
6742
+ Ga as f,
6739
6743
  z as g,
6740
- Za as h,
6741
- $a as i,
6742
- j as r
6744
+ Fa as h,
6745
+ xa as i,
6746
+ G as r
6743
6747
  };