@feedmepos/mf-payment 1.1.6 → 1.1.7-beta.3

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 (39) hide show
  1. package/dist/{PayoutAccount-CBGLfBag.js → PayoutAccount-CnTCZExr.js} +5 -5
  2. package/dist/{PayoutAccount-Bl2-Th-5.js → PayoutAccount-Crwu1h-c.js} +3 -3
  3. package/dist/{PayoutAccountSetting-DiMwWLwY.js → PayoutAccountSetting-PyIESuN8.js} +3 -3
  4. package/dist/{Restaurant-CdB7D9zA.js → Restaurant-BF1J35Ic.js} +4 -4
  5. package/dist/{RestaurantSetting-CQyXjYux.js → RestaurantSetting-Dg7cfqKF.js} +3 -3
  6. package/dist/Settlement-B-TQCdB4.js +219 -0
  7. package/dist/{Settlement-7WRCiiQ4.js → Settlement-BPrjfDMN.js} +3 -3
  8. package/dist/{SettlementTransactions-CymvVBh8.js → SettlementTransactions-C13T6n0z.js} +3 -3
  9. package/dist/{SettlementTransactions-B1dUvxhz.js → SettlementTransactions-CpRADd8a.js} +20 -16
  10. package/dist/{Terminal-DRKD8BO1.js → Terminal-DgKJ9zSL.js} +6 -6
  11. package/dist/TerminalSetting-Boh1fu6s.js +489 -0
  12. package/dist/{Transaction-DQQI8kOT.js → Transaction-BvvhqS95.js} +52 -47
  13. package/dist/{Transaction-DcQQ_4ku.js → Transaction-CsAF2AXj.js} +6 -6
  14. package/dist/{TransactionOld-DJJIQo-i.js → TransactionOld-DsC0R1Qe.js} +5 -5
  15. package/dist/{TransactionTable.vue_vue_type_script_setup_true_lang-C_3J1G8_.js → TransactionTable.vue_vue_type_script_setup_true_lang-CtrMBxwz.js} +7 -3
  16. package/dist/api/settlement/index.d.ts +1 -1
  17. package/dist/api/terminal/index.d.ts +4 -0
  18. package/dist/api/transaction/index.d.ts +1 -1
  19. package/dist/{app-B1ZoKtpx.js → app-D6rd6uvO.js} +392 -388
  20. package/dist/app.d.ts +4 -0
  21. package/dist/app.js +1 -1
  22. package/dist/{assets-ZXvnCE72.js → assets-B41ScDuA.js} +80 -73
  23. package/dist/{grafana-tSaEG-rZ.js → grafana-CdozbaJn.js} +7 -7
  24. package/dist/{index-D1dXyrdm.js → index-3u2VZ6Ni.js} +29 -26
  25. package/dist/{index-DlvE9K3G.js → index-BIObbzAP.js} +9 -1
  26. package/dist/{index-DEEbas1_.js → index-CCBZtmwy.js} +1 -1
  27. package/dist/{index-kEMG4SWc.js → index-CEU5ybp0.js} +1 -1
  28. package/dist/{index-CGBOgV3E.js → index-Cnf4HsQx.js} +1 -1
  29. package/dist/{index-DQcz6kdU.js → index-D1_hIXoR.js} +813 -813
  30. package/dist/{index.vue_vue_type_script_setup_true_lang-CwHVO04q.js → index.vue_vue_type_script_setup_true_lang-i3Lcf2Mj.js} +1 -1
  31. package/dist/model/transaction.d.ts +3 -0
  32. package/dist/package.json +1 -1
  33. package/dist/{payout-account-BtTgqm7Q.js → payout-account-C80nPFWJ.js} +2 -2
  34. package/dist/tsconfig.app.tsbuildinfo +1 -1
  35. package/dist/views/admin/terminal/tabs/SettingRequest.vue.d.ts +87 -0
  36. package/dist/views/admin/terminal/tabs/settings/KioskMode.vue.d.ts +87 -0
  37. package/package.json +1 -1
  38. package/dist/Settlement-BA09mDyG.js +0 -218
  39. package/dist/TerminalSetting-DUVbknAn.js +0 -389
@@ -1,9 +1,9 @@
1
- import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as xn } from "vue-router";
2
- import { computed as Lt, watch as Z, defineComponent as Ut, ref as Fn, resolveComponent as Bt, openBlock as xt, createBlock as Ft, h as jn, onMounted as Hn, onBeforeMount as Wn, unref as Vn } from "vue";
3
- import { useCoreStore as Ve, useI18n as Gn } from "@feedmepos/mf-common";
1
+ import { createRouter as Ln, createWebHistory as Un, useRouter as Bn, useRoute as Fn } from "vue-router";
2
+ import { computed as Lt, watch as $, defineComponent as Ut, ref as xn, resolveComponent as Bt, openBlock as Ft, createBlock as xt, h as Gn, onMounted as Hn, onBeforeMount as Vn, unref as jn } from "vue";
3
+ import { useCoreStore as je, useI18n as Wn } from "@feedmepos/mf-common";
4
4
  import { defineStore as zn } from "pinia";
5
- import { components as $n } from "@feedmepos/ui-library";
6
- const Zn = {
5
+ import { components as Zn } from "@feedmepos/ui-library";
6
+ const $n = {
7
7
  select: "Select filter entity",
8
8
  restaurant: "Restaurant",
9
9
  device: "Device",
@@ -64,6 +64,7 @@ const Zn = {
64
64
  method: "Method",
65
65
  status: "Status",
66
66
  type: "Type",
67
+ payFor: "For",
67
68
  transaction_at: "Transaction At",
68
69
  sales_amount: "Sales Amount",
69
70
  fee: "Fee",
@@ -92,6 +93,7 @@ const Zn = {
92
93
  type: "Type",
93
94
  status: "Status",
94
95
  source: "Source",
96
+ restaurant: "Restaurant",
95
97
  transaction_at: "Transaction At",
96
98
  sales_amount: "Sales Amount",
97
99
  actions: "Actions"
@@ -142,7 +144,7 @@ const Zn = {
142
144
  }
143
145
  }
144
146
  }, qn = {
145
- components: Zn,
147
+ components: $n,
146
148
  routes: Jn,
147
149
  settlements: Xn,
148
150
  transactions: Yn,
@@ -208,6 +210,7 @@ const Zn = {
208
210
  method: "支付方法",
209
211
  status: "状态",
210
212
  type: "类型",
213
+ payFor: "于",
211
214
  transaction_at: "交易时间",
212
215
  sales_amount: "营业金额",
213
216
  fee: "服务费",
@@ -235,6 +238,7 @@ const Zn = {
235
238
  method: "支付方法",
236
239
  type: "支付类型",
237
240
  status: "状态",
241
+ restaurant: "餐厅",
238
242
  source: "源",
239
243
  transaction_at: "交易时间",
240
244
  sales_amount: "交易金额",
@@ -299,7 +303,7 @@ const Zn = {
299
303
  sidebarDisplay: "Restaurants",
300
304
  section: "payment-gateway"
301
305
  },
302
- component: () => import("./Restaurant-CdB7D9zA.js")
306
+ component: () => import("./Restaurant-BF1J35Ic.js")
303
307
  },
304
308
  {
305
309
  path: "/admin/restaurants/:restaurantId",
@@ -308,7 +312,7 @@ const Zn = {
308
312
  meta: {
309
313
  parent: "mf-payment-admin.restaurant"
310
314
  },
311
- component: () => import("./RestaurantSetting-CQyXjYux.js")
315
+ component: () => import("./RestaurantSetting-Dg7cfqKF.js")
312
316
  },
313
317
  {
314
318
  path: "/admin/payout-accounts",
@@ -317,7 +321,7 @@ const Zn = {
317
321
  sidebarDisplay: "Payout Accounts",
318
322
  section: "payment-gateway"
319
323
  },
320
- component: () => import("./PayoutAccount-CBGLfBag.js")
324
+ component: () => import("./PayoutAccount-CnTCZExr.js")
321
325
  },
322
326
  {
323
327
  path: "/admin/payout-accounts/:accountId",
@@ -326,7 +330,7 @@ const Zn = {
326
330
  meta: {
327
331
  parent: "mf-payment-admin.payout-account"
328
332
  },
329
- component: () => import("./PayoutAccountSetting-DiMwWLwY.js")
333
+ component: () => import("./PayoutAccountSetting-PyIESuN8.js")
330
334
  },
331
335
  {
332
336
  path: "/admin/terminal/pos",
@@ -335,7 +339,7 @@ const Zn = {
335
339
  sidebarDisplay: "POS",
336
340
  section: "device"
337
341
  },
338
- component: () => import("./Terminal-DRKD8BO1.js"),
342
+ component: () => import("./Terminal-DgKJ9zSL.js"),
339
343
  props: {
340
344
  type: "POS"
341
345
  }
@@ -347,7 +351,7 @@ const Zn = {
347
351
  sidebarDisplay: "Kiosks",
348
352
  section: "device"
349
353
  },
350
- component: () => import("./Terminal-DRKD8BO1.js"),
354
+ component: () => import("./Terminal-DgKJ9zSL.js"),
351
355
  props: {
352
356
  type: "KIOSK"
353
357
  }
@@ -359,7 +363,7 @@ const Zn = {
359
363
  sidebarDisplay: "Terminals",
360
364
  section: "device"
361
365
  },
362
- component: () => import("./Terminal-DRKD8BO1.js"),
366
+ component: () => import("./Terminal-DgKJ9zSL.js"),
363
367
  props: {
364
368
  type: "TERMINAL"
365
369
  }
@@ -371,7 +375,7 @@ const Zn = {
371
375
  meta: {
372
376
  parent: "mf-payment-admin.pos"
373
377
  },
374
- component: () => import("./TerminalSetting-DUVbknAn.js")
378
+ component: () => import("./TerminalSetting-Boh1fu6s.js")
375
379
  },
376
380
  {
377
381
  path: "/admin/terminal/kiosk/:terminalId",
@@ -380,7 +384,7 @@ const Zn = {
380
384
  meta: {
381
385
  parent: "mf-payment-admin.kiosk"
382
386
  },
383
- component: () => import("./TerminalSetting-DUVbknAn.js")
387
+ component: () => import("./TerminalSetting-Boh1fu6s.js")
384
388
  },
385
389
  {
386
390
  path: "/admin/terminal/terminal/:terminalId",
@@ -389,7 +393,7 @@ const Zn = {
389
393
  meta: {
390
394
  parent: "mf-payment-admin.terminal"
391
395
  },
392
- component: () => import("./TerminalSetting-DUVbknAn.js")
396
+ component: () => import("./TerminalSetting-Boh1fu6s.js")
393
397
  },
394
398
  {
395
399
  path: "/admin/transaction",
@@ -397,7 +401,7 @@ const Zn = {
397
401
  meta: {
398
402
  sidebarDisplay: "Transactions"
399
403
  },
400
- component: () => import("./Transaction-DQQI8kOT.js")
404
+ component: () => import("./Transaction-BvvhqS95.js")
401
405
  },
402
406
  {
403
407
  path: "/admin/settlement",
@@ -405,7 +409,7 @@ const Zn = {
405
409
  meta: {
406
410
  sidebarDisplay: "Settlements"
407
411
  },
408
- component: () => import("./Settlement-BA09mDyG.js")
412
+ component: () => import("./Settlement-B-TQCdB4.js")
409
413
  },
410
414
  {
411
415
  path: "/admin/settlement/:settlementId",
@@ -414,9 +418,9 @@ const Zn = {
414
418
  meta: {
415
419
  parent: "mf-payment-admin.settlement"
416
420
  },
417
- component: () => import("./SettlementTransactions-CymvVBh8.js")
421
+ component: () => import("./SettlementTransactions-C13T6n0z.js")
418
422
  }
419
- ], Ge = [
423
+ ], We = [
420
424
  {
421
425
  path: "",
422
426
  redirect: { name: "mf-payment-payout-account" }
@@ -424,7 +428,7 @@ const Zn = {
424
428
  {
425
429
  path: "/payout-account",
426
430
  name: "mf-payment-payout-account",
427
- component: () => import("./PayoutAccount-Bl2-Th-5.js"),
431
+ component: () => import("./PayoutAccount-Crwu1h-c.js"),
428
432
  meta: {
429
433
  sidebarDisplay: "i18n:routes.payout_account"
430
434
  }
@@ -432,7 +436,7 @@ const Zn = {
432
436
  {
433
437
  path: "/transaction-old",
434
438
  name: "mf-payment-old-transaction",
435
- component: () => import("./TransactionOld-DJJIQo-i.js"),
439
+ component: () => import("./TransactionOld-DsC0R1Qe.js"),
436
440
  meta: {
437
441
  sidebarDisplay: "i18n:routes.transaction"
438
442
  }
@@ -440,7 +444,7 @@ const Zn = {
440
444
  {
441
445
  path: "/transaction",
442
446
  name: "mf-payment-transaction",
443
- component: () => import("./Transaction-DcQQ_4ku.js"),
447
+ component: () => import("./Transaction-CsAF2AXj.js"),
444
448
  meta: {
445
449
  sidebarDisplay: "i18n:routes.transaction-new",
446
450
  sidebarNew: !0
@@ -449,7 +453,7 @@ const Zn = {
449
453
  {
450
454
  path: "/settlement",
451
455
  name: "mf-payment-settlement",
452
- component: () => import("./Settlement-7WRCiiQ4.js"),
456
+ component: () => import("./Settlement-BPrjfDMN.js"),
453
457
  meta: {
454
458
  sidebarDisplay: "i18n:routes.settlement"
455
459
  }
@@ -458,7 +462,7 @@ const Zn = {
458
462
  path: "/settlement/:settlementId",
459
463
  name: "mf-payment-settlement-transaction",
460
464
  props: !0,
461
- component: () => import("./SettlementTransactions-B1dUvxhz.js"),
465
+ component: () => import("./SettlementTransactions-CpRADd8a.js"),
462
466
  meta: {
463
467
  parent: "mf-payment-settlement"
464
468
  }
@@ -475,7 +479,7 @@ const Zn = {
475
479
  init: t
476
480
  };
477
481
  });
478
- var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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_yiqq4AXtDOQ6yiEC3BpfX6w4LEsHeb1IAIZy", 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: "709", 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: "20250330.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:6578", GITHUB_WORKFLOW: "payment-mf-portal-prod", _: "/usr/local/bin/yarn", npm_package_devDependencies_ts_jest: "^29.1.1", npm_package_devDependencies_autoprefixer: "^10.4.20", npm_package_devDependencies__types_jest: "^29.5.4", npm_package_dependencies_i18next_browser_languagedetector: "^6.1.4", npm_package_module: "./dist/app.js", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^8.3.4", npm_package_scripts_lint: "eslint --ext .ts,vue --ignore-path .gitignore . --fix", npm_config_registry: "https://registry.yarnpkg.com", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "14214224087", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.4", npm_package_exports___import: "./dist/app.js", npm_config_ignore_scripts: "", GITHUB_WORKFLOW_REF: "feedmepos/payment-service/.github/workflows/payment-mf-portal-prod.yaml@refs/heads/main", ACTIONS_ID_TOKEN_REQUEST_TOKEN: "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ikh5cTROQVRBanNucUM3bWRydEFoaHJDUjJfUSJ9.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46ZWQ1ZjI5YjItMGEyOC00NzkwLTlmM2YtODBjNjcxN2MwOWMzOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDI3IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiM2FjM2I5MjctZWM5ZS00OGFjLWIxN2EtYzk5MDYzNGMyNGQ5Iiwic2lkIjoiN2Q3MGQxOGItNDNhMi00OTNhLTlhOWItOWFjMTg4MDZjYjRlIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjN9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwic2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJyZXBvc2l0b3J5XCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlXCIsXCJyZXBvc2l0b3J5X293bmVyXCI6XCJmZWVkbWVwb3NcIixcInJlcG9zaXRvcnlfb3duZXJfaWRcIjpcIjU0ODMxNTE1XCIsXCJydW5faWRcIjpcIjE0MjE0MjI0MDg3XCIsXCJydW5fbnVtYmVyXCI6XCI0MlwiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLXByb2RcIixcImhlYWRfcmVmXCI6XCJcIixcImJhc2VfcmVmXCI6XCJcIixcImV2ZW50X25hbWVcIjpcInB1c2hcIixcInJlZl9wcm90ZWN0ZWRcIjpcImZhbHNlXCIsXCJyZWZfdHlwZVwiOlwiYnJhbmNoXCIsXCJ3b3JrZmxvd19yZWZcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2UvLmdpdGh1Yi93b3JrZmxvd3MvcGF5bWVudC1tZi1wb3J0YWwtcHJvZC55YW1sQHJlZnMvaGVhZHMvbWFpblwiLFwid29ya2Zsb3dfc2hhXCI6XCIyY2UyNTUwZGM4Njk0MjRmZDY2OTRmY2MxZjNmZGU2Nzc1ODRiNmQwXCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLXByb2QueWFtbEByZWZzL2hlYWRzL21haW5cIixcImpvYl93b3JrZmxvd19zaGFcIjpcIjJjZTI1NTBkYzg2OTQyNGZkNjY5NGZjYzFmM2ZkZTY3NzU4NGI2ZDBcIixcInJ1bm5lcl9lbnZpcm9ubWVudFwiOlwiZ2l0aHViLWhvc3RlZFwifSIsIm9pZGNfc3ViIjoicmVwbzpmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlOnJlZjpyZWZzL2hlYWRzL21haW4iLCJvcmNoaWQiOiJlZDVmMjliMi0wYTI4LTQ3OTAtOWYzZi04MGM2NzE3YzA5YzMuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDM1NzkxODUsImV4cCI6MTc0MzYwMTk4NX0.WBb0iR_RTH-KAW1hjKrImnn9yj8LEOb89SdNpnpycGN_D7PqNjfBjfquCm6tQKhisTA0iBI70e4kk4h9mESKt5jPyjtkqqM252YnpfeCccG8CajksFxkUzVI8f1SoF_NlHqeE_cWsgfOBZZQiFe8FcTWu-p027hamxv5HUyp3RMmaSLWBE3cpD4ytB1tnS30sIAVfLk4xS8N_DON3UPdqd1x0Dg97Z9KIy4P8T7bCfGVYRRIfgv1McahNF28-POfQPVPQe17DVWItVw40OZXe9YCduMfzW1WH7dzzp8nstVor6QPrK6X9clo2FG84dm2mZNI9-gUWahR2I-zvhzCQw", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1743579819901-0.7080308718291306:/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--1743579819746-0.9291602068279805:/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--1743579819590-0.6041229915675483:/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_5cdfe4ef-ca49-407d-a503-894475a3d6e5", INVOCATION_ID: "a7409e2b2d014ce1993c037de216d8a0", 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: "42", 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 366", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/payment-service", STATS_D_D: "false", npm_lifecycle_script: "vite build --mode fmmf:prod", npm_package_dependencies__feedmepos_core: "^2.6.0", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir dist --composite false", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist && mv ./dist/src/* dist", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_vue3_lottie: "^2.2.3", npm_package_scripts_test: "jest", npm_config_version_git_message: "v%s", GITHUB_REPOSITORY_ID: "690979260", GITHUB_ACTIONS: "true", STATS_PIP: "false", npm_lifecycle_event: "build:mf:prod", npm_package_devDependencies_jest_transform_stub: "^2.0.0", npm_package_devDependencies_jest_environment_jsdom: "^29.4.1", npm_package_devDependencies__rushstack_eslint_patch: "^1.1.3", npm_package_dependencies_vuedraggable: "^4.1.0", npm_package_version: "1.1.6", GITHUB_REF_PROTECTED: "false", npm_config_argv: '{"remain":[],"cooked":["run","deploy:prod"],"original":["deploy:prod"]}', npm_package_devDependencies__types_dinero_js: "^1.9.0", npm_package_dependencies_uuid: "^9.0.0", npm_package_dependencies_buffer: "^6.0.3", npm_package_dependencies_vue_i18n: "10.0.5", npm_config__feedmepos_registry: "https://npm.pkg.github.com/", GITHUB_WORKSPACE: "/home/runner/work/payment-service/payment-service", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", GITHUB_SHA: "2ce2550dc869424fd6694fcc1f3fde677584b6d0", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_dependencies_vue_router: "^4.2.5", npm_package_exports___style: "./dist/style.css", npm_config_version_git_tag: "true", npm_config_version_git_sign: "", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "Oskang09", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_config_strict_ssl: "true", npm_package_devDependencies_path: "^0.12.7", npm_package_dependencies_jszip: "^3.10.1", npm_package_dependencies_jsurl: "^0.1.5", npm_package_dependencies_firebase: "^10.14.0", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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/ed5f29b2-0a28-4790-9f3f-80c6717c09c3/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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", 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_2f25e78a-4d3d-4b91-ac92-6a5d87bfa6fe", npm_package_dependencies_libphonenumber_js: "^1.10.6", npm_package_dependencies__feedmepos_payment_entity: "^0.1.0", NODE_ENV: "production", ENVIRONMENT: "production", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", GOOGLE_MAP_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", AUTH_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" };
482
+ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", 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_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", 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_yEIXDwvhhz9zak4eWrQNV2uggrE0qO0Qesdr", 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: "708", 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: "20250316.1.0", npm_package_dependencies_i18next_vue: "^2.0.0-beta.0", npm_package_scripts_dev: "vite --mode dev", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_scripts_prod: "vite --mode prod", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.7/x64", JOURNAL_STREAM: "8:5944", 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: "14303533286", STATS_VMFE: "true", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "80d61383257f80fc3171e7fc12c88b93781d20d6", 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.eyJuYW1laWQiOiJkZGRkZGRkZC1kZGRkLWRkZGQtZGRkZC1kZGRkZGRkZGRkZGQiLCJzY3AiOiJBY3Rpb25zLkdlbmVyaWNSZWFkOjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDAwMCBBY3Rpb25zLlJlc3VsdHM6YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBBY3Rpb25zLlVwbG9hZEFydGlmYWN0czowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IERpc3RyaWJ1dGVkVGFzay5HZW5lcmF0ZUlkVG9rZW46YzBkMmQzNjEtOGY2My00Mzg5LWE5OGYtZmZlY2I1OGIyNjBhOmUwNzc0MmJkLTE4OWEtNTA3OS05MThiLTQzZjhiMmY5NGI4OSBMb2NhdGlvblNlcnZpY2UuQ29ubmVjdCBSZWFkQW5kVXBkYXRlQnVpbGRCeVVyaTowMDAwMDAwMC0wMDAwLTAwMDAtMDAwMC0wMDAwMDAwMDAwMDAvMTpCdWlsZC9CdWlsZC8xNDM4IiwiSWRlbnRpdHlUeXBlQ2xhaW0iOiJTeXN0ZW06U2VydmljZUlkZW50aXR5IiwiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvc2lkIjoiREREREREREQtRERERC1ERERELUREREQtREREREREREREREREIiwiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9wcmltYXJ5c2lkIjoiZGRkZGRkZGQtZGRkZC1kZGRkLWRkZGQtZGRkZGRkZGRkZGRkIiwiYXVpIjoiMDBiMGQ5NzYtOGYzMC00Zjk2LThkMDQtNjQ2NWIyZDMxNmNhIiwic2lkIjoiYzM1YTc4MGUtZDdlYS00ODcyLThmYWItYTg5NTQyOWEzODlmIiwiYWMiOiJbe1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJQZXJtaXNzaW9uXCI6M30se1wiU2NvcGVcIjpcInJlZnMvaGVhZHMvbWFpblwiLFwiUGVybWlzc2lvblwiOjF9XSIsImFjc2wiOiIxMCIsIm9pZGNfZXh0cmEiOiJ7XCJyZWZcIjpcInJlZnMvaGVhZHMvZGV2XCIsXCJzaGFcIjpcIjgwZDYxMzgzMjU3ZjgwZmMzMTcxZTdmYzEyYzg4YjkzNzgxZDIwZDZcIixcInJlcG9zaXRvcnlcIjpcImZlZWRtZXBvcy9wYXltZW50LXNlcnZpY2VcIixcInJlcG9zaXRvcnlfb3duZXJcIjpcImZlZWRtZXBvc1wiLFwicmVwb3NpdG9yeV9vd25lcl9pZFwiOlwiNTQ4MzE1MTVcIixcInJ1bl9pZFwiOlwiMTQzMDM1MzMyODZcIixcInJ1bl9udW1iZXJcIjpcIjE2M1wiLFwicnVuX2F0dGVtcHRcIjpcIjFcIixcInJlcG9zaXRvcnlfdmlzaWJpbGl0eVwiOlwicHJpdmF0ZVwiLFwicmVwb3NpdG9yeV9pZFwiOlwiNjkwOTc5MjYwXCIsXCJhY3Rvcl9pZFwiOlwiMTU2NzQxMDdcIixcImFjdG9yXCI6XCJPc2thbmcwOVwiLFwid29ya2Zsb3dcIjpcInBheW1lbnQtbWYtcG9ydGFsLWRldlwiLFwiaGVhZF9yZWZcIjpcIlwiLFwiYmFzZV9yZWZcIjpcIlwiLFwiZXZlbnRfbmFtZVwiOlwicHVzaFwiLFwicmVmX3Byb3RlY3RlZFwiOlwiZmFsc2VcIixcInJlZl90eXBlXCI6XCJicmFuY2hcIixcIndvcmtmbG93X3JlZlwiOlwiZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZS8uZ2l0aHViL3dvcmtmbG93cy9wYXltZW50LW1mLXBvcnRhbC1kZXYueWFtbEByZWZzL2hlYWRzL2RldlwiLFwid29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJqb2Jfd29ya2Zsb3dfcmVmXCI6XCJmZWVkbWVwb3MvcGF5bWVudC1zZXJ2aWNlLy5naXRodWIvd29ya2Zsb3dzL3BheW1lbnQtbWYtcG9ydGFsLWRldi55YW1sQHJlZnMvaGVhZHMvZGV2XCIsXCJqb2Jfd29ya2Zsb3dfc2hhXCI6XCI4MGQ2MTM4MzI1N2Y4MGZjMzE3MWU3ZmMxMmM4OGI5Mzc4MWQyMGQ2XCIsXCJydW5uZXJfZW52aXJvbm1lbnRcIjpcImdpdGh1Yi1ob3N0ZWRcIn0iLCJvaWRjX3N1YiI6InJlcG86ZmVlZG1lcG9zL3BheW1lbnQtc2VydmljZTpyZWY6cmVmcy9oZWFkcy9kZXYiLCJvcmNoaWQiOiJjMGQyZDM2MS04ZjYzLTQzODktYTk4Zi1mZmVjYjU4YjI2MGEuZGVwbG95Ll9fZGVmYXVsdCIsImlzcyI6InZzdG9rZW4uYWN0aW9ucy5naXRodWJ1c2VyY29udGVudC5jb20iLCJhdWQiOiJ2c3Rva2VuLmFjdGlvbnMuZ2l0aHVidXNlcmNvbnRlbnQuY29tfHZzbzo3ZTY0NTJjNS1mYzJlLTRhZDUtYjY3My0yOWU5MGNmNzNkZDgiLCJuYmYiOjE3NDQwMTA5MTUsImV4cCI6MTc0NDAzMzcxNX0.l5b1WROy5t9GjVnUvVLP0gQeAnV_-U59Gg5sfURnAlBtfYFIE5mMZeREZbV6xbpdIUOz5E95s6J8v6oduc0Cq23-atQThMhQBI3m8fvKHjuxZowO5C9CuqNXqGS9UF3ukBTkBe1uB8UtztVS1nvKCZ_C11naOBUQlQX9KTcxUfJVGClgwp0fHCHahSe_j34WdgVkxSjoVDrrTBg9gHp5EWvem-2_TCeyTDhHeLRmhm-cdOrv98QK52gAGCuUJFlYp543OdVeCrisUTV1wTCQVgUu1zT9uNflBJ7AHh7s-7UxU35pHKpdN0MawXjGfrdYwqLZE7ivP_BpltKxbLaUdQ", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^0.27.2", PATH: "/tmp/yarn--1744011566316-0.8397647998704827:/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--1744011566160-0.07727471289060261:/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--1744011566004-0.9813355493796256:/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_7eed90b8-e43d-426d-91b8-32ad920a04d0", INVOCATION_ID: "b14fa95db6144e05a9dcfc172c351beb", 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: "163", 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 72", 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.7-beta.3", 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: "80d61383257f80fc3171e7fc12c88b93781d20d6", 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_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", 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/c0d2d361-8f63-4389-a98f-ffecb58b260a/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_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", 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_211dcf60-2c51-4c22-b8df-6b2e3adc6e14", 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" };
479
483
  /**
480
484
  * @license
481
485
  * Copyright 2017 Google LLC
@@ -492,7 +496,7 @@ var ot = { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_sta
492
496
  * See the License for the specific language governing permissions and
493
497
  * limitations under the License.
494
498
  */
495
- const jt = function(n) {
499
+ const Gt = function(n) {
496
500
  const e = [];
497
501
  let t = 0;
498
502
  for (let r = 0; r < n.length; r++) {
@@ -579,8 +583,8 @@ const jt = function(n) {
579
583
  const t = e ? this.byteToCharMapWebSafe_ : this.byteToCharMap_, r = [];
580
584
  for (let i = 0; i < n.length; i += 3) {
581
585
  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;
582
- let m = (c & 15) << 2 | l >> 6, I = l & 63;
583
- o || (I = 64, a || (m = 64)), r.push(t[d], t[h], t[m], t[I]);
586
+ let f = (c & 15) << 2 | l >> 6, v = l & 63;
587
+ o || (v = 64, a || (f = 64)), r.push(t[d], t[h], t[f], t[v]);
584
588
  }
585
589
  return r.join("");
586
590
  },
@@ -593,7 +597,7 @@ const jt = function(n) {
593
597
  * @return The base64 encoded string.
594
598
  */
595
599
  encodeString(n, e) {
596
- return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(jt(n), e);
600
+ return this.HAS_NATIVE_SUPPORT && !e ? btoa(n) : this.encodeByteArray(Gt(n), e);
597
601
  },
598
602
  /**
599
603
  * Base64-decode a string.
@@ -632,12 +636,12 @@ const jt = function(n) {
632
636
  const h = i < n.length ? t[n.charAt(i)] : 64;
633
637
  if (++i, s == null || c == null || l == null || h == null)
634
638
  throw new or();
635
- const m = s << 2 | c >> 4;
636
- if (r.push(m), l !== 64) {
637
- const I = c << 4 & 240 | l >> 2;
638
- if (r.push(I), h !== 64) {
639
- const x = l << 6 & 192 | h;
640
- r.push(x);
639
+ const f = s << 2 | c >> 4;
640
+ if (r.push(f), l !== 64) {
641
+ const v = c << 4 & 240 | l >> 2;
642
+ if (r.push(v), h !== 64) {
643
+ const F = l << 6 & 192 | h;
644
+ r.push(F);
641
645
  }
642
646
  }
643
647
  }
@@ -662,11 +666,11 @@ class or extends Error {
662
666
  }
663
667
  }
664
668
  const cr = function(n) {
665
- const e = jt(n);
669
+ const e = Gt(n);
666
670
  return Ht.encodeByteArray(e, !0);
667
671
  }, de = function(n) {
668
672
  return cr(n).replace(/\./g, "");
669
- }, Wt = function(n) {
673
+ }, Vt = function(n) {
670
674
  try {
671
675
  return Ht.decodeString(n, !0);
672
676
  } catch (e) {
@@ -730,7 +734,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
730
734
  } catch {
731
735
  return;
732
736
  }
733
- const e = n && Wt(n[1]);
737
+ const e = n && Vt(n[1]);
734
738
  return e && JSON.parse(e);
735
739
  }, ze = () => {
736
740
  try {
@@ -739,11 +743,11 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
739
743
  console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${n}`);
740
744
  return;
741
745
  }
742
- }, Vt = (n) => {
746
+ }, jt = (n) => {
743
747
  var e, t;
744
748
  return (t = (e = ze()) === null || e === void 0 ? void 0 : e.emulatorHosts) === null || t === void 0 ? void 0 : t[n];
745
- }, Ga = (n) => {
746
- const e = Vt(n);
749
+ }, Wa = (n) => {
750
+ const e = jt(n);
747
751
  if (!e)
748
752
  return;
749
753
  const t = e.lastIndexOf(":");
@@ -751,7 +755,7 @@ const dr = () => lr().__FIREBASE_DEFAULTS__, ur = () => {
751
755
  throw new Error(`Invalid host ${e} with no separate hostname and port!`);
752
756
  const r = parseInt(e.substring(t + 1), 10);
753
757
  return e[0] === "[" ? [e.substring(1, t - 1), r] : [e.substring(0, t), r];
754
- }, Gt = () => {
758
+ }, Wt = () => {
755
759
  var n;
756
760
  return (n = ze()) === null || n === void 0 ? void 0 : n.config;
757
761
  }, zt = (n) => {
@@ -855,15 +859,15 @@ function za(n, e) {
855
859
  * See the License for the specific language governing permissions and
856
860
  * limitations under the License.
857
861
  */
858
- function f() {
862
+ function m() {
859
863
  return typeof navigator < "u" && typeof navigator.userAgent == "string" ? navigator.userAgent : "";
860
864
  }
861
- function mr() {
865
+ function fr() {
862
866
  return typeof window < "u" && // @ts-ignore Setting up an broadly applicable index signature for Window
863
867
  // just to deal with this case would probably be a bad idea.
864
- !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(f());
868
+ !!(window.cordova || window.phonegap || window.PhoneGap) && /ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(m());
865
869
  }
866
- function fr() {
870
+ function mr() {
867
871
  return typeof navigator < "u" && navigator.userAgent === "Cloudflare-Workers";
868
872
  }
869
873
  function _r() {
@@ -873,11 +877,11 @@ function _r() {
873
877
  function gr() {
874
878
  return typeof navigator == "object" && navigator.product === "ReactNative";
875
879
  }
876
- function Ir() {
877
- const n = f();
880
+ function vr() {
881
+ const n = m();
878
882
  return n.indexOf("MSIE ") >= 0 || n.indexOf("Trident/") >= 0;
879
883
  }
880
- function vr() {
884
+ function Ir() {
881
885
  try {
882
886
  return typeof indexedDB == "object";
883
887
  } catch {
@@ -992,11 +996,11 @@ function Q(n) {
992
996
  }) : e.push(encodeURIComponent(t) + "=" + encodeURIComponent(r));
993
997
  return e.length ? "&" + e.join("&") : "";
994
998
  }
995
- function Rr(n, e) {
996
- const t = new kr(n, e);
999
+ function kr(n, e) {
1000
+ const t = new Rr(n, e);
997
1001
  return t.subscribe.bind(t);
998
1002
  }
999
- class kr {
1003
+ class Rr {
1000
1004
  /**
1001
1005
  * @param executor Function which can make calls to a single Observer
1002
1006
  * as a proxy.
@@ -1042,7 +1046,7 @@ class kr {
1042
1046
  next: e,
1043
1047
  error: t,
1044
1048
  complete: r
1045
- }, i.next === void 0 && (i.next = ke), i.error === void 0 && (i.error = ke), i.complete === void 0 && (i.complete = ke);
1049
+ }, i.next === void 0 && (i.next = Re), i.error === void 0 && (i.error = Re), i.complete === void 0 && (i.complete = Re);
1046
1050
  const s = this.unsubscribeOne.bind(this, this.observers.length);
1047
1051
  return this.finalized && this.task.then(() => {
1048
1052
  try {
@@ -1088,7 +1092,7 @@ function Sr(n, e) {
1088
1092
  return !0;
1089
1093
  return !1;
1090
1094
  }
1091
- function ke() {
1095
+ function Re() {
1092
1096
  }
1093
1097
  /**
1094
1098
  * @license
@@ -1109,7 +1113,7 @@ function ke() {
1109
1113
  function z(n) {
1110
1114
  return n && n._delegate ? n._delegate : n;
1111
1115
  }
1112
- class G {
1116
+ class W {
1113
1117
  /**
1114
1118
  *
1115
1119
  * @param name The public service name, e.g. app, auth, firestore, database
@@ -1216,7 +1220,7 @@ class Ar {
1216
1220
  if (this.component)
1217
1221
  throw Error(`Component for ${this.name} has already been provided`);
1218
1222
  if (this.component = e, !!this.shouldAutoInitialize()) {
1219
- if (Nr(e))
1223
+ if (Cr(e))
1220
1224
  try {
1221
1225
  this.getOrInitializeService({ instanceIdentifier: L });
1222
1226
  } catch {
@@ -1322,7 +1326,7 @@ class Ar {
1322
1326
  function Or(n) {
1323
1327
  return n === L ? void 0 : n;
1324
1328
  }
1325
- function Nr(n) {
1329
+ function Cr(n) {
1326
1330
  return n.instantiationMode === "EAGER";
1327
1331
  }
1328
1332
  /**
@@ -1341,7 +1345,7 @@ function Nr(n) {
1341
1345
  * See the License for the specific language governing permissions and
1342
1346
  * limitations under the License.
1343
1347
  */
1344
- class Cr {
1348
+ class Dr {
1345
1349
  constructor(e) {
1346
1350
  this.name = e, this.providers = /* @__PURE__ */ new Map();
1347
1351
  }
@@ -1400,7 +1404,7 @@ var p;
1400
1404
  (function(n) {
1401
1405
  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";
1402
1406
  })(p || (p = {}));
1403
- const Dr = {
1407
+ const Nr = {
1404
1408
  debug: p.DEBUG,
1405
1409
  verbose: p.VERBOSE,
1406
1410
  info: p.INFO,
@@ -1422,7 +1426,7 @@ const Dr = {
1422
1426
  else
1423
1427
  throw new Error(`Attempted to log a message with an invalid logType (value: ${e})`);
1424
1428
  };
1425
- class $t {
1429
+ class Zt {
1426
1430
  /**
1427
1431
  * Gives you an instance of a Logger to capture messages according to
1428
1432
  * Firebase's logging scheme.
@@ -1442,7 +1446,7 @@ class $t {
1442
1446
  }
1443
1447
  // Workaround for setter/getter having to be the same type.
1444
1448
  setLogLevel(e) {
1445
- this._logLevel = typeof e == "string" ? Dr[e] : e;
1449
+ this._logLevel = typeof e == "string" ? Nr[e] : e;
1446
1450
  }
1447
1451
  get logHandler() {
1448
1452
  return this._logHandler;
@@ -1488,31 +1492,31 @@ function Br() {
1488
1492
  IDBTransaction
1489
1493
  ]);
1490
1494
  }
1491
- function xr() {
1495
+ function Fr() {
1492
1496
  return dt || (dt = [
1493
1497
  IDBCursor.prototype.advance,
1494
1498
  IDBCursor.prototype.continue,
1495
1499
  IDBCursor.prototype.continuePrimaryKey
1496
1500
  ]);
1497
1501
  }
1498
- const Zt = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), $e = /* @__PURE__ */ new WeakMap();
1499
- function Fr(n) {
1502
+ const $t = /* @__PURE__ */ new WeakMap(), Le = /* @__PURE__ */ new WeakMap(), Jt = /* @__PURE__ */ new WeakMap(), Se = /* @__PURE__ */ new WeakMap(), Ze = /* @__PURE__ */ new WeakMap();
1503
+ function xr(n) {
1500
1504
  const e = new Promise((t, r) => {
1501
1505
  const i = () => {
1502
1506
  n.removeEventListener("success", s), n.removeEventListener("error", a);
1503
1507
  }, s = () => {
1504
- t(C(n.result)), i();
1508
+ t(D(n.result)), i();
1505
1509
  }, a = () => {
1506
1510
  r(n.error), i();
1507
1511
  };
1508
1512
  n.addEventListener("success", s), n.addEventListener("error", a);
1509
1513
  });
1510
1514
  return e.then((t) => {
1511
- t instanceof IDBCursor && Zt.set(t, n);
1515
+ t instanceof IDBCursor && $t.set(t, n);
1512
1516
  }).catch(() => {
1513
- }), $e.set(e, n), e;
1517
+ }), Ze.set(e, n), e;
1514
1518
  }
1515
- function jr(n) {
1519
+ function Gr(n) {
1516
1520
  if (Le.has(n))
1517
1521
  return;
1518
1522
  const e = new Promise((t, r) => {
@@ -1537,7 +1541,7 @@ let Ue = {
1537
1541
  if (e === "store")
1538
1542
  return t.objectStoreNames[1] ? void 0 : t.objectStore(t.objectStoreNames[0]);
1539
1543
  }
1540
- return C(n[e]);
1544
+ return D(n[e]);
1541
1545
  },
1542
1546
  set(n, e, t) {
1543
1547
  return n[e] = t, !0;
@@ -1549,32 +1553,32 @@ let Ue = {
1549
1553
  function Hr(n) {
1550
1554
  Ue = n(Ue);
1551
1555
  }
1552
- function Wr(n) {
1556
+ function Vr(n) {
1553
1557
  return n === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...t) {
1554
1558
  const r = n.call(Ae(this), e, ...t);
1555
- return Jt.set(r, e.sort ? e.sort() : [e]), C(r);
1556
- } : xr().includes(n) ? function(...e) {
1557
- return n.apply(Ae(this), e), C(Zt.get(this));
1559
+ return Jt.set(r, e.sort ? e.sort() : [e]), D(r);
1560
+ } : Fr().includes(n) ? function(...e) {
1561
+ return n.apply(Ae(this), e), D($t.get(this));
1558
1562
  } : function(...e) {
1559
- return C(n.apply(Ae(this), e));
1563
+ return D(n.apply(Ae(this), e));
1560
1564
  };
1561
1565
  }
1562
- function Vr(n) {
1563
- return typeof n == "function" ? Wr(n) : (n instanceof IDBTransaction && jr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
1566
+ function jr(n) {
1567
+ return typeof n == "function" ? Vr(n) : (n instanceof IDBTransaction && Gr(n), Ur(n, Br()) ? new Proxy(n, Ue) : n);
1564
1568
  }
1565
- function C(n) {
1569
+ function D(n) {
1566
1570
  if (n instanceof IDBRequest)
1567
- return Fr(n);
1571
+ return xr(n);
1568
1572
  if (Se.has(n))
1569
1573
  return Se.get(n);
1570
- const e = Vr(n);
1571
- return e !== n && (Se.set(n, e), $e.set(e, n)), e;
1574
+ const e = jr(n);
1575
+ return e !== n && (Se.set(n, e), Ze.set(e, n)), e;
1572
1576
  }
1573
- const Ae = (n) => $e.get(n);
1574
- function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1575
- const a = indexedDB.open(n, e), c = C(a);
1577
+ const Ae = (n) => Ze.get(n);
1578
+ function Wr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1579
+ const a = indexedDB.open(n, e), c = D(a);
1576
1580
  return r && a.addEventListener("upgradeneeded", (o) => {
1577
- r(C(a.result), o.oldVersion, o.newVersion, C(a.transaction), o);
1581
+ r(D(a.result), o.oldVersion, o.newVersion, D(a.transaction), o);
1578
1582
  }), t && a.addEventListener("blocked", (o) => t(
1579
1583
  // Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
1580
1584
  o.oldVersion,
@@ -1585,13 +1589,13 @@ function Gr(n, e, { blocked: t, upgrade: r, blocking: i, terminated: s } = {}) {
1585
1589
  }).catch(() => {
1586
1590
  }), c;
1587
1591
  }
1588
- const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], $r = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1592
+ const zr = ["get", "getKey", "getAll", "getAllKeys", "count"], Zr = ["put", "add", "delete", "clear"], Oe = /* @__PURE__ */ new Map();
1589
1593
  function ut(n, e) {
1590
1594
  if (!(n instanceof IDBDatabase && !(e in n) && typeof e == "string"))
1591
1595
  return;
1592
1596
  if (Oe.get(e))
1593
1597
  return Oe.get(e);
1594
- const t = e.replace(/FromIndex$/, ""), r = e !== t, i = $r.includes(t);
1598
+ const t = e.replace(/FromIndex$/, ""), r = e !== t, i = Zr.includes(t);
1595
1599
  if (
1596
1600
  // Bail if the target doesn't exist on the target. Eg, getAll isn't in Edge.
1597
1601
  !(t in (r ? IDBIndex : IDBObjectStore).prototype) || !(i || zr.includes(t))
@@ -1628,7 +1632,7 @@ Hr((n) => ({
1628
1632
  * See the License for the specific language governing permissions and
1629
1633
  * limitations under the License.
1630
1634
  */
1631
- class Zr {
1635
+ class $r {
1632
1636
  constructor(e) {
1633
1637
  this.container = e;
1634
1638
  }
@@ -1665,7 +1669,7 @@ const Be = "@firebase/app", ht = "0.10.13";
1665
1669
  * See the License for the specific language governing permissions and
1666
1670
  * limitations under the License.
1667
1671
  */
1668
- const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/analytics-compat", Kr = "@firebase/analytics", qr = "@firebase/app-check-compat", Qr = "@firebase/app-check", ei = "@firebase/auth", ti = "@firebase/auth-compat", ni = "@firebase/database", ri = "@firebase/data-connect", ii = "@firebase/database-compat", si = "@firebase/functions", ai = "@firebase/functions-compat", oi = "@firebase/installations", ci = "@firebase/installations-compat", li = "@firebase/messaging", di = "@firebase/messaging-compat", ui = "@firebase/performance", hi = "@firebase/performance-compat", pi = "@firebase/remote-config", mi = "@firebase/remote-config-compat", fi = "@firebase/storage", _i = "@firebase/storage-compat", gi = "@firebase/firestore", Ii = "@firebase/vertexai-preview", vi = "@firebase/firestore-compat", bi = "firebase", yi = "10.14.1";
1672
+ const T = new Zt("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@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";
1669
1673
  /**
1670
1674
  * @license
1671
1675
  * Copyright 2019 Google LLC
@@ -1682,7 +1686,7 @@ const T = new $t("@firebase/app"), Xr = "@firebase/app-compat", Yr = "@firebase/
1682
1686
  * See the License for the specific language governing permissions and
1683
1687
  * limitations under the License.
1684
1688
  */
1685
- const xe = "[DEFAULT]", Ei = {
1689
+ const Fe = "[DEFAULT]", Ei = {
1686
1690
  [Be]: "fire-core",
1687
1691
  [Xr]: "fire-core-compat",
1688
1692
  [Kr]: "fire-analytics",
@@ -1703,12 +1707,12 @@ const xe = "[DEFAULT]", Ei = {
1703
1707
  [ui]: "fire-perf",
1704
1708
  [hi]: "fire-perf-compat",
1705
1709
  [pi]: "fire-rc",
1706
- [mi]: "fire-rc-compat",
1707
- [fi]: "fire-gcs",
1710
+ [fi]: "fire-rc-compat",
1711
+ [mi]: "fire-gcs",
1708
1712
  [_i]: "fire-gcs-compat",
1709
1713
  [gi]: "fire-fst",
1710
- [vi]: "fire-fst-compat",
1711
- [Ii]: "fire-vertex",
1714
+ [Ii]: "fire-fst-compat",
1715
+ [vi]: "fire-vertex",
1712
1716
  "fire-js": "fire-js",
1713
1717
  [bi]: "fire-js-all"
1714
1718
  };
@@ -1728,7 +1732,7 @@ const xe = "[DEFAULT]", Ei = {
1728
1732
  * See the License for the specific language governing permissions and
1729
1733
  * limitations under the License.
1730
1734
  */
1731
- const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), Fe = /* @__PURE__ */ new Map();
1735
+ const he = /* @__PURE__ */ new Map(), Ti = /* @__PURE__ */ new Map(), xe = /* @__PURE__ */ new Map();
1732
1736
  function pt(n, e) {
1733
1737
  try {
1734
1738
  n.container.addComponent(e);
@@ -1738,9 +1742,9 @@ function pt(n, e) {
1738
1742
  }
1739
1743
  function X(n) {
1740
1744
  const e = n.name;
1741
- if (Fe.has(e))
1745
+ if (xe.has(e))
1742
1746
  return T.debug(`There were multiple attempts to register component ${e}.`), !1;
1743
- Fe.set(e, n);
1747
+ xe.set(e, n);
1744
1748
  for (const t of he.values())
1745
1749
  pt(t, n);
1746
1750
  for (const t of Ti.values())
@@ -1751,7 +1755,7 @@ function Xt(n, e) {
1751
1755
  const t = n.container.getProvider("heartbeat").getImmediate({ optional: !0 });
1752
1756
  return t && t.triggerHeartbeat(), n.container.getProvider(e);
1753
1757
  }
1754
- function v(n) {
1758
+ function I(n) {
1755
1759
  return n.settings !== void 0;
1756
1760
  }
1757
1761
  /**
@@ -1785,7 +1789,7 @@ const wi = {
1785
1789
  "idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
1786
1790
  "finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
1787
1791
  "invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
1788
- }, D = new q("app", "Firebase", wi);
1792
+ }, N = new q("app", "Firebase", wi);
1789
1793
  /**
1790
1794
  * @license
1791
1795
  * Copyright 2019 Google LLC
@@ -1802,9 +1806,9 @@ const wi = {
1802
1806
  * See the License for the specific language governing permissions and
1803
1807
  * limitations under the License.
1804
1808
  */
1805
- class Ri {
1809
+ class ki {
1806
1810
  constructor(e, t, r) {
1807
- this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, t), this._name = t.name, this._automaticDataCollectionEnabled = t.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new G(
1811
+ 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(
1808
1812
  "app",
1809
1813
  () => this,
1810
1814
  "PUBLIC"
@@ -1841,7 +1845,7 @@ class Ri {
1841
1845
  */
1842
1846
  checkDestroyed() {
1843
1847
  if (this.isDeleted)
1844
- throw D.create("app-deleted", { appName: this._name });
1848
+ throw N.create("app-deleted", { appName: this._name });
1845
1849
  }
1846
1850
  }
1847
1851
  /**
@@ -1864,13 +1868,13 @@ const ee = yi;
1864
1868
  function Yt(n, e = {}) {
1865
1869
  let t = n;
1866
1870
  typeof e != "object" && (e = { name: e });
1867
- const r = Object.assign({ name: xe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1871
+ const r = Object.assign({ name: Fe, automaticDataCollectionEnabled: !1 }, e), i = r.name;
1868
1872
  if (typeof i != "string" || !i)
1869
- throw D.create("bad-app-name", {
1873
+ throw N.create("bad-app-name", {
1870
1874
  appName: String(i)
1871
1875
  });
1872
- if (t || (t = Gt()), !t)
1873
- throw D.create(
1876
+ if (t || (t = Wt()), !t)
1877
+ throw N.create(
1874
1878
  "no-options"
1875
1879
  /* AppError.NO_OPTIONS */
1876
1880
  );
@@ -1878,23 +1882,23 @@ function Yt(n, e = {}) {
1878
1882
  if (s) {
1879
1883
  if (ue(t, s.options) && ue(r, s.config))
1880
1884
  return s;
1881
- throw D.create("duplicate-app", { appName: i });
1885
+ throw N.create("duplicate-app", { appName: i });
1882
1886
  }
1883
- const a = new Cr(i);
1884
- for (const o of Fe.values())
1887
+ const a = new Dr(i);
1888
+ for (const o of xe.values())
1885
1889
  a.addComponent(o);
1886
- const c = new Ri(t, r, a);
1890
+ const c = new ki(t, r, a);
1887
1891
  return he.set(i, c), c;
1888
1892
  }
1889
- function ki(n = xe) {
1893
+ function Ri(n = Fe) {
1890
1894
  const e = he.get(n);
1891
- if (!e && n === xe && Gt())
1895
+ if (!e && n === Fe && Wt())
1892
1896
  return Yt();
1893
1897
  if (!e)
1894
- throw D.create("no-app", { appName: n });
1898
+ throw N.create("no-app", { appName: n });
1895
1899
  return e;
1896
1900
  }
1897
- function j(n, e, t) {
1901
+ function G(n, e, t) {
1898
1902
  var r;
1899
1903
  let i = (r = Ei[n]) !== null && r !== void 0 ? r : n;
1900
1904
  t && (i += `-${t}`);
@@ -1906,7 +1910,7 @@ function j(n, e, t) {
1906
1910
  s && c.push(`library name "${i}" contains illegal characters (whitespace or "/")`), s && a && c.push("and"), a && c.push(`version name "${e}" contains illegal characters (whitespace or "/")`), T.warn(c.join(" "));
1907
1911
  return;
1908
1912
  }
1909
- X(new G(
1913
+ X(new W(
1910
1914
  `${i}-version`,
1911
1915
  () => ({ library: i, version: e }),
1912
1916
  "VERSION"
@@ -1930,9 +1934,9 @@ function j(n, e, t) {
1930
1934
  * limitations under the License.
1931
1935
  */
1932
1936
  const Si = "firebase-heartbeat-database", Ai = 1, Y = "firebase-heartbeat-store";
1933
- let Ne = null;
1937
+ let Ce = null;
1934
1938
  function Kt() {
1935
- return Ne || (Ne = Gr(Si, Ai, {
1939
+ return Ce || (Ce = Wr(Si, Ai, {
1936
1940
  upgrade: (n, e) => {
1937
1941
  switch (e) {
1938
1942
  case 0:
@@ -1944,10 +1948,10 @@ function Kt() {
1944
1948
  }
1945
1949
  }
1946
1950
  }).catch((n) => {
1947
- throw D.create("idb-open", {
1951
+ throw N.create("idb-open", {
1948
1952
  originalErrorMessage: n.message
1949
1953
  });
1950
- })), Ne;
1954
+ })), Ce;
1951
1955
  }
1952
1956
  async function Oi(n) {
1953
1957
  try {
@@ -1957,14 +1961,14 @@ async function Oi(n) {
1957
1961
  if (e instanceof M)
1958
1962
  T.warn(e.message);
1959
1963
  else {
1960
- const t = D.create("idb-get", {
1964
+ const t = N.create("idb-get", {
1961
1965
  originalErrorMessage: e == null ? void 0 : e.message
1962
1966
  });
1963
1967
  T.warn(t.message);
1964
1968
  }
1965
1969
  }
1966
1970
  }
1967
- async function mt(n, e) {
1971
+ async function ft(n, e) {
1968
1972
  try {
1969
1973
  const r = (await Kt()).transaction(Y, "readwrite");
1970
1974
  await r.objectStore(Y).put(e, qt(n)), await r.done;
@@ -1972,7 +1976,7 @@ async function mt(n, e) {
1972
1976
  if (t instanceof M)
1973
1977
  T.warn(t.message);
1974
1978
  else {
1975
- const r = D.create("idb-set", {
1979
+ const r = N.create("idb-set", {
1976
1980
  originalErrorMessage: t == null ? void 0 : t.message
1977
1981
  });
1978
1982
  T.warn(r.message);
@@ -1998,8 +2002,8 @@ function qt(n) {
1998
2002
  * See the License for the specific language governing permissions and
1999
2003
  * limitations under the License.
2000
2004
  */
2001
- const Ni = 1024, Ci = 30 * 24 * 60 * 60 * 1e3;
2002
- class Di {
2005
+ const Ci = 1024, Di = 30 * 24 * 60 * 60 * 1e3;
2006
+ class Ni {
2003
2007
  constructor(e) {
2004
2008
  this.container = e, this._heartbeatsCache = null;
2005
2009
  const t = this.container.getProvider("app").getImmediate();
@@ -2015,10 +2019,10 @@ class Di {
2015
2019
  async triggerHeartbeat() {
2016
2020
  var e, t;
2017
2021
  try {
2018
- const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = ft();
2022
+ const i = this.container.getProvider("platform-logger").getImmediate().getPlatformInfoString(), s = mt();
2019
2023
  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) => {
2020
2024
  const c = new Date(a.date).valueOf();
2021
- return Date.now() - c <= Ci;
2025
+ return Date.now() - c <= Di;
2022
2026
  }), this._storage.overwrite(this._heartbeatsCache));
2023
2027
  } catch (r) {
2024
2028
  T.warn(r);
@@ -2036,17 +2040,17 @@ class Di {
2036
2040
  try {
2037
2041
  if (this._heartbeatsCache === null && await this._heartbeatsCachePromise, ((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null || this._heartbeatsCache.heartbeats.length === 0)
2038
2042
  return "";
2039
- const t = ft(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2043
+ const t = mt(), { heartbeatsToSend: r, unsentEntries: i } = Pi(this._heartbeatsCache.heartbeats), s = de(JSON.stringify({ version: 2, heartbeats: r }));
2040
2044
  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;
2041
2045
  } catch (t) {
2042
2046
  return T.warn(t), "";
2043
2047
  }
2044
2048
  }
2045
2049
  }
2046
- function ft() {
2050
+ function mt() {
2047
2051
  return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
2048
2052
  }
2049
- function Pi(n, e = Ni) {
2053
+ function Pi(n, e = Ci) {
2050
2054
  const t = [];
2051
2055
  let r = n.slice();
2052
2056
  for (const i of n) {
@@ -2075,7 +2079,7 @@ class Mi {
2075
2079
  this.app = e, this._canUseIndexedDBPromise = this.runIndexedDBEnvironmentCheck();
2076
2080
  }
2077
2081
  async runIndexedDBEnvironmentCheck() {
2078
- return vr() ? br().then(() => !0).catch(() => !1) : !1;
2082
+ return Ir() ? br().then(() => !0).catch(() => !1) : !1;
2079
2083
  }
2080
2084
  /**
2081
2085
  * Read all heartbeats.
@@ -2092,7 +2096,7 @@ class Mi {
2092
2096
  var t;
2093
2097
  if (await this._canUseIndexedDBPromise) {
2094
2098
  const i = await this.read();
2095
- return mt(this.app, {
2099
+ return ft(this.app, {
2096
2100
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2097
2101
  heartbeats: e.heartbeats
2098
2102
  });
@@ -2104,7 +2108,7 @@ class Mi {
2104
2108
  var t;
2105
2109
  if (await this._canUseIndexedDBPromise) {
2106
2110
  const i = await this.read();
2107
- return mt(this.app, {
2111
+ return ft(this.app, {
2108
2112
  lastSentHeartbeatDate: (t = e.lastSentHeartbeatDate) !== null && t !== void 0 ? t : i.lastSentHeartbeatDate,
2109
2113
  heartbeats: [
2110
2114
  ...i.heartbeats,
@@ -2138,17 +2142,17 @@ function _t(n) {
2138
2142
  * limitations under the License.
2139
2143
  */
2140
2144
  function Li(n) {
2141
- X(new G(
2145
+ X(new W(
2142
2146
  "platform-logger",
2143
- (e) => new Zr(e),
2147
+ (e) => new $r(e),
2144
2148
  "PRIVATE"
2145
2149
  /* ComponentType.PRIVATE */
2146
- )), X(new G(
2150
+ )), X(new W(
2147
2151
  "heartbeat",
2148
- (e) => new Di(e),
2152
+ (e) => new Ni(e),
2149
2153
  "PRIVATE"
2150
2154
  /* ComponentType.PRIVATE */
2151
- )), j(Be, ht, n), j(Be, ht, "esm2017"), j("fire-js", "");
2155
+ )), G(Be, ht, n), G(Be, ht, "esm2017"), G("fire-js", "");
2152
2156
  }
2153
2157
  Li("");
2154
2158
  var Ui = "firebase", Bi = "10.14.1";
@@ -2168,7 +2172,7 @@ var Ui = "firebase", Bi = "10.14.1";
2168
2172
  * See the License for the specific language governing permissions and
2169
2173
  * limitations under the License.
2170
2174
  */
2171
- j(Ui, Bi, "app");
2175
+ G(Ui, Bi, "app");
2172
2176
  var gt = function() {
2173
2177
  return gt = Object.assign || function(e) {
2174
2178
  for (var t, r = 1, i = arguments.length; r < i; r++) {
@@ -2178,7 +2182,7 @@ var gt = function() {
2178
2182
  return e;
2179
2183
  }, gt.apply(this, arguments);
2180
2184
  };
2181
- function Ze(n, e) {
2185
+ function $e(n, e) {
2182
2186
  var t = {};
2183
2187
  for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && e.indexOf(r) < 0 && (t[r] = n[r]);
2184
2188
  if (n != null && typeof Object.getOwnPropertySymbols == "function")
@@ -2191,7 +2195,7 @@ function Qt() {
2191
2195
  "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."
2192
2196
  };
2193
2197
  }
2194
- const xi = Qt, en = new q("auth", "Firebase", Qt());
2198
+ const Fi = Qt, en = new q("auth", "Firebase", Qt());
2195
2199
  /**
2196
2200
  * @license
2197
2201
  * Copyright 2020 Google LLC
@@ -2208,8 +2212,8 @@ const xi = Qt, en = new q("auth", "Firebase", Qt());
2208
2212
  * See the License for the specific language governing permissions and
2209
2213
  * limitations under the License.
2210
2214
  */
2211
- const pe = new $t("@firebase/auth");
2212
- function Fi(n, ...e) {
2215
+ const pe = new Zt("@firebase/auth");
2216
+ function xi(n, ...e) {
2213
2217
  pe.logLevel <= p.WARN && pe.warn(`Auth (${ee}): ${n}`, ...e);
2214
2218
  }
2215
2219
  function se(n, ...e) {
@@ -2238,7 +2242,7 @@ function _(n, ...e) {
2238
2242
  return Je(n, ...e);
2239
2243
  }
2240
2244
  function tn(n, e, t) {
2241
- const r = Object.assign(Object.assign({}, xi()), { [e]: t });
2245
+ const r = Object.assign(Object.assign({}, Fi()), { [e]: t });
2242
2246
  return new q("auth", "Firebase", r).create(e, {
2243
2247
  appName: n.name
2244
2248
  });
@@ -2261,7 +2265,7 @@ function b(n) {
2261
2265
  const e = "INTERNAL ASSERTION FAILED: " + n;
2262
2266
  throw se(e), new Error(e);
2263
2267
  }
2264
- function R(n, e) {
2268
+ function k(n, e) {
2265
2269
  n || b(e);
2266
2270
  }
2267
2271
  /**
@@ -2280,14 +2284,14 @@ function R(n, e) {
2280
2284
  * See the License for the specific language governing permissions and
2281
2285
  * limitations under the License.
2282
2286
  */
2283
- function je() {
2287
+ function Ge() {
2284
2288
  var n;
2285
2289
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.href) || "";
2286
2290
  }
2287
- function ji() {
2288
- return It() === "http:" || It() === "https:";
2291
+ function Gi() {
2292
+ return vt() === "http:" || vt() === "https:";
2289
2293
  }
2290
- function It() {
2294
+ function vt() {
2291
2295
  var n;
2292
2296
  return typeof self < "u" && ((n = self.location) === null || n === void 0 ? void 0 : n.protocol) || null;
2293
2297
  }
@@ -2313,9 +2317,9 @@ function Hi() {
2313
2317
  // navigator.onLine behavior unless cordova-plugin-network-information is
2314
2318
  // installed which overwrites the native navigator.onLine value and
2315
2319
  // defines navigator.connection.
2316
- (ji() || _r() || "connection" in navigator) ? navigator.onLine : !0;
2320
+ (Gi() || _r() || "connection" in navigator) ? navigator.onLine : !0;
2317
2321
  }
2318
- function Wi() {
2322
+ function Vi() {
2319
2323
  if (typeof navigator > "u")
2320
2324
  return null;
2321
2325
  const n = navigator;
@@ -2345,7 +2349,7 @@ function Wi() {
2345
2349
  */
2346
2350
  class te {
2347
2351
  constructor(e, t) {
2348
- this.shortDelay = e, this.longDelay = t, R(t > e, "Short delay should be less than long delay!"), this.isMobile = mr() || gr();
2352
+ this.shortDelay = e, this.longDelay = t, k(t > e, "Short delay should be less than long delay!"), this.isMobile = fr() || gr();
2349
2353
  }
2350
2354
  get() {
2351
2355
  return Hi() ? this.isMobile ? this.longDelay : this.shortDelay : Math.min(5e3, this.shortDelay);
@@ -2368,7 +2372,7 @@ class te {
2368
2372
  * limitations under the License.
2369
2373
  */
2370
2374
  function Xe(n, e) {
2371
- R(n.emulator, "Emulator should always be set here");
2375
+ k(n.emulator, "Emulator should always be set here");
2372
2376
  const { url: t } = n.emulator;
2373
2377
  return e ? `${t}${e.startsWith("/") ? e.slice(1) : e}` : t;
2374
2378
  }
@@ -2442,7 +2446,7 @@ class nn {
2442
2446
  * See the License for the specific language governing permissions and
2443
2447
  * limitations under the License.
2444
2448
  */
2445
- const Vi = {
2449
+ const ji = {
2446
2450
  // Custom token errors.
2447
2451
  CREDENTIAL_MISMATCH: "custom-token-mismatch",
2448
2452
  // This can only happen if the SDK sends a bad request.
@@ -2533,11 +2537,11 @@ const Vi = {
2533
2537
  * See the License for the specific language governing permissions and
2534
2538
  * limitations under the License.
2535
2539
  */
2536
- const Gi = new te(3e4, 6e4);
2537
- function Ie(n, e) {
2540
+ const Wi = new te(3e4, 6e4);
2541
+ function ve(n, e) {
2538
2542
  return n.tenantId && !e.tenantId ? Object.assign(Object.assign({}, e), { tenantId: n.tenantId }) : e;
2539
2543
  }
2540
- async function $(n, e, t, r, i = {}) {
2544
+ async function Z(n, e, t, r, i = {}) {
2541
2545
  return rn(n, i, async () => {
2542
2546
  let s = {}, a = {};
2543
2547
  r && (e === "GET" ? a = r : s = {
@@ -2555,12 +2559,12 @@ async function $(n, e, t, r, i = {}) {
2555
2559
  method: e,
2556
2560
  headers: o
2557
2561
  }, s);
2558
- return fr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2562
+ return mr() || (l.referrerPolicy = "no-referrer"), nn.fetch()(an(n, n.config.apiHost, t, c), l);
2559
2563
  });
2560
2564
  }
2561
2565
  async function rn(n, e, t) {
2562
2566
  n._canInitEmulator = !1;
2563
- const r = Object.assign(Object.assign({}, Vi), e);
2567
+ const r = Object.assign(Object.assign({}, ji), e);
2564
2568
  try {
2565
2569
  const i = new zi(n), s = await Promise.race([
2566
2570
  t(),
@@ -2592,7 +2596,7 @@ async function rn(n, e, t) {
2592
2596
  }
2593
2597
  }
2594
2598
  async function sn(n, e, t, r, i = {}) {
2595
- const s = await $(n, e, t, r, i);
2599
+ const s = await Z(n, e, t, r, i);
2596
2600
  return "mfaPendingCredential" in s && w(n, "multi-factor-auth-required", {
2597
2601
  _serverResponse: s
2598
2602
  }), s;
@@ -2608,7 +2612,7 @@ class zi {
2608
2612
  this.auth,
2609
2613
  "network-request-failed"
2610
2614
  /* AuthErrorCode.NETWORK_REQUEST_FAILED */
2611
- )), Gi.get());
2615
+ )), Wi.get());
2612
2616
  });
2613
2617
  }
2614
2618
  clearNetworkTimeout() {
@@ -2639,11 +2643,11 @@ function ie(n, e, t) {
2639
2643
  * See the License for the specific language governing permissions and
2640
2644
  * limitations under the License.
2641
2645
  */
2642
- async function $i(n, e) {
2643
- return $(n, "POST", "/v1/accounts:delete", e);
2646
+ async function Zi(n, e) {
2647
+ return Z(n, "POST", "/v1/accounts:delete", e);
2644
2648
  }
2645
2649
  async function on(n, e) {
2646
- return $(n, "POST", "/v1/accounts:lookup", e);
2650
+ return Z(n, "POST", "/v1/accounts:lookup", e);
2647
2651
  }
2648
2652
  /**
2649
2653
  * @license
@@ -2670,7 +2674,7 @@ function J(n) {
2670
2674
  } catch {
2671
2675
  }
2672
2676
  }
2673
- async function Zi(n, e = !1) {
2677
+ async function $i(n, e = !1) {
2674
2678
  const t = z(n), r = await t.getIdToken(e), i = Ye(r);
2675
2679
  u(
2676
2680
  i && i.exp && i.auth_time && i.iat,
@@ -2682,14 +2686,14 @@ async function Zi(n, e = !1) {
2682
2686
  return {
2683
2687
  claims: i,
2684
2688
  token: r,
2685
- authTime: J(Ce(i.auth_time)),
2686
- issuedAtTime: J(Ce(i.iat)),
2687
- expirationTime: J(Ce(i.exp)),
2689
+ authTime: J(De(i.auth_time)),
2690
+ issuedAtTime: J(De(i.iat)),
2691
+ expirationTime: J(De(i.exp)),
2688
2692
  signInProvider: a || null,
2689
2693
  signInSecondFactor: (s == null ? void 0 : s.sign_in_second_factor) || null
2690
2694
  };
2691
2695
  }
2692
- function Ce(n) {
2696
+ function De(n) {
2693
2697
  return Number(n) * 1e3;
2694
2698
  }
2695
2699
  function Ye(n) {
@@ -2697,13 +2701,13 @@ function Ye(n) {
2697
2701
  if (e === void 0 || t === void 0 || r === void 0)
2698
2702
  return se("JWT malformed, contained fewer than 3 sections"), null;
2699
2703
  try {
2700
- const i = Wt(t);
2704
+ const i = Vt(t);
2701
2705
  return i ? JSON.parse(i) : (se("Failed to decode base64 JWT payload"), null);
2702
2706
  } catch (i) {
2703
2707
  return se("Caught error parsing JWT payload as JSON", i == null ? void 0 : i.toString()), null;
2704
2708
  }
2705
2709
  }
2706
- function vt(n) {
2710
+ function It(n) {
2707
2711
  const e = Ye(n);
2708
2712
  return u(
2709
2713
  e,
@@ -2858,7 +2862,7 @@ class He {
2858
2862
  * See the License for the specific language governing permissions and
2859
2863
  * limitations under the License.
2860
2864
  */
2861
- async function me(n) {
2865
+ async function fe(n) {
2862
2866
  var e;
2863
2867
  const t = n.auth, r = await n.getIdToken(), i = await K(n, on(t, { idToken: r }));
2864
2868
  u(
@@ -2885,14 +2889,14 @@ async function me(n) {
2885
2889
  }
2886
2890
  async function Yi(n) {
2887
2891
  const e = z(n);
2888
- await me(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2892
+ await fe(e), await e.auth._persistUserIfCurrent(e), e.auth._notifyListenersIfCurrent(e);
2889
2893
  }
2890
2894
  function Ki(n, e) {
2891
2895
  return [...n.filter((r) => !e.some((i) => i.providerId === r.providerId)), ...e];
2892
2896
  }
2893
2897
  function cn(n) {
2894
2898
  return n.map((e) => {
2895
- var { providerId: t } = e, r = Ze(e, ["providerId"]);
2899
+ var { providerId: t } = e, r = $e(e, ["providerId"]);
2896
2900
  return {
2897
2901
  providerId: t,
2898
2902
  uid: r.rawId || "",
@@ -2941,7 +2945,7 @@ async function qi(n, e) {
2941
2945
  };
2942
2946
  }
2943
2947
  async function Qi(n, e) {
2944
- return $(n, "POST", "/v2/accounts:revokeToken", Ie(n, e));
2948
+ return Z(n, "POST", "/v2/accounts:revokeToken", ve(n, e));
2945
2949
  }
2946
2950
  /**
2947
2951
  * @license
@@ -2980,7 +2984,7 @@ class H {
2980
2984
  "internal-error"
2981
2985
  /* AuthErrorCode.INTERNAL_ERROR */
2982
2986
  );
2983
- const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : vt(e.idToken);
2987
+ const t = "expiresIn" in e && typeof e.expiresIn < "u" ? Number(e.expiresIn) : It(e.idToken);
2984
2988
  this.updateTokensAndExpiration(e.idToken, e.refreshToken, t);
2985
2989
  }
2986
2990
  updateFromIdToken(e) {
@@ -2989,7 +2993,7 @@ class H {
2989
2993
  "internal-error"
2990
2994
  /* AuthErrorCode.INTERNAL_ERROR */
2991
2995
  );
2992
- const t = vt(e);
2996
+ const t = It(e);
2993
2997
  this.updateTokensAndExpiration(e, null, t);
2994
2998
  }
2995
2999
  async getToken(e, t = !1) {
@@ -3053,12 +3057,12 @@ class H {
3053
3057
  * See the License for the specific language governing permissions and
3054
3058
  * limitations under the License.
3055
3059
  */
3056
- function k(n, e) {
3060
+ function R(n, e) {
3057
3061
  u(typeof n == "string" || typeof n > "u", "internal-error", { appName: e });
3058
3062
  }
3059
3063
  class y {
3060
3064
  constructor(e) {
3061
- var { uid: t, auth: r, stsTokenManager: i } = e, s = Ze(e, ["uid", "auth", "stsTokenManager"]);
3065
+ var { uid: t, auth: r, stsTokenManager: i } = e, s = $e(e, ["uid", "auth", "stsTokenManager"]);
3062
3066
  this.providerId = "firebase", this.proactiveRefresh = new Xi(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);
3063
3067
  }
3064
3068
  async getIdToken(e) {
@@ -3071,7 +3075,7 @@ class y {
3071
3075
  ), this.accessToken !== t && (this.accessToken = t, await this.auth._persistUserIfCurrent(this), this.auth._notifyListenersIfCurrent(this)), t;
3072
3076
  }
3073
3077
  getIdTokenResult(e) {
3074
- return Zi(this, e);
3078
+ return $i(this, e);
3075
3079
  }
3076
3080
  reload() {
3077
3081
  return Yi(this);
@@ -3107,13 +3111,13 @@ class y {
3107
3111
  }
3108
3112
  async _updateTokensIfNecessary(e, t = !1) {
3109
3113
  let r = !1;
3110
- 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);
3114
+ 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);
3111
3115
  }
3112
3116
  async delete() {
3113
- if (v(this.auth.app))
3117
+ if (I(this.auth.app))
3114
3118
  return Promise.reject(P(this.auth));
3115
3119
  const e = await this.getIdToken();
3116
- return await K(this, $i(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
3120
+ return await K(this, Zi(this.auth, { idToken: e })), this.stsTokenManager.clearRefreshToken(), this.auth.signOut();
3117
3121
  }
3118
3122
  toJSON() {
3119
3123
  return Object.assign(Object.assign({
@@ -3141,7 +3145,7 @@ class y {
3141
3145
  }
3142
3146
  static _fromJSON(e, t) {
3143
3147
  var r, i, s, a, c, o, l, d;
3144
- const h = (r = t.displayName) !== null && r !== void 0 ? r : void 0, m = (i = t.email) !== null && i !== void 0 ? i : void 0, I = (s = t.phoneNumber) !== null && s !== void 0 ? s : void 0, x = (a = t.photoURL) !== null && a !== void 0 ? a : void 0, tt = (c = t.tenantId) !== null && c !== void 0 ? c : void 0, Ee = (o = t._redirectEventId) !== null && o !== void 0 ? o : void 0, nt = (l = t.createdAt) !== null && l !== void 0 ? l : void 0, rt = (d = t.lastLoginAt) !== null && d !== void 0 ? d : void 0, { uid: Te, emailVerified: it, isAnonymous: st, providerData: we, stsTokenManager: at } = t;
3148
+ 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, 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;
3145
3149
  u(
3146
3150
  Te && at,
3147
3151
  e,
@@ -3154,7 +3158,7 @@ class y {
3154
3158
  e,
3155
3159
  "internal-error"
3156
3160
  /* AuthErrorCode.INTERNAL_ERROR */
3157
- ), k(h, e.name), k(m, e.name), u(
3161
+ ), R(h, e.name), R(f, e.name), u(
3158
3162
  typeof it == "boolean",
3159
3163
  e,
3160
3164
  "internal-error"
@@ -3164,22 +3168,22 @@ class y {
3164
3168
  e,
3165
3169
  "internal-error"
3166
3170
  /* AuthErrorCode.INTERNAL_ERROR */
3167
- ), k(I, e.name), k(x, e.name), k(tt, e.name), k(Ee, e.name), k(nt, e.name), k(rt, e.name);
3168
- const Re = new y({
3171
+ ), R(v, e.name), R(F, e.name), R(tt, e.name), R(Ee, e.name), R(nt, e.name), R(rt, e.name);
3172
+ const ke = new y({
3169
3173
  uid: Te,
3170
3174
  auth: e,
3171
- email: m,
3175
+ email: f,
3172
3176
  emailVerified: it,
3173
3177
  displayName: h,
3174
3178
  isAnonymous: st,
3175
- photoURL: x,
3176
- phoneNumber: I,
3179
+ photoURL: F,
3180
+ phoneNumber: v,
3177
3181
  tenantId: tt,
3178
3182
  stsTokenManager: Pn,
3179
3183
  createdAt: nt,
3180
3184
  lastLoginAt: rt
3181
3185
  });
3182
- return we && Array.isArray(we) && (Re.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (Re._redirectEventId = Ee), Re;
3186
+ return we && Array.isArray(we) && (ke.providerData = we.map((Mn) => Object.assign({}, Mn))), Ee && (ke._redirectEventId = Ee), ke;
3183
3187
  }
3184
3188
  /**
3185
3189
  * Initialize a User from an idToken server response
@@ -3195,7 +3199,7 @@ class y {
3195
3199
  stsTokenManager: i,
3196
3200
  isAnonymous: r
3197
3201
  });
3198
- return await me(s), s;
3202
+ return await fe(s), s;
3199
3203
  }
3200
3204
  /**
3201
3205
  * Initialize a User from an idToken server response
@@ -3249,9 +3253,9 @@ class y {
3249
3253
  */
3250
3254
  const bt = /* @__PURE__ */ new Map();
3251
3255
  function E(n) {
3252
- R(n instanceof Function, "Expected a class definition");
3256
+ k(n instanceof Function, "Expected a class definition");
3253
3257
  let e = bt.get(n);
3254
- return e ? (R(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3258
+ return e ? (k(e instanceof n, "Instance stored in cache mismatched with class"), e) : (e = new n(), bt.set(n, e), e);
3255
3259
  }
3256
3260
  /**
3257
3261
  * @license
@@ -3312,7 +3316,7 @@ const yt = ln;
3312
3316
  function ae(n, e, t) {
3313
3317
  return `firebase:${n}:${e}:${t}`;
3314
3318
  }
3315
- class W {
3319
+ class V {
3316
3320
  constructor(e, t, r) {
3317
3321
  this.persistence = e, this.auth = t, this.userKey = r;
3318
3322
  const { config: i, name: s } = this.auth;
@@ -3343,7 +3347,7 @@ class W {
3343
3347
  }
3344
3348
  static async create(e, t, r = "authUser") {
3345
3349
  if (!t.length)
3346
- return new W(E(yt), e, r);
3350
+ return new V(E(yt), e, r);
3347
3351
  const i = (await Promise.all(t.map(async (l) => {
3348
3352
  if (await l._isAvailable())
3349
3353
  return l;
@@ -3362,13 +3366,13 @@ class W {
3362
3366
  } catch {
3363
3367
  }
3364
3368
  const o = i.filter((l) => l._shouldAllowMigration);
3365
- return !s._shouldAllowMigration || !o.length ? new W(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3369
+ return !s._shouldAllowMigration || !o.length ? new V(s, e, r) : (s = o[0], c && await s._set(a, c.toJSON()), await Promise.all(t.map(async (l) => {
3366
3370
  if (l !== s)
3367
3371
  try {
3368
3372
  await l._remove(a);
3369
3373
  } catch {
3370
3374
  }
3371
- })), new W(s, e, r));
3375
+ })), new V(s, e, r));
3372
3376
  }
3373
3377
  }
3374
3378
  /**
@@ -3401,7 +3405,7 @@ function Et(n) {
3401
3405
  return "Firefox";
3402
3406
  if (e.includes("silk/"))
3403
3407
  return "Silk";
3404
- if (fn(e))
3408
+ if (mn(e))
3405
3409
  return "Blackberry";
3406
3410
  if (_n(e))
3407
3411
  return "Webos";
@@ -3409,7 +3413,7 @@ function Et(n) {
3409
3413
  return "Safari";
3410
3414
  if ((e.includes("chrome/") || hn(e)) && !e.includes("edge/"))
3411
3415
  return "Chrome";
3412
- if (mn(e))
3416
+ if (fn(e))
3413
3417
  return "Android";
3414
3418
  {
3415
3419
  const t = /([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/, r = n.match(t);
@@ -3418,40 +3422,40 @@ function Et(n) {
3418
3422
  }
3419
3423
  return "Other";
3420
3424
  }
3421
- function dn(n = f()) {
3425
+ function dn(n = m()) {
3422
3426
  return /firefox\//i.test(n);
3423
3427
  }
3424
- function un(n = f()) {
3428
+ function un(n = m()) {
3425
3429
  const e = n.toLowerCase();
3426
3430
  return e.includes("safari/") && !e.includes("chrome/") && !e.includes("crios/") && !e.includes("android");
3427
3431
  }
3428
- function hn(n = f()) {
3432
+ function hn(n = m()) {
3429
3433
  return /crios\//i.test(n);
3430
3434
  }
3431
- function pn(n = f()) {
3435
+ function pn(n = m()) {
3432
3436
  return /iemobile/i.test(n);
3433
3437
  }
3434
- function mn(n = f()) {
3438
+ function fn(n = m()) {
3435
3439
  return /android/i.test(n);
3436
3440
  }
3437
- function fn(n = f()) {
3441
+ function mn(n = m()) {
3438
3442
  return /blackberry/i.test(n);
3439
3443
  }
3440
- function _n(n = f()) {
3444
+ function _n(n = m()) {
3441
3445
  return /webos/i.test(n);
3442
3446
  }
3443
- function Ke(n = f()) {
3447
+ function Ke(n = m()) {
3444
3448
  return /iphone|ipad|ipod/i.test(n) || /macintosh/i.test(n) && /mobile/i.test(n);
3445
3449
  }
3446
- function es(n = f()) {
3450
+ function es(n = m()) {
3447
3451
  var e;
3448
3452
  return Ke(n) && !!(!((e = window.navigator) === null || e === void 0) && e.standalone);
3449
3453
  }
3450
3454
  function ts() {
3451
- return Ir() && document.documentMode === 10;
3455
+ return vr() && document.documentMode === 10;
3452
3456
  }
3453
- function gn(n = f()) {
3454
- return Ke(n) || mn(n) || _n(n) || fn(n) || /windows phone/i.test(n) || pn(n);
3457
+ function gn(n = m()) {
3458
+ return Ke(n) || fn(n) || _n(n) || mn(n) || /windows phone/i.test(n) || pn(n);
3455
3459
  }
3456
3460
  /**
3457
3461
  * @license
@@ -3469,14 +3473,14 @@ function gn(n = f()) {
3469
3473
  * See the License for the specific language governing permissions and
3470
3474
  * limitations under the License.
3471
3475
  */
3472
- function In(n, e = []) {
3476
+ function vn(n, e = []) {
3473
3477
  let t;
3474
3478
  switch (n) {
3475
3479
  case "Browser":
3476
- t = Et(f());
3480
+ t = Et(m());
3477
3481
  break;
3478
3482
  case "Worker":
3479
- t = `${Et(f())}-${n}`;
3483
+ t = `${Et(m())}-${n}`;
3480
3484
  break;
3481
3485
  default:
3482
3486
  t = n;
@@ -3556,7 +3560,7 @@ class ns {
3556
3560
  * limitations under the License.
3557
3561
  */
3558
3562
  async function rs(n, e = {}) {
3559
- return $(n, "GET", "/v2/passwordPolicy", Ie(n, e));
3563
+ return Z(n, "GET", "/v2/passwordPolicy", ve(n, e));
3560
3564
  }
3561
3565
  /**
3562
3566
  * @license
@@ -3669,7 +3673,7 @@ class as {
3669
3673
  _initializeWithPersistence(e, t) {
3670
3674
  return t && (this._popupRedirectResolver = E(t)), this._initializationPromise = this.queue(async () => {
3671
3675
  var r, i;
3672
- if (!this._deleted && (this.persistenceManager = await W.create(this, e), !this._deleted)) {
3676
+ if (!this._deleted && (this.persistenceManager = await V.create(this, e), !this._deleted)) {
3673
3677
  if (!((r = this._popupRedirectResolver) === null || r === void 0) && r._shouldInitProactively)
3674
3678
  try {
3675
3679
  await this._popupRedirectResolver._initialize(this);
@@ -3708,7 +3712,7 @@ class as {
3708
3712
  }
3709
3713
  async initializeCurrentUser(e) {
3710
3714
  var t;
3711
- if (v(this.app)) {
3715
+ if (I(this.app)) {
3712
3716
  const a = this.app.settings.authIdToken;
3713
3717
  return a ? new Promise((c) => {
3714
3718
  setTimeout(() => this.initializeCurrentUserFromIdToken(a).then(c, c));
@@ -3750,7 +3754,7 @@ class as {
3750
3754
  }
3751
3755
  async reloadAndSetCurrentUserOrClear(e) {
3752
3756
  try {
3753
- await me(e);
3757
+ await fe(e);
3754
3758
  } catch (t) {
3755
3759
  if ((t == null ? void 0 : t.code) !== "auth/network-request-failed")
3756
3760
  return this.directlySetCurrentUser(null);
@@ -3758,13 +3762,13 @@ class as {
3758
3762
  return this.directlySetCurrentUser(e);
3759
3763
  }
3760
3764
  useDeviceLanguage() {
3761
- this.languageCode = Wi();
3765
+ this.languageCode = Vi();
3762
3766
  }
3763
3767
  async _delete() {
3764
3768
  this._deleted = !0;
3765
3769
  }
3766
3770
  async updateCurrentUser(e) {
3767
- if (v(this.app))
3771
+ if (I(this.app))
3768
3772
  return Promise.reject(P(this));
3769
3773
  const t = e ? z(e) : null;
3770
3774
  return t && u(
@@ -3786,14 +3790,14 @@ class as {
3786
3790
  });
3787
3791
  }
3788
3792
  async signOut() {
3789
- return v(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
3793
+ return I(this.app) ? Promise.reject(P(this)) : (await this.beforeStateQueue.runMiddleware(null), (this.redirectPersistenceManager || this._popupRedirectResolver) && await this._setRedirectUser(null), this._updateCurrentUser(
3790
3794
  null,
3791
3795
  /* skipBeforeStateCallbacks */
3792
3796
  !0
3793
3797
  ));
3794
3798
  }
3795
3799
  setPersistence(e) {
3796
- return v(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
3800
+ return I(this.app) ? Promise.reject(P(this)) : this.queue(async () => {
3797
3801
  await this.assertedPersistence.setPersistence(E(e));
3798
3802
  });
3799
3803
  }
@@ -3873,7 +3877,7 @@ class as {
3873
3877
  this,
3874
3878
  "argument-error"
3875
3879
  /* AuthErrorCode.ARGUMENT_ERROR */
3876
- ), this.redirectPersistenceManager = await W.create(
3880
+ ), this.redirectPersistenceManager = await V.create(
3877
3881
  this,
3878
3882
  [E(t._redirectPersistence)],
3879
3883
  "redirectUser"
@@ -3962,7 +3966,7 @@ class as {
3962
3966
  ), this.persistenceManager;
3963
3967
  }
3964
3968
  _logFramework(e) {
3965
- !e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = In(this.config.clientPlatform, this._getFrameworks()));
3969
+ !e || this.frameworks.includes(e) || (this.frameworks.push(e), this.frameworks.sort(), this.clientVersion = vn(this.config.clientPlatform, this._getFrameworks()));
3966
3970
  }
3967
3971
  _getFrameworks() {
3968
3972
  return this.frameworks;
@@ -3992,15 +3996,15 @@ class as {
3992
3996
  async _getAppCheckToken() {
3993
3997
  var e;
3994
3998
  const t = await ((e = this.appCheckServiceProvider.getImmediate({ optional: !0 })) === null || e === void 0 ? void 0 : e.getToken());
3995
- return t != null && t.error && Fi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3999
+ return t != null && t.error && xi(`Error while retrieving App Check token: ${t.error}`), t == null ? void 0 : t.token;
3996
4000
  }
3997
4001
  }
3998
- function ve(n) {
4002
+ function Ie(n) {
3999
4003
  return z(n);
4000
4004
  }
4001
4005
  class Tt {
4002
4006
  constructor(e) {
4003
- this.auth = e, this.observer = null, this.addObserver = Rr((t) => this.observer = t);
4007
+ this.auth = e, this.observer = null, this.addObserver = kr((t) => this.observer = t);
4004
4008
  }
4005
4009
  get next() {
4006
4010
  return u(
@@ -4082,7 +4086,7 @@ function hs(n, e) {
4082
4086
  e != null && e.errorMap && n._updateErrorMap(e.errorMap), n._initializeWithPersistence(r, e == null ? void 0 : e.popupRedirectResolver);
4083
4087
  }
4084
4088
  function ps(n, e, t) {
4085
- const r = ve(n);
4089
+ const r = Ie(n);
4086
4090
  u(
4087
4091
  r._canInitEmulator,
4088
4092
  r,
@@ -4094,20 +4098,20 @@ function ps(n, e, t) {
4094
4098
  "invalid-emulator-scheme"
4095
4099
  /* AuthErrorCode.INVALID_EMULATOR_SCHEME */
4096
4100
  );
4097
- const i = !1, s = vn(e), { host: a, port: c } = ms(e), o = c === null ? "" : `:${c}`;
4101
+ const i = !1, s = In(e), { host: a, port: c } = fs(e), o = c === null ? "" : `:${c}`;
4098
4102
  r.config.emulator = { url: `${s}//${a}${o}/` }, r.settings.appVerificationDisabledForTesting = !0, r.emulatorConfig = Object.freeze({
4099
4103
  host: a,
4100
4104
  port: c,
4101
4105
  protocol: s.replace(":", ""),
4102
4106
  options: Object.freeze({ disableWarnings: i })
4103
- }), fs();
4107
+ }), ms();
4104
4108
  }
4105
- function vn(n) {
4109
+ function In(n) {
4106
4110
  const e = n.indexOf(":");
4107
4111
  return e < 0 ? "" : n.substr(0, e + 1);
4108
4112
  }
4109
- function ms(n) {
4110
- const e = vn(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
4113
+ function fs(n) {
4114
+ const e = In(n), t = /(\/\/)?([^?#/]+)/.exec(n.substr(e.length));
4111
4115
  if (!t)
4112
4116
  return { host: "", port: null };
4113
4117
  const r = t[2].split("@").pop() || "", i = /^(\[[^\]]+\])(:|$)/.exec(r);
@@ -4125,7 +4129,7 @@ function wt(n) {
4125
4129
  const e = Number(n);
4126
4130
  return isNaN(e) ? null : e;
4127
4131
  }
4128
- function fs() {
4132
+ function ms() {
4129
4133
  function n() {
4130
4134
  const e = document.createElement("p"), t = e.style;
4131
4135
  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);
@@ -4190,8 +4194,8 @@ class bn {
4190
4194
  * See the License for the specific language governing permissions and
4191
4195
  * limitations under the License.
4192
4196
  */
4193
- async function V(n, e) {
4194
- return sn(n, "POST", "/v1/accounts:signInWithIdp", Ie(n, e));
4197
+ async function j(n, e) {
4198
+ return sn(n, "POST", "/v1/accounts:signInWithIdp", ve(n, e));
4195
4199
  }
4196
4200
  /**
4197
4201
  * @license
@@ -4244,7 +4248,7 @@ class U extends bn {
4244
4248
  * @returns If the JSON input does not represent an {@link AuthCredential}, null is returned.
4245
4249
  */
4246
4250
  static fromJSON(e) {
4247
- const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = Ze(t, ["providerId", "signInMethod"]);
4251
+ const t = typeof e == "string" ? JSON.parse(e) : e, { providerId: r, signInMethod: i } = t, s = $e(t, ["providerId", "signInMethod"]);
4248
4252
  if (!r || !i)
4249
4253
  return null;
4250
4254
  const a = new U(r, i);
@@ -4253,17 +4257,17 @@ class U extends bn {
4253
4257
  /** @internal */
4254
4258
  _getIdTokenResponse(e) {
4255
4259
  const t = this.buildRequest();
4256
- return V(e, t);
4260
+ return j(e, t);
4257
4261
  }
4258
4262
  /** @internal */
4259
4263
  _linkToIdToken(e, t) {
4260
4264
  const r = this.buildRequest();
4261
- return r.idToken = t, V(e, r);
4265
+ return r.idToken = t, j(e, r);
4262
4266
  }
4263
4267
  /** @internal */
4264
4268
  _getReauthenticationResolver(e) {
4265
4269
  const t = this.buildRequest();
4266
- return t.autoCreate = !1, V(e, t);
4270
+ return t.autoCreate = !1, j(e, t);
4267
4271
  }
4268
4272
  buildRequest() {
4269
4273
  const e = {
@@ -4594,7 +4598,7 @@ O.PROVIDER_ID = "github.com";
4594
4598
  * See the License for the specific language governing permissions and
4595
4599
  * limitations under the License.
4596
4600
  */
4597
- class N extends ne {
4601
+ class C extends ne {
4598
4602
  constructor() {
4599
4603
  super(
4600
4604
  "twitter.com"
@@ -4609,8 +4613,8 @@ class N extends ne {
4609
4613
  */
4610
4614
  static credential(e, t) {
4611
4615
  return U._fromParams({
4612
- providerId: N.PROVIDER_ID,
4613
- signInMethod: N.TWITTER_SIGN_IN_METHOD,
4616
+ providerId: C.PROVIDER_ID,
4617
+ signInMethod: C.TWITTER_SIGN_IN_METHOD,
4614
4618
  oauthToken: e,
4615
4619
  oauthTokenSecret: t
4616
4620
  });
@@ -4621,7 +4625,7 @@ class N extends ne {
4621
4625
  * @param userCredential - The user credential.
4622
4626
  */
4623
4627
  static credentialFromResult(e) {
4624
- return N.credentialFromTaggedObject(e);
4628
+ return C.credentialFromTaggedObject(e);
4625
4629
  }
4626
4630
  /**
4627
4631
  * Used to extract the underlying {@link OAuthCredential} from a {@link AuthError} which was
@@ -4630,7 +4634,7 @@ class N extends ne {
4630
4634
  * @param userCredential - The user credential.
4631
4635
  */
4632
4636
  static credentialFromError(e) {
4633
- return N.credentialFromTaggedObject(e.customData || {});
4637
+ return C.credentialFromTaggedObject(e.customData || {});
4634
4638
  }
4635
4639
  static credentialFromTaggedObject({ _tokenResponse: e }) {
4636
4640
  if (!e)
@@ -4639,14 +4643,14 @@ class N extends ne {
4639
4643
  if (!t || !r)
4640
4644
  return null;
4641
4645
  try {
4642
- return N.credential(t, r);
4646
+ return C.credential(t, r);
4643
4647
  } catch {
4644
4648
  return null;
4645
4649
  }
4646
4650
  }
4647
4651
  }
4648
- N.TWITTER_SIGN_IN_METHOD = "twitter.com";
4649
- N.PROVIDER_ID = "twitter.com";
4652
+ C.TWITTER_SIGN_IN_METHOD = "twitter.com";
4653
+ C.PROVIDER_ID = "twitter.com";
4650
4654
  /**
4651
4655
  * @license
4652
4656
  * Copyright 2020 Google LLC
@@ -4668,7 +4672,7 @@ class B {
4668
4672
  this.user = e.user, this.providerId = e.providerId, this._tokenResponse = e._tokenResponse, this.operationType = e.operationType;
4669
4673
  }
4670
4674
  static async _fromIdTokenResponse(e, t, r, i = !1) {
4671
- const s = await y._fromIdTokenResponse(e, r, i), a = Rt(r);
4675
+ const s = await y._fromIdTokenResponse(e, r, i), a = kt(r);
4672
4676
  return new B({
4673
4677
  user: s,
4674
4678
  providerId: a,
@@ -4682,7 +4686,7 @@ class B {
4682
4686
  /* reload */
4683
4687
  !0
4684
4688
  );
4685
- const i = Rt(r);
4689
+ const i = kt(r);
4686
4690
  return new B({
4687
4691
  user: e,
4688
4692
  providerId: i,
@@ -4691,7 +4695,7 @@ class B {
4691
4695
  });
4692
4696
  }
4693
4697
  }
4694
- function Rt(n) {
4698
+ function kt(n) {
4695
4699
  return n.providerId ? n.providerId : "phoneNumber" in n ? "phone" : null;
4696
4700
  }
4697
4701
  /**
@@ -4710,10 +4714,10 @@ function Rt(n) {
4710
4714
  * See the License for the specific language governing permissions and
4711
4715
  * limitations under the License.
4712
4716
  */
4713
- class fe extends M {
4717
+ class me extends M {
4714
4718
  constructor(e, t, r, i) {
4715
4719
  var s;
4716
- super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, fe.prototype), this.customData = {
4720
+ super(t.code, t.message), this.operationType = r, this.user = i, Object.setPrototypeOf(this, me.prototype), this.customData = {
4717
4721
  appName: e.name,
4718
4722
  tenantId: (s = e.tenantId) !== null && s !== void 0 ? s : void 0,
4719
4723
  _serverResponse: t.customData._serverResponse,
@@ -4721,12 +4725,12 @@ class fe extends M {
4721
4725
  };
4722
4726
  }
4723
4727
  static _fromErrorAndOperation(e, t, r, i) {
4724
- return new fe(e, t, r, i);
4728
+ return new me(e, t, r, i);
4725
4729
  }
4726
4730
  }
4727
4731
  function En(n, e, t, r) {
4728
4732
  return (e === "reauthenticate" ? t._getReauthenticationResolver(n) : t._getIdTokenResponse(n)).catch((s) => {
4729
- throw s.code === "auth/multi-factor-auth-required" ? fe._fromErrorAndOperation(n, s, e, r) : s;
4733
+ throw s.code === "auth/multi-factor-auth-required" ? me._fromErrorAndOperation(n, s, e, r) : s;
4730
4734
  });
4731
4735
  }
4732
4736
  async function gs(n, e, t = !1) {
@@ -4749,9 +4753,9 @@ async function gs(n, e, t = !1) {
4749
4753
  * See the License for the specific language governing permissions and
4750
4754
  * limitations under the License.
4751
4755
  */
4752
- async function Is(n, e, t = !1) {
4756
+ async function vs(n, e, t = !1) {
4753
4757
  const { auth: r } = n;
4754
- if (v(r.app))
4758
+ if (I(r.app))
4755
4759
  return Promise.reject(P(r));
4756
4760
  const i = "reauthenticate";
4757
4761
  try {
@@ -4800,8 +4804,8 @@ async function Is(n, e, t = !1) {
4800
4804
  * See the License for the specific language governing permissions and
4801
4805
  * limitations under the License.
4802
4806
  */
4803
- async function vs(n, e, t = !1) {
4804
- if (v(n.app))
4807
+ async function Is(n, e, t = !1) {
4808
+ if (I(n.app))
4805
4809
  return Promise.reject(P(n));
4806
4810
  const r = "signIn", i = await En(n, r, e), s = await B._fromIdTokenResponse(n, r, i);
4807
4811
  return t || await n._updateCurrentUser(s.user), s;
@@ -4823,7 +4827,7 @@ async function vs(n, e, t = !1) {
4823
4827
  * limitations under the License.
4824
4828
  */
4825
4829
  async function bs(n, e) {
4826
- return sn(n, "POST", "/v1/accounts:signInWithCustomToken", Ie(n, e));
4830
+ return sn(n, "POST", "/v1/accounts:signInWithCustomToken", ve(n, e));
4827
4831
  }
4828
4832
  /**
4829
4833
  * @license
@@ -4842,9 +4846,9 @@ async function bs(n, e) {
4842
4846
  * limitations under the License.
4843
4847
  */
4844
4848
  async function ys(n, e) {
4845
- if (v(n.app))
4849
+ if (I(n.app))
4846
4850
  return Promise.reject(P(n));
4847
- const t = ve(n), r = await bs(t, {
4851
+ const t = Ie(n), r = await bs(t, {
4848
4852
  token: e,
4849
4853
  returnSecureToken: !0
4850
4854
  }), i = await B._fromIdTokenResponse(t, "signIn", r);
@@ -4914,7 +4918,7 @@ class Tn {
4914
4918
  * See the License for the specific language governing permissions and
4915
4919
  * limitations under the License.
4916
4920
  */
4917
- const ws = 1e3, Rs = 10;
4921
+ const ws = 1e3, ks = 10;
4918
4922
  class wn extends Tn {
4919
4923
  constructor() {
4920
4924
  super(
@@ -4942,7 +4946,7 @@ class wn extends Tn {
4942
4946
  const a = this.storage.getItem(r);
4943
4947
  !t && this.localCache[r] === a || this.notifyListeners(r, a);
4944
4948
  }, s = this.storage.getItem(r);
4945
- ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, Rs) : i();
4949
+ ts() && s !== e.newValue && e.newValue !== e.oldValue ? setTimeout(i, ks) : i();
4946
4950
  }
4947
4951
  notifyListeners(e, t) {
4948
4952
  this.localCache[e] = t;
@@ -4994,7 +4998,7 @@ class wn extends Tn {
4994
4998
  }
4995
4999
  }
4996
5000
  wn.type = "LOCAL";
4997
- const ks = wn;
5001
+ const Rs = wn;
4998
5002
  /**
4999
5003
  * @license
5000
5004
  * Copyright 2020 Google LLC
@@ -5011,7 +5015,7 @@ const ks = wn;
5011
5015
  * See the License for the specific language governing permissions and
5012
5016
  * limitations under the License.
5013
5017
  */
5014
- class Rn extends Tn {
5018
+ class kn extends Tn {
5015
5019
  constructor() {
5016
5020
  super(
5017
5021
  () => window.sessionStorage,
@@ -5024,8 +5028,8 @@ class Rn extends Tn {
5024
5028
  _removeListener(e, t) {
5025
5029
  }
5026
5030
  }
5027
- Rn.type = "SESSION";
5028
- const kn = Rn;
5031
+ kn.type = "SESSION";
5032
+ const Rn = kn;
5029
5033
  /**
5030
5034
  * @license
5031
5035
  * Copyright 2019 Google LLC
@@ -5225,9 +5229,9 @@ class As {
5225
5229
  a = {
5226
5230
  messageChannel: i,
5227
5231
  onMessage(h) {
5228
- const m = h;
5229
- if (m.data.eventId === l)
5230
- switch (m.data.status) {
5232
+ const f = h;
5233
+ if (f.data.eventId === l)
5234
+ switch (f.data.status) {
5231
5235
  case "ack":
5232
5236
  clearTimeout(d), s = setTimeout(
5233
5237
  () => {
@@ -5241,7 +5245,7 @@ class As {
5241
5245
  );
5242
5246
  break;
5243
5247
  case "done":
5244
- clearTimeout(s), c(m.data.response);
5248
+ clearTimeout(s), c(f.data.response);
5245
5249
  break;
5246
5250
  default:
5247
5251
  clearTimeout(d), clearTimeout(s), o(new Error(
@@ -5302,7 +5306,7 @@ function Os(n) {
5302
5306
  function Sn() {
5303
5307
  return typeof g().WorkerGlobalScope < "u" && typeof g().importScripts == "function";
5304
5308
  }
5305
- async function Ns() {
5309
+ async function Cs() {
5306
5310
  if (!(navigator != null && navigator.serviceWorker))
5307
5311
  return null;
5308
5312
  try {
@@ -5311,11 +5315,11 @@ async function Ns() {
5311
5315
  return null;
5312
5316
  }
5313
5317
  }
5314
- function Cs() {
5318
+ function Ds() {
5315
5319
  var n;
5316
5320
  return ((n = navigator == null ? void 0 : navigator.serviceWorker) === null || n === void 0 ? void 0 : n.controller) || null;
5317
5321
  }
5318
- function Ds() {
5322
+ function Ns() {
5319
5323
  return Sn() ? self : null;
5320
5324
  }
5321
5325
  /**
@@ -5356,7 +5360,7 @@ function Ms() {
5356
5360
  const n = indexedDB.deleteDatabase(An);
5357
5361
  return new re(n).toPromise();
5358
5362
  }
5359
- function We() {
5363
+ function Ve() {
5360
5364
  const n = indexedDB.open(An, Ps);
5361
5365
  return new Promise((e, t) => {
5362
5366
  n.addEventListener("error", () => {
@@ -5370,11 +5374,11 @@ function We() {
5370
5374
  }
5371
5375
  }), n.addEventListener("success", async () => {
5372
5376
  const r = n.result;
5373
- r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await We()));
5377
+ r.objectStoreNames.contains(ge) ? e(r) : (r.close(), await Ms(), e(await Ve()));
5374
5378
  });
5375
5379
  });
5376
5380
  }
5377
- async function kt(n, e, t) {
5381
+ async function Rt(n, e, t) {
5378
5382
  const r = ye(n, !0).put({
5379
5383
  [On]: e,
5380
5384
  value: t
@@ -5390,14 +5394,14 @@ function St(n, e) {
5390
5394
  return new re(t).toPromise();
5391
5395
  }
5392
5396
  const Us = 800, Bs = 3;
5393
- class Nn {
5397
+ class Cn {
5394
5398
  constructor() {
5395
5399
  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(() => {
5396
5400
  }, () => {
5397
5401
  });
5398
5402
  }
5399
5403
  async _openDb() {
5400
- return this.db ? this.db : (this.db = await We(), this.db);
5404
+ return this.db ? this.db : (this.db = await Ve(), this.db);
5401
5405
  }
5402
5406
  async _withRetries(e) {
5403
5407
  let t = 0;
@@ -5422,7 +5426,7 @@ class Nn {
5422
5426
  * As the worker we should listen to events from the main window.
5423
5427
  */
5424
5428
  async initializeReceiver() {
5425
- this.receiver = be._getInstance(Ds()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5429
+ this.receiver = be._getInstance(Ns()), this.receiver._subscribe("keyChanged", async (e, t) => ({
5426
5430
  keyProcessed: (await this._poll()).includes(t.key)
5427
5431
  })), this.receiver._subscribe("ping", async (e, t) => [
5428
5432
  "keyChanged"
@@ -5438,7 +5442,7 @@ class Nn {
5438
5442
  */
5439
5443
  async initializeSender() {
5440
5444
  var e, t;
5441
- if (this.activeServiceWorker = await Ns(), !this.activeServiceWorker)
5445
+ if (this.activeServiceWorker = await Cs(), !this.activeServiceWorker)
5442
5446
  return;
5443
5447
  this.sender = new As(this.activeServiceWorker);
5444
5448
  const r = await this.sender._send(
@@ -5462,7 +5466,7 @@ class Nn {
5462
5466
  * @param key - Storage key which changed.
5463
5467
  */
5464
5468
  async notifyServiceWorker(e) {
5465
- if (!(!this.sender || !this.activeServiceWorker || Cs() !== this.activeServiceWorker))
5469
+ if (!(!this.sender || !this.activeServiceWorker || Ds() !== this.activeServiceWorker))
5466
5470
  try {
5467
5471
  await this.sender._send(
5468
5472
  "keyChanged",
@@ -5478,8 +5482,8 @@ class Nn {
5478
5482
  try {
5479
5483
  if (!indexedDB)
5480
5484
  return !1;
5481
- const e = await We();
5482
- return await kt(e, _e, "1"), await St(e, _e), !0;
5485
+ const e = await Ve();
5486
+ return await Rt(e, _e, "1"), await St(e, _e), !0;
5483
5487
  } catch {
5484
5488
  }
5485
5489
  return !1;
@@ -5493,7 +5497,7 @@ class Nn {
5493
5497
  }
5494
5498
  }
5495
5499
  async _set(e, t) {
5496
- return this._withPendingWrite(async () => (await this._withRetries((r) => kt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5500
+ return this._withPendingWrite(async () => (await this._withRetries((r) => Rt(r, e, t)), this.localCache[e] = t, this.notifyServiceWorker(e)));
5497
5501
  }
5498
5502
  async _get(e) {
5499
5503
  const t = await this._withRetries((r) => Ls(r, e));
@@ -5539,8 +5543,8 @@ class Nn {
5539
5543
  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();
5540
5544
  }
5541
5545
  }
5542
- Nn.type = "LOCAL";
5543
- const xs = Nn;
5546
+ Cn.type = "LOCAL";
5547
+ const Fs = Cn;
5544
5548
  new te(3e4, 6e4);
5545
5549
  /**
5546
5550
  * @license
@@ -5558,7 +5562,7 @@ new te(3e4, 6e4);
5558
5562
  * See the License for the specific language governing permissions and
5559
5563
  * limitations under the License.
5560
5564
  */
5561
- function Fs(n, e) {
5565
+ function xs(n, e) {
5562
5566
  return e ? E(e) : (u(
5563
5567
  n._popupRedirectResolver,
5564
5568
  n,
@@ -5591,13 +5595,13 @@ class et extends bn {
5591
5595
  ), this.params = e;
5592
5596
  }
5593
5597
  _getIdTokenResponse(e) {
5594
- return V(e, this._buildIdpRequest());
5598
+ return j(e, this._buildIdpRequest());
5595
5599
  }
5596
5600
  _linkToIdToken(e, t) {
5597
- return V(e, this._buildIdpRequest(t));
5601
+ return j(e, this._buildIdpRequest(t));
5598
5602
  }
5599
5603
  _getReauthenticationResolver(e) {
5600
- return V(e, this._buildIdpRequest());
5604
+ return j(e, this._buildIdpRequest());
5601
5605
  }
5602
5606
  _buildIdpRequest(e) {
5603
5607
  const t = {
@@ -5612,8 +5616,8 @@ class et extends bn {
5612
5616
  return e && (t.idToken = e), t;
5613
5617
  }
5614
5618
  }
5615
- function js(n) {
5616
- return vs(n.auth, new et(n), n.bypassAuthState);
5619
+ function Gs(n) {
5620
+ return Is(n.auth, new et(n), n.bypassAuthState);
5617
5621
  }
5618
5622
  function Hs(n) {
5619
5623
  const { auth: e, user: t } = n;
@@ -5622,9 +5626,9 @@ function Hs(n) {
5622
5626
  e,
5623
5627
  "internal-error"
5624
5628
  /* AuthErrorCode.INTERNAL_ERROR */
5625
- ), Is(t, new et(n), n.bypassAuthState);
5629
+ ), vs(t, new et(n), n.bypassAuthState);
5626
5630
  }
5627
- async function Ws(n) {
5631
+ async function Vs(n) {
5628
5632
  const { auth: e, user: t } = n;
5629
5633
  return u(
5630
5634
  t,
@@ -5649,7 +5653,7 @@ async function Ws(n) {
5649
5653
  * See the License for the specific language governing permissions and
5650
5654
  * limitations under the License.
5651
5655
  */
5652
- class Cn {
5656
+ class Dn {
5653
5657
  constructor(e, t, r, i, s = !1) {
5654
5658
  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];
5655
5659
  }
@@ -5691,10 +5695,10 @@ class Cn {
5691
5695
  switch (e) {
5692
5696
  case "signInViaPopup":
5693
5697
  case "signInViaRedirect":
5694
- return js;
5698
+ return Gs;
5695
5699
  case "linkViaPopup":
5696
5700
  case "linkViaRedirect":
5697
- return Ws;
5701
+ return Vs;
5698
5702
  case "reauthViaPopup":
5699
5703
  case "reauthViaRedirect":
5700
5704
  return Hs;
@@ -5707,10 +5711,10 @@ class Cn {
5707
5711
  }
5708
5712
  }
5709
5713
  resolve(e) {
5710
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5714
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.resolve(e), this.unregisterAndCleanUp();
5711
5715
  }
5712
5716
  reject(e) {
5713
- R(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5717
+ k(this.pendingPromise, "Pending promise was never set"), this.pendingPromise.reject(e), this.unregisterAndCleanUp();
5714
5718
  }
5715
5719
  unregisterAndCleanUp() {
5716
5720
  this.eventManager && this.eventManager.unregisterConsumer(this), this.pendingPromise = null, this.cleanUp();
@@ -5732,10 +5736,10 @@ class Cn {
5732
5736
  * See the License for the specific language governing permissions and
5733
5737
  * limitations under the License.
5734
5738
  */
5735
- const Vs = new te(2e3, 1e4);
5736
- class F extends Cn {
5739
+ const js = new te(2e3, 1e4);
5740
+ class x extends Dn {
5737
5741
  constructor(e, t, r, i, s) {
5738
- super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, F.currentPopupAction && F.currentPopupAction.cancel(), F.currentPopupAction = this;
5742
+ super(e, t, i, s), this.provider = r, this.authWindow = null, this.pollId = null, x.currentPopupAction && x.currentPopupAction.cancel(), x.currentPopupAction = this;
5739
5743
  }
5740
5744
  async executeNotNull() {
5741
5745
  const e = await this.execute();
@@ -5747,7 +5751,7 @@ class F extends Cn {
5747
5751
  ), e;
5748
5752
  }
5749
5753
  async onExecution() {
5750
- R(this.filter.length === 1, "Popup operations only handle one event");
5754
+ k(this.filter.length === 1, "Popup operations only handle one event");
5751
5755
  const e = Qe();
5752
5756
  this.authWindow = await this.resolver._openPopup(
5753
5757
  this.auth,
@@ -5777,7 +5781,7 @@ class F extends Cn {
5777
5781
  ));
5778
5782
  }
5779
5783
  cleanUp() {
5780
- this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, F.currentPopupAction = null;
5784
+ this.authWindow && this.authWindow.close(), this.pollId && window.clearTimeout(this.pollId), this.authWindow = null, this.pollId = null, x.currentPopupAction = null;
5781
5785
  }
5782
5786
  pollUserCancellation() {
5783
5787
  const e = () => {
@@ -5796,12 +5800,12 @@ class F extends Cn {
5796
5800
  );
5797
5801
  return;
5798
5802
  }
5799
- this.pollId = window.setTimeout(e, Vs.get());
5803
+ this.pollId = window.setTimeout(e, js.get());
5800
5804
  };
5801
5805
  e();
5802
5806
  }
5803
5807
  }
5804
- F.currentPopupAction = null;
5808
+ x.currentPopupAction = null;
5805
5809
  /**
5806
5810
  * @license
5807
5811
  * Copyright 2020 Google LLC
@@ -5818,8 +5822,8 @@ F.currentPopupAction = null;
5818
5822
  * See the License for the specific language governing permissions and
5819
5823
  * limitations under the License.
5820
5824
  */
5821
- const Gs = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5822
- class zs extends Cn {
5825
+ const Ws = "pendingRedirect", oe = /* @__PURE__ */ new Map();
5826
+ class zs extends Dn {
5823
5827
  constructor(e, t, r = !1) {
5824
5828
  super(e, [
5825
5829
  "signInViaRedirect",
@@ -5837,7 +5841,7 @@ class zs extends Cn {
5837
5841
  let e = oe.get(this.auth._key());
5838
5842
  if (!e) {
5839
5843
  try {
5840
- const r = await $s(this.resolver, this.auth) ? await super.execute() : null;
5844
+ const r = await Zs(this.resolver, this.auth) ? await super.execute() : null;
5841
5845
  e = () => Promise.resolve(r);
5842
5846
  } catch (t) {
5843
5847
  e = () => Promise.reject(t);
@@ -5865,26 +5869,26 @@ class zs extends Cn {
5865
5869
  cleanUp() {
5866
5870
  }
5867
5871
  }
5868
- async function $s(n, e) {
5872
+ async function Zs(n, e) {
5869
5873
  const t = Xs(e), r = Js(n);
5870
5874
  if (!await r._isAvailable())
5871
5875
  return !1;
5872
5876
  const i = await r._get(t) === "true";
5873
5877
  return await r._remove(t), i;
5874
5878
  }
5875
- function Zs(n, e) {
5879
+ function $s(n, e) {
5876
5880
  oe.set(n._key(), e);
5877
5881
  }
5878
5882
  function Js(n) {
5879
5883
  return E(n._redirectPersistence);
5880
5884
  }
5881
5885
  function Xs(n) {
5882
- return ae(Gs, n.config.apiKey, n.name);
5886
+ return ae(Ws, n.config.apiKey, n.name);
5883
5887
  }
5884
5888
  async function Ys(n, e, t = !1) {
5885
- if (v(n.app))
5889
+ if (I(n.app))
5886
5890
  return Promise.reject(P(n));
5887
- const r = ve(n), i = Fs(r, e), a = await new zs(r, i, t).execute();
5891
+ const r = Ie(n), i = xs(r, e), a = await new zs(r, i, t).execute();
5888
5892
  return a && !t && (delete a.user._redirectEventId, await r._persistUserIfCurrent(a.user), await r._setRedirectUser(null, e)), a;
5889
5893
  }
5890
5894
  /**
@@ -5924,7 +5928,7 @@ class qs {
5924
5928
  }
5925
5929
  sendToConsumer(e, t) {
5926
5930
  var r;
5927
- if (e.error && !Dn(e)) {
5931
+ if (e.error && !Nn(e)) {
5928
5932
  const i = ((r = e.error.code) === null || r === void 0 ? void 0 : r.split("auth/")[1]) || "internal-error";
5929
5933
  t.onError(_(this.auth, i));
5930
5934
  } else
@@ -5944,7 +5948,7 @@ class qs {
5944
5948
  function At(n) {
5945
5949
  return [n.type, n.eventId, n.sessionId, n.tenantId].filter((e) => e).join("-");
5946
5950
  }
5947
- function Dn({ type: n, error: e }) {
5951
+ function Nn({ type: n, error: e }) {
5948
5952
  return n === "unknown" && (e == null ? void 0 : e.code) === "auth/no-auth-event";
5949
5953
  }
5950
5954
  function Qs(n) {
@@ -5954,7 +5958,7 @@ function Qs(n) {
5954
5958
  case "reauthViaRedirect":
5955
5959
  return !0;
5956
5960
  case "unknown":
5957
- return Dn(n);
5961
+ return Nn(n);
5958
5962
  default:
5959
5963
  return !1;
5960
5964
  }
@@ -5976,7 +5980,7 @@ function Qs(n) {
5976
5980
  * limitations under the License.
5977
5981
  */
5978
5982
  async function ea(n, e = {}) {
5979
- return $(n, "GET", "/v1/projects", e);
5983
+ return Z(n, "GET", "/v1/projects", e);
5980
5984
  }
5981
5985
  /**
5982
5986
  * @license
@@ -6012,7 +6016,7 @@ async function ra(n) {
6012
6016
  );
6013
6017
  }
6014
6018
  function ia(n) {
6015
- const e = je(), { protocol: t, hostname: r } = new URL(e);
6019
+ const e = Ge(), { protocol: t, hostname: r } = new URL(e);
6016
6020
  if (n.startsWith("chrome-extension://")) {
6017
6021
  const a = new URL(n);
6018
6022
  return a.hostname === "" && r === "" ? t === "chrome-extension:" && n.replace("chrome-extension://", "") === e.replace("chrome-extension://", "") : t === "chrome-extension:" && a.hostname === r;
@@ -6138,7 +6142,7 @@ function pa(n) {
6138
6142
  const s = n._getFrameworks();
6139
6143
  return s.length && (r.fw = s.join(",")), `${t}?${Q(r).slice(1)}`;
6140
6144
  }
6141
- async function ma(n) {
6145
+ async function fa(n) {
6142
6146
  const e = await oa(n), t = g().gapi;
6143
6147
  return u(
6144
6148
  t,
@@ -6187,13 +6191,13 @@ async function ma(n) {
6187
6191
  * See the License for the specific language governing permissions and
6188
6192
  * limitations under the License.
6189
6193
  */
6190
- const fa = {
6194
+ const ma = {
6191
6195
  location: "yes",
6192
6196
  resizable: "yes",
6193
6197
  statusbar: "yes",
6194
6198
  toolbar: "no"
6195
- }, _a = 500, ga = 600, Ia = "_blank", va = "http://localhost";
6196
- class Nt {
6199
+ }, _a = 500, ga = 600, va = "_blank", Ia = "http://localhost";
6200
+ class Ct {
6197
6201
  constructor(e) {
6198
6202
  this.window = e, this.associatedEvent = null;
6199
6203
  }
@@ -6208,16 +6212,16 @@ class Nt {
6208
6212
  function ba(n, e, t, r = _a, i = ga) {
6209
6213
  const s = Math.max((window.screen.availHeight - i) / 2, 0).toString(), a = Math.max((window.screen.availWidth - r) / 2, 0).toString();
6210
6214
  let c = "";
6211
- const o = Object.assign(Object.assign({}, fa), {
6215
+ const o = Object.assign(Object.assign({}, ma), {
6212
6216
  width: r.toString(),
6213
6217
  height: i.toString(),
6214
6218
  top: s,
6215
6219
  left: a
6216
- }), l = f().toLowerCase();
6217
- t && (c = hn(l) ? Ia : t), dn(l) && (e = e || va, o.scrollbars = "yes");
6218
- const d = Object.entries(o).reduce((m, [I, x]) => `${m}${I}=${x},`, "");
6220
+ }), l = m().toLowerCase();
6221
+ t && (c = hn(l) ? va : t), dn(l) && (e = e || Ia, o.scrollbars = "yes");
6222
+ const d = Object.entries(o).reduce((f, [v, F]) => `${f}${v}=${F},`, "");
6219
6223
  if (es(l) && c !== "_self")
6220
- return ya(e || "", c), new Nt(null);
6224
+ return ya(e || "", c), new Ct(null);
6221
6225
  const h = window.open(e || "", c, d);
6222
6226
  u(
6223
6227
  h,
@@ -6229,7 +6233,7 @@ function ba(n, e, t, r = _a, i = ga) {
6229
6233
  h.focus();
6230
6234
  } catch {
6231
6235
  }
6232
- return new Nt(h);
6236
+ return new Ct(h);
6233
6237
  }
6234
6238
  function ya(n, e) {
6235
6239
  const t = document.createElement("a");
@@ -6254,7 +6258,7 @@ function ya(n, e) {
6254
6258
  * limitations under the License.
6255
6259
  */
6256
6260
  const Ea = "__/auth/handler", Ta = "emulator/auth/handler", wa = encodeURIComponent("fac");
6257
- async function Ct(n, e, t, r, i, s) {
6261
+ async function Dt(n, e, t, r, i, s) {
6258
6262
  u(
6259
6263
  n.config.authDomain,
6260
6264
  n,
@@ -6288,9 +6292,9 @@ async function Ct(n, e, t, r, i, s) {
6288
6292
  for (const d of Object.keys(c))
6289
6293
  c[d] === void 0 && delete c[d];
6290
6294
  const o = await n._getAppCheckToken(), l = o ? `#${wa}=${encodeURIComponent(o)}` : "";
6291
- return `${Ra(n)}?${Q(c).slice(1)}${l}`;
6295
+ return `${ka(n)}?${Q(c).slice(1)}${l}`;
6292
6296
  }
6293
- function Ra({ config: n }) {
6297
+ function ka({ config: n }) {
6294
6298
  return n.emulator ? Xe(n, Ta) : `https://${n.authDomain}/${Ea}`;
6295
6299
  }
6296
6300
  /**
@@ -6309,22 +6313,22 @@ function Ra({ config: n }) {
6309
6313
  * See the License for the specific language governing permissions and
6310
6314
  * limitations under the License.
6311
6315
  */
6312
- const De = "webStorageSupport";
6313
- class ka {
6316
+ const Ne = "webStorageSupport";
6317
+ class Ra {
6314
6318
  constructor() {
6315
- this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = kn, this._completeRedirectFn = Ys, this._overrideRedirectResult = Zs;
6319
+ this.eventManagers = {}, this.iframes = {}, this.originValidationPromises = {}, this._redirectPersistence = Rn, this._completeRedirectFn = Ys, this._overrideRedirectResult = $s;
6316
6320
  }
6317
6321
  // Wrapping in async even though we don't await anywhere in order
6318
6322
  // to make sure errors are raised as promise rejections
6319
6323
  async _openPopup(e, t, r, i) {
6320
6324
  var s;
6321
- R((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6322
- const a = await Ct(e, t, r, je(), i);
6325
+ k((s = this.eventManagers[e._key()]) === null || s === void 0 ? void 0 : s.manager, "_initialize() not called before _openPopup()");
6326
+ const a = await Dt(e, t, r, Ge(), i);
6323
6327
  return ba(e, a, Qe());
6324
6328
  }
6325
6329
  async _openRedirect(e, t, r, i) {
6326
6330
  await this._originValidation(e);
6327
- const s = await Ct(e, t, r, je(), i);
6331
+ const s = await Dt(e, t, r, Ge(), i);
6328
6332
  return Os(s), new Promise(() => {
6329
6333
  });
6330
6334
  }
@@ -6332,7 +6336,7 @@ class ka {
6332
6336
  const t = e._key();
6333
6337
  if (this.eventManagers[t]) {
6334
6338
  const { manager: i, promise: s } = this.eventManagers[t];
6335
- return i ? Promise.resolve(i) : (R(s, "If manager is not set, promise should be"), s);
6339
+ return i ? Promise.resolve(i) : (k(s, "If manager is not set, promise should be"), s);
6336
6340
  }
6337
6341
  const r = this.initAndGetManager(e);
6338
6342
  return this.eventManagers[t] = { promise: r }, r.catch(() => {
@@ -6340,7 +6344,7 @@ class ka {
6340
6344
  }), r;
6341
6345
  }
6342
6346
  async initAndGetManager(e) {
6343
- const t = await ma(e), r = new qs(e);
6347
+ const t = await fa(e), r = new qs(e);
6344
6348
  return t.register("authEvent", (i) => (u(
6345
6349
  i == null ? void 0 : i.authEvent,
6346
6350
  e,
@@ -6352,9 +6356,9 @@ class ka {
6352
6356
  }), gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER), this.eventManagers[e._key()] = { manager: r }, this.iframes[e._key()] = t, r;
6353
6357
  }
6354
6358
  _isIframeWebStorageSupported(e, t) {
6355
- this.iframes[e._key()].send(De, { type: De }, (i) => {
6359
+ this.iframes[e._key()].send(Ne, { type: Ne }, (i) => {
6356
6360
  var s;
6357
- const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[De];
6361
+ const a = (s = i == null ? void 0 : i[0]) === null || s === void 0 ? void 0 : s[Ne];
6358
6362
  a !== void 0 && t(!!a), w(
6359
6363
  e,
6360
6364
  "internal-error"
@@ -6370,8 +6374,8 @@ class ka {
6370
6374
  return gn() || un() || Ke();
6371
6375
  }
6372
6376
  }
6373
- const Sa = ka;
6374
- var Dt = "@firebase/auth", Pt = "1.7.9";
6377
+ const Sa = Ra;
6378
+ var Nt = "@firebase/auth", Pt = "1.7.9";
6375
6379
  /**
6376
6380
  * @license
6377
6381
  * Copyright 2020 Google LLC
@@ -6455,8 +6459,8 @@ function Oa(n) {
6455
6459
  return;
6456
6460
  }
6457
6461
  }
6458
- function Na(n) {
6459
- X(new G(
6462
+ function Ca(n) {
6463
+ X(new W(
6460
6464
  "auth",
6461
6465
  (e, { options: t }) => {
6462
6466
  const r = e.getProvider("app").getImmediate(), i = e.getProvider("heartbeat"), s = e.getProvider("app-check-internal"), { apiKey: a, authDomain: c } = r.options;
@@ -6468,7 +6472,7 @@ function Na(n) {
6468
6472
  apiHost: "identitytoolkit.googleapis.com",
6469
6473
  tokenApiHost: "securetoken.googleapis.com",
6470
6474
  apiScheme: "https",
6471
- sdkClientVersion: In(n)
6475
+ sdkClientVersion: vn(n)
6472
6476
  }, l = new as(r, i, s, o);
6473
6477
  return hs(l, t), l;
6474
6478
  },
@@ -6482,10 +6486,10 @@ function Na(n) {
6482
6486
  "auth-internal"
6483
6487
  /* _ComponentName.AUTH_INTERNAL */
6484
6488
  ).initialize();
6485
- })), X(new G(
6489
+ })), X(new W(
6486
6490
  "auth-internal",
6487
6491
  (e) => {
6488
- const t = ve(e.getProvider(
6492
+ const t = Ie(e.getProvider(
6489
6493
  "auth"
6490
6494
  /* _ComponentName.AUTH */
6491
6495
  ).getImmediate());
@@ -6496,7 +6500,7 @@ function Na(n) {
6496
6500
  ).setInstantiationMode(
6497
6501
  "EXPLICIT"
6498
6502
  /* InstantiationMode.EXPLICIT */
6499
- )), j(Dt, Pt, Oa(n)), j(Dt, Pt, "esm2017");
6503
+ )), G(Nt, Pt, Oa(n)), G(Nt, Pt, "esm2017");
6500
6504
  }
6501
6505
  /**
6502
6506
  * @license
@@ -6514,11 +6518,11 @@ function Na(n) {
6514
6518
  * See the License for the specific language governing permissions and
6515
6519
  * limitations under the License.
6516
6520
  */
6517
- const Ca = 5 * 60, Da = zt("authIdTokenMaxAge") || Ca;
6521
+ const Da = 5 * 60, Na = zt("authIdTokenMaxAge") || Da;
6518
6522
  let Mt = null;
6519
6523
  const Pa = (n) => async (e) => {
6520
6524
  const t = e && await e.getIdTokenResult(), r = t && ((/* @__PURE__ */ new Date()).getTime() - Date.parse(t.issuedAtTime)) / 1e3;
6521
- if (r && r > Da)
6525
+ if (r && r > Na)
6522
6526
  return;
6523
6527
  const i = t == null ? void 0 : t.token;
6524
6528
  Mt !== i && (Mt = i, await fetch(n, {
@@ -6528,16 +6532,16 @@ const Pa = (n) => async (e) => {
6528
6532
  } : {}
6529
6533
  }));
6530
6534
  };
6531
- function Ma(n = ki()) {
6535
+ function Ma(n = Ri()) {
6532
6536
  const e = Xt(n, "auth");
6533
6537
  if (e.isInitialized())
6534
6538
  return e.getImmediate();
6535
6539
  const t = us(n, {
6536
6540
  popupRedirectResolver: Sa,
6537
6541
  persistence: [
6538
- xs,
6539
- ks,
6540
- kn
6542
+ Fs,
6543
+ Rs,
6544
+ Rn
6541
6545
  ]
6542
6546
  }), r = zt("authTokenSyncURL");
6543
6547
  if (r && typeof isSecureContext == "boolean" && isSecureContext) {
@@ -6547,7 +6551,7 @@ function Ma(n = ki()) {
6547
6551
  Ts(t, a, () => a(t.currentUser)), Es(t, (c) => a(c));
6548
6552
  }
6549
6553
  }
6550
- const i = Vt("auth");
6554
+ const i = jt("auth");
6551
6555
  return i && ps(t, `http://${i}`), t;
6552
6556
  }
6553
6557
  function La() {
@@ -6571,13 +6575,13 @@ os({
6571
6575
  recaptchaV2Script: "https://www.google.com/recaptcha/api.js",
6572
6576
  recaptchaEnterpriseScript: "https://www.google.com/recaptcha/enterprise.js?render="
6573
6577
  });
6574
- Na(
6578
+ Ca(
6575
6579
  "Browser"
6576
6580
  /* ClientPlatform.BROWSER */
6577
6581
  );
6578
6582
  const Ua = Ln({
6579
6583
  history: Un(),
6580
- routes: [...Ge, ...le]
6584
+ routes: [...We, ...le]
6581
6585
  });
6582
6586
  let Pe, Me;
6583
6587
  Ua.beforeEach(async (n) => {
@@ -6587,20 +6591,20 @@ Ua.beforeEach(async (n) => {
6587
6591
  currentBusiness: r,
6588
6592
  readRestaurants: i,
6589
6593
  changeRestaurant: s
6590
- } = Ve();
6594
+ } = je();
6591
6595
  return n.name.startsWith("mf-payment-admin") ? e.value ? !0 : (Pe || (Pe = new Promise((a) => {
6592
- const c = Z(e, (o) => {
6596
+ const c = $(e, (o) => {
6593
6597
  var l;
6594
6598
  o && (c(), a(((l = e.value) == null ? void 0 : l.isInternal) ?? !1));
6595
6599
  });
6596
6600
  })), Pe) : !r.value || !t.value ? (Me || (Me = Promise.all([
6597
6601
  new Promise(async (a) => {
6598
- const c = Z(r, (o) => {
6602
+ const c = $(r, (o) => {
6599
6603
  o && (c(), a(!0));
6600
6604
  });
6601
6605
  }),
6602
6606
  new Promise(async (a) => {
6603
- const c = Z(t, (l) => {
6607
+ const c = $(t, (l) => {
6604
6608
  l && (c(), a(!0));
6605
6609
  }), o = await i();
6606
6610
  await s(o == null ? void 0 : o.at(0));
@@ -6610,14 +6614,14 @@ Ua.beforeEach(async (n) => {
6610
6614
  const Ba = /* @__PURE__ */ Ut({
6611
6615
  __name: "AppSidebar",
6612
6616
  setup(n) {
6613
- const e = Ve(), t = Bn(), { t: r } = Gn(), i = Fn(t.currentRoute.value.name);
6614
- Z(t.currentRoute, () => {
6617
+ const e = je(), t = Bn(), { t: r } = Wn(), i = xn(t.currentRoute.value.name);
6618
+ $(t.currentRoute, () => {
6615
6619
  let l = t.currentRoute.value.name;
6616
6620
  t.currentRoute.value.meta.parent && (l = t.currentRoute.value.meta.parent), i.value = l;
6617
6621
  });
6618
- const s = Ge.map((l) => {
6619
- var m;
6620
- if (!((m = l.meta) != null && m.sidebarDisplay))
6622
+ const s = We.map((l) => {
6623
+ var f;
6624
+ if (!((f = l.meta) != null && f.sidebarDisplay))
6621
6625
  return;
6622
6626
  const d = l.meta.sidebarDisplay, h = {
6623
6627
  label: d.startsWith("i18n:") ? r(d.replaceAll("i18n:", "")) : d,
@@ -6627,7 +6631,7 @@ const Ba = /* @__PURE__ */ Ut({
6627
6631
  return t.push({ name: l.name });
6628
6632
  }
6629
6633
  };
6630
- return l.meta.sidebarNew && (h.badge = () => jn($n.FmPill, { label: "New" })), h;
6634
+ return l.meta.sidebarNew && (h.badge = () => Gn(Zn.FmPill, { label: "New" })), h;
6631
6635
  }).filter((l) => !!l), a = le.map((l) => {
6632
6636
  var d;
6633
6637
  if ((d = l.meta) != null && d.sidebarDisplay && !l.meta.section)
@@ -6684,54 +6688,54 @@ const Ba = /* @__PURE__ */ Ut({
6684
6688
  });
6685
6689
  return (l, d) => {
6686
6690
  const h = Bt("FmCollapsibleTabs");
6687
- return xt(), Ft(h, {
6691
+ return Ft(), xt(h, {
6688
6692
  modelValue: i.value,
6689
- "onUpdate:modelValue": d[0] || (d[0] = (m) => i.value = m),
6693
+ "onUpdate:modelValue": d[0] || (d[0] = (f) => i.value = f),
6690
6694
  items: o.value,
6691
6695
  class: "py-16 px-8 w-[240px]"
6692
6696
  }, null, 8, ["modelValue", "items"]);
6693
6697
  };
6694
6698
  }
6695
6699
  });
6696
- var xa = { authClientId: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", googleMap: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", firebase: { apiKey: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", authDomain: "feedme-253402.firebaseapp.com", databaseURL: "https://feedme-253402.firebaseio.com", projectId: "feedme-253402", storageBucket: "image.feedme.cc", messagingSenderId: "128512026847", appId: "1:128512026847:web:7c5c8ab7e8b90502dc616a", measurementId: "G-LTKS7N2HQS" }, assetBucketUrl: "static.feedme.cc" };
6697
- const $a = /* @__PURE__ */ Ut({
6700
+ var Fa = { 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" };
6701
+ const Za = /* @__PURE__ */ Ut({
6698
6702
  __name: "App",
6699
6703
  setup(n) {
6700
- const { state: e } = sr(), t = Ve(), r = xn(), i = Yt(xa.firebase);
6704
+ const { state: e } = sr(), t = je(), r = Fn(), i = Yt(Fa.firebase);
6701
6705
  async function s() {
6702
6706
  const a = t.sessionUser.value;
6703
6707
  if (!a || !a.token) return;
6704
6708
  const c = await a.getCustomToken(), o = Ma(i);
6705
6709
  await ys(o, c);
6706
6710
  }
6707
- return s(), Z(t.sessionUser, s), Hn(() => {
6711
+ return s(), $(t.sessionUser, s), Hn(() => {
6708
6712
  e.isIframe && parent.postMessage({ event: "ready" }, "*");
6709
- }), Wn(() => {
6713
+ }), Vn(() => {
6710
6714
  t.registerSidebarComponent(Ba);
6711
6715
  }), (a, c) => {
6712
6716
  const o = Bt("RouterView");
6713
- return xt(), Ft(o, {
6714
- key: Vn(r).path
6717
+ return Ft(), xt(o, {
6718
+ key: jn(r).path
6715
6719
  });
6716
6720
  };
6717
6721
  }
6718
- }), Za = {
6722
+ }), $a = {
6719
6723
  "en-US": qn,
6720
6724
  "zh-CN": ir
6721
- }, Ja = [...le, ...Ge];
6725
+ }, Ja = [...le, ...We];
6722
6726
  export {
6723
- G as C,
6727
+ W as C,
6724
6728
  M as F,
6725
6729
  ee as S,
6726
6730
  X as _,
6727
6731
  Xt as a,
6728
- Ga as b,
6729
- ki as c,
6732
+ Wa as b,
6733
+ Ri as c,
6730
6734
  za as d,
6731
6735
  gt as e,
6732
6736
  Ja as f,
6733
6737
  z as g,
6734
- $a as h,
6735
- Za as i,
6736
- j as r
6738
+ Za as h,
6739
+ $a as i,
6740
+ G as r
6737
6741
  };