@remit/web-client-dist 0.0.671 → 0.0.672

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 (176) hide show
  1. package/assets/BriefPane-B6R3KmQZ.js +1 -0
  2. package/assets/CalendarComposePane-QYpMNL9q.js +1 -0
  3. package/assets/{CalendarComposeSeed-sw3-kicN.js → CalendarComposeSeed-C9w7BCjb.js} +1 -1
  4. package/assets/{CalendarShell-DhpD8MqL.js → CalendarShell-DhMfxOKQ.js} +1 -1
  5. package/assets/{EmptyState-BvdGNd01.js → EmptyState-Lplntbv_.js} +1 -1
  6. package/assets/{ErrorState-C-GqtxHT.js → ErrorState-U7sVw9dY.js} +1 -1
  7. package/assets/FlaggedPane-IbpzjKsY.js +1 -0
  8. package/assets/{FullCompose-B7Gvo6hb.js → FullCompose-C97Y0rHa.js} +1 -1
  9. package/assets/LabelApplyTrigger-MvfgBk5z.js +1 -0
  10. package/assets/{MailNav-DLpm1pnY.js → MailNav-DVs9SxH3.js} +1 -1
  11. package/assets/{MailShell-CsFJTXUG.js → MailShell-YyCoPjof.js} +1 -1
  12. package/assets/{MailViewChrome-CjK9Dnpp.js → MailViewChrome-Dh-GY2tA.js} +1 -1
  13. package/assets/MailboxPane-bFOldx9r.js +1 -0
  14. package/assets/{useSearchTokenContext-PpLW_UHw.js → MessageBody-C676rd7J.js} +2 -2
  15. package/assets/MessageToolbar-BxFKpYvj.js +1 -0
  16. package/assets/{NavMenuButton-8KfNqFDk.js → NavMenuButton-CIu2PlpX.js} +1 -1
  17. package/assets/{OnboardingWizard-VEiZ5SiP.js → OnboardingWizard-DMYpSH3N.js} +1 -1
  18. package/assets/{OpenCalendarEvent-lS6fjUiq.js → OpenCalendarEvent-Cqy0hp_A.js} +2 -2
  19. package/assets/OutboxPane-BRXDNKGE.js +1 -0
  20. package/assets/{SignInAgain-DH1Fdj-N.js → SignInAgain-PV_y3RtI.js} +1 -1
  21. package/assets/_calendarObjectId-C554QO4A.js +1 -0
  22. package/assets/_mailboxId-CP2xm7mJ.js +1 -0
  23. package/assets/_messageId-Co-XhbCe.js +1 -0
  24. package/assets/_messageId-Dm-cFvWc.js +1 -0
  25. package/assets/_messageId-qftp2SP8.js +1 -0
  26. package/assets/_outboxMessageId-BxIJdt9e.js +1 -0
  27. package/assets/_recurrenceId-DygnfvYv.js +1 -0
  28. package/assets/_threadId-CPjiITcE.js +1 -0
  29. package/assets/_threadId-D5zlF-gr.js +1 -0
  30. package/assets/_threadId-DftsiPw3.js +1 -0
  31. package/assets/_view._date-Dt8xCWQ_.js +1 -0
  32. package/assets/{accounts-CjiarZXs.js → accounts-D-wXF-E_.js} +1 -1
  33. package/assets/{advanced-SAvf5P8v.js → advanced-BoeTrbqE.js} +1 -1
  34. package/assets/{appearance-CUPwkBCw.js → appearance-DrAyJE0x.js} +1 -1
  35. package/assets/{attendee-row-D_Iu4VYw.js → attendee-row-CfV-VGdv.js} +1 -1
  36. package/assets/{avatar-ByFhyZLr.js → avatar-DPq_EAZk.js} +1 -1
  37. package/assets/{bell-off-C0wHlgOp.js → bell-off-TX9ZjBn9.js} +1 -1
  38. package/assets/{bottom-sheet-DQgPWkXI.js → bottom-sheet-DxTFUy2E.js} +1 -1
  39. package/assets/{brief-UmPkAR4U.js → brief-CpJ2qh9a.js} +1 -1
  40. package/assets/brief-DOAeAabQ.js +1 -0
  41. package/assets/{bug-BckO5YCO.js → bug-DvYTwFLF.js} +1 -1
  42. package/assets/{calendar-Dc-B3sio.js → calendar-7FnOinQ7.js} +1 -1
  43. package/assets/{calendar-clash-strip-DoAFMGom.js → calendar-clash-strip-CZKSYHne.js} +1 -1
  44. package/assets/{calendar-report-C-XuHGk-.js → calendar-report-DdEEmF6Z.js} +1 -1
  45. package/assets/calendar-suggestion-CEyL4gPa.js +1 -0
  46. package/assets/calendars-CYORrHmn.js +1 -0
  47. package/assets/{card-Bk8XYDq2.js → card-o848IbRj.js} +1 -1
  48. package/assets/{checkbox-D0odK_wH.js → checkbox-CjTT5ES0.js} +1 -1
  49. package/assets/chevron-left-BVg2BJhm.js +1 -0
  50. package/assets/{circle-check-big-4GwHrTFa.js → circle-check-big-DbaQY2vy.js} +1 -1
  51. package/assets/{circle-check-BZo2PeBJ.js → circle-check-lnLFo0FD.js} +1 -1
  52. package/assets/{circle-help-QkeLuDiC.js → circle-help-B6vmvmbF.js} +1 -1
  53. package/assets/{clock-DHHTtMvk.js → clock-Cv1IU_So.js} +1 -1
  54. package/assets/compose._-_outboxMessageId_-C-0N5b4O.js +1 -0
  55. package/assets/compose._-_outboxMessageId_-CLmL6rNy.js +1 -0
  56. package/assets/compose._-_outboxMessageId_-CrGQAmBh.js +1 -0
  57. package/assets/compose._-_outboxMessageId_-DsyC1LHn.js +1 -0
  58. package/assets/{config-import-BAGzZhCz.js → config-import-Cn_3moj6.js} +1 -1
  59. package/assets/{confirm-dialog-B9re_jFm.js → confirm-dialog-DcfLr_VV.js} +1 -1
  60. package/assets/{copy-Ctmrzdfp.js → copy-BOxB39My.js} +1 -1
  61. package/assets/{credential-steps-CZFDsRoC.js → credential-steps-BYXdvc6X.js} +1 -1
  62. package/assets/{download-hgu-A5WC.js → download-BIBKQvTj.js} +1 -1
  63. package/assets/{external-link-Dhni3Eg5.js → external-link-8knc6nvP.js} +1 -1
  64. package/assets/{file-json-C-t1pL6m.js → file-json-YOrGpuD8.js} +1 -1
  65. package/assets/{filters-DvW0WvCf.js → filters-Cv1Gmsq9.js} +1 -1
  66. package/assets/flagged-CHQmCz7D.js +1 -0
  67. package/assets/{flagged-VOnkzcbc.js → flagged-CqMpCGJo.js} +1 -1
  68. package/assets/{folders-DtPDNl-l.js → folders-Cja3LAC_.js} +1 -1
  69. package/assets/{help-copy-CdYqiDpm.js → help-copy-S6Ri4ByH.js} +1 -1
  70. package/assets/{import-BtgA3dex.js → import-B2ANVOl-.js} +1 -1
  71. package/assets/index-4EaeJ4jf.js +1 -0
  72. package/assets/{index-CF22K49S.js → index-5tcvhU2B.js} +1 -1
  73. package/assets/index-BdpT1uQw.js +1 -0
  74. package/assets/index-BqqvJwGn.js +1 -0
  75. package/assets/index-C1x7--DZ.js +1 -0
  76. package/assets/index-Co-XhbCe.js +1 -0
  77. package/assets/{index-BVefvGgO.js → index-CwI22pqH.js} +4 -4
  78. package/assets/{index-cubACEd8.js → index-D4MtLdrW.js} +4 -4
  79. package/assets/index-DJzaAYGf.js +1 -0
  80. package/assets/index-jmt1GqpT.js +1 -0
  81. package/assets/index-qTS44Ji9.js +1 -0
  82. package/assets/index-qftp2SP8.js +1 -0
  83. package/assets/{kbd-C6M51ovo.js → kbd-B6fJcnhn.js} +1 -1
  84. package/assets/{labels-QNRXqxQK.js → labels-BTYKFfU4.js} +1 -1
  85. package/assets/{mail-CfslMQ7s.js → mail-B1xchVjt.js} +1 -1
  86. package/assets/{mail-4zzmmiWK.js → mail-f9ZAFfdw.js} +1 -1
  87. package/assets/{map-pin-CO81Zh5s.js → map-pin-35e-1RVT.js} +1 -1
  88. package/assets/{menu-BkQ4G0tI.js → menu-hJvWIs1N.js} +1 -1
  89. package/assets/minus-u23qRtsG.js +1 -0
  90. package/assets/new-DUufBdYM.js +1 -0
  91. package/assets/onboarding-Uk6iFlNr.js +1 -0
  92. package/assets/{onboarding-completion-CgqykfP5.js → onboarding-completion-CbQwAlqk.js} +1 -1
  93. package/assets/outbox-BvVfW0CI.js +1 -0
  94. package/assets/{pencil-DYtxEeVu.js → pencil-DpNZS_31.js} +1 -1
  95. package/assets/{popover-menu-BFWBKaTJ.js → popover-menu-B2lo44EX.js} +1 -1
  96. package/assets/{refresh-cw-CuDrOkmw.js → refresh-cw-CDQ2xZbt.js} +1 -1
  97. package/assets/{rich-text-spellcheck-worker-provider-BTpAV_xA.js → rich-text-spellcheck-worker-provider-Cw0xnZKP.js} +1 -1
  98. package/assets/{rich-text-DyZjqA4b.js → rich-text-vG9mdl0O.js} +1 -1
  99. package/assets/{rotate-ccw-gM8iCdpA.js → rotate-ccw-BKGT9oCK.js} +1 -1
  100. package/assets/{roving-focus-pflLgyvB.js → roving-focus-B2beIkcs.js} +1 -1
  101. package/assets/{row-actions-DqODANSe.js → row-actions-B32GgPjM.js} +1 -1
  102. package/assets/{search-mirror-BPmmvfUK.js → search-mirror-CCS7HTrR.js} +1 -1
  103. package/assets/{search-query-Bfvoxxg4.js → search-query-CAVAQ88t.js} +1 -1
  104. package/assets/{search-token-index-DnVW2A-U.js → search-token-index-CpNMPGXa.js} +1 -1
  105. package/assets/{sections-CI8sUA-m.js → sections-yYR5lj5B.js} +1 -1
  106. package/assets/{senders-CXDuYLon.js → senders-BQUohPe4.js} +1 -1
  107. package/assets/settings-8vexnTwM.js +1 -0
  108. package/assets/{settings-screen-a-xqubF0.js → settings-screen-DIq3lhTN.js} +1 -1
  109. package/assets/{shield-check-C76VpI9Q.js → shield-check-82yPViXE.js} +1 -1
  110. package/assets/{suggested-vips-DKoHfOxA.js → suggested-vips-pyfL4tBL.js} +1 -1
  111. package/assets/suggestion._suggestionId-DSXOmfLm.js +1 -0
  112. package/assets/{undo-2-DlatIdv3.js → undo-2-DiDBLYQX.js} +1 -1
  113. package/assets/useCalendarData-CCBsntW3.js +1 -0
  114. package/assets/{calendar-format-BovOEuV7.js → useCalendarEvents-CrWcNz4p.js} +1 -1
  115. package/assets/useCalendarFreeBusy-DuQyTiBf.js +1 -0
  116. package/assets/{useCalendarWrites-BGQ8emvx.js → useCalendarWrites-BV5Czl6K.js} +1 -1
  117. package/assets/{useCalendars-DpG3wNVl.js → useCalendars-7HDjkRuY.js} +1 -1
  118. package/assets/{useDebouncedValue-D87mJggE.js → useDebouncedValue-VlBdfJHe.js} +1 -1
  119. package/assets/{useFilters-CjhcpObW.js → useFilters-C8oAo8fh.js} +1 -1
  120. package/assets/{useLabels-BZ4I9RAK.js → useLabels-UgAc0ur8.js} +1 -1
  121. package/assets/{useLayoutTier-Cme1U69S.js → useLayoutTier-DAXt_X3A.js} +1 -1
  122. package/assets/{useMessageBodyContent-oSPoCcAo.js → useMessageBodyContent-CnzHiG9b.js} +1 -1
  123. package/assets/{useQueries-BgVJvl8E.js → useQueries-ktaWu7Pv.js} +1 -1
  124. package/assets/useRefreshControl-DQ537M3s.js +1 -0
  125. package/assets/{useResultFolderIndex-q07DaZO-.js → useResultFolderIndex-CkQexziN.js} +1 -1
  126. package/assets/{useSignature-C8_KOsXT.js → useSignature-CD6M-2Jc.js} +1 -1
  127. package/assets/{warnings-Ba73_41o.js → warnings-lUeu-pd_.js} +1 -1
  128. package/index.html +6 -10
  129. package/package.json +2 -2
  130. package/spellcheck/de99b00dc30674fd/NOTICE.txt +1 -1
  131. package/spellcheck/de99b00dc30674fd/manifest.json +1 -1
  132. package/assets/BriefPane-CjGWdd8a.js +0 -1
  133. package/assets/CalendarComposePane-Dx8OkeLw.js +0 -1
  134. package/assets/FlaggedPane-BxOdsnw1.js +0 -1
  135. package/assets/MailListHeader-CRcUWHvS.js +0 -1
  136. package/assets/MailboxPane-Bo9JttiA.js +0 -1
  137. package/assets/OutboxPane-CP5sRwfd.js +0 -1
  138. package/assets/_calendarObjectId-BnSnl92f.js +0 -1
  139. package/assets/_mailboxId-CNwKdI8w.js +0 -1
  140. package/assets/_messageId-C9wsfdzq.js +0 -1
  141. package/assets/_messageId-DBNLE0tb.js +0 -1
  142. package/assets/_messageId-HdLzcjMe.js +0 -1
  143. package/assets/_outboxMessageId-DHN5fMou.js +0 -1
  144. package/assets/_recurrenceId-CniHh10K.js +0 -1
  145. package/assets/_threadId-C3p0YYSS.js +0 -1
  146. package/assets/_threadId-ChtUn47n.js +0 -1
  147. package/assets/_threadId-DFtqyHil.js +0 -1
  148. package/assets/_view._date-CZQj0j1i.js +0 -1
  149. package/assets/brief-Drn9-8tt.js +0 -1
  150. package/assets/calendar-suggestion-C_OSjndS.js +0 -1
  151. package/assets/calendars-DBG7BQZr.js +0 -1
  152. package/assets/chevron-left-SkeGnPD1.js +0 -1
  153. package/assets/compose._-_outboxMessageId_-B-R8VIDx.js +0 -1
  154. package/assets/compose._-_outboxMessageId_-CRT9iVyv.js +0 -1
  155. package/assets/compose._-_outboxMessageId_-Cd-9BJez.js +0 -1
  156. package/assets/compose._-_outboxMessageId_-Cnw34yB-.js +0 -1
  157. package/assets/flagged-CGRoEDEr.js +0 -1
  158. package/assets/index-91ywJtSA.js +0 -1
  159. package/assets/index-BSloTjxB.js +0 -1
  160. package/assets/index-C9wsfdzq.js +0 -1
  161. package/assets/index-CFGRT_20.js +0 -1
  162. package/assets/index-CzzzRc7f.js +0 -1
  163. package/assets/index-D-aF7kT3.js +0 -1
  164. package/assets/index-DBNLE0tb.js +0 -1
  165. package/assets/index-DFpmjJVI.js +0 -1
  166. package/assets/index-hMino1Zj.js +0 -1
  167. package/assets/minus-tJx7k6NN.js +0 -1
  168. package/assets/new-CFrxbOp1.js +0 -1
  169. package/assets/onboarding-BfZPTDb2.js +0 -1
  170. package/assets/outbox-CS_GQ7eb.js +0 -1
  171. package/assets/result-count-BTXdc_1e.js +0 -1
  172. package/assets/settings-CLLqV8u4.js +0 -1
  173. package/assets/suggestion._suggestionId-Cz28HTX7.js +0 -1
  174. package/assets/useCalendarData-DbJEV-YD.js +0 -1
  175. package/assets/useCalendarFreeBusy-q7sx9n0O.js +0 -1
  176. package/assets/useRefreshControl-DPzIiFlp.js +0 -1
@@ -1,4 +1,4 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/calendar-Dc-B3sio.js","assets/ErrorState-C-GqtxHT.js","assets/CalendarShell-DhpD8MqL.js","assets/MailNav-DLpm1pnY.js","assets/roving-focus-pflLgyvB.js","assets/useLayoutTier-Cme1U69S.js","assets/bell-off-C0wHlgOp.js","assets/useQueries-BgVJvl8E.js","assets/folder-failure-CqkVSsrb.js","assets/outbox-status-BlKn6P0x.js","assets/bug-BckO5YCO.js","assets/import-BtgA3dex.js","assets/credential-steps-CZFDsRoC.js","assets/card-Bk8XYDq2.js","assets/config-import-BAGzZhCz.js","assets/file-json-C-t1pL6m.js","assets/onboarding-completion-CgqykfP5.js","assets/mail-4zzmmiWK.js","assets/search-token-index-DnVW2A-U.js","assets/search-scope-UI1H6AzA.js","assets/kbd-C6M51ovo.js","assets/pencil-DYtxEeVu.js","assets/useMessageBodyContent-oSPoCcAo.js","assets/MailShell-CsFJTXUG.js","assets/FullCompose-B7Gvo6hb.js","assets/index-BVefvGgO.js","assets/useSignature-C8_KOsXT.js","assets/account-form-helpers-DhckT_PN.js","assets/useDebouncedValue-D87mJggE.js","assets/sections-CI8sUA-m.js","assets/confirm-dialog-B9re_jFm.js","assets/useRefreshControl-DPzIiFlp.js","assets/circle-check-big-4GwHrTFa.js","assets/refresh-cw-CuDrOkmw.js","assets/menu-BkQ4G0tI.js","assets/avatar-ByFhyZLr.js","assets/popover-menu-BFWBKaTJ.js","assets/useResultFolderIndex-q07DaZO-.js","assets/onboarding-BfZPTDb2.js","assets/OnboardingWizard-VEiZ5SiP.js","assets/checkbox-D0odK_wH.js","assets/minus-tJx7k6NN.js","assets/mail-CfslMQ7s.js","assets/_mailboxId-CNwKdI8w.js","assets/MailboxPane-Bo9JttiA.js","assets/useSearchTokenContext-PpLW_UHw.js","assets/MailListHeader-CRcUWHvS.js","assets/EmptyState-BvdGNd01.js","assets/undo-2-DlatIdv3.js","assets/download-hgu-A5WC.js","assets/useCalendarFreeBusy-q7sx9n0O.js","assets/calendar-format-BovOEuV7.js","assets/useCalendars-DpG3wNVl.js","assets/map-pin-CO81Zh5s.js","assets/calendar-suggestion-C_OSjndS.js","assets/attendee-row-D_Iu4VYw.js","assets/clock-DHHTtMvk.js","assets/calendar-clash-strip-DoAFMGom.js","assets/shield-check-C76VpI9Q.js","assets/calendar-report-C-XuHGk-.js","assets/useFilters-CjhcpObW.js","assets/MailViewChrome-CjK9Dnpp.js","assets/search-query-Bfvoxxg4.js","assets/NavMenuButton-8KfNqFDk.js","assets/useLabels-BZ4I9RAK.js","assets/result-count-BTXdc_1e.js","assets/bottom-sheet-DQgPWkXI.js","assets/circle-help-QkeLuDiC.js","assets/circle-check-BZo2PeBJ.js","assets/search-mirror-BPmmvfUK.js","assets/brief-UmPkAR4U.js","assets/brief-Drn9-8tt.js","assets/BriefPane-CjGWdd8a.js","assets/wizard-selection-zWa1qc6-.js","assets/flagged-VOnkzcbc.js","assets/flagged-CGRoEDEr.js","assets/FlaggedPane-BxOdsnw1.js","assets/outbox-CS_GQ7eb.js","assets/OutboxPane-CP5sRwfd.js","assets/row-actions-DqODANSe.js","assets/rotate-ccw-gM8iCdpA.js","assets/accounts-CjiarZXs.js","assets/settings-screen-a-xqubF0.js","assets/chevron-left-SkeGnPD1.js","assets/help-copy-CdYqiDpm.js","assets/advanced-SAvf5P8v.js","assets/external-link-Dhni3Eg5.js","assets/appearance-CUPwkBCw.js","assets/calendars-DBG7BQZr.js","assets/copy-Ctmrzdfp.js","assets/useCalendarWrites-BGQ8emvx.js","assets/calendar-subscription-B-aAc2Gy.js","assets/filters-DvW0WvCf.js","assets/folders-DtPDNl-l.js","assets/labels-QNRXqxQK.js","assets/senders-CXDuYLon.js","assets/warnings-Ba73_41o.js","assets/SignInAgain-DH1Fdj-N.js","assets/_view._date-CZQj0j1i.js","assets/useCalendarData-DbJEV-YD.js","assets/CalendarComposeSeed-sw3-kicN.js","assets/index-CFGRT_20.js","assets/index-D-aF7kT3.js","assets/index-hMino1Zj.js","assets/index-91ywJtSA.js","assets/index-CF22K49S.js","assets/new-CFrxbOp1.js","assets/CalendarComposePane-Dx8OkeLw.js","assets/index-C9wsfdzq.js","assets/_messageId-C9wsfdzq.js","assets/compose._-_outboxMessageId_-B-R8VIDx.js","assets/index-DBNLE0tb.js","assets/_messageId-DBNLE0tb.js","assets/compose._-_outboxMessageId_-CRT9iVyv.js","assets/index-BSloTjxB.js","assets/_messageId-HdLzcjMe.js","assets/compose._-_outboxMessageId_-Cnw34yB-.js","assets/compose._-_outboxMessageId_-Cd-9BJez.js","assets/_outboxMessageId-DHN5fMou.js","assets/index-DFpmjJVI.js","assets/OpenCalendarEvent-lS6fjUiq.js","assets/_recurrenceId-CniHh10K.js","assets/suggestion._suggestionId-Cz28HTX7.js"])))=>i.map(i=>d[i]);
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/calendar-7FnOinQ7.js","assets/ErrorState-U7sVw9dY.js","assets/CalendarShell-DhMfxOKQ.js","assets/MailNav-DVs9SxH3.js","assets/bug-DvYTwFLF.js","assets/roving-focus-B2beIkcs.js","assets/useLayoutTier-DAXt_X3A.js","assets/bell-off-TX9ZjBn9.js","assets/useQueries-ktaWu7Pv.js","assets/folder-failure-CqkVSsrb.js","assets/outbox-status-BlKn6P0x.js","assets/import-B2ANVOl-.js","assets/credential-steps-BYXdvc6X.js","assets/card-o848IbRj.js","assets/config-import-Cn_3moj6.js","assets/file-json-YOrGpuD8.js","assets/onboarding-completion-CbQwAlqk.js","assets/mail-f9ZAFfdw.js","assets/search-token-index-CpNMPGXa.js","assets/search-scope-UI1H6AzA.js","assets/kbd-B6fJcnhn.js","assets/pencil-DpNZS_31.js","assets/useMessageBodyContent-CnzHiG9b.js","assets/MailShell-YyCoPjof.js","assets/FullCompose-C97Y0rHa.js","assets/index-CwI22pqH.js","assets/useSignature-CD6M-2Jc.js","assets/account-form-helpers-DhckT_PN.js","assets/useDebouncedValue-VlBdfJHe.js","assets/sections-yYR5lj5B.js","assets/confirm-dialog-DcfLr_VV.js","assets/useRefreshControl-DQ537M3s.js","assets/circle-check-big-DbaQY2vy.js","assets/refresh-cw-CDQ2xZbt.js","assets/menu-hJvWIs1N.js","assets/avatar-DPq_EAZk.js","assets/popover-menu-B2lo44EX.js","assets/useResultFolderIndex-CkQexziN.js","assets/onboarding-Uk6iFlNr.js","assets/OnboardingWizard-DMYpSH3N.js","assets/checkbox-CjTT5ES0.js","assets/minus-u23qRtsG.js","assets/mail-B1xchVjt.js","assets/_mailboxId-CP2xm7mJ.js","assets/MailboxPane-bFOldx9r.js","assets/MessageBody-C676rd7J.js","assets/MessageToolbar-BxFKpYvj.js","assets/EmptyState-Lplntbv_.js","assets/undo-2-DiDBLYQX.js","assets/download-BIBKQvTj.js","assets/useCalendarFreeBusy-DuQyTiBf.js","assets/useCalendarEvents-CrWcNz4p.js","assets/useCalendars-7HDjkRuY.js","assets/map-pin-35e-1RVT.js","assets/calendar-suggestion-CEyL4gPa.js","assets/attendee-row-CfV-VGdv.js","assets/clock-Cv1IU_So.js","assets/calendar-clash-strip-CZKSYHne.js","assets/shield-check-82yPViXE.js","assets/calendar-report-DdEEmF6Z.js","assets/useFilters-C8oAo8fh.js","assets/MailViewChrome-Dh-GY2tA.js","assets/LabelApplyTrigger-MvfgBk5z.js","assets/useLabels-UgAc0ur8.js","assets/search-query-CAVAQ88t.js","assets/NavMenuButton-CIu2PlpX.js","assets/bottom-sheet-DxTFUy2E.js","assets/circle-help-B6vmvmbF.js","assets/circle-check-lnLFo0FD.js","assets/search-mirror-CCS7HTrR.js","assets/brief-CpJ2qh9a.js","assets/brief-DOAeAabQ.js","assets/BriefPane-B6R3KmQZ.js","assets/wizard-selection-zWa1qc6-.js","assets/flagged-CqMpCGJo.js","assets/flagged-CHQmCz7D.js","assets/FlaggedPane-IbpzjKsY.js","assets/outbox-BvVfW0CI.js","assets/OutboxPane-BRXDNKGE.js","assets/row-actions-B32GgPjM.js","assets/rotate-ccw-BKGT9oCK.js","assets/accounts-D-wXF-E_.js","assets/settings-screen-DIq3lhTN.js","assets/chevron-left-BVg2BJhm.js","assets/help-copy-S6Ri4ByH.js","assets/advanced-BoeTrbqE.js","assets/external-link-8knc6nvP.js","assets/appearance-DrAyJE0x.js","assets/calendars-CYORrHmn.js","assets/useCalendarWrites-BV5Czl6K.js","assets/copy-BOxB39My.js","assets/calendar-subscription-B-aAc2Gy.js","assets/filters-Cv1Gmsq9.js","assets/folders-Cja3LAC_.js","assets/labels-BTYKFfU4.js","assets/senders-BQUohPe4.js","assets/warnings-lUeu-pd_.js","assets/SignInAgain-PV_y3RtI.js","assets/_view._date-Dt8xCWQ_.js","assets/useCalendarData-CCBsntW3.js","assets/CalendarComposeSeed-C9w7BCjb.js","assets/index-DJzaAYGf.js","assets/index-qTS44Ji9.js","assets/index-4EaeJ4jf.js","assets/index-BqqvJwGn.js","assets/index-5tcvhU2B.js","assets/new-DUufBdYM.js","assets/CalendarComposePane-QYpMNL9q.js","assets/index-qftp2SP8.js","assets/_messageId-qftp2SP8.js","assets/compose._-_outboxMessageId_-CLmL6rNy.js","assets/index-Co-XhbCe.js","assets/_messageId-Co-XhbCe.js","assets/compose._-_outboxMessageId_-CrGQAmBh.js","assets/index-BdpT1uQw.js","assets/_messageId-Dm-cFvWc.js","assets/compose._-_outboxMessageId_-DsyC1LHn.js","assets/compose._-_outboxMessageId_-C-0N5b4O.js","assets/_outboxMessageId-BxIJdt9e.js","assets/index-C1x7--DZ.js","assets/OpenCalendarEvent-Cqy0hp_A.js","assets/_recurrenceId-DygnfvYv.js","assets/suggestion._suggestionId-DSXOmfLm.js"])))=>i.map(i=>d[i]);
2
2
  function QL(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const s=Object.getOwnPropertyDescriptor(r,a);s&&Object.defineProperty(e,a,s.get?s:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))r(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(a){if(a.ep)return;a.ep=!0;const s=n(a);fetch(a.href,s)}})();var _g=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fd(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var XS={exports:{}},Jf={};var i5;function wK(){if(i5)return Jf;i5=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,a,s){var i=null;if(s!==void 0&&(i=""+s),a.key!==void 0&&(i=""+a.key),"key"in a){s={};for(var c in a)c!=="key"&&(s[c]=a[c])}else s=a;return a=s.ref,{$$typeof:e,type:r,key:i,ref:a!==void 0?a:null,props:s}}return Jf.Fragment=t,Jf.jsx=n,Jf.jsxs=n,Jf}var l5;function xK(){return l5||(l5=1,XS.exports=wK()),XS.exports}var C=xK();const CK="Logging",EK="x-amz-user-agent",_K="NoHubcallbackProvidedException";var ma;(function(e){e.DEBUG="DEBUG",e.ERROR="ERROR",e.INFO="INFO",e.WARN="WARN",e.VERBOSE="VERBOSE",e.NONE="NONE"})(ma||(ma={}));const c5={VERBOSE:1,DEBUG:2,INFO:3,WARN:4,ERROR:5,NONE:6};class hr{constructor(t,n=ma.WARN){this.name=t,this.level=n,this._pluggables=[]}_padding(t){return t<10?"0"+t:""+t}_ts(){const t=new Date;return[this._padding(t.getMinutes()),this._padding(t.getSeconds())].join(":")+"."+t.getMilliseconds()}configure(t){return t?(this._config=t,this._config):this._config}_log(t,...n){let r=this.level;hr.LOG_LEVEL&&(r=hr.LOG_LEVEL),typeof window<"u"&&window.LOG_LEVEL&&(r=window.LOG_LEVEL);const a=c5[r];if(!(c5[t]>=a))return;let i=console.log.bind(console);t===ma.ERROR&&console.error&&(i=console.error.bind(console)),t===ma.WARN&&console.warn&&(i=console.warn.bind(console)),hr.BIND_ALL_LOG_LEVELS&&(t===ma.INFO&&console.info&&(i=console.info.bind(console)),t===ma.DEBUG&&console.debug&&(i=console.debug.bind(console)));const c=`[${t}] ${this._ts()} ${this.name}`;let u="";if(n.length===1&&typeof n[0]=="string")u=`${c} - ${n[0]}`,i(u);else if(n.length===1)u=`${c} ${n[0]}`,i(c,n[0]);else if(typeof n[0]=="string"){let f=n.slice(1);f.length===1&&(f=f[0]),u=`${c} - ${n[0]} ${f}`,i(`${c} - ${n[0]}`,f)}else u=`${c} ${n}`,i(c,n);for(const f of this._pluggables){const h={message:u,timestamp:Date.now()};f.pushLogs([h])}}log(...t){this._log(ma.INFO,...t)}info(...t){this._log(ma.INFO,...t)}warn(...t){this._log(ma.WARN,...t)}error(...t){this._log(ma.ERROR,...t)}debug(...t){this._log(ma.DEBUG,...t)}verbose(...t){this._log(ma.VERBOSE,...t)}addPluggable(t){t&&t.getCategoryName()===CK&&(this._pluggables.push(t),t.configure(this._config))}listPluggables(){return this._pluggables}}hr.LOG_LEVEL=null;hr.BIND_ALL_LOG_LEVELS=!1;class ta extends Error{constructor({message:t,name:n,recoverySuggestion:r,underlyingError:a,metadata:s}){if(super(t),this.name=n,this.underlyingError=a,this.recoverySuggestion=r,s){const{extendedRequestId:i,httpStatusCode:c,requestId:u}=s;this.metadata={extendedRequestId:i,httpStatusCode:c,requestId:u}}this.constructor=ta,Object.setPrototypeOf(this,ta.prototype)}}var rl;(function(e){e.NoEndpointId="NoEndpointId",e.PlatformNotSupported="PlatformNotSupported",e.Unknown="Unknown",e.NetworkError="NetworkError"})(rl||(rl={}));const Sv=(e,t=ta)=>(n,r,a)=>{const{message:s,recoverySuggestion:i}=e[r];if(!n)throw new t({name:r,message:a?`${s} ${a}`:s,recoverySuggestion:i})},$s=typeof Symbol<"u"?Symbol("amplify_default"):"@@amplify_default",eh=new hr("Hub");class JL{constructor(t){this.listeners=new Map,this.protectedChannels=["core","auth","api","analytics","interactions","pubsub","storage","ui","xr"],this.name=t}_remove(t,n){const r=this.listeners.get(t);if(!r){eh.warn(`No listeners for ${t}`);return}this.listeners.set(t,[...r.filter(({callback:a})=>a!==n)])}dispatch(t,n,r,a){typeof t=="string"&&this.protectedChannels.indexOf(t)>-1&&(a===$s||eh.warn(`WARNING: ${t} is protected and dispatching on it can have unintended consequences`));const s={channel:t,payload:{...n},source:r,patternInfo:[]};try{this._toListeners(s)}catch(i){eh.error(i)}}listen(t,n,r="noname"){let a;if(typeof n!="function")throw new ta({name:_K,message:"No callback supplied to Hub"});a=n;let s=this.listeners.get(t);return s||(s=[],this.listeners.set(t,s)),s.push({name:r,callback:a}),()=>{this._remove(t,a)}}_toListeners(t){const{channel:n,payload:r}=t,a=this.listeners.get(n);a&&a.forEach(s=>{eh.debug(`Dispatching to ${n} with `,r);try{s.callback(t)}catch(i){eh.error(i)}})}}const Bs=new JL("__default__"),l1=new JL("internal-hub"),Ck=()=>{if(typeof window=="object"&&typeof window.crypto=="object")return window.crypto;if(typeof crypto=="object")return crypto;throw new ta({name:"MissingPolyfill",message:"Cannot resolve the `crypto` function from the environment."})},kK=()=>{if(typeof window<"u"&&typeof window.btoa=="function")return window.btoa;if(typeof btoa=="function")return btoa;throw new ta({name:"Base64EncoderError",message:"Cannot resolve the `btoa` function from the environment."})},AK=()=>{if(typeof window<"u"&&typeof window.atob=="function")return window.atob;if(typeof atob=="function")return atob;throw new ta({name:"Base64EncoderError",message:"Cannot resolve the `atob` function from the environment."})},Ek={convert(e,t){let n=e;return t?.urlSafe&&(n=n.replace(/-/g,"+").replace(/_/g,"/")),AK()(n)}};var Ls;(function(e){e.AuthTokenConfigException="AuthTokenConfigException",e.AuthUserPoolAndIdentityPoolException="AuthUserPoolAndIdentityPoolException",e.AuthUserPoolException="AuthUserPoolException",e.InvalidIdentityPoolIdException="InvalidIdentityPoolIdException",e.OAuthNotConfigureException="OAuthNotConfigureException"})(Ls||(Ls={}));const IK={[Ls.AuthTokenConfigException]:{message:"Auth Token Provider not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app."},[Ls.AuthUserPoolAndIdentityPoolException]:{message:"Auth UserPool or IdentityPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with UserPoolId and IdentityPoolId."},[Ls.AuthUserPoolException]:{message:"Auth UserPool not configured.",recoverySuggestion:"Make sure to call Amplify.configure in your app with userPoolId and userPoolClientId."},[Ls.InvalidIdentityPoolIdException]:{message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."},[Ls.OAuthNotConfigureException]:{message:"oauth param not configured.",recoverySuggestion:"Make sure to call Amplify.configure with oauth parameter in your app."}},_k=Sv(IK);function ht(e){let t=!0;e?t=!!e.userPoolId&&!!e.userPoolClientId:t=!1,_k(t,Ls.AuthUserPoolException)}function wv(e){const t=!!e?.loginWith?.oauth?.domain&&!!e?.loginWith?.oauth?.redirectSignOut&&!!e?.loginWith?.oauth?.redirectSignIn&&!!e?.loginWith?.oauth?.responseType;_k(t,Ls.OAuthNotConfigureException)}function O0(e){const t=!!e?.identityPoolId;_k(t,Ls.InvalidIdentityPoolIdException)}function Fo(e){const t=e.split(".");if(t.length!==3)throw new Error("Invalid token");try{const r=t[1].replace(/-/g,"+").replace(/_/g,"/"),a=decodeURIComponent(Ek.convert(r).split("").map(i=>`%${`00${i.charCodeAt(0).toString(16)}`.slice(-2)}`).join("")),s=JSON.parse(a);return{toString:()=>e,payload:s}}catch{throw new Error("Invalid token payload")}}const eU=e=>{const t=Reflect.ownKeys(e);for(const n of t){const r=e[n];(r&&typeof r=="object"||typeof r=="function")&&eU(r)}return Object.freeze(e)},TK=new hr("parseAWSExports"),RK={API_KEY:"apiKey",AWS_IAM:"iam",AMAZON_COGNITO_USER_POOLS:"userPool",OPENID_CONNECT:"oidc",NONE:"none",AWS_LAMBDA:"lambda",LAMBDA:"lambda"},OK=(e={})=>{if(!Object.prototype.hasOwnProperty.call(e,"aws_project_region"))throw new ta({name:"InvalidParameterException",message:"Invalid config parameter.",recoverySuggestion:"Ensure passing the config object imported from `amplifyconfiguration.json`."});const{aws_appsync_apiKey:t,aws_appsync_authenticationType:n,aws_appsync_graphqlEndpoint:r,aws_appsync_region:a,aws_bots_config:s,aws_cognito_identity_pool_id:i,aws_cognito_sign_up_verification_method:c,aws_cognito_mfa_configuration:u,aws_cognito_mfa_types:f,aws_cognito_password_protection_settings:h,aws_cognito_verification_mechanisms:m,aws_cognito_signup_attributes:g,aws_cognito_social_providers:y,aws_cognito_username_attributes:w,aws_mandatory_sign_in:b,aws_mobile_analytics_app_id:x,aws_mobile_analytics_app_region:E,aws_user_files_s3_bucket:k,aws_user_files_s3_bucket_region:A,aws_user_files_s3_dangerously_connect_to_http_endpoint_for_testing:R,aws_user_pools_id:P,aws_user_pools_web_client_id:O,geo:T,oauth:M,predictions:z,aws_cloud_logic_custom:q,Notifications:U,modelIntrospection:L}=e,B={};x&&(B.Analytics={Pinpoint:{appId:x,region:E}});const{InAppMessaging:G,Push:ie}=U??{};if(G?.AWSPinpoint||ie?.AWSPinpoint){if(G?.AWSPinpoint){const{appId:Q,region:se}=G.AWSPinpoint;B.Notifications={InAppMessaging:{Pinpoint:{appId:Q,region:se}}}}if(ie?.AWSPinpoint){const{appId:Q,region:se}=ie.AWSPinpoint;B.Notifications={...B.Notifications,PushNotification:{Pinpoint:{appId:Q,region:se}}}}}if(Array.isArray(s)&&(B.Interactions={LexV1:Object.fromEntries(s.map(Q=>[Q.name,Q]))}),r){const Q=RK[n];Q||TK.debug(`Invalid authentication type ${n}. Falling back to IAM.`),B.API={GraphQL:{endpoint:r,apiKey:t,region:a,defaultAuthMode:Q??"iam"}},L&&(B.API.GraphQL.modelIntrospection=L)}const $=u?{status:u&&u.toLowerCase(),totpEnabled:f?.includes("TOTP")??!1,smsEnabled:f?.includes("SMS")??!1}:void 0,X=h?{minLength:h.passwordPolicyMinLength,requireLowercase:h.passwordPolicyCharacters?.includes("REQUIRES_LOWERCASE")??!1,requireUppercase:h.passwordPolicyCharacters?.includes("REQUIRES_UPPERCASE")??!1,requireNumbers:h.passwordPolicyCharacters?.includes("REQUIRES_NUMBERS")??!1,requireSpecialCharacters:h.passwordPolicyCharacters?.includes("REQUIRES_SYMBOLS")??!1}:void 0,pe=Array.from(new Set([...m??[],...g??[]])).reduce((Q,se)=>({...Q,[se.toLowerCase()]:{required:!0}}),{}),_e=w?.includes("EMAIL")??!1,j=w?.includes("PHONE_NUMBER")??!1;(i||P)&&(B.Auth={Cognito:{identityPoolId:i,allowGuestAccess:b!=="enable",signUpVerificationMethod:c,userAttributes:pe,userPoolClientId:O,userPoolId:P,mfa:$,passwordFormat:X,loginWith:{username:!(_e||j),email:_e,phone:j}}});const Y=M?Object.keys(M).length>0:!1,Z=y?y.length>0:!1;if(B.Auth&&Y&&(B.Auth.Cognito.loginWith={...B.Auth.Cognito.loginWith,oauth:{...NK(M),...Z&&{providers:MK(y)}}}),k&&(B.Storage={S3:{bucket:k,region:A,dangerouslyConnectToHttpEndpointForTesting:R}}),T){const{amazon_location_service:Q}=T;B.Geo={LocationService:{maps:Q.maps,geofenceCollections:Q.geofenceCollections,searchIndices:Q.search_indices,region:Q.region}}}if(q&&(B.API={...B.API,REST:q.reduce((Q,se)=>{const{name:le,endpoint:me,region:te,service:ve}=se;return{...Q,[le]:{endpoint:me,...ve?{service:ve}:void 0,...te?{region:te}:void 0}}},{})}),z){const{VoiceId:Q}=z?.convert?.speechGenerator?.defaults??{};B.Predictions=Q?{...z,convert:{...z.convert,speechGenerator:{...z.convert.speechGenerator,defaults:{voiceId:Q}}}}:z}return B},u5=e=>e?.split(",")??[],NK=({domain:e,scope:t,redirectSignIn:n,redirectSignOut:r,responseType:a})=>({domain:e,scopes:t,redirectSignIn:u5(n),redirectSignOut:u5(r),responseType:a}),MK=e=>e.map(t=>{const n=t.toLowerCase();return n.charAt(0).toUpperCase()+n.slice(1)}),tU=Symbol("oauth-listener"),ur=[];for(let e=0;e<256;++e)ur.push((e+256).toString(16).slice(1));function PK(e,t=0){return(ur[e[t+0]]+ur[e[t+1]]+ur[e[t+2]]+ur[e[t+3]]+"-"+ur[e[t+4]]+ur[e[t+5]]+"-"+ur[e[t+6]]+ur[e[t+7]]+"-"+ur[e[t+8]]+ur[e[t+9]]+"-"+ur[e[t+10]]+ur[e[t+11]]+ur[e[t+12]]+ur[e[t+13]]+ur[e[t+14]]+ur[e[t+15]]).toLowerCase()}let QS;const DK=new Uint8Array(16);function LK(){if(!QS){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");QS=crypto.getRandomValues.bind(crypto)}return QS(DK)}const UK=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),d5={randomUUID:UK};function zK(e,t,n){e=e||{};const r=e.random??e.rng?.()??LK();if(r.length<16)throw new Error("Random bytes length must be >= 16");if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,t){if(n=n||0,n<0||n+16>t.length)throw new RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let a=0;a<16;++a)t[n+a]=r[a];return t}return PK(r)}function ld(e,t,n){return d5.randomUUID&&!t&&!e?d5.randomUUID():zK(e,t,n)}function jK(e){const{version:t}=e;return t?t.startsWith("1"):!1}function FK(e){if(!e)return;const{bucket_name:t,aws_region:n,buckets:r}=e;return{S3:{bucket:t,region:n,buckets:r&&XK(r)}}}function $K(e){if(!e)return;const{user_pool_id:t,user_pool_client_id:n,identity_pool_id:r,password_policy:a,mfa_configuration:s,mfa_methods:i,unauthenticated_identities_enabled:c,oauth:u,username_attributes:f,standard_required_attributes:h,groups:m,passwordless:g}=e,y={Cognito:{userPoolId:t,userPoolClientId:n,groups:m}};return r&&(y.Cognito={...y.Cognito,identityPoolId:r}),a&&(y.Cognito.passwordFormat={requireLowercase:a.require_lowercase,requireNumbers:a.require_numbers,requireUppercase:a.require_uppercase,requireSpecialCharacters:a.require_symbols,minLength:a.min_length??6}),s&&(y.Cognito.mfa={status:ZK(s),smsEnabled:i?.includes("SMS"),totpEnabled:i?.includes("TOTP")}),c&&(y.Cognito.allowGuestAccess=c),u&&(y.Cognito.loginWith={oauth:{domain:u.domain,redirectSignIn:u.redirect_sign_in_uri,redirectSignOut:u.redirect_sign_out_uri,responseType:u.response_type==="token"?"token":"code",scopes:u.scopes,providers:YK(u.identity_providers)}}),f&&(y.Cognito.loginWith={...y.Cognito.loginWith,email:f.includes("email"),phone:f.includes("phone_number"),username:f.includes("username")}),h&&(y.Cognito.userAttributes=h.reduce((w,b)=>({...w,[b]:{required:!0}}),{})),g&&(y.Cognito.passwordless={emailOtpEnabled:g.email_otp_enabled,smsOtpEnabled:g.sms_otp_enabled,webAuthn:g.web_authn?{relyingPartyId:g.web_authn.relying_party_id,userVerification:g.web_authn.user_verification}:void 0,preferredChallenge:g.preferred_challenge}),y}function BK(e){if(!e?.amazon_pinpoint)return;const{amazon_pinpoint:t}=e;return{Pinpoint:{appId:t.app_id,region:t.aws_region}}}function HK(e){if(!e)return;const{aws_region:t,geofence_collections:n,maps:r,search_indices:a}=e;return{LocationService:{region:t,searchIndices:a,geofenceCollections:n,maps:r}}}function qK(e){if(!e)return;const{aws_region:t,default_authorization_type:n,url:r,api_key:a,model_introspection:s}=e;return{GraphQL:{endpoint:r,defaultAuthMode:nU(n),region:t,apiKey:a,modelIntrospection:s}}}function VK(e){if(!e?.events)return;const{url:t,aws_region:n,api_key:r,default_authorization_type:a}=e.events;return{Events:{endpoint:t,defaultAuthMode:nU(a),region:n,apiKey:r}}}function WK(e){if(!e)return;const{aws_region:t,channels:n,amazon_pinpoint_app_id:r}=e,a=n.includes("IN_APP_MESSAGING"),s=n.includes("APNS")||n.includes("FCM");if(!(a||s))return;const i={};return a&&(i.InAppMessaging={Pinpoint:{appId:r,region:t}}),s&&(i.PushNotification={Pinpoint:{appId:r,region:t}}),i}function GK(e){const t={};if(e.storage&&(t.Storage=FK(e.storage)),e.auth&&(t.Auth=$K(e.auth)),e.analytics&&(t.Analytics=BK(e.analytics)),e.geo&&(t.Geo=HK(e.geo)),e.data&&(t.API=qK(e.data)),e.custom){const n=VK(e.custom);n&&"Events"in n&&(t.API={...t.API,...n})}return e.notifications&&(t.Notifications=WK(e.notifications)),t}const KK={AMAZON_COGNITO_USER_POOLS:"userPool",API_KEY:"apiKey",AWS_IAM:"iam",AWS_LAMBDA:"lambda",OPENID_CONNECT:"oidc"};function nU(e){return KK[e]}const f5={GOOGLE:"Google",LOGIN_WITH_AMAZON:"Amazon",FACEBOOK:"Facebook",SIGN_IN_WITH_APPLE:"Apple"};function YK(e=[]){return e.reduce((t,n)=>(f5[n]!==void 0&&t.push(f5[n]),t),[])}function ZK(e){return e==="OPTIONAL"?"optional":e==="REQUIRED"?"on":"off"}function XK(e){const t={};return e.forEach(({name:n,bucket_name:r,aws_region:a,paths:s})=>{if(n in t)throw new Error(`Duplicate friendly name found: ${n}. Name must be unique.`);const i=s?Object.entries(s).reduce((c,[u,f])=>(f!==void 0&&(c[u]=f),c),{}):void 0;t[n]={bucketName:r,region:a,paths:i}}),t}const rU=e=>Object.keys(e).some(t=>t.startsWith("aws_"))?OK(e):jK(e)?GK(e):e;var h5=function(){return h5=Object.assign||function(t){for(var n,r=1,a=arguments.length;r<a;r++){n=arguments[r];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},h5.apply(this,arguments)};function O8e(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}function QK(e,t,n,r){function a(s){return s instanceof n?s:new n(function(i){i(s)})}return new(n||(n=Promise))(function(s,i){function c(h){try{f(r.next(h))}catch(m){i(m)}}function u(h){try{f(r.throw(h))}catch(m){i(m)}}function f(h){h.done?s(h.value):a(h.value).then(c,u)}f((r=r.apply(e,t||[])).next())})}function JK(e,t){var n={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},r,a,s,i=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return i.next=c(0),i.throw=c(1),i.return=c(2),typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function c(f){return function(h){return u([f,h])}}function u(f){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,f[0]&&(n=0)),n;)try{if(r=1,a&&(s=f[0]&2?a.return:f[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,f[1])).done)return s;switch(a=0,s&&(f=[f[0]&2,s.value]),f[0]){case 0:case 1:s=f;break;case 4:return n.label++,{value:f[1],done:!1};case 5:n.label++,a=f[1],f=[0];continue;case 7:f=n.ops.pop(),n.trys.pop();continue;default:if(s=n.trys,!(s=s.length>0&&s[s.length-1])&&(f[0]===6||f[0]===2)){n=0;continue}if(f[0]===3&&(!s||f[1]>s[0]&&f[1]<s[3])){n.label=f[1];break}if(f[0]===6&&n.label<s[1]){n.label=s[1],s=f;break}if(s&&n.label<s[2]){n.label=s[2],n.ops.push(f);break}s[2]&&n.ops.pop(),n.trys.pop();continue}f=t.call(e,n)}catch(h){f=[6,h],a=0}finally{r=s=0}if(f[0]&5)throw f[1];return{value:f[0]?f[1]:void 0,done:!0}}}function N8e(e,t,n){if(n||arguments.length===2)for(var r=0,a=t.length,s;r<a;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return e.concat(s||Array.prototype.slice.call(t))}var Ua=64,eY=32,tY=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),nY=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],rY=Math.pow(2,53)-1,N0=(function(){function e(){this.state=Int32Array.from(nY),this.temp=new Int32Array(64),this.buffer=new Uint8Array(64),this.bufferLength=0,this.bytesHashed=0,this.finished=!1}return e.prototype.update=function(t){if(this.finished)throw new Error("Attempted to update an already finished hash.");var n=0,r=t.byteLength;if(this.bytesHashed+=r,this.bytesHashed*8>rY)throw new Error("Cannot hash more than 2^53 - 1 bits");for(;r>0;)this.buffer[this.bufferLength++]=t[n++],r--,this.bufferLength===Ua&&(this.hashBuffer(),this.bufferLength=0)},e.prototype.digest=function(){if(!this.finished){var t=this.bytesHashed*8,n=new DataView(this.buffer.buffer,this.buffer.byteOffset,this.buffer.byteLength),r=this.bufferLength;if(n.setUint8(this.bufferLength++,128),r%Ua>=Ua-8){for(var a=this.bufferLength;a<Ua;a++)n.setUint8(a,0);this.hashBuffer(),this.bufferLength=0}for(var a=this.bufferLength;a<Ua-8;a++)n.setUint8(a,0);n.setUint32(Ua-8,Math.floor(t/4294967296),!0),n.setUint32(Ua-4,t),this.hashBuffer(),this.finished=!0}for(var s=new Uint8Array(eY),a=0;a<8;a++)s[a*4]=this.state[a]>>>24&255,s[a*4+1]=this.state[a]>>>16&255,s[a*4+2]=this.state[a]>>>8&255,s[a*4+3]=this.state[a]>>>0&255;return s},e.prototype.hashBuffer=function(){for(var t=this,n=t.buffer,r=t.state,a=r[0],s=r[1],i=r[2],c=r[3],u=r[4],f=r[5],h=r[6],m=r[7],g=0;g<Ua;g++){if(g<16)this.temp[g]=(n[g*4]&255)<<24|(n[g*4+1]&255)<<16|(n[g*4+2]&255)<<8|n[g*4+3]&255;else{var y=this.temp[g-2],w=(y>>>17|y<<15)^(y>>>19|y<<13)^y>>>10;y=this.temp[g-15];var b=(y>>>7|y<<25)^(y>>>18|y<<14)^y>>>3;this.temp[g]=(w+this.temp[g-7]|0)+(b+this.temp[g-16]|0)}var x=(((u>>>6|u<<26)^(u>>>11|u<<21)^(u>>>25|u<<7))+(u&f^~u&h)|0)+(m+(tY[g]+this.temp[g]|0)|0)|0,E=((a>>>2|a<<30)^(a>>>13|a<<19)^(a>>>22|a<<10))+(a&s^a&i^s&i)|0;m=h,h=f,f=u,u=c+x|0,c=i,i=s,s=a,a=x+E|0}r[0]+=a,r[1]+=s,r[2]+=i,r[3]+=c,r[4]+=u,r[5]+=f,r[6]+=h,r[7]+=m},e})();const aY=e=>new TextEncoder().encode(e);var sY=typeof Buffer<"u"&&Buffer.from?function(e){return Buffer.from(e,"utf8")}:aY;function aU(e){return e instanceof Uint8Array?e:typeof e=="string"?sY(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e)}function oY(e){return typeof e=="string"?e.length===0:e.byteLength===0}var hc=(function(){function e(t){this.secret=t,this.hash=new N0,this.reset()}return e.prototype.update=function(t){if(!(oY(t)||this.error))try{this.hash.update(aU(t))}catch(n){this.error=n}},e.prototype.digestSync=function(){if(this.error)throw this.error;return this.outer?(this.outer.finished||this.outer.update(this.hash.digest()),this.outer.digest()):this.hash.digest()},e.prototype.digest=function(){return QK(this,void 0,void 0,function(){return JK(this,function(t){return[2,this.digestSync()]})})},e.prototype.reset=function(){if(this.hash=new N0,this.secret){this.outer=new N0;var t=iY(this.secret),n=new Uint8Array(Ua);n.set(t);for(var r=0;r<Ua;r++)t[r]^=54,n[r]^=92;this.hash.update(t),this.outer.update(n);for(var r=0;r<t.byteLength;r++)t[r]=0}},e})();function iY(e){var t=aU(e);if(t.byteLength>Ua){var n=new N0;n.update(t),t=n.digest()}var r=new Uint8Array(Ua);return r.set(t),r}for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`)}var Ln;(function(e){e.WebUnknown="0",e.React="1",e.NextJs="2",e.Angular="3",e.VueJs="4",e.Nuxt="5",e.Svelte="6",e.ServerSideUnknown="100",e.ReactSSR="101",e.NextJsSSR="102",e.AngularSSR="103",e.VueJsSSR="104",e.NuxtSSR="105",e.SvelteSSR="106",e.ReactNative="201",e.Expo="202"})(Ln||(Ln={}));var Ba;(function(e){e.AI="ai",e.API="api",e.Auth="auth",e.Analytics="analytics",e.DataStore="datastore",e.Geo="geo",e.InAppMessaging="inappmessaging",e.Interactions="interactions",e.Predictions="predictions",e.PubSub="pubsub",e.PushNotification="pushnotification",e.Storage="storage"})(Ba||(Ba={}));var Ro;(function(e){e.CreateConversation="1",e.GetConversation="2",e.ListConversations="3",e.DeleteConversation="4",e.SendMessage="5",e.ListMessages="6",e.OnMessage="7",e.Generation="8",e.UpdateConversation="9"})(Ro||(Ro={}));var p5;(function(e){e.Record="1",e.IdentifyUser="2"})(p5||(p5={}));var m5;(function(e){e.GraphQl="1",e.Get="2",e.Post="3",e.Put="4",e.Patch="5",e.Del="6",e.Head="7"})(m5||(m5={}));var tt;(function(e){e.SignUp="1",e.ConfirmSignUp="2",e.ResendSignUpCode="3",e.SignIn="4",e.FetchMFAPreference="6",e.UpdateMFAPreference="7",e.SetUpTOTP="10",e.VerifyTOTPSetup="11",e.ConfirmSignIn="12",e.DeleteUserAttributes="15",e.DeleteUser="16",e.UpdateUserAttributes="17",e.FetchUserAttributes="18",e.ConfirmUserAttribute="22",e.SignOut="26",e.UpdatePassword="27",e.ResetPassword="28",e.ConfirmResetPassword="29",e.FederatedSignIn="30",e.RememberDevice="32",e.ForgetDevice="33",e.FetchDevices="34",e.SendUserAttributeVerificationCode="35",e.SignInWithRedirect="36",e.StartWebAuthnRegistration="37",e.CompleteWebAuthnRegistration="38",e.ListWebAuthnCredentials="39",e.DeleteWebAuthnCredential="40"})(tt||(tt={}));var g5;(function(e){e.Subscribe="1",e.GraphQl="2"})(g5||(g5={}));var $h;(function(e){e.SearchByText="0",e.SearchByCoordinates="1",e.SearchForSuggestions="2",e.SearchByPlaceId="3",e.SaveGeofences="4",e.GetGeofence="5",e.ListGeofences="6",e.DeleteGeofences="7"})($h||($h={}));var t3;(function(e){e.SyncMessages="1",e.IdentifyUser="2",e.NotifyMessageInteraction="3"})(t3||(t3={}));var v5;(function(e){e.None="0"})(v5||(v5={}));var y5;(function(e){e.Convert="1",e.Identify="2",e.Interpret="3"})(y5||(y5={}));var b5;(function(e){e.Subscribe="1"})(b5||(b5={}));var S5;(function(e){e.InitializePushNotifications="1",e.IdentifyUser="2"})(S5||(S5={}));var ss;(function(e){e.UploadData="1",e.DownloadData="2",e.List="3",e.Copy="4",e.Remove="5",e.GetProperties="6",e.GetUrl="7",e.GetDataAccess="8",e.ListCallerAccessGrants="9"})(ss||(ss={}));const lY="6.18.0",xv=()=>typeof global<"u",$d=()=>typeof window<"u",sU=()=>typeof document<"u",kk=()=>typeof process<"u",tp=(e,t)=>!!Object.keys(e).find(n=>n.startsWith(t));var w5={};function cY(){const e=r=>r.startsWith("_react")||r.startsWith("__react"),t=r=>Object.keys(r).find(e),n=()=>Array.from(document.querySelectorAll("[id]"));return sU()&&n().some(t)}function uY(){return kk()&&typeof w5<"u"&&!!Object.keys(w5).find(e=>e.includes("react"))}function dY(){return $d()&&tp(window,"__VUE")}function fY(){return xv()&&tp(global,"__VUE")}var x5={};function hY(){return $d()&&tp(window,"__SVELTE")}function pY(){return kk()&&typeof x5<"u"&&!!Object.keys(x5).find(e=>e.includes("svelte"))}function mY(){return $d()&&window.next&&typeof window.next=="object"}function gY(){return xv()&&(tp(global,"__next")||tp(global,"__NEXT"))}function vY(){return $d()&&(window.__NUXT__!==void 0||window.$nuxt!==void 0)}function yY(){return xv()&&typeof global.__NUXT_PATHS__<"u"}var C5={};function bY(){const e=!!(sU()&&document.querySelector("[ng-version]")),t=!!($d()&&typeof window.ng<"u");return e||t}function SY(){return kk()&&typeof C5=="object"&&C5.npm_lifecycle_script?.startsWith("ng ")||!1}function wY(){return typeof navigator<"u"&&typeof navigator.product<"u"&&navigator.product==="ReactNative"}function xY(){return xv()&&typeof global.expo<"u"}function CY(){return $d()}const EY=[{platform:Ln.Expo,detectionMethod:xY},{platform:Ln.ReactNative,detectionMethod:wY},{platform:Ln.NextJs,detectionMethod:mY},{platform:Ln.Nuxt,detectionMethod:vY},{platform:Ln.Angular,detectionMethod:bY},{platform:Ln.React,detectionMethod:cY},{platform:Ln.VueJs,detectionMethod:dY},{platform:Ln.Svelte,detectionMethod:hY},{platform:Ln.WebUnknown,detectionMethod:CY},{platform:Ln.NextJsSSR,detectionMethod:gY},{platform:Ln.NuxtSSR,detectionMethod:yY},{platform:Ln.ReactSSR,detectionMethod:uY},{platform:Ln.VueJsSSR,detectionMethod:fY},{platform:Ln.AngularSSR,detectionMethod:SY},{platform:Ln.SvelteSSR,detectionMethod:pY}];function _Y(){return EY.find(e=>e.detectionMethod())?.platform||Ln.ServerSideUnknown}let Bh;const JS=[];let n3=!1;const kY=10,AY=10,IY=1e3,oU=()=>{if(!Bh){if(Bh=_Y(),n3)for(;JS.length;)JS.pop()?.();else JS.forEach(e=>{e()});E5(Ln.ServerSideUnknown,kY),E5(Ln.WebUnknown,AY)}return Bh};function TY(){Bh=void 0}function E5(e,t){Bh===e&&!n3&&setTimeout(()=>{TY(),n3=!0,setTimeout(oU,IY)},t)}const ji={},xo=e=>{ji[e.category]=e.apis.reduce((r,a)=>({...r,[a]:{refCount:r[a]?.refCount?r[a].refCount+1:1,additionalDetails:e.additionalDetails}}),ji[e.category]??{});let t=!1;return()=>{t||(t=!0,e.apis.forEach(r=>{const a=ji[e.category][r].refCount;a>1?ji[e.category][r].refCount=a-1:(delete ji[e.category][r],Object.keys(ji[e.category]).length||delete ji[e.category])}))}},RY=(e,t)=>ji[e]?.[t]?.additionalDetails,OY="aws-amplify",NY=e=>e.replace(/\+.*/,""),MY=({category:e,action:t}={})=>{const n=[[OY,NY(lY)]];if(e&&n.push([e,t]),n.push(["framework",oU()]),e&&t){const r=RY(e,t);r&&r.forEach(a=>{n.push(a)})}return n},Cv=e=>MY(e).map(([r,a])=>r&&a?`${r}/${a}`:r).join(" "),Ev=()=>typeof window<"u"&&typeof window.document<"u",_5=new hr("Auth");class PY{configure(t,n){this.authConfig=t,this.authOptions=n,t&&t.Cognito?.userPoolEndpoint&&_5.warn(k5("Amazon Cognito User Pool")),t&&t.Cognito?.identityPoolEndpoint&&_5.warn(k5("Amazon Cognito Identity Pool"))}async fetchAuthSession(t={}){let n,r;const a=await this.getTokens(t);return a?(r=a.accessToken?.payload?.sub,n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,tokens:a,authenticated:!0,forceRefresh:t.forceRefresh})):n=await this.authOptions?.credentialsProvider?.getCredentialsAndIdentityId({authConfig:this.authConfig,authenticated:!1,forceRefresh:t.forceRefresh}),{tokens:a,credentials:n?.credentials,identityId:n?.identityId,userSub:r}}async clearCredentials(){await this.authOptions?.credentialsProvider?.clearCredentialsAndIdentityId()}async getTokens(t){return await this.authOptions?.tokenProvider?.getTokens(t)??void 0}}const k5=e=>`You are using a custom Amazon ${e} endpoint, ensure the endpoint is correct.`;class DY{constructor(){this.oAuthListener=void 0,this.isConfigured=!1,this.resourcesConfig={},this.libraryOptions={},this.Auth=new PY}configure(t,n){const r=rU(t);this.resourcesConfig=r,n&&(this.libraryOptions=n),this.resourcesConfig=eU(this.resourcesConfig),this.Auth.configure(this.resourcesConfig.Auth,this.libraryOptions.Auth),(this.resourcesConfig.Analytics?.Pinpoint||this.resourcesConfig.Notifications?.InAppMessaging?.Pinpoint||this.resourcesConfig.Notifications?.PushNotification?.Pinpoint)&&console.warn("AWS will end support for Amazon Pinpoint on October 30, 2026. The guidance is to use AWS End User Messaging for push notifications and SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics."),Bs.dispatch("core",{event:"configure",data:this.resourcesConfig},"Configure",$s),this.notifyOAuthListener(),this.isConfigured=!0}getConfig(){return this.isConfigured||console.warn("Amplify has not been configured. Please call Amplify.configure() before using this service."),this.resourcesConfig}[tU](t){this.resourcesConfig.Auth?.Cognito.loginWith?.oauth?t(this.resourcesConfig.Auth?.Cognito):this.oAuthListener=t}notifyOAuthListener(){!this.resourcesConfig.Auth?.Cognito.loginWith?.oauth||!this.oAuthListener||(this.oAuthListener(this.resourcesConfig.Auth?.Cognito),this.oAuthListener=void 0)}}const Zt=new DY,iU=(e,t)=>e.Auth.fetchAuthSession(t),_v=e=>iU(Zt,e);function lU(){return Zt.Auth.clearCredentials()}const kv=e=>{const{headers:t,statusCode:n}=e;return{...LY(e)?e.$metadata:{},httpStatusCode:n,requestId:t["x-amzn-requestid"]??t["x-amzn-request-id"]??t["x-amz-request-id"],extendedRequestId:t["x-amz-id-2"],cfId:t["x-amz-cf-id"]}},LY=e=>typeof e?.$metadata=="object",Bd=async e=>{if(!e||e.statusCode<300)return;const t=await jp(e),r=(i=>{const[c]=i.toString().split(/[,:]+/);return c.includes("#")?c.split("#")[1]:c})(e.headers["x-amzn-errortype"]??t.code??t.__type??"UnknownError"),a=t.message??t.Message??"Unknown error",s=new Error(a);return Object.assign(s,{name:r,$metadata:kv(e)})},jp=async e=>{if(!e.body)throw new Error("Missing response payload");const t=await e.body.json();return Object.assign(t,{$metadata:kv(e)})},jn=(e,t,n,r)=>async(a,s)=>{const i={...r,...a},c=await i.endpointResolver(i,s),u=await t(s,c),f=await e(u,{...i});return n(f)},UY=300*1e3;function zY(e=UY){return r=>{const a=2**r*100+100*Math.random();return a>e?!1:a}}const cU=3,A5="amz-sdk-invocation-id",jY="amz-sdk-request",I5=300*1e3,uU=e=>{const n=zY(I5)(e);return n===!1?I5:n},FY=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch","BadRequestException"],$Y=e=>!!e&&FY.includes(e),dU=e=>async(t,n)=>{const r=n??await e(t)??void 0,a=r?.code||r?.name,s=t?.statusCode;return{retryable:VY(n)||qY(s,a)||$Y(a)||WY(s,a)}},BY=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException"],HY=["TimeoutError","RequestTimeout","RequestTimeoutException"],qY=(e,t)=>e===429||!!t&&BY.includes(t),VY=e=>[rl.NetworkError,"ERR_NETWORK"].includes(e?.name),WY=(e,t)=>!!e&&[500,502,503,504].includes(e)||!!t&&HY.includes(t),fU="cognito-identity",hU={service:fU,retryDecider:dU(Bd),computeDelay:uU,cache:"no-store"},GY=({maxAttempts:e=cU,retryDecider:t,computeDelay:n,abortSignal:r})=>{if(e<1)throw new Error("maxAttempts must be greater than 0");return(a,s)=>async function(c){let u,f=s.attemptsCount??0,h;const m=()=>{if(h)return T5(h,f),h;throw T5(u,f),u};for(;!r?.aborted&&f<e;){try{h=await a(c),u=void 0}catch(w){u=w,h=void 0}f=(s.attemptsCount??0)>f?s.attemptsCount??0:f+1,s.attemptsCount=f;const{isCredentialsExpiredError:g,retryable:y}=await t(h,u,s);if(y){if(s.isCredentialsExpired=!!g,!r?.aborted&&f<e){const w=n(f);await KY(w,r)}continue}else return m()}if(r?.aborted)throw new Error("Request aborted.");return m()}},KY=(e,t)=>{if(t?.aborted)return Promise.resolve();let n,r;const a=new Promise(s=>{r=s,n=setTimeout(s,e)});return t?.addEventListener("abort",function s(i){clearTimeout(n),t?.removeEventListener("abort",s),r()}),a},T5=(e,t)=>{Object.prototype.toString.call(e)==="[object Object]"&&(e.$metadata={...e.$metadata??{},attempts:t})},YY=ld,ZY=()=>e=>async function(n){return n.headers[A5]||(n.headers[A5]=YY()),e(n)},XY=({maxAttempts:e=cU})=>(t,n)=>async function(a){const s=n.attemptsCount??0;return a.headers[jY]=`attempt=${s+1}; max=${e}`,t(a)},QY=({userAgentHeader:e="x-amz-user-agent",userAgentValue:t=""})=>n=>async function(a){if(t.trim().length===0)return await n(a);{const s=e.toLowerCase();return a.headers[s]=a.headers[s]?`${a.headers[s]} ${t}`:t,await n(a)}},Ak=(e,t)=>(n,r)=>{const a={};let s=i=>e(i,r);for(let i=t.length-1;i>=0;i--){const c=t[i];s=c(r)(s,a)}return s(n)},ew=e=>{let t;return()=>(t||(t=e()),t)},JY=e=>!["HEAD","GET"].includes(e.toUpperCase()),eZ=async({url:e,method:t,headers:n,body:r},{abortSignal:a,cache:s,withCrossDomainCredentials:i})=>{let c;try{c=await fetch(e,{method:t,headers:n,body:JY(t)?r:void 0,signal:a,cache:s,credentials:i?"include":"same-origin"})}catch(m){throw m instanceof TypeError?new ta({name:rl.NetworkError,message:"A network error has occurred.",underlyingError:m}):m}const u={};c.headers?.forEach((m,g)=>{u[g.toLowerCase()]=m});const f={statusCode:c.status,headers:u,body:null},h=Object.assign(c.body??{},{text:ew(()=>c.text()),blob:ew(()=>c.blob()),json:ew(()=>c.json())});return{...f,body:h}},pU=Ak(eZ,[QY,ZY,GY,XY]),tZ=()=>e=>async function(n){return n.headers["cache-control"]="no-store",e(n)},mU=Ak(pU,[tZ]),gU=e=>(t,n)=>{const r=nZ(e),a=JSON.stringify(t);return rZ(n,r,a)},nZ=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityService.${e}`}),rZ=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"}),R5=e=>jn(mU,gU("GetCredentialsForIdentity"),aZ,{...hU,...e,userAgentValue:Cv()}),aZ=async e=>{if(e.statusCode>=300)throw await Bd(e);const t=await jp(e);return{IdentityId:t.IdentityId,Credentials:sZ(t.Credentials),$metadata:kv(e)}},sZ=({Expiration:e,...t}={})=>({...t,Expiration:e&&new Date(e*1e3)}),oZ=e=>jn(mU,gU("GetId"),iZ,{...hU,...e,userAgentValue:Cv()}),iZ=async e=>{if(e.statusCode>=300)throw await Bd(e);return{IdentityId:(await jp(e)).IdentityId,$metadata:kv(e)}},vU={id:"aws",outputs:{dnsSuffix:"amazonaws.com"},regionRegex:"^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",regions:["aws-global"]},lZ={partitions:[vU,{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn"},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:["aws-cn-global"]}]},yU=e=>{const{partitions:t}=lZ;for(const{regions:n,outputs:r,regionRegex:a}of t){const s=new RegExp(a);if(n.includes(e)||s.test(e))return r.dnsSuffix}return vU.outputs.dnsSuffix},hl=URL,cZ=({region:e})=>({url:new hl(`https://${fU}.${e}.${yU(e)}`)});class Ah extends ta{constructor(){super({name:rl.PlatformNotSupported,message:"Function not supported on current platform"})}}class bU{constructor(t){this.storage=t}async setItem(t,n){if(!this.storage)throw new Ah;this.storage.setItem(t,n)}async getItem(t){if(!this.storage)throw new Ah;return this.storage.getItem(t)}async removeItem(t){if(!this.storage)throw new Ah;this.storage.removeItem(t)}async clear(){if(!this.storage)throw new Ah;this.storage.clear()}}class SU{constructor(){this.storage=new Map}get length(){return this.storage.size}key(t){return t>this.length-1?null:Array.from(this.storage.keys())[t]}setItem(t,n){this.storage.set(t,n)}getItem(t){return this.storage.get(t)??null}removeItem(t){this.storage.delete(t)}clear(){this.storage.clear()}}const wU=new hr("CoreStorageUtils"),uZ=()=>{try{if(typeof window<"u"&&window.localStorage)return window.localStorage}catch{wU.info("localStorage not found. InMemoryStorage is used as a fallback.")}return new SU},xU=()=>{try{if(typeof window<"u"&&window.sessionStorage)return window.sessionStorage.getItem("test"),window.sessionStorage;throw new Error("sessionStorage is not defined")}catch{return wU.info("sessionStorage not found. InMemoryStorage is used as a fallback."),new SU}};class dZ extends bU{constructor(){super(uZ())}}class fZ extends bU{constructor(){super(xU())}}class hZ{constructor(t){this._storage=t}get storage(){if(!this._storage)throw new Ah;return this._storage}setItem(t,n){this.storage.setItem(t,n)}getItem(t){return this.storage.getItem(t)}removeItem(t){this.storage.removeItem(t)}clear(){this.storage.clear()}}class pZ extends hZ{constructor(){super(xU())}}function kg(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!=="__proto__"&&(e[r]=n[r])}return e}var mZ={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function r3(e,t){function n(a,s,i){if(!(typeof document>"u")){i=kg({},t,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,i[u]!==!0&&(c+="="+i[u].split(";")[0]));return document.cookie=a+"="+e.write(s,a)+c}}function r(a){if(!(typeof document>"u"||arguments.length&&!a)){for(var s=document.cookie?document.cookie.split("; "):[],i={},c=0;c<s.length;c++){var u=s[c].split("="),f=u.slice(1).join("=");try{var h=decodeURIComponent(u[0]);if(h in i||(i[h]=e.read(f,h)),a===h)break}catch{}}return a?i[a]:i}}return Object.create({set:n,get:r,remove:function(a,s){n(a,"",kg({},s,{expires:-1}))},withAttributes:function(a){return r3(this.converter,kg({},this.attributes,a))},withConverter:function(a){return r3(kg({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ag=r3(mZ,{path:"/"});class gZ{constructor(t={}){const{path:n,domain:r,expires:a,sameSite:s,secure:i}=t;if(this.domain=r,this.path=n||"/",this.expires=Object.prototype.hasOwnProperty.call(t,"expires")?a:365,this.secure=Object.prototype.hasOwnProperty.call(t,"secure")?i:!0,Object.prototype.hasOwnProperty.call(t,"sameSite")){if(!s||!["strict","lax","none"].includes(s))throw new Error('The sameSite value of cookieStorage must be "lax", "strict" or "none".');if(s==="none"&&!this.secure)throw new Error("sameSite = None requires the Secure attribute in latest browser versions.");this.sameSite=s}}async setItem(t,n){Ag.set(t,n,this.getData())}async getItem(t){return Ag.get(t)??null}async removeItem(t){Ag.remove(t,this.getData())}async clear(){const t=Ag.get(),n=Object.keys(t).map(r=>this.removeItem(r));await Promise.all(n)}getData(){return{path:this.path,expires:this.expires,domain:this.domain,secure:this.secure,...this.sameSite&&{sameSite:this.sameSite}}}}const Fp=new dZ;new fZ;const Lo=new pZ,vZ=new hr("I18n");let yZ=class{constructor(){this._options=null,this._lang=null,this._dict={}}setDefaultLanguage(){!this._lang&&typeof window<"u"&&window&&window.navigator&&(this._lang=window.navigator.language),vZ.debug(this._lang)}setLanguage(t){this._lang=t}get(t,n=void 0){if(this.setDefaultLanguage(),!this._lang)return typeof n<"u"?n:t;const r=this._lang;let a=this.getByLanguage(t,r);return a||(r.indexOf("-")>0&&(a=this.getByLanguage(t,r.split("-")[0])),a)?a:typeof n<"u"?n:t}getByLanguage(t,n,r=null){if(!n)return r;const a=this._dict[n];return a?a[t]:r}putVocabulariesForLanguage(t,n){let r=this._dict[t];r||(r=this._dict[t]={}),this._dict[t]={...r,...n}}putVocabularies(t){Object.keys(t).forEach(n=>{this.putVocabulariesForLanguage(n,t[n])})}};var Gl;(function(e){e.NotConfigured="NotConfigured"})(Gl||(Gl={}));const bZ={[Gl.NotConfigured]:{message:"i18n is not configured."}},Ig=Sv(bZ),O5=new hr("I18n");let Tg={language:null},ts=null,CU=class Hl{static configure(t){return O5.debug("configure I18n"),t&&(Tg=Object.assign({},Tg,t.I18n||t),Hl.createInstance()),Tg}static getModuleName(){return"I18n"}static createInstance(){O5.debug("create I18n instance"),!ts&&(ts=new yZ)}static setLanguage(t){Hl.checkConfig(),Ig(!!ts,Gl.NotConfigured),ts.setLanguage(t)}static get(t,n){return Hl.checkConfig(),Ig(!!ts,Gl.NotConfigured),ts.get(t,n)}static putVocabulariesForLanguage(t,n){Hl.checkConfig(),Ig(!!ts,Gl.NotConfigured),ts.putVocabulariesForLanguage(t,n)}static putVocabularies(t){Hl.checkConfig(),Ig(!!ts,Gl.NotConfigured),ts.putVocabularies(t)}static checkConfig(){return ts||Hl.createInstance(),!0}};CU.createInstance();const SZ=e=>{const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[],r=new Uint8Array(e);Ck().getRandomValues(r);for(const a of r)n.push(t[a%t.length]);return n.join("")};function wZ(e){return(e.match(/.{2}/g)||[]).map(n=>String.fromCharCode(parseInt(n,16))).join("")}function xZ(e){return e.split("").map(t=>t.charCodeAt(0).toString(16).padStart(2,"0")).join("")}const CZ=e=>{let t;return async(...n)=>t||(t=new Promise((r,a)=>{e(...n).then(s=>{r(s)}).catch(s=>{a(s)}).finally(()=>{t=void 0})}),t)};function N5({expiresAt:e,clockDrift:t,tolerance:n=5e3}){return Date.now()+t+n>e}const EZ=async()=>{const{userAgentData:e}=navigator;if(!e)return navigator.userAgent;const{platform:t="",platformVersion:n="",model:r="",architecture:a="",fullVersionList:s=[]}=await e.getHighEntropyValues(["platform","platformVersion","architecture","model","fullVersionList"]),i=s.map(u=>`${u.brand}/${u.version}`).join(";");return[t,n,a,r,t,i].filter(u=>u).join(" ")||navigator.userAgent};function _Z(e){return Array.from(e,t=>String.fromCodePoint(t)).join("")}const bd={convert(e,t={urlSafe:!1,skipPadding:!1}){const n=typeof e=="string"?e:_Z(e);let r=kK()(n);return t.urlSafe&&(r=r.replace(/\+/g,"-").replace(/\//g,"_")),t.skipPadding&&(r=r.replace(/=/g,"")),r}};function kZ(){return Ck().getRandomValues(new Uint32Array(1))[0]}function AZ(e){const{words:t}=e,{sigBytes:n}=e,r=[];for(let a=0;a<n;a++){const s=t[a>>>2]>>>24-a%4*8&255;r.push((s>>>4).toString(16)),r.push((s&15).toString(16))}return r.join("")}class Ik{constructor(t,n){this.words=[];let r=t;r=this.words=r||[],n!==void 0?this.sigBytes=n:this.sigBytes=r.length*4}random(t){const n=[];for(let r=0;r<t;r+=4)n.push(kZ());return new Ik(n,t)}toString(){return AZ(this)}}var et;(function(e){e.EmptySignInUsername="EmptySignInUsername",e.EmptySignInPassword="EmptySignInPassword",e.CustomAuthSignInPassword="CustomAuthSignInPassword",e.EmptySignUpUsername="EmptySignUpUsername",e.EmptySignUpPassword="EmptySignUpPassword",e.EmptyConfirmSignUpUsername="EmptyConfirmSignUpUsername",e.EmptyConfirmSignUpCode="EmptyConfirmSignUpCode",e.EmptyResendSignUpCodeUsername="EmptyresendSignUpCodeUsername",e.EmptyChallengeResponse="EmptyChallengeResponse",e.EmptyConfirmResetPasswordUsername="EmptyConfirmResetPasswordUsername",e.EmptyConfirmResetPasswordNewPassword="EmptyConfirmResetPasswordNewPassword",e.EmptyConfirmResetPasswordConfirmationCode="EmptyConfirmResetPasswordConfirmationCode",e.EmptyResetPasswordUsername="EmptyResetPasswordUsername",e.EmptyVerifyTOTPSetupCode="EmptyVerifyTOTPSetupCode",e.EmptyConfirmUserAttributeCode="EmptyConfirmUserAttributeCode",e.IncorrectMFAMethod="IncorrectMFAMethod",e.EmptyUpdatePassword="EmptyUpdatePassword",e.InvalidPreferredChallenge="InvalidPreferredChallenge"})(et||(et={}));const EU={[et.EmptyChallengeResponse]:{message:"challengeResponse is required to confirmSignIn"},[et.EmptyConfirmResetPasswordUsername]:{message:"username is required to confirmResetPassword"},[et.EmptyConfirmSignUpCode]:{message:"code is required to confirmSignUp"},[et.EmptyConfirmSignUpUsername]:{message:"username is required to confirmSignUp"},[et.EmptyConfirmResetPasswordConfirmationCode]:{message:"confirmationCode is required to confirmResetPassword"},[et.EmptyConfirmResetPasswordNewPassword]:{message:"newPassword is required to confirmResetPassword"},[et.EmptyResendSignUpCodeUsername]:{message:"username is required to confirmSignUp"},[et.EmptyResetPasswordUsername]:{message:"username is required to resetPassword"},[et.EmptySignInPassword]:{message:"password is required to signIn"},[et.EmptySignInUsername]:{message:"username is required to signIn"},[et.EmptySignUpPassword]:{message:"password is required to signUp"},[et.EmptySignUpUsername]:{message:"username is required to signUp"},[et.CustomAuthSignInPassword]:{message:"A password is not needed when signing in with CUSTOM_WITHOUT_SRP",recoverySuggestion:"Do not include a password in your signIn call."},[et.IncorrectMFAMethod]:{message:"Incorrect MFA method was chosen. It should be either SMS, TOTP, or EMAIL",recoverySuggestion:"Try to pass SMS, TOTP, or EMAIL as the challengeResponse"},[et.EmptyVerifyTOTPSetupCode]:{message:"code is required to verifyTotpSetup"},[et.EmptyUpdatePassword]:{message:"oldPassword and newPassword are required to changePassword"},[et.EmptyConfirmUserAttributeCode]:{message:"confirmation code is required to confirmUserAttribute"},[et.InvalidPreferredChallenge]:{message:"The preferred challenge is not enabled in your backend configuration",recoverySuggestion:"Ensure the authentication method is enabled in your Amplify backend configuration"}};var Xn;(function(e){e.DEFAULT_MSG="Authentication Error",e.EMPTY_EMAIL="Email cannot be empty",e.EMPTY_PHONE="Phone number cannot be empty",e.EMPTY_USERNAME="Username cannot be empty",e.INVALID_USERNAME="The username should either be a string or one of the sign in types",e.EMPTY_PASSWORD="Password cannot be empty",e.EMPTY_CODE="Confirmation code cannot be empty",e.SIGN_UP_ERROR="Error creating account",e.NO_MFA="No valid MFA method provided",e.INVALID_MFA="Invalid MFA type",e.EMPTY_CHALLENGE="Challenge response cannot be empty",e.NO_USER_SESSION="Failed to get the session because the user is empty",e.NETWORK_ERROR="Network Error",e.DEVICE_CONFIG="Device tracking has not been configured in this User Pool",e.AUTOSIGNIN_ERROR="Please use your credentials to sign in",e.OAUTH_ERROR="Couldn't finish OAuth flow, check your User Pool HostedUI settings"})(Xn||(Xn={}));var Hs;(function(e){e.SignInException="SignInException",e.OAuthSignInError="OAuthSignInException"})(Hs||(Hs={}));class Be extends ta{constructor(t){super(t),this.constructor=Be,Object.setPrototypeOf(this,Be.prototype)}}function bn(e,t){const{message:n,recoverySuggestion:r}=EU[t];if(!e)throw new Be({name:t,message:n,recoverySuggestion:r})}function xt(e){const t=e?.split("_")[0];if(!e||e.indexOf("_")<0||!t||typeof t!="string")throw new Be({name:"InvalidUserPoolId",message:"Invalid user pool id provided."});return t}function a3(e){if(!e||!e.includes(":"))throw new Be({name:"InvalidIdentityPoolIdException",message:"Invalid identity pool id provided.",recoverySuggestion:"Make sure a valid identityPoolId is given in the config."});return e.split(":")[0]}function M5(e){return Object.entries(e).map(([t,n])=>({Name:t,Value:n}))}function IZ(e){const t={};return e?.forEach(n=>{n.Name&&(t[n.Name]=n.Value)}),t}var P5;(function(e){e.ConcurrentModificationException="ConcurrentModificationException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException"})(P5||(P5={}));var D5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(D5||(D5={}));var L5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UsernameExistsException="UsernameExistsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(L5||(L5={}));var U5;(function(e){e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(U5||(U5={}));var z5;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyFailedAttemptsException="TooManyFailedAttemptsException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(z5||(z5={}));var j5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(j5||(j5={}));var F5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(F5||(F5={}));var $5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})($5||($5={}));var B5;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(B5||(B5={}));var H5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(H5||(H5={}));var q5;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(q5||(q5={}));var V5;(function(e){e.ExternalServiceException="ExternalServiceException",e.InternalErrorException="InternalErrorException",e.InvalidIdentityPoolConfigurationException="InvalidIdentityPoolConfigurationException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceConflictException="ResourceConflictException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException"})(V5||(V5={}));var W5;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(W5||(W5={}));var G5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException"})(G5||(G5={}));var c1;(function(e){e.PasswordResetRequiredException="PasswordResetRequiredException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(c1||(c1={}));var K5;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotFoundException="UserNotFoundException"})(K5||(K5={}));var Y5;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.MFAMethodNotFoundException="MFAMethodNotFoundException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Y5||(Y5={}));var Z5;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Z5||(Z5={}));var s3;(function(e){e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidPasswordException="InvalidPasswordException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UsernameExistsException="UsernameExistsException"})(s3||(s3={}));var X5;(function(e){e.AliasExistsException="AliasExistsException",e.CodeDeliveryFailureException="CodeDeliveryFailureException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidEmailRoleAccessPolicyException="InvalidEmailRoleAccessPolicyException",e.InvalidLambdaResponseException="InvalidLambdaResponseException",e.InvalidParameterException="InvalidParameterException",e.InvalidSmsRoleAccessPolicyException="InvalidSmsRoleAccessPolicyException",e.InvalidSmsRoleTrustRelationshipException="InvalidSmsRoleTrustRelationshipException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UnexpectedLambdaException="UnexpectedLambdaException",e.UserLambdaValidationException="UserLambdaValidationException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(X5||(X5={}));var Q5;(function(e){e.CodeMismatchException="CodeMismatchException",e.EnableSoftwareTokenMFAException="EnableSoftwareTokenMFAException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.SoftwareTokenMFANotFoundException="SoftwareTokenMFANotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(Q5||(Q5={}));var J5;(function(e){e.AliasExistsException="AliasExistsException",e.CodeMismatchException="CodeMismatchException",e.ExpiredCodeException="ExpiredCodeException",e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.LimitExceededException="LimitExceededException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(J5||(J5={}));var e6;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(e6||(e6={}));var t6;(function(e){e.ForbiddenException="ForbiddenException",e.InternalErrorException="InternalErrorException",e.InvalidParameterException="InvalidParameterException",e.InvalidUserPoolConfigurationException="InvalidUserPoolConfigurationException",e.NotAuthorizedException="NotAuthorizedException",e.PasswordResetRequiredException="PasswordResetRequiredException",e.ResourceNotFoundException="ResourceNotFoundException",e.TooManyRequestsException="TooManyRequestsException",e.UserNotConfirmedException="UserNotConfirmedException",e.UserNotFoundException="UserNotFoundException"})(t6||(t6={}));const Av="UserUnAuthenticatedException",TZ="UserAlreadyAuthenticatedException",RZ="DeviceMetadataNotFoundException",_U="AutoSignInException",OZ="InvalidRedirectException",NZ="InvalidAppSchemeException",MZ="InvalidPreferredRedirectUrlException",PZ=new Be({name:OZ,message:"signInRedirect or signOutRedirect had an invalid format or was not found.",recoverySuggestion:"Please make sure the signIn/Out redirect in your oauth config is valid."});new Be({name:NZ,message:"A valid non-http app scheme was not found in the config.",recoverySuggestion:"Please make sure a valid custom app scheme is present in the config."});new Be({name:MZ,message:"The given preferredRedirectUrl does not match any items in the redirectSignOutUrls array from the config.",recoverySuggestion:"Please make sure a matching preferredRedirectUrl is provided."});const DZ="InvalidOriginException",LZ=new Be({name:DZ,message:"redirect is coming from a different origin. The oauth flow needs to be initiated from the same origin",recoverySuggestion:"Please call signInWithRedirect from the same origin."}),UZ="OAuthSignOutException",zZ="TokenRefreshException",jZ="UnexpectedSignInInterruptionException";function Hd(e){if(!e||!e.accessToken)throw new Be({name:Av,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}function FZ(e){if(!e||!e.idToken)throw new Be({name:Av,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."})}const $Z=new Be({name:zZ,message:`Token refresh is not supported when authenticated with the 'implicit grant' (token) oauth flow.
3
3
  Please change your oauth configuration to use 'code grant' flow.`,recoverySuggestion:`Please logout and change your Amplify configuration to use "code grant" flow.
4
4
  E.g { responseType: 'code' }`}),BZ=new Be({name:Av,message:"User needs to be authenticated to call this API.",recoverySuggestion:"Sign in before calling this API again."});function kU(e){if(VZ(e))throw $Z;if(!qZ(e))throw BZ}function AU(e){if(!e||!e.deviceKey||!e.deviceGroupKey||!e.randomPassword)throw new Be({name:RZ,message:"Either deviceKey, deviceGroupKey or secretPassword were not found during the sign-in process.",recoverySuggestion:"Make sure to not clear storage after calling the signIn API."})}const HZ={inflightOAuth:"inflightOAuth",oauthSignIn:"oauthSignIn",oauthPKCE:"oauthPKCE",oauthState:"oauthState"};function IU(e){return e?.accessToken||e?.idToken}function qZ(e){return IU(e)&&e?.refreshToken}function VZ(e){return IU(e)&&!e?.refreshToken}const WZ=async e=>{const t=e.getConfig().Auth?.Cognito;ht(t);const n=await e.Auth.getTokens({forceRefresh:!1});Hd(n);const{"cognito:username":r,sub:a}=n.idToken?.payload??{},s={username:r,userId:a},i=GZ(n);return i&&(s.signInDetails=i),s};function GZ(e){return e?.signInDetails}const Iv=async()=>WZ(Zt),Ut=(e,t)=>Cv({category:Ba.Auth,action:e,...t}),Jn=e=>(t,n)=>{const r=KZ(e),a=JSON.stringify(t);return YZ(n,r,a)},KZ=e=>({"content-type":"application/x-amz-json-1.1","x-amz-target":`AWSCognitoIdentityProviderService.${e}`}),YZ=({url:e},t,n)=>({headers:t,url:e,body:n,method:"POST"});function Ha(e){if(!e||e.name==="Error"||e instanceof TypeError)throw new Be({name:rl.Unknown,message:"An unknown error has occurred.",underlyingError:e})}const mr=()=>async e=>{if(e.statusCode>=300){const t=await Bd(e);throw Ha(t),new Be({name:t.name,message:t.message,metadata:t.$metadata})}return jp(e)},ZZ=()=>(e,t)=>async function(r){return r.headers={...r.headers,"cache-control":"no-store",...await Zt.libraryOptions?.Auth?.headers?.()},e(r)},er=Ak(pU,[ZZ]),TU="cognito-idp",tr={service:TU,retryDecider:dU(Bd),computeDelay:uU,get userAgentValue(){return Cv()},cache:"no-store"},$p=e=>jn(er,Jn("InitiateAuth"),mr(),{...tr,...e}),Sa=e=>jn(er,Jn("RespondToAuthChallenge"),mr(),{...tr,...e}),XZ=e=>jn(er,Jn("VerifySoftwareToken"),mr(),{...tr,...e}),QZ=e=>jn(er,Jn("AssociateSoftwareToken"),mr(),{...tr,...e}),JZ=({region:e})=>({url:new hl(`https://${TU}.${e}.${yU(e)}`)}),Ct=({endpointOverride:e})=>t=>e?{url:new hl(e)}:JZ(t),eX=e=>jn(er,Jn("GetTokensFromRefreshToken"),mr(),{...tr,...e}),tX=async({tokens:e,authConfig:t,username:n,clientMetadata:r})=>{ht(t?.Cognito);const{userPoolId:a,userPoolClientId:s,userPoolEndpoint:i}=t.Cognito,c=xt(a);kU(e);const u=eX({endpointResolver:Ct({endpointOverride:i})}),{AuthenticationResult:f}=await u({region:c},{ClientId:s,RefreshToken:e.refreshToken,DeviceKey:e.deviceMetadata?.deviceKey,ClientMetadata:r}),h=Fo(f?.AccessToken??""),m=f?.IdToken?Fo(f.IdToken):void 0,{iat:g}=h.payload;if(!g)throw new Be({name:"iatNotFoundException",message:"iat not found in access token"});const y=g*1e3-new Date().getTime();return{accessToken:h,idToken:m,clockDrift:y,refreshToken:f?.RefreshToken??e.refreshToken,username:n}},nX=CZ(tX),rX={accessToken:"accessToken",idToken:"idToken",oidcProvider:"oidcProvider",clockDrift:"clockDrift",refreshToken:"refreshToken",deviceKey:"deviceKey",randomPasswordKey:"randomPasswordKey",deviceGroupKey:"deviceGroupKey",signInDetails:"signInDetails",oauthMetadata:"oauthMetadata"};var u1;(function(e){e.InvalidAuthTokens="InvalidAuthTokens"})(u1||(u1={}));const aX={[u1.InvalidAuthTokens]:{message:"Invalid tokens.",recoverySuggestion:"Make sure the tokens are valid."}},sX=Sv(aX),n6="CognitoIdentityServiceProvider";class oX{getKeyValueStorage(){if(!this.keyValueStorage)throw new Be({name:"KeyValueStorageNotFoundException",message:"KeyValueStorage was not found in TokenStore"});return this.keyValueStorage}setKeyValueStorage(t){this.keyValueStorage=t}setAuthConfig(t){this.authConfig=t}async loadTokens(){try{const t=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t.accessToken);if(!n)throw new Be({name:"NoSessionFoundException",message:"Auth session was not found. Make sure to call signIn."});const r=Fo(n),a=await this.getKeyValueStorage().getItem(t.idToken),s=a?Fo(a):void 0,i=await this.getKeyValueStorage().getItem(t.refreshToken)??void 0,c=await this.getKeyValueStorage().getItem(t.clockDrift)??"0",u=Number.parseInt(c),f=await this.getKeyValueStorage().getItem(t.signInDetails),h={accessToken:r,idToken:s,refreshToken:i,deviceMetadata:await this.getDeviceMetadata()??void 0,clockDrift:u,username:await this.getLastAuthUser()};return f&&(h.signInDetails=JSON.parse(f)),h}catch{return null}}async storeTokens(t){sX(t!==void 0,u1.InvalidAuthTokens);const n=t.username;await this.getKeyValueStorage().setItem(this.getLastAuthUserKey(),n);const r=await this.getAuthKeys();await this.getKeyValueStorage().setItem(r.accessToken,t.accessToken.toString()),t.idToken?await this.getKeyValueStorage().setItem(r.idToken,t.idToken.toString()):await this.getKeyValueStorage().removeItem(r.idToken),t.refreshToken?await this.getKeyValueStorage().setItem(r.refreshToken,t.refreshToken):await this.getKeyValueStorage().removeItem(r.refreshToken),t.deviceMetadata&&(t.deviceMetadata.deviceKey&&await this.getKeyValueStorage().setItem(r.deviceKey,t.deviceMetadata.deviceKey),t.deviceMetadata.deviceGroupKey&&await this.getKeyValueStorage().setItem(r.deviceGroupKey,t.deviceMetadata.deviceGroupKey),await this.getKeyValueStorage().setItem(r.randomPasswordKey,t.deviceMetadata.randomPassword)),t.signInDetails?await this.getKeyValueStorage().setItem(r.signInDetails,JSON.stringify(t.signInDetails)):await this.getKeyValueStorage().removeItem(r.signInDetails),await this.getKeyValueStorage().setItem(r.clockDrift,`${t.clockDrift}`)}async clearTokens(){const t=await this.getAuthKeys();await Promise.all([this.getKeyValueStorage().removeItem(t.accessToken),this.getKeyValueStorage().removeItem(t.idToken),this.getKeyValueStorage().removeItem(t.clockDrift),this.getKeyValueStorage().removeItem(t.refreshToken),this.getKeyValueStorage().removeItem(t.signInDetails),this.getKeyValueStorage().removeItem(this.getLastAuthUserKey()),this.getKeyValueStorage().removeItem(t.oauthMetadata)])}async getDeviceMetadata(t){const n=await this.getAuthKeys(t),r=await this.getKeyValueStorage().getItem(n.deviceKey),a=await this.getKeyValueStorage().getItem(n.deviceGroupKey),s=await this.getKeyValueStorage().getItem(n.randomPasswordKey);return s&&a&&r?{deviceKey:r,deviceGroupKey:a,randomPassword:s}:null}async clearDeviceMetadata(t){const n=await this.getAuthKeys(t);await Promise.all([this.getKeyValueStorage().removeItem(n.deviceKey),this.getKeyValueStorage().removeItem(n.deviceGroupKey),this.getKeyValueStorage().removeItem(n.randomPasswordKey)])}async getAuthKeys(t){ht(this.authConfig?.Cognito);const n=t??await this.getLastAuthUser();return iX(n6,`${this.authConfig.Cognito.userPoolClientId}.${n}`)}getLastAuthUserKey(){ht(this.authConfig?.Cognito);const t=this.authConfig.Cognito.userPoolClientId;return`${n6}.${t}.LastAuthUser`}async getLastAuthUser(){return await this.getKeyValueStorage().getItem(this.getLastAuthUserKey())??"username"}async setOAuthMetadata(t){const{oauthMetadata:n}=await this.getAuthKeys();await this.getKeyValueStorage().setItem(n,JSON.stringify(t))}async getOAuthMetadata(){const{oauthMetadata:t}=await this.getAuthKeys(),n=await this.getKeyValueStorage().getItem(t);return n&&JSON.parse(n)}}const iX=(e,t)=>Tk(rX)(`${e}`,t);function Tk(e){const t=Object.values({...e});return(n,r)=>t.reduce((a,s)=>({...a,[s]:`${n}.${r}.${s}`}),{})}const r6="amplify-signin-with-hostedUI",Is="CognitoIdentityServiceProvider";class RU{constructor(t){this.keyValueStorage=t}async clearOAuthInflightData(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId);await Promise.all([this.keyValueStorage.removeItem(t.inflightOAuth),this.keyValueStorage.removeItem(t.oauthPKCE),this.keyValueStorage.removeItem(t.oauthState)])}async clearOAuthData(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId);return await this.clearOAuthInflightData(),await this.keyValueStorage.removeItem(r6),this.keyValueStorage.removeItem(t.oauthSignIn)}loadOAuthState(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthState)}storeOAuthState(t){ht(this.cognitoConfig);const n=Ts(Is,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthState,t)}loadPKCE(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.getItem(t.oauthPKCE)}storePKCE(t){ht(this.cognitoConfig);const n=Ts(Is,this.cognitoConfig.userPoolClientId);return this.keyValueStorage.setItem(n.oauthPKCE,t)}setAuthConfig(t){this.cognitoConfig=t}async loadOAuthInFlight(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId);return await this.keyValueStorage.getItem(t.inflightOAuth)==="true"}async storeOAuthInFlight(t){ht(this.cognitoConfig);const n=Ts(Is,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(n.inflightOAuth,`${t}`)}async loadOAuthSignIn(){ht(this.cognitoConfig);const t=Ts(Is,this.cognitoConfig.userPoolClientId),n=await this.keyValueStorage.getItem(r6),[r,a]=(await this.keyValueStorage.getItem(t.oauthSignIn))?.split(",")??[];return{isOAuthSignIn:r==="true"||n==="true",preferPrivateSession:a==="true"}}async storeOAuthSignIn(t,n=!1){ht(this.cognitoConfig);const r=Ts(Is,this.cognitoConfig.userPoolClientId);await this.keyValueStorage.setItem(r.oauthSignIn,`${t},${n}`)}}const Ts=(e,t)=>Tk(HZ)(e,t),Xr=new RU(Fp),o3=[],lX=e=>{o3.push(e)},OU=()=>{for(;o3.length;)o3.pop()?.()};class cX{constructor(){this.waitForInflightOAuth=Ev()?async()=>{if(await Xr.loadOAuthInFlight())return this.inflightPromise?this.inflightPromise:(this.inflightPromise=new Promise((t,n)=>{lX(t)}),this.inflightPromise)}:async()=>{}}setAuthConfig(t){Xr.setAuthConfig(t.Cognito),this.authConfig=t}setTokenRefresher(t){this.tokenRefresher=t}setAuthTokenStore(t){this.tokenStore=t}getTokenStore(){if(!this.tokenStore)throw new Be({name:"EmptyTokenStoreException",message:"TokenStore not set"});return this.tokenStore}getTokenRefresher(){if(!this.tokenRefresher)throw new Be({name:"EmptyTokenRefresherException",message:"TokenRefresher not set"});return this.tokenRefresher}setClientMetadataProvider(t){this.clientMetadataProvider=t}async getTokens(t){let n;try{ht(this.authConfig?.Cognito)}catch{return null}await this.waitForInflightOAuth(),this.inflightPromise=void 0,n=await this.getTokenStore().loadTokens();const r=await this.getTokenStore().getLastAuthUser();if(n===null)return null;const a=!!n?.idToken&&N5({expiresAt:(n.idToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0}),s=N5({expiresAt:(n.accessToken?.payload?.exp??0)*1e3,clockDrift:n.clockDrift??0});return(t?.forceRefresh||a||s)&&(n=await this.refreshTokens({tokens:n,username:r,clientMetadata:t?.clientMetadata??await this.clientMetadataProvider?.()}),n===null)?null:{accessToken:n?.accessToken,idToken:n?.idToken,signInDetails:n?.signInDetails}}async refreshTokens({tokens:t,username:n,clientMetadata:r}){try{const{signInDetails:a}=t,s=await this.getTokenRefresher()({tokens:t,authConfig:this.authConfig,username:n,clientMetadata:r});return s.signInDetails=a,await this.setTokens({tokens:s}),Bs.dispatch("auth",{event:"tokenRefresh"},"Auth",$s),s}catch(a){return this.handleErrors(a)}}handleErrors(t){if(Ha(t),this.isAuthenticationError(t)&&this.clearTokens(),Bs.dispatch("auth",{event:"tokenRefresh_failure",data:{error:t}},"Auth",$s),t.name.startsWith("NotAuthorizedException"))return null;throw t}isAuthenticationError(t){return["NotAuthorizedException","TokenRevokedException","UserNotFoundException","PasswordResetRequiredException","UserNotConfirmedException","RefreshTokenReuseException"].some(r=>t?.name?.startsWith?.(r))}async setTokens({tokens:t}){return this.getTokenStore().storeTokens(t)}async clearTokens(){return this.getTokenStore().clearTokens()}getDeviceMetadata(t){return this.getTokenStore().getDeviceMetadata(t)}clearDeviceMetadata(t){return this.getTokenStore().clearDeviceMetadata(t)}setOAuthMetadata(t){return this.getTokenStore().setOAuthMetadata(t)}getOAuthMetadata(){return this.getTokenStore().getOAuthMetadata()}}class uX{constructor(){this.authTokenStore=new oX,this.authTokenStore.setKeyValueStorage(Fp),this.tokenOrchestrator=new cX,this.tokenOrchestrator.setAuthTokenStore(this.authTokenStore),this.tokenOrchestrator.setTokenRefresher(nX)}getTokens(t={}){return this.tokenOrchestrator.getTokens(t)}setKeyValueStorage(t){this.authTokenStore.setKeyValueStorage(t)}setClientMetadataProvider(t){this.tokenOrchestrator.setClientMetadataProvider(t)}setAuthConfig(t){this.authTokenStore.setAuthConfig(t),this.tokenOrchestrator.setAuthConfig(t)}}const M0=new uX,{tokenOrchestrator:na}=M0;async function Xo(e){if(e.AccessToken){const t=Fo(e.AccessToken),n=(t.payload.iat||0)*1e3,r=new Date().getTime(),a=n>0?n-r:0;let s,i,c;e.RefreshToken&&(i=e.RefreshToken),e.IdToken&&(s=Fo(e.IdToken)),e?.NewDeviceMetadata&&(c=e.NewDeviceMetadata);const u={accessToken:t,idToken:s,refreshToken:i,clockDrift:a,deviceMetadata:c,username:e.username};e?.signInDetails&&(u.signInDetails=e.signInDetails),await na.setTokens({tokens:u})}else throw new ta({message:"Invalid tokens",name:"InvalidTokens",recoverySuggestion:"Check Cognito UserPool settings"})}const dX="Unable to get user session following successful sign-in.",pl=async()=>{try{Bs.dispatch("auth",{event:"signedIn",data:await Iv()},"Auth",$s)}catch(e){throw e.name===Av?new Be({name:jZ,message:dX,recoverySuggestion:"This most likely is due to auth tokens not being persisted. If you are using cookie store, please ensure cookies can be correctly set from your server."}):e}};function NU(){return{active:!1}}const fX=(e,t)=>{switch(t.type){case"SET_USERNAME":return{...e,username:t.value};case"SET_SESSION":return{...e,session:t.value};case"START":return{...e,active:!0};case"RESET":return NU();default:return e}},hX=e=>{let t=e(NU(),{type:"RESET"});return{getState:()=>t,dispatch:n=>{t=e(t,n)}}},Zi=hX(fX),pX=180*1e3,Rg="CognitoSignInState",Uo={username:`${Rg}.username`,challengeName:`${Rg}.challengeName`,signInSession:`${Rg}.signInSession`,expiry:`${Rg}.expiry`},mX=(e,t)=>{switch(t.type){case"SET_SIGN_IN_SESSION":return Og({signInSession:t.value}),{...e,signInSession:t.value};case"SET_SIGN_IN_STATE":return Og(t.value),{...t.value};case"SET_CHALLENGE_NAME":return Og({challengeName:t.value}),{...e,challengeName:t.value};case"SET_USERNAME":return Og({username:t.value}),{...e,username:t.value};case"SET_INITIAL_STATE":return vX();case"RESET_STATE":return MU(),Rk();default:return e}},gX=e=>{const t=Number(e),n=Date.now();return t<=n},fs=()=>{qs.dispatch({type:"RESET_STATE"})},MU=()=>{for(const e of Object.values(Uo))Lo.removeItem(e)},Rk=()=>({username:void 0,challengeName:void 0,signInSession:void 0}),vX=()=>{const e=Lo.getItem(Uo.expiry);if(!e||gX(e))return MU(),Rk();const t=Lo.getItem(Uo.username)??void 0,n=Lo.getItem(Uo.challengeName)??void 0,r=Lo.getItem(Uo.signInSession)??void 0;return{username:t,challengeName:n,signInSession:r}},yX=e=>{let t=e(Rk(),{type:"SET_INITIAL_STATE"});return{getState:()=>t,dispatch:n=>{t=e(t,n)}}},qs=yX(mX);function Ic(e){qs.dispatch({type:"SET_SIGN_IN_STATE",value:e})}const Og=({challengeName:e,signInSession:t,username:n})=>{n&&Lo.setItem(Uo.username,n),e&&Lo.setItem(Uo.challengeName,e),t&&(Lo.setItem(Uo.signInSession,t),Lo.setItem(Uo.expiry,String(Date.now()+pX)))},a6="Passkeys may not be supported on this device. Ensure your application is running in a secure context (HTTPS) and Web Authentication API is supported.";class $a extends ta{constructor(t){super(t),this.constructor=$a,Object.setPrototypeOf(this,$a.prototype)}}var Gt;(function(e){e.PasskeyNotSupported="PasskeyNotSupported",e.PasskeyAlreadyExists="PasskeyAlreadyExists",e.InvalidPasskeyRegistrationOptions="InvalidPasskeyRegistrationOptions",e.InvalidPasskeyAuthenticationOptions="InvalidPasskeyAuthenticationOptions",e.RelyingPartyMismatch="RelyingPartyMismatch",e.PasskeyRegistrationFailed="PasskeyRegistrationFailed",e.PasskeyRetrievalFailed="PasskeyRetrievalFailed",e.PasskeyRegistrationCanceled="PasskeyRegistrationCanceled",e.PasskeyAuthenticationCanceled="PasskeyAuthenticationCanceled",e.PasskeyOperationAborted="PasskeyOperationAborted"})(Gt||(Gt={}));const tw="User may have canceled the ceremony or another interruption has occurred. Check underlying error for details.",s6="Ensure your user pool is configured to support the WEB_AUTHN as an authentication factor.",Sd={[Gt.PasskeyNotSupported]:{message:"Passkeys may not be supported on this device.",recoverySuggestion:a6},[Gt.InvalidPasskeyRegistrationOptions]:{message:"Invalid passkey registration options.",recoverySuggestion:s6},[Gt.InvalidPasskeyAuthenticationOptions]:{message:"Invalid passkey authentication options.",recoverySuggestion:s6},[Gt.PasskeyRegistrationFailed]:{message:"Device failed to create passkey.",recoverySuggestion:a6},[Gt.PasskeyRetrievalFailed]:{message:"Device failed to retrieve passkey.",recoverySuggestion:"Passkeys may not be available on this device. Try an alternative authentication factor like PASSWORD, EMAIL_OTP, or SMS_OTP."},[Gt.PasskeyAlreadyExists]:{message:"Passkey already exists in authenticator.",recoverySuggestion:"Proceed with existing passkey or try again after deleting the credential."},[Gt.PasskeyRegistrationCanceled]:{message:"Passkey registration ceremony has been canceled.",recoverySuggestion:tw},[Gt.PasskeyAuthenticationCanceled]:{message:"Passkey authentication ceremony has been canceled.",recoverySuggestion:tw},[Gt.PasskeyOperationAborted]:{message:"Passkey operation has been aborted.",recoverySuggestion:tw},[Gt.RelyingPartyMismatch]:{message:"Relying party does not match current domain.",recoverySuggestion:"Ensure relying party identifier matches current domain."}},qd=Sv(Sd,$a),PU=e=>{if(e instanceof Error){if(e.name==="AbortError"){const{message:t,recoverySuggestion:n}=Sd[Gt.PasskeyOperationAborted];return new $a({name:Gt.PasskeyOperationAborted,message:t,recoverySuggestion:n,underlyingError:e})}if(e.name==="SecurityError"){const{message:t,recoverySuggestion:n}=Sd[Gt.RelyingPartyMismatch];return new $a({name:Gt.RelyingPartyMismatch,message:t,recoverySuggestion:n,underlyingError:e})}}return new $a({name:rl.Unknown,message:"An unknown error has occurred.",underlyingError:e})},bX=e=>{if(e instanceof $a)return e;if(e instanceof Error&&e.name==="NotAllowedError"){const{message:t,recoverySuggestion:n}=Sd[Gt.PasskeyAuthenticationCanceled];return new $a({name:Gt.PasskeyAuthenticationCanceled,message:t,recoverySuggestion:n,underlyingError:e})}return PU(e)},DU=()=>Ev()&&window.isSecureContext&&"credentials"in navigator&&typeof window.PublicKeyCredential=="function",Us=e=>bd.convert(new Uint8Array(e),{urlSafe:!0,skipPadding:!0}),Hh=e=>Uint8Array.from(Ek.convert(e,{urlSafe:!0}),t=>t.charCodeAt(0)).buffer,SX=e=>{const t=Hh(e.user.id),n=Hh(e.challenge),r=(e.excludeCredentials||[]).map(a=>({...a,id:Hh(a.id)}));return{...e,excludeCredentials:r,challenge:n,user:{...e.user,id:t}}},wX=e=>{const t={clientDataJSON:Us(e.response.clientDataJSON),attestationObject:Us(e.response.attestationObject),transports:e.response.getTransports(),publicKeyAlgorithm:e.response.getPublicKeyAlgorithm(),authenticatorData:Us(e.response.getAuthenticatorData())},n=e.response.getPublicKey();n&&(t.publicKey=Us(n));const r={type:e.type,id:e.id,rawId:Us(e.rawId),clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(r.authenticatorAttachment=e.authenticatorAttachment),r},xX=e=>{const t=Hh(e.challenge),n=(e.allowCredentials||[]).map(r=>({...r,id:Hh(r.id)}));return{...e,challenge:t,allowCredentials:n}},CX=e=>{const t={clientDataJSON:Us(e.response.clientDataJSON),authenticatorData:Us(e.response.authenticatorData),signature:Us(e.response.signature)};e.response.userHandle&&(t.userHandle=Us(e.response.userHandle));const n={id:e.id,rawId:Us(e.rawId),type:e.type,clientExtensionResults:e.getClientExtensionResults(),response:t};return e.authenticatorAttachment&&(n.authenticatorAttachment=e.authenticatorAttachment),n};function EX(e){qd([!!e,!!e?.challenge,!!e?.user,!!e?.rp,!!e?.pubKeyCredParams].every(Boolean),Gt.InvalidPasskeyRegistrationOptions)}function _X(e){qd(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAttestationResponse,Gt.PasskeyRegistrationFailed)}function kX(e){qd(e&&e instanceof PublicKeyCredential&&e.response instanceof AuthenticatorAssertionResponse,Gt.PasskeyRetrievalFailed)}const AX=async e=>{try{const t=DU();qd(t,Gt.PasskeyNotSupported);const n=xX(e),r=await navigator.credentials.get({publicKey:n});return kX(r),CX(r)}catch(t){throw bX(t)}},IX=e=>jn(er,Jn("ConfirmDevice"),mr(),{...tr,...e}),P0={convert(e){return new TextEncoder().encode(e)}};function Re(e,t){e!=null&&this.fromString(e,t)}function Lr(){return new Re(null,null)}let Ji;const TX=0xdeadbeefcafe,o6=(TX&16777215)===15715070;function RX(e,t,n,r,a,s){for(;--s>=0;){const i=t*this[e++]+n[r]+a;a=Math.floor(i/67108864),n[r++]=i&67108863}return a}function OX(e,t,n,r,a,s){const i=t&32767,c=t>>15;for(;--s>=0;){let u=this[e]&32767;const f=this[e++]>>15,h=c*u+f*i;u=i*u+((h&32767)<<15)+n[r]+(a&1073741823),a=(u>>>30)+(h>>>15)+c*f+(a>>>30),n[r++]=u&1073741823}return a}function NX(e,t,n,r,a,s){const i=t&16383,c=t>>14;for(;--s>=0;){let u=this[e]&16383;const f=this[e++]>>14,h=c*u+f*i;u=i*u+((h&16383)<<14)+n[r]+a,a=(u>>28)+(h>>14)+c*f,n[r++]=u&268435455}return a}const i6=typeof navigator<"u";i6&&o6&&navigator.appName==="Microsoft Internet Explorer"?(Re.prototype.am=OX,Ji=30):i6&&o6&&navigator.appName!=="Netscape"?(Re.prototype.am=RX,Ji=26):(Re.prototype.am=NX,Ji=28);Re.prototype.DB=Ji;Re.prototype.DM=(1<<Ji)-1;Re.prototype.DV=1<<Ji;const Ok=52;Re.prototype.FV=Math.pow(2,Ok);Re.prototype.F1=Ok-Ji;Re.prototype.F2=2*Ji-Ok;const MX="0123456789abcdefghijklmnopqrstuvwxyz",Tv=[];let Vd,ja;Vd=48;for(ja=0;ja<=9;++ja)Tv[Vd++]=ja;Vd=97;for(ja=10;ja<36;++ja)Tv[Vd++]=ja;Vd=65;for(ja=10;ja<36;++ja)Tv[Vd++]=ja;function l6(e){return MX.charAt(e)}function PX(e,t){const n=Tv[e.charCodeAt(t)];return n??-1}function DX(e){for(let t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s}function LX(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0}function Nk(e){const t=Lr();return t.fromInt(e),t}function UX(e,t){let n;if(t===16)n=4;else if(t===8)n=3;else if(t===2)n=1;else if(t===32)n=5;else if(t===4)n=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");this.t=0,this.s=0;let r=e.length,a=!1,s=0;for(;--r>=0;){const i=PX(e,r);if(i<0){e.charAt(r)==="-"&&(a=!0);continue}a=!1,s===0?this[this.t++]=i:s+n>this.DB?(this[this.t-1]|=(i&(1<<this.DB-s)-1)<<s,this[this.t++]=i>>this.DB-s):this[this.t-1]|=i<<s,s+=n,s>=this.DB&&(s-=this.DB)}this.clamp(),a&&Re.ZERO.subTo(this,this)}function zX(){const e=this.s&this.DM;for(;this.t>0&&this[this.t-1]==e;)--this.t}function jX(e){if(this.s<0)return"-"+this.negate().toString(e);let t;if(e==16)t=4;else if(e===8)t=3;else if(e===2)t=1;else if(e===32)t=5;else if(e===4)t=2;else throw new Error("Only radix 2, 4, 8, 16, 32 are supported");const n=(1<<t)-1;let r,a=!1,s="",i=this.t,c=this.DB-i*this.DB%t;if(i-- >0)for(c<this.DB&&(r=this[i]>>c)>0&&(a=!0,s=l6(r));i>=0;)c<t?(r=(this[i]&(1<<c)-1)<<t-c,r|=this[--i]>>(c+=this.DB-t)):(r=this[i]>>(c-=t)&n,c<=0&&(c+=this.DB,--i)),r>0&&(a=!0),a&&(s+=l6(r));return a?s:"0"}function FX(){const e=Lr();return Re.ZERO.subTo(this,e),e}function $X(){return this.s<0?this.negate():this}function BX(e){let t=this.s-e.s;if(t!=0)return t;let n=this.t;if(t=n-e.t,t!=0)return this.s<0?-t:t;for(;--n>=0;)if((t=this[n]-e[n])!=0)return t;return 0}function Mk(e){let t=1,n;return(n=e>>>16)!==0&&(e=n,t+=16),(n=e>>8)!==0&&(e=n,t+=8),(n=e>>4)!==0&&(e=n,t+=4),(n=e>>2)!==0&&(e=n,t+=2),(n=e>>1)!==0&&(e=n,t+=1),t}function HX(){return this.t<=0?0:this.DB*(this.t-1)+Mk(this[this.t-1]^this.s&this.DM)}function qX(e,t){let n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s}function VX(e,t){for(let n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s}function WX(e,t){const n=e%this.DB,r=this.DB-n,a=(1<<r)-1,s=Math.floor(e/this.DB);let i=this.s<<n&this.DM,c;for(c=this.t-1;c>=0;--c)t[c+s+1]=this[c]>>r|i,i=(this[c]&a)<<n;for(c=s-1;c>=0;--c)t[c]=0;t[s]=i,t.t=this.t+s+1,t.s=this.s,t.clamp()}function GX(e,t){t.s=this.s;const n=Math.floor(e/this.DB);if(n>=this.t){t.t=0;return}const r=e%this.DB,a=this.DB-r,s=(1<<r)-1;t[0]=this[n]>>r;for(let i=n+1;i<this.t;++i)t[i-n-1]|=(this[i]&s)<<a,t[i-n]=this[i]>>r;r>0&&(t[this.t-n-1]|=(this.s&s)<<a),t.t=this.t-n,t.clamp()}function KX(e,t){let n=0,r=0;const a=Math.min(e.t,this.t);for(;n<a;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()}function YX(e,t){const n=this.abs(),r=e.abs();let a=n.t;for(t.t=a+r.t;--a>=0;)t[a]=0;for(a=0;a<r.t;++a)t[a+n.t]=n.am(0,r[a],t,a,0,n.t);t.s=0,t.clamp(),this.s!==e.s&&Re.ZERO.subTo(t,t)}function ZX(e){const t=this.abs();let n=e.t=2*t.t;for(;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){const r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()}function XX(e,t,n){const r=e.abs();if(r.t<=0)return;const a=this.abs();if(a.t<r.t){t?.fromInt(0),n!=null&&this.copyTo(n);return}n===null&&(n=Lr());const s=Lr(),i=this.s,c=e.s,u=this.DB-Mk(r[r.t-1]);u>0?(r.lShiftTo(u,s),a.lShiftTo(u,n)):(r.copyTo(s),a.copyTo(n));const f=s.t,h=s[f-1];if(h===0)return;const m=h*(1<<this.F1)+(f>1?s[f-2]>>this.F2:0),g=this.FV/m,y=(1<<this.F1)/m,w=1<<this.F2;let b=n.t,x=b-f;const E=t===null?Lr():t;for(s.dlShiftTo(x,E),n.compareTo(E)>=0&&(n[n.t++]=1,n.subTo(E,n)),Re.ONE.dlShiftTo(f,E),E.subTo(s,s);s.t<f;)s[s.t++]=0;for(;--x>=0;){let k=n[--b]===h?this.DM:Math.floor(n[b]*g+(n[b-1]+w)*y);if((n[b]+=s.am(0,k,n,x,0,f))<k)for(s.dlShiftTo(x,E),n.subTo(E,n);n[b]<--k;)n.subTo(E,n)}t!==null&&(n.drShiftTo(f,t),i!==c&&Re.ZERO.subTo(t,t)),n.t=f,n.clamp(),u>0&&n.rShiftTo(u,n),i<0&&Re.ZERO.subTo(n,n)}function QX(e){const t=Lr();return this.abs().divRemTo(e,null,t),this.s<0&&t.compareTo(Re.ZERO)>0&&e.subTo(t,t),t}function JX(){if(this.t<1)return 0;const e=this[0];if((e&1)===0)return 0;let t=e&3;return t=t*(2-(e&15)*t)&15,t=t*(2-(e&255)*t)&255,t=t*(2-((e&65535)*t&65535))&65535,t=t*(2-e*t%this.DV)%this.DV,t>0?this.DV-t:-t}function eQ(e){return this.compareTo(e)===0}function tQ(e,t){let n=0,r=0;const a=Math.min(e.t,this.t);for(;n<a;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()}function nQ(e){const t=Lr();return this.addTo(e,t),t}function rQ(e){const t=Lr();return this.subTo(e,t),t}function aQ(e){const t=Lr();return this.multiplyTo(e,t),t}function sQ(e){const t=Lr();return this.divRemTo(e,t,null),t}function Wd(e){this.m=e,this.mp=e.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}function oQ(e){const t=Lr();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(Re.ZERO)>0&&this.m.subTo(t,t),t}function iQ(e){const t=Lr();return e.copyTo(t),this.reduce(t),t}function lQ(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(let t=0;t<this.m.t;++t){let n=e[t]&32767;const r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(n=t+this.m.t,e[n]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)}function cQ(e,t){e.squareTo(t),this.reduce(t)}function uQ(e,t,n){e.multiplyTo(t,n),this.reduce(n)}Wd.prototype.convert=oQ;Wd.prototype.revert=iQ;Wd.prototype.reduce=lQ;Wd.prototype.mulTo=uQ;Wd.prototype.sqrTo=cQ;function dQ(e,t,n){let r=e.bitLength(),a,s=Nk(1);const i=new Wd(t);if(r<=0)return s;r<18?a=1:r<48?a=3:r<144?a=4:r<768?a=5:a=6;const c=[];let u=3;const f=a-1,h=(1<<a)-1;if(c[1]=i.convert(this),a>1){const E=Lr();for(i.sqrTo(c[1],E);u<=h;)c[u]=Lr(),i.mulTo(E,c[u-2],c[u]),u+=2}let m=e.t-1,g,y=!0,w=Lr(),b;for(r=Mk(e[m])-1;m>=0;){for(r>=f?g=e[m]>>r-f&h:(g=(e[m]&(1<<r+1)-1)<<f-r,m>0&&(g|=e[m-1]>>this.DB+r-f)),u=a;(g&1)===0;)g>>=1,--u;if((r-=u)<0&&(r+=this.DB,--m),y)c[g].copyTo(s),y=!1;else{for(;u>1;)i.sqrTo(s,w),i.sqrTo(w,s),u-=2;u>0?i.sqrTo(s,w):(b=s,s=w,w=b),i.mulTo(w,c[g],s)}for(;m>=0&&(e[m]&1<<r)===0;)i.sqrTo(s,w),b=s,s=w,w=b,--r<0&&(r=this.DB-1,--m)}const x=i.revert(s);return n(null,x),x}Re.prototype.copyTo=DX;Re.prototype.fromInt=LX;Re.prototype.fromString=UX;Re.prototype.clamp=zX;Re.prototype.dlShiftTo=qX;Re.prototype.drShiftTo=VX;Re.prototype.lShiftTo=WX;Re.prototype.rShiftTo=GX;Re.prototype.subTo=KX;Re.prototype.multiplyTo=YX;Re.prototype.squareTo=ZX;Re.prototype.divRemTo=XX;Re.prototype.invDigit=JX;Re.prototype.addTo=tQ;Re.prototype.toString=jX;Re.prototype.negate=FX;Re.prototype.abs=$X;Re.prototype.compareTo=BX;Re.prototype.bitLength=HX;Re.prototype.mod=QX;Re.prototype.equals=eQ;Re.prototype.add=nQ;Re.prototype.subtract=rQ;Re.prototype.multiply=aQ;Re.prototype.divide=sQ;Re.prototype.modPow=dQ;Re.ZERO=Nk(0);Re.ONE=Nk(1);const fQ=async({a:e,g:t,k:n,x:r,B:a,N:s,U:i})=>new Promise((c,u)=>{t.modPow(r,s,(f,h)=>{if(f){u(f);return}a.subtract(n.multiply(h)).modPow(e.add(i.multiply(r)),s,(m,g)=>{if(m){u(m);return}c(g.mod(s))})})}),hQ="FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E088A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE649286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF6955817183995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7DB3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D2261AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200CBBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFCE0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF",LU={},i3={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),LU[e]=t,i3[t]=e}const wd=e=>{if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(r in i3)t[n/2]=i3[r];else throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t},Pk=e=>{let t="";for(let n=0;n<e.byteLength;n++)t+=LU[e[n]];return t},l3=e=>{const t=new hc;t.update(e);const n=t.digestSync(),r=Pk(n);return new Array(64-r.length).join("0")+r},D0=e=>l3(wd(e)),pQ=/^[89a-f]/i,Oo=e=>{if(!(e instanceof Re))throw new Error("Not a BigInteger");const t=e.compareTo(Re.ZERO)<0;let n=e.abs().toString(16);if(n=n.length%2!==0?`0${n}`:n,n=pQ.test(n)?`00${n}`:n,t){const r=n.split("").map(s=>{const i=~parseInt(s,16)&15;return"0123456789ABCDEF".charAt(i)}).join("");n=new Re(r,16).add(Re.ONE).toString(16),n.toUpperCase().startsWith("FF8")&&(n=n.substring(2))}return n},mQ=({A:e,B:t})=>{const n=new Re(D0(Oo(e)+Oo(t)),16);if(n.equals(Re.ZERO))throw new Error("U cannot be zero.");return n},gQ=(e,t,n)=>{const r=new hc(t);r.update(e);const a=r.digestSync(),s=new hc(a);return s.update(n),s.digestSync().slice(0,16)},Dk=e=>{const t=new Ik().random(e).toString();return wd(t)},vQ=()=>bd.convert(Dk(40));class yQ{constructor({userPoolName:t,a:n,g:r,A:a,N:s}){this.encoder=P0,this.userPoolName=t,this.a=n,this.g=r,this.A=a,this.N=s,this.k=new Re(D0(`${Oo(s)}${Oo(r)}`),16)}getRandomPassword(){if(!this.randomPassword)throw new Be({name:"EmptyBigIntegerRandomPassword",message:"random password is empty"});return this.randomPassword}getSaltToHashDevices(){if(!this.saltToHashDevices)throw new Be({name:"EmptyBigIntegersaltToHashDevices",message:"saltToHashDevices is empty"});return this.saltToHashDevices}getVerifierDevices(){if(!this.verifierDevices)throw new Be({name:"EmptyBigIntegerVerifierDevices",message:"verifyDevices is empty"});return this.verifierDevices}async generateHashDevice(t,n){this.randomPassword=vQ();const r=`${t}${n}:${this.randomPassword}`,a=l3(r),s=Pk(Dk(16));return this.saltToHashDevices=Oo(new Re(s,16)),new Promise((i,c)=>{this.g.modPow(new Re(D0(this.saltToHashDevices+a),16),this.N,(u,f)=>{if(u){c(u);return}this.verifierDevices=Oo(f),i()})})}async getPasswordAuthenticationKey({username:t,password:n,serverBValue:r,salt:a}){if(r.mod(this.N).equals(Re.ZERO))throw new Error("B cannot be zero.");const s=mQ({A:this.A,B:r}),i=`${this.userPoolName}${t}:${n}`,c=l3(i),u=new Re(D0(Oo(a)+c),16),f=await fQ({a:this.a,g:this.g,k:this.k,x:u,B:r,N:this.N,U:s}),h=this.encoder.convert("Caldera Derived Key"),m=this.encoder.convert(""),g=new Uint8Array(h.byteLength+m.byteLength);return g.set(h,0),g.set(m,h.byteLength),gQ(wd(Oo(f)),wd(Oo(s)),g)}}const bQ=async({a:e,g:t,N:n})=>new Promise((r,a)=>{t.modPow(e,n,(s,i)=>{if(s){a(s);return}if(i.mod(n).equals(Re.ZERO)){a(new Error("Illegal parameter. A mod N cannot be 0."));return}r(i)})}),Bp=async e=>{const t=new Re(hQ,16),n=new Re("2",16),r=SQ(),a=await bQ({a:r,g:n,N:t});return new yQ({userPoolName:e,a:r,g:n,A:a,N:t})},SQ=()=>{const e=Pk(Dk(128));return new Re(e,16)};async function Tc({userPoolId:e,userPoolEndpoint:t,newDeviceMetadata:n,accessToken:r}){if(!n)return;const a=e.split("_")[1]||"",s=await Bp(a),i=n?.DeviceKey,c=n?.DeviceGroupKey;try{await s.generateHashDevice(c??"",i??"")}catch{return}const u={Salt:bd.convert(wd(s.getSaltToHashDevices())),PasswordVerifier:bd.convert(wd(s.getVerifierDevices()))},f=s.getRandomPassword();try{return await IX({endpointResolver:Ct({endpointOverride:t})})({region:xt(e)},{AccessToken:r,DeviceName:await EZ(),DeviceKey:n?.DeviceKey,DeviceSecretVerifierConfig:u}),{deviceKey:i,deviceGroupKey:c,randomPassword:f}}catch{return}}async function wQ(e){const t=Zt.getConfig().Auth?.Cognito;ht(t);const{username:n,signInSession:r,signInDetails:a,challengeName:s}=qs.getState();if(s!=="WEB_AUTHN"||!n)throw new Be({name:Hs.SignInException,message:"Unable to proceed due to invalid sign in state."});const{CREDENTIAL_REQUEST_OPTIONS:i}=e;qd(!!i,Gt.InvalidPasskeyAuthenticationOptions);const c=await AX(JSON.parse(i)),u=Sa({endpointResolver:Ct({endpointOverride:t.userPoolEndpoint})}),{ChallengeName:f,ChallengeParameters:h,AuthenticationResult:m,Session:g}=await u({region:xt(t.userPoolId),userAgentValue:Ut(tt.ConfirmSignIn)},{ChallengeName:"WEB_AUTHN",ChallengeResponses:{USERNAME:n,CREDENTIAL:JSON.stringify(c)},ClientId:t.userPoolClientId,Session:r});if(Ic({signInSession:g,username:n,challengeName:f,signInDetails:a}),m)return await Xo({...m,username:n,NewDeviceMetadata:await Tc({userPoolId:t.userPoolId,userPoolEndpoint:t.userPoolEndpoint,newDeviceMetadata:m.NewDeviceMetadata,accessToken:m.AccessToken}),signInDetails:a}),qs.dispatch({type:"RESET_STATE"}),await pl(),{isSignedIn:!0,nextStep:{signInStep:"DONE"}};if(f==="WEB_AUTHN")throw new Be({name:Hs.SignInException,message:"Sequential WEB_AUTHN challenges returned from underlying service cannot be handled."});return{challengeName:f,challengeParameters:h}}function nr({username:e,userPoolId:t,userPoolClientId:n}){if(typeof window>"u")return;const r=window.AmazonCognitoAdvancedSecurityData;if(typeof r>"u")return;const a=r.getData(e,t,n);return a?{EncodedData:a}:{}}const xQ=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],CQ=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],UU=()=>{const e=new Date,t=CQ[e.getUTCDay()],n=xQ[e.getUTCMonth()],r=e.getUTCDate();let a=e.getUTCHours();a<10&&(a=`0${a}`);let s=e.getUTCMinutes();s<10&&(s=`0${s}`);let i=e.getUTCSeconds();i<10&&(i=`0${i}`);const c=e.getUTCFullYear();return`${t} ${n} ${r} ${a}:${s}:${i} UTC ${c}`},zU=({userPoolName:e,username:t,challengeParameters:n,dateNow:r,hkdf:a})=>{const s=P0.convert(e),i=P0.convert(t),c=EQ(n.SECRET_BLOCK),u=P0.convert(r),f=new Uint8Array(s.byteLength+i.byteLength+c.byteLength+u.byteLength);f.set(s,0),f.set(i,s.byteLength),f.set(c,s.byteLength+i.byteLength),f.set(u,s.byteLength+i.byteLength+c.byteLength);const h=new hc(a);h.update(f);const m=h.digestSync();return bd.convert(m)},EQ=e=>{const t="=".repeat((4-e.length%4)%4),n=(e+t).replace(/-/g,"+").replace(/_/g,"/"),r=Ek.convert(n),a=new Uint8Array(r.length);for(let s=0;s<r.length;++s)a[s]=r.charCodeAt(s);return a};async function Hp({username:e,config:t,clientMetadata:n,session:r,tokenOrchestrator:a}){const{userPoolId:s,userPoolEndpoint:i}=t,c=t.userPoolClientId,u=await a?.getDeviceMetadata(e);AU(u);const f=await Bp(u.deviceGroupKey),h={USERNAME:e,SRP_A:f.A.toString(16),DEVICE_KEY:u.deviceKey},m={ChallengeName:"DEVICE_SRP_AUTH",ClientId:c,ChallengeResponses:h,ClientMetadata:n,Session:r},g=Sa({endpointResolver:Ct({endpointOverride:i})}),{ChallengeParameters:y,Session:w}=await g({region:xt(s)},m);return _Q(e,y,n,w,f,t,a)}async function _Q(e,t,n,r,a,{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c},u){const f=await u?.getDeviceMetadata(e);AU(f);const h=new Re(t?.SRP_B,16),m=new Re(t?.SALT,16),{deviceKey:g}=f,{deviceGroupKey:y}=f,w=await a.getPasswordAuthenticationKey({username:f.deviceKey,password:f.randomPassword,serverBValue:h,salt:m}),b=UU(),x={USERNAME:t?.USERNAME??e,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:b,PASSWORD_CLAIM_SIGNATURE:zU({username:g,userPoolName:y,challengeParameters:t,dateNow:b,hkdf:w}),DEVICE_KEY:g},E=nr({username:e,userPoolId:s,userPoolClientId:i}),k={ChallengeName:"DEVICE_PASSWORD_VERIFIER",ClientId:i,ChallengeResponses:x,Session:r,ClientMetadata:n,UserContextData:E};return Sa({endpointResolver:Ct({endpointOverride:c})})({region:xt(s)},k)}async function Lk(e,t,n,r,a,s,i){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:f}=s,h=c?.split("_")[1]||"",m=new Re(t?.SRP_B,16),g=new Re(t?.SALT,16),y=t?.USER_ID_FOR_SRP;if(!y)throw new Be({name:"EmptyUserIdForSRPException",message:"USER_ID_FOR_SRP was not found in challengeParameters"});const w=await a.getPasswordAuthenticationKey({username:y,password:e,serverBValue:m,salt:g}),b=UU(),x={USERNAME:y,PASSWORD_CLAIM_SECRET_BLOCK:t?.SECRET_BLOCK,TIMESTAMP:b,PASSWORD_CLAIM_SIGNATURE:zU({username:y,userPoolName:h,challengeParameters:t,dateNow:b,hkdf:w})},E=await i.getDeviceMetadata(y);E&&E.deviceKey&&(x.DEVICE_KEY=E.deviceKey);const k=nr({username:y,userPoolId:c,userPoolClientId:u}),A={ChallengeName:"PASSWORD_VERIFIER",ChallengeResponses:x,ClientMetadata:n,Session:r,ClientId:u,UserContextData:k},P=await Sa({endpointResolver:Ct({endpointOverride:f})})({region:xt(c)},A);return P.ChallengeName==="DEVICE_SRP_AUTH"?Hp({username:y,config:s,clientMetadata:n,session:P.Session,tokenOrchestrator:i}):P}async function Gd(e,t,n,r){try{return await e(...t)}catch(a){if(a instanceof Be&&a.name==="ResourceNotFoundException"&&a.message.includes("Device does not exist."))return await r.clearDeviceMetadata(n),e(...t);throw a}}function Rc(e){const{dispatch:t}=qs;t({type:"SET_USERNAME",value:e})}async function jU({username:e,password:t,clientMetadata:n,config:r,tokenOrchestrator:a,authFlow:s,preferredChallenge:i}){const{userPoolId:c,userPoolClientId:u,userPoolEndpoint:f}=r,h=c?.split("_")[1]||"",m=await Bp(h),g={USERNAME:e,SRP_A:m.A.toString(16)};s==="USER_AUTH"&&i&&(g.PREFERRED_CHALLENGE=i);const y=nr({username:e,userPoolId:c,userPoolClientId:u}),w={AuthFlow:s,AuthParameters:g,ClientMetadata:n,ClientId:u,UserContextData:y},x=await $p({endpointResolver:Ct({endpointOverride:f})})({region:xt(c),userAgentValue:Ut(tt.SignIn)},w),{ChallengeParameters:E,Session:k}=x,A=E?.USERNAME??e;return Rc(A),x.ChallengeName==="PASSWORD_VERIFIER"?Gd(Lk,[t,E,n,k,m,r,a],A,a):x}async function kQ({username:e,session:t,selectedChallenge:n,config:r,clientMetadata:a}){return Sa({endpointResolver:Ct({endpointOverride:r.userPoolEndpoint})})({region:xt(r.userPoolId),userAgentValue:Ut(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:{USERNAME:e,ANSWER:n},ClientId:r.userPoolClientId,Session:t,ClientMetadata:a})}async function AQ(e,t,n,r,a){const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=r,u={ANSWER:"PASSWORD",USERNAME:e,PASSWORD:t},f=nr({username:e,userPoolId:s,userPoolClientId:i}),m=await Sa({endpointResolver:Ct({endpointOverride:c})})({region:xt(s),userAgentValue:Ut(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:u,ClientId:i,ClientMetadata:n,Session:a,UserContextData:f}),g=m.ChallengeParameters?.USERNAME??e;return Rc(g),m}async function IQ(e,t,n,r,a,s){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=r,f=i.split("_")[1]||"",h=await Bp(f),m={ANSWER:"PASSWORD_SRP",USERNAME:e,SRP_A:h.A.toString(16)},g=nr({username:e,userPoolId:i,userPoolClientId:c}),w=await Sa({endpointResolver:Ct({endpointOverride:u})})({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},{ChallengeName:"SELECT_CHALLENGE",ChallengeResponses:m,ClientId:c,ClientMetadata:n,Session:a,UserContextData:g}),b=w.ChallengeParameters?.USERNAME??e;return Rc(b),w.ChallengeName==="PASSWORD_VERIFIER"?Gd(Lk,[t,w.ChallengeParameters,n,w.Session,h,r,s],b,s):w}const c3="userAttributes.";function TQ(e){return"isSignedIn"in e&&"nextStep"in e}async function RQ({challengeResponse:e,clientMetadata:t,session:n,username:r,config:a,tokenOrchestrator:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=a,f={USERNAME:r,ANSWER:e},h=await s?.getDeviceMetadata(r);h&&h.deviceKey&&(f.DEVICE_KEY=h.deviceKey);const m=nr({username:r,userPoolId:i,userPoolClientId:c}),g={ChallengeName:"CUSTOM_CHALLENGE",ChallengeResponses:f,Session:n,ClientMetadata:t,ClientId:c,UserContextData:m},w=await Sa({endpointResolver:Ct({endpointOverride:u})})({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},g);return w.ChallengeName==="DEVICE_SRP_AUTH"?Hp({username:r,config:a,clientMetadata:t,session:w.Session,tokenOrchestrator:s}):w}async function OQ({challengeResponse:e,username:t,clientMetadata:n,session:r,deviceName:a,config:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=s;if(e==="EMAIL")return{ChallengeName:"MFA_SETUP",Session:r,ChallengeParameters:{MFAS_CAN_SETUP:'["EMAIL_OTP"]'},$metadata:{}};if(e==="TOTP")return{ChallengeName:"MFA_SETUP",Session:r,ChallengeParameters:{MFAS_CAN_SETUP:'["SOFTWARE_TOKEN_MFA"]'},$metadata:{}};const f={USERNAME:t};if(/^\d+$/.test(e)){const g=XZ({endpointResolver:Ct({endpointOverride:u})}),{Session:y}=await g({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},{UserCode:e,Session:r,FriendlyDeviceName:a});qs.dispatch({type:"SET_SIGN_IN_SESSION",value:y});const w={ChallengeName:"MFA_SETUP",ChallengeResponses:f,Session:y,ClientMetadata:n,ClientId:c};return Sa({endpointResolver:Ct({endpointOverride:u})})({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},w)}if(e.includes("@")){f.EMAIL=e;const g={ChallengeName:"MFA_SETUP",ChallengeResponses:f,Session:r,ClientMetadata:n,ClientId:c};return Sa({endpointResolver:Ct({endpointOverride:u})})({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},g)}throw new Be({name:Hs.SignInException,message:`Cannot proceed with MFA setup using challengeResponse: ${e}`,recoverySuggestion:'Try passing "EMAIL", "TOTP", a valid email, or OTP code as the challengeResponse.'})}async function NQ({challengeResponse:e,username:t,clientMetadata:n,session:r,config:a}){const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=a;bn(e==="TOTP"||e==="SMS"||e==="EMAIL",et.IncorrectMFAMethod);const u={USERNAME:t,ANSWER:BQ(e)},f=nr({username:t,userPoolId:s,userPoolClientId:i}),h={ChallengeName:"SELECT_MFA_TYPE",ChallengeResponses:u,Session:r,ClientMetadata:n,ClientId:i,UserContextData:f};return Sa({endpointResolver:Ct({endpointOverride:c})})({region:xt(s),userAgentValue:Ut(tt.ConfirmSignIn)},h)}async function MQ({challengeResponse:e,clientMetadata:t,session:n,username:r,requiredAttributes:a,config:s}){const{userPoolId:i,userPoolClientId:c,userPoolEndpoint:u}=s,f={...FQ(a),NEW_PASSWORD:e,USERNAME:r},h=nr({username:r,userPoolId:i,userPoolClientId:c}),m={ChallengeName:"NEW_PASSWORD_REQUIRED",ChallengeResponses:f,ClientMetadata:t,Session:n,ClientId:c,UserContextData:h};return Sa({endpointResolver:Ct({endpointOverride:u})})({region:xt(i),userAgentValue:Ut(tt.ConfirmSignIn)},m)}async function PQ(e,t,n,r,a){const{userPoolClientId:s,userPoolId:i,userPoolEndpoint:c}=r,u={USERNAME:e,PASSWORD:t},f=await a.getDeviceMetadata(e);f&&f.deviceKey&&(u.DEVICE_KEY=f.deviceKey);const h=nr({username:e,userPoolId:i,userPoolClientId:s}),m={AuthFlow:"USER_PASSWORD_AUTH",AuthParameters:u,ClientMetadata:n,ClientId:s,UserContextData:h},y=await $p({endpointResolver:Ct({endpointOverride:c})})({region:xt(i),userAgentValue:Ut(tt.SignIn)},m),w=y.ChallengeParameters?.USERNAME??y.ChallengeParameters?.USER_ID_FOR_SRP??e;return Rc(w),y.ChallengeName==="DEVICE_SRP_AUTH"?Hp({username:w,config:r,clientMetadata:n,session:y.Session,tokenOrchestrator:a}):y}async function DQ(e,t,n,r,a){return jU({username:e,password:t,clientMetadata:n,config:r,tokenOrchestrator:a,authFlow:"USER_SRP_AUTH"})}async function LQ(e,t,n,r){const{userPoolClientId:a,userPoolId:s,userPoolEndpoint:i}=n,c={USERNAME:e},u=await r.getDeviceMetadata(e);u&&u.deviceKey&&(c.DEVICE_KEY=u.deviceKey);const f=nr({username:e,userPoolId:s,userPoolClientId:a}),h={AuthFlow:"CUSTOM_AUTH",AuthParameters:c,ClientMetadata:t,ClientId:a,UserContextData:f},g=await $p({endpointResolver:Ct({endpointOverride:i})})({region:xt(s),userAgentValue:Ut(tt.SignIn)},h),y=g.ChallengeParameters?.USERNAME??e;return Rc(y),g.ChallengeName==="DEVICE_SRP_AUTH"?Hp({username:y,config:n,clientMetadata:t,session:g.Session,tokenOrchestrator:r}):g}async function UQ(e,t,n,r,a){ht(r);const{userPoolId:s,userPoolClientId:i,userPoolEndpoint:c}=r,u=s?.split("_")[1]||"",f=await Bp(u),h={USERNAME:e,SRP_A:f.A.toString(16),CHALLENGE_NAME:"SRP_A"},m=nr({username:e,userPoolId:s,userPoolClientId:i}),g={AuthFlow:"CUSTOM_AUTH",AuthParameters:h,ClientMetadata:n,ClientId:i,UserContextData:m},y=$p({endpointResolver:Ct({endpointOverride:c})}),{ChallengeParameters:w,Session:b}=await y({region:xt(s),userAgentValue:Ut(tt.SignIn)},g),x=w?.USERNAME??e;return Rc(x),Gd(Lk,[t,w,n,b,f,r,a],x,a)}async function Oc(e){const{challengeName:t,challengeParameters:n,availableChallenges:r}=e,a=Zt.getConfig().Auth?.Cognito;switch(ht(a),t){case"CUSTOM_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_CUSTOM_CHALLENGE",additionalInfo:n}};case"MFA_SETUP":{const{signInSession:s,username:i}=qs.getState(),c=c6(u6(n.MFAS_CAN_SETUP))||[],u=qQ(c),f=u.includes("TOTP"),h=u.includes("EMAIL");if(f&&h)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SETUP_SELECTION",allowedMFATypes:u}};if(h)return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_EMAIL_SETUP"}};if(f){const m=QZ({endpointResolver:Ct({endpointOverride:a.userPoolEndpoint})}),{Session:g,SecretCode:y}=await m({region:xt(a.userPoolId)},{Session:s});return qs.dispatch({type:"SET_SIGN_IN_SESSION",value:g}),{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_TOTP_SETUP",totpSetupDetails:zQ(y,i)}}}throw new Be({name:Hs.SignInException,message:`Cannot initiate MFA setup from available types: ${c}`})}case"NEW_PASSWORD_REQUIRED":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_NEW_PASSWORD_REQUIRED",missingAttributes:jQ(n.requiredAttributes)}};case"SELECT_MFA_TYPE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_MFA_SELECTION",allowedMFATypes:c6(u6(n.MFAS_CAN_CHOOSE))}};case"SMS_OTP":case"SMS_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_SMS_CODE",codeDeliveryDetails:{deliveryMedium:n.CODE_DELIVERY_DELIVERY_MEDIUM,destination:n.CODE_DELIVERY_DESTINATION}}};case"SOFTWARE_TOKEN_MFA":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_TOTP_CODE"}};case"EMAIL_OTP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_EMAIL_CODE",codeDeliveryDetails:{deliveryMedium:n.CODE_DELIVERY_DELIVERY_MEDIUM,destination:n.CODE_DELIVERY_DESTINATION}}};case"WEB_AUTHN":{const s=await wQ(n);return TQ(s)?s:Oc(s)}case"PASSWORD":case"PASSWORD_SRP":return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_IN_WITH_PASSWORD"}};case"SELECT_CHALLENGE":return{isSignedIn:!1,nextStep:{signInStep:"CONTINUE_SIGN_IN_WITH_FIRST_FACTOR_SELECTION",availableChallenges:r}}}throw new Be({name:Hs.SignInException,message:`An error occurred during the sign in process. ${t} challengeName returned by the underlying service was not addressed.`})}function zQ(e,t){return{sharedSecret:e,getSetupUri:(n,r)=>{const a=`otpauth://totp/${n}:${r??t}?secret=${e}&issuer=${n}`;return new hl(a)}}}function Kd(e){if(e===c1.PasswordResetRequiredException)return{isSignedIn:!1,nextStep:{signInStep:"RESET_PASSWORD"}};if(e===c1.UserNotConfirmedException)return{isSignedIn:!1,nextStep:{signInStep:"CONFIRM_SIGN_UP"}}}function jQ(e){return e?JSON.parse(e).map(n=>n.includes(c3)?n.replace(c3,""):n):[]}function FQ(e){if(!e)return{};const t={};return Object.entries(e).forEach(([n,r])=>{r&&(t[`${c3}${n}`]=r)}),t}async function $Q(e,t,n,r,a,s,i,c){const u=c?.userAttributes,f=c?.friendlyDeviceName;switch(t){case"WEB_AUTHN":case"SELECT_CHALLENGE":return r==="PASSWORD_SRP"||r==="PASSWORD"?{ChallengeName:r,Session:n,$metadata:{}}:kQ({username:e,session:n,selectedChallenge:r,config:a,clientMetadata:i});case"SELECT_MFA_TYPE":return NQ({challengeResponse:r,clientMetadata:i,session:n,username:e,config:a});case"MFA_SETUP":return OQ({challengeResponse:r,clientMetadata:i,session:n,username:e,deviceName:f,config:a});case"NEW_PASSWORD_REQUIRED":return MQ({challengeResponse:r,clientMetadata:i,session:n,username:e,requiredAttributes:u,config:a});case"CUSTOM_CHALLENGE":return Gd(RQ,[{challengeResponse:r,clientMetadata:i,session:n,username:e,config:a,tokenOrchestrator:s}],e,s);case"SMS_MFA":case"SOFTWARE_TOKEN_MFA":case"SMS_OTP":case"EMAIL_OTP":return VQ({challengeName:t,challengeResponse:r,clientMetadata:i,session:n,username:e,config:a,tokenOrchestrator:s});case"PASSWORD":return AQ(e,r,i,a,n);case"PASSWORD_SRP":return IQ(e,r,i,a,n,s)}throw new Be({name:Hs.SignInException,message:`An error occurred during the sign in process.
@@ -145,7 +145,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
145
145
  .ptr__loader {
146
146
  margin: 0 auto;
147
147
  text-align: center;
148
- }`;Uj(sie);var fPe=function(e){var t=e.isPullable,n=t===void 0?!0:t,r=e.canFetchMore,a=r===void 0?!1:r,s=e.onRefresh,i=e.onFetchMore,c=e.refreshingContent,u=c===void 0?F.createElement(rie,null):c,f=e.pullingContent,h=f===void 0?F.createElement(aie,null):f,m=e.children,g=e.pullDownThreshold,y=g===void 0?67:g,w=e.fetchMoreThreshold,b=w===void 0?100:w,x=e.maxPullDownDistance,E=x===void 0?95:x,k=e.resistance,A=k===void 0?1:k,R=e.backgroundColor,P=e.className,O=P===void 0?"":P,T=_.useRef(null),M=_.useRef(null),z=_.useRef(null),q=_.useRef(null),U=!1,L=!1,B=!1,G=0,ie=0;_.useEffect(function(){if(!(!n||!M||!M.current)){var Y=M.current;return Y.addEventListener("touchstart",re,{passive:!0}),Y.addEventListener("mousedown",re),Y.addEventListener("touchmove",pe,{passive:!1}),Y.addEventListener("mousemove",pe),window.addEventListener("scroll",_e),Y.addEventListener("touchend",j),Y.addEventListener("mouseup",j),document.body.addEventListener("mouseleave",j),function(){Y.removeEventListener("touchstart",re),Y.removeEventListener("mousedown",re),Y.removeEventListener("touchmove",pe),Y.removeEventListener("mousemove",pe),window.removeEventListener("scroll",_e),Y.removeEventListener("touchend",j),Y.removeEventListener("mouseup",j),document.body.removeEventListener("mouseleave",j)}}},[m,n,s,y,E,a,b]),_.useEffect(function(){var Y;if(!((Y=T)===null||Y===void 0)&&Y.current){var Z=T.current.classList.contains("ptr--fetch-more-treshold-breached");Z||a&&$()<b&&i&&(T.current.classList.add("ptr--fetch-more-treshold-breached"),L=!0,i().then(X).catch(X))}},[a,m]);var $=function(){if(!M||!M.current)return-1;var Y=window.scrollY,Z=M.current.scrollHeight;return Z-Y-window.innerHeight},X=function(){requestAnimationFrame(function(){M.current&&(M.current.style.overflowX="hidden",M.current.style.overflowY="auto",M.current.style.transform="unset"),z.current&&(z.current.style.opacity="0"),T.current&&(T.current.classList.remove("ptr--pull-down-treshold-breached"),T.current.classList.remove("ptr--dragging"),T.current.classList.remove("ptr--fetch-more-treshold-breached")),U&&(U=!1),L&&(L=!1)})},re=function(Y){B=!1,Y instanceof MouseEvent&&(G=Y.pageY),window.TouchEvent&&Y instanceof TouchEvent&&(G=Y.touches[0].pageY),ie=G,!(Y.type==="touchstart"&&Lj(Y.target,up.UP))&&(M.current.getBoundingClientRect().top<0||(B=!0))},pe=function(Y){if(B){if(window.TouchEvent&&Y instanceof TouchEvent?ie=Y.touches[0].pageY:ie=Y.pageY,T.current.classList.add("ptr--dragging"),ie<G){B=!1;return}Y.cancelable&&Y.preventDefault();var Z=Math.min((ie-G)/A,E);Z>=y&&(B=!0,U=!0,T.current.classList.remove("ptr--dragging"),T.current.classList.add("ptr--pull-down-treshold-breached")),!(Z>=E)&&(z.current.style.opacity=(Z/65).toString(),M.current.style.overflow="visible",M.current.style.transform="translate(0px, "+Z+"px)",z.current.style.visibility="visible")}},_e=function(Y){L||a&&$()<b&&i&&(L=!0,T.current.classList.add("ptr--fetch-more-treshold-breached"),i().then(X).catch(X))},j=function(){if(B=!1,G=0,ie=0,!U){z.current&&(z.current.style.visibility="hidden"),X();return}M.current&&(M.current.style.overflow="visible",M.current.style.transform="translate(0px, "+y+"px)"),s().then(X).catch(X)};return F.createElement("div",{className:"ptr "+O,style:{backgroundColor:R},ref:T},F.createElement("div",{className:"ptr__pull-down",ref:z},F.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},u),F.createElement("div",{className:"ptr__pull-down--pull-more"},h)),F.createElement("div",{className:"ptr__children",ref:M},m,F.createElement("div",{className:"ptr__fetch-more",ref:q},F.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},u))))};const oie=1024,iie=`(min-width: ${oie}px) and (not ((orientation: portrait) and (pointer: coarse)))`,lie=e=>{const[t,n]=_.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return _.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e);n(r.matches);const a=s=>n(s.matches);return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[e]),t},cie=e=>e===1?"message":"messages",y1=e=>`${e.toLocaleString()} ${cie(e)}`,Mw=(e,t)=>e.kind==="delete"?`delete ${y1(e.count)}`:t===void 0?"empty it":`empty ${y1(t)}`,zj=e=>e.kind==="delete"?"Nothing has been deleted.":"Nothing has been emptied.",uie=(e,t,n={})=>{const{trashFolderLabel:r,staleFolderLabel:a,selectedCount:s}=n,i=zj(t);if(e==="none")return{title:"No folder is set as Trash",description:`${i} reader files deleted mail in the folder you set as Trash, and this account has none.`,pickerPrompt:"Which folder does this account use for deleted mail?",confirmLabel:`Set as Trash and ${Mw(t,void 0)}`,cancelLabel:"Cancel"};if(e==="stale")return{title:"The Trash folder you chose is gone",description:a?`${i} You set ${a} as this account's Trash and it is no longer on the mail server — another mail app may have renamed or removed it.`:`${i} The folder you set as this account's Trash is no longer on the mail server — another mail app may have renamed or removed it.`,pickerPrompt:"Which folder should reader use instead?",confirmLabel:`Set as Trash and ${Mw(t,void 0)}`,cancelLabel:"Cancel"};const c=t.kind==="delete"?`Deleting ${y1(t.count)} there erases them from the mail server, and that cannot be restored.`:"Emptying a folder erases everything in it from the mail server, and that cannot be restored.";return{title:"Confirm this account's Trash folder",description:r?`${i} reader files this account's deleted mail in ${r} because of its name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`:`${i} reader files this account's deleted mail in a folder it matched by name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`,pickerPrompt:r?`Confirm ${r}, or pick the folder this account really uses.`:"Pick the folder this account really uses for deleted mail.",confirmLabel:`Set as Trash and ${Mw(t,s)}`,cancelLabel:"Cancel"}},die=(e,t,n,r)=>e.kind==="appointing"?{headline:"Setting the Trash folder…",status:n}:t.kind==="delete"?{headline:`Deleting ${y1(t.count)}…`,status:r?`Erasing them from ${n}. This can't be undone.`:`Moving them to ${n}`}:{headline:`Emptying ${n}…`,status:"This can't be undone."},fie=(e,t,n,r)=>e==="unconfirmed"&&t.kind==="delete"&&n!==void 0&&r===n,hie=(e,t,n)=>e==="mailbox-pending"?`${n} is still being created on the mail server. Wait for it to finish, then try again.`:`Couldn't set that folder as Trash. ${zj(t)} Please try again.`,pie=({open:e,reason:t,action:n,folders:r,delimiter:a,trashFolderLabel:s,guessedMailboxId:i,staleFolderLabel:c,accountEmail:u,phase:f,selectedId:h,onSelect:m,onCreateFolder:g,onConfirm:y,onCancel:w})=>{const b=_.useRef(null),x=f.kind==="appointing"||f.kind==="acting";_.useEffect(()=>{x&&b.current?.focus()},[x]);const E=r.find(P=>P.id===h),k=uie(t,n,{trashFolderLabel:s,staleFolderLabel:c,selectedCount:E?.messageCount}),A=fie(t,n,i,h),R=n.kind==="emptyTrash"||A;if(!e)return null;if(x){const P=die(f,n,E?.label??"",A);return C.jsx(S3,{open:e,onClose:()=>{},title:k.title,children:C.jsxs("div",{ref:b,"data-escape-owner":!0,tabIndex:-1,className:"flex flex-col items-center gap-3 px-5 py-10 text-center outline-none",children:[C.jsx(ap,{className:"size-8 animate-spin text-accent-2"}),C.jsx("p",{className:"text-sm font-medium text-fg",children:P.headline}),C.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:P.status})]})})}return C.jsxs(S3,{open:e,onClose:w,title:k.title,children:[C.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[C.jsx(pc,{className:`size-4 shrink-0 ${R?"text-danger":"text-warning"}`}),C.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:k.title})]}),C.jsxs("div",{className:"flex max-h-[70vh] flex-col",children:[C.jsxs("div",{className:"space-y-1 px-5 py-4",children:[C.jsx("p",{className:"text-sm text-fg-muted",children:k.description}),u&&C.jsx("p",{className:"text-xs text-fg-subtle",children:u})]}),f.kind==="appoint-failed"&&C.jsx("div",{className:"px-5 pb-3",children:C.jsx(sp,{tone:"danger",variant:"soft",children:hie(f.cause,n,E?.label??"That folder")})}),C.jsx("p",{className:"px-5 pb-2 text-sm text-fg-muted",children:k.pickerPrompt}),C.jsx("div",{className:"flex h-[26rem] min-h-0 flex-1 overflow-hidden",children:C.jsx(aA,{folders:r,selectedId:h,delimiter:a,onSelect:m,onCreateFolder:t==="none"?g:void 0,onCancel:w,labels:{treeAriaLabel:"Folders on this account",optionLabel:P=>`Set ${P.label}${P.messageCount===void 0?"":`, ${P.messageCount} messages`}, as Trash`}})})]}),C.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[C.jsx(Kt,{variant:"secondary",size:"sm",onClick:w,children:k.cancelLabel}),E&&C.jsx(Kt,{variant:R?"danger":"primary",size:"sm",onClick:()=>y(E.id),children:C.jsx("span",{className:"truncate",children:k.confirmLabel})})]})]})};function mie(e){return e.scopedOutFolder!==void 0||(e.droppedFacets?.length??0)>0}function gie(e){return`Your search was limited to ${e}. This filter matches these messages in any folder — it can't be pinned to one.`}const jj=e=>e.length===1?e[0]:e.length===2?`${e[0]} and ${e[1]}`:`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`;function vie(e){const t=e.length===1?"a filter condition":"filter conditions",n=e.length===1?"isn't":"aren't";return`${jj(e)} ${n} ${t}, so ${e.length===1?"it was":"they were"} left out — the filter still matches everything else you searched for.`}const Pw="add a sender or words to filter on";function hPe(e){if(e.length===0)return`${Pw[0].toUpperCase()}${Pw.slice(1)}`;const t=e.length===1?"isn't":"aren't",n=e.length===1?"a filter condition":"filter conditions";return`${jj(e)} ${t} ${n} — ${Pw}`}function AN({icon:e,children:t}){return C.jsxs("li",{className:"flex items-start gap-2",children:[C.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle","aria-hidden":"true",children:e}),C.jsx("span",{children:t})]})}function yie({notice:e}){return mie(e)?C.jsxs("div",{className:"rounded-md border border-line bg-surface-sunken px-3 py-2.5",children:[C.jsx("p",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"From your search"}),C.jsxs("ul",{className:"mt-1.5 space-y-1.5 text-xs text-fg-muted",children:[e.scopedOutFolder!==void 0&&C.jsx(AN,{icon:C.jsx(vne,{className:"size-3.5"}),children:gie(e.scopedOutFolder)}),e.droppedFacets&&e.droppedFacets.length>0&&C.jsx(AN,{icon:C.jsx(Cz,{className:"size-3.5"}),children:vie(e.droppedFacets)})]})]}):null}const bie={delete:{label:"Delete",present:"Deleting",past:"Deleted",destructive:!0},move:{label:"Move",present:"Moving",past:"Moved",destructive:!1},junk:{label:"Junk",present:"Marking as junk",past:"Marked as junk",destructive:!0},markRead:{label:"Mark read",present:"Marking read",past:"Marked read",destructive:!1},organize:{label:"Organize",present:"Organizing",past:"Organized",destructive:!1}},sA=e=>bie[e],Sie={match:"Apply to",properties:"Properties",folder:"Folder",rule:"Rule",name:"Name",review:"Review",run:"Run"},Fj=e=>Sie[e],pPe=({verb:e,mode:t,scope:n,fromSearch:r})=>{const a=r?["properties"]:t==="properties"?["match","properties"]:["match"];return e==="move"?[...a,"folder","review","run"]:e==="organize"?n==="standing"||n==="until"?[...a,"folder","rule","name","review","run"]:[...a,"folder","rule","review","run"]:[...a,"review","run"]},$v=(e,t)=>Math.max(0,e.indexOf(t)),wie=(e,t)=>$v(e,t)===0||t==="run",$j=(e,t)=>({clauses:[...e.clauses],matchOperator:e.matchOperator,moveMailboxId:e.moveMailboxId,scope:t,until:e.until,name:e.name}),Bj=e=>uj($j(e,e.scope??"once")),IN=e=>{if(!(e.scope!=="standing"&&e.scope!=="until")&&!cj($j(e,e.scope)))return ba.noMatch},xie="A rule only works within one account — clear the selection, or pick messages from a single account.",Cie="A destination only works within one account — clear the selection, or pick messages from a single account.",Eie="Matching beyond the messages you picked only works within one account — clear the selection, or pick messages from a single account.",_ie="A rule only works within one folder — clear the selection, or pick messages from a single folder.",kie="A destination only works within one folder — clear the selection, or pick messages from a single folder.",Aie={spansAccounts:{rule:xie,destination:Cie},spansFolders:{rule:_ie,destination:kie}},Iie="A match this wide applies once — use “Make this a filter” above the results to keep doing it.",mPe=(e,t)=>e==="escalated"?Iie:t.rule,gPe=(e,t)=>{const n=e===void 0?"spansAccounts":t;if(!n)return{accountId:e};const r=Aie[n];return{accountId:n==="spansAccounts"?void 0:e,rule:r.rule,destination:r.destination}},Tie=e=>e===void 0?["selected"]:["selected","properties"],Rie="This matches no messages, so there is nothing to do. Go back and change what it applies to.",Oie="Fill in every property, or take the empty one off.",Nie="Pick a destination first.",Mie="Choose one of the three first.",vPe=(e,t,n)=>{if(e==="properties")return t.clauses.length===0?ba.noMatch:t.clauses.some(r=>r.value.trim()==="")?Oie:void 0;if(e==="folder")return t.moveMailboxId?void 0:Nie;if(e==="rule"){if(!t.scope)return Mie;const r=IN(t);return r||(t.scope==="once"&&Bj(t).length>0?ba.bodyTextOnce:t.scope==="until"&&!t.until?.trim()?ba.noUntilDate:void 0)}if(e==="name"&&!t.name?.trim())return ba.unnamed;if(e==="review"){const r=IN(t);return r||(n.status==="uncounted"?void 0:n.status==="ready"&&n.count===0&&!n.stale?Rie:hj(n))}},Pie="Nothing matches this yet. Widen a property, or match on a different one.",oA=({state:e,verb:t,scope:n,matched:r,applied:a,failed:s,failureReason:i})=>{const{label:c,present:u,past:f}=sA(t),h=f.toLowerCase(),m=n==="standing"||n==="until",y={screenTitle:e==="saving"||e==="backApplyRunning"||e==="statusUnknown"||e==="commitFailed"?c:"Done",showProgress:e==="backApplyRunning"||e==="backApplyComplete"||e==="backApplyFailed"||e==="backApplyRestartFailed"||e==="statusUnknown"||e==="runStopped",failureListLabel:`Not ${h}`};return e==="saving"?{...y,title:m?"Saving rule…":"Applying…",detail:"Nothing has been changed yet.",tone:"progress",dismissLabel:"Close"}:e==="backApplyRunning"?{...y,title:m?"Rule saved. Moving the mail already in your mailbox…":`${u} ${r} messages…`,detail:"This keeps running if you close the wizard.",tone:"progress",dismissLabel:"Close",cancelLabel:"Stop the run"}:e==="statusUnknown"?{...y,title:m?"Rule saved. Its progress over your existing mail is unknown":`${u} — progress unknown`,detail:m?"The connection dropped, so the bar shows the last that was read. The pass runs on the mail server, and the rule keeps working on new mail either way. This keeps checking.":"The connection dropped, so the bar shows the last that was read. The run is on the mail server and carries on either way. This keeps checking.",tone:"warning",dismissLabel:"Close",retryLabel:"Check again"}:e==="backApplyComplete"?{...y,title:m?"Rule saved and applied":`${f} ${a}`,detail:m?`${a} of ${r} already in your mailbox ${h}. New mail follows the rule as it arrives.`:`Every message the match reached was ${h}. Your mail server is still catching up, so the list can lag behind.`,tone:"success",dismissLabel:"Done"}:e==="backApplyFailed"?{...y,title:m?"Rule saved — some mail stayed put":`Not everything was ${h}`,detail:`${a} of ${r} ${h} · the mail server rejected ${s}.${m?" The rule itself is saved and keeps working on new mail.":""}`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="runStopped"?{...y,title:`Stopped after ${a}`,detail:`${a} of ${r} ${h}. The rest were not sent, apart from the ones already on their way when you stopped — those may still have gone through.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyRestartFailed"?{...y,title:m?"Rule saved — the retry didn't start":"The retry didn't start",detail:`${a} of ${r} ${h} · the mail server rejected ${s}, which are still where they were.${m?" The rule itself is saved and keeps working on new mail.":""} Check your connection and try again.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyStartFailed"?{...y,title:"Rule saved",detail:"New mail follows it automatically. The pass over the mail already in your mailbox never started.",tone:"warning",dismissLabel:"Not now",retryLabel:"Run it over existing mail"}:e==="filterSaved"?{...y,title:"Filter saved",detail:"There is no mail in your mailbox to apply it to yet. New mail follows it as it arrives. You can see it, and when it expires, under Settings › Filters.",tone:"success",dismissLabel:"Done"}:{...y,title:m?"Couldn't save the rule":`Couldn't start ${c.toLowerCase()}`,detail:i??"Nothing has changed.",tone:"danger",dismissLabel:i===void 0?"Not now":"Close",retryLabel:i===void 0?"Try again":void 0}},Die=e=>`${fd(e.field)} "${e.value}"`,Hj=(e,t)=>e.map(Die).join(` ${rA(t)} `),R3=(e,t)=>e==="selected"?`These ${t} messages`:"Its properties",TN=e=>e==="selected"?"Only the messages ticked in the list.":Mae,qj=e=>`Every message ${e}`,iA="the list is showing",Lie="This reaches every match on the mail server, including the ones the list has not loaded. The search is already the match, so there is nothing to widen.",Uie="This covers messages not shown in the list, and anything else matching by the time it runs.",zie=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a})=>e==="escalated"?qj(a??iA):e==="properties"?Hj(n,r):R3(e,t),jie=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a,escalatedCount:s})=>{if(e==="selected")return`${t} messages`;if(e==="escalated"){const i=a??iA;return s===void 0?`every message ${i}`:`all ${s.toLocaleString()} messages ${i}`}return n.length===0?"every message":`every message where ${Hj(n,r)}`};function Fie({title:e,subtitle:t,steps:n,step:r,onBack:a,onExit:s,footer:i,children:c}){return C.jsx(cse,{title:e,subtitle:t,steps:n.map(Fj),activeStep:$v(n,r),onBack:a,onExit:s,footer:i,children:c})}function qh({selected:e,title:t,description:n,unavailable:r,onSelect:a,children:s}){const i=_.useId();return C.jsxs("div",{className:"space-y-1.5",children:[C.jsxs("button",{type:"button",onClick:a,"aria-pressed":e,"aria-describedby":r&&s?i:void 0,className:Pe("flex w-full items-start gap-3 rounded-lg border p-3 text-left transition-colors",e?"border-accent bg-accent-soft":"border-line bg-surface hover:bg-surface-sunken",r&&"opacity-55"),children:[C.jsx("span",{className:Pe("mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full border",e?"border-accent bg-accent text-accent-fg":"border-line"),children:e&&C.jsx(Nv,{className:"size-3"})}),C.jsxs("span",{className:"min-w-0 flex-1",children:[C.jsx("span",{className:"block text-sm font-medium text-fg",children:t}),C.jsx("span",{className:"mt-0.5 block text-xs text-fg-muted",children:n})]})]}),s&&C.jsx("div",{id:i,children:s})]})}const $ie=(e,t)=>e.status==="uncounted"?"The first matches. The total is not known until the run finishes.":e.status==="ready"&&e.count>t&&!e.stale?`and ${e.count-t} more`:dj(e),Bie=(e,t)=>t?"Fetching the messages this covers…":e.status==="error"?e.reason:Pie;function b1({messages:e,count:t,label:n,loading:r}){return C.jsxs("section",{className:"flex flex-col rounded-lg border border-line bg-surface",children:[C.jsx("h2",{className:"shrink-0 border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:n}),e.length===0?C.jsx("p",{className:"px-3 py-4 text-xs text-fg-muted",children:Bie(t,r)}):C.jsxs(C.Fragment,{children:[C.jsx("ul",{className:"min-h-0 max-h-[45dvh] divide-y divide-line overflow-y-auto overscroll-contain md:max-h-[17rem]",children:e.map(a=>C.jsxs("li",{className:"px-3 py-2",children:[C.jsxs("div",{className:"flex items-baseline justify-between gap-2",children:[C.jsx("span",{className:"truncate text-xs font-medium text-fg",children:a.sender}),C.jsx("span",{className:"shrink-0 text-2xs text-fg-subtle",children:a.date})]}),C.jsx("p",{className:"truncate text-xs text-fg-muted",children:a.subject})]},a.id))}),C.jsx("p",{className:"shrink-0 border-t border-line px-3 py-2 text-2xs text-fg-subtle",children:$ie(t,e.length)})]})]})}function RN({onBack:e,nextLabel:t,onNext:n,nextVariant:r="primary",blockedReason:a,nudged:s}){const i=_.useId();return C.jsxs("div",{className:"space-y-2",children:[a&&C.jsx(vae,{id:i,reason:a,nudged:s,className:"px-1 text-2xs text-warning"}),C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"touch",onClick:e,icon:C.jsx(Sz,{className:"size-4"}),className:"shrink-0",children:"Back"}),C.jsxs(Kt,{variant:r==="danger"?"danger":"primary",size:"touch",onClick:n,"aria-describedby":a?i:void 0,className:Pe("flex-1",a&&"opacity-55"),children:[t,r==="primary"&&C.jsx(cne,{className:"size-4"})]})]})]})}function Hie({selectedCount:e,mode:t,accountId:n,onModeChange:r,escalatedScope:a,sample:s}){if(t==="escalated")return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"rounded-lg border border-accent bg-accent-soft p-3",children:[C.jsx("p",{className:"text-sm font-medium text-fg",children:qj(a??iA)}),C.jsx("p",{className:"mt-1 text-xs text-fg-muted",children:Lie})]}),C.jsx("div",{className:"mt-4",children:C.jsx(b1,{...s})})]});const c=Tie(n).length>1;return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"space-y-2",children:[!c&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:Eie}),C.jsx(qh,{selected:t==="selected",onSelect:()=>r("selected"),title:R3("selected",e),description:TN("selected")}),c&&C.jsx(qh,{selected:t==="properties",onSelect:()=>r("properties"),title:R3("properties",e),description:TN("properties")})]}),C.jsx("div",{className:"mt-4",children:C.jsx(b1,{...s})})]})}const qie=[{value:"all",label:g1("all")},{value:"any",label:g1("any")}];function Vie({clauses:e,matchOperator:t,onMatchOperatorChange:n,clauseEdit:r,onStartAddClause:a,onStartEditClause:s,onRemoveClause:i,onChangeDraft:c,onSubmitClause:u,onCancelClause:f,clauseFields:h,clauseSuggestions:m,conversionNotice:g,sample:y}){const w=rA(t);return C.jsxs("div",{className:"space-y-4",children:[g&&C.jsx(yie,{notice:g}),C.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[e.map((b,x)=>C.jsxs(_.Fragment,{children:[x>0&&C.jsx("span",{className:"text-2xs font-medium uppercase text-fg-subtle",children:w}),C.jsx(mj,{clause:b,onEdit:()=>s(b.id),onRemove:()=>i(b.id)})]},b.id)),!r&&C.jsx(gj,{label:"Add clause",onClick:a})]}),r&&C.jsx(vj,{draft:r.draft,mode:r.mode,fields:h,suggestions:m,onChangeField:b=>c({...r.draft,field:b}),onChangeValue:b=>c({...r.draft,value:b}),onSubmit:u,onCancel:f}),e.length>1&&C.jsxs("div",{className:"flex items-center gap-2",children:[C.jsx("span",{className:"text-xs text-fg-muted",children:"Match"}),C.jsx(k3,{name:"wizard-match-operator",size:"sm","aria-label":"Match operator",options:qie,value:t,onChange:n})]}),C.jsx("p",{className:"px-1 text-xs text-fg-muted",children:"We started you off from what you were looking at. Change any of it — this is where the rule is decided, not the list behind it."}),C.jsx(b1,{...y})]})}function Wie({folders:e,mailboxId:t,onSelect:n,onCreateFolder:r,delimiter:a,restriction:s}){const i=e.find(c=>c.id===t);return C.jsxs("div",{className:"flex min-h-0 flex-col gap-3",children:[C.jsx("p",{className:Pe("px-1 text-xs",s?"text-warning":"text-fg-muted"),children:s??(i?`Moving to ${i.label}.`:"Tap a folder to open it, or make a new one where you want it.")}),C.jsx("div",{className:"flex min-h-0 flex-1 overflow-hidden rounded-lg border border-line bg-surface",children:C.jsx(aA,{folders:e,selectedId:t,onSelect:n,onCreateFolder:r,delimiter:a,labels:{createPending:"Waiting for the mail server to confirm the folder…"}})})]})}function Gie({draft:e,onScopeChange:t,onUntilChange:n,restriction:r}){const a=_.useId(),{scope:s,until:i=""}=e,c=Bj(e).length>0,u=r&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:r});return C.jsxs("div",{className:"space-y-2",children:[C.jsx(qh,{selected:s==="once",onSelect:()=>t("once"),title:F0("once"),description:"A one-off tidy-up. Nothing changes for future mail.",children:c&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:ba.bodyTextOnce})}),C.jsx(qh,{selected:s==="standing",unavailable:!!r,onSelect:()=>t("standing"),title:F0("standing"),description:"Saves a rule and applies it to new mail as it arrives, and to the mail already in your mailbox. You'll name it next.",children:u}),C.jsxs(qh,{selected:s==="until",unavailable:!!r,onSelect:()=>t("until"),title:F0("until"),description:"The same rule, and it stops on a day you pick.",children:[u,s==="until"&&C.jsxs("div",{className:"rounded-lg border border-line bg-surface p-2",children:[C.jsx(nA,{htmlFor:a,children:"Stops on"}),C.jsx(hs,{id:a,type:"date",value:i,onChange:f=>n(f.target.value)})]})]})]})}function Kie({name:e,onNameChange:t,nudged:n}){const r=_.useId(),a=_.useRef(null);return _.useEffect(()=>{n&&a.current?.focus()},[n]),C.jsxs(C.Fragment,{children:[C.jsx(nA,{htmlFor:r,children:"Rule name"}),C.jsx(hs,{id:r,ref:a,value:e,placeholder:"Travel confirmations",onChange:s=>t(s.target.value),trailing:e?C.jsx("button",{type:"button","aria-label":"Clear name",onClick:()=>{t(""),a.current?.focus()},className:"-mr-1 flex size-7 shrink-0 items-center justify-center rounded-full text-fg-subtle hover:bg-surface hover:text-fg",children:C.jsx($o,{className:"size-4"})}):void 0}),C.jsx("p",{className:"mt-2 text-xs text-fg-muted",children:"We suggested one from this selection. Clear it and write your own if it doesn't read right."})]})}function Yie({verb:e,mode:t,selectedCount:n,clauses:r,matchOperator:a,folder:s,scope:i,until:c,ruleName:u,escalatedScope:f,sample:h}){const{label:m}=sA(e),g={mode:t,selectedCount:n,clauses:r,matchOperator:a,escalatedScope:f,escalatedCount:h.count.status==="ready"?h.count.count:void 0},y=t!=="selected",w=i==="standing"||i==="until";return C.jsxs("div",{className:"space-y-4",children:[C.jsxs("div",{className:"rounded-lg border border-line bg-surface p-3",children:[C.jsxs("p",{className:"text-sm text-fg",children:[C.jsx("span",{className:"font-semibold",children:m})," ",jie(g),s?` to ${s}`:"",w&&C.jsxs(C.Fragment,{children:[" ","and ",C.jsx("span",{className:"font-medium",children:"save a rule"})," that keeps doing it"]}),i==="until"&&c&&` until ${c}`,"."]}),y&&C.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[C.jsx(pc,{className:"mt-px size-3.5 shrink-0"}),t==="escalated"?Uie:"This covers messages not shown in the list."]})]}),C.jsxs("dl",{className:"divide-y divide-line overflow-hidden rounded-lg border border-line bg-surface text-xs",children:[C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Action"}),C.jsx("dd",{className:"font-medium",children:m})]}),C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"shrink-0 text-fg-muted",children:"Apply to"}),C.jsx("dd",{className:"truncate font-medium",children:zie(g)})]}),s&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Destination"}),C.jsx("dd",{className:"font-medium",children:s})]}),i&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Scope"}),C.jsxs("dd",{className:"font-medium",children:[F0(i),i==="until"&&c?` · ${c}`:""]})]}),u!==void 0&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Rule name"}),C.jsx("dd",{className:"truncate font-medium",children:u})]})]}),C.jsx(b1,{...h})]})}const lA=e=>({state:e.state,verb:e.verb,scope:e.scope,matched:e.matched,applied:e.applied,failed:e.failedCount??e.failures.length,failureReason:e.failureReason}),Zie=e=>e==="progress"?C.jsx(ap,{className:"size-10 animate-spin text-accent"}):e==="warning"?C.jsx(pc,{className:"size-10 text-warning"}):e==="danger"?C.jsx(pc,{className:"size-10 text-danger"}):C.jsx("span",{className:"flex size-12 items-center justify-center rounded-full bg-accent-soft text-accent",children:C.jsx(Nv,{className:"size-6"})});function Xie(e){const{matched:t,applied:n,failures:r}=e,a=lA(e),s=oA(a),i=e.state==="runStopped"?"Not confirmed":"Server rejected";return C.jsxs("div",{className:"space-y-4 pt-2",children:[C.jsxs("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[Zie(s.tone),C.jsx("p",{className:"text-sm font-medium",children:s.title}),C.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:s.detail})]}),s.showProgress&&C.jsx(Joe,{value:n,max:t,tone:a.failed>0?"warning":"success"}),r.length>0&&C.jsxs("section",{className:"rounded-lg border border-line bg-surface",children:[C.jsx("h2",{className:"border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:s.failureListLabel}),C.jsx("ul",{className:"divide-y divide-line",children:r.map(c=>C.jsxs("li",{className:"px-3 py-2",children:[C.jsx("p",{className:"truncate text-xs font-medium",children:c.sender}),C.jsx("p",{className:"truncate text-xs text-fg-muted",children:c.subject}),C.jsx(b3,{className:"mt-1",tone:"warning",children:i})]},c.id))})]})]})}function Qie(e){const{onRetry:t,onDismiss:n,onCancelRun:r}=e,a=oA(lA(e));return a.cancelLabel!==void 0&&r?C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"md",className:"min-h-11 shrink-0",onClick:r,children:a.cancelLabel}),C.jsx(Kt,{variant:"primary",size:"md",className:"min-h-11 flex-1",onClick:n,children:a.dismissLabel})]}):a.retryLabel===void 0?C.jsx(Kt,{variant:a.tone==="progress"?"ghost":"primary",size:"touch",className:"w-full",onClick:n,children:a.dismissLabel}):C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"touch",onClick:n,children:a.dismissLabel}),C.jsx(Kt,{variant:"primary",size:"touch",className:"flex-1",onClick:t,children:a.retryLabel})]})}const Jie={match:{subtitle:"What should this apply to?"},properties:{title:"Match properties",subtitle:"Which properties have to match?"},folder:{title:"Move to",subtitle:"Pick a destination"},rule:{title:"Organize",subtitle:"How long should this hold?"},name:{title:"Name the rule",subtitle:"So you can find it later"},review:{title:"Review",subtitle:"Check before it runs"},run:{}},Rs=(e,t)=>{if(e===void 0)throw new Error(`The ${Fj(t)} step was rendered without its answers.`);return e};function yPe(e){const{verb:t,steps:n,onExit:r,onContinue:a,onCommit:s}=e,{label:i,destructive:c}=sA(t),u=n[$v(n,e.step)],f=Jie[u],h=wie(n,u)?r:e.onBack,m=()=>u==="match"?C.jsx(Hie,{...Rs(e.match,u)}):u==="properties"?C.jsx(Vie,{...Rs(e.properties,u)}):u==="folder"?C.jsx(Wie,{...Rs(e.folder,u)}):u==="rule"?C.jsx(Gie,{...Rs(e.rule,u)}):u==="name"?C.jsx(Kie,{...Rs(e.name,u),nudged:e.nudged}):u==="review"?C.jsx(Yie,{...Rs(e.review,u)}):C.jsx(Xie,{...Rs(e.run,u)}),g=()=>{if(u==="run")return C.jsx(Qie,{...Rs(e.run,u)});if(u==="review"){const b=Rs(e.review,u);return C.jsx(RN,{onBack:h,nextLabel:b.scope?fj(b.scope):i,nextVariant:c?"danger":"primary",onNext:s,blockedReason:e.blockedReason,nudged:e.nudged})}return C.jsx(RN,{onBack:h,nextLabel:"Continue",onNext:a,blockedReason:e.blockedReason,nudged:e.nudged})},y=()=>u!=="run"?f.title??i:oA(lA(Rs(e.run,u))).screenTitle,w=u==="match"&&e.match?.mode==="escalated"?"What this applies to":f.subtitle;return C.jsx(Fie,{title:y(),subtitle:w,steps:n,step:u,onBack:h,onExit:r,footer:g(),children:m()})}const ele={preparing:"Getting the new version ready",restarting:"Restarting Remit",reconnecting:"Waiting for Remit to answer again"};function ON(e){return ele[e]}function tle(e){return e<90?"This usually takes about a minute.":e<240?"Longer than usual. Remit is still trying to reach the server.":"Still no answer. Remit keeps trying."}function bPe(e,t=Date.now()){const n=Math.floor((t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function SPe(e){return new Date(e).toLocaleDateString(void 0,{dateStyle:"medium"})}const NN=["preparing","restarting","reconnecting"],Vj="fixed inset-0 z-50 flex flex-col items-center justify-center gap-6 bg-canvas p-6 text-center outline-none";function nle({target:e,phase:t,elapsedSeconds:n}){const r=_.useRef(null);Mv(r,!0),Kk({id:"self-update",open:!0});const a=NN.indexOf(t);return C.jsxs("div",{ref:r,role:"dialog","aria-modal":"true","aria-labelledby":"self-update-progress-title",tabIndex:-1,className:Vj,children:[C.jsxs("div",{className:"max-w-md space-y-2",children:[C.jsxs("h1",{id:"self-update-progress-title",className:"text-lg font-semibold text-fg",children:["Installing Remit ",e]}),C.jsx("p",{className:"text-sm text-fg-muted",children:"Remit is restarting, so this page has no server to talk to for a moment. Leave this open — it reconnects on its own."})]}),C.jsx("ol",{className:"w-full max-w-sm space-y-2 text-left",children:NN.map((s,i)=>{const c=i<a,u=i===a;return C.jsxs("li",{className:Pe("flex items-center gap-3 rounded-sm border px-row-inset py-2 text-sm",u?"border-line-strong bg-surface text-fg":"border-line bg-surface-sunken text-fg-subtle"),children:[c?C.jsx(Nv,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}):u?C.jsx(ap,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}):C.jsx("span",{className:"size-4 shrink-0 rounded-full border border-line-strong"}),ON(s)]},s)})}),C.jsxs("p",{"aria-live":"polite",className:"max-w-md text-xs text-fg-subtle",children:[C.jsx("span",{className:"sr-only",children:`${ON(t)}. `}),tle(n)]})]})}function rle({attemptedVersion:e,previousVersion:t,elapsedSeconds:n,logsCommand:r,onRetryConnection:a}){const s=_.useRef(null);Mv(s,!0);const i=Math.max(1,Math.round(n/60));return C.jsxs("div",{ref:s,role:"alertdialog","aria-modal":"true","aria-labelledby":"self-update-unreachable-title",tabIndex:-1,className:Vj,children:[C.jsx(Wk,{className:"size-12 shrink-0 text-danger","aria-hidden":!0}),C.jsxs("div",{className:"max-w-lg space-y-3",children:[C.jsx("h1",{id:"self-update-unreachable-title",className:"text-lg font-semibold text-fg",children:"Remit has not answered since the restart"}),C.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing ",e," started ",i," minute",i===1?"":"s"," ago and the server has been silent since. Your mail is safe at your provider — it was never part of the update."]}),C.jsxs("p",{className:"text-sm text-fg-muted",children:["Remit rolls back to ",t," on its own when the new version fails to start, but this page cannot confirm that from here. Check the server directly:"]}),C.jsx("code",{className:"block rounded-xs bg-surface-sunken px-3 py-2 text-left text-xs text-fg-muted",children:r})]}),C.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2",children:C.jsx(Kt,{size:"sm",onClick:a,children:"Try connecting again"})})]})}function ale(e,t,n){if(!t.allowPrivateDomains&&e.length>3){const r=e.length-1,a=e.charCodeAt(r),s=e.charCodeAt(r-1),i=e.charCodeAt(r-2),c=e.charCodeAt(r-3);if(a===109&&s===111&&i===99&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(a===103&&s===114&&i===111&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(a===117&&s===100&&i===101&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(a===118&&s===111&&i===103&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(a===116&&s===101&&i===110&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(a===101&&s===100&&i===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}const Yl=new Uint8Array([1,2,1,1,1,1,1,1,1,1,1,1,0,2,2,2,0,2,2,0,2,0,0,1,0,0,2,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,0,2,0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,2,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,2,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,2,2,0,0,0,2,0,1,1,0,2,0,2,2,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,2,0,2,2,2,2,0,0,0,0,2,0,0,0,0,0,0,2,2,0,0,0,2,2,1,1,1,1,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,2,2,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),S1=new Uint16Array([0,0,0,10,11,18,106,111,117,124,130,136,145,146,147,148,149,150,151,153,154,155,157,159,226,239,241,242,243,258,265,266,269,270,271,274,276,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,452,454,464,478,479,480,489,490,527,532,548,568,574,615,616,643,670,671,819,825,828,829,830,835,840,849,871,872,873,874,875,876,877,895,897,898,901,903,904,906,908,923,938,943,944,946,947,948,949,950,952,955,960,961,962,964,965,968,971,972,973,986,988,1e3,1011,1019,1021,1061,1064,1068,1069,1071,1074,1085,1087,1097,1099,1105,1107,1108,1110,1113,1114,1115,1167,1169,1171,1191,1192,1193,1194,1196,1207,1238,1249,1261,1270,1277,1282,1295,1306,1319,1320,1331,1365,1366,1367,1382,1397,1469,1470,1472,1473,1507,1508,1509,1512,1516,1518,1547,1548,1556,1557,1558,1560,1562,1563,1565,1566,1567,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1594,1595,1596,1598,2053,2056,2057,2059,2066,2073,2083,2087,2098,2099,2100,2112,2113,2115,2117,2118,2125,2126,2128,2129,2131,2132,2133,2134,2135,2209,2211,2232,2233,2234,2236,2262,2263,2314,2315,2317,2324,2330,2340,2350,2403,2404,2405,2415,2429,2430,2433,2440,2441,2449,2450,2451,2452,2453,2464,2465,2466,2468,2469,2470,2471,2473,2483,2495,2501,2533,2537,2539,2540,2542,2543,2554,2555,2557,2565,2572,2578,2583,2584,2590,2593,2599,2606,2607,2614,2622,2623,2624,2662,2668,2683,2684,2689,2707,2738,2756,2758,2761,2769,2771,2778,2830,2854,2855,2856,2857,2858,2859,2860,2861,2868,2869,2870,2871,2872,2873,2875,2876,2880,2964,2977,2978,3414,3418,3432,3484,3512,3534,3592,3614,3629,3692,3743,3781,3817,3842,3984,4030,4081,4100,4134,4149,4169,4199,4230,4253,4284,4314,4346,4373,4448,4470,4508,4518,4552,4571,4597,4639,4689,4715,4784,4785,4787,4810,4833,4869,4900,4917,4974,4987,5011,5040,5042,5076,5092,5120,5425,5434,5443,5450,5467,5471,5477,5516,5518,5525,5532,5541,5548,5549,5560,5563,5578,5579,5588,5589,5598,5607,5613,5615,5616,5617,5653,5654,5656,5664,5671,5684,5688,5690,5691,5697,5704,5718,5728,5733,5741,5749,5755,5756,5760,5762,5763,5775,5776,5777,5778,5780,5781,5784,5786,5789,5793,5794,5800,5801,5802,5804,5806,5808,5809,5810,5813,5815,5818,5819,5821,6019,6026,6027,6037,6042,6059,6073,6082,6083,6084,6088,6089,6091,6093,6099,6100,6103,6104,6106,6107,6108,7008,7009,7013,7031,7040,7043,7050,7051,7053,7054,7055,7057,7109,7110,7113,7114,7231,7232,7243,7254,7261,7264,7273,7274,7275,7290,7345,7536,7538,7539,7541,7546,7559,7574,7581,7590,7593,7596,7603,7611,7615,7616,7617,7631,7635,7644,7645,7646,7650,7685,7686,7703,7710,7718,7719,7724,7732,7776,7777,7783,7786,7797,7802,7803,7806,7839,7840,7846,7853,7854,7863,7872,7887,7891,7943,7944,7949,7951,7954,7956,7957,7958,7967,7981,7989,8003,8015,8016,8018,8020,8042,8053,8059,8060,8072,8084,8171,8183,8185,8194,8197,8203,8228,8231,8232,8233,8235,8238,8241,8252,8254,8256,8284,8358,8365,8369,8370,8379,8401,8402,8407,8408,8487,8489,8491,8500,8504,8510,8516,8522,8532,8537,8538,8556,8567,8572,8577,8587,8593,8597,8603,8609,10217,10218,10219,10226,10228]),w1=new Uint8Array([3,3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,5,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,6,9,9,8,10,10,7,8,1,9,10,12,12,12,10,9,9,10,10,9,9,1,1,5,3,3,3,3,3,3,3,3,3,3,3,3,6,6,6,4,3,3,3,7,4,4,4,3,3,6,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7,8,7,11,8,8,6,9,8,8,6,6,6,8,8,6,6,6,6,6,9,7,6,4,4,4,4,4,4,4,6,6,6,9,7,8,10,8,8,2,3,3,3,3,3,2,8,9,9,2,2,2,3,3,3,2,3,3,3,9,2,2,3,3,3,3,3,3,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,12,5,5,3,5,4,2,3,2,4,3,9,2,2,2,2,2,5,5,3,8,8,13,6,10,9,4,7,9,11,2,3,7,3,3,4,1,3,4,2,9,3,3,12,5,3,7,10,10,7,4,4,6,14,7,9,7,13,2,2,2,2,2,2,3,3,3,3,3,8,15,4,4,2,3,3,3,7,4,9,9,2,3,3,3,5,3,2,2,7,2,7,6,6,7,2,4,2,2,2,2,2,2,8,8,8,9,5,2,3,3,3,3,3,3,10,7,4,4,4,4,3,4,2,3,3,3,3,3,10,7,4,4,4,4,2,3,3,3,3,10,7,4,4,4,4,3,9,6,6,6,9,13,9,2,2,2,8,7,9,5,3,3,3,5,5,12,9,10,7,8,7,6,8,6,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,7,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,4,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2,2,3,3,3,3,3,3,3,2,5,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,11,6,4,7,10,7,7,11,1,10,2,2,3,3,3,3,3,3,3,3,5,7,3,5,6,3,3,5,2,2,5,3,4,13,11,3,3,6,3,5,14,2,2,3,8,2,2,12,5,18,5,3,3,3,16,5,5,5,10,7,13,12,13,9,12,14,19,9,9,21,9,9,10,6,9,6,15,10,6,12,8,6,10,15,4,4,6,6,9,9,12,16,14,23,7,7,7,14,9,7,7,11,14,10,7,10,10,10,12,6,11,10,13,11,15,11,7,12,10,3,7,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,4,3,7,2,5,5,3,3,5,5,5,5,7,6,6,6,4,4,4,4,4,4,6,6,6,6,6,7,10,2,2,2,5,5,5,5,3,3,3,3,3,5,5,10,9,11,8,7,12,8,9,7,6,13,11,6,13,7,9,9,4,4,4,4,4,4,6,10,7,8,13,8,8,9,14,8,10,7,7,7,9,6,9,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6,7,5,5,20,19,8,10,9,7,10,6,8,11,6,6,6,6,13,12,8,6,7,14,11,9,2,5,3,3,6,2,3,2,2,2,2,2,2,2,5,4,3,7,6,4,7,4,3,6,4,7,2,7,7,7,5,5,5,5,3,3,3,3,3,3,3,3,3,3,5,9,10,10,8,11,7,8,20,7,8,9,8,12,6,6,6,8,9,8,12,6,6,8,13,10,12,6,6,7,7,8,9,6,4,4,4,4,4,4,4,10,6,6,6,7,14,11,10,7,8,10,8,11,14,11,11,9,7,9,8,11,9,17,10,9,2,2,2,9,3,3,3,3,15,14,9,5,5,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,15,12,22,19,17,18,18,19,21,7,16,16,5,5,5,5,5,5,5,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,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12,6,8,10,8,8,8,6,8,6,14,6,6,6,13,6,10,6,6,7,14,8,6,6,10,11,10,9,9,7,7,6,6,6,9,9,7,9,10,9,13,12,4,4,4,4,4,4,4,4,4,6,6,6,8,8,6,8,9,10,9,7,10,10,8,7,8,7,10,12,9,8,15,8,7,8,8,7,7,15,13,7,10,9,14,18,16,7,24,7,8,10,11,16,8,14,7,9,9,9,11,13,19,14,15,14,11,7,13,9,10,7,13,9,10,11,12,8,9,2,3,5,8,7,4,4,10,5,3,3,3,3,3,5,4,4,4,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,4,2,12,5,3,8,10,15,6,7,2,3,2,5,5,12,2,5,5,5,5,2,2,5,5,12,9,5,2,2,9,5,5,12,12,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,12,5,8,8,9,5,5,5,8,19,7,16,15,14,9,9,9,9,7,11,11,11,7,14,10,10,5,5,5,5,5,5,5,5,5,15,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,14,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,6,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,14,9,9,9,6,9,8,8,12,9,8,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,7,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,7,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,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12,7,9,8,6,7,7,8,12,12,11,13,10,11,7,7,7,9,7,11,10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),MN=new Uint16Array([0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,1,24,25,26,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,1,1,12,12,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,12,1,1,1,1,89,1,91,1,1,1,1,1,1,1,1,94,1,1,1,1,1,1,1,1,1,1,1,1,0,1,97,97,1,1,12,1,100,1,1,1,1,1,1,1,98,1,99,1,101,1,1,1,1,1,102,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,110,111,1,1,1,1,1,1,113,113,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,121,122,1,1,1,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,126,123,125,120,1,124,1,1,114,1,1,1,1,117,1,127,1,1,1,1,1,119,1,108,1,109,1,12,128,106,1,112,1,1,1,1,1,107,115,1,12,12,12,118,116,1,1,1,1,1,1,0,0,0,0,1,12,12,1,1,1,1,1,12,134,1,1,1,1,1,1,1,1,1,1,1,12,136,1,1,1,1,1,1,1,1,137,138,12,12,135,133,45,45,140,50,50,139,142,141,1,1,0,0,0,0,0,0,0,0,0,0,0,0,145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,1,0,144,132,1,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,148,147,20,1,1,12,12,1,20,12,12,1,1,1,1,1,134,1,1,152,1,1,1,1,153,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,136,1,1,152,1,1,1,1,153,1,1,134,1,1,1,152,1,1,1,1,153,1,1,134,1,1,1,1,1,1,1,1,134,1,1,1,1,1,1,1,1,1,1,1,160,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,1,1,1,1,1,134,1,1,1,1,152,1,1,1,1,153,1,1,1,134,1,1,152,1,1,1,1,164,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,167,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,154,158,158,12,1,12,166,1,1,1,1,1,158,158,158,154,1,1,1,157,158,161,165,1,1,1,1,157,157,1,1,156,154,154,157,170,156,170,1,1,168,1,156,155,157,1,1,1,1,157,1,159,1,1,1,12,1,162,1,162,1,1,1,162,161,163,169,156,154,1,1,1,1,1,1,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,172,173,172,172,172,172,174,174,172,173,172,173,172,172,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,1,1,1,1,12,199,200,201,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,151,1,1,1,1,1,1,1,1,1,1,1,196,1,1,1,184,1,210,1,1,1,208,1,1,205,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,12,1,1,1,1,1,1,1,1,190,1,1,1,186,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,182,1,1,1,1,1,1,1,191,1,1,1,1,195,1,1,1,1,171,1,1,189,1,1,1,192,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,180,1,12,1,1,12,1,1,1,1,183,1,1,1,188,1,203,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,209,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,194,1,1,1,1,1,12,1,1,1,1,1,1,1,1,176,12,1,1,1,178,12,1,1,1,1,1,1,1,198,1,1,1,1,1,1,1,1,1,1,177,1,1,1,1,1,1,204,1,1,1,181,1,1,1,187,1,12,1,1,12,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,175,1,1,1,1,1,1,1,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,206,1,1,1,1,1,1,1,1,1,1,1,1,1,207,1,1,12,1,1,1,1,179,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,197,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,202,1,1,12,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,220,0,0,0,0,0,221,0,0,0,0,0,0,1,12,1,1,1,225,1,1,1,0,226,223,224,1,1,1,1,1,1,231,1,233,1,1,1,1,1,1,1,1,1,1,1,229,1,1,1,1,1,235,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,234,1,1,1,12,1,1,1,1,230,1,1,1,228,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,13,1,1,1,12,12,238,239,1,1,1,1,240,1,1,12,1,1,1,1,1,1,1,242,1,1,12,16,1,1,1,1,1,1,1,243,1,1,1,12,12,1,1,1,1,1,243,12,1,1,1,1,1,1,1,1,1,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1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,144,1,1,1,228,1,1,12,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,572,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,577,1,220,1,328,1,1,1,1,1,1,1,1,1,0,0,578,1,1,1,1,0,580,0,79,0,579,0,1,1,1,0,1,1,1,1,1,1,12,0,0,0,0,1,0,0,0,0,0,0,586,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,582,582,0,585,583,582,582,582,582,582,587,582,582,591,582,582,582,582,582,582,582,582,582,582,588,585,582,582,585,582,582,582,582,582,582,582,582,582,582,582,582,582,583,582,582,582,582,582,589,582,582,582,582,582,582,0,0,0,1,590,1,1,1,1,584,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,595,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,65,280,306,411,535,0,4,68,236,254,282,307,334,388,413,0,499,519,536,597,9,0,61,88,398,409,429,575,0,497,518,532,612,0,30,6,0,461,500,602,560,70,0,7,285,255,389,463,416,538,79,598,0,576,309,418,465,9,105,288,506,6,30,0,311,79,391,79,483,10,6,131,248,275,0,613,509,0,563,0,64,6,6,251,95,2,432,399,410,596,0,6,0,6,286,103,6,561,501,540,0,464,390,273,287,8,71,104,599,543,392,312,300,419,146,74,290,546,510,601,564,335,330,479,6,75,149,11,0,249,522,547,565,514,551,570,611,36,6,260,295,333,304,218,30,528,553,218,42,216,265,296,305,406,423,481,274,0,73,562,0,403,417,299,79,247,79,0,581,545,504,292,421,79,393,387,0,0,0,9,555,571,217,0,424,407,531,516,573,615,85,218,43,297,396,425,569,0,511,293,276,79,215,80,28,390,30,6,394,331,303,604,592,524,550,513,0,258,81,30,405,422,0,30,426,0,219,593,517,9,408,427,218,248,86,222,594,574,557,482,428,397,250,227,87,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,82,0,129,0,0,84,549,0,0,0,0,0,0,0,27,0,552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,503,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0,0,0,0,607,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,618,0,0,0,0,0,556,0,0,0,0,0,0,0,0,0,0,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,605,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,623,623,623,623,623,623,623,622,624]),O3="orgmilcomschnetedugovdrrformsfeedbackofficialaccoorgmilschnetgovmagazinemediaunioncargopilotgroupcaarespressworksaerodromeworkinggroupair-traffic-controlaircraftaccident-preventioneducatormarketplaceambulanceinsurancecateringairportrepbodyenginesoftwaremodellingair-surveillanceconsultingchartertrainermaintenanceservicesdesignflightskydivingfreightassociationstudentgroundhandlingdgcafuelclubtaxicrewshowballooningexpresstraderbrokerauthoragentsairtrafficjournalistsafetyconsultantmicrolightaccident-investigationparachutingequipmentproductionfederationrecreationscientistnavigationengineertradingglidingleasingresearchpassenger-associationentertainmentparaglidinghangglidingaerobaticrotorcraftemergencycertificationgovernmentaeroclubexchangelogisticschampionshiphomebuiltcouncilconferencecontrolairlinecivilaviationjournalorgcomnetedugovcoorgcomnomnetobjofforgcomnetuwukiloappsframerorgmilcomnetedugovcoradioorgcomnetcommuneedogpbcoitgvorgedugov*spreviewfrontendrelayononstagingupid*mtls*privatelinktypedreamdeveloperbravemochawindsurfaivenmirenupsunwnextbegetngrokclerkwale2bwebcsbrunputerflutterflowspawnbaseshiptodaymagicpatternsnetlifyondigitaloceanrailwayhostedclaudehasurabotdashvercelgithubluyanigadgetreplitcloudflaretelebitedgecomputeevervaultdetaexponyatnoopencrpplxzeaburwasmerframerzeropsconvexmedusajsspritesonherculeseasypanelstreamlitsnowflakemesserliloginlinehackclubnorthflankbase44corespeedadaptableleapcellngrok-freeclerkstagelovableon-fleek*us-west-3ap-south-2us-central-2us-central-1eu-central-1ap-south-1us-west-2us-east-2eu-north-1ap-north-1us-west-1us-east-1*rcloudintsegorgmilcomgobbetnetintedugovturmusicasenasamutualcoopip6uriurnin-addre164homeirisgovdixdaemoncloudnssthwien*inexexkunden4accogvormymyspreadshop4lima2ixortsinfofuturecmsfuturehosting12hpprivfuturemailinglima-cityfunkfeuer123webseitednshomemelmyspreadshopcloudletswasantqldvicactnswtascatholicwasaqldvictasvpsidwasantozqldorgcomvicasnactnetedugovnswtasconfhrsncomairflowlambda-urltransfer-webappairflowtransfer-webapptransfer-webapptransfer-webapp-fipstransfer-webappeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1privatenotebookstudiolabelingnotebookstudionotebooknotebook-fipslabelingnotebookstudionotebook-fipsnotebookstudio-fipsnotebook-fipsnotebookstudionotebook-fipsnotebookstudioeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2experimentsus-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1onrepostsagemakercopporgmilcompronetintedugovbiznameinfoshoprsorgmilcomnetedugovbrendlyresolvenzauscotvstoreorgcomnetedugovbizinfoidacaicoittvorgmilcomschnetedugovinfocloudezproxyacmymyspreadshopkuleuvenwebhostingtransurl123websitecloudnsinterhostsolutionsddns5476103298edgfacbmlonihkjutwvqpsryxzbarsycoororgcomedumyftpno-iporxcloud-ipfor-somemmafanfor-morewebhopselfipjozidyndnscloudnsdscloudfor-thefor-betteractivetrailcoeconorestooteorgcomeconeteduassurmoneyafricaarchitectesrestaurantloisirstourismavocatsinfoagrounivcoorgcomnetedugovtvdeportesaludtksatorgmilcomwebgobnetinteducienciaboliviarevistacooperativaempresanombreindustriamusicapatriamedicinademocraciapoliticapuebloindigenaplurinacionalarteblogwikiinfoagrotransportenoticiasprofesionalacademiaeconomiaecologiamovimientotecnologianaturalsimplesitecepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesmscepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesms*biaamfmtcmptvfeirasampajampanatalbelemananiradiog12medindfndbmdtrdthepoaggfjdfdefinfenflegsegongengcngorgzlgslglogppgmillelqslcimcomnomadmjabimbbibbsbabcrectecsjcetcpscpvhudieticriapipsiecnbiorioecogeoteoodoproatoartfstmatvetdetbetnetcntnotfotgrueduajuespappreptmpemparqsrvadvdevgovntrturagrjorfarjusmusdesvixxyzcozfozslzbhzmaringasantamariacampinagrandegoianiasorocabafloripasaobernardocuritibaboavistarecifeaparecidasaogoncasalvadorcuiabamorenamacapalondrinacontagemsocialfortalmaceioleilaoosascoriobranconiteroi9guacutcheblogflogvlogwikitaxicoopmanauspalmascaxiasjoinvillebaruericampinassantoandreribeiraoriopretoweorgcomnetedugovv0windsurfshiptodaycloudsitecoaccoorgnetgovofmilcomgovmediatechzacoorgcomnetedugsjgovmydnspenfnlabnbmbgcbcqconcontnuyksknsmyspreadshopno-ipawdevboxbarsyonidatemfuinabusavinstanceseceuguukussryzespawncsxcloud-ipmyphotosfantasyleaguetwmailcleverappsscrappingccwucloudnsftpaccessgame-serverccgovobjectsrmalpgcust*svcalp1aeappenginermalpgmyspreadshop4lima2ixsquare7cloudscale123websitefirenet12hpflowgotdnslinkyard-cloudcloudnslima-citydnskingobjectstorageedaccogoorusorgcomnetinteduaéroportxn--aroport-byaassogouvcomilgobgovcloudnses-1eu-west-1us-east-1euvipit1eurarubait1s3lbwebsites3websiteru-spbru-mskelasticcsrunstnukukcaukusnl-ams-1fr-par-1fr-par-2functionsnodess3ddlwhmrdbfnck8sifrs3-websitecockpitscblmgdbdtwhkafkpubprivs3ddlwhmrdbk8sifrs3-websitecockpitscblmgdbdtwhkafks3ddlrdbk8sifrs3-websitecockpitscblmgdbdtwhkafkk8sscalebookpl-wawfr-parnl-amsbaremetalsmartlabelinginstancesdechk2kuleuvenlaravelvoorloperurownoxazapscwhstgrvaporobservablehqelementorantagonistreclaimjoteluluencowaydiademjelasticmatlabmagentositetrendhostingaxarnetperspectajenv-arubajelejoteravendbemergenttrafficplexconvexkeliwebserveboltbegetcdnstaticson-rancherprimetelonstackitunison-servicesdnshomelinkyardbarsyjelecloudnscocomnetgovmycn-northwest-1cn-north-1s3s3-accesspoints3-websites3s3-accesspointrdsdualstacks3-deprecatedemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspoints3s3-accesspointrdsdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicn-northwest-1cn-north-1cn-northwest-1ebcomputeelbcn-north-1airflowcn-northwest-1cn-north-1oncn-northwest-1cn-north-1amazonawssagemakeramazonwebservicesdirectasgdsdhehahljlnmhbacscahqhshhihnlnynsnmofjbjzjxjtjhkcqtwgsjssxnxjxgxxzgz網絡网络公司orgmilcomnetedugovxn--55qx5dcanva-appsxn--io0a7iquickconnectcanvasitekhsjxn--od0algmyqnapcloudsrvrlessclustersrealtimestorageleadpagescarrdcrdorgmilcomnomnetedugovhidnssupabaserdpareplmypiumsoxmitotaplpagesfirewalledreplitowodevwebview-assetsvfswebview-assetss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecateds3-websites3-object-lambdaexecute-apis3s3-accesspoints3-websites3-accesspoint-fipss3-fipss3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipss3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9vfss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1us-northeast-1ap-southeast-1me-south-1af-south-1ap-south-1ap-southeast-7us-west-2eu-west-2ap-east-2us-east-2ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ap-southeast-6ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1mrapaccesspoints3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3eu-west-3ap-south-2eu-south-2computes3-ap-northeast-2elbrdss3-ap-east-1s3-sa-east-1s3-us-gov-west-1s3-eu-central-1s3-ca-central-1eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3s3-website-us-west-2s3-website-eu-west-1s3-external-1eu-central-1me-central-1ca-central-1il-central-1s3-us-west-1s3-eu-west-1s3-website-sa-east-1s3-website-ap-southeast-2ap-northeast-1ap-southeast-1s3-us-west-2s3-eu-west-2me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2s3-website-ap-southeast-1s3-1s3-globals3-ap-northeast-3eu-north-1airflowap-southeast-2s3-us-gov-east-1s3-fips-us-gov-east-1s3-me-south-1s3-ap-south-1ap-northeast-2s3-website-us-west-1ap-southeast-5s3-eu-north-1s3-ap-southeast-1s3-website-us-gov-west-1compute-1s3-eu-west-3us-gov-west-1s3-website-ap-northeast-1us-gov-east-1s3-fips-us-gov-west-1s3-website-us-east-1s3-ap-southeast-2ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3-us-east-2s3-ap-northeast-1authauthauth-fipsauth-fipseu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1rservicesbuilderstg-builderdev-builder*ociocpocsdemoinstanceeu-west-3eu-south-2ap-southeast-3ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1previeweu-4us-4us-1eu-1us-2eu-2us-3eu-3appspaasrag-cloudrag-cloud-chjcloudjcloud-ver-jpcdemonodebalancermembersipeuxvsoncillaocelotonzayalilynxsphinxfentigercustomercaracalo365cloudstaticxendevapp001testcode-builder-stgplatformapimediasiteprojedrydpagesjsu2u2-localx0desazacncoitrueu4uhkukgrbrushatenadiarymyspreadshopfrom-flfrom-wvwebspace-hosttheworkpchatenablogservesarcasmapplinzisakuratanwixsiteappchizigiizeis-into-carsdnsiskinkyadobeaemcloudis-a-therapistpgfogmyvncdojinis-an-actress1kappfldrvkozowqa2jpnmexprgmrfirewall-gatewaydynnscafjsfbsbxooguyxnbayfrom-gawoltlab-demois-a-anarchistwiardwebteaches-yogadattowebtb-hostinglive-websiteservegamegotpantheonfrom-nhsubsc-payfrom-ohvipsinaappfrom-cadyndns-officehomelinuxfrom-mahercules-appservebbsstreakusercontentfrom-okfrom-wyfastly-terrariumis-a-llamaqualyhqportalserveexchangeon-vaporvivenushopciscofreakgrayjayleaguesmetaaiusercontentfrom-iais-a-libertariansaves-the-whalestaveusercontentyolasiteoperaunitepoint2thisis-a-catererlinodeusercontentfrom-vagithubusercontentsells-for-lesshosteurcanva-appsplaystation-cloudddnsfreefrom-pafrom-prfrom-waddnskingoutsystemscloudhotelwithflightmydattois-a-nascarfanmydbserverminiserverdamnserverservehumouris-a-playerfrom-nvfrom-nmemergentagentgentappsamplifyappfrom-kyis-an-accountantnfshostserveircfrom-akpythonanywherestackhero-networkpostman-echolikescandydyndns-mailobservableusercontentserveftpfreeboxosfrom-utcdn77-storageamazonawsneat-urldyndns-serverlinodeis-a-teacherfrom-vtgleezemythic-beastsus1-pleniteu1-plenitla1-plenitpaywhirlservecounterstrikejdevcloudhealth-carereformis-into-animegoogleapisis-a-painterafricaisa-hockeynutatmetais-an-actora2hostedis-a-democratdatadetectest-le-patrondigitaloceanspacesis-a-designeris-a-hunterlinodeobjectstemp-dnsissmarterthanyoufrom-arsimplesiteevennodetownnews-stagingis-a-liberalgooglecodejelasticservemp3stdlibqualyhqpartnerdyndns-free1cooldnsest-a-la-masiondrayddnsdynuddnsfrom-orfrom-miis-a-bloggerfrom-himydobisscanvacodeis-an-engineerest-a-la-maisonupsunappdevinappswafflecellmyasustorwpenginepoweredfrom-ctservep2psame-appmyshopblocksthingdustdatalikes-piediscordsezis-with-thebanddev-myqnapcloudlpusercontentis-leetshopitsite3utilitiesis-a-personaltrainersinaappladeskis-a-cheflogoipselfipbase44-sandboxnospamproxyalibabacloudcsmesswithdnsauthgearappsiamallamawithgooglelutrausercontentmochausercontentframercanvasmytabitdyndns-homew-credentialless-staticblitzcpserverdiscordsaysis-a-nurseappspotatlassian-isolated-3premotewdfrom-mtwixstudiocode0emm180rmyactivedirectoryawsappsmytuleapdnsabrpolyspaceqbuserrenderbuiltwithdarkboutirgotdnsabrdnsdopaascanva-hosted-embedawsglobalacceleratorhomesecuritypcmyiphostditchyouripclever-clouddyndns-ipon-aptibleis-a-musiciansecuritytacticsappspaceusercontenthomeunixstrapiappsame-previewcf-ipfsmycloudnaselasticbeanstalkis-certifieddontexistkasserverik-serverdrive-platformatlassian-3pfirebaseappherokuappawsapprunnerbarsycenteris-a-cubicle-slaveservehttpmyshopifyis-a-guruquicksytessiiitesorsitesmagicpatternsappis-a-cpameteorappfrom-wiis-a-rockstarbumbleshrimpdattolocalreadthedocs-hostedfrom-rifamilydsdyndns-picsplesknsbplaceddnsaliasdynaliasdyndns-remotedoomdnsip-ddnsblogdnsis-a-doctorroutingthecloudamazoncognitobarsyonlinedsmynasddnsgurucloudflare-ipfsdeus-canvasfrom-idsmushcdnpagespeedmobilizerdyndns-at-homeunusualpersonhosted-by-previderis-a-republicandyn-o-saurstreamlitappworkisboringonthewificprapidqualifioappis-uberleetis-slickgetmyipwpdevcloudtypeformdyndns-at-workgentlentapismynascloudw-corp-staticblitzfrom-ingeekgalaxyservebeerfrom-mdonrenderspace-to-rentaivencloudappspacehostedonfabricawafaicloudcodespotblogspotatlassian-3p-us-gov-modfrom-ndfrom-msis-a-techieis-a-studentcustomer-ociis-a-photographerdurumisfrom-ksmassivegriddyndns-wikiis-an-entertaineris-a-hard-workermysecuritycamerafrom-mnrackmazedyndns-blogis-a-bulls-fanwritesthisblogfreemyipsimple-urlfrom-sdreservdauthgear-stagingest-mon-blogueuris-into-gamesrice-labsxtooldevicesakurawebis-an-anarchistoraclecloudappsdyndns-worksells-for-urhcloudfrom-dcfastvps-serverwpmucdnis-a-geekscrysecfrom-txis-into-cartoonsmodelscapetrycloudflarelocaltonetstreak-linkbalena-devicesfrom-njforgeblocksfreebox-oswebadorsitefrom-ncdoesntexisthobby-sitestreaklinkshomesecuritymacownprovidertuleap-partnersdattorelaywphostedmailalpha-myqnapcloudservequakeis-a-socialistservehalflifepivohostingdynuhostingquipelementsw-staticblitzdyndns-webfrom-deproject-studyaliases121is-not-certifiedhercules-devis-a-financialadvisorservepicsis-a-greenloseyouripfrom-ilwithyoutubemwcloudnonprodwiredbladehostingdnsdojofrom-tnpixolinomyqnapcloudis-an-artisthostedpiis-a-landscaperauiusercontentoaiusercontenton-forgeis-a-conservativedreamhostersnet-freaksapps-1and1is-goneencoreapifastly-edgefrom-nesalesforcefrom-scdeployagentoraclegovcloudappsfrom-alis-a-lawyercechirevultrobjectsstufftoreadisa-geekddnsgeeklovableprojecttry-snowplowfrom-moblogsyteis-a-bookkeepernogmyforumravendbmyboxdeelementoredsaacficogoorinforgcomgobnatneteduidstoreorgcomnetintedudevnomepublorgcomneteduathgovtestscalculatorspaynowinfoquizzesresearchedcloudnsfunnelsassessmentsjscaleforcetmacltdorgmilcompronetgovbizpresseklogesrsccloudcustomfltusrcloude4corealmgovmunicontentproxy9metacentrumdyndyndyndnsdynpagespages-researchitionoccustomercomymyspreadshopipv64diskussionsbereich4limacomrub2ixfirewall-gatewayddnssspdnsbarsykeymachinesquare7myhome-serverspeedpartnercommunity-proschuldockxenonconnectgünstigliefernbwcloud-os-instancedyndnssecmy-routerxn--gnstigliefern-wobin-butterl-o-g-i-nisteingeekin-dslin-berlinin-brbfuettertdasnetzleitungsenin-vpnlcube-serverdyn-ip24logoipdyn-berlinruhr-uni-bochum12hpgoipsrvdnsfruskygit-repossvn-reposinternet-dnsgünstigbestellenhome-webserverxn--gnstigbestellen-zvbbplacedheimdnscosidnswebspaceconfiglima-citydyndns1istmeinvirtualuserschulplattformmy-gatewayddnsseclebtimnetztest-iservmein-iservvirtual-userhome64iservschuletaifun-dnstraeumtgeradeschulserverdynamisches-dns123webseitednshomehs-heilbronndnsupdaterbssgraphicdwadpdwdaepeweaawapaafpfwfabwbpbacwcpcciwebuserapiobjectsidsiskospockkimodorikerbonesteamsparisjanewaypicardglobaltarpitreedpikekiraworfsulukirkarchertuckerhackercanarywesleystagingprereleaset3r2lpbravepanelngrokiservstglclcrmerpflypagesbarsyvivenushoplocalcertlocalplayerbearbloggatewaydeno-stagingis-not-ais-a-goodbotdashvercelmocha-sandboxplatter-appreplitgithubpreviewworkersinbrowserevervaultdetais-ahrsndenoxmitmodxmyaddrstorageapipayloadgrebedocruncontainersstgstagelclstageloginlineis-a-fullstackleapcellngrok-freeis-coolstoragewebharemediatechlibp2pdiscourseimaginecomyspreadshopstoreregbiz123hjemmesidefirmcoorgcomnetedugovsldorgmilcomwebgobartnetedugovtmorgpolcomsocartnetedugovassoagrondiscoodontk12medcuegyecpaabgengorgmilgalsaltulcomadmesmgobpubdocmonfindgnriouioproartlatvetnetfotedulojgovntrturibrbarxxxofficialbasechefprofmktgpsictechinfoarqtcontdentrrpppsiqgit-pagesritmedfieorgcomlibprieduaipgovriikmeactvsportorgmilcomscieunnetedugovnameinfopintouchtawktotawkmyspreadshoporgcomnomgobedu123miwebcomputeorgcomnetedugovbiznameinfocognito-idpeusc-de-east-1onjelasticnxaspdnsbarsydirectwpdeuxfleurstransurldogadoprvwcloudnsamazonwebservicesdnshomeuserpartycokoobinmkmstorjfidemopaasdymyspreadshopalandkapsiikixn--hkkinen-5wacloudplatformdatacenterhäkkinen123kotisivuidacorgmilcompronetedugovbiznameinforadioorgcomneteduuserexperts-comptablestmmyspreadshopgretaprdcomnomynhccifbxoshuissier-justicenotairesaeroportfreeboxoson-webavocatassoportgouvkdnschirurgiens-dentistes-en-franceavouesfbx-os123sitewebveterinairechirurgiens-dentistespharmacienchambagrimedecinfreebox-osdediboxgoupilemszicpyicpvicppleysheezypagesedugovcnpyorgcomcybllcpvtnetedugovtnxonlineschooldaemond6atcopanelorgnetplybotdashstackitkaasorgmilcomnetedugovbizmodltdorgcomedugovcoorgcomneteduappwriteacorgcomnetedugovcloudtranslateusercontentorgcomnetedumobiassoorgcomnetedugovbarsysimplesitediscourseindorgmilcomgobneteduorgcomwebnetedugovguaminfonxhra教育敎育網絡网絡组織組織网络網络组织組织公司政府個人个人箇人ltdorgcomincneteduidvgovxn--uc0ay4axn--55qx5dxn--mk0axixn--io0a7ixn--uc0atvxn--zf0avxxn--lcvr32dxn--od0algxn--wcvs22dxn--gmqw5axn--od0aq3bxn--mxtq1mxn--ciqpnxn--tn0agxn--gmq050iorgmilcomgobneteduiservwp2tempurlmircloudfreesitewpmudevmyfastgadgetcloudaccessjelehalfboltfastvpsemergenteasypanelopencraftizcombrendlynamefromrtpersoadultmedorgpolrelcomproartnetedufirminfoassoshopcoopgouvtmcomediahotelforumvideosportorgsexagrargameslakaseroticaerotikatozsdereklamcasino2000filmsuliinfoboltshopprivnewsszexcityutazasjogaszkonyveloingatlaneacaicogoormyᬩᬮᬶmilwebschnetkopbizzonedesaponpesxn--9tfkymyspreadshopgovmytabittabitorderravpageaccok12idforgnetgovmuniltdplcaccotttvorgcomnetmeca6g5gpgamubacaicniocoukuptverdruscsdelhiindorgmilcomwebnicfingenpronetintedugovresbizbiharbarsyinternetbusinessschooltravelsupabasealumnigujaratfirminfoaeropostbankcoopindevscloudnsno-ipbarsybarrell-of-knowledgebarrel-of-knowledgensupdategroks-thisdnsupdatefor-ourknowsitalldvrcammittwalddynamic-dnsv-infowebhopselfipdyndnshere-for-moreilovecollegemayfirstforumzcloudnsmittwaldservertypo3servergroks-theeusekd1uk0cdndyndnsidrawsainaueuapjpusstagemocksysdevicesclientcustreservdcustdevdisrecprodtestingcobeebyteutwenteboxfusebravepstmndedynngrokorgmilcomnomhzcnetedugovqcxqzzbarsythingdustmo-siemensrb-hostingprotonetfh-muenstergitbookbluebitecloudbeesusercontentnodeartkiloappsforgerockdarklangresinstagingapigeebubbleb-datascryptedhypernodedappnodepantheonsitegitlabgithubkeeneticvirtualservercleverappshostyhostingon-rioedugitticketstelebiton-acornwixstudioon-k3sicp0icp12038jeleqotobigvlairbubbleappsmyaddrstolosmyrdbxwebflowdrive-platformbeagleboardhasura-applolipopdefinimavaporcloudmusicianwebflowtestazurecontainerresindevicereadthedocsloginlineeditorxmoonscalesandcatsbasicserverwebthingsbrowsersafetymarkbeebyteappbitbucketidaccovistablogorgschnetgovxn--mgba3a4f16axn--mgba3a4fraarvanedgeايرانایرانjclaspeziapdudcefegelemeperetevebacanatavaparasabgagfgogrgpgalclblimfmrmcbmbvbfclcmcvcrcpcchlimifibicivipirisimncnbnanenrnpntnnolomobocoaogorosopotoptvtatctbtmtltotpulunutpspapaqsvpvvvtvavvrtrsrprgrfrcrbrarorkrvstsssbscsmsispzczbzbozen-suedtirolmyspreadshopxn--bulsan-sdtirol-nsbxn--valledaoste-ebbtrentinoaltoadigetrentin-sued-tirolxn--forlcesena-c8axn--forl-cesena-fcbxn--bozen-sdtirol-2obtriestetrentinsuedtiroltrentino-s-tirollecceudineaostesienaparmaluccapaviagenoapaduaaostamonzaabruzzoternirietiturinmilanbozenlaziofermoleccocuneonuoropratola-speziavdataaligfvgpugmolcalcamlomumbsicpmnvenvaoedugovabrsarmaremrbastoslazibxosfirenzetrentinosüdtirolval-d-aostavalle-aostamessinacremonaravennatoscanatrentin-suedtirolbolognacalabriaurbinopesarofriuli-v-giuliaogliastraxn--valle-aoste-ebblaquilaandriatranibarlettasyncloudtrentinosudtirolxn--valle-d-aoste-ehbaostavalleyvalled-aostatrentino-alto-adigevallee-d-aostexn--balsan-sdtirol-nsbpistoiasicilialucaniacataniaiserniaperugiabresciaveneziagorizialiguriaimperiabulsan-suedtirolbalsan-suedtirolbarlettatraniandriaxn--trentino-sdtirol-szbforlì-cesenatuscanyvallée-d-aostemantovavallée-aostecasertapiemontevalleaostaval-daostafriulivgiuliatrevisoforli-cesenavalléedaosteferrarapescaravald-aostatrentino-altoadigefriuli-vegiuliavallee-aostecarboniaiglesiastarantomediocampidanovalleedaostetrentinosud-tirolcampobassotrentinsüd-tiroltrentinosüd-tirolmonzabrianzatrentino-südtirolxn--trentino-sd-tirol-c3bpotenzacosenzavicenzaemiliaromagnavenicefrosinonemarchepordenonetrentinosued-tirolvaresemolisevalléeaostefriuli-veneziagiuliabasilicatalatinaanconasavonaveronamodenaaquilabiellabolzano-altoadigepugliafoggiaumbriatrentino-stirolgenovapadovamateranovararagusapiacenzatrentinostirolvalleeaostetempio-olbiatrentinsudtirolmassa-carrarafriuliveneziagiuliatrentinosuedtirolandria-barletta-tranitrapanixn--cesenaforl-i8amaceratacaltanissettaascoli-picenobrindisicarraramassacagliaririmininapolivibo-valentiachietibulsan-sudtirolbalsan-sudtiroltrentino-a-adigebulsanbalsaniglesiascarboniamilanotorinoteramodell-ogliastraarezzotrentinoalto-adigerovigotrentovenetoiglesias-carboniatrentino-sud-tirolaltoadigereggio-emiliareggio-calabriasardegnatranibarlettaandriapiedmontxn--sdtirol-n2amedio-campidanotrentino-süd-tirolfriuli-vgiuliafriuli-ve-giuliaromeennaromapisa32-b16-b64-blodiastibarineencomonaplesforlicesenailiadboxosalessandriasicilytrani-barletta-andriaxn--trentin-sdtirol-7vbpesarourbinotrentinsued-tirolcesena-forliforlìcesenaemilia-romagnamonzaebrianzaxn--trentinsdtirol-nsbtrentinos-tiroltrentinsüdtirolvalledaostaolbia-tempiocampidanomediovibovalentiasassarivalle-daostalombardyfriulivegiuliareggioemiliamonzaedellabrianzaalto-adigevercellitrentin-sudtiroltraniandriabarlettatrentino-sudtirolascolipicenobozen-südtirolfriulive-giuliaflorencevaldaostaxn--cesena-forl-mcbcarbonia-iglesiasaosta-valleycarrara-massadellogliastratrentinoa-adigexn--valleaoste-e7apesaro-urbinoxn--trentinosdtirol-7vbxn--trentin-sd-tirol-rzbxn--trentinsd-tirol-6vbtrani-andria-barlettatrentin-süd-tirolxn--trentinosd-tirol-rzbgrossetomonza-e-della-brianzasüdtirolreggiocalabriatrentinoaadigetrentin-südtirolfriuliv-giuliaverbaniacampaniatrentino-aadigefriulivenezia-giuliasardiniaandriabarlettatranibarletta-trani-andriacatanzarooristanourbino-pesarocesena-forlìvalle-d-aostacampidano-medio123homepagesiracusatempioolbiasuedtirollombardiaavellinocesenaforlìtrentinofriuli-venezia-giuliabozen-sudtirolandria-trani-barlettabulsan-südtirolbalsan-südtirolmonza-brianzabolzanotrentino-sued-tirolbellunosalernolivornocrotonesondriodnshometrentinsud-tirolmassacarraratrentin-sud-tiroltrentino-suedtirolviterbobergamocesenaforliolbiatempiopalermobeneventoagrigentoofcoorgnetfmaitvphdengorgmilcomschnetedugovperagrikanieasukehandachitatokaiaisaikonanoharuamaobuhigashiuraowariasahiinuyamatobishimaiwakurashitarainazawatoyonegamagorimihamatoyotataharakariyayatomioguchikomakimiyoshinishiotokonamekiyosuchiryutoyohashiokazakiisshikikasugaikotakiratoeianjotogofusosetohazutsushimashinshirotakahamanisshinshikatsuhekinantoyokawaichinomiyatoyoakeodateogataakitaikawakyowahonjoogayurihonjonoshirokamiokakatagamimitanegojomeyokotekosakadaisenkazunonikahohonjyomoriyoshimisatohappoukamikoanihachirogatahigashinarusesembokufujisatokitaakitaitayanagiowanitakkomutsutsurutahirosakigonoheoirasetowadamisawanohejiaomorishingohiranairokunohehashikamitsugarushichinohehachinohenakadomarisannohekuroishisakaeisumiasahiotakiinzaiabikomatsudoyachiyomutsuzawakujukuriomigawakashiwatoganemihamanaritasakuranagaramobarahanamigawachoshishiroichoseikozakishisuikatorimidorichonankyonanfuttsuonjukufunabashinagareyamanodasosatakochuotohnoshourayasukimitsuyokaichibayotsukaidosodegauratateyamakamagayayokoshibahikariyachimatakatsuuratomisatokisarazukamogawaichikawanarashinoichinomiyashimofusaminamibososhirakoichiharaoamishirasatoikatahonaiainansaijoseiyoiyoozuuwajimaniihamanamikatamasakiuchikokihokutobetoonshikokuchuomatsuyamaimabarikamijimakumakogenyawatahamamatsunosabaeikedaobamasakaifukuiohionotsurugamihamawakasaminamiechizeneiheijikatsuyamatakahamaechizensoedaukihaomutaokawanishiogoribuzenonojosueumiokiotochikugosasagurisaigawamizumakishinyoshitomikurumekurateyamadakasuganakamamiyamanogatatakatahakataiizukakawaratagawakasuyaashiyainatsukimunakataminamitsuikishonaikurogifukuchikeisenhigashimiyakoshinguyukuhashiokagakiyamekogaongausuikahotohochuotoyotsumiyawakadazaifuhisayamatachiaraiyanagawanakagawahirokawachikujochikushinochikuhochikuzennamieotamaokumashowateneiiwakikoorinangoononishigoshimogoomotegomishimafukushimaasakawakagamiishishirakawaiitatefutabahiratayugawahanawakitakatakawamatakunimiyabukibandaihigashihironoyamatomiharuyamatsuriaizubangedatesomaaizuwakamatsuyanaizuaizumisatonishiaizuizumizakikitashiobarataishinkaneyamakoriyamainawashirotanagurafurudonosamegawasukagawaishikawatamakawaikedaogakitaruiginanenahashimahichisonakatsugawaibigawashirakawamizunamiminokamomitakekawauesekigaharatomikasakahogikitagatayamagatatajimianpachimotosuyaotsukakamigaharahidakanisekitokigujominogodoyorogifukasamatsutakayamawanouchihigashishirakawakasaharashimonitatsumagoichiyodakannakanrashowameiwakiryuotaoratomiokafujiokaitakuranaganoharahigashiagatsumatakasakishibukawaminakamikatashinatsukiyonokawabanumataannakaoizumimidorishintoisesakiuenoyoshiokakusatsutakayamanakanojonanmokutamamuratatebayashimaebashiotakekaitadaiwahongofuchukuietajimashobaramiharahatsukaichihigashihiroshimamiyoshikumanokurenakasakaseraseranishiasaminamifukuyamashinichionomichiosakikamijimajinsekikogentakeharaotobenanaeikedatohmaozoraobiraabirakyowaeniwataikibibaisharirebunerimohiroooketootarupippunishiokoppechitosefurubirahakodateshiranukakitahiroshimakushiroobihironanporoiwamizawaniikappukunneppufukushimanakasatsunaitoyourakuromatsunaiakabirakamisunagawashibechaurakawakamifuranonakatombetsuasahikawashimokawakayabeokoppebiratoriabashirisaromaatsumanumatahidakabifukamukawamikasahorokanaitoyotomisarufutsuhigashikawaishikarikitamiyoichiesashiiwanaitomariminamifuranoakkeshifuranotoyakoyakumootoineppushikaoishiraoinemuronayorohaboroashorobihororishirifujiutashinaihokutotakasuebetsuurausuassabukikonaishimamakinaiedatetoyabieinikiesanuryuoumuteshikagarikubetsuashibetsukimobetsuaibetsutobetsusobetsuembetsushimizuchippubetsurishirihokuryuhoronobeshintokutsubetsushibetsuhonbetsumombetsutsukigatakuriyamakoshimizushiriuchikutchanmurorannoboribetsukamishihorowassamushinshinotsukembuchiwakkanaikamoenaikiyosatotakinoueshikabesunagawafukagawanakagawatakikawakamikawahigashikagurahamatonbetsumatsumaemoseushirankoshishakotanimakanemashikeotofuketomakomaisandatambaitamiawajikasaiasagoshisoonoakoyashirotoyookaminamiawajiinagawafukusakitakasagokamigorikasugaharimayokawaashiyahimejiakashitaishiaogakisannantakinosumototakarazukanishinomiyashingugoshikinishiwakiyokatakaaioimikisayoyabukawanishiamagasakisasayamashinonsenkakogawaichikawakamikawatatsunotsukubaiwamaogawaasahisakaitokaioaraiitakobandodaigosuifuinaamikasumigaurakashimaomitamayachiyoshimodatetomobetoridehitachinakainashikisakuragawakasamayawaramoriyahitachiomiyanamegatayamagatahitachikamisuushikutakahagiibarakitonekoganakasowayukimihojosomitoryugasakishimotsumafujishirotsuchiurachikuseihitachiotashirosatotamatsukuriuchiharashikahakuinanaotsubatawajimakahokukawakitatsurugikaganominotosuzuuchinadakomatsuanamizunakanotohakusannonoichikanazawaiwateshiwafudaikawaimoriokaofunatohanamakikuzumakikitakamininohekunoheyamadayahabasumitaichinosekitanohatahiraizumirikuzentakatajobojiotsuchihironomiyakoiwaizumikarumaiichinohenodakujitonooshushizukuishifujisawamizusawakamaishikanegasakimannoutazukotohiraayagawazentsujihigashikagawauchinomikanonjisanukimarugamemitoyotakamatsutadotsunaoshimatonoshoakuneamamiizumihiokiyusuikinkoisasookouyamanakatanekagoshimakanoyaisenkawanabeminamitanemakurazakitarumizunishinoomotematsumotosatsumasendaioimatsudaayaseebinamiurazushinakaiodawaraiseharasagamiharahakoneaikawakaiseiatsugitsukuihadanoyamatoyamakitazamaoisochigasakininomiyayokosukakamakuraminamiashigarafujisawasamukawakiyokawahiratsukayugawaraokawaumajikochitsunootoyoakiinonishitosayasudahidakamiharasakawaniyodogawahigashitsunokagamigeiseisusakiotsukinaharisukumomurototosakamiochitoyotosashimizumotoyamanankokunakamurakitagawayusuharaogunichoyoukiasoutoozugyokutoamakusamifunetakamoriyamagaminamataminamiogunikikuchisumotoyamatonagasumashikiaraokumamotokamiamakusanishiharayatsushiroayabeseikasakyoideineujinakagyokameokakyotangokyotanabekyotambaminamiyamashiroyamashinatanabeyawatawazukaminaminantanmiyazuhigashiyamafukuchiyamakitamukokamojoyokizumaizuruujitawaraoyamazakinagaokakyokumiyamakawagoeinabeshimameiwaasahitaikiudonoisetsukisosakikuwanamihamamiyamasuzukatamakimisuginabarikumanokomonominamiisewataraitobakiwatakikihotadomatsusakayokkaichikameyamaureshinoishinomakishichikashukuohirataiwaosakizaohigashimatsushimashikamaiwanumashibataogawaraonagawakawasakiseminemarumoriminamisanrikukakudamuratawakuyatomiyanatoriwataritagajomisatotomekamirifushiroishimatsushimayamamotoshiogamafurukawahyugaebinotsunosaitoayakushimanobeokakitauramiyazakitakazakigokaseshiibamimatashintomikunitomikitakatakobayashikawaminamitakaharukijotakanabemiyakonojonishimeranichinankitagawakadogawamorotsukakisofukushimaminamimakisakaeobuseikedaogawamiasaokayaasahiotakiotarichinoinaomichikumakomaganechikuhokukaruizawayasuokaooshikaikusakaminamiaikitogakushimatsukawakawakamitateshinatakamorikitaaikishiojirimiyadahakubaiizunaiijimaiiyamamiyotasuzakayasakatoguraookuwanagawaminowahirayayamagataminamiminowafujimiomachisakakitakaginaganonakanosakuhokomoronagisoshinanomachiwadauedaiidaharasuwatomiachiaokianankisosakunozawaonsenagematsutakayamashimosuwamatsumotoyamanouchinakagawamochizukiazuminotatsunoobamaomuraseihiunzenosetofutsuikichijiwanagasakiisahayahasamisaikaikawatanasasebohiradokuchinotsugototogitsutsushimashimabarashinkamigotomatsuurayamazoekashibaikomakawaitenrioyodosangokoryoudaojiikarugayamatokoriyamatenkawakatsuragikurotakikawakamimiyakemitsuetakatorikamikitayamayamatotakadahegurishinjokanmakisakuraitawaramotogoseoudanarasoniandokawanishishimoichihigashiyoshinokashiharashimokitayamanosegawayoshinomintsivorytopazsakuragehirnsumomoaseinetopalmail-boxmokurenyoitamuikaojiyagosensanjoaganomyokoseiroagaomishibataniigatanagaokamurakamiuonumayuzawakariwatagamitainaitsunanminamiuonumatochioyahikojoetsuseiroukamosadoizumozakitokamachiitoigawasekikawakashiwazakitsubamemitsukekokonoesaikiusukibeppuusahimeshimakunisakihasamataketatsukumihitaoitahijikusuyufukujukamitsuebungoonobungotakadaibaraniimibizentsuyamaokayamakasaokahayashimayakagemaniwaakaiwamisakishinjotamanotakahashikibichuowakesojanagishookumenannishiawakurakurashikiasakuchisetouchikagaminosatoshotomigusukunakagusukuyaeseizenaurumaiheyaaguniogiminanjokinminamidaitokitanakagusukuyonaguniokinawaishigakikunigamiurasoekadenataramahiraraginozataketomishimojizamamitonakiitomanhigashimotobuyonabarugushikamionnanahanagohaebarukumejimakitadaitonakijinnishiharayomitanginowantokashikiishikawaikedasuitaminohizuminishisakaikananabenodaitoosakasayamayaokishiwadatadaokakaizukatondabayashichihayaakasakakumatorikadomasayamahigashiosakashijonawatehirakatataishimisakitajirihannansennankatanotoyonominatosettsuhigashiyodogawaibarakinosekitachuohigashisumiyoshifujiiderakashiwaraizumiotsutoyonakamatsubaramoriguchiizumisanoshimamototakatsukineyagawahabikinotakaishikawachinaganoyoshinogarikamiminearitaouchiimarihizenogikashimaariakekiyamafukudomikitagatakitahataomachigenkaikanzakinishiaritakyuragisagataratosutakushiroishikaratsuhamatamakouhokukawagoeyoshidasatteogoseirumaasakaurawaogawaniizaomiyayoriiotakishikihonjooganohannohanyuinasaitamaokegawaarakawayoshikawayokozehasudasayamahidakafukayachichibuiwatsukiryokamiyoshimikamiizumifujimiwarabiranzanmiyoshiminanoyashiosakadosugitomisatohigashichichibutodasokakukiyonokazoshiraokakasukabekounosukawajimatsurugashimamiyashirokitamotohatoyamamoroyamahatogayakumagayakawaguchinagatorokamisatomatsubushinamegawatokigawakamikawafujiminohigashimatsuyamakoshigayatokorozawas3isk01isk02ryuohkoseikonanaishorittotakashimamaibarahikonetorahimenishiazaikokagamokotoyasuotsukusatsunagahamamoriyamatoyosatotakatsukinotogawaomihachimanhigashiomiakagiunnanizumogotsuamayatsukakakinokimatsuehamadamasudahikawahikimiokuizumoyasugiyakumomisatotamayuohdahigashiizumookinoshimanishinoshimatsuwanoshimaneshimadafujiedayoshidashimodagotembaiwataatamikosaiyaizuitoizumishimahaibaramakinoharaomaezakikawanehonkannamisusonohigashiizufukuroinumazukawazufujiaraishizuokahamamatsushimizuizunokunimatsuzakimorimachiminamiizunishiizukikugawakakegawafujikawafujinomiyaujiietsugaoyamayaitaohiranikkoashikagakuroisokanumasakurashioyakarasuyamamotegiichikaikaminokawatochigihagamokanogisanobatonasumibunasushiobaranishikatautsunomiyaiwafunemashikoshimotsukeohtawaratakanezawaitanokomatsushimatokushimaichibaminamiaizumiwajikikainanmiyoshinarutomimamugiananmatsushigesanagochishishikuinakagawamachidachiyodakomaefussainagitaitochofufuchuomeotahigashiyamatotoshimaokutamaaogashimakodairaedogawaarakawahachiojishinagawatachikawashibuyasuginamihinodekiyosesumidaoshimanerimamitakahamuraadachinakanomizuhobunkyomegurominatokoganeihigashikurumekokubunjihigashimurayamamusashimurayamatamakitahinochuokotokatsushikakouzushimaogasawaraakishimakunitachishinjukusetagayamusashinohachijoitabashiakirunohinoharachizunanbukotouramisasawakasayonagokogehinoyazutottorinichinansakaiminatokawaharaoyabetairainamiasahinantoimizufuchutakaokakurobeyamadajohanatoyamatonaminyuzenfunahashinakaniikawanamerikawaunazukitogahimiuozufukumitsutateyamakamiichiiwadearidayuasainamitaijikatsuragiaridagawatanabemihamahidakakainankiminomisatoshingushirahamakamitondayurakozakoyagobokitayamawakayamakudoyamahashimotokushimotokozagawahirogawakinokawanachikatsuurarsuseroeoishidasagaeoguniasahinagaitendonanyoobanazawanishikawasakataohkuratozawamikawamamurogawayamagatafunagatatakahatashonaishinjokahokuiideyuzakawanishitsuruokakaminoyamayamanobeshiratakamurayamanakayamakaneyamahigashineyonezawasakegawamitouubeyuuabushimonosekitabuseoshimatoyotaiwakunihikarishunannagatohagihofukudamatsutokuyamashowadoshitsurunanbukoshukaiminami-alpsnirasakikosugeotsukioshinohokutominobuyamanashifuefukichuokofuichikawamisatoyamanakakonakamichitabayamanishikatsuranarusawafujikawahayakawafujiyoshidafujikawaguchikouenohara長野京都岐阜大阪三重群馬千葉滋賀佐賀奈良adednelgaccogogror秋田愛知高知埼玉沖縄栃木熊本岩手青森山梨新潟島根鳥取長崎香川宮城石川大分宮崎茨城山口兵庫山形徳島広島福島福岡岡山富山静岡愛媛福井東京xn--4it168dhatenadiaryxn--vgu402ckawaiishophatenablogcocottenamaste北海道penneehimeiwateversestabachibashigagonnagunmapermahaccaakitaosakauh-ohblushkochiaichifukuikuroncapooitigohyogotokyokyotopunyuthickcheap0t00g00j0mie2-ddaapyawjg0amfemsubxiiboomoobutchueekpgwrgrherskrboyrdyupperunderflierchipsmydnsheavyangryhippygirlyrulez神奈川鹿児島和歌山bambinaxn--nit225kokayamasaitamaxn--k7yn95exn--1lqs03nsapporoparasitelolipopmcxn--efvn9sniigatafukuokatokushimafukushimahiroshimakagoshimafakefurokinawaxn--8pvr4ucoolblogxn--0trq7p7nnkawasakinagasakimiyazakichilloutxn--8ltr62kxn--klty5xpeeweezombiecutegirlxn--rny31hxn--uuwu58axn--ntso0iqx3axn--djrs72d6uytoyamanikitanyantakagawamimozanagoyaboyfriendxn--2m4a15egreaterchowderegoismyamagatafashionstorexn--elqq16hxn--pssu33lsendaimiyagixn--rht27zpecoriaomorisaloonwatsonvivianxn--djty4knobushipigboatnaganopinokoxn--f6qx53asadistvelvetsecretxn--5js045dchicappayamanashiibarakidigickgirlfriendxn--1lqs71dmongolianxn--c3s14mxn--qqqt11mtochigixn--5rtq34kparallelo0o0mondkobesagabonadecaoitanarafoolkilldecimainhiholomosblokilociaoundopupugifutankcrapflopnooroopsmodsholyjeezstripperpepperbittershizuokaxn--rht3dkitakyushureadymadeicurusversusmatrixxn--rht61ehungryfloppygloomycrankyhandcraftedlittlestarxn--klt787dxn--kltx9awhitesnowsunnydaytottorilovepoptheshopbuyshopxn--5rtp49cxn--d5qv7z876cwebaccelxn--kbrq7oxn--4pvxsxn--1ctwolovesickkumamotocatfoodxn--tor131oyokohamawakayamatonkotsuxn--ehqz56nxn--uist22hxn--6btw5axn--kltp7dyamaguchifrenchkisspussycatxn--4it797kxn--uisz3gbabybluexn--zbx025dnetgamersxn--7t0a264ckanagawaxn--6orx2rishikawaxn--ntsq17ghalfmoonschoolbusjellybeanxn--mkru45iusercontentlolitapunkxn--32vp30hsakurastoragehokkaidoshimanecandypopbabymilksupersaleweblikeraindropbackdropwebsozaikikirarahateblodaynightmeneacsccogoormobiinfoaeusxxorgmilcomnetedugovorgcomnetedugovbizinfotmprdorgmilcomnomedugovassnotairespresseassocoopgouvveterinairemedecinpharmaciensorgnetedugovtraorgcomedurepgovmeneperekgacscaiiocogoitoresmshsseoulbusanulsandaeguc01milvkimmvchungnamjeonnamjeonbukeliv-dnsgyeonggijejueliv-cdnincheondaejeongangwongyeongbukgwangjuchungbukgyeongnameliv-apicoeduindorgcomembnetedugovorgmilcomnetedugovjcloudorgcomnetintedugovperbnrinfocooyorgcomnetedugovipfscanvamypepw3sstorachakeeneticjoinmcinbrowserdwebcyonnftstoragemyfritzaemewphlxachotelltdorgcomwebsocschngonetintedugrpgovassnomgacsccoorgnetedugovbizinfo123websiteidorgmilcomasnnetedugovconfidmedorgcomplcschnetedugovaccoorgnetgovpresstmassoirseproxaccosoundcasthoptocraftvp4c66orgnetedugovitsmcdirmyboxbarsyedgestacksynologylogintonohostwebhopdiskstationi234tcp4hoocgroknoipprivmydsddnsdnsforlohmustransipdscloudfilegear-sgbrasiliafilegearframerbarsybarsyonlinecoprdorgmilcomnomedugovinforgcomnetedugovnameacprorgcomartnetedugovpresseinfoassoinstgouvorgnycedugovbarsydscloudjuorgcomnetedugovminisiteaccoororgcomnetgovorgmilcompronetintedugovbizmuseumnameinfoaerocoopaccoorgcomnetintedugovbizcooporgcomgobneteduorgmilcomnetedugovbiznameaccoorgmilneteduadvgovcoorgcomnetaltgovforgotherhiskeeneticispmanagernomassoprod5476132eastasiacentraluswesteuropewestus2eastus2rucdnwest1-usfra1-desandboxjls-sto1jls-sto3jls-sto2aglobalabglobalsslmapprodfreetlsmaplon-1lon-2ny-1fr-1sg-1ny-2paassnwebpaashostingjelasticnordeste-idcsocuserpagescwebfileblobservicebuscoreatlricnjsjelasticwebsitestoragesezagbinruhuukjptsmyspreadshopmynetnameakamaiorigin-stagingfrom-coipv64dynv6cdn77serveblogadobeaemcloudhicamsprytdnsupno-ipownipde5ovhicpfirewall-gatewaysytesmypsxbarsyusgovcloudapimyamazemyradwebakamaihdsaveincloudfastlylbfrom-lasubsc-paysquare7in-the-bandblackbaudcdnhomelinuxoninfernoctfcloudservebbsdns-dynamiccloudfrontakamai-stagingipifonyham-radio-opsenseeringclickrisingcommunity-profrom-nylocalcertgrafana-devedgesuite-stagingcloudflareanycasteating-organicatlassian-devmydattofeste-iplocaltotorprojectknx-serveredgekeycloudflareglobalcloudyclustercasacamserveftpakamaized-stagingakamaiorigindns-cloudmyeffectboomlabotdashbuyshousestwmailhetemlazure-mobilein-dslthruhereredirectmedynuddnsbouncemesupabaseluyanicloudappakamaicloudfunctionsdebiannhlfanpgafanstatic-accessin-vpnmysynologymafeloappudohomeftptrafficmanagersiteleafseidatmemsetcloudflarecloudaccesskeyword-onazure-apiis-a-chefdoes-itgets-itwebhopselfiphomeipkicks-assedgesuitewindowsserver-ontunnelmolemydissentscrapper-sitecloudflarecnuni5srcfggffiobbzabcdenodynuopikddnsvpndnsakadnselastxkinghostvps-hostfastlyhomeunixazureedgeshopselectdontexistmyfritzcloudjiffyalwaysdatasells-itsquaresbroke-itazurefddattolocalat-band-campmeinforumfamilydsazurestaticappsdefinimabplaceddnsaliasdynaliasnow-dnsblogdnsroutingthecloudendofinternetdsmynasakamaiedgemymediapcadobeio-staticakamaiedge-stagingakamaihd-stagingddns-ipprivatizehealthinsurancelive-onkrellianschokokeksmassivegridmysecuritycamerarackmazeserveminecraftfrom-azis-a-geekakamaizedmoonscalecryptonomicoffice-on-theusgovtrafficmanageradobeioruntimeedgekey-stagingreserve-onlinechannelsdvrdnsdojousgovcloudappcdn77-sslapps-1and1podzoneazurewebsitesdynathomescaleforceyandexcloudvusercontentisa-geekcdn-edgescoaemalcesappwriteazimuthtlonarvonoticeablestorecomwebrecnetperotherfirminfoartslgdloncogoiltdorgmilcolcomplcschgenngonetedugovbiznamefirmmobiacincoorgmilcomnomwebgobnetintedubizinfocomyspreadshopdemongovtransurl123websitehosting-clusterkhplaycistrongsnesosvalervålerxn--vler-qoaossandeheroysandeherøybøboheroyherøyxn--hery-iraxn--b-5gavalerbøboxn--b-5gasandesandexn--hery-iraxn--vler-qoavålerhåreålaahavaofsfvfhlolnlalrlhmfmtmahcostntbuåstrmreigersundmyspreadshopgálsáeidsvolltingvollgildeskalflorøvadsøvardøvanylvenxn--bhccavuotna-k7astrandaxn--kvnangen-k0axn--sknland-fxaxn--mosjen-eyarakkestadhyllestadnannestadvevelstadvaapstenordre-landsondre-landsøndre-landtjieltexn--vrggt-xqadsør-aurdalsor-aurdalheradstordmoldefordeførdeseljefedjeryggehemnexn--krehamn-dxasognegranesøgnebrynetjomevallebykletokkegiskedovretjømehobølvoldasaudatolgasømnaviknadønnasomnadonnatranafrananesnaraumasmolatrænafrænalesjasmølaørstaorstahitrafloraaukraloppafrøyarissasnasahalsagalsaromsaraisaráisafroyasnåsagronghobolfjelltydalårdalardalaskimharamkraanghkekråanghkesorumbarumhurumbærumsørummodumsálátbálátfrognbjugnvåganvagangulenskienløtenlotenstrynvefsnxn--merker-kuaskaunsveiobømlobomloskjåkvardoflorovadsosalatbalatsálatklæbuklabuselbubarduulvikskjakklepprisørxn--nttery-byaeflåeidflahofmilgolholsellomskifetvikdepvgsfhsaskerrisorhamarasnesåsnesrørosrorosxn--slat-5namasoynaroyvaroyluroydyroyaskoyradoyandoyrodoymeloyradøyandøyrødøymeløyaskøylurøydyrøymåsøyværøynærøyhoylandethøylandetdivtasvuodnalørenskoglorenskognesoddtangenxn--tjme-hraxn--smla-hraxn--stjrdal-s1aunjargalillehammerunjárgaxn--hamary-fyadavvenjargaxn--bearalvhki-y4a123hjemmesidegjerdrumxn--brnnysund-m8acxn--tnsberg-q1axn--mlatvuopmi-s4axn--snsa-roaxn--skierv-utaxn--brum-voatysfjordkvafjordeidfjordkvæfjordsongdalenmjondalenmjøndalenxn--gls-elackragerogáŋgaviikagangaviikasørreisasorreisasør-varangersor-varangerxn--risr-iraskiervaxn--frna-woaxn--trna-woakvinesdalleksvikleirvikrøyrvikroyrviksvelvikvenneslaevje-og-hornnessandnessjøenmarnardalvindafjordsandefjordenebakksnillfjordullensvangxn--trany-yuabrønnøysundnamsskoganaustevollxn--stjrdalshalsen-sqbnord-aurdalnord-frontrøgstadtrogstadgrimstadflakstadgjerstadxn--sandy-yuaxn--leagaviika-52bnore-og-uvdalvegarsheixn--rlingen-mxaxn--ggaviika-8ya47hvegårsheikarlsoykvitsoymasfjordenhamaroyinderoyosteroydavvenjárgasauheradguovdageaidnuxn--vre-eiker-k8abronnoysiellakkrødsheradkrodsheradkvinnheradbrønnøyxn--mtta-vrjjat-k7afxn--lrenskog-54akvitsøyvárggátkarlsøyosterøyinderøyhamarøybronnoysundxn--aurskog-hland-jnbbahccavuotnabáhccavuotnagiehtavuoatnastor-elvdalmidtre-gauldalxn--gildeskl-g0akarasjokevenassixn--bievt-0qaxn--yer-znalebesbynessebyxn--hbmer-xqamalselvmålselvxn--unjrga-rtamøre-og-romsdalmore-og-romsdalhareidmelandørlandorlandstrandålgårdsolundalgardafjordåfjorddielddanuorrikautokeinoxn--stre-toten-zcbskodjeaejriestangeliernebamblestokkefauskesnåasesnaasekongsvingerlangevagberlevagxn--flor-jrahattfjelldalostre-totenøstre-totenvestfoldxn--mely-iraálaheadjualaheadjunordreisaxn--troms-zuaxn--lgrd-poacporsangerflatangerstavangerleikangerbremangersamnangergieldakarasjohkaxn--rdy-0nabfrostautsirasnoasatromsaxn--sr-aurdal-l8aflekkefjordjølsterjolsteraremarkhedmarknååmesjevuemienaamesjevuemiexn--vard-jrarollagmeråkermerakerorskogørskogxn--bdddj-mrabdákŋoluoktaxn--osyro-wuaaknoluoktatrysilskjervøymandaljondalbindalrindalmeldalsuldalorkdalsigdalalvdallærdalhurdalsirdalverdallerdallardaloppdalåseralaseralhadselkragerødivttasvuotnaoverhallasteinkjerxn--hnefoss-q1askedsmokorsettromsøxn--dyry-iravestre-totenmuseumxn--sandnessjen-ogbrahkkeravjufylkesbiblbájddarbajddarxn--laheadju-7yarennesøyxn--koluokta-7ya57hxn--hgebostad-g3aleirfjordstorfjordbalsfjordbåtsfjordbatsfjordmuosátbievátloabátkárášjohkanøtterøyxn--mjndalen-64anordkappláhppilahppialstahaugsiljanverranrøykenroykenhaldenlyngenbergenhortenhønefosshonefosstroandinbeiarnvarggatosoyroosøyrotromsoidrettmuosatbievatruovatloabatvoagattynsetnessetxn--indery-fyaskánitskanitraholtråholtxn--ystre-slidre-ujbandebusarpsborgbearduxn--karlsy-fyahordalandjorpelandjørpelanddeatnuringsakersør-odalsor-odalxn--slt-elabringerikeaudnedalnittedalnissedalhemsedalslattumsurnadalxn--blt-elabelverumstjørdalnaustdalhjartdalgjøvikfyresdalhasviknarviklarvikgjovikmalvikgamviklenvikporsgrunnstjordalengerdaldrobakdrøbakxn--msy-ula0hvestvagoyxn--vgan-qoaxn--ryken-vuaxn--lten-graxn--stfold-9xaxn--hpmir-xqaxn--lury-iramálatvuopmimalatvuopmitysværkirkenesbirkenesmoskenesbáidárxn--fjord-lraxn--rdal-poabahcavuotnabáhcavuotnaxn--frde-gralindåsbearalvahkixn--hobl-iraráhkkerávjuxn--loabt-0qavågåáltábodøsundlundraderådeetnetimeholeauregrueoddavagavegaranatanaarnasolasulaaltalekafusavangbergkvamåmliamlibokntinnroangranosenoslobodorøstroststatåmotamotivguprivøyeroyerliermossvossxn--nvuotna-hwalusterlunnermarkerhábmerhabmerhvalerfjalerxn--rholt-mratysvarbaidarfitjargaularhápmirhapmirmelhusfosnesøksnesoksnestysneshemnesevenesflesbergeidsbergtonsbergtønsberglindasxn--sndre-land-0cbnamsosxn--srum-graøystre-slidreoystre-slidrevestre-slidretrondheimbalestrandxn--langevg-jxaaustrheimxn--skjk-soavagsoyaveroysandoykarmoyfinnoytranoyvestbytranbysykkylvenxn--hyanger-q1aspjelkavikandasuoloxn--fl-ziaxn--drbak-wuastathellexn--sr-varanger-ggbtelemarkxn--bhcavuotna-s4axn--porsgu-sta26fčáhcesuolocahcesuoloakrehamnåkrehamnsandøykarmøyfinnøytranøyvågsøyaverøynamdalseidxn--lesund-huabadaddjaxn--vegrshei-c0axn--btsfjord-9zagildeskålporsanguxn--trgstad-r1anávuotnanavuotnahammerfestxn--sgne-graxn--brnny-wuacibestadharstadnarviikaevenáššivestnesgjemnessandnesagdenesrennesoyxn--avery-yuaxn--tysvr-vrabearalváhkikongsbergspydebergrandabergxn--andy-iradavvesiidaxn--krdsherad-m8aporsáŋgufredrikstadbjerkreimringeburennebuaurskog-holandnotteroyxn--vgsy-qoa0jxn--rmskog-byaskierváivelandbyglandfrolandaurlandforsandxn--bjddar-ptamidsundålesundalesundfetsundfarsundovre-eikerøvre-eikerakershusxn--moreke-juasørfoldøstfoldostfoldsorfoldhøyangerhoyangerlevangerorkangertanangerxn--vestvgy-ixa6olillesandulsteinxn--rennesy-v1agranvinskjervoyxn--klbu-woalavagisxn--h-2faxn--ryrvik-byakafjordkåfjordseljordfolkebiblxn--gjvik-wuajevnakerxn--kfjord-iuabudejjuxn--kranghke-b0axn--davvenjrga-y4axn--rland-uuaxn--ldingen-q1axn--mlselv-iuaxn--rady-iraxn--linds-prabrumunddalxn--ygarden-p1amo-i-ranaeidskogrømskogromskoghjelmelandxn--finny-yuaxn--sr-odal-q1axn--skjervy-v1aballangenkvanangenkvænangengratangenxn--hmmrfeasta-s4acvossevangensuohkanxn--rde-ulaxn--mli-tlaxn--ksnes-uuanordlandskanlandskånlandsortlandfuoiskuxn--rros-graxn--hcesuolo-7ya35bxn--eveni-0qa01gagaivuotnagáivuotnaxn--seral-lradrammenmodalenmosjoenjan-mayentorskensteigengloppenxn--snes-poamatta-varjjatxn--sr-fron-q1aomasvuotnajessheimbådåddjåxn--krager-gyaxn--kvfjord-nxaxn--asky-iraxn--snase-nraxn--bidr-5nacholtålenxn--vads-jraxn--jlster-byamosjøenxn--rst-0nastavernxn--ostery-fyaxn--oppegrd-ixaxn--sknit-yqaxn--risa-5naoppegårdskiptvetrendalenholtalenxn--mot-tlaxn--lhppi-xqaxn--holtlen-hxaxn--srreisa-q1akopervikxn--muost-0qaxn--bmlo-grahokksundkvalsundegersundxn--karmy-yuaullensakerxn--hylandet-54axn--kvitsy-fyaxn--bod-2nalangevågberlevågkristiansandxn--rsta-frahornindalstjørdalshalsenstjordalshalsensandnessjoenhámmárfeastaxn--lrdal-srasør-fronsor-fronnord-odalkristiansundmátta-várjjatvestvågøynesoddennotoddenbuskerudøygardenoygardensalangenlavangenralingenrælingenlodingenlødingenleaŋgaviikalaakesvuemieleangaviikauenorgexn--srfold-byaaskvollxn--rskog-uuaxn--nry-yla5gxn--vry-yla5ghammarfeastaxn--rhkkervju-01afxn--givuotna-8yakommunekrokstadelvanedre-eikerhagebostadhægebostadxn--berlevg-jxakviteseidxn--s-1faxn--l-1faxn--nmesjevuemie-tcbafuosskomoårekemoarekexn--lt-liacxn--jrpeland-54asvalbardoppegardholmestrandtvedestrandsogndalsokndalarendalsunndalfolldalxn--krjohka-hwab49jlyngdaletnedalnorddalsaltdalgausdalskedsmovaksdalgjesdalstordalxn--frya-hraaarbortedrangedalxn--smna-graaurskog-hølandxn--vg-yiabtjeldsundhaugesundlindesnesxn--mre-og-romsdal-qqbxn--dnna-gradynmerseineshacknetenterprisecloudmineaccomaorimāoriorgmilcriiwigennetschoolhealthkiwigovtgeekxn--mori-qsacloudnsparliamentcomedorgcompronetedugovmuseumwebsitekinservicebarsywebsitebuildereerobookheimdnsleapcelleero-stagetechcrscsslorigingohomecdbedeeeiemesecabgngilnlalplchfisiincnnoroptatitmtltruauhulumkdkukskjplvtrgrfrkrhrusesismycynzcznetinteduassoososcloudstgbetaaezaeuhkusjshatenadiarycdn77hoptozaptois-a-knightmyftpno-ipjpnddnssdpdnsspdnsbarsysweetpepperis-a-bruinsfanis-very-sweetservegameis-a-soxfanhomelinuxcdn77-secureservebbsmisconfusedwebredirectblogsitefreedesktopcouchpotatofriestoolforgeaccesscamis-lostreadmyblogsmall-webfedorapeopleserveftpis-a-celticsfanmywirepotagertwmailin-dslsellsyourhomeread-booksfreeddnscable-modemis-savednflfanufcfanmlbfanstuff-4-saleendoftheinternetin-vpnmy-firewallhomeftpis-localis-a-chefboldlygoingnowherewebhopselfipkicks-assroxatunkcamdvrfedoraprojectgotdnsdvrdnsdyndnspubtlspimientahomeunixdontexistfedorainfracloudwmflabsfspagesbmoattachmentsteckidsfamilydsdnsaliasdynaliasnow-dnscloudnsdoomdnsduckdnsblogdnshomednsroutingthecloudendofinternetdsmynasip-dynamicpoivronhttpbinmyfirewallis-very-evilmysecuritycamerais-a-linux-userwmcloudis-a-geektuxfamilyis-a-candidatedoesntexistis-very-badhobby-sitegame-hostaltervistais-foundis-a-patsfandnsdojohepforgepodzonedynservcollegefanis-very-goodfrom-meis-very-niceisa-geeknerdpolacmedsldingorgcomnomgobabonetedupleskaemhlxmyboxrockyprvcydeuxfleurspdnscodebergheyflowstatichostorgmilcomnomgobneteduorgcomeduiorgmilcomngonetedugovcloudns1337ngrokacorggogfamcomwebgobnetedugokgopgkpgovgosbizpasaugumicsopozpapuwmwsrprusiskwpspkppspkmpspokeoiawsawifoumsdnskokwpmuppuppsppiwwiwoowuzswkzoschrzpisdnwzmiuwwitdpssewsseumigugimoirmpinbwinbwiihupporzgwgriwupowwskrwioswuozstarostwokonsulattmpccopruszkowmyspreadshopostrodakartuzyopolegminamediaustkazgorajgoraolawailawalomzawloclradombytomjaworznotargilubinkoninzagantorunkutnokepnonakloczestsopotsanokturekplockslasksklepzarowlukowmedaidgdaorgmilrelcomnomatmgsmartneteduelkgovwawsossexbiztgorysejnytychypomorzeboleslawiechomesklepsdscloudunicloudzakopanelegnicarawa-mazbydgoszczswidnikkrasnikwloclawekbielawamragowograjeworealestatebeskidykaszubymalopolskaprzeworskswiebodzinlecznadfirmaszkolawarmiagdyniamiastakazimierz-dolnymalborkswidnicadlugolekaostrolekapodlasieelblagtravelsimplesitezachpomormielecszczecinnieruchomosciwalbrzychlezajsklublinbedzinpoznanwielunmielnooleckostarachowicedkontopowiatwroclawrybniksuwalkileborkslupskgdanskostrowwlkptarnobrzegtourismwegrowkrakowglogowyou2pilanysamailwrocinfoagroautobeepshopprivlapypiszlodzcfolksecommerce-shopmazurypulawyskoczowrzeszowpomorskiezgierzkaliszolkuszlowiczostrowiecsosnowiecmazowszewodzislawbialowiezazgorzeleckatowicepabianicejelenia-gorawolominkarpaczsieradznowarudaczeladzkonskowolaskierniewiceswinoujscieturystykabieszczadycieszynketrzynolsztynbialystokbabia-goraprochowicewarszawastalowa-wolapolkowicegorlicegliwiceponiatowalimanowalubartowaugustowkobierzyceopocznognieznoszczytnokolobrzegshoparenapodhalebielskoklodzkostargardatwithplayitownnamecoorgnetedugovacorgcomproestnetedugovbiznameislaprofinforechtngrokmedaaaacacpaenglawjurbarbarsykeeneticavocatacctcloudnsorgcomsecplonetedugov123paginaweborgcomnetintedugovnomepublidkinbarsygovx443cloudnsorgmilcomnetedugovcooporgmilcomschnetedugovnamecomcannetlibassoaemclantmcontstoreorgcomnomrecwwwbarsyfirminfoshopartsstackitmyddnswebspacelima-cityacincooxorgedugovbarsybrendlyhbvpsvpsspectrumlandinghostingacppmordoviamcprecbgorgmilcomspbnetintedumsknovgovbirrasmcdirmytismircloudvladimirnalchikadygeyamarinepyatigorskmyjinobashkiriaeurodirvladikavkazna4ugroznykustanaikalmykiacldmaildagestaniranbuildcanvaliaravalwixdevelopmentappwritemigrationneedleverceldatabasestackitcodereplravendbonporterlovableaccoorgmilnetgovcoopmedorgcompubschnetedugovservicemecomygovorggovtvmedorgcomnetedugovinfoedgfacbmlonihkutwpsryxzbdtmacfhppmyspreadshopbrandpartiorgcomfhvpress123minsidaitcouldbeworlanbibkommunalforbundfhskiopsyskomvuxkomforbnaturbruksgymnloginlineorgcomnetedugovenscaledeuusentbotdaorgmilcomnetgovnowteleporthashbangplatformlovablebarsyshopwarebasehoplixbarsyonlinemsf5gitappgitpagecofigma-govcaffeinefigmacanvasoltstputerbarsysupportchatgptsquareomniweopensocialcpanelnotionnovecorewpsquaredpreviewjelecyonbyensrhtfastvpspieboxconvexjouwwebheyflowplatformshloginlinemadethissourcecraftclouderaorgorgcomartedugouvunivmeorgcomnetedugovsurveysstatichfheiyuxs4allprojectmyfastubervibehostapp-ionosdeployagentmecoorgcomschnetedugovbizcncostoreorgmilcomneteduembaixadaconsuladokiraranohoprincipesaotomeheliohobarsystorebaseshopwaresellfyabkhaziavologdamordoviapenzalenugsochinavoiexnetspbmsknovnorth-kazakhstanashgabadkareliaarmeniageorgiavladimirnalchikivanovobukharaadygeyakhakassiakalugakrasnodarjambylaktyubinsktroitskbryanskobninskkurganazerbaijanpokrovskbashkiriatselinogradvladikavkazmurmansktulatuvamangyshlaktashkentchimkentgroznykaragandatermezarkhangelskkustanaikalmykiabalashoveast-kazakhstankaracoldagestantogliattibarsyredorgcomgobedumirenknightpointaccoorgjelasticdiscoursecleverappsschacmiincogoornetonlineshopcogoorgmilcomwebnicnetintedugovbiznametestcoorgmilcomnomnetedugovorangecloudpersoindorgcomfinnatnetgovensmincomtourismintlinfox0611oyaorgmilcomnetedugovquickconnectvpnplusnettprequalifymeaddrmyaddrntdllwadlnctvavdrk12orgmilpolbeltelcomwebgennetedutskkepgovbbsbiznameinfocoorgmilcompronetedugovbiznameinfobetter-thanworse-thansakurafromdyndnson-the-webmymailerorgmilurlcomneteduidvgovmydnsgameclubebizmeneacsccogotvorhotelmilmobiinfovodteiflgplkmsmsbcckhincndnvncoztltmkckppzpdprvcvkvlvcrkrkscxuzchernovtsyrivneyaltaodesavolynrovnolutskltdinforgcomnetedugovbizvinnicazhitomirternopilpoltavakropyvnytskyizaporizhzhiasevastopolsebastopoluzhgoroduzhhorodkharkovkharkivvinnytsiakhmelnytskyizaporizhzhecrimeaodessazhytomyrnikolaevcherkassydonetskluganskluhanskkirovogradivano-frankivskchernivtsikrymkievkyivlvivsumyzakarpattiamykolaivcherkasychernigovkhersonchernihivdnipropetrovskdnepropetrovskkhmelnitskiyneacsccogoorusorgmilcomedugovvmdhmyspreadshopadimono-ipbarsybytemarkbarsyonlinelayershiftnh-servretrosnubapicampaignservicelugaffinitylotteryweeklylotteryraffleentrygluglugsmeaccoindependent-inquestnimsitecopropymntltdorgplcschnetgovnhsbarsyindependent-commissionindependent-reviewpolicepublic-inquiryindependent-panelconnhospindependent-inquiryroyal-commissionoraclegovcloudappscck12libccphxcclibpvtparochchtrcck12libcceatonk12coglibtecgendstmusann-arborwashtenawcck12glghcck12sealibforksolympiabainbridge-islkeyporthoquiamyarrow-pointcentraliaport-townsendsequimport-ludlowrentonsilverdalebremertonredmondsheltonbellevueport-orchardport-angeleskingstonchehalisaberdeengig-harborseattlepoulsboidmdndsddemenegacalamaiavawapailalflnmdcncscohnhmihiviwiriinmntnmocoutvtctmtgunjokakwvnvprarorasmskstxwynykyazisadninsnngosrvis-bymircloudservernamepointtoenscaledland-4-salefreeddnsstuff-4-saleazure-apinoipcloudnsgolffanheliohostazurewebsitesgvorgmilcomgubneteducoorgcomnetd0egvorgmilcomnetedugovmydnsiacostoree12orgmilcomnomwebgobbibrectecnetintedugovraremprendefirminfoartseducok12orgcomnethidnsidacaiiosonlahanamhanoicamauhueorgcompronetintedugovbizbacninhtayninhhoabinhnamdinhtravinhhaiphongvinhlonghaiduongquangnamquangtrithuathienhuequangninhbacgianghaugiangquangbinhsoctrangbentrethanhphohochiminhdanangkontumhatinhkhanhhoathanhhoahealthgialailaocaiyenbaibackanngheanlonganphuyenphuthocanthodaklakdongnainameinfovinhphucdongthapkiengiangtiengiangquangngailaichaulangsonlamdongdaknonghagiangangiangcaobangbinhduongninhthuanbinhthuanbaclieuthaibinhninhbinhbinhdinhtuyenquanghungyenbaria-vungtauthainguyendienbienbinhphuocschbizputerimagine-proxyorgcomnetedugovcloud66advisormypetsdyndnsxn--8dbq2axn--4dbgdty6cxn--5dbhl8dxn--hebda8bxn--80auxn--d1atxn--c1avgxn--o1acxn--o1achxn--90azhxn--55qx5dxn--uc0atvxn--od0algxn--wcvs22dxn--gmqw5axn--mxtq1mxn--12c1fe0brxn--h3cuzk1dixn--12co0c3b4evaxn--12cfi8ixb8lxn--o3cyx2axn--m3ch0j3axn--j1adpxn--90amcxn--90a1afxn--h1ahnxn--j1ael8bxn--h1alizxn--c1avgxn--j1aefxn--80aaa0cvacxn--41acaffeineexeopentunnelbotdashtelebitorgtmaccoagricorgmilnomwebnicngonetaltedugovlawnisschoolgrondaraccoorgmilcomschnetedugovbizinfoprg1-zeropstritonstackitlimazeropsaccoorgmilgovяспборгкоммскбизмирсамаракрымсочиакодпроргобрупрצהלממשלישובאקדמיהองค์กรธุรกิจรัฐบาลศึกษาทหารเน็ต教育網絡組織公司政府個人닷넷한국澳门新闻澳門联通家電嘉里招聘通販닷컴삼성コムგეбгрфеюadcdbdgdidmdsdtdaebedeeegeiejekemenepereseveyegabacalamanauavapaqasazacfbfafgfnfpfwftfbgcgagggegkgngmgsgpgvgtgugilmlnlalclglplsltlhmimjmkmmmomambmcmdmfmgmzmpmsmtmgbbblbsbecccacnclcmcvctcscmhkhghchbhthphshlinikifigiaibicivisikninhnmncnbngnsnpnvntnjoionomobocoaofodorosotoptstttytatbtetgtithtmtltrusuvuaucueuguhulumunufjdjbjtjsjlkmkhkfkdkcktkukskpkgpmpnpkpjpgqaqmqiqsvtvcvbvmvlvrwpwtwzwbwcwawgwkwmwtrsrprgrfrercrbrarnrmrlrkrirhrwsusrssspsgsesbsaslsmsissxmxaxcxuypysylymykygybycyuztzsznzmzkzdzczbzazελευ世界台灣购物公益点看臺灣网络書籍在线网站手机机构大拿游戏信息台湾谷歌慈善商标香港中国餐厅网址中國商城食品微博政务移动集团公司八卦商店健康网店政府时尚佛山中信娱乐广东企业homedepotengineeringاماراتrepublicankuokgroupversicherungchannelcitadelxn--pgbs0dhxn--b4w605ferdstatebankwebsitexn--mgb9awbf亚马逊淡马锡alibabaxn--ngbc5azdxn--mgbbh1axn--45br5cyltoshibabuildworldcloudtradeguideplacespacedancemoviephoneprimesmilebiblestyleappleazurestoreskypegripexn--l1accdrivelottehorsehouseleasechasereisestadahondaomegaaetnaamicaninjanokiamediadeltavodkaedekaosakapizzaslingemailgmailtirolshelltmallfinallegaltotalhotelamfamforumrehabmusicciticricohcoachwatchboschearthfaithirishmiamiarchidubaiguccipraxiみんなストアセールcanonsalononionnikonepsonkoelngreensevencrownikanoradioaudioweiboglobopromogalloyahoociscorodeovideomangobingotokyovolvolottokyotophotosmartsportquesttrusthyattjetztadultcymrubaidutushuxn--kprw13dubankclickblackmerckgroupsharpcheapnowtvxn--h2brj9cקוםհայоргсрбмонкомбелмкдқазрусукрمصرقطرعربكومdadcfdmedwedredphdthdbidpidkrdmsdltdiceonewmeglemoerwecfageacbanbambaaaammakianraspacpaaxawtfbcgaegongingaigvigorgdogdhlmilrilonlaolloluoljllcalgalnflafltelsrlfrllplkimibmcamcombommomifmabbjcbscbcabnabtabmlbpubabcbbcnecincpncllcstcwtcpwcnyckfhbzhovhmoiskiobisbitcifyituipinvinwinxincbnbcnmanfangdnmenrenkpnmtnyunrunfununobiojioriohbogmofooboooooacoecoceongoproartistottnttbbtcateatlatvetpetbetnethktmitfitintjothotgotdotbotprueduicujnjyouinknhktdkappsapgapmapdnptopgopllpjmpzipvipripesqtrvdtvitvdevmovgovhivnrwlawsewnewbmwwownowhowdvrftrmtrsfrbarcartvscrseusawsupsubssbsadsddsldssasbmsmlsxxxboxfoxgmxtjxsextaxbuyflydiysoyjoyskypaydaygayxyzanzbizwebersenerpokerlameractortatarsolarລາວคอมไทยtourslocusnexuslexusgiftsbeatsboatspartspressglassswissकॉमनेटtiresgivescodeshomesgamestunesshoescardswalesloansvegastoolsdealsautosparisファッションworkssucksrocksxeroxforexfedexpartylillymoneystudyrugbytoraytoday中文网xn--unup4y天主教飞利浦新加坡enterprises我爱你嘉里大酒店christmasxn--fct429kholdingsxn--8y0a063axn--mgbx4cd0ablifestyleabogadoallstatenetbankكاثوليكxn--s9brj9cxn--gk3at1ebestbuycharityxn--55qx5dmicrosoftpropertybasketballhomegoodscorsicajewelrygallerygrocerysurgerycountrybrusselsverisignferreroxn--czr694bhdfcbankcommbanksoftbankپاكستانپاکستانnextdirectالسعوديهالعليانxn--h2brj9c8cxn--80adxhksshikshaxn--mgbai9azgqp6jcuisinellabarclayscatholicxn--kpry57dcompanyxn--xhq521bblackfridayxn--mgba3a3ejtsandvikxn--d1acj3bacademydownloadمليسياxn--j1amhxn--w4r85el8fhu5dnraipirangaathletaxn--fhbeixn--mgbqly7cvafrzuerichxn--c2br7gஇலங்கைcontractorsxn--io0a7igraphicsinsurancetemasekxn--xkc2al3hye2amotorcyclesphotographydirectoryplumbingxn--vhquvclothingtrainingcleaningwilliamhilllightingxn--mgba3a4f16ashoppingcateringeducationokinawapicturesventuresproductionsxn--9et52uwalmartഭാരതംsupportrealestatecapitalonexn--nqv7fs00emaauspostfloristdentistxn--qxamgodaddybradescobargainsmitsubishikerryhotelsxn--9dbq2axn--3pxu8kimmobilienxn--fjq720axn--mgbtx2bholidaymckinseymadridbusinessbuildershelsinkixn--4gbrimмоскваالسعودیةcoffeedegreelacaixapartnersalsaceofficeabbvievoyageorangegeorgeonlinechromemobilekindlegoogleoraclecircleschulesecureinsurexn--mgba7c0bbn0aestatexn--mgbc0a9azcgcruisehangoutxn--vuq861bxn--42c2d9arexrothfirestoneuniversityxn--nnx388alifeinsuranceextraspaceонлайнvermögensberatersoftwarexn--fiqs8sxn--mgbab2bdxn--w4rs40ltiendaभारतम्africatoyotaotsukasakuracameracreditcardnagoyaconsultingnetworkjunipertheatermonsterprogressivepioneerxn--55qw42gracingdatingvotingvikinglivinggivingxn--bck1b9a5dre4cbrotherweatherjoburgفلسطينlplfinancialxn--clchc0ea0b2g2a9gcdfutbolschoolsocialglobaldentalwoodsidechanelairtelmatteltravelrealtorwebcamstreamభారత్unicomalstomxn--nodexn--6frz82gmuseumfurniturexn--rvc1e0am3exn--mix891faccenturexn--11b4c3dismailineustardiscountquebeccomsecclinicservicesxn--y9a3aqxn--c1avgswatchchurchsearchالاردنmarketingcontacthealthmonashshoujisanofitaipeiamericanexpresssuzukiアマゾンクラウドポイントbhartiグーグルxn--mgberp4a5d4armemorialxn--1qqw23alondonmormoninstitutevisionbostonnortoncouponmaisonamazonvirginberlindesigndurbanolayannissananquanxihuanhitachikaufengardenreisenbayerntechnologydatsunxn--90a3aclatinocasinostudiophysioxn--ngbe9e0apharmacytattootaobaoaramcoexpertreportabbottdirectselectimamatfairwindspictettargetmarketintuittravelersinsurancecreditdupontryukyusuppliesxn--tckwebnpparibasschmidtmerckmsdyodobashirestaurantbridgestonecricketxn--fpcrj9c3dbostikbroadwayattorneylefrakemerckxn--fiq228c5hscareersfarmerswinnersflowersxn--wgbh1cguitarsxn--54b7fta0ccxn--p1acfmakeupgalluplandroverxn--kcrx77d1x4agoldpointbauhausxn--mgbayh7gpahiphopplaystationxn--mgba3a4fraxn--eckvdtc9dhyundaixn--gckr3f0fistanbulticketsmarketsflightschintaireviewsxn--3e0b707ewindowsxn--fiqz9sfinancialxn--fzys8d69uvgmابوظبيdiscoverreviewবাংলাxn--5su34j936bgsgmoscowobserverapartmentsдетиارامكوсайтeurovisionxn--i1b6b1a6a2exn--xkc2dl3a5ee0hتونسموقعبارتڀارتشبكةعمانبيتكعراقreadkredbondlandbandfundfoodprodgoldfordtubecafesafelifeggeeieeefreefagepagegugezonewinememenamegamesaleablebikenikelikecarecbreherefiresaveloveliveblueartedatesitevotecaseluxebofamodaltdaasdatiaayogasinavanashiaasiajavabbvatevavivadatazaraarpacasavisasncfprofmaifsurfgolfdvagsongbingpingwangkpmggoogblogpohlfailcooldellcalldeallidlsarlfilmteamroomfarmimdbarabclubhdfcicbchsbcgmbhrichtechfishdishcashminiernikddiaudiwikimobitaxicitikiwidesiqponskinloanakdnwienopenporncerntownimmolimoolloinfonicofidolegosaxozeroaerovivoautovotomotofastbestresthostpostnextlgbtchatseatgiftmeetdietreitmintrentgentspotscotguruitausohumenucyoubanklinkpinkdclktalksilkbookseekworkrsvpaarpjeepshopcoophelpcamppccwshowbeerstarruhrflirweirhaircarsparsjprshausplusnewstipstoysjobskidsfanspicsdocsxboxamexsexynavycitysonyarmyallybabyplaydeliverybuzzgbizlamborghiniphilipsලංකාಭಾರತfitnessexpresslanxesspfizercenterwalterlawyersoccercareerkosherbrokerlockerdealerdoctorauthorxn--mgbqly7c0a67fbcvermögensberatungjaguarxn--pssy2uxn--hxt814eflickrrepairrogersairbusxn--mgbai9a5eva00beventsyachtsxn--t60b56aভাৰতভারতभारतभारोतviajeshermeshughesxn--j1aefसंगठनvillasଭାରତclaimshotelsભારતzapposphotosjuegoscondostatamotorsgratistennisਭਾਰਤtkmaxxtjmaxxschaeffleryandexxn--80aswgrealtysafetybeautyluxuryxn--3ds443gsupplyfamilyxn--o3cw4hhockeysydneyxn--90aenissayalipayenergycomputeragencyxn--rovu88b電訊盈科xn--gecrj9cstatefarmaccountantaquarelleolayangroup香格里拉xn--p1ai组织机构xn--1ck2e1bxn--mgbt3dhdschwarzموريتانياabudhabinowruzkomatsufujitsuhospitalxn--80asehdbxn--mgbtf8flxn--j6w193gxn--yfro4i67oprudentialxn--flw351ecruisescoursesrecipesxn--e1a4cferrarixn--ses554gxn--wgbl6awatchesstaplessinglesxn--mgbcpq6gpa1axn--otu796dpropertiescreditunionxn--mgbah1a3hjkrdstockholmhisamitsuالسعوديةstcgroupdomainsoriginscouponsbloombergclubmedfroganslimitedxn--80aqecdr1aexposedinternationalequipmentbarclaycardxn--q7ce6axn--mgbi4ecexpprotectionassociatesconstructionxn--cck2b3bxn--45q11candroidfoundationישראלxn--mgbca7dzdocliniqueboutiqueengineerxn--qxa6asystemsfirmdalefashionauctionxn--nqv7finfinitirentalsreliancetradingweddingfishinghostinggentingbookingcookingxn--3hcrj9cgraingerxn--czrs0tdemocratsamsungyokohamaxn--h2breg3evexn--nyqy26alundbeckmelbournevacationssolutionsfrontierxn--vermgensberatung-pwbmanagementxn--cg4bkixn--mgb2ddeslincolnhamburgsandvikcoromantblockbusterairforcebarefootxn--4dbrk0ceinvestmentsfeedbackcommunityxn--ngbrxالبحرينdiamondsamsterdamhealthcareredumbrellaxn--mxtq1mxn--2scrj9cagakhanxn--mgbpl2fhкатоликcaravanசிங்கப்பூர்richardlimortgageamericanfamilyxn--fzc2c9e2cscholarshipssaarlandxn--imr513nvlaanderensamsclubgoodyearkitchenஇந்தியாweatherchannelallfinanzxn--kput3iالسعودیۃxn--90aisxn--efvy88hالجزائرxn--mgbaam7a8hexchangejpmorganxn--tiq49xqyjfidelitysecurityxn--mk1bu44cwanggouxn--fiq64bxn--6qq986b3xlxn--mgbbh1a71exn--80ao21amarshallsxn--5tzm5gtravelerspanasoniclatrobeyoutubeaccountantsxn--rhqv96gxn--cckwcxetdanalyticsxn--ygbi2ammxبازاربھارتسوريةorganicfreseniusسورياxn--9krt00axn--qcka1pmcxn--jlq480n2rgdeloittesciencefinancexn--jvr189mxn--30rr7yhomesensehotmailbaseballfootballleclercboehringerxn--q9jyb4cxn--mix082fاليمنهمراهpolitieسودانايرانایرانnetflixyamaxunxn--lgbbat1ad8jcollegestoragecapetowncolognekerrypropertiesxn--mgbgu82axn--ogbpf8flxn--czru2dwhoswhociprianilasallexn--g2xx48cforsalebanamexaudiblexn--vermgensberater-ctbxn--zfr164bericssonvanguardxn--45brj9cindustriestheatremarriottxn--3bst00mcomparexn--mgberp4a5d4a87gcapitaldigitalالمغربbarcelonashangrilaxn--d1alfcalvinkleinwwwcitysapporokawasakinagoyasendaikobekitakyushuyokohamackjp",sle=621,ole=625,Wj=Yl.length,Gj=w1.length,Kj=new Uint32Array(Gj),B0=new Uint32Array(Gj),N3=new Int32Array(Wj).fill(-1);for(let e=0,t=0;e<Wj;e+=1)for(let n=S1[e];n<S1[e+1];n+=1){Kj[n]=t;const r=t+w1[n];let a=5381;for(let s=r-1;s>=t;s-=1)a=a*33^O3.charCodeAt(s);B0[n]=a>>>0,w1[n]===1&&O3.charCodeAt(t)===42&&(N3[e]=n),t=r}let Po=-1,M3=0,P3=0;function PN(e,t,n,r){if(w1[e]!==r)return!1;const a=Kj[e];for(let s=0;s<r;s+=1)if(O3.charCodeAt(a+s)!==t.charCodeAt(n+s))return!1;return!0}function DN(e,t,n,r,a){let s=S1[e],i=S1[e+1];for(;s<i;){const c=s+i>>>1,u=B0[c];if(u<t)s=c+1;else if(u>t)i=c;else{for(let f=c;f>=s&&B0[f]===t;f-=1)if(PN(f,n,r,a))return f;for(let f=c+1;f<i&&B0[f]===t;f+=1)if(PN(f,n,r,a))return f;return-1}}return-1}function LN(e,t,n){let r=t,a=e.length,s=5381;Po=-1;for(let c=e.length-1;c>=0;c-=1){const u=e.charCodeAt(c);if(u===46){const f=c+1;let h=DN(r,s>>>0,e,f,a-f);if(h===-1&&(h=N3[r]),h===-1)return Po!==-1;r=MN[h],(Yl[r]&n)!==0&&(Po=r,M3=f,P3=a),a=c,s=5381}else s=s*33^u}let i=DN(r,s>>>0,e,0,a);return i===-1&&(i=N3[r]),i!==-1&&(r=MN[i],(Yl[r]&n)!==0&&(Po=r,M3=0,P3=a)),Po!==-1}function wPe(e,t,n){if(ale(e,t,n))return;const r=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0);if(LN(e,ole,r)){n.isIcann=(Yl[Po]&1)!==0,n.isPrivate=(Yl[Po]&2)!==0,n.publicSuffix=e.slice(P3+1);return}if(LN(e,sle,r)){n.isIcann=(Yl[Po]&1)!==0,n.isPrivate=(Yl[Po]&2)!==0,n.publicSuffix=e.slice(M3);return}n.isIcann=!1,n.isPrivate=!1;const a=e.lastIndexOf(".");n.publicSuffix=a===-1?e:e.slice(a+1)}const ile=()=>C.jsxs("div",{className:"hidden h-full w-[17%] min-w-40 max-w-64 shrink-0 flex-col gap-1 border-r border-line p-3 md:flex",children:[C.jsx("div",{className:"mb-3 h-6 w-24 rounded bg-surface-sunken"}),Array.from({length:6}).map((e,t)=>C.jsxs("div",{className:"flex items-center gap-2 py-1.5",children:[C.jsx("div",{className:"size-5 shrink-0 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3.5 flex-1 rounded bg-surface-sunken"})]},t))]}),lle=()=>C.jsx("div",{className:"min-w-0 flex-1",children:Array.from({length:8}).map((e,t)=>C.jsxs("div",{className:"flex items-start gap-3 border-b border-line py-2 pl-5 pr-4",children:[C.jsx("div",{className:"mt-0.5 size-7 shrink-0 rounded-full bg-surface-sunken"}),C.jsxs("div",{className:"flex-1 space-y-1.5",children:[C.jsxs("div",{className:"flex justify-between gap-2",children:[C.jsx("div",{className:"h-3.5 w-28 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3 w-12 rounded bg-surface-sunken"})]}),C.jsx("div",{className:"h-3.5 w-48 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3 w-full rounded bg-surface-sunken"})]})]},t))}),Bv=()=>C.jsxs("div",{className:"flex h-full animate-pulse bg-canvas","aria-hidden":"true",children:[C.jsx(ile,{}),C.jsx(lle,{})]}),Hv="fbab7fe39eec4db52360d650fdcb72b86cdcd28e",cle="2026-10-27T08:57:49.280Z",ule=Hv.slice(0,7),dle=/^[0-9a-f]{40}$/.test(Hv),fle=dle?`https://github.com/remit-mail/reader/commit/${Hv}`:void 0;class qv extends Error{constructor(t,n,r){super(t),this.status=n,this.body=r,this.name="ApiError"}status;body}const D3=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),cA=e=>{const t=e instanceof qv?e.body:e;if(!D3(t))return;const{code:n,details:r}=t;if(typeof n=="string")return{code:n,details:D3(r)?r:void 0}},hle=(e,t)=>{if(D3(e)&&e.message!==void 0&&e.message!==null){const n=String(e.message);if(n)return n}return`Request failed with status ${t}`},ple=(e,t)=>new qv(hle(e,t),t,e),xa=e=>{if(e instanceof qv)return e.status;if(e&&typeof e=="object"){const t=e;if(typeof t.status=="number")return t.status;if(typeof t.statusCode=="number")return t.statusCode}},Yj=e=>xa(e)!==void 0,Vv=e=>{const t=xa(e);return t!==void 0&&t>=500&&t<=599},Wv=e=>!!(typeof DOMException<"u"&&e instanceof DOMException&&e.name==="AbortError"||e&&typeof e=="object"&&"name"in e&&e.name==="AbortError"),mle=()=>typeof navigator<"u"&&navigator.onLine===!1,Zj=e=>Wv(e)||Yj(e)?!1:e instanceof Bk?!0:mle(),gle=e=>!Yj(e)&&!Wv(e)&&!Zj(e),Xj=e=>Vv(e)||gle(e),Qj=e=>xa(e)===401,vle=(e,t)=>{if(t?.softError===!0)return!0;const n=t?.softErrorStatuses;if(!Array.isArray(n))return!1;const r=xa(e);return r!==void 0&&n.includes(r)},yle=[502,503,504],ble=(e,t)=>{if(t?.restartExpected!==!0)return!1;const n=xa(e);return n!==void 0&&yle.includes(n)},uA=(e,t,n="nobody")=>Vv(e)?!ble(e,t):Wv(e)||Zj(e)?!1:n==="user"&&Qj(e)||Xj(e)?!0:!vle(e,t),dA={softError:!0},fA=(...e)=>({softErrorStatuses:e}),Sle={restartExpected:!0},wle=e=>xa(e)===404,xle=e=>Vv(e),L3=new Set;let Jj=null,eF=null;const Cle=e=>{eF=e},Ele=e=>e instanceof Error?e:new Error(tF(e)),tF=e=>e instanceof Error?e.message||e.name:typeof e=="string"?e:e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:"An unexpected server error occurred.",_le=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`fatal-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,sl=(e,t)=>{const n={error:e,message:tF(e),correlationId:_le(),at:Date.now(),recoverable:t?.recoverable??xle(e),stack:e instanceof Error?e.stack:void 0,componentStack:t?.componentStack};Jj=n,Ole(`Fatal: ${n.message} [${n.correlationId}]`),eF?.recordError(Ele(e),{fatal:"true",correlationId:n.correlationId});for(const r of L3)r(n);return n},kle=e=>(L3.add(e),()=>{L3.delete(e)}),Ale=()=>Jj,Ile=20,H0=[],Tle=new Set(["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"]);function Rle(e){return typeof e!="string"?!1:Tle.has(e.replace(/\.\s*$/,""))}function q0(e){H0.push(e),H0.length>Ile&&H0.shift()}function Ole(e){q0(e)}function Nle(e){return e.map(t=>{if(typeof t=="string")return t;if(t instanceof Error)return`${t.name}: ${t.message}`;try{return JSON.stringify(t)}catch{return String(t)}}).join(" ")}function Mle(){const e=console.error.bind(console);console.error=(...t)=>{q0(Nle(t)),e(...t)},window.addEventListener("error",t=>{Rle(t.message)||(q0(`Uncaught ${t.error instanceof Error?`${t.error.name}: ${t.error.message}`:String(t.message)} (${t.filename}:${t.lineno})`),sl(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{const n=t.reason,r=n instanceof Error?`${n.name}: ${n.message}`:String(n);q0(`Unhandled rejection: ${r}`),sl(n)})}function Ple(){return H0.slice()}const Dle=8,Wu=[];function Lle(e){const t=e.split(/[?#]/)[0],n=Wu[Wu.length-1];n&&n.path===t||(Wu.push({path:t,timestamp:new Date().toISOString()}),Wu.length>Dle&&Wu.shift())}function Ule(){return Wu.slice()}const Dw=7500,UN=`
148
+ }`;Uj(sie);var fPe=function(e){var t=e.isPullable,n=t===void 0?!0:t,r=e.canFetchMore,a=r===void 0?!1:r,s=e.onRefresh,i=e.onFetchMore,c=e.refreshingContent,u=c===void 0?F.createElement(rie,null):c,f=e.pullingContent,h=f===void 0?F.createElement(aie,null):f,m=e.children,g=e.pullDownThreshold,y=g===void 0?67:g,w=e.fetchMoreThreshold,b=w===void 0?100:w,x=e.maxPullDownDistance,E=x===void 0?95:x,k=e.resistance,A=k===void 0?1:k,R=e.backgroundColor,P=e.className,O=P===void 0?"":P,T=_.useRef(null),M=_.useRef(null),z=_.useRef(null),q=_.useRef(null),U=!1,L=!1,B=!1,G=0,ie=0;_.useEffect(function(){if(!(!n||!M||!M.current)){var Y=M.current;return Y.addEventListener("touchstart",re,{passive:!0}),Y.addEventListener("mousedown",re),Y.addEventListener("touchmove",pe,{passive:!1}),Y.addEventListener("mousemove",pe),window.addEventListener("scroll",_e),Y.addEventListener("touchend",j),Y.addEventListener("mouseup",j),document.body.addEventListener("mouseleave",j),function(){Y.removeEventListener("touchstart",re),Y.removeEventListener("mousedown",re),Y.removeEventListener("touchmove",pe),Y.removeEventListener("mousemove",pe),window.removeEventListener("scroll",_e),Y.removeEventListener("touchend",j),Y.removeEventListener("mouseup",j),document.body.removeEventListener("mouseleave",j)}}},[m,n,s,y,E,a,b]),_.useEffect(function(){var Y;if(!((Y=T)===null||Y===void 0)&&Y.current){var Z=T.current.classList.contains("ptr--fetch-more-treshold-breached");Z||a&&$()<b&&i&&(T.current.classList.add("ptr--fetch-more-treshold-breached"),L=!0,i().then(X).catch(X))}},[a,m]);var $=function(){if(!M||!M.current)return-1;var Y=window.scrollY,Z=M.current.scrollHeight;return Z-Y-window.innerHeight},X=function(){requestAnimationFrame(function(){M.current&&(M.current.style.overflowX="hidden",M.current.style.overflowY="auto",M.current.style.transform="unset"),z.current&&(z.current.style.opacity="0"),T.current&&(T.current.classList.remove("ptr--pull-down-treshold-breached"),T.current.classList.remove("ptr--dragging"),T.current.classList.remove("ptr--fetch-more-treshold-breached")),U&&(U=!1),L&&(L=!1)})},re=function(Y){B=!1,Y instanceof MouseEvent&&(G=Y.pageY),window.TouchEvent&&Y instanceof TouchEvent&&(G=Y.touches[0].pageY),ie=G,!(Y.type==="touchstart"&&Lj(Y.target,up.UP))&&(M.current.getBoundingClientRect().top<0||(B=!0))},pe=function(Y){if(B){if(window.TouchEvent&&Y instanceof TouchEvent?ie=Y.touches[0].pageY:ie=Y.pageY,T.current.classList.add("ptr--dragging"),ie<G){B=!1;return}Y.cancelable&&Y.preventDefault();var Z=Math.min((ie-G)/A,E);Z>=y&&(B=!0,U=!0,T.current.classList.remove("ptr--dragging"),T.current.classList.add("ptr--pull-down-treshold-breached")),!(Z>=E)&&(z.current.style.opacity=(Z/65).toString(),M.current.style.overflow="visible",M.current.style.transform="translate(0px, "+Z+"px)",z.current.style.visibility="visible")}},_e=function(Y){L||a&&$()<b&&i&&(L=!0,T.current.classList.add("ptr--fetch-more-treshold-breached"),i().then(X).catch(X))},j=function(){if(B=!1,G=0,ie=0,!U){z.current&&(z.current.style.visibility="hidden"),X();return}M.current&&(M.current.style.overflow="visible",M.current.style.transform="translate(0px, "+y+"px)"),s().then(X).catch(X)};return F.createElement("div",{className:"ptr "+O,style:{backgroundColor:R},ref:T},F.createElement("div",{className:"ptr__pull-down",ref:z},F.createElement("div",{className:"ptr__loader ptr__pull-down--loading"},u),F.createElement("div",{className:"ptr__pull-down--pull-more"},h)),F.createElement("div",{className:"ptr__children",ref:M},m,F.createElement("div",{className:"ptr__fetch-more",ref:q},F.createElement("div",{className:"ptr__loader ptr__fetch-more--loading"},u))))};const oie=1024,iie=`(min-width: ${oie}px) and (not ((orientation: portrait) and (pointer: coarse)))`,lie=e=>{const[t,n]=_.useState(()=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(e).matches);return _.useEffect(()=>{if(typeof window>"u"||!window.matchMedia)return;const r=window.matchMedia(e);n(r.matches);const a=s=>n(s.matches);return r.addEventListener("change",a),()=>r.removeEventListener("change",a)},[e]),t},cie=e=>e===1?"message":"messages",y1=e=>`${e.toLocaleString()} ${cie(e)}`,Mw=(e,t)=>e.kind==="delete"?`delete ${y1(e.count)}`:t===void 0?"empty it":`empty ${y1(t)}`,zj=e=>e.kind==="delete"?"Nothing has been deleted.":"Nothing has been emptied.",uie=(e,t,n={})=>{const{trashFolderLabel:r,staleFolderLabel:a,selectedCount:s}=n,i=zj(t);if(e==="none")return{title:"No folder is set as Trash",description:`${i} reader files deleted mail in the folder you set as Trash, and this account has none.`,pickerPrompt:"Which folder does this account use for deleted mail?",confirmLabel:`Set as Trash and ${Mw(t,void 0)}`,cancelLabel:"Cancel"};if(e==="stale")return{title:"The Trash folder you chose is gone",description:a?`${i} You set ${a} as this account's Trash and it is no longer on the mail server — another mail app may have renamed or removed it.`:`${i} The folder you set as this account's Trash is no longer on the mail server — another mail app may have renamed or removed it.`,pickerPrompt:"Which folder should reader use instead?",confirmLabel:`Set as Trash and ${Mw(t,void 0)}`,cancelLabel:"Cancel"};const c=t.kind==="delete"?`Deleting ${y1(t.count)} there erases them from the mail server, and that cannot be restored.`:"Emptying a folder erases everything in it from the mail server, and that cannot be restored.";return{title:"Confirm this account's Trash folder",description:r?`${i} reader files this account's deleted mail in ${r} because of its name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`:`${i} reader files this account's deleted mail in a folder it matched by name — you never chose it, and the mail server doesn't mark it as Trash. ${c}`,pickerPrompt:r?`Confirm ${r}, or pick the folder this account really uses.`:"Pick the folder this account really uses for deleted mail.",confirmLabel:`Set as Trash and ${Mw(t,s)}`,cancelLabel:"Cancel"}},die=(e,t,n,r)=>e.kind==="appointing"?{headline:"Setting the Trash folder…",status:n}:t.kind==="delete"?{headline:`Deleting ${y1(t.count)}…`,status:r?`Erasing them from ${n}. This can't be undone.`:`Moving them to ${n}`}:{headline:`Emptying ${n}…`,status:"This can't be undone."},fie=(e,t,n,r)=>e==="unconfirmed"&&t.kind==="delete"&&n!==void 0&&r===n,hie=(e,t,n)=>e==="mailbox-pending"?`${n} is still being created on the mail server. Wait for it to finish, then try again.`:`Couldn't set that folder as Trash. ${zj(t)} Please try again.`,pie=({open:e,reason:t,action:n,folders:r,delimiter:a,trashFolderLabel:s,guessedMailboxId:i,staleFolderLabel:c,accountEmail:u,phase:f,selectedId:h,onSelect:m,onCreateFolder:g,onConfirm:y,onCancel:w})=>{const b=_.useRef(null),x=f.kind==="appointing"||f.kind==="acting";_.useEffect(()=>{x&&b.current?.focus()},[x]);const E=r.find(P=>P.id===h),k=uie(t,n,{trashFolderLabel:s,staleFolderLabel:c,selectedCount:E?.messageCount}),A=fie(t,n,i,h),R=n.kind==="emptyTrash"||A;if(!e)return null;if(x){const P=die(f,n,E?.label??"",A);return C.jsx(S3,{open:e,onClose:()=>{},title:k.title,children:C.jsxs("div",{ref:b,"data-escape-owner":!0,tabIndex:-1,className:"flex flex-col items-center gap-3 px-5 py-10 text-center outline-none",children:[C.jsx(ap,{className:"size-8 animate-spin text-accent-2"}),C.jsx("p",{className:"text-sm font-medium text-fg",children:P.headline}),C.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:P.status})]})})}return C.jsxs(S3,{open:e,onClose:w,title:k.title,children:[C.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[C.jsx(pc,{className:`size-4 shrink-0 ${R?"text-danger":"text-warning"}`}),C.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:k.title})]}),C.jsxs("div",{className:"flex max-h-[70vh] flex-col",children:[C.jsxs("div",{className:"space-y-1 px-5 py-4",children:[C.jsx("p",{className:"text-sm text-fg-muted",children:k.description}),u&&C.jsx("p",{className:"text-xs text-fg-subtle",children:u})]}),f.kind==="appoint-failed"&&C.jsx("div",{className:"px-5 pb-3",children:C.jsx(sp,{tone:"danger",variant:"soft",children:hie(f.cause,n,E?.label??"That folder")})}),C.jsx("p",{className:"px-5 pb-2 text-sm text-fg-muted",children:k.pickerPrompt}),C.jsx("div",{className:"flex h-[26rem] min-h-0 flex-1 overflow-hidden",children:C.jsx(aA,{folders:r,selectedId:h,delimiter:a,onSelect:m,onCreateFolder:t==="none"?g:void 0,onCancel:w,labels:{treeAriaLabel:"Folders on this account",optionLabel:P=>`Set ${P.label}${P.messageCount===void 0?"":`, ${P.messageCount} messages`}, as Trash`}})})]}),C.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[C.jsx(Kt,{variant:"secondary",size:"sm",onClick:w,children:k.cancelLabel}),E&&C.jsx(Kt,{variant:R?"danger":"primary",size:"sm",onClick:()=>y(E.id),children:C.jsx("span",{className:"truncate",children:k.confirmLabel})})]})]})};function mie(e){return e.scopedOutFolder!==void 0||(e.droppedFacets?.length??0)>0}function gie(e){return`Your search was limited to ${e}. This filter matches these messages in any folder — it can't be pinned to one.`}const jj=e=>e.length===1?e[0]:e.length===2?`${e[0]} and ${e[1]}`:`${e.slice(0,-1).join(", ")} and ${e[e.length-1]}`;function vie(e){const t=e.length===1?"a filter condition":"filter conditions",n=e.length===1?"isn't":"aren't";return`${jj(e)} ${n} ${t}, so ${e.length===1?"it was":"they were"} left out — the filter still matches everything else you searched for.`}const Pw="add a sender or words to filter on";function hPe(e){if(e.length===0)return`${Pw[0].toUpperCase()}${Pw.slice(1)}`;const t=e.length===1?"isn't":"aren't",n=e.length===1?"a filter condition":"filter conditions";return`${jj(e)} ${t} ${n} — ${Pw}`}function AN({icon:e,children:t}){return C.jsxs("li",{className:"flex items-start gap-2",children:[C.jsx("span",{className:"mt-0.5 shrink-0 text-fg-subtle","aria-hidden":"true",children:e}),C.jsx("span",{children:t})]})}function yie({notice:e}){return mie(e)?C.jsxs("div",{className:"rounded-md border border-line bg-surface-sunken px-3 py-2.5",children:[C.jsx("p",{className:"text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:"From your search"}),C.jsxs("ul",{className:"mt-1.5 space-y-1.5 text-xs text-fg-muted",children:[e.scopedOutFolder!==void 0&&C.jsx(AN,{icon:C.jsx(vne,{className:"size-3.5"}),children:gie(e.scopedOutFolder)}),e.droppedFacets&&e.droppedFacets.length>0&&C.jsx(AN,{icon:C.jsx(Cz,{className:"size-3.5"}),children:vie(e.droppedFacets)})]})]}):null}const bie={delete:{label:"Delete",present:"Deleting",past:"Deleted",destructive:!0},move:{label:"Move",present:"Moving",past:"Moved",destructive:!1},junk:{label:"Junk",present:"Marking as junk",past:"Marked as junk",destructive:!0},markRead:{label:"Mark read",present:"Marking read",past:"Marked read",destructive:!1},organize:{label:"Organize",present:"Organizing",past:"Organized",destructive:!1}},sA=e=>bie[e],Sie={match:"Apply to",properties:"Properties",folder:"Folder",rule:"Rule",name:"Name",review:"Review",run:"Run"},Fj=e=>Sie[e],pPe=({verb:e,mode:t,scope:n,fromSearch:r})=>{const a=r?["properties"]:t==="properties"?["match","properties"]:["match"];return e==="move"?[...a,"folder","review","run"]:e==="organize"?n==="standing"||n==="until"?[...a,"folder","rule","name","review","run"]:[...a,"folder","rule","review","run"]:[...a,"review","run"]},$v=(e,t)=>Math.max(0,e.indexOf(t)),wie=(e,t)=>$v(e,t)===0||t==="run",$j=(e,t)=>({clauses:[...e.clauses],matchOperator:e.matchOperator,moveMailboxId:e.moveMailboxId,scope:t,until:e.until,name:e.name}),Bj=e=>uj($j(e,e.scope??"once")),IN=e=>{if(!(e.scope!=="standing"&&e.scope!=="until")&&!cj($j(e,e.scope)))return ba.noMatch},xie="A rule only works within one account — clear the selection, or pick messages from a single account.",Cie="A destination only works within one account — clear the selection, or pick messages from a single account.",Eie="Matching beyond the messages you picked only works within one account — clear the selection, or pick messages from a single account.",_ie="A rule only works within one folder — clear the selection, or pick messages from a single folder.",kie="A destination only works within one folder — clear the selection, or pick messages from a single folder.",Aie={spansAccounts:{rule:xie,destination:Cie},spansFolders:{rule:_ie,destination:kie}},Iie="A match this wide applies once — use “Make this a filter” above the results to keep doing it.",mPe=(e,t)=>e==="escalated"?Iie:t.rule,gPe=(e,t)=>{const n=e===void 0?"spansAccounts":t;if(!n)return{accountId:e};const r=Aie[n];return{accountId:n==="spansAccounts"?void 0:e,rule:r.rule,destination:r.destination}},Tie=e=>e===void 0?["selected"]:["selected","properties"],Rie="This matches no messages, so there is nothing to do. Go back and change what it applies to.",Oie="Fill in every property, or take the empty one off.",Nie="Pick a destination first.",Mie="Choose one of the three first.",vPe=(e,t,n)=>{if(e==="properties")return t.clauses.length===0?ba.noMatch:t.clauses.some(r=>r.value.trim()==="")?Oie:void 0;if(e==="folder")return t.moveMailboxId?void 0:Nie;if(e==="rule"){if(!t.scope)return Mie;const r=IN(t);return r||(t.scope==="once"&&Bj(t).length>0?ba.bodyTextOnce:t.scope==="until"&&!t.until?.trim()?ba.noUntilDate:void 0)}if(e==="name"&&!t.name?.trim())return ba.unnamed;if(e==="review"){const r=IN(t);return r||(n.status==="uncounted"?void 0:n.status==="ready"&&n.count===0&&!n.stale?Rie:hj(n))}},Pie="Nothing matches this yet. Widen a property, or match on a different one.",oA=({state:e,verb:t,scope:n,matched:r,applied:a,failed:s,failureReason:i})=>{const{label:c,present:u,past:f}=sA(t),h=f.toLowerCase(),m=n==="standing"||n==="until",y={screenTitle:e==="saving"||e==="backApplyRunning"||e==="statusUnknown"||e==="commitFailed"?c:"Done",showProgress:e==="backApplyRunning"||e==="backApplyComplete"||e==="backApplyFailed"||e==="backApplyRestartFailed"||e==="statusUnknown"||e==="runStopped",failureListLabel:`Not ${h}`};return e==="saving"?{...y,title:m?"Saving rule…":"Applying…",detail:"Nothing has been changed yet.",tone:"progress",dismissLabel:"Close"}:e==="backApplyRunning"?{...y,title:m?"Rule saved. Moving the mail already in your mailbox…":`${u} ${r} messages…`,detail:"This keeps running if you close the wizard.",tone:"progress",dismissLabel:"Close",cancelLabel:"Stop the run"}:e==="statusUnknown"?{...y,title:m?"Rule saved. Its progress over your existing mail is unknown":`${u} — progress unknown`,detail:m?"The connection dropped, so the bar shows the last that was read. The pass runs on the mail server, and the rule keeps working on new mail either way. This keeps checking.":"The connection dropped, so the bar shows the last that was read. The run is on the mail server and carries on either way. This keeps checking.",tone:"warning",dismissLabel:"Close",retryLabel:"Check again"}:e==="backApplyComplete"?{...y,title:m?"Rule saved and applied":`${f} ${a}`,detail:m?`${a} of ${r} already in your mailbox ${h}. New mail follows the rule as it arrives.`:`Every message the match reached was ${h}. Your mail server is still catching up, so the list can lag behind.`,tone:"success",dismissLabel:"Done"}:e==="backApplyFailed"?{...y,title:m?"Rule saved — some mail stayed put":`Not everything was ${h}`,detail:`${a} of ${r} ${h} · the mail server rejected ${s}.${m?" The rule itself is saved and keeps working on new mail.":""}`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="runStopped"?{...y,title:`Stopped after ${a}`,detail:`${a} of ${r} ${h}. The rest were not sent, apart from the ones already on their way when you stopped — those may still have gone through.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyRestartFailed"?{...y,title:m?"Rule saved — the retry didn't start":"The retry didn't start",detail:`${a} of ${r} ${h} · the mail server rejected ${s}, which are still where they were.${m?" The rule itself is saved and keeps working on new mail.":""} Check your connection and try again.`,tone:"warning",dismissLabel:"Close",retryLabel:`Retry ${s}`}:e==="backApplyStartFailed"?{...y,title:"Rule saved",detail:"New mail follows it automatically. The pass over the mail already in your mailbox never started.",tone:"warning",dismissLabel:"Not now",retryLabel:"Run it over existing mail"}:e==="filterSaved"?{...y,title:"Filter saved",detail:"There is no mail in your mailbox to apply it to yet. New mail follows it as it arrives. You can see it, and when it expires, under Settings › Filters.",tone:"success",dismissLabel:"Done"}:{...y,title:m?"Couldn't save the rule":`Couldn't start ${c.toLowerCase()}`,detail:i??"Nothing has changed.",tone:"danger",dismissLabel:i===void 0?"Not now":"Close",retryLabel:i===void 0?"Try again":void 0}},Die=e=>`${fd(e.field)} "${e.value}"`,Hj=(e,t)=>e.map(Die).join(` ${rA(t)} `),R3=(e,t)=>e==="selected"?`These ${t} messages`:"Its properties",TN=e=>e==="selected"?"Only the messages ticked in the list.":Mae,qj=e=>`Every message ${e}`,iA="the list is showing",Lie="This reaches every match on the mail server, including the ones the list has not loaded. The search is already the match, so there is nothing to widen.",Uie="This covers messages not shown in the list, and anything else matching by the time it runs.",zie=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a})=>e==="escalated"?qj(a??iA):e==="properties"?Hj(n,r):R3(e,t),jie=({mode:e,selectedCount:t,clauses:n,matchOperator:r,escalatedScope:a,escalatedCount:s})=>{if(e==="selected")return`${t} messages`;if(e==="escalated"){const i=a??iA;return s===void 0?`every message ${i}`:`all ${s.toLocaleString()} messages ${i}`}return n.length===0?"every message":`every message where ${Hj(n,r)}`};function Fie({title:e,subtitle:t,steps:n,step:r,onBack:a,onExit:s,footer:i,children:c}){return C.jsx(cse,{title:e,subtitle:t,steps:n.map(Fj),activeStep:$v(n,r),onBack:a,onExit:s,footer:i,children:c})}function qh({selected:e,title:t,description:n,unavailable:r,onSelect:a,children:s}){const i=_.useId();return C.jsxs("div",{className:"space-y-1.5",children:[C.jsxs("button",{type:"button",onClick:a,"aria-pressed":e,"aria-describedby":r&&s?i:void 0,className:Pe("flex w-full items-start gap-3 rounded-lg border p-3 text-left transition-colors",e?"border-accent bg-accent-soft":"border-line bg-surface hover:bg-surface-sunken",r&&"opacity-55"),children:[C.jsx("span",{className:Pe("mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full border",e?"border-accent bg-accent text-accent-fg":"border-line"),children:e&&C.jsx(Nv,{className:"size-3"})}),C.jsxs("span",{className:"min-w-0 flex-1",children:[C.jsx("span",{className:"block text-sm font-medium text-fg",children:t}),C.jsx("span",{className:"mt-0.5 block text-xs text-fg-muted",children:n})]})]}),s&&C.jsx("div",{id:i,children:s})]})}const $ie=(e,t)=>e.status==="uncounted"?"The first matches. The total is not known until the run finishes.":e.status==="ready"&&e.count>t&&!e.stale?`and ${e.count-t} more`:dj(e),Bie=(e,t)=>t?"Fetching the messages this covers…":e.status==="error"?e.reason:Pie;function b1({messages:e,count:t,label:n,loading:r}){return C.jsxs("section",{className:"flex flex-col rounded-lg border border-line bg-surface",children:[C.jsx("h2",{className:"shrink-0 border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:n}),e.length===0?C.jsx("p",{className:"px-3 py-4 text-xs text-fg-muted",children:Bie(t,r)}):C.jsxs(C.Fragment,{children:[C.jsx("ul",{className:"min-h-0 max-h-[45dvh] divide-y divide-line overflow-y-auto overscroll-contain md:max-h-[17rem]",children:e.map(a=>C.jsxs("li",{className:"px-3 py-2",children:[C.jsxs("div",{className:"flex items-baseline justify-between gap-2",children:[C.jsx("span",{className:"truncate text-xs font-medium text-fg",children:a.sender}),C.jsx("span",{className:"shrink-0 text-2xs text-fg-subtle",children:a.date})]}),C.jsx("p",{className:"truncate text-xs text-fg-muted",children:a.subject})]},a.id))}),C.jsx("p",{className:"shrink-0 border-t border-line px-3 py-2 text-2xs text-fg-subtle",children:$ie(t,e.length)})]})]})}function RN({onBack:e,nextLabel:t,onNext:n,nextVariant:r="primary",blockedReason:a,nudged:s}){const i=_.useId();return C.jsxs("div",{className:"space-y-2",children:[a&&C.jsx(vae,{id:i,reason:a,nudged:s,className:"px-1 text-2xs text-warning"}),C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"touch",onClick:e,icon:C.jsx(Sz,{className:"size-4"}),className:"shrink-0",children:"Back"}),C.jsxs(Kt,{variant:r==="danger"?"danger":"primary",size:"touch",onClick:n,"aria-describedby":a?i:void 0,className:Pe("flex-1",a&&"opacity-55"),children:[t,r==="primary"&&C.jsx(cne,{className:"size-4"})]})]})]})}function Hie({selectedCount:e,mode:t,accountId:n,onModeChange:r,escalatedScope:a,sample:s}){if(t==="escalated")return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"rounded-lg border border-accent bg-accent-soft p-3",children:[C.jsx("p",{className:"text-sm font-medium text-fg",children:qj(a??iA)}),C.jsx("p",{className:"mt-1 text-xs text-fg-muted",children:Lie})]}),C.jsx("div",{className:"mt-4",children:C.jsx(b1,{...s})})]});const c=Tie(n).length>1;return C.jsxs(C.Fragment,{children:[C.jsxs("div",{className:"space-y-2",children:[!c&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:Eie}),C.jsx(qh,{selected:t==="selected",onSelect:()=>r("selected"),title:R3("selected",e),description:TN("selected")}),c&&C.jsx(qh,{selected:t==="properties",onSelect:()=>r("properties"),title:R3("properties",e),description:TN("properties")})]}),C.jsx("div",{className:"mt-4",children:C.jsx(b1,{...s})})]})}const qie=[{value:"all",label:g1("all")},{value:"any",label:g1("any")}];function Vie({clauses:e,matchOperator:t,onMatchOperatorChange:n,clauseEdit:r,onStartAddClause:a,onStartEditClause:s,onRemoveClause:i,onChangeDraft:c,onSubmitClause:u,onCancelClause:f,clauseFields:h,clauseSuggestions:m,conversionNotice:g,sample:y}){const w=rA(t);return C.jsxs("div",{className:"space-y-4",children:[g&&C.jsx(yie,{notice:g}),C.jsxs("div",{className:"flex flex-wrap items-center gap-1.5",children:[e.map((b,x)=>C.jsxs(_.Fragment,{children:[x>0&&C.jsx("span",{className:"text-2xs font-medium uppercase text-fg-subtle",children:w}),C.jsx(mj,{clause:b,onEdit:()=>s(b.id),onRemove:()=>i(b.id)})]},b.id)),!r&&C.jsx(gj,{label:"Add clause",onClick:a})]}),r&&C.jsx(vj,{draft:r.draft,mode:r.mode,fields:h,suggestions:m,onChangeField:b=>c({...r.draft,field:b}),onChangeValue:b=>c({...r.draft,value:b}),onSubmit:u,onCancel:f}),e.length>1&&C.jsxs("div",{className:"flex items-center gap-2",children:[C.jsx("span",{className:"text-xs text-fg-muted",children:"Match"}),C.jsx(k3,{name:"wizard-match-operator",size:"sm","aria-label":"Match operator",options:qie,value:t,onChange:n})]}),C.jsx("p",{className:"px-1 text-xs text-fg-muted",children:"We started you off from what you were looking at. Change any of it — this is where the rule is decided, not the list behind it."}),C.jsx(b1,{...y})]})}function Wie({folders:e,mailboxId:t,onSelect:n,onCreateFolder:r,delimiter:a,restriction:s}){const i=e.find(c=>c.id===t);return C.jsxs("div",{className:"flex min-h-0 flex-col gap-3",children:[C.jsx("p",{className:Pe("px-1 text-xs",s?"text-warning":"text-fg-muted"),children:s??(i?`Moving to ${i.label}.`:"Tap a folder to open it, or make a new one where you want it.")}),C.jsx("div",{className:"flex min-h-0 flex-1 overflow-hidden rounded-lg border border-line bg-surface",children:C.jsx(aA,{folders:e,selectedId:t,onSelect:n,onCreateFolder:r,delimiter:a,labels:{createPending:"Waiting for the mail server to confirm the folder…"}})})]})}function Gie({draft:e,onScopeChange:t,onUntilChange:n,restriction:r}){const a=_.useId(),{scope:s,until:i=""}=e,c=Bj(e).length>0,u=r&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:r});return C.jsxs("div",{className:"space-y-2",children:[C.jsx(qh,{selected:s==="once",onSelect:()=>t("once"),title:F0("once"),description:"A one-off tidy-up. Nothing changes for future mail.",children:c&&C.jsx("p",{className:"px-1 text-2xs text-warning",children:ba.bodyTextOnce})}),C.jsx(qh,{selected:s==="standing",unavailable:!!r,onSelect:()=>t("standing"),title:F0("standing"),description:"Saves a rule and applies it to new mail as it arrives, and to the mail already in your mailbox. You'll name it next.",children:u}),C.jsxs(qh,{selected:s==="until",unavailable:!!r,onSelect:()=>t("until"),title:F0("until"),description:"The same rule, and it stops on a day you pick.",children:[u,s==="until"&&C.jsxs("div",{className:"rounded-lg border border-line bg-surface p-2",children:[C.jsx(nA,{htmlFor:a,children:"Stops on"}),C.jsx(hs,{id:a,type:"date",value:i,onChange:f=>n(f.target.value)})]})]})]})}function Kie({name:e,onNameChange:t,nudged:n}){const r=_.useId(),a=_.useRef(null);return _.useEffect(()=>{n&&a.current?.focus()},[n]),C.jsxs(C.Fragment,{children:[C.jsx(nA,{htmlFor:r,children:"Rule name"}),C.jsx(hs,{id:r,ref:a,value:e,placeholder:"Travel confirmations",onChange:s=>t(s.target.value),trailing:e?C.jsx("button",{type:"button","aria-label":"Clear name",onClick:()=>{t(""),a.current?.focus()},className:"-mr-1 flex size-7 shrink-0 items-center justify-center rounded-full text-fg-subtle hover:bg-surface hover:text-fg",children:C.jsx($o,{className:"size-4"})}):void 0}),C.jsx("p",{className:"mt-2 text-xs text-fg-muted",children:"We suggested one from this selection. Clear it and write your own if it doesn't read right."})]})}function Yie({verb:e,mode:t,selectedCount:n,clauses:r,matchOperator:a,folder:s,scope:i,until:c,ruleName:u,escalatedScope:f,sample:h}){const{label:m}=sA(e),g={mode:t,selectedCount:n,clauses:r,matchOperator:a,escalatedScope:f,escalatedCount:h.count.status==="ready"?h.count.count:void 0},y=t!=="selected",w=i==="standing"||i==="until";return C.jsxs("div",{className:"space-y-4",children:[C.jsxs("div",{className:"rounded-lg border border-line bg-surface p-3",children:[C.jsxs("p",{className:"text-sm text-fg",children:[C.jsx("span",{className:"font-semibold",children:m})," ",jie(g),s?` to ${s}`:"",w&&C.jsxs(C.Fragment,{children:[" ","and ",C.jsx("span",{className:"font-medium",children:"save a rule"})," that keeps doing it"]}),i==="until"&&c&&` until ${c}`,"."]}),y&&C.jsxs("p",{className:"mt-2 flex items-start gap-1.5 text-xs text-warning",children:[C.jsx(pc,{className:"mt-px size-3.5 shrink-0"}),t==="escalated"?Uie:"This covers messages not shown in the list."]})]}),C.jsxs("dl",{className:"divide-y divide-line overflow-hidden rounded-lg border border-line bg-surface text-xs",children:[C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Action"}),C.jsx("dd",{className:"font-medium",children:m})]}),C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"shrink-0 text-fg-muted",children:"Apply to"}),C.jsx("dd",{className:"truncate font-medium",children:zie(g)})]}),s&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Destination"}),C.jsx("dd",{className:"font-medium",children:s})]}),i&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Scope"}),C.jsxs("dd",{className:"font-medium",children:[F0(i),i==="until"&&c?` · ${c}`:""]})]}),u!==void 0&&C.jsxs("div",{className:"flex justify-between gap-3 px-3 py-2",children:[C.jsx("dt",{className:"text-fg-muted",children:"Rule name"}),C.jsx("dd",{className:"truncate font-medium",children:u})]})]}),C.jsx(b1,{...h})]})}const lA=e=>({state:e.state,verb:e.verb,scope:e.scope,matched:e.matched,applied:e.applied,failed:e.failedCount??e.failures.length,failureReason:e.failureReason}),Zie=e=>e==="progress"?C.jsx(ap,{className:"size-10 animate-spin text-accent"}):e==="warning"?C.jsx(pc,{className:"size-10 text-warning"}):e==="danger"?C.jsx(pc,{className:"size-10 text-danger"}):C.jsx("span",{className:"flex size-12 items-center justify-center rounded-full bg-accent-soft text-accent",children:C.jsx(Nv,{className:"size-6"})});function Xie(e){const{matched:t,applied:n,failures:r}=e,a=lA(e),s=oA(a),i=e.state==="runStopped"?"Not confirmed":"Server rejected";return C.jsxs("div",{className:"space-y-4 pt-2",children:[C.jsxs("div",{className:"flex flex-col items-center gap-3 py-6 text-center",children:[Zie(s.tone),C.jsx("p",{className:"text-sm font-medium",children:s.title}),C.jsx("p",{className:"max-w-xs text-xs text-fg-muted",children:s.detail})]}),s.showProgress&&C.jsx(Joe,{value:n,max:t,tone:a.failed>0?"warning":"success"}),r.length>0&&C.jsxs("section",{className:"rounded-lg border border-line bg-surface",children:[C.jsx("h2",{className:"border-b border-line px-3 py-2 text-2xs font-medium uppercase tracking-wide text-fg-subtle",children:s.failureListLabel}),C.jsx("ul",{className:"divide-y divide-line",children:r.map(c=>C.jsxs("li",{className:"px-3 py-2",children:[C.jsx("p",{className:"truncate text-xs font-medium",children:c.sender}),C.jsx("p",{className:"truncate text-xs text-fg-muted",children:c.subject}),C.jsx(b3,{className:"mt-1",tone:"warning",children:i})]},c.id))})]})]})}function Qie(e){const{onRetry:t,onDismiss:n,onCancelRun:r}=e,a=oA(lA(e));return a.cancelLabel!==void 0&&r?C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"md",className:"min-h-11 shrink-0",onClick:r,children:a.cancelLabel}),C.jsx(Kt,{variant:"primary",size:"md",className:"min-h-11 flex-1",onClick:n,children:a.dismissLabel})]}):a.retryLabel===void 0?C.jsx(Kt,{variant:a.tone==="progress"?"ghost":"primary",size:"touch",className:"w-full",onClick:n,children:a.dismissLabel}):C.jsxs("div",{className:"flex items-center gap-3",children:[C.jsx(Kt,{variant:"ghost",size:"touch",onClick:n,children:a.dismissLabel}),C.jsx(Kt,{variant:"primary",size:"touch",className:"flex-1",onClick:t,children:a.retryLabel})]})}const Jie={match:{subtitle:"What should this apply to?"},properties:{title:"Match properties",subtitle:"Which properties have to match?"},folder:{title:"Move to",subtitle:"Pick a destination"},rule:{title:"Organize",subtitle:"How long should this hold?"},name:{title:"Name the rule",subtitle:"So you can find it later"},review:{title:"Review",subtitle:"Check before it runs"},run:{}},Rs=(e,t)=>{if(e===void 0)throw new Error(`The ${Fj(t)} step was rendered without its answers.`);return e};function yPe(e){const{verb:t,steps:n,onExit:r,onContinue:a,onCommit:s}=e,{label:i,destructive:c}=sA(t),u=n[$v(n,e.step)],f=Jie[u],h=wie(n,u)?r:e.onBack,m=()=>u==="match"?C.jsx(Hie,{...Rs(e.match,u)}):u==="properties"?C.jsx(Vie,{...Rs(e.properties,u)}):u==="folder"?C.jsx(Wie,{...Rs(e.folder,u)}):u==="rule"?C.jsx(Gie,{...Rs(e.rule,u)}):u==="name"?C.jsx(Kie,{...Rs(e.name,u),nudged:e.nudged}):u==="review"?C.jsx(Yie,{...Rs(e.review,u)}):C.jsx(Xie,{...Rs(e.run,u)}),g=()=>{if(u==="run")return C.jsx(Qie,{...Rs(e.run,u)});if(u==="review"){const b=Rs(e.review,u);return C.jsx(RN,{onBack:h,nextLabel:b.scope?fj(b.scope):i,nextVariant:c?"danger":"primary",onNext:s,blockedReason:e.blockedReason,nudged:e.nudged})}return C.jsx(RN,{onBack:h,nextLabel:"Continue",onNext:a,blockedReason:e.blockedReason,nudged:e.nudged})},y=()=>u!=="run"?f.title??i:oA(lA(Rs(e.run,u))).screenTitle,w=u==="match"&&e.match?.mode==="escalated"?"What this applies to":f.subtitle;return C.jsx(Fie,{title:y(),subtitle:w,steps:n,step:u,onBack:h,onExit:r,footer:g(),children:m()})}const ele={preparing:"Getting the new version ready",restarting:"Restarting Remit",reconnecting:"Waiting for Remit to answer again"};function ON(e){return ele[e]}function tle(e){return e<90?"This usually takes about a minute.":e<240?"Longer than usual. Remit is still trying to reach the server.":"Still no answer. Remit keeps trying."}function bPe(e,t=Date.now()){const n=Math.floor((t-e)/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const r=Math.floor(n/60);return r<24?`${r}h ago`:`${Math.floor(r/24)}d ago`}function SPe(e){return new Date(e).toLocaleDateString(void 0,{dateStyle:"medium"})}const NN=["preparing","restarting","reconnecting"],Vj="fixed inset-0 z-50 flex flex-col items-center justify-center gap-6 bg-canvas p-6 text-center outline-none";function nle({target:e,phase:t,elapsedSeconds:n}){const r=_.useRef(null);Mv(r,!0),Kk({id:"self-update",open:!0});const a=NN.indexOf(t);return C.jsxs("div",{ref:r,role:"dialog","aria-modal":"true","aria-labelledby":"self-update-progress-title",tabIndex:-1,className:Vj,children:[C.jsxs("div",{className:"max-w-md space-y-2",children:[C.jsxs("h1",{id:"self-update-progress-title",className:"text-lg font-semibold text-fg",children:["Installing Remit ",e]}),C.jsx("p",{className:"text-sm text-fg-muted",children:"Remit is restarting, so this page has no server to talk to for a moment. Leave this open — it reconnects on its own."})]}),C.jsx("ol",{className:"w-full max-w-sm space-y-2 text-left",children:NN.map((s,i)=>{const c=i<a,u=i===a;return C.jsxs("li",{className:Pe("flex items-center gap-3 rounded-sm border px-row-inset py-2 text-sm",u?"border-line-strong bg-surface text-fg":"border-line bg-surface-sunken text-fg-subtle"),children:[c?C.jsx(Nv,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}):u?C.jsx(ap,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}):C.jsx("span",{className:"size-4 shrink-0 rounded-full border border-line-strong"}),ON(s)]},s)})}),C.jsxs("p",{"aria-live":"polite",className:"max-w-md text-xs text-fg-subtle",children:[C.jsx("span",{className:"sr-only",children:`${ON(t)}. `}),tle(n)]})]})}function rle({attemptedVersion:e,previousVersion:t,elapsedSeconds:n,logsCommand:r,onRetryConnection:a}){const s=_.useRef(null);Mv(s,!0);const i=Math.max(1,Math.round(n/60));return C.jsxs("div",{ref:s,role:"alertdialog","aria-modal":"true","aria-labelledby":"self-update-unreachable-title",tabIndex:-1,className:Vj,children:[C.jsx(Wk,{className:"size-12 shrink-0 text-danger","aria-hidden":!0}),C.jsxs("div",{className:"max-w-lg space-y-3",children:[C.jsx("h1",{id:"self-update-unreachable-title",className:"text-lg font-semibold text-fg",children:"Remit has not answered since the restart"}),C.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing ",e," started ",i," minute",i===1?"":"s"," ago and the server has been silent since. Your mail is safe at your provider — it was never part of the update."]}),C.jsxs("p",{className:"text-sm text-fg-muted",children:["Remit rolls back to ",t," on its own when the new version fails to start, but this page cannot confirm that from here. Check the server directly:"]}),C.jsx("code",{className:"block rounded-xs bg-surface-sunken px-3 py-2 text-left text-xs text-fg-muted",children:r})]}),C.jsx("div",{className:"flex flex-wrap items-center justify-center gap-2",children:C.jsx(Kt,{size:"sm",onClick:a,children:"Try connecting again"})})]})}function ale(e,t,n){if(!t.allowPrivateDomains&&e.length>3){const r=e.length-1,a=e.charCodeAt(r),s=e.charCodeAt(r-1),i=e.charCodeAt(r-2),c=e.charCodeAt(r-3);if(a===109&&s===111&&i===99&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="com",!0;if(a===103&&s===114&&i===111&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="org",!0;if(a===117&&s===100&&i===101&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="edu",!0;if(a===118&&s===111&&i===103&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="gov",!0;if(a===116&&s===101&&i===110&&c===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="net",!0;if(a===101&&s===100&&i===46)return n.isIcann=!0,n.isPrivate=!1,n.publicSuffix="de",!0}return!1}const Yl=new Uint8Array([1,2,1,1,1,1,1,1,1,1,1,1,0,2,2,2,0,2,2,0,2,0,0,1,0,0,2,1,1,1,1,1,1,0,0,0,1,0,1,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,0,1,0,1,1,0,1,1,0,0,0,0,0,0,1,1,1,0,2,0,0,0,0,0,0,0,2,0,2,2,0,0,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,0,2,1,1,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,2,0,0,0,0,2,0,0,0,0,0,0,0,0,0,2,0,2,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,2,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,0,2,2,0,0,0,2,0,1,1,0,2,0,2,2,0,1,1,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,0,0,1,0,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,2,2,0,2,2,0,0,0,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,2,0,2,2,2,2,0,0,0,0,2,0,0,0,0,0,0,2,2,0,0,0,2,2,1,1,1,1,2,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,2,2,0,0,2,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,2,2,1,2,1,1,1,2,1,1,1,1,1,0,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,0,1,1,1,1,1,2,1,1,1,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,1,1,1,0,0,0,0,0]),S1=new Uint16Array([0,0,0,10,11,18,106,111,117,124,130,136,145,146,147,148,149,150,151,153,154,155,157,159,226,239,241,242,243,258,265,266,269,270,271,274,276,295,296,298,307,312,313,331,332,335,337,338,340,374,375,377,380,381,385,387,391,394,426,429,442,443,451,452,454,464,478,479,480,489,490,527,532,548,568,574,615,616,643,670,671,819,825,828,829,830,835,840,849,871,872,873,874,875,876,877,895,897,898,901,903,904,906,908,923,938,943,944,946,947,948,949,950,952,955,960,961,962,964,965,968,971,972,973,986,988,1e3,1011,1019,1021,1061,1064,1068,1069,1071,1074,1085,1087,1097,1099,1105,1107,1108,1110,1113,1114,1115,1167,1169,1171,1191,1192,1193,1194,1196,1207,1238,1249,1261,1270,1277,1282,1295,1306,1319,1320,1331,1365,1366,1367,1382,1397,1469,1470,1472,1473,1507,1508,1509,1512,1516,1518,1547,1548,1556,1557,1558,1560,1562,1563,1565,1566,1567,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1594,1595,1596,1598,2053,2056,2057,2059,2066,2073,2083,2087,2098,2099,2100,2112,2113,2115,2117,2118,2125,2126,2128,2129,2131,2132,2133,2134,2135,2209,2211,2232,2233,2234,2236,2262,2263,2314,2315,2317,2324,2330,2340,2350,2403,2404,2405,2415,2429,2430,2433,2440,2441,2449,2450,2451,2452,2453,2464,2465,2466,2468,2469,2470,2471,2473,2483,2495,2501,2533,2537,2539,2540,2542,2543,2554,2555,2557,2565,2572,2578,2583,2584,2590,2593,2599,2606,2607,2614,2622,2623,2624,2662,2668,2683,2684,2689,2707,2738,2756,2758,2761,2769,2771,2778,2830,2854,2855,2856,2857,2858,2859,2860,2861,2868,2869,2870,2871,2872,2873,2875,2876,2880,2964,2977,2978,3414,3418,3432,3484,3512,3534,3592,3614,3629,3692,3743,3781,3817,3842,3984,4030,4081,4100,4134,4149,4169,4199,4230,4253,4284,4314,4346,4373,4448,4470,4508,4518,4552,4571,4597,4639,4689,4715,4784,4785,4787,4810,4833,4869,4900,4917,4974,4987,5011,5040,5042,5076,5092,5120,5425,5434,5443,5450,5467,5471,5477,5516,5518,5525,5532,5541,5548,5549,5560,5563,5578,5579,5588,5589,5598,5607,5613,5615,5616,5617,5653,5654,5656,5664,5671,5684,5688,5690,5691,5697,5704,5718,5728,5733,5741,5749,5755,5756,5760,5762,5763,5775,5776,5777,5778,5780,5781,5784,5786,5789,5793,5794,5800,5801,5802,5804,5806,5808,5809,5810,5813,5815,5818,5819,5821,6019,6026,6027,6037,6042,6059,6073,6082,6083,6084,6088,6089,6091,6093,6099,6100,6103,6104,6106,6107,6108,7008,7009,7013,7031,7040,7043,7050,7051,7053,7054,7055,7057,7109,7110,7113,7114,7231,7232,7243,7254,7261,7264,7273,7274,7275,7290,7345,7536,7538,7539,7541,7546,7559,7574,7581,7590,7593,7596,7603,7611,7615,7616,7617,7631,7635,7644,7645,7646,7650,7685,7686,7703,7710,7718,7719,7724,7732,7776,7777,7783,7786,7797,7802,7803,7806,7839,7840,7846,7853,7854,7863,7872,7887,7891,7943,7944,7949,7951,7954,7956,7957,7958,7967,7981,7989,8003,8015,8016,8018,8020,8042,8053,8059,8060,8072,8084,8171,8183,8185,8194,8197,8203,8228,8231,8232,8233,8235,8238,8241,8252,8254,8256,8284,8358,8365,8369,8370,8379,8401,8402,8407,8408,8487,8489,8491,8500,8504,8510,8516,8522,8532,8537,8538,8556,8567,8572,8577,8587,8593,8597,8603,8609,10217,10218,10219,10226,10228]),w1=new Uint8Array([3,3,3,3,3,3,3,3,5,8,8,2,2,3,3,3,3,3,8,5,5,5,5,5,3,3,5,5,9,12,19,8,19,8,11,9,9,8,7,7,6,8,9,16,10,7,7,11,8,6,6,9,7,11,7,14,4,4,4,4,4,4,10,7,6,6,6,6,10,10,6,10,10,22,11,9,10,10,10,9,10,8,7,7,7,8,21,13,11,11,9,10,9,13,10,8,8,9,12,9,7,10,7,7,13,7,3,3,3,3,3,2,3,3,3,3,3,3,3,3,3,3,8,6,3,3,3,3,3,3,2,5,3,3,3,7,2,2,2,2,2,2,3,3,3,1,1,7,8,5,2,2,7,2,2,1,4,1,11,9,9,5,5,8,5,5,5,5,5,5,5,3,3,3,3,3,5,11,9,9,13,7,14,7,6,6,6,7,6,6,6,6,6,10,7,11,9,4,4,4,4,4,4,6,6,6,6,6,8,7,10,9,9,9,8,9,8,10,6,9,9,8,10,10,7,8,1,9,10,12,12,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3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,7,10,13,7,8,7,11,8,8,6,9,8,8,6,6,6,8,8,6,6,6,6,6,9,7,6,4,4,4,4,4,4,4,6,6,6,9,7,8,10,8,8,2,3,3,3,3,3,2,8,9,9,2,2,2,3,3,3,2,3,3,3,9,2,2,3,3,3,3,3,3,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,12,5,5,3,5,4,2,3,2,4,3,9,2,2,2,2,2,5,5,3,8,8,13,6,10,9,4,7,9,11,2,3,7,3,3,4,1,3,4,2,9,3,3,12,5,3,7,10,10,7,4,4,6,14,7,9,7,13,2,2,2,2,2,2,3,3,3,3,3,8,15,4,4,2,3,3,3,7,4,9,9,2,3,3,3,5,3,2,2,7,2,7,6,6,7,2,4,2,2,2,2,2,2,8,8,8,9,5,2,3,3,3,3,3,3,10,7,4,4,4,4,3,4,2,3,3,3,3,3,10,7,4,4,4,4,2,3,3,3,3,10,7,4,4,4,4,3,9,6,6,6,9,13,9,2,2,2,8,7,9,5,3,3,3,5,5,12,9,10,7,8,7,6,8,6,11,12,7,9,10,4,4,7,8,11,6,7,9,8,7,10,8,9,15,7,8,5,4,7,2,3,3,3,2,14,10,2,14,10,2,14,3,9,13,13,10,14,16,17,11,2,14,2,14,3,9,13,10,14,16,17,11,14,10,14,2,7,3,10,7,14,10,2,14,10,9,9,17,6,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,10,10,10,12,9,4,10,11,8,8,8,7,9,5,3,3,3,3,3,3,3,3,5,8,4,4,4,4,4,4,6,16,3,3,14,3,14,2,14,9,13,10,10,14,16,17,11,6,9,10,10,12,14,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,9,9,9,9,9,9,2,14,9,13,10,10,14,16,17,11,6,2,14,9,17,13,10,10,14,16,17,11,6,2,14,9,13,10,14,16,17,11,2,14,9,13,10,16,11,2,14,10,19,7,2,14,9,13,10,19,10,7,14,16,17,11,6,2,14,9,13,10,19,7,14,16,17,11,2,14,9,13,17,13,10,10,14,16,17,11,6,3,2,14,9,13,10,10,14,16,17,11,6,9,10,12,14,14,14,12,12,12,12,12,14,14,14,10,10,10,14,9,9,9,9,14,14,14,13,13,14,9,9,9,9,9,9,4,11,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,14,9,13,17,13,10,19,10,7,14,16,17,11,6,2,9,10,10,7,17,3,3,12,12,16,15,15,12,14,14,14,20,20,13,12,12,12,12,12,12,20,25,14,14,12,12,10,10,10,10,9,9,9,25,4,9,17,10,7,14,16,21,13,13,14,20,14,13,17,24,9,12,13,25,13,21,20,17,9,9,9,9,9,9,12,17,4,4,9,9,9,10,10,12,14,14,14,12,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,9,1,8,7,11,11,1,3,3,3,4,8,9,10,14,14,12,12,12,12,14,14,10,10,10,10,14,9,9,9,10,14,14,14,13,13,9,9,9,9,9,7,4,4,4,4,4,4,4,4,4,4,9,12,6,14,4,12,7,2,2,1,2,7,6,4,4,4,6,8,8,7,4,5,6,3,3,3,3,4,16,8,3,5,4,3,3,3,5,2,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,11,12,7,7,13,9,10,12,8,9,7,8,5,12,10,13,14,5,5,5,13,5,5,5,3,3,3,5,16,5,5,5,5,5,7,12,14,8,12,8,10,12,9,11,7,9,7,10,7,13,9,7,12,8,17,7,7,16,10,13,13,8,10,10,14,17,7,16,16,15,8,10,10,12,17,7,17,14,7,10,17,8,7,7,7,8,15,15,7,14,10,10,10,11,11,7,7,13,8,10,7,16,7,8,7,14,17,12,10,11,21,8,9,7,13,9,8,13,6,12,7,6,13,10,10,10,8,18,9,17,13,10,12,6,13,6,11,8,13,10,13,18,13,11,13,8,16,7,10,8,16,12,10,8,8,6,14,11,8,15,8,8,7,7,12,7,8,9,14,15,8,9,10,9,15,7,8,8,12,13,9,10,15,15,13,7,10,10,20,7,6,9,6,6,14,11,14,11,12,9,10,16,16,12,7,11,28,8,11,10,7,21,8,7,9,4,4,4,17,7,8,6,9,6,6,13,6,6,6,6,18,20,14,8,11,12,9,10,13,15,19,8,9,12,7,10,16,12,9,9,9,14,12,11,9,12,11,18,9,9,9,10,7,7,16,8,9,7,13,12,10,18,7,8,11,7,7,8,8,13,7,7,7,11,15,13,11,7,8,15,11,7,8,18,14,13,18,15,10,12,12,9,7,11,11,8,7,10,8,14,12,10,18,7,10,9,7,8,13,10,14,9,10,8,8,23,7,7,11,12,12,17,7,7,11,11,17,16,16,7,8,11,14,14,8,10,7,7,16,16,13,9,11,9,15,15,11,11,7,7,14,7,9,7,7,16,10,13,10,11,14,7,11,10,11,7,11,10,11,15,11,15,10,12,17,10,14,13,11,11,12,13,10,7,13,10,16,12,21,9,10,10,7,11,14,17,7,7,8,11,12,8,15,14,14,8,17,12,10,10,7,9,11,7,10,7,11,18,7,11,7,12,11,8,8,14,12,7,8,15,3,7,7,5,2,9,2,2,2,2,2,2,2,3,3,3,3,3,3,3,2,5,3,3,3,3,3,3,4,4,3,3,3,3,3,3,5,11,6,4,7,10,7,7,11,1,10,2,2,3,3,3,3,3,3,3,3,5,7,3,5,6,3,3,5,2,2,5,3,4,13,11,3,3,6,3,5,14,2,2,3,8,2,2,12,5,18,5,3,3,3,16,5,5,5,10,7,13,12,13,9,12,14,19,9,9,21,9,9,10,6,9,6,15,10,6,12,8,6,10,15,4,4,6,6,9,9,12,16,14,23,7,7,7,14,9,7,7,11,14,10,7,10,10,10,12,6,11,10,13,11,15,11,7,12,10,3,7,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,4,3,7,2,5,5,3,3,5,5,5,5,7,6,6,6,4,4,4,4,4,4,6,6,6,6,6,7,10,2,2,2,5,5,5,5,3,3,3,3,3,5,5,10,9,11,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2,2,2,2,2,2,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,8,8,6,6,8,6,7,4,4,4,4,4,4,6,7,5,5,20,19,8,10,9,7,10,6,8,11,6,6,6,6,13,12,8,6,7,14,11,9,2,5,3,3,6,2,3,2,2,2,2,2,2,2,5,4,3,7,6,4,7,4,3,6,4,7,2,7,7,7,5,5,5,5,3,3,3,3,3,3,3,3,3,3,5,9,10,10,8,11,7,8,20,7,8,9,8,12,6,6,6,8,9,8,12,6,6,8,13,10,12,6,6,7,7,8,9,6,4,4,4,4,4,4,4,10,6,6,6,7,14,11,10,7,8,10,8,11,14,11,11,9,7,9,8,11,9,17,10,9,2,2,2,9,3,3,3,3,15,14,9,5,5,2,8,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,15,12,22,19,17,18,18,19,21,7,16,16,5,5,5,5,5,5,5,5,5,5,5,7,5,5,5,5,5,5,5,5,5,5,5,9,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,7,16,11,11,7,7,7,7,17,7,8,12,15,9,19,7,19,8,16,21,11,12,19,14,22,7,7,7,7,7,7,7,7,7,7,7,16,16,19,24,12,7,14,7,12,7,8,10,10,13,7,12,12,7,7,10,18,15,12,16,7,14,12,17,10,16,17,12,17,25,7,7,7,13,6,9,6,9,18,6,6,11,20,10,6,6,6,6,6,6,6,17,6,6,6,15,6,6,6,6,6,8,14,11,12,15,13,19,17,21,7,18,8,13,13,8,12,8,6,6,13,6,15,15,16,6,6,16,6,6,6,14,6,18,6,6,6,17,18,9,13,15,8,19,8,15,15,18,14,16,4,4,4,4,4,4,4,4,4,4,4,4,6,11,10,11,6,21,23,12,17,12,11,14,13,22,15,15,11,12,14,12,7,12,8,14,12,18,10,8,16,19,17,12,14,15,8,9,19,17,12,13,13,15,18,13,23,24,23,21,17,24,8,21,8,14,14,16,14,8,8,15,20,8,19,21,9,8,13,12,13,15,11,8,11,9,9,8,11,8,21,14,21,15,15,13,7,19,7,7,7,7,7,7,16,12,17,18,7,7,11,11,7,9,9,2,2,3,3,2,2,2,3,3,3,3,3,3,3,3,3,3,4,5,5,5,5,5,5,5,5,3,3,10,10,7,9,7,7,7,6,8,6,6,6,6,6,6,6,7,6,8,6,6,9,7,7,7,4,4,4,4,4,4,4,4,8,9,8,7,8,7,8,10,7,5,5,5,5,5,5,3,9,7,7,8,6,6,6,6,6,6,6,6,9,6,6,9,11,13,7,8,9,9,5,5,5,7,8,6,6,6,6,6,6,6,7,8,9,7,10,9,10,7,8,5,5,5,5,5,5,7,7,9,8,7,7,6,6,6,6,6,6,10,6,6,6,6,6,6,6,6,6,6,6,9,10,4,4,4,4,8,7,7,10,10,9,8,8,15,9,8,8,8,8,8,9,10,9,10,7,8,13,5,5,5,5,5,3,3,7,7,8,6,6,6,4,4,11,9,7,8,9,10,7,5,5,5,5,5,3,3,7,6,6,13,7,9,8,7,5,5,5,5,5,5,5,5,3,3,3,3,7,8,7,8,13,6,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,6,6,6,6,7,6,7,6,6,9,7,4,4,4,4,4,4,4,7,8,7,8,9,8,8,8,7,10,7,8,5,5,5,5,5,5,5,5,3,7,7,7,7,9,7,10,9,6,6,6,6,6,8,8,6,6,6,7,6,6,6,9,9,4,4,13,7,10,9,9,12,7,8,8,10,8,8,8,8,8,8,5,5,5,5,3,7,7,11,7,9,8,8,6,6,10,6,8,8,8,6,7,6,6,12,4,4,4,4,4,4,4,4,4,9,8,8,16,8,9,8,7,5,5,5,5,5,3,3,7,7,7,10,15,8,9,8,9,9,6,6,6,6,6,6,7,4,8,7,8,8,7,8,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9,8,8,11,10,14,7,12,10,11,13,7,9,11,17,17,14,13,7,8,7,10,10,7,16,13,7,8,17,12,9,8,6,7,10,6,6,12,6,8,10,8,8,8,6,8,6,14,6,6,6,13,6,10,6,6,7,14,8,6,6,10,11,10,9,9,7,7,6,6,6,9,9,7,9,10,9,13,12,4,4,4,4,4,4,4,4,4,6,6,6,8,8,6,8,9,10,9,7,10,10,8,7,8,7,10,12,9,8,15,8,7,8,8,7,7,15,13,7,10,9,14,18,16,7,24,7,8,10,11,16,8,14,7,9,9,9,11,13,19,14,15,14,11,7,13,9,10,7,13,9,10,11,12,8,9,2,3,5,8,7,4,4,10,5,3,3,3,3,3,5,4,4,4,2,2,2,2,2,1,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,4,2,2,2,3,3,3,3,3,3,3,3,3,3,4,2,12,5,3,8,10,15,6,7,2,3,2,5,5,12,2,5,5,5,5,2,2,5,5,12,9,5,2,2,9,5,5,12,12,5,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,9,12,5,8,8,9,5,5,5,8,19,7,16,15,14,9,9,9,9,7,11,11,11,7,14,10,10,5,5,5,5,5,5,5,5,5,15,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,14,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,15,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,5,5,5,5,5,5,12,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,9,9,12,9,9,12,12,12,15,7,11,7,14,11,18,13,8,18,15,18,12,14,12,8,8,8,8,9,9,9,12,7,10,10,8,8,12,12,12,7,12,12,9,7,7,7,7,7,8,15,12,9,10,10,7,10,10,13,11,10,9,22,11,9,8,8,8,8,8,13,18,13,9,15,19,9,7,7,10,7,7,7,11,8,13,17,7,7,10,10,10,7,20,16,7,7,7,7,7,7,11,21,12,12,13,11,14,16,8,8,13,11,7,7,13,7,7,14,15,15,6,6,6,6,6,6,6,6,6,6,13,10,18,6,6,6,6,6,6,6,6,6,11,8,8,12,12,11,11,8,12,9,9,9,13,13,9,9,9,9,9,9,6,10,12,6,6,6,6,17,11,7,7,7,7,14,14,12,6,7,7,6,6,15,10,13,10,6,8,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,13,9,9,15,13,6,12,12,6,19,11,10,7,7,16,8,19,17,9,9,9,9,9,6,6,6,10,8,16,8,6,6,9,6,6,6,6,6,6,6,6,8,8,8,6,7,6,6,6,6,6,6,6,6,6,6,6,14,6,6,6,6,20,6,9,6,14,9,9,9,6,9,8,8,12,9,8,8,8,8,7,8,12,7,8,8,8,6,8,6,6,6,6,6,6,6,9,8,8,6,6,13,9,12,13,12,14,13,12,11,11,6,8,8,8,6,13,12,11,11,12,6,11,12,11,13,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,15,6,6,6,6,6,6,6,13,6,6,6,6,6,6,6,6,6,6,6,6,6,8,8,8,8,6,18,6,12,13,13,13,9,10,15,9,12,6,6,6,6,6,6,6,6,9,15,10,9,10,13,9,19,8,18,17,10,10,8,8,6,6,6,6,6,6,10,14,8,16,16,9,8,15,8,8,10,12,14,7,7,8,8,7,7,7,7,8,13,13,11,9,9,9,12,10,17,8,11,9,7,7,14,8,14,14,7,7,7,7,7,7,14,7,7,7,7,7,10,10,8,14,7,7,7,7,8,8,8,8,8,17,9,7,15,7,8,12,7,9,14,7,7,7,9,13,8,14,7,16,18,13,15,14,12,13,10,15,9,7,7,7,10,13,15,15,9,9,9,9,19,11,7,11,11,13,8,8,8,8,7,12,19,17,9,9,13,7,7,7,9,7,7,7,12,13,15,10,8,8,14,15,12,13,13,8,12,14,7,11,7,14,15,13,12,8,8,8,8,11,13,15,15,8,13,12,8,8,8,13,10,16,14,11,8,8,12,12,9,15,15,12,12,13,8,8,9,12,13,9,8,8,8,8,8,8,8,8,8,8,8,11,12,11,7,14,7,13,13,13,12,18,16,7,12,11,10,10,15,9,9,9,21,7,7,7,11,16,8,8,11,11,7,7,7,7,7,19,7,7,7,7,7,7,7,7,7,12,8,9,12,14,11,9,9,9,22,12,3,8,8,15,4,2,2,5,5,3,3,3,3,3,3,6,6,4,4,4,12,7,10,2,3,3,3,3,3,3,3,6,7,3,7,5,14,4,4,7,8,10,4,1,3,3,6,2,4,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,4,2,2,5,3,4,2,2,2,2,2,2,11,5,5,5,11,5,5,3,5,5,5,5,11,14,13,9,11,9,12,8,11,11,8,11,16,9,9,7,10,9,12,8,15,6,7,6,6,13,10,8,11,8,6,6,6,12,16,6,11,7,8,9,18,6,6,9,4,4,6,13,6,6,6,6,8,8,9,16,7,7,14,7,8,8,8,7,7,7,7,7,7,15,13,7,10,7,7,10,12,16,15,7,9,9,14,11,11,10,9,10,8,12,7,8,7,7,10,12,7,12,8,7,2,3,3,3,3,3,3,3,3,3,3,5,3,3,5,5,5,10,4,8,7,10,3,3,3,3,3,3,3,3,3,3,1,3,3,3,3,3,3,3,7,4,5,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,5,6,6,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,8,2,2,2,8,12,7,7,5,5,5,5,5,5,5,5,5,5,5,5,8,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,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6,10,6,6,4,6,6,10,6,10,6,6,6,6,11,6,6,10,6,6,8,6,6,6,8,6,11,4,11,9,10,9,11,4,8,4,11,12,7,9,8,6,7,7,8,12,12,11,13,10,11,7,7,7,9,7,11,10,7,7,7,16,11,10,11,17,9,9,8,8,7,7,7,9,7,7,7,14,7,13,9,11,10,14,10,10,12,11,10,7,10,5,14,8,8,8,9,7,8,7,7,9,8,7,8,7,7,7,7,7,7,7,11,8,10,8,7,8,14,11,8,9,9,9,8,24,10,10,12,7,7,15,11,8,8,12,11,8,9,9,7,8,9,10,11,10,11,7,12,7,7,11,9,8,14,13,12,8,11,10,8,8,7,7,14,9,10,8,9,11,7,14,8,8,13,8,8,12,7,10,14,14,11,9,10,9,9,7,7,11,11,13,9,13,5,5,5,7,9,5,11,12,14,8,7,7,11,10,9,7,8,8,7,10,11,11,5,5,7,5,5,5,7,7,15,7,7,8,7,15,12,12,10,7,8,7,11,7,7,7,23,11,8,8,11,10,7,8,11,7,19,7,7,6,9,9,9,11,3,4,7,8,6,6,4,10,8,2,2]),MN=new Uint16Array([0,0,0,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,1,1,1,17,1,1,1,12,1,12,1,12,13,1,1,1,1,12,1,12,1,1,1,1,1,14,21,1,1,1,1,1,1,1,19,12,1,1,1,1,1,1,1,20,1,1,1,16,1,18,1,1,15,1,1,1,1,12,1,1,1,1,1,1,22,1,1,1,12,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,12,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0,0,0,0,0,0,0,0,0,0,0,0,0,77,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,12,1,1,1,1,89,1,91,1,1,1,1,1,1,1,1,94,1,1,1,1,1,1,1,1,1,1,1,1,0,1,97,97,1,1,12,1,100,1,1,1,1,1,1,1,98,1,99,1,101,1,1,1,1,1,102,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,110,111,1,1,1,1,1,1,113,113,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,121,122,1,1,1,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,1,122,1,1,1,1,1,1,1,1,1,126,123,125,120,1,124,1,1,114,1,1,1,1,117,1,127,1,1,1,1,1,119,1,108,1,109,1,12,128,106,1,112,1,1,1,1,1,107,115,1,12,12,12,118,116,1,1,1,1,1,1,0,0,0,0,1,12,12,1,1,1,1,1,12,134,1,1,1,1,1,1,1,1,1,1,1,12,136,1,1,1,1,1,1,1,1,137,138,12,12,135,133,45,45,140,50,50,139,142,141,1,1,0,0,0,0,0,0,0,0,0,0,0,0,145,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,143,0,0,0,0,1,0,144,132,1,0,1,12,12,1,1,1,1,1,0,0,0,0,0,0,0,1,148,147,20,1,1,12,12,1,20,12,12,1,1,1,1,1,134,1,1,152,1,1,1,1,153,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,1,136,1,1,152,1,1,1,1,153,1,1,134,1,1,1,152,1,1,1,1,153,1,1,134,1,1,1,1,1,1,1,1,134,1,1,1,1,1,1,1,1,1,1,1,160,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,1,1,1,1,1,134,1,1,1,1,152,1,1,1,1,153,1,1,1,134,1,1,152,1,1,1,1,164,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,167,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,1,160,1,1,1,1,1,152,1,1,1,1,1,153,1,154,158,158,12,1,12,166,1,1,1,1,1,158,158,158,154,1,1,1,157,158,161,165,1,1,1,1,157,157,1,1,156,154,154,157,170,156,170,1,1,168,1,156,155,157,1,1,1,1,157,1,159,1,1,1,12,1,162,1,162,1,1,1,162,161,163,169,156,154,1,1,1,1,1,1,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,172,173,172,173,172,172,172,172,174,174,172,173,172,173,172,172,12,12,12,12,12,1,12,12,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,193,1,1,1,1,12,199,200,201,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,151,1,1,1,1,1,1,1,1,1,1,1,196,1,1,1,184,1,210,1,1,1,208,1,1,205,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,12,1,1,1,1,1,1,1,1,190,1,1,1,186,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,182,1,1,1,1,1,1,1,191,1,1,1,1,195,1,1,1,1,171,1,1,189,1,1,1,192,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,180,1,12,1,1,12,1,1,1,1,183,1,1,1,188,1,203,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,209,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,194,1,1,1,1,1,12,1,1,1,1,1,1,1,1,176,12,1,1,1,178,12,1,1,1,1,1,1,1,198,1,1,1,1,1,1,1,1,1,1,177,1,1,1,1,1,1,204,1,1,1,181,1,1,1,187,1,12,1,1,12,1,1,1,1,1,1,1,1,1,1,191,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,175,1,1,1,1,1,1,1,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,206,1,1,1,1,1,1,1,1,1,1,1,1,1,207,1,1,12,1,1,1,1,179,1,1,1,185,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,1,1,197,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,1,1,1,1,1,1,1,1,1,202,1,1,12,1,1,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,220,0,0,0,0,0,221,0,0,0,0,0,0,1,12,1,1,1,225,1,1,1,0,226,223,224,1,1,1,1,1,1,231,1,233,1,1,1,1,1,1,1,1,1,1,1,229,1,1,1,1,1,235,1,1,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,234,1,1,1,12,1,1,1,1,230,1,1,1,228,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,232,1,1,1,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,241,13,1,1,1,12,12,238,239,1,1,1,1,240,1,1,12,1,1,1,1,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1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,1,1,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,144,1,1,1,228,1,1,12,30,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,0,0,1,572,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,577,1,220,1,328,1,1,1,1,1,1,1,1,1,0,0,578,1,1,1,1,0,580,0,79,0,579,0,1,1,1,0,1,1,1,1,1,1,12,0,0,0,0,1,0,0,0,0,0,0,586,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,582,582,0,585,583,582,582,582,582,582,587,582,582,591,582,582,582,582,582,582,582,582,582,582,588,585,582,582,585,582,582,582,582,582,582,582,582,582,582,582,582,582,583,582,582,582,582,582,589,582,582,582,582,582,582,0,0,0,1,590,1,1,1,1,584,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,1,12,595,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,1,12,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,12,1,1,12,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,65,280,306,411,535,0,4,68,236,254,282,307,334,388,413,0,499,519,536,597,9,0,61,88,398,409,429,575,0,497,518,532,612,0,30,6,0,461,500,602,560,70,0,7,285,255,389,463,416,538,79,598,0,576,309,418,465,9,105,288,506,6,30,0,311,79,391,79,483,10,6,131,248,275,0,613,509,0,563,0,64,6,6,251,95,2,432,399,410,596,0,6,0,6,286,103,6,561,501,540,0,464,390,273,287,8,71,104,599,543,392,312,300,419,146,74,290,546,510,601,564,335,330,479,6,75,149,11,0,249,522,547,565,514,551,570,611,36,6,260,295,333,304,218,30,528,553,218,42,216,265,296,305,406,423,481,274,0,73,562,0,403,417,299,79,247,79,0,581,545,504,292,421,79,393,387,0,0,0,9,555,571,217,0,424,407,531,516,573,615,85,218,43,297,396,425,569,0,511,293,276,79,215,80,28,390,30,6,394,331,303,604,592,524,550,513,0,258,81,30,405,422,0,30,426,0,219,593,517,9,408,427,218,248,86,222,594,574,557,482,428,397,250,227,87,59,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,620,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,414,0,0,0,0,0,0,0,0,82,0,129,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0,0,0,0,0,0,0,0,0,0,0,608,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,607,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,618,0,0,0,0,0,556,0,0,0,0,0,0,0,0,0,0,302,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,605,0,0,212,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,623,623,623,623,623,623,623,622,624]),O3="orgmilcomschnetedugovdrrformsfeedbackofficialaccoorgmilschnetgovmagazinemediaunioncargopilotgroupcaarespressworksaerodromeworkinggroupair-traffic-controlaircraftaccident-preventioneducatormarketplaceambulanceinsurancecateringairportrepbodyenginesoftwaremodellingair-surveillanceconsultingchartertrainermaintenanceservicesdesignflightskydivingfreightassociationstudentgroundhandlingdgcafuelclubtaxicrewshowballooningexpresstraderbrokerauthoragentsairtrafficjournalistsafetyconsultantmicrolightaccident-investigationparachutingequipmentproductionfederationrecreationscientistnavigationengineertradingglidingleasingresearchpassenger-associationentertainmentparaglidinghangglidingaerobaticrotorcraftemergencycertificationgovernmentaeroclubexchangelogisticschampionshiphomebuiltcouncilconferencecontrolairlinecivilaviationjournalorgcomnetedugovcoorgcomnomnetobjofforgcomnetuwukiloappsframerorgmilcomnetedugovcoradioorgcomnetcommuneedogpbcoitgvorgedugov*spreviewfrontendrelayononstagingupid*mtls*privatelinktypedreamdeveloperbravemochawindsurfaivenmirenupsunwnextbegetngrokclerkwale2bwebcsbrunputerflutterflowspawnbaseshiptodaymagicpatternsnetlifyondigitaloceanrailwayhostedclaudehasurabotdashvercelgithubluyanigadgetreplitcloudflaretelebitedgecomputeevervaultdetaexponyatnoopencrpplxzeaburwasmerframerzeropsconvexmedusajsspritesonherculeseasypanelstreamlitsnowflakemesserliloginlinehackclubnorthflankbase44corespeedadaptableleapcellngrok-freeclerkstagelovableon-fleek*us-west-3ap-south-2us-central-2us-central-1eu-central-1ap-south-1us-west-2us-east-2eu-north-1ap-north-1us-west-1us-east-1*rcloudintsegorgmilcomgobbetnetintedugovturmusicasenasamutualcoopip6uriurnin-addre164homeirisgovdixdaemoncloudnssthwien*inexexkunden4accogvormymyspreadshop4lima2ixortsinfofuturecmsfuturehosting12hpprivfuturemailinglima-cityfunkfeuer123webseitednshomemelmyspreadshopcloudletswasantqldvicactnswtascatholicwasaqldvictasvpsidwasantozqldorgcomvicasnactnetedugovnswtasconfhrsncomairflowlambda-urltransfer-webappairflowtransfer-webapptransfer-webapptransfer-webapp-fipstransfer-webappeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1privatenotebookstudiolabelingnotebookstudionotebooknotebook-fipslabelingnotebookstudionotebook-fipsnotebookstudio-fipsnotebook-fipsnotebookstudionotebook-fipsnotebookstudioeu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2experimentsus-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1onrepostsagemakercopporgmilcompronetintedugovbiznameinfoshoprsorgmilcomnetedugovbrendlyresolvenzauscotvstoreorgcomnetedugovbizinfoidacaicoittvorgmilcomschnetedugovinfocloudezproxyacmymyspreadshopkuleuvenwebhostingtransurl123websitecloudnsinterhostsolutionsddns5476103298edgfacbmlonihkjutwvqpsryxzbarsycoororgcomedumyftpno-iporxcloud-ipfor-somemmafanfor-morewebhopselfipjozidyndnscloudnsdscloudfor-thefor-betteractivetrailcoeconorestooteorgcomeconeteduassurmoneyafricaarchitectesrestaurantloisirstourismavocatsinfoagrounivcoorgcomnetedugovtvdeportesaludtksatorgmilcomwebgobnetinteducienciaboliviarevistacooperativaempresanombreindustriamusicapatriamedicinademocraciapoliticapuebloindigenaplurinacionalarteblogwikiinfoagrotransportenoticiasprofesionalacademiaeconomiaecologiamovimientotecnologianaturalsimplesitecepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesmscepesebamapadfmgalampbacscpirngorotomtrjspaprrprrsesms*biaamfmtcmptvfeirasampajampanatalbelemananiradiog12medindfndbmdtrdthepoaggfjdfdefinfenflegsegongengcngorgzlgslglogppgmillelqslcimcomnomadmjabimbbibbsbabcrectecsjcetcpscpvhudieticriapipsiecnbiorioecogeoteoodoproatoartfstmatvetdetbetnetcntnotfotgrueduajuespappreptmpemparqsrvadvdevgovntrturagrjorfarjusmusdesvixxyzcozfozslzbhzmaringasantamariacampinagrandegoianiasorocabafloripasaobernardocuritibaboavistarecifeaparecidasaogoncasalvadorcuiabamorenamacapalondrinacontagemsocialfortalmaceioleilaoosascoriobranconiteroi9guacutcheblogflogvlogwikitaxicoopmanauspalmascaxiasjoinvillebaruericampinassantoandreribeiraoriopretoweorgcomnetedugovv0windsurfshiptodaycloudsitecoaccoorgnetgovofmilcomgovmediatechzacoorgcomnetedugsjgovmydnspenfnlabnbmbgcbcqconcontnuyksknsmyspreadshopno-ipawdevboxbarsyonidatemfuinabusavinstanceseceuguukussryzespawncsxcloud-ipmyphotosfantasyleaguetwmailcleverappsscrappingccwucloudnsftpaccessgame-serverccgovobjectsrmalpgcust*svcalp1aeappenginermalpgmyspreadshop4lima2ixsquare7cloudscale123websitefirenet12hpflowgotdnslinkyard-cloudcloudnslima-citydnskingobjectstorageedaccogoorusorgcomnetinteduaéroportxn--aroport-byaassogouvcomilgobgovcloudnses-1eu-west-1us-east-1euvipit1eurarubait1s3lbwebsites3websiteru-spbru-mskelasticcsrunstnukukcaukusnl-ams-1fr-par-1fr-par-2functionsnodess3ddlwhmrdbfnck8sifrs3-websitecockpitscblmgdbdtwhkafkpubprivs3ddlwhmrdbk8sifrs3-websitecockpitscblmgdbdtwhkafks3ddlrdbk8sifrs3-websitecockpitscblmgdbdtwhkafkk8sscalebookpl-wawfr-parnl-amsbaremetalsmartlabelinginstancesdechk2kuleuvenlaravelvoorloperurownoxazapscwhstgrvaporobservablehqelementorantagonistreclaimjoteluluencowaydiademjelasticmatlabmagentositetrendhostingaxarnetperspectajenv-arubajelejoteravendbemergenttrafficplexconvexkeliwebserveboltbegetcdnstaticson-rancherprimetelonstackitunison-servicesdnshomelinkyardbarsyjelecloudnscocomnetgovmycn-northwest-1cn-north-1s3s3-accesspoints3-websites3s3-accesspointrdsdualstacks3-deprecatedemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspoints3s3-accesspointrdsdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicn-northwest-1cn-north-1cn-northwest-1ebcomputeelbcn-north-1airflowcn-northwest-1cn-north-1oncn-northwest-1cn-north-1amazonawssagemakeramazonwebservicesdirectasgdsdhehahljlnmhbacscahqhshhihnlnynsnmofjbjzjxjtjhkcqtwgsjssxnxjxgxxzgz網絡网络公司orgmilcomnetedugovxn--55qx5dcanva-appsxn--io0a7iquickconnectcanvasitekhsjxn--od0algmyqnapcloudsrvrlessclustersrealtimestorageleadpagescarrdcrdorgmilcomnomnetedugovhidnssupabaserdpareplmypiumsoxmitotaplpagesfirewalledreplitowodevwebview-assetsvfswebview-assetss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websiteemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecateds3-websites3-object-lambdaexecute-apis3s3-accesspoints3-websites3-accesspoint-fipss3-fipss3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstackemrappui-prods3-websites3-accesspoint-fipss3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apis3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9vfss3s3-accesspointdualstackemrappui-prods3-websiteaws-cloud9emrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9eu-west-3ap-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1us-northeast-1ap-southeast-1me-south-1af-south-1ap-south-1ap-southeast-7us-west-2eu-west-2ap-east-2us-east-2ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ap-southeast-6ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1mrapaccesspoints3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3s3-accesspointdualstacks3-deprecatedanalytics-gatewayemrappui-prods3-websites3-accesspoint-fipsaws-cloud9s3-fipsemrstudio-prods3-object-lambdaemrnotebooks-prodexecute-apicloud9s3eu-west-3ap-south-2eu-south-2computes3-ap-northeast-2elbrdss3-ap-east-1s3-sa-east-1s3-us-gov-west-1s3-eu-central-1s3-ca-central-1eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3s3-website-us-west-2s3-website-eu-west-1s3-external-1eu-central-1me-central-1ca-central-1il-central-1s3-us-west-1s3-eu-west-1s3-website-sa-east-1s3-website-ap-southeast-2ap-northeast-1ap-southeast-1s3-us-west-2s3-eu-west-2me-south-1af-south-1eu-south-1ap-south-1us-west-2eu-west-2us-east-2s3-website-ap-southeast-1s3-1s3-globals3-ap-northeast-3eu-north-1airflowap-southeast-2s3-us-gov-east-1s3-fips-us-gov-east-1s3-me-south-1s3-ap-south-1ap-northeast-2s3-website-us-west-1ap-southeast-5s3-eu-north-1s3-ap-southeast-1s3-website-us-gov-west-1compute-1s3-eu-west-3us-gov-west-1s3-website-ap-northeast-1us-gov-east-1s3-fips-us-gov-west-1s3-website-us-east-1s3-ap-southeast-2ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1s3-us-east-2s3-ap-northeast-1authauthauth-fipsauth-fipseu-west-3ap-south-2eu-south-2eu-central-2ap-southeast-3ap-southeast-4ap-northeast-3eu-central-1mx-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1ca-west-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1rservicesbuilderstg-builderdev-builder*ociocpocsdemoinstanceeu-west-3eu-south-2ap-southeast-3ap-northeast-3eu-central-1me-central-1ca-central-1il-central-1ap-northeast-1ap-southeast-1me-south-1af-south-1eu-south-1ap-south-1ap-southeast-7us-west-2eu-west-2us-east-2eu-north-1ap-southeast-2ap-northeast-2ap-southeast-5us-gov-west-1us-gov-east-1us-west-1eu-west-1us-east-1ap-east-1sa-east-1previeweu-4us-4us-1eu-1us-2eu-2us-3eu-3appspaasrag-cloudrag-cloud-chjcloudjcloud-ver-jpcdemonodebalancermembersipeuxvsoncillaocelotonzayalilynxsphinxfentigercustomercaracalo365cloudstaticxendevapp001testcode-builder-stgplatformapimediasiteprojedrydpagesjsu2u2-localx0desazacncoitrueu4uhkukgrbrushatenadiarymyspreadshopfrom-flfrom-wvwebspace-hosttheworkpchatenablogservesarcasmapplinzisakuratanwixsiteappchizigiizeis-into-carsdnsiskinkyadobeaemcloudis-a-therapistpgfogmyvncdojinis-an-actress1kappfldrvkozowqa2jpnmexprgmrfirewall-gatewaydynnscafjsfbsbxooguyxnbayfrom-gawoltlab-demois-a-anarchistwiardwebteaches-yogadattowebtb-hostinglive-websiteservegamegotpantheonfrom-nhsubsc-payfrom-ohvipsinaappfrom-cadyndns-officehomelinuxfrom-mahercules-appservebbsstreakusercontentfrom-okfrom-wyfastly-terrariumis-a-llamaqualyhqportalserveexchangeon-vaporvivenushopciscofreakgrayjayleaguesmetaaiusercontentfrom-iais-a-libertariansaves-the-whalestaveusercontentyolasiteoperaunitepoint2thisis-a-catererlinodeusercontentfrom-vagithubusercontentsells-for-lesshosteurcanva-appsplaystation-cloudddnsfreefrom-pafrom-prfrom-waddnskingoutsystemscloudhotelwithflightmydattois-a-nascarfanmydbserverminiserverdamnserverservehumouris-a-playerfrom-nvfrom-nmemergentagentgentappsamplifyappfrom-kyis-an-accountantnfshostserveircfrom-akpythonanywherestackhero-networkpostman-echolikescandydyndns-mailobservableusercontentserveftpfreeboxosfrom-utcdn77-storageamazonawsneat-urldyndns-serverlinodeis-a-teacherfrom-vtgleezemythic-beastsus1-pleniteu1-plenitla1-plenitpaywhirlservecounterstrikejdevcloudhealth-carereformis-into-animegoogleapisis-a-painterafricaisa-hockeynutatmetais-an-actora2hostedis-a-democratdatadetectest-le-patrondigitaloceanspacesis-a-designeris-a-hunterlinodeobjectstemp-dnsissmarterthanyoufrom-arsimplesiteevennodetownnews-stagingis-a-liberalgooglecodejelasticservemp3stdlibqualyhqpartnerdyndns-free1cooldnsest-a-la-masiondrayddnsdynuddnsfrom-orfrom-miis-a-bloggerfrom-himydobisscanvacodeis-an-engineerest-a-la-maisonupsunappdevinappswafflecellmyasustorwpenginepoweredfrom-ctservep2psame-appmyshopblocksthingdustdatalikes-piediscordsezis-with-thebanddev-myqnapcloudlpusercontentis-leetshopitsite3utilitiesis-a-personaltrainersinaappladeskis-a-cheflogoipselfipbase44-sandboxnospamproxyalibabacloudcsmesswithdnsauthgearappsiamallamawithgooglelutrausercontentmochausercontentframercanvasmytabitdyndns-homew-credentialless-staticblitzcpserverdiscordsaysis-a-nurseappspotatlassian-isolated-3premotewdfrom-mtwixstudiocode0emm180rmyactivedirectoryawsappsmytuleapdnsabrpolyspaceqbuserrenderbuiltwithdarkboutirgotdnsabrdnsdopaascanva-hosted-embedawsglobalacceleratorhomesecuritypcmyiphostditchyouripclever-clouddyndns-ipon-aptibleis-a-musiciansecuritytacticsappspaceusercontenthomeunixstrapiappsame-previewcf-ipfsmycloudnaselasticbeanstalkis-certifieddontexistkasserverik-serverdrive-platformatlassian-3pfirebaseappherokuappawsapprunnerbarsycenteris-a-cubicle-slaveservehttpmyshopifyis-a-guruquicksytessiiitesorsitesmagicpatternsappis-a-cpameteorappfrom-wiis-a-rockstarbumbleshrimpdattolocalreadthedocs-hostedfrom-rifamilydsdyndns-picsplesknsbplaceddnsaliasdynaliasdyndns-remotedoomdnsip-ddnsblogdnsis-a-doctorroutingthecloudamazoncognitobarsyonlinedsmynasddnsgurucloudflare-ipfsdeus-canvasfrom-idsmushcdnpagespeedmobilizerdyndns-at-homeunusualpersonhosted-by-previderis-a-republicandyn-o-saurstreamlitappworkisboringonthewificprapidqualifioappis-uberleetis-slickgetmyipwpdevcloudtypeformdyndns-at-workgentlentapismynascloudw-corp-staticblitzfrom-ingeekgalaxyservebeerfrom-mdonrenderspace-to-rentaivencloudappspacehostedonfabricawafaicloudcodespotblogspotatlassian-3p-us-gov-modfrom-ndfrom-msis-a-techieis-a-studentcustomer-ociis-a-photographerdurumisfrom-ksmassivegriddyndns-wikiis-an-entertaineris-a-hard-workermysecuritycamerafrom-mnrackmazedyndns-blogis-a-bulls-fanwritesthisblogfreemyipsimple-urlfrom-sdreservdauthgear-stagingest-mon-blogueuris-into-gamesrice-labsxtooldevicesakurawebis-an-anarchistoraclecloudappsdyndns-worksells-for-urhcloudfrom-dcfastvps-serverwpmucdnis-a-geekscrysecfrom-txis-into-cartoonsmodelscapetrycloudflarelocaltonetstreak-linkbalena-devicesfrom-njforgeblocksfreebox-oswebadorsitefrom-ncdoesntexisthobby-sitestreaklinkshomesecuritymacownprovidertuleap-partnersdattorelaywphostedmailalpha-myqnapcloudservequakeis-a-socialistservehalflifepivohostingdynuhostingquipelementsw-staticblitzdyndns-webfrom-deproject-studyaliases121is-not-certifiedhercules-devis-a-financialadvisorservepicsis-a-greenloseyouripfrom-ilwithyoutubemwcloudnonprodwiredbladehostingdnsdojofrom-tnpixolinomyqnapcloudis-an-artisthostedpiis-a-landscaperauiusercontentoaiusercontenton-forgeis-a-conservativedreamhostersnet-freaksapps-1and1is-goneencoreapifastly-edgefrom-nesalesforcefrom-scdeployagentoraclegovcloudappsfrom-alis-a-lawyercechirevultrobjectsstufftoreadisa-geekddnsgeeklovableprojecttry-snowplowfrom-moblogsyteis-a-bookkeepernogmyforumravendbmyboxdeelementoredsaacficogoorinforgcomgobnatneteduidstoreorgcomnetintedudevnomepublorgcomneteduathgovtestscalculatorspaynowinfoquizzesresearchedcloudnsfunnelsassessmentsjscaleforcetmacltdorgmilcompronetgovbizpresseklogesrsccloudcustomfltusrcloude4corealmgovmunicontentproxy9metacentrumdyndyndyndnsdynpagespages-researchitionoccustomercomymyspreadshopipv64diskussionsbereich4limacomrub2ixfirewall-gatewayddnssspdnsbarsykeymachinesquare7myhome-serverspeedpartnercommunity-proschuldockxenonconnectgünstigliefernbwcloud-os-instancedyndnssecmy-routerxn--gnstigliefern-wobin-butterl-o-g-i-nisteingeekin-dslin-berlinin-brbfuettertdasnetzleitungsenin-vpnlcube-serverdyn-ip24logoipdyn-berlinruhr-uni-bochum12hpgoipsrvdnsfruskygit-repossvn-reposinternet-dnsgünstigbestellenhome-webserverxn--gnstigbestellen-zvbbplacedheimdnscosidnswebspaceconfiglima-citydyndns1istmeinvirtualuserschulplattformmy-gatewayddnsseclebtimnetztest-iservmein-iservvirtual-userhome64iservschuletaifun-dnstraeumtgeradeschulserverdynamisches-dns123webseitednshomehs-heilbronndnsupdaterbssgraphicdwadpdwdaepeweaawapaafpfwfabwbpbacwcpcciwebuserapiobjectsidsiskospockkimodorikerbonesteamsparisjanewaypicardglobaltarpitreedpikekiraworfsulukirkarchertuckerhackercanarywesleystagingprereleaset3r2lpbravepanelngrokiservstglclcrmerpflypagesbarsyvivenushoplocalcertlocalplayerbearbloggatewaydeno-stagingis-not-ais-a-goodbotdashvercelmocha-sandboxplatter-appreplitgithubpreviewworkersinbrowserevervaultdetais-ahrsndenoxmitmodxmyaddrstorageapipayloadgrebedocruncontainersstgstagelclstageloginlineis-a-fullstackleapcellngrok-freeis-coolstoragewebharemediatechlibp2pdiscourseimaginecomyspreadshopstoreregbiz123hjemmesidefirmcoorgcomnetedugovsldorgmilcomwebgobartnetedugovtmorgpolcomsocartnetedugovassoagrondiscoodontk12medcuegyecpaabgengorgmilgalsaltulcomadmesmgobpubdocmonfindgnriouioproartlatvetnetfotedulojgovntrturibrbarxxxofficialbasechefprofmktgpsictechinfoarqtcontdentrrpppsiqgit-pagesritmedfieorgcomlibprieduaipgovriikmeactvsportorgmilcomscieunnetedugovnameinfopintouchtawktotawkmyspreadshoporgcomnomgobedu123miwebcomputeorgcomnetedugovbiznameinfocognito-idpeusc-de-east-1onjelasticnxaspdnsbarsydirectwpdeuxfleurstransurldogadoprvwcloudnsamazonwebservicesdnshomeuserpartycokoobinmkmstorjfidemopaasdymyspreadshopalandkapsiikixn--hkkinen-5wacloudplatformdatacenterhäkkinen123kotisivuidacorgmilcompronetedugovbiznameinforadioorgcomneteduuserexperts-comptablestmmyspreadshopgretaprdcomnomynhccifbxoshuissier-justicenotairesaeroportfreeboxoson-webavocatassoportgouvkdnschirurgiens-dentistes-en-franceavouesfbx-os123sitewebveterinairechirurgiens-dentistespharmacienchambagrimedecinfreebox-osdediboxgoupilemszicpyicpvicppleysheezypagesedugovcnpyorgcomcybllcpvtnetedugovtnxonlineschooldaemond6atcopanelorgnetplybotdashstackitkaasorgmilcomnetedugovbizmodltdorgcomedugovcoorgcomneteduappwriteacorgcomnetedugovcloudtranslateusercontentorgcomnetedumobiassoorgcomnetedugovbarsysimplesitediscourseindorgmilcomgobneteduorgcomwebnetedugovguaminfonxhra教育敎育網絡网絡组織組織网络網络组织組织公司政府個人个人箇人ltdorgcomincneteduidvgovxn--uc0ay4axn--55qx5dxn--mk0axixn--io0a7ixn--uc0atvxn--zf0avxxn--lcvr32dxn--od0algxn--wcvs22dxn--gmqw5axn--od0aq3bxn--mxtq1mxn--ciqpnxn--tn0agxn--gmq050iorgmilcomgobneteduiservwp2tempurlmircloudfreesitewpmudevmyfastgadgetcloudaccessjelehalfboltfastvpsemergenteasypanelopencraftizcombrendlynamefromrtpersoadultmedorgpolrelcomproartnetedufirminfoassoshopcoopgouvtmcomediahotelforumvideosportorgsexagrargameslakaseroticaerotikatozsdereklamcasino2000filmsuliinfoboltshopprivnewsszexcityutazasjogaszkonyveloingatlaneacaicogoormyᬩᬮᬶmilwebschnetkopbizzonedesaponpesxn--9tfkymyspreadshopgovmytabittabitorderravpageaccok12idforgnetgovmuniltdplcaccotttvorgcomnetmeca6g5gpgamubacaicniocoukuptverdruscsdelhiindorgmilcomwebnicfingenpronetintedugovresbizbiharbarsyinternetbusinessschooltravelsupabasealumnigujaratfirminfoaeropostbankcoopindevscloudnsno-ipbarsybarrell-of-knowledgebarrel-of-knowledgensupdategroks-thisdnsupdatefor-ourknowsitalldvrcammittwalddynamic-dnsv-infowebhopselfipdyndnshere-for-moreilovecollegemayfirstforumzcloudnsmittwaldservertypo3servergroks-theeusekd1uk0cdndyndnsidrawsainaueuapjpusstagemocksysdevicesclientcustreservdcustdevdisrecprodtestingcobeebyteutwenteboxfusebravepstmndedynngrokorgmilcomnomhzcnetedugovqcxqzzbarsythingdustmo-siemensrb-hostingprotonetfh-muenstergitbookbluebitecloudbeesusercontentnodeartkiloappsforgerockdarklangresinstagingapigeebubbleb-datascryptedhypernodedappnodepantheonsitegitlabgithubkeeneticvirtualservercleverappshostyhostingon-rioedugitticketstelebiton-acornwixstudioon-k3sicp0icp12038jeleqotobigvlairbubbleappsmyaddrstolosmyrdbxwebflowdrive-platformbeagleboardhasura-applolipopdefinimavaporcloudmusicianwebflowtestazurecontainerresindevicereadthedocsloginlineeditorxmoonscalesandcatsbasicserverwebthingsbrowsersafetymarkbeebyteappbitbucketidaccovistablogorgschnetgovxn--mgba3a4f16axn--mgba3a4fraarvanedgeايرانایرانjclaspeziapdudcefegelemeperetevebacanatavaparasabgagfgogrgpgalclblimfmrmcbmbvbfclcmcvcrcpcchlimifibicivipirisimncnbnanenrnpntnnolomobocoaogorosopotoptvtatctbtmtltotpulunutpspapaqsvpvvvtvavvrtrsrprgrfrcrbrarorkrvstsssbscsmsispzczbzbozen-suedtirolmyspreadshopxn--bulsan-sdtirol-nsbxn--valledaoste-ebbtrentinoaltoadigetrentin-sued-tirolxn--forlcesena-c8axn--forl-cesena-fcbxn--bozen-sdtirol-2obtriestetrentinsuedtiroltrentino-s-tirollecceudineaostesienaparmaluccapaviagenoapaduaaostamonzaabruzzoternirietiturinmilanbozenlaziofermoleccocuneonuoropratola-speziavdataaligfvgpugmolcalcamlomumbsicpmnvenvaoedugovabrsarmaremrbastoslazibxosfirenzetrentinosüdtirolval-d-aostavalle-aostamessinacremonaravennatoscanatrentin-suedtirolbolognacalabriaurbinopesarofriuli-v-giuliaogliastraxn--valle-aoste-ebblaquilaandriatranibarlettasyncloudtrentinosudtirolxn--valle-d-aoste-ehbaostavalleyvalled-aostatrentino-alto-adigevallee-d-aostexn--balsan-sdtirol-nsbpistoiasicilialucaniacataniaiserniaperugiabresciaveneziagorizialiguriaimperiabulsan-suedtirolbalsan-suedtirolbarlettatraniandriaxn--trentino-sdtirol-szbforlì-cesenatuscanyvallée-d-aostemantovavallée-aostecasertapiemontevalleaostaval-daostafriulivgiuliatrevisoforli-cesenavalléedaosteferrarapescaravald-aostatrentino-altoadigefriuli-vegiuliavallee-aostecarboniaiglesiastarantomediocampidanovalleedaostetrentinosud-tirolcampobassotrentinsüd-tiroltrentinosüd-tirolmonzabrianzatrentino-südtirolxn--trentino-sd-tirol-c3bpotenzacosenzavicenzaemiliaromagnavenicefrosinonemarchepordenonetrentinosued-tirolvaresemolisevalléeaostefriuli-veneziagiuliabasilicatalatinaanconasavonaveronamodenaaquilabiellabolzano-altoadigepugliafoggiaumbriatrentino-stirolgenovapadovamateranovararagusapiacenzatrentinostirolvalleeaostetempio-olbiatrentinsudtirolmassa-carrarafriuliveneziagiuliatrentinosuedtirolandria-barletta-tranitrapanixn--cesenaforl-i8amaceratacaltanissettaascoli-picenobrindisicarraramassacagliaririmininapolivibo-valentiachietibulsan-sudtirolbalsan-sudtiroltrentino-a-adigebulsanbalsaniglesiascarboniamilanotorinoteramodell-ogliastraarezzotrentinoalto-adigerovigotrentovenetoiglesias-carboniatrentino-sud-tirolaltoadigereggio-emiliareggio-calabriasardegnatranibarlettaandriapiedmontxn--sdtirol-n2amedio-campidanotrentino-süd-tirolfriuli-vgiuliafriuli-ve-giuliaromeennaromapisa32-b16-b64-blodiastibarineencomonaplesforlicesenailiadboxosalessandriasicilytrani-barletta-andriaxn--trentin-sdtirol-7vbpesarourbinotrentinsued-tirolcesena-forliforlìcesenaemilia-romagnamonzaebrianzaxn--trentinsdtirol-nsbtrentinos-tiroltrentinsüdtirolvalledaostaolbia-tempiocampidanomediovibovalentiasassarivalle-daostalombardyfriulivegiuliareggioemiliamonzaedellabrianzaalto-adigevercellitrentin-sudtiroltraniandriabarlettatrentino-sudtirolascolipicenobozen-südtirolfriulive-giuliaflorencevaldaostaxn--cesena-forl-mcbcarbonia-iglesiasaosta-valleycarrara-massadellogliastratrentinoa-adigexn--valleaoste-e7apesaro-urbinoxn--trentinosdtirol-7vbxn--trentin-sd-tirol-rzbxn--trentinsd-tirol-6vbtrani-andria-barlettatrentin-süd-tirolxn--trentinosd-tirol-rzbgrossetomonza-e-della-brianzasüdtirolreggiocalabriatrentinoaadigetrentin-südtirolfriuliv-giuliaverbaniacampaniatrentino-aadigefriulivenezia-giuliasardiniaandriabarlettatranibarletta-trani-andriacatanzarooristanourbino-pesarocesena-forlìvalle-d-aostacampidano-medio123homepagesiracusatempioolbiasuedtirollombardiaavellinocesenaforlìtrentinofriuli-venezia-giuliabozen-sudtirolandria-trani-barlettabulsan-südtirolbalsan-südtirolmonza-brianzabolzanotrentino-sued-tirolbellunosalernolivornocrotonesondriodnshometrentinsud-tirolmassacarraratrentin-sud-tiroltrentino-suedtirolviterbobergamocesenaforliolbiatempiopalermobeneventoagrigentoofcoorgnetfmaitvphdengorgmilcomschnetedugovperagrikanieasukehandachitatokaiaisaikonanoharuamaobuhigashiuraowariasahiinuyamatobishimaiwakurashitarainazawatoyonegamagorimihamatoyotataharakariyayatomioguchikomakimiyoshinishiotokonamekiyosuchiryutoyohashiokazakiisshikikasugaikotakiratoeianjotogofusosetohazutsushimashinshirotakahamanisshinshikatsuhekinantoyokawaichinomiyatoyoakeodateogataakitaikawakyowahonjoogayurihonjonoshirokamiokakatagamimitanegojomeyokotekosakadaisenkazunonikahohonjyomoriyoshimisatohappoukamikoanihachirogatahigashinarusesembokufujisatokitaakitaitayanagiowanitakkomutsutsurutahirosakigonoheoirasetowadamisawanohejiaomorishingohiranairokunohehashikamitsugarushichinohehachinohenakadomarisannohekuroishisakaeisumiasahiotakiinzaiabikomatsudoyachiyomutsuzawakujukuriomigawakashiwatoganemihamanaritasakuranagaramobarahanamigawachoshishiroichoseikozakishisuikatorimidorichonankyonanfuttsuonjukufunabashinagareyamanodasosatakochuotohnoshourayasukimitsuyokaichibayotsukaidosodegauratateyamakamagayayokoshibahikariyachimatakatsuuratomisatokisarazukamogawaichikawanarashinoichinomiyashimofusaminamibososhirakoichiharaoamishirasatoikatahonaiainansaijoseiyoiyoozuuwajimaniihamanamikatamasakiuchikokihokutobetoonshikokuchuomatsuyamaimabarikamijimakumakogenyawatahamamatsunosabaeikedaobamasakaifukuiohionotsurugamihamawakasaminamiechizeneiheijikatsuyamatakahamaechizensoedaukihaomutaokawanishiogoribuzenonojosueumiokiotochikugosasagurisaigawamizumakishinyoshitomikurumekurateyamadakasuganakamamiyamanogatatakatahakataiizukakawaratagawakasuyaashiyainatsukimunakataminamitsuikishonaikurogifukuchikeisenhigashimiyakoshinguyukuhashiokagakiyamekogaongausuikahotohochuotoyotsumiyawakadazaifuhisayamatachiaraiyanagawanakagawahirokawachikujochikushinochikuhochikuzennamieotamaokumashowateneiiwakikoorinangoononishigoshimogoomotegomishimafukushimaasakawakagamiishishirakawaiitatefutabahiratayugawahanawakitakatakawamatakunimiyabukibandaihigashihironoyamatomiharuyamatsuriaizubangedatesomaaizuwakamatsuyanaizuaizumisatonishiaizuizumizakikitashiobarataishinkaneyamakoriyamainawashirotanagurafurudonosamegawasukagawaishikawatamakawaikedaogakitaruiginanenahashimahichisonakatsugawaibigawashirakawamizunamiminokamomitakekawauesekigaharatomikasakahogikitagatayamagatatajimianpachimotosuyaotsukakamigaharahidakanisekitokigujominogodoyorogifukasamatsutakayamawanouchihigashishirakawakasaharashimonitatsumagoichiyodakannakanrashowameiwakiryuotaoratomiokafujiokaitakuranaganoharahigashiagatsumatakasakishibukawaminakamikatashinatsukiyonokawabanumataannakaoizumimidorishintoisesakiuenoyoshiokakusatsutakayamanakanojonanmokutamamuratatebayashimaebashiotakekaitadaiwahongofuchukuietajimashobaramiharahatsukaichihigashihiroshimamiyoshikumanokurenakasakaseraseranishiasaminamifukuyamashinichionomichiosakikamijimajinsekikogentakeharaotobenanaeikedatohmaozoraobiraabirakyowaeniwataikibibaisharirebunerimohiroooketootarupippunishiokoppechitosefurubirahakodateshiranukakitahiroshimakushiroobihironanporoiwamizawaniikappukunneppufukushimanakasatsunaitoyourakuromatsunaiakabirakamisunagawashibechaurakawakamifuranonakatombetsuasahikawashimokawakayabeokoppebiratoriabashirisaromaatsumanumatahidakabifukamukawamikasahorokanaitoyotomisarufutsuhigashikawaishikarikitamiyoichiesashiiwanaitomariminamifuranoakkeshifuranotoyakoyakumootoineppushikaoishiraoinemuronayorohaboroashorobihororishirifujiutashinaihokutotakasuebetsuurausuassabukikonaishimamakinaiedatetoyabieinikiesanuryuoumuteshikagarikubetsuashibetsukimobetsuaibetsutobetsusobetsuembetsushimizuchippubetsurishirihokuryuhoronobeshintokutsubetsushibetsuhonbetsumombetsutsukigatakuriyamakoshimizushiriuchikutchanmurorannoboribetsukamishihorowassamushinshinotsukembuchiwakkanaikamoenaikiyosatotakinoueshikabesunagawafukagawanakagawatakikawakamikawahigashikagurahamatonbetsumatsumaemoseushirankoshishakotanimakanemashikeotofuketomakomaisandatambaitamiawajikasaiasagoshisoonoakoyashirotoyookaminamiawajiinagawafukusakitakasagokamigorikasugaharimayokawaashiyahimejiakashitaishiaogakisannantakinosumototakarazukanishinomiyashingugoshikinishiwakiyokatakaaioimikisayoyabukawanishiamagasakisasayamashinonsenkakogawaichikawakamikawatatsunotsukubaiwamaogawaasahisakaitokaioaraiitakobandodaigosuifuinaamikasumigaurakashimaomitamayachiyoshimodatetomobetoridehitachinakainashikisakuragawakasamayawaramoriyahitachiomiyanamegatayamagatahitachikamisuushikutakahagiibarakitonekoganakasowayukimihojosomitoryugasakishimotsumafujishirotsuchiurachikuseihitachiotashirosatotamatsukuriuchiharashikahakuinanaotsubatawajimakahokukawakitatsurugikaganominotosuzuuchinadakomatsuanamizunakanotohakusannonoichikanazawaiwateshiwafudaikawaimoriokaofunatohanamakikuzumakikitakamininohekunoheyamadayahabasumitaichinosekitanohatahiraizumirikuzentakatajobojiotsuchihironomiyakoiwaizumikarumaiichinohenodakujitonooshushizukuishifujisawamizusawakamaishikanegasakimannoutazukotohiraayagawazentsujihigashikagawauchinomikanonjisanukimarugamemitoyotakamatsutadotsunaoshimatonoshoakuneamamiizumihiokiyusuikinkoisasookouyamanakatanekagoshimakanoyaisenkawanabeminamitanemakurazakitarumizunishinoomotematsumotosatsumasendaioimatsudaayaseebinamiurazushinakaiodawaraiseharasagamiharahakoneaikawakaiseiatsugitsukuihadanoyamatoyamakitazamaoisochigasakininomiyayokosukakamakuraminamiashigarafujisawasamukawakiyokawahiratsukayugawaraokawaumajikochitsunootoyoakiinonishitosayasudahidakamiharasakawaniyodogawahigashitsunokagamigeiseisusakiotsukinaharisukumomurototosakamiochitoyotosashimizumotoyamanankokunakamurakitagawayusuharaogunichoyoukiasoutoozugyokutoamakusamifunetakamoriyamagaminamataminamiogunikikuchisumotoyamatonagasumashikiaraokumamotokamiamakusanishiharayatsushiroayabeseikasakyoideineujinakagyokameokakyotangokyotanabekyotambaminamiyamashiroyamashinatanabeyawatawazukaminaminantanmiyazuhigashiyamafukuchiyamakitamukokamojoyokizumaizuruujitawaraoyamazakinagaokakyokumiyamakawagoeinabeshimameiwaasahitaikiudonoisetsukisosakikuwanamihamamiyamasuzukatamakimisuginabarikumanokomonominamiisewataraitobakiwatakikihotadomatsusakayokkaichikameyamaureshinoishinomakishichikashukuohirataiwaosakizaohigashimatsushimashikamaiwanumashibataogawaraonagawakawasakiseminemarumoriminamisanrikukakudamuratawakuyatomiyanatoriwataritagajomisatotomekamirifushiroishimatsushimayamamotoshiogamafurukawahyugaebinotsunosaitoayakushimanobeokakitauramiyazakitakazakigokaseshiibamimatashintomikunitomikitakatakobayashikawaminamitakaharukijotakanabemiyakonojonishimeranichinankitagawakadogawamorotsukakisofukushimaminamimakisakaeobuseikedaogawamiasaokayaasahiotakiotarichinoinaomichikumakomaganechikuhokukaruizawayasuokaooshikaikusakaminamiaikitogakushimatsukawakawakamitateshinatakamorikitaaikishiojirimiyadahakubaiizunaiijimaiiyamamiyotasuzakayasakatoguraookuwanagawaminowahirayayamagataminamiminowafujimiomachisakakitakaginaganonakanosakuhokomoronagisoshinanomachiwadauedaiidaharasuwatomiachiaokianankisosakunozawaonsenagematsutakayamashimosuwamatsumotoyamanouchinakagawamochizukiazuminotatsunoobamaomuraseihiunzenosetofutsuikichijiwanagasakiisahayahasamisaikaikawatanasasebohiradokuchinotsugototogitsutsushimashimabarashinkamigotomatsuurayamazoekashibaikomakawaitenrioyodosangokoryoudaojiikarugayamatokoriyamatenkawakatsuragikurotakikawakamimiyakemitsuetakatorikamikitayamayamatotakadahegurishinjokanmakisakuraitawaramotogoseoudanarasoniandokawanishishimoichihigashiyoshinokashiharashimokitayamanosegawayoshinomintsivorytopazsakuragehirnsumomoaseinetopalmail-boxmokurenyoitamuikaojiyagosensanjoaganomyokoseiroagaomishibataniigatanagaokamurakamiuonumayuzawakariwatagamitainaitsunanminamiuonumatochioyahikojoetsuseiroukamosadoizumozakitokamachiitoigawasekikawakashiwazakitsubamemitsukekokonoesaikiusukibeppuusahimeshimakunisakihasamataketatsukumihitaoitahijikusuyufukujukamitsuebungoonobungotakadaibaraniimibizentsuyamaokayamakasaokahayashimayakagemaniwaakaiwamisakishinjotamanotakahashikibichuowakesojanagishookumenannishiawakurakurashikiasakuchisetouchikagaminosatoshotomigusukunakagusukuyaeseizenaurumaiheyaaguniogiminanjokinminamidaitokitanakagusukuyonaguniokinawaishigakikunigamiurasoekadenataramahiraraginozataketomishimojizamamitonakiitomanhigashimotobuyonabarugushikamionnanahanagohaebarukumejimakitadaitonakijinnishiharayomitanginowantokashikiishikawaikedasuitaminohizuminishisakaikananabenodaitoosakasayamayaokishiwadatadaokakaizukatondabayashichihayaakasakakumatorikadomasayamahigashiosakashijonawatehirakatataishimisakitajirihannansennankatanotoyonominatosettsuhigashiyodogawaibarakinosekitachuohigashisumiyoshifujiiderakashiwaraizumiotsutoyonakamatsubaramoriguchiizumisanoshimamototakatsukineyagawahabikinotakaishikawachinaganoyoshinogarikamiminearitaouchiimarihizenogikashimaariakekiyamafukudomikitagatakitahataomachigenkaikanzakinishiaritakyuragisagataratosutakushiroishikaratsuhamatamakouhokukawagoeyoshidasatteogoseirumaasakaurawaogawaniizaomiyayoriiotakishikihonjooganohannohanyuinasaitamaokegawaarakawayoshikawayokozehasudasayamahidakafukayachichibuiwatsukiryokamiyoshimikamiizumifujimiwarabiranzanmiyoshiminanoyashiosakadosugitomisatohigashichichibutodasokakukiyonokazoshiraokakasukabekounosukawajimatsurugashimamiyashirokitamotohatoyamamoroyamahatogayakumagayakawaguchinagatorokamisatomatsubushinamegawatokigawakamikawafujiminohigashimatsuyamakoshigayatokorozawas3isk01isk02ryuohkoseikonanaishorittotakashimamaibarahikonetorahimenishiazaikokagamokotoyasuotsukusatsunagahamamoriyamatoyosatotakatsukinotogawaomihachimanhigashiomiakagiunnanizumogotsuamayatsukakakinokimatsuehamadamasudahikawahikimiokuizumoyasugiyakumomisatotamayuohdahigashiizumookinoshimanishinoshimatsuwanoshimaneshimadafujiedayoshidashimodagotembaiwataatamikosaiyaizuitoizumishimahaibaramakinoharaomaezakikawanehonkannamisusonohigashiizufukuroinumazukawazufujiaraishizuokahamamatsushimizuizunokunimatsuzakimorimachiminamiizunishiizukikugawakakegawafujikawafujinomiyaujiietsugaoyamayaitaohiranikkoashikagakuroisokanumasakurashioyakarasuyamamotegiichikaikaminokawatochigihagamokanogisanobatonasumibunasushiobaranishikatautsunomiyaiwafunemashikoshimotsukeohtawaratakanezawaitanokomatsushimatokushimaichibaminamiaizumiwajikikainanmiyoshinarutomimamugiananmatsushigesanagochishishikuinakagawamachidachiyodakomaefussainagitaitochofufuchuomeotahigashiyamatotoshimaokutamaaogashimakodairaedogawaarakawahachiojishinagawatachikawashibuyasuginamihinodekiyosesumidaoshimanerimamitakahamuraadachinakanomizuhobunkyomegurominatokoganeihigashikurumekokubunjihigashimurayamamusashimurayamatamakitahinochuokotokatsushikakouzushimaogasawaraakishimakunitachishinjukusetagayamusashinohachijoitabashiakirunohinoharachizunanbukotouramisasawakasayonagokogehinoyazutottorinichinansakaiminatokawaharaoyabetairainamiasahinantoimizufuchutakaokakurobeyamadajohanatoyamatonaminyuzenfunahashinakaniikawanamerikawaunazukitogahimiuozufukumitsutateyamakamiichiiwadearidayuasainamitaijikatsuragiaridagawatanabemihamahidakakainankiminomisatoshingushirahamakamitondayurakozakoyagobokitayamawakayamakudoyamahashimotokushimotokozagawahirogawakinokawanachikatsuurarsuseroeoishidasagaeoguniasahinagaitendonanyoobanazawanishikawasakataohkuratozawamikawamamurogawayamagatafunagatatakahatashonaishinjokahokuiideyuzakawanishitsuruokakaminoyamayamanobeshiratakamurayamanakayamakaneyamahigashineyonezawasakegawamitouubeyuuabushimonosekitabuseoshimatoyotaiwakunihikarishunannagatohagihofukudamatsutokuyamashowadoshitsurunanbukoshukaiminami-alpsnirasakikosugeotsukioshinohokutominobuyamanashifuefukichuokofuichikawamisatoyamanakakonakamichitabayamanishikatsuranarusawafujikawahayakawafujiyoshidafujikawaguchikouenohara長野京都岐阜大阪三重群馬千葉滋賀佐賀奈良adednelgaccogogror秋田愛知高知埼玉沖縄栃木熊本岩手青森山梨新潟島根鳥取長崎香川宮城石川大分宮崎茨城山口兵庫山形徳島広島福島福岡岡山富山静岡愛媛福井東京xn--4it168dhatenadiaryxn--vgu402ckawaiishophatenablogcocottenamaste北海道penneehimeiwateversestabachibashigagonnagunmapermahaccaakitaosakauh-ohblushkochiaichifukuikuroncapooitigohyogotokyokyotopunyuthickcheap0t00g00j0mie2-ddaapyawjg0amfemsubxiiboomoobutchueekpgwrgrherskrboyrdyupperunderflierchipsmydnsheavyangryhippygirlyrulez神奈川鹿児島和歌山bambinaxn--nit225kokayamasaitamaxn--k7yn95exn--1lqs03nsapporoparasitelolipopmcxn--efvn9sniigatafukuokatokushimafukushimahiroshimakagoshimafakefurokinawaxn--8pvr4ucoolblogxn--0trq7p7nnkawasakinagasakimiyazakichilloutxn--8ltr62kxn--klty5xpeeweezombiecutegirlxn--rny31hxn--uuwu58axn--ntso0iqx3axn--djrs72d6uytoyamanikitanyantakagawamimozanagoyaboyfriendxn--2m4a15egreaterchowderegoismyamagatafashionstorexn--elqq16hxn--pssu33lsendaimiyagixn--rht27zpecoriaomorisaloonwatsonvivianxn--djty4knobushipigboatnaganopinokoxn--f6qx53asadistvelvetsecretxn--5js045dchicappayamanashiibarakidigickgirlfriendxn--1lqs71dmongolianxn--c3s14mxn--qqqt11mtochigixn--5rtq34kparallelo0o0mondkobesagabonadecaoitanarafoolkilldecimainhiholomosblokilociaoundopupugifutankcrapflopnooroopsmodsholyjeezstripperpepperbittershizuokaxn--rht3dkitakyushureadymadeicurusversusmatrixxn--rht61ehungryfloppygloomycrankyhandcraftedlittlestarxn--klt787dxn--kltx9awhitesnowsunnydaytottorilovepoptheshopbuyshopxn--5rtp49cxn--d5qv7z876cwebaccelxn--kbrq7oxn--4pvxsxn--1ctwolovesickkumamotocatfoodxn--tor131oyokohamawakayamatonkotsuxn--ehqz56nxn--uist22hxn--6btw5axn--kltp7dyamaguchifrenchkisspussycatxn--4it797kxn--uisz3gbabybluexn--zbx025dnetgamersxn--7t0a264ckanagawaxn--6orx2rishikawaxn--ntsq17ghalfmoonschoolbusjellybeanxn--mkru45iusercontentlolitapunkxn--32vp30hsakurastoragehokkaidoshimanecandypopbabymilksupersaleweblikeraindropbackdropwebsozaikikirarahateblodaynightmeneacsccogoormobiinfoaeusxxorgmilcomnetedugovorgcomnetedugovbizinfotmprdorgmilcomnomedugovassnotairespresseassocoopgouvveterinairemedecinpharmaciensorgnetedugovtraorgcomedurepgovmeneperekgacscaiiocogoitoresmshsseoulbusanulsandaeguc01milvkimmvchungnamjeonnamjeonbukeliv-dnsgyeonggijejueliv-cdnincheondaejeongangwongyeongbukgwangjuchungbukgyeongnameliv-apicoeduindorgcomembnetedugovorgmilcomnetedugovjcloudorgcomnetintedugovperbnrinfocooyorgcomnetedugovipfscanvamypepw3sstorachakeeneticjoinmcinbrowserdwebcyonnftstoragemyfritzaemewphlxachotelltdorgcomwebsocschngonetintedugrpgovassnomgacsccoorgnetedugovbizinfo123websiteidorgmilcomasnnetedugovconfidmedorgcomplcschnetedugovaccoorgnetgovpresstmassoirseproxaccosoundcasthoptocraftvp4c66orgnetedugovitsmcdirmyboxbarsyedgestacksynologylogintonohostwebhopdiskstationi234tcp4hoocgroknoipprivmydsddnsdnsforlohmustransipdscloudfilegear-sgbrasiliafilegearframerbarsybarsyonlinecoprdorgmilcomnomedugovinforgcomnetedugovnameacprorgcomartnetedugovpresseinfoassoinstgouvorgnycedugovbarsydscloudjuorgcomnetedugovminisiteaccoororgcomnetgovorgmilcompronetintedugovbizmuseumnameinfoaerocoopaccoorgcomnetintedugovbizcooporgcomgobneteduorgmilcomnetedugovbiznameaccoorgmilneteduadvgovcoorgcomnetaltgovforgotherhiskeeneticispmanagernomassoprod5476132eastasiacentraluswesteuropewestus2eastus2rucdnwest1-usfra1-desandboxjls-sto1jls-sto3jls-sto2aglobalabglobalsslmapprodfreetlsmaplon-1lon-2ny-1fr-1sg-1ny-2paassnwebpaashostingjelasticnordeste-idcsocuserpagescwebfileblobservicebuscoreatlricnjsjelasticwebsitestoragesezagbinruhuukjptsmyspreadshopmynetnameakamaiorigin-stagingfrom-coipv64dynv6cdn77serveblogadobeaemcloudhicamsprytdnsupno-ipownipde5ovhicpfirewall-gatewaysytesmypsxbarsyusgovcloudapimyamazemyradwebakamaihdsaveincloudfastlylbfrom-lasubsc-paysquare7in-the-bandblackbaudcdnhomelinuxoninfernoctfcloudservebbsdns-dynamiccloudfrontakamai-stagingipifonyham-radio-opsenseeringclickrisingcommunity-profrom-nylocalcertgrafana-devedgesuite-stagingcloudflareanycasteating-organicatlassian-devmydattofeste-iplocaltotorprojectknx-serveredgekeycloudflareglobalcloudyclustercasacamserveftpakamaized-stagingakamaiorigindns-cloudmyeffectboomlabotdashbuyshousestwmailhetemlazure-mobilein-dslthruhereredirectmedynuddnsbouncemesupabaseluyanicloudappakamaicloudfunctionsdebiannhlfanpgafanstatic-accessin-vpnmysynologymafeloappudohomeftptrafficmanagersiteleafseidatmemsetcloudflarecloudaccesskeyword-onazure-apiis-a-chefdoes-itgets-itwebhopselfiphomeipkicks-assedgesuitewindowsserver-ontunnelmolemydissentscrapper-sitecloudflarecnuni5srcfggffiobbzabcdenodynuopikddnsvpndnsakadnselastxkinghostvps-hostfastlyhomeunixazureedgeshopselectdontexistmyfritzcloudjiffyalwaysdatasells-itsquaresbroke-itazurefddattolocalat-band-campmeinforumfamilydsazurestaticappsdefinimabplaceddnsaliasdynaliasnow-dnsblogdnsroutingthecloudendofinternetdsmynasakamaiedgemymediapcadobeio-staticakamaiedge-stagingakamaihd-stagingddns-ipprivatizehealthinsurancelive-onkrellianschokokeksmassivegridmysecuritycamerarackmazeserveminecraftfrom-azis-a-geekakamaizedmoonscalecryptonomicoffice-on-theusgovtrafficmanageradobeioruntimeedgekey-stagingreserve-onlinechannelsdvrdnsdojousgovcloudappcdn77-sslapps-1and1podzoneazurewebsitesdynathomescaleforceyandexcloudvusercontentisa-geekcdn-edgescoaemalcesappwriteazimuthtlonarvonoticeablestorecomwebrecnetperotherfirminfoartslgdloncogoiltdorgmilcolcomplcschgenngonetedugovbiznamefirmmobiacincoorgmilcomnomwebgobnetintedubizinfocomyspreadshopdemongovtransurl123websitehosting-clusterkhplaycistrongsnesosvalervålerxn--vler-qoaossandeheroysandeherøybøboheroyherøyxn--hery-iraxn--b-5gavalerbøboxn--b-5gasandesandexn--hery-iraxn--vler-qoavålerhåreålaahavaofsfvfhlolnlalrlhmfmtmahcostntbuåstrmreigersundmyspreadshopgálsáeidsvolltingvollgildeskalflorøvadsøvardøvanylvenxn--bhccavuotna-k7astrandaxn--kvnangen-k0axn--sknland-fxaxn--mosjen-eyarakkestadhyllestadnannestadvevelstadvaapstenordre-landsondre-landsøndre-landtjieltexn--vrggt-xqadsør-aurdalsor-aurdalheradstordmoldefordeførdeseljefedjeryggehemnexn--krehamn-dxasognegranesøgnebrynetjomevallebykletokkegiskedovretjømehobølvoldasaudatolgasømnaviknadønnasomnadonnatranafrananesnaraumasmolatrænafrænalesjasmølaørstaorstahitrafloraaukraloppafrøyarissasnasahalsagalsaromsaraisaráisafroyasnåsagronghobolfjelltydalårdalardalaskimharamkraanghkekråanghkesorumbarumhurumbærumsørummodumsálátbálátfrognbjugnvåganvagangulenskienløtenlotenstrynvefsnxn--merker-kuaskaunsveiobømlobomloskjåkvardoflorovadsosalatbalatsálatklæbuklabuselbubarduulvikskjakklepprisørxn--nttery-byaeflåeidflahofmilgolholsellomskifetvikdepvgsfhsaskerrisorhamarasnesåsnesrørosrorosxn--slat-5namasoynaroyvaroyluroydyroyaskoyradoyandoyrodoymeloyradøyandøyrødøymeløyaskøylurøydyrøymåsøyværøynærøyhoylandethøylandetdivtasvuodnalørenskoglorenskognesoddtangenxn--tjme-hraxn--smla-hraxn--stjrdal-s1aunjargalillehammerunjárgaxn--hamary-fyadavvenjargaxn--bearalvhki-y4a123hjemmesidegjerdrumxn--brnnysund-m8acxn--tnsberg-q1axn--mlatvuopmi-s4axn--snsa-roaxn--skierv-utaxn--brum-voatysfjordkvafjordeidfjordkvæfjordsongdalenmjondalenmjøndalenxn--gls-elackragerogáŋgaviikagangaviikasørreisasorreisasør-varangersor-varangerxn--risr-iraskiervaxn--frna-woaxn--trna-woakvinesdalleksvikleirvikrøyrvikroyrviksvelvikvenneslaevje-og-hornnessandnessjøenmarnardalvindafjordsandefjordenebakksnillfjordullensvangxn--trany-yuabrønnøysundnamsskoganaustevollxn--stjrdalshalsen-sqbnord-aurdalnord-frontrøgstadtrogstadgrimstadflakstadgjerstadxn--sandy-yuaxn--leagaviika-52bnore-og-uvdalvegarsheixn--rlingen-mxaxn--ggaviika-8ya47hvegårsheikarlsoykvitsoymasfjordenhamaroyinderoyosteroydavvenjárgasauheradguovdageaidnuxn--vre-eiker-k8abronnoysiellakkrødsheradkrodsheradkvinnheradbrønnøyxn--mtta-vrjjat-k7afxn--lrenskog-54akvitsøyvárggátkarlsøyosterøyinderøyhamarøybronnoysundxn--aurskog-hland-jnbbahccavuotnabáhccavuotnagiehtavuoatnastor-elvdalmidtre-gauldalxn--gildeskl-g0akarasjokevenassixn--bievt-0qaxn--yer-znalebesbynessebyxn--hbmer-xqamalselvmålselvxn--unjrga-rtamøre-og-romsdalmore-og-romsdalhareidmelandørlandorlandstrandålgårdsolundalgardafjordåfjorddielddanuorrikautokeinoxn--stre-toten-zcbskodjeaejriestangeliernebamblestokkefauskesnåasesnaasekongsvingerlangevagberlevagxn--flor-jrahattfjelldalostre-totenøstre-totenvestfoldxn--mely-iraálaheadjualaheadjunordreisaxn--troms-zuaxn--lgrd-poacporsangerflatangerstavangerleikangerbremangersamnangergieldakarasjohkaxn--rdy-0nabfrostautsirasnoasatromsaxn--sr-aurdal-l8aflekkefjordjølsterjolsteraremarkhedmarknååmesjevuemienaamesjevuemiexn--vard-jrarollagmeråkermerakerorskogørskogxn--bdddj-mrabdákŋoluoktaxn--osyro-wuaaknoluoktatrysilskjervøymandaljondalbindalrindalmeldalsuldalorkdalsigdalalvdallærdalhurdalsirdalverdallerdallardaloppdalåseralaseralhadselkragerødivttasvuotnaoverhallasteinkjerxn--hnefoss-q1askedsmokorsettromsøxn--dyry-iravestre-totenmuseumxn--sandnessjen-ogbrahkkeravjufylkesbiblbájddarbajddarxn--laheadju-7yarennesøyxn--koluokta-7ya57hxn--hgebostad-g3aleirfjordstorfjordbalsfjordbåtsfjordbatsfjordmuosátbievátloabátkárášjohkanøtterøyxn--mjndalen-64anordkappláhppilahppialstahaugsiljanverranrøykenroykenhaldenlyngenbergenhortenhønefosshonefosstroandinbeiarnvarggatosoyroosøyrotromsoidrettmuosatbievatruovatloabatvoagattynsetnessetxn--indery-fyaskánitskanitraholtråholtxn--ystre-slidre-ujbandebusarpsborgbearduxn--karlsy-fyahordalandjorpelandjørpelanddeatnuringsakersør-odalsor-odalxn--slt-elabringerikeaudnedalnittedalnissedalhemsedalslattumsurnadalxn--blt-elabelverumstjørdalnaustdalhjartdalgjøvikfyresdalhasviknarviklarvikgjovikmalvikgamviklenvikporsgrunnstjordalengerdaldrobakdrøbakxn--msy-ula0hvestvagoyxn--vgan-qoaxn--ryken-vuaxn--lten-graxn--stfold-9xaxn--hpmir-xqaxn--lury-iramálatvuopmimalatvuopmitysværkirkenesbirkenesmoskenesbáidárxn--fjord-lraxn--rdal-poabahcavuotnabáhcavuotnaxn--frde-gralindåsbearalvahkixn--hobl-iraráhkkerávjuxn--loabt-0qavågåáltábodøsundlundraderådeetnetimeholeauregrueoddavagavegaranatanaarnasolasulaaltalekafusavangbergkvamåmliamlibokntinnroangranosenoslobodorøstroststatåmotamotivguprivøyeroyerliermossvossxn--nvuotna-hwalusterlunnermarkerhábmerhabmerhvalerfjalerxn--rholt-mratysvarbaidarfitjargaularhápmirhapmirmelhusfosnesøksnesoksnestysneshemnesevenesflesbergeidsbergtonsbergtønsberglindasxn--sndre-land-0cbnamsosxn--srum-graøystre-slidreoystre-slidrevestre-slidretrondheimbalestrandxn--langevg-jxaaustrheimxn--skjk-soavagsoyaveroysandoykarmoyfinnoytranoyvestbytranbysykkylvenxn--hyanger-q1aspjelkavikandasuoloxn--fl-ziaxn--drbak-wuastathellexn--sr-varanger-ggbtelemarkxn--bhcavuotna-s4axn--porsgu-sta26fčáhcesuolocahcesuoloakrehamnåkrehamnsandøykarmøyfinnøytranøyvågsøyaverøynamdalseidxn--lesund-huabadaddjaxn--vegrshei-c0axn--btsfjord-9zagildeskålporsanguxn--trgstad-r1anávuotnanavuotnahammerfestxn--sgne-graxn--brnny-wuacibestadharstadnarviikaevenáššivestnesgjemnessandnesagdenesrennesoyxn--avery-yuaxn--tysvr-vrabearalváhkikongsbergspydebergrandabergxn--andy-iradavvesiidaxn--krdsherad-m8aporsáŋgufredrikstadbjerkreimringeburennebuaurskog-holandnotteroyxn--vgsy-qoa0jxn--rmskog-byaskierváivelandbyglandfrolandaurlandforsandxn--bjddar-ptamidsundålesundalesundfetsundfarsundovre-eikerøvre-eikerakershusxn--moreke-juasørfoldøstfoldostfoldsorfoldhøyangerhoyangerlevangerorkangertanangerxn--vestvgy-ixa6olillesandulsteinxn--rennesy-v1agranvinskjervoyxn--klbu-woalavagisxn--h-2faxn--ryrvik-byakafjordkåfjordseljordfolkebiblxn--gjvik-wuajevnakerxn--kfjord-iuabudejjuxn--kranghke-b0axn--davvenjrga-y4axn--rland-uuaxn--ldingen-q1axn--mlselv-iuaxn--rady-iraxn--linds-prabrumunddalxn--ygarden-p1amo-i-ranaeidskogrømskogromskoghjelmelandxn--finny-yuaxn--sr-odal-q1axn--skjervy-v1aballangenkvanangenkvænangengratangenxn--hmmrfeasta-s4acvossevangensuohkanxn--rde-ulaxn--mli-tlaxn--ksnes-uuanordlandskanlandskånlandsortlandfuoiskuxn--rros-graxn--hcesuolo-7ya35bxn--eveni-0qa01gagaivuotnagáivuotnaxn--seral-lradrammenmodalenmosjoenjan-mayentorskensteigengloppenxn--snes-poamatta-varjjatxn--sr-fron-q1aomasvuotnajessheimbådåddjåxn--krager-gyaxn--kvfjord-nxaxn--asky-iraxn--snase-nraxn--bidr-5nacholtålenxn--vads-jraxn--jlster-byamosjøenxn--rst-0nastavernxn--ostery-fyaxn--oppegrd-ixaxn--sknit-yqaxn--risa-5naoppegårdskiptvetrendalenholtalenxn--mot-tlaxn--lhppi-xqaxn--holtlen-hxaxn--srreisa-q1akopervikxn--muost-0qaxn--bmlo-grahokksundkvalsundegersundxn--karmy-yuaullensakerxn--hylandet-54axn--kvitsy-fyaxn--bod-2nalangevågberlevågkristiansandxn--rsta-frahornindalstjørdalshalsenstjordalshalsensandnessjoenhámmárfeastaxn--lrdal-srasør-fronsor-fronnord-odalkristiansundmátta-várjjatvestvågøynesoddennotoddenbuskerudøygardenoygardensalangenlavangenralingenrælingenlodingenlødingenleaŋgaviikalaakesvuemieleangaviikauenorgexn--srfold-byaaskvollxn--rskog-uuaxn--nry-yla5gxn--vry-yla5ghammarfeastaxn--rhkkervju-01afxn--givuotna-8yakommunekrokstadelvanedre-eikerhagebostadhægebostadxn--berlevg-jxakviteseidxn--s-1faxn--l-1faxn--nmesjevuemie-tcbafuosskomoårekemoarekexn--lt-liacxn--jrpeland-54asvalbardoppegardholmestrandtvedestrandsogndalsokndalarendalsunndalfolldalxn--krjohka-hwab49jlyngdaletnedalnorddalsaltdalgausdalskedsmovaksdalgjesdalstordalxn--frya-hraaarbortedrangedalxn--smna-graaurskog-hølandxn--vg-yiabtjeldsundhaugesundlindesnesxn--mre-og-romsdal-qqbxn--dnna-gradynmerseineshacknetenterprisecloudmineaccomaorimāoriorgmilcriiwigennetschoolhealthkiwigovtgeekxn--mori-qsacloudnsparliamentcomedorgcompronetedugovmuseumwebsitekinservicebarsywebsitebuildereerobookheimdnsleapcelleero-stagetechcrscsslorigingohomecdbedeeeiemesecabgngilnlalplchfisiincnnoroptatitmtltruauhulumkdkukskjplvtrgrfrkrhrusesismycynzcznetinteduassoososcloudstgbetaaezaeuhkusjshatenadiarycdn77hoptozaptois-a-knightmyftpno-ipjpnddnssdpdnsspdnsbarsysweetpepperis-a-bruinsfanis-very-sweetservegameis-a-soxfanhomelinuxcdn77-secureservebbsmisconfusedwebredirectblogsitefreedesktopcouchpotatofriestoolforgeaccesscamis-lostreadmyblogsmall-webfedorapeopleserveftpis-a-celticsfanmywirepotagertwmailin-dslsellsyourhomeread-booksfreeddnscable-modemis-savednflfanufcfanmlbfanstuff-4-saleendoftheinternetin-vpnmy-firewallhomeftpis-localis-a-chefboldlygoingnowherewebhopselfipkicks-assroxatunkcamdvrfedoraprojectgotdnsdvrdnsdyndnspubtlspimientahomeunixdontexistfedorainfracloudwmflabsfspagesbmoattachmentsteckidsfamilydsdnsaliasdynaliasnow-dnscloudnsdoomdnsduckdnsblogdnshomednsroutingthecloudendofinternetdsmynasip-dynamicpoivronhttpbinmyfirewallis-very-evilmysecuritycamerais-a-linux-userwmcloudis-a-geektuxfamilyis-a-candidatedoesntexistis-very-badhobby-sitegame-hostaltervistais-foundis-a-patsfandnsdojohepforgepodzonedynservcollegefanis-very-goodfrom-meis-very-niceisa-geeknerdpolacmedsldingorgcomnomgobabonetedupleskaemhlxmyboxrockyprvcydeuxfleurspdnscodebergheyflowstatichostorgmilcomnomgobneteduorgcomeduiorgmilcomngonetedugovcloudns1337ngrokacorggogfamcomwebgobnetedugokgopgkpgovgosbizpasaugumicsopozpapuwmwsrprusiskwpspkppspkmpspokeoiawsawifoumsdnskokwpmuppuppsppiwwiwoowuzswkzoschrzpisdnwzmiuwwitdpssewsseumigugimoirmpinbwinbwiihupporzgwgriwupowwskrwioswuozstarostwokonsulattmpccopruszkowmyspreadshopostrodakartuzyopolegminamediaustkazgorajgoraolawailawalomzawloclradombytomjaworznotargilubinkoninzagantorunkutnokepnonakloczestsopotsanokturekplockslasksklepzarowlukowmedaidgdaorgmilrelcomnomatmgsmartneteduelkgovwawsossexbiztgorysejnytychypomorzeboleslawiechomesklepsdscloudunicloudzakopanelegnicarawa-mazbydgoszczswidnikkrasnikwloclawekbielawamragowograjeworealestatebeskidykaszubymalopolskaprzeworskswiebodzinlecznadfirmaszkolawarmiagdyniamiastakazimierz-dolnymalborkswidnicadlugolekaostrolekapodlasieelblagtravelsimplesitezachpomormielecszczecinnieruchomosciwalbrzychlezajsklublinbedzinpoznanwielunmielnooleckostarachowicedkontopowiatwroclawrybniksuwalkileborkslupskgdanskostrowwlkptarnobrzegtourismwegrowkrakowglogowyou2pilanysamailwrocinfoagroautobeepshopprivlapypiszlodzcfolksecommerce-shopmazurypulawyskoczowrzeszowpomorskiezgierzkaliszolkuszlowiczostrowiecsosnowiecmazowszewodzislawbialowiezazgorzeleckatowicepabianicejelenia-gorawolominkarpaczsieradznowarudaczeladzkonskowolaskierniewiceswinoujscieturystykabieszczadycieszynketrzynolsztynbialystokbabia-goraprochowicewarszawastalowa-wolapolkowicegorlicegliwiceponiatowalimanowalubartowaugustowkobierzyceopocznognieznoszczytnokolobrzegshoparenapodhalebielskoklodzkostargardatwithplayitownnamecoorgnetedugovacorgcomproestnetedugovbiznameislaprofinforechtngrokmedaaaacacpaenglawjurbarbarsykeeneticavocatacctcloudnsorgcomsecplonetedugov123paginaweborgcomnetintedugovnomepublidkinbarsygovx443cloudnsorgmilcomnetedugovcooporgmilcomschnetedugovnamecomcannetlibassoaemclantmcontstoreorgcomnomrecwwwbarsyfirminfoshopartsstackitmyddnswebspacelima-cityacincooxorgedugovbarsybrendlyhbvpsvpsspectrumlandinghostingacppmordoviamcprecbgorgmilcomspbnetintedumsknovgovbirrasmcdirmytismircloudvladimirnalchikadygeyamarinepyatigorskmyjinobashkiriaeurodirvladikavkazna4ugroznykustanaikalmykiacldmaildagestaniranbuildcanvaliaravalwixdevelopmentappwritemigrationneedleverceldatabasestackitcodereplravendbonporterlovableaccoorgmilnetgovcoopmedorgcompubschnetedugovservicemecomygovorggovtvmedorgcomnetedugovinfoedgfacbmlonihkutwpsryxzbdtmacfhppmyspreadshopbrandpartiorgcomfhvpress123minsidaitcouldbeworlanbibkommunalforbundfhskiopsyskomvuxkomforbnaturbruksgymnloginlineorgcomnetedugovenscaledeuusentbotdaorgmilcomnetgovnowteleporthashbangplatformlovablebarsyshopwarebasehoplixbarsyonlinemsf5gitappgitpagecofigma-govcaffeinefigmacanvasoltstputerbarsysupportchatgptsquareomniweopensocialcpanelnotionnovecorewpsquaredpreviewjelecyonbyensrhtfastvpspieboxconvexjouwwebheyflowplatformshloginlinemadethissourcecraftclouderaorgorgcomartedugouvunivmeorgcomnetedugovsurveysstatichfheiyuxs4allprojectmyfastubervibehostapp-ionosdeployagentmecoorgcomschnetedugovbizcncostoreorgmilcomneteduembaixadaconsuladokiraranohoprincipesaotomeheliohobarsystorebaseshopwaresellfyabkhaziavologdamordoviapenzalenugsochinavoiexnetspbmsknovnorth-kazakhstanashgabadkareliaarmeniageorgiavladimirnalchikivanovobukharaadygeyakhakassiakalugakrasnodarjambylaktyubinsktroitskbryanskobninskkurganazerbaijanpokrovskbashkiriatselinogradvladikavkazmurmansktulatuvamangyshlaktashkentchimkentgroznykaragandatermezarkhangelskkustanaikalmykiabalashoveast-kazakhstankaracoldagestantogliattibarsyredorgcomgobedumirenknightpointaccoorgjelasticdiscoursecleverappsschacmiincogoornetonlineshopcogoorgmilcomwebnicnetintedugovbiznametestcoorgmilcomnomnetedugovorangecloudpersoindorgcomfinnatnetgovensmincomtourismintlinfox0611oyaorgmilcomnetedugovquickconnectvpnplusnettprequalifymeaddrmyaddrntdllwadlnctvavdrk12orgmilpolbeltelcomwebgennetedutskkepgovbbsbiznameinfocoorgmilcompronetedugovbiznameinfobetter-thanworse-thansakurafromdyndnson-the-webmymailerorgmilurlcomneteduidvgovmydnsgameclubebizmeneacsccogotvorhotelmilmobiinfovodteiflgplkmsmsbcckhincndnvncoztltmkckppzpdprvcvkvlvcrkrkscxuzchernovtsyrivneyaltaodesavolynrovnolutskltdinforgcomnetedugovbizvinnicazhitomirternopilpoltavakropyvnytskyizaporizhzhiasevastopolsebastopoluzhgoroduzhhorodkharkovkharkivvinnytsiakhmelnytskyizaporizhzhecrimeaodessazhytomyrnikolaevcherkassydonetskluganskluhanskkirovogradivano-frankivskchernivtsikrymkievkyivlvivsumyzakarpattiamykolaivcherkasychernigovkhersonchernihivdnipropetrovskdnepropetrovskkhmelnitskiyneacsccogoorusorgmilcomedugovvmdhmyspreadshopadimono-ipbarsybytemarkbarsyonlinelayershiftnh-servretrosnubapicampaignservicelugaffinitylotteryweeklylotteryraffleentrygluglugsmeaccoindependent-inquestnimsitecopropymntltdorgplcschnetgovnhsbarsyindependent-commissionindependent-reviewpolicepublic-inquiryindependent-panelconnhospindependent-inquiryroyal-commissionoraclegovcloudappscck12libccphxcclibpvtparochchtrcck12libcceatonk12coglibtecgendstmusann-arborwashtenawcck12glghcck12sealibforksolympiabainbridge-islkeyporthoquiamyarrow-pointcentraliaport-townsendsequimport-ludlowrentonsilverdalebremertonredmondsheltonbellevueport-orchardport-angeleskingstonchehalisaberdeengig-harborseattlepoulsboidmdndsddemenegacalamaiavawapailalflnmdcncscohnhmihiviwiriinmntnmocoutvtctmtgunjokakwvnvprarorasmskstxwynykyazisadninsnngosrvis-bymircloudservernamepointtoenscaledland-4-salefreeddnsstuff-4-saleazure-apinoipcloudnsgolffanheliohostazurewebsitesgvorgmilcomgubneteducoorgcomnetd0egvorgmilcomnetedugovmydnsiacostoree12orgmilcomnomwebgobbibrectecnetintedugovraremprendefirminfoartseducok12orgcomnethidnsidacaiiosonlahanamhanoicamauhueorgcompronetintedugovbizbacninhtayninhhoabinhnamdinhtravinhhaiphongvinhlonghaiduongquangnamquangtrithuathienhuequangninhbacgianghaugiangquangbinhsoctrangbentrethanhphohochiminhdanangkontumhatinhkhanhhoathanhhoahealthgialailaocaiyenbaibackanngheanlonganphuyenphuthocanthodaklakdongnainameinfovinhphucdongthapkiengiangtiengiangquangngailaichaulangsonlamdongdaknonghagiangangiangcaobangbinhduongninhthuanbinhthuanbaclieuthaibinhninhbinhbinhdinhtuyenquanghungyenbaria-vungtauthainguyendienbienbinhphuocschbizputerimagine-proxyorgcomnetedugovcloud66advisormypetsdyndnsxn--8dbq2axn--4dbgdty6cxn--5dbhl8dxn--hebda8bxn--80auxn--d1atxn--c1avgxn--o1acxn--o1achxn--90azhxn--55qx5dxn--uc0atvxn--od0algxn--wcvs22dxn--gmqw5axn--mxtq1mxn--12c1fe0brxn--h3cuzk1dixn--12co0c3b4evaxn--12cfi8ixb8lxn--o3cyx2axn--m3ch0j3axn--j1adpxn--90amcxn--90a1afxn--h1ahnxn--j1ael8bxn--h1alizxn--c1avgxn--j1aefxn--80aaa0cvacxn--41acaffeineexeopentunnelbotdashtelebitorgtmaccoagricorgmilnomwebnicngonetaltedugovlawnisschoolgrondaraccoorgmilcomschnetedugovbizinfoprg1-zeropstritonstackitlimazeropsaccoorgmilgovяспборгкоммскбизмирсамаракрымсочиакодпроргобрупрצהלממשלישובאקדמיהองค์กรธุรกิจรัฐบาลศึกษาทหารเน็ต教育網絡組織公司政府個人닷넷한국澳门新闻澳門联通家電嘉里招聘通販닷컴삼성コムგეбгрфеюadcdbdgdidmdsdtdaebedeeegeiejekemenepereseveyegabacalamanauavapaqasazacfbfafgfnfpfwftfbgcgagggegkgngmgsgpgvgtgugilmlnlalclglplsltlhmimjmkmmmomambmcmdmfmgmzmpmsmtmgbbblbsbecccacnclcmcvctcscmhkhghchbhthphshlinikifigiaibicivisikninhnmncnbngnsnpnvntnjoionomobocoaofodorosotoptstttytatbtetgtithtmtltrusuvuaucueuguhulumunufjdjbjtjsjlkmkhkfkdkcktkukskpkgpmpnpkpjpgqaqmqiqsvtvcvbvmvlvrwpwtwzwbwcwawgwkwmwtrsrprgrfrercrbrarnrmrlrkrirhrwsusrssspsgsesbsaslsmsissxmxaxcxuypysylymykygybycyuztzsznzmzkzdzczbzazελευ世界台灣购物公益点看臺灣网络書籍在线网站手机机构大拿游戏信息台湾谷歌慈善商标香港中国餐厅网址中國商城食品微博政务移动集团公司八卦商店健康网店政府时尚佛山中信娱乐广东企业homedepotengineeringاماراتrepublicankuokgroupversicherungchannelcitadelxn--pgbs0dhxn--b4w605ferdstatebankwebsitexn--mgb9awbf亚马逊淡马锡alibabaxn--ngbc5azdxn--mgbbh1axn--45br5cyltoshibabuildworldcloudtradeguideplacespacedancemoviephoneprimesmilebiblestyleappleazurestoreskypegripexn--l1accdrivelottehorsehouseleasechasereisestadahondaomegaaetnaamicaninjanokiamediadeltavodkaedekaosakapizzaslingemailgmailtirolshelltmallfinallegaltotalhotelamfamforumrehabmusicciticricohcoachwatchboschearthfaithirishmiamiarchidubaiguccipraxiみんなストアセールcanonsalononionnikonepsonkoelngreensevencrownikanoradioaudioweiboglobopromogalloyahoociscorodeovideomangobingotokyovolvolottokyotophotosmartsportquesttrusthyattjetztadultcymrubaidutushuxn--kprw13dubankclickblackmerckgroupsharpcheapnowtvxn--h2brj9cקוםհայоргсрбмонкомбелмкдқазрусукрمصرقطرعربكومdadcfdmedwedredphdthdbidpidkrdmsdltdiceonewmeglemoerwecfageacbanbambaaaammakianraspacpaaxawtfbcgaegongingaigvigorgdogdhlmilrilonlaolloluoljllcalgalnflafltelsrlfrllplkimibmcamcombommomifmabbjcbscbcabnabtabmlbpubabcbbcnecincpncllcstcwtcpwcnyckfhbzhovhmoiskiobisbitcifyituipinvinwinxincbnbcnmanfangdnmenrenkpnmtnyunrunfununobiojioriohbogmofooboooooacoecoceongoproartistottnttbbtcateatlatvetpetbetnethktmitfitintjothotgotdotbotprueduicujnjyouinknhktdkappsapgapmapdnptopgopllpjmpzipvipripesqtrvdtvitvdevmovgovhivnrwlawsewnewbmwwownowhowdvrftrmtrsfrbarcartvscrseusawsupsubssbsadsddsldssasbmsmlsxxxboxfoxgmxtjxsextaxbuyflydiysoyjoyskypaydaygayxyzanzbizwebersenerpokerlameractortatarsolarລາວคอมไทยtourslocusnexuslexusgiftsbeatsboatspartspressglassswissकॉमनेटtiresgivescodeshomesgamestunesshoescardswalesloansvegastoolsdealsautosparisファッションworkssucksrocksxeroxforexfedexpartylillymoneystudyrugbytoraytoday中文网xn--unup4y天主教飞利浦新加坡enterprises我爱你嘉里大酒店christmasxn--fct429kholdingsxn--8y0a063axn--mgbx4cd0ablifestyleabogadoallstatenetbankكاثوليكxn--s9brj9cxn--gk3at1ebestbuycharityxn--55qx5dmicrosoftpropertybasketballhomegoodscorsicajewelrygallerygrocerysurgerycountrybrusselsverisignferreroxn--czr694bhdfcbankcommbanksoftbankپاكستانپاکستانnextdirectالسعوديهالعليانxn--h2brj9c8cxn--80adxhksshikshaxn--mgbai9azgqp6jcuisinellabarclayscatholicxn--kpry57dcompanyxn--xhq521bblackfridayxn--mgba3a3ejtsandvikxn--d1acj3bacademydownloadمليسياxn--j1amhxn--w4r85el8fhu5dnraipirangaathletaxn--fhbeixn--mgbqly7cvafrzuerichxn--c2br7gஇலங்கைcontractorsxn--io0a7igraphicsinsurancetemasekxn--xkc2al3hye2amotorcyclesphotographydirectoryplumbingxn--vhquvclothingtrainingcleaningwilliamhilllightingxn--mgba3a4f16ashoppingcateringeducationokinawapicturesventuresproductionsxn--9et52uwalmartഭാരതംsupportrealestatecapitalonexn--nqv7fs00emaauspostfloristdentistxn--qxamgodaddybradescobargainsmitsubishikerryhotelsxn--9dbq2axn--3pxu8kimmobilienxn--fjq720axn--mgbtx2bholidaymckinseymadridbusinessbuildershelsinkixn--4gbrimмоскваالسعودیةcoffeedegreelacaixapartnersalsaceofficeabbvievoyageorangegeorgeonlinechromemobilekindlegoogleoraclecircleschulesecureinsurexn--mgba7c0bbn0aestatexn--mgbc0a9azcgcruisehangoutxn--vuq861bxn--42c2d9arexrothfirestoneuniversityxn--nnx388alifeinsuranceextraspaceонлайнvermögensberatersoftwarexn--fiqs8sxn--mgbab2bdxn--w4rs40ltiendaभारतम्africatoyotaotsukasakuracameracreditcardnagoyaconsultingnetworkjunipertheatermonsterprogressivepioneerxn--55qw42gracingdatingvotingvikinglivinggivingxn--bck1b9a5dre4cbrotherweatherjoburgفلسطينlplfinancialxn--clchc0ea0b2g2a9gcdfutbolschoolsocialglobaldentalwoodsidechanelairtelmatteltravelrealtorwebcamstreamభారత్unicomalstomxn--nodexn--6frz82gmuseumfurniturexn--rvc1e0am3exn--mix891faccenturexn--11b4c3dismailineustardiscountquebeccomsecclinicservicesxn--y9a3aqxn--c1avgswatchchurchsearchالاردنmarketingcontacthealthmonashshoujisanofitaipeiamericanexpresssuzukiアマゾンクラウドポイントbhartiグーグルxn--mgberp4a5d4armemorialxn--1qqw23alondonmormoninstitutevisionbostonnortoncouponmaisonamazonvirginberlindesigndurbanolayannissananquanxihuanhitachikaufengardenreisenbayerntechnologydatsunxn--90a3aclatinocasinostudiophysioxn--ngbe9e0apharmacytattootaobaoaramcoexpertreportabbottdirectselectimamatfairwindspictettargetmarketintuittravelersinsurancecreditdupontryukyusuppliesxn--tckwebnpparibasschmidtmerckmsdyodobashirestaurantbridgestonecricketxn--fpcrj9c3dbostikbroadwayattorneylefrakemerckxn--fiq228c5hscareersfarmerswinnersflowersxn--wgbh1cguitarsxn--54b7fta0ccxn--p1acfmakeupgalluplandroverxn--kcrx77d1x4agoldpointbauhausxn--mgbayh7gpahiphopplaystationxn--mgba3a4fraxn--eckvdtc9dhyundaixn--gckr3f0fistanbulticketsmarketsflightschintaireviewsxn--3e0b707ewindowsxn--fiqz9sfinancialxn--fzys8d69uvgmابوظبيdiscoverreviewবাংলাxn--5su34j936bgsgmoscowobserverapartmentsдетиارامكوсайтeurovisionxn--i1b6b1a6a2exn--xkc2dl3a5ee0hتونسموقعبارتڀارتشبكةعمانبيتكعراقreadkredbondlandbandfundfoodprodgoldfordtubecafesafelifeggeeieeefreefagepagegugezonewinememenamegamesaleablebikenikelikecarecbreherefiresaveloveliveblueartedatesitevotecaseluxebofamodaltdaasdatiaayogasinavanashiaasiajavabbvatevavivadatazaraarpacasavisasncfprofmaifsurfgolfdvagsongbingpingwangkpmggoogblogpohlfailcooldellcalldeallidlsarlfilmteamroomfarmimdbarabclubhdfcicbchsbcgmbhrichtechfishdishcashminiernikddiaudiwikimobitaxicitikiwidesiqponskinloanakdnwienopenporncerntownimmolimoolloinfonicofidolegosaxozeroaerovivoautovotomotofastbestresthostpostnextlgbtchatseatgiftmeetdietreitmintrentgentspotscotguruitausohumenucyoubanklinkpinkdclktalksilkbookseekworkrsvpaarpjeepshopcoophelpcamppccwshowbeerstarruhrflirweirhaircarsparsjprshausplusnewstipstoysjobskidsfanspicsdocsxboxamexsexynavycitysonyarmyallybabyplaydeliverybuzzgbizlamborghiniphilipsලංකාಭಾರತfitnessexpresslanxesspfizercenterwalterlawyersoccercareerkosherbrokerlockerdealerdoctorauthorxn--mgbqly7c0a67fbcvermögensberatungjaguarxn--pssy2uxn--hxt814eflickrrepairrogersairbusxn--mgbai9a5eva00beventsyachtsxn--t60b56aভাৰতভারতभारतभारोतviajeshermeshughesxn--j1aefसंगठनvillasଭାରତclaimshotelsભારતzapposphotosjuegoscondostatamotorsgratistennisਭਾਰਤtkmaxxtjmaxxschaeffleryandexxn--80aswgrealtysafetybeautyluxuryxn--3ds443gsupplyfamilyxn--o3cw4hhockeysydneyxn--90aenissayalipayenergycomputeragencyxn--rovu88b電訊盈科xn--gecrj9cstatefarmaccountantaquarelleolayangroup香格里拉xn--p1ai组织机构xn--1ck2e1bxn--mgbt3dhdschwarzموريتانياabudhabinowruzkomatsufujitsuhospitalxn--80asehdbxn--mgbtf8flxn--j6w193gxn--yfro4i67oprudentialxn--flw351ecruisescoursesrecipesxn--e1a4cferrarixn--ses554gxn--wgbl6awatchesstaplessinglesxn--mgbcpq6gpa1axn--otu796dpropertiescreditunionxn--mgbah1a3hjkrdstockholmhisamitsuالسعوديةstcgroupdomainsoriginscouponsbloombergclubmedfroganslimitedxn--80aqecdr1aexposedinternationalequipmentbarclaycardxn--q7ce6axn--mgbi4ecexpprotectionassociatesconstructionxn--cck2b3bxn--45q11candroidfoundationישראלxn--mgbca7dzdocliniqueboutiqueengineerxn--qxa6asystemsfirmdalefashionauctionxn--nqv7finfinitirentalsreliancetradingweddingfishinghostinggentingbookingcookingxn--3hcrj9cgraingerxn--czrs0tdemocratsamsungyokohamaxn--h2breg3evexn--nyqy26alundbeckmelbournevacationssolutionsfrontierxn--vermgensberatung-pwbmanagementxn--cg4bkixn--mgb2ddeslincolnhamburgsandvikcoromantblockbusterairforcebarefootxn--4dbrk0ceinvestmentsfeedbackcommunityxn--ngbrxالبحرينdiamondsamsterdamhealthcareredumbrellaxn--mxtq1mxn--2scrj9cagakhanxn--mgbpl2fhкатоликcaravanசிங்கப்பூர்richardlimortgageamericanfamilyxn--fzc2c9e2cscholarshipssaarlandxn--imr513nvlaanderensamsclubgoodyearkitchenஇந்தியாweatherchannelallfinanzxn--kput3iالسعودیۃxn--90aisxn--efvy88hالجزائرxn--mgbaam7a8hexchangejpmorganxn--tiq49xqyjfidelitysecurityxn--mk1bu44cwanggouxn--fiq64bxn--6qq986b3xlxn--mgbbh1a71exn--80ao21amarshallsxn--5tzm5gtravelerspanasoniclatrobeyoutubeaccountantsxn--rhqv96gxn--cckwcxetdanalyticsxn--ygbi2ammxبازاربھارتسوريةorganicfreseniusسورياxn--9krt00axn--qcka1pmcxn--jlq480n2rgdeloittesciencefinancexn--jvr189mxn--30rr7yhomesensehotmailbaseballfootballleclercboehringerxn--q9jyb4cxn--mix082fاليمنهمراهpolitieسودانايرانایرانnetflixyamaxunxn--lgbbat1ad8jcollegestoragecapetowncolognekerrypropertiesxn--mgbgu82axn--ogbpf8flxn--czru2dwhoswhociprianilasallexn--g2xx48cforsalebanamexaudiblexn--vermgensberater-ctbxn--zfr164bericssonvanguardxn--45brj9cindustriestheatremarriottxn--3bst00mcomparexn--mgberp4a5d4a87gcapitaldigitalالمغربbarcelonashangrilaxn--d1alfcalvinkleinwwwcitysapporokawasakinagoyasendaikobekitakyushuyokohamackjp",sle=621,ole=625,Wj=Yl.length,Gj=w1.length,Kj=new Uint32Array(Gj),B0=new Uint32Array(Gj),N3=new Int32Array(Wj).fill(-1);for(let e=0,t=0;e<Wj;e+=1)for(let n=S1[e];n<S1[e+1];n+=1){Kj[n]=t;const r=t+w1[n];let a=5381;for(let s=r-1;s>=t;s-=1)a=a*33^O3.charCodeAt(s);B0[n]=a>>>0,w1[n]===1&&O3.charCodeAt(t)===42&&(N3[e]=n),t=r}let Po=-1,M3=0,P3=0;function PN(e,t,n,r){if(w1[e]!==r)return!1;const a=Kj[e];for(let s=0;s<r;s+=1)if(O3.charCodeAt(a+s)!==t.charCodeAt(n+s))return!1;return!0}function DN(e,t,n,r,a){let s=S1[e],i=S1[e+1];for(;s<i;){const c=s+i>>>1,u=B0[c];if(u<t)s=c+1;else if(u>t)i=c;else{for(let f=c;f>=s&&B0[f]===t;f-=1)if(PN(f,n,r,a))return f;for(let f=c+1;f<i&&B0[f]===t;f+=1)if(PN(f,n,r,a))return f;return-1}}return-1}function LN(e,t,n){let r=t,a=e.length,s=5381;Po=-1;for(let c=e.length-1;c>=0;c-=1){const u=e.charCodeAt(c);if(u===46){const f=c+1;let h=DN(r,s>>>0,e,f,a-f);if(h===-1&&(h=N3[r]),h===-1)return Po!==-1;r=MN[h],(Yl[r]&n)!==0&&(Po=r,M3=f,P3=a),a=c,s=5381}else s=s*33^u}let i=DN(r,s>>>0,e,0,a);return i===-1&&(i=N3[r]),i!==-1&&(r=MN[i],(Yl[r]&n)!==0&&(Po=r,M3=0,P3=a)),Po!==-1}function wPe(e,t,n){if(ale(e,t,n))return;const r=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0);if(LN(e,ole,r)){n.isIcann=(Yl[Po]&1)!==0,n.isPrivate=(Yl[Po]&2)!==0,n.publicSuffix=e.slice(P3+1);return}if(LN(e,sle,r)){n.isIcann=(Yl[Po]&1)!==0,n.isPrivate=(Yl[Po]&2)!==0,n.publicSuffix=e.slice(M3);return}n.isIcann=!1,n.isPrivate=!1;const a=e.lastIndexOf(".");n.publicSuffix=a===-1?e:e.slice(a+1)}const ile=()=>C.jsxs("div",{className:"hidden h-full w-[17%] min-w-40 max-w-64 shrink-0 flex-col gap-1 border-r border-line p-3 md:flex",children:[C.jsx("div",{className:"mb-3 h-6 w-24 rounded bg-surface-sunken"}),Array.from({length:6}).map((e,t)=>C.jsxs("div",{className:"flex items-center gap-2 py-1.5",children:[C.jsx("div",{className:"size-5 shrink-0 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3.5 flex-1 rounded bg-surface-sunken"})]},t))]}),lle=()=>C.jsx("div",{className:"min-w-0 flex-1",children:Array.from({length:8}).map((e,t)=>C.jsxs("div",{className:"flex items-start gap-3 border-b border-line py-2 pl-5 pr-4",children:[C.jsx("div",{className:"mt-0.5 size-7 shrink-0 rounded-full bg-surface-sunken"}),C.jsxs("div",{className:"flex-1 space-y-1.5",children:[C.jsxs("div",{className:"flex justify-between gap-2",children:[C.jsx("div",{className:"h-3.5 w-28 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3 w-12 rounded bg-surface-sunken"})]}),C.jsx("div",{className:"h-3.5 w-48 rounded bg-surface-sunken"}),C.jsx("div",{className:"h-3 w-full rounded bg-surface-sunken"})]})]},t))}),Bv=()=>C.jsxs("div",{className:"flex h-full animate-pulse bg-canvas","aria-hidden":"true",children:[C.jsx(ile,{}),C.jsx(lle,{})]}),Hv="ed06ad428d7a6a097c31f9955d7cab3b893a29da",cle="2026-10-27T17:17:08.028Z",ule=Hv.slice(0,7),dle=/^[0-9a-f]{40}$/.test(Hv),fle=dle?`https://github.com/remit-mail/reader/commit/${Hv}`:void 0;class qv extends Error{constructor(t,n,r){super(t),this.status=n,this.body=r,this.name="ApiError"}status;body}const D3=e=>typeof e=="object"&&e!==null&&!Array.isArray(e),cA=e=>{const t=e instanceof qv?e.body:e;if(!D3(t))return;const{code:n,details:r}=t;if(typeof n=="string")return{code:n,details:D3(r)?r:void 0}},hle=(e,t)=>{if(D3(e)&&e.message!==void 0&&e.message!==null){const n=String(e.message);if(n)return n}return`Request failed with status ${t}`},ple=(e,t)=>new qv(hle(e,t),t,e),xa=e=>{if(e instanceof qv)return e.status;if(e&&typeof e=="object"){const t=e;if(typeof t.status=="number")return t.status;if(typeof t.statusCode=="number")return t.statusCode}},Yj=e=>xa(e)!==void 0,Vv=e=>{const t=xa(e);return t!==void 0&&t>=500&&t<=599},Wv=e=>!!(typeof DOMException<"u"&&e instanceof DOMException&&e.name==="AbortError"||e&&typeof e=="object"&&"name"in e&&e.name==="AbortError"),mle=()=>typeof navigator<"u"&&navigator.onLine===!1,Zj=e=>Wv(e)||Yj(e)?!1:e instanceof Bk?!0:mle(),gle=e=>!Yj(e)&&!Wv(e)&&!Zj(e),Xj=e=>Vv(e)||gle(e),Qj=e=>xa(e)===401,vle=(e,t)=>{if(t?.softError===!0)return!0;const n=t?.softErrorStatuses;if(!Array.isArray(n))return!1;const r=xa(e);return r!==void 0&&n.includes(r)},yle=[502,503,504],ble=(e,t)=>{if(t?.restartExpected!==!0)return!1;const n=xa(e);return n!==void 0&&yle.includes(n)},uA=(e,t,n="nobody")=>Vv(e)?!ble(e,t):Wv(e)||Zj(e)?!1:n==="user"&&Qj(e)||Xj(e)?!0:!vle(e,t),dA={softError:!0},fA=(...e)=>({softErrorStatuses:e}),Sle={restartExpected:!0},wle=e=>xa(e)===404,xle=e=>Vv(e),L3=new Set;let Jj=null,eF=null;const Cle=e=>{eF=e},Ele=e=>e instanceof Error?e:new Error(tF(e)),tF=e=>e instanceof Error?e.message||e.name:typeof e=="string"?e:e&&typeof e=="object"&&"message"in e&&typeof e.message=="string"?e.message:"An unexpected server error occurred.",_le=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`fatal-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,sl=(e,t)=>{const n={error:e,message:tF(e),correlationId:_le(),at:Date.now(),recoverable:t?.recoverable??xle(e),stack:e instanceof Error?e.stack:void 0,componentStack:t?.componentStack};Jj=n,Ole(`Fatal: ${n.message} [${n.correlationId}]`),eF?.recordError(Ele(e),{fatal:"true",correlationId:n.correlationId});for(const r of L3)r(n);return n},kle=e=>(L3.add(e),()=>{L3.delete(e)}),Ale=()=>Jj,Ile=20,H0=[],Tle=new Set(["ResizeObserver loop limit exceeded","ResizeObserver loop completed with undelivered notifications"]);function Rle(e){return typeof e!="string"?!1:Tle.has(e.replace(/\.\s*$/,""))}function q0(e){H0.push(e),H0.length>Ile&&H0.shift()}function Ole(e){q0(e)}function Nle(e){return e.map(t=>{if(typeof t=="string")return t;if(t instanceof Error)return`${t.name}: ${t.message}`;try{return JSON.stringify(t)}catch{return String(t)}}).join(" ")}function Mle(){const e=console.error.bind(console);console.error=(...t)=>{q0(Nle(t)),e(...t)},window.addEventListener("error",t=>{Rle(t.message)||(q0(`Uncaught ${t.error instanceof Error?`${t.error.name}: ${t.error.message}`:String(t.message)} (${t.filename}:${t.lineno})`),sl(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{const n=t.reason,r=n instanceof Error?`${n.name}: ${n.message}`:String(n);q0(`Unhandled rejection: ${r}`),sl(n)})}function Ple(){return H0.slice()}const Dle=8,Wu=[];function Lle(e){const t=e.split(/[?#]/)[0],n=Wu[Wu.length-1];n&&n.path===t||(Wu.push({path:t,timestamp:new Date().toISOString()}),Wu.length>Dle&&Wu.shift())}function Ule(){return Wu.slice()}const Dw=7500,UN=`
149
149
  … (truncated — the copy action on this screen has the full report)`;function x1(e){return{appShortSha:ule,appCommitUrl:fle,appBuildTime:cle,userAgent:navigator.userAgent,viewport:`${window.innerWidth}×${window.innerHeight}`,timestamp:new Date().toISOString(),timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,href:window.location.href,recentErrors:Ple(),requests:Dte(),routes:Ule(),failingRequest:Lte(),errorMessage:e?.errorMessage,stack:e?.stack,componentStack:e?.componentStack,quarantine:e?.quarantine,syncWarning:e?.syncWarning,title:e?.title}}function Lw(e){return["```",e,"```"].join(`
150
150
  `)}function nF(e){const t=/T(\d{2}:\d{2}:\d{2})/.exec(e);return t?t[1]:e}function zle(e){return`- **Version**: ${e.appCommitUrl?`[\`${e.appShortSha}\`](${e.appCommitUrl})`:`\`${e.appShortSha}\``} built ${e.appBuildTime}`}function jle(e){const t=e.status===0?"no response (transport failure)":`${e.status}`;return["## Failing request",`- **Endpoint**: \`${e.path}\``,`- **Method**: ${e.method}`,`- **Status**: ${t}`,`- **Correlation id**: ${e.correlationId??"(none)"}`,""]}function Fle(e){return e.length===0?["## Recent API requests","(none)",""]:["## Recent API requests","| Time | Method | Path | Status | Duration | Correlation |","| --- | --- | --- | --- | --- | --- |",...e.map(n=>{const r=n.status===0?"ERR":`${n.status}`;return`| ${nF(n.timestamp)} | ${n.method} | \`${n.path}\` | ${r} | ${n.durationMs}ms | ${n.correlationId??""} |`}),""]}function $le(e){return e.length===0?["## Navigation trail","(none)",""]:["## Navigation trail",...e.map(n=>`- ${nF(n.timestamp)} \`${n.path}\``),""]}function rF(e,t){const n=e.recentErrors.length>0?e.recentErrors.map(s=>` - ${s}`).join(`
151
151
  `):" (none)",r=["## Environment",zle(e),`- **Browser**: ${e.userAgent}`,`- **Viewport**: ${e.viewport}`,`- **Time**: ${e.timestamp} (${e.timezone})`,"","## URL",e.href,""];if(e.errorMessage&&r.push("## Error",e.errorMessage,""),e.failingRequest&&r.push(...jle(e.failingRequest)),e.quarantine){const s=t?.quarantineStructure??e.quarantine.structure;r.push(e.quarantine.head,"",Lw(s),"",e.quarantine.disclaimer,"")}e.syncWarning&&r.push(e.syncWarning,"");const a=t?.stack??e.stack;return a&&r.push("## Stacktrace",Lw(a),""),e.componentStack&&r.push("## Component stack",Lw(e.componentStack),""),r.push(...Fle(e.requests)),r.push(...$le(e.routes)),r.push("## Recent console errors",n,"","## Steps to reproduce","1. ","","## Expected behaviour","","## Actual behaviour",""),r.join(`
@@ -226,7 +226,7 @@ Error generating stack: `+p.message+`
226
226
 
227
227
  `);M=L.pop()??"";for(const B of L){const G=B.split(`
228
228
  `),ie=[];let $;for(const pe of G)if(pe.startsWith("data:"))ie.push(pe.replace(/^data:\s*/,""));else if(pe.startsWith("event:"))$=pe.replace(/^event:\s*/,"");else if(pe.startsWith("id:"))m=pe.replace(/^id:\s*/,"");else if(pe.startsWith("retry:")){const _e=Number.parseInt(pe.replace(/^retry:\s*/,""),10);Number.isNaN(_e)||(b=_e)}let X,re=!1;if(ie.length){const pe=ie.join(`
229
- `);try{X=JSON.parse(pe),re=!0}catch{X=pe}}re&&(a&&await a(X),r&&(X=await r(X))),n?.({data:X,event:$,id:m,retry:b}),ie.length&&(yield X)}}}finally{E.removeEventListener("abort",z),T.releaseLock()}break}catch(A){if(t?.(A),i!==void 0&&x>=i)break;const R=Math.min(b*2**(x-1),c??3e4);await g(R)}}}()}}const Awe=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Iwe=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},Twe=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},TB=({allowReserved:e,explode:t,name:n,style:r,value:a})=>{if(!t){const c=(e?a:a.map(u=>encodeURIComponent(u))).join(Iwe(r));switch(r){case"label":return`.${c}`;case"matrix":return`;${n}=${c}`;case"simple":return c;default:return`${n}=${c}`}}const s=Awe(r),i=a.map(c=>r==="label"||r==="simple"?e?c:encodeURIComponent(c):Cy({allowReserved:e,name:n,value:c})).join(s);return r==="label"||r==="matrix"?s+i:i},Cy=({allowReserved:e,name:t,value:n})=>{if(n==null)return"";if(typeof n=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?n:encodeURIComponent(n)}`},RB=({allowReserved:e,explode:t,name:n,style:r,value:a,valueOnly:s})=>{if(a instanceof Date)return s?a.toISOString():`${n}=${a.toISOString()}`;if(r!=="deepObject"&&!t){let u=[];Object.entries(a).forEach(([h,m])=>{u=[...u,h,e?m:encodeURIComponent(m)]});const f=u.join(",");switch(r){case"form":return`${n}=${f}`;case"label":return`.${f}`;case"matrix":return`;${n}=${f}`;default:return f}}const i=Twe(r),c=Object.entries(a).map(([u,f])=>Cy({allowReserved:e,name:r==="deepObject"?`${n}[${u}]`:u,value:f})).join(i);return r==="label"||r==="matrix"?i+c:c},Rwe=/\{[^{}]+\}/g,Owe=({path:e,url:t})=>{let n=t;const r=t.match(Rwe);if(r)for(const a of r){let s=!1,i=a.substring(1,a.length-1),c="simple";i.endsWith("*")&&(s=!0,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),c="label"):i.startsWith(";")&&(i=i.substring(1),c="matrix");const u=e[i];if(u==null)continue;if(Array.isArray(u)){n=n.replace(a,TB({explode:s,name:i,style:c,value:u}));continue}if(typeof u=="object"){n=n.replace(a,RB({explode:s,name:i,style:c,value:u,valueOnly:!0}));continue}if(c==="matrix"){n=n.replace(a,`;${Cy({name:i,value:u})}`);continue}const f=encodeURIComponent(c==="label"?`.${u}`:u);n=n.replace(a,f)}return n},Nwe=({baseUrl:e,path:t,query:n,querySerializer:r,url:a})=>{const s=a.startsWith("/")?a:`/${a}`;let i=(e??"")+s;t&&(i=Owe({path:t,url:i}));let c=n?r(n):"";return c.startsWith("?")&&(c=c.substring(1)),c&&(i+=`?${c}`),i};function ED(e){const t=e.body!==void 0;if(t&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}const Mwe=async(e,t)=>{const n=typeof t=="function"?await t(e):t;if(n)return e.scheme==="bearer"?`Bearer ${n}`:e.scheme==="basic"?`Basic ${btoa(n)}`:n},OB=({parameters:e={},...t}={})=>r=>{const a=[];if(r&&typeof r=="object")for(const s in r){const i=r[s];if(i==null)continue;const c=e[s]||t;if(Array.isArray(i)){const u=TB({allowReserved:c.allowReserved,explode:!0,name:s,style:"form",value:i,...c.array});u&&a.push(u)}else if(typeof i=="object"){const u=RB({allowReserved:c.allowReserved,explode:!0,name:s,style:"deepObject",value:i,...c.object});u&&a.push(u)}else{const u=Cy({allowReserved:c.allowReserved,name:s,value:i});u&&a.push(u)}}return a.join("&")},Pwe=e=>{if(!e)return"stream";const t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>t.startsWith(n)))return"blob";if(t.startsWith("text/"))return"text"}},Dwe=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):!1;async function Lwe(e){for(const t of e.security??[]){if(Dwe(e,t.name))continue;const n=await Mwe(t,e.auth);if(!n)continue;const r=t.name??"Authorization";switch(t.in){case"query":e.query||(e.query={}),e.query[r]=n;break;case"cookie":e.headers.append("Cookie",`${r}=${n}`);break;default:e.headers.set(r,n);break}}}const _D=e=>Nwe({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:OB(e.querySerializer),url:e.url}),kD=(e,t)=>{const n={...e,...t};return n.baseUrl?.endsWith("/")&&(n.baseUrl=n.baseUrl.substring(0,n.baseUrl.length-1)),n.headers=NB(e.headers,t.headers),n},Uwe=e=>{const t=[];return e.forEach((n,r)=>{t.push([r,n])}),t},NB=(...e)=>{const t=new Headers;for(const n of e){if(!n)continue;const r=n instanceof Headers?Uwe(n):Object.entries(n);for(const[a,s]of r)if(s===null)t.delete(a);else if(Array.isArray(s))for(const i of s)t.append(a,i);else s!==void 0&&t.set(a,typeof s=="object"?JSON.stringify(s):s)}return t};class xE{fns=[];clear(){this.fns=[]}eject(t){const n=this.getInterceptorIndex(t);this.fns[n]&&(this.fns[n]=null)}exists(t){const n=this.getInterceptorIndex(t);return!!this.fns[n]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,n){const r=this.getInterceptorIndex(t);return this.fns[r]?(this.fns[r]=n,t):!1}use(t){return this.fns.push(t),this.fns.length-1}}const zwe=()=>({error:new xE,request:new xE,response:new xE}),jwe=OB({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Fwe={"Content-Type":"application/json"},MB=(e={})=>({..._we,headers:Fwe,parseAs:"auto",querySerializer:jwe,...e}),$we=(e={})=>{let t=kD(MB(),e);const n=()=>({...t}),r=h=>(t=kD(t,h),n()),a=zwe(),s=async h=>{const m={...t,...h,fetch:h.fetch??t.fetch??globalThis.fetch,headers:NB(t.headers,h.headers),serializedBody:void 0};m.security&&await Lwe(m),m.requestValidator&&await m.requestValidator(m),m.body!==void 0&&m.bodySerializer&&(m.serializedBody=m.bodySerializer(m.body)),(m.body===void 0||m.serializedBody==="")&&m.headers.delete("Content-Type");const g=m,y=_D(g);return{opts:g,url:y}},i=async h=>{const m=h.throwOnError??t.throwOnError,g=h.responseStyle??t.responseStyle;let y,w;try{const{opts:b,url:x}=await s(h),E={redirect:"follow",...b,body:ED(b)};y=new Request(x,E);for(const O of a.request.fns)O&&(y=await O(y,b));const k=b.fetch;w=await k(y);for(const O of a.response.fns)O&&(w=await O(w,y,b));const A={request:y,response:w};if(w.ok){const O=(b.parseAs==="auto"?Pwe(w.headers.get("Content-Type")):b.parseAs)??"json";if(w.status===204||w.headers.get("Content-Length")==="0"){let M;switch(O){case"arrayBuffer":case"blob":case"text":M=await w[O]();break;case"formData":M=new FormData;break;case"stream":M=w.body;break;default:M={};break}return b.responseStyle==="data"?M:{data:M,...A}}let T;switch(O){case"arrayBuffer":case"blob":case"formData":case"text":T=await w[O]();break;case"json":{const M=await w.text();T=M?JSON.parse(M):{};break}case"stream":return b.responseStyle==="data"?w.body:{data:w.body,...A}}return O==="json"&&(b.responseValidator&&await b.responseValidator(T),b.responseTransformer&&(T=await b.responseTransformer(T))),b.responseStyle==="data"?T:{data:T,...A}}const R=await w.text();let P;try{P=JSON.parse(R)}catch{}throw P??R}catch(b){let x=b;for(const E of a.error.fns)E&&(x=await E(x,w,y,h));if(x=x||{},m)throw x;return g==="data"?void 0:{error:x,request:y,response:w}}},c=h=>m=>i({...m,method:h}),u=h=>async m=>{const{opts:g,url:y}=await s(m);return kwe({...g,body:g.body,method:h,onRequest:async(w,b)=>{let x=new Request(w,b);for(const E of a.request.fns)E&&(x=await E(x,g));return x},serializedBody:ED(g),url:y})};return{buildUrl:h=>_D({...t,...h}),connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),getConfig:n,head:c("HEAD"),interceptors:a,options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),request:i,setConfig:r,sse:{connect:u("CONNECT"),delete:u("DELETE"),get:u("GET"),head:u("HEAD"),options:u("OPTIONS"),patch:u("PATCH"),post:u("POST"),put:u("PUT"),trace:u("TRACE")},trace:c("TRACE")}},Ce=$we(MB({baseUrl:"https://api.remit.example.com"}));let AD=!1;const Bwe=e=>{AD||(Ce.interceptors.request.use(async t=>{const n=await e.getToken();return n&&t.headers.set("Authorization",`Bearer ${n}`),t}),AD=!0)},Hwe=({children:e})=>C.jsx(C.Fragment,{children:e}),qwe={configure:()=>{},getToken:async()=>null,resetToken:()=>{},Shell:Hwe,Account:({fallback:e=null})=>C.jsx(C.Fragment,{children:e})},PB=_.createContext(qwe),Vwe=PB.Provider,APe=()=>_.useContext(PB),Wwe=(e,t)=>{uA(e,t.meta,"nobody")&&sl(e)},Gwe=(e,t,n,r)=>{uA(e,r.meta,"user")&&sl(e)},d_=e=>new TextEncoder().encode(e),DB={},f_={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),DB[e]=t,f_[t]=e}function Kwe(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(r in f_)t[n/2]=f_[r];else throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t}function cc(e){let t="";for(let n=0;n<e.byteLength;n++)t+=DB[e[n]];return t}const wp=e=>e instanceof Uint8Array?e:typeof e=="string"?d_(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),Ywe=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";class Go{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const n=new Go({...t,headers:{...t.headers}});return n.query&&(n.query=Zwe(n.query)),n}static isInstance(t){if(!t)return!1;const n=t;return"method"in n&&"protocol"in n&&"hostname"in n&&"path"in n&&typeof n.query=="object"&&typeof n.headers=="object"}clone(){return Go.clone(this)}}function Zwe(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return{...t,[n]:Array.isArray(r)?[...r]:r}},{})}class xp{statusCode;reason;headers;body;constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const n=t;return typeof n.statusCode=="number"&&typeof n.headers=="object"}}const ID=e=>{if(typeof e=="function")return e;const t=Promise.resolve(e);return()=>t},uc=e=>encodeURIComponent(e).replace(/[!'()*]/g,Xwe),Xwe=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function xI(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=uc(n),Array.isArray(r))for(let a=0,s=r.length;a<s;a++)t.push(`${n}=${uc(r[a])}`);else{let a=n;(r||typeof r=="string")&&(a+=`=${uc(r)}`),t.push(a)}}return t.join("&")}const t0="[aws-rum-web:unknown.unknown]";class xe{static configure(t){xe.debugEnabled=t}static getCallerInfo(){var t,n;try{const r=new Error().stack;if(!r)return t0;const a=r.split(`
229
+ `);try{X=JSON.parse(pe),re=!0}catch{X=pe}}re&&(a&&await a(X),r&&(X=await r(X))),n?.({data:X,event:$,id:m,retry:b}),ie.length&&(yield X)}}}finally{E.removeEventListener("abort",z),T.releaseLock()}break}catch(A){if(t?.(A),i!==void 0&&x>=i)break;const R=Math.min(b*2**(x-1),c??3e4);await g(R)}}}()}}const Awe=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},Iwe=e=>{switch(e){case"form":return",";case"pipeDelimited":return"|";case"spaceDelimited":return"%20";default:return","}},Twe=e=>{switch(e){case"label":return".";case"matrix":return";";case"simple":return",";default:return"&"}},TB=({allowReserved:e,explode:t,name:n,style:r,value:a})=>{if(!t){const c=(e?a:a.map(u=>encodeURIComponent(u))).join(Iwe(r));switch(r){case"label":return`.${c}`;case"matrix":return`;${n}=${c}`;case"simple":return c;default:return`${n}=${c}`}}const s=Awe(r),i=a.map(c=>r==="label"||r==="simple"?e?c:encodeURIComponent(c):Cy({allowReserved:e,name:n,value:c})).join(s);return r==="label"||r==="matrix"?s+i:i},Cy=({allowReserved:e,name:t,value:n})=>{if(n==null)return"";if(typeof n=="object")throw new Error("Deeply-nested arrays/objects aren’t supported. Provide your own `querySerializer()` to handle these.");return`${t}=${e?n:encodeURIComponent(n)}`},RB=({allowReserved:e,explode:t,name:n,style:r,value:a,valueOnly:s})=>{if(a instanceof Date)return s?a.toISOString():`${n}=${a.toISOString()}`;if(r!=="deepObject"&&!t){let u=[];Object.entries(a).forEach(([h,m])=>{u=[...u,h,e?m:encodeURIComponent(m)]});const f=u.join(",");switch(r){case"form":return`${n}=${f}`;case"label":return`.${f}`;case"matrix":return`;${n}=${f}`;default:return f}}const i=Twe(r),c=Object.entries(a).map(([u,f])=>Cy({allowReserved:e,name:r==="deepObject"?`${n}[${u}]`:u,value:f})).join(i);return r==="label"||r==="matrix"?i+c:c},Rwe=/\{[^{}]+\}/g,Owe=({path:e,url:t})=>{let n=t;const r=t.match(Rwe);if(r)for(const a of r){let s=!1,i=a.substring(1,a.length-1),c="simple";i.endsWith("*")&&(s=!0,i=i.substring(0,i.length-1)),i.startsWith(".")?(i=i.substring(1),c="label"):i.startsWith(";")&&(i=i.substring(1),c="matrix");const u=e[i];if(u==null)continue;if(Array.isArray(u)){n=n.replace(a,TB({explode:s,name:i,style:c,value:u}));continue}if(typeof u=="object"){n=n.replace(a,RB({explode:s,name:i,style:c,value:u,valueOnly:!0}));continue}if(c==="matrix"){n=n.replace(a,`;${Cy({name:i,value:u})}`);continue}const f=encodeURIComponent(c==="label"?`.${u}`:u);n=n.replace(a,f)}return n},Nwe=({baseUrl:e,path:t,query:n,querySerializer:r,url:a})=>{const s=a.startsWith("/")?a:`/${a}`;let i=(e??"")+s;t&&(i=Owe({path:t,url:i}));let c=n?r(n):"";return c.startsWith("?")&&(c=c.substring(1)),c&&(i+=`?${c}`),i};function ED(e){const t=e.body!==void 0;if(t&&e.bodySerializer)return"serializedBody"in e?e.serializedBody!==void 0&&e.serializedBody!==""?e.serializedBody:null:e.body!==""?e.body:null;if(t)return e.body}const Mwe=async(e,t)=>{const n=typeof t=="function"?await t(e):t;if(n)return e.scheme==="bearer"?`Bearer ${n}`:e.scheme==="basic"?`Basic ${btoa(n)}`:n},OB=({parameters:e={},...t}={})=>r=>{const a=[];if(r&&typeof r=="object")for(const s in r){const i=r[s];if(i==null)continue;const c=e[s]||t;if(Array.isArray(i)){const u=TB({allowReserved:c.allowReserved,explode:!0,name:s,style:"form",value:i,...c.array});u&&a.push(u)}else if(typeof i=="object"){const u=RB({allowReserved:c.allowReserved,explode:!0,name:s,style:"deepObject",value:i,...c.object});u&&a.push(u)}else{const u=Cy({allowReserved:c.allowReserved,name:s,value:i});u&&a.push(u)}}return a.join("&")},Pwe=e=>{if(!e)return"stream";const t=e.split(";")[0]?.trim();if(t){if(t.startsWith("application/json")||t.endsWith("+json"))return"json";if(t==="multipart/form-data")return"formData";if(["application/","audio/","image/","video/"].some(n=>t.startsWith(n)))return"blob";if(t.startsWith("text/"))return"text"}},Dwe=(e,t)=>t?!!(e.headers.has(t)||e.query?.[t]||e.headers.get("Cookie")?.includes(`${t}=`)):!1;async function Lwe(e){for(const t of e.security??[]){if(Dwe(e,t.name))continue;const n=await Mwe(t,e.auth);if(!n)continue;const r=t.name??"Authorization";switch(t.in){case"query":e.query||(e.query={}),e.query[r]=n;break;case"cookie":e.headers.append("Cookie",`${r}=${n}`);break;default:e.headers.set(r,n);break}}}const _D=e=>Nwe({baseUrl:e.baseUrl,path:e.path,query:e.query,querySerializer:typeof e.querySerializer=="function"?e.querySerializer:OB(e.querySerializer),url:e.url}),kD=(e,t)=>{const n={...e,...t};return n.baseUrl?.endsWith("/")&&(n.baseUrl=n.baseUrl.substring(0,n.baseUrl.length-1)),n.headers=NB(e.headers,t.headers),n},Uwe=e=>{const t=[];return e.forEach((n,r)=>{t.push([r,n])}),t},NB=(...e)=>{const t=new Headers;for(const n of e){if(!n)continue;const r=n instanceof Headers?Uwe(n):Object.entries(n);for(const[a,s]of r)if(s===null)t.delete(a);else if(Array.isArray(s))for(const i of s)t.append(a,i);else s!==void 0&&t.set(a,typeof s=="object"?JSON.stringify(s):s)}return t};class xE{constructor(){this.fns=[]}clear(){this.fns=[]}eject(t){const n=this.getInterceptorIndex(t);this.fns[n]&&(this.fns[n]=null)}exists(t){const n=this.getInterceptorIndex(t);return!!this.fns[n]}getInterceptorIndex(t){return typeof t=="number"?this.fns[t]?t:-1:this.fns.indexOf(t)}update(t,n){const r=this.getInterceptorIndex(t);return this.fns[r]?(this.fns[r]=n,t):!1}use(t){return this.fns.push(t),this.fns.length-1}}const zwe=()=>({error:new xE,request:new xE,response:new xE}),jwe=OB({allowReserved:!1,array:{explode:!0,style:"form"},object:{explode:!0,style:"deepObject"}}),Fwe={"Content-Type":"application/json"},MB=(e={})=>({..._we,headers:Fwe,parseAs:"auto",querySerializer:jwe,...e}),$we=(e={})=>{let t=kD(MB(),e);const n=()=>({...t}),r=h=>(t=kD(t,h),n()),a=zwe(),s=async h=>{const m={...t,...h,fetch:h.fetch??t.fetch??globalThis.fetch,headers:NB(t.headers,h.headers),serializedBody:void 0};m.security&&await Lwe(m),m.requestValidator&&await m.requestValidator(m),m.body!==void 0&&m.bodySerializer&&(m.serializedBody=m.bodySerializer(m.body)),(m.body===void 0||m.serializedBody==="")&&m.headers.delete("Content-Type");const g=m,y=_D(g);return{opts:g,url:y}},i=async h=>{const m=h.throwOnError??t.throwOnError,g=h.responseStyle??t.responseStyle;let y,w;try{const{opts:b,url:x}=await s(h),E={redirect:"follow",...b,body:ED(b)};y=new Request(x,E);for(const O of a.request.fns)O&&(y=await O(y,b));const k=b.fetch;w=await k(y);for(const O of a.response.fns)O&&(w=await O(w,y,b));const A={request:y,response:w};if(w.ok){const O=(b.parseAs==="auto"?Pwe(w.headers.get("Content-Type")):b.parseAs)??"json";if(w.status===204||w.headers.get("Content-Length")==="0"){let M;switch(O){case"arrayBuffer":case"blob":case"text":M=await w[O]();break;case"formData":M=new FormData;break;case"stream":M=w.body;break;default:M={};break}return b.responseStyle==="data"?M:{data:M,...A}}let T;switch(O){case"arrayBuffer":case"blob":case"formData":case"text":T=await w[O]();break;case"json":{const M=await w.text();T=M?JSON.parse(M):{};break}case"stream":return b.responseStyle==="data"?w.body:{data:w.body,...A}}return O==="json"&&(b.responseValidator&&await b.responseValidator(T),b.responseTransformer&&(T=await b.responseTransformer(T))),b.responseStyle==="data"?T:{data:T,...A}}const R=await w.text();let P;try{P=JSON.parse(R)}catch{}throw P??R}catch(b){let x=b;for(const E of a.error.fns)E&&(x=await E(x,w,y,h));if(x=x||{},m)throw x;return g==="data"?void 0:{error:x,request:y,response:w}}},c=h=>m=>i({...m,method:h}),u=h=>async m=>{const{opts:g,url:y}=await s(m);return kwe({...g,body:g.body,method:h,onRequest:async(w,b)=>{let x=new Request(w,b);for(const E of a.request.fns)E&&(x=await E(x,g));return x},serializedBody:ED(g),url:y})};return{buildUrl:h=>_D({...t,...h}),connect:c("CONNECT"),delete:c("DELETE"),get:c("GET"),getConfig:n,head:c("HEAD"),interceptors:a,options:c("OPTIONS"),patch:c("PATCH"),post:c("POST"),put:c("PUT"),request:i,setConfig:r,sse:{connect:u("CONNECT"),delete:u("DELETE"),get:u("GET"),head:u("HEAD"),options:u("OPTIONS"),patch:u("PATCH"),post:u("POST"),put:u("PUT"),trace:u("TRACE")},trace:c("TRACE")}},Ce=$we(MB({baseUrl:"https://api.remit.example.com"}));let AD=!1;const Bwe=e=>{AD||(Ce.interceptors.request.use(async t=>{const n=await e.getToken();return n&&t.headers.set("Authorization",`Bearer ${n}`),t}),AD=!0)},Hwe=({children:e})=>C.jsx(C.Fragment,{children:e}),qwe={configure:()=>{},getToken:async()=>null,resetToken:()=>{},Shell:Hwe,Account:({fallback:e=null})=>C.jsx(C.Fragment,{children:e})},PB=_.createContext(qwe),Vwe=PB.Provider,APe=()=>_.useContext(PB),Wwe=(e,t)=>{uA(e,t.meta,"nobody")&&sl(e)},Gwe=(e,t,n,r)=>{uA(e,r.meta,"user")&&sl(e)},d_=e=>new TextEncoder().encode(e),DB={},f_={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),DB[e]=t,f_[t]=e}function Kwe(e){if(e.length%2!==0)throw new Error("Hex encoded strings must have an even number length");const t=new Uint8Array(e.length/2);for(let n=0;n<e.length;n+=2){const r=e.slice(n,n+2).toLowerCase();if(r in f_)t[n/2]=f_[r];else throw new Error(`Cannot decode unrecognized sequence ${r} as hexadecimal`)}return t}function cc(e){let t="";for(let n=0;n<e.byteLength;n++)t+=DB[e[n]];return t}const wp=e=>e instanceof Uint8Array?e:typeof e=="string"?d_(e):ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength/Uint8Array.BYTES_PER_ELEMENT):new Uint8Array(e),Ywe=e=>typeof ArrayBuffer=="function"&&e instanceof ArrayBuffer||Object.prototype.toString.call(e)==="[object ArrayBuffer]";class Go{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(t){this.method=t.method||"GET",this.hostname=t.hostname||"localhost",this.port=t.port,this.query=t.query||{},this.headers=t.headers||{},this.body=t.body,this.protocol=t.protocol?t.protocol.slice(-1)!==":"?`${t.protocol}:`:t.protocol:"https:",this.path=t.path?t.path.charAt(0)!=="/"?`/${t.path}`:t.path:"/",this.username=t.username,this.password=t.password,this.fragment=t.fragment}static clone(t){const n=new Go({...t,headers:{...t.headers}});return n.query&&(n.query=Zwe(n.query)),n}static isInstance(t){if(!t)return!1;const n=t;return"method"in n&&"protocol"in n&&"hostname"in n&&"path"in n&&typeof n.query=="object"&&typeof n.headers=="object"}clone(){return Go.clone(this)}}function Zwe(e){return Object.keys(e).reduce((t,n)=>{const r=e[n];return{...t,[n]:Array.isArray(r)?[...r]:r}},{})}class xp{statusCode;reason;headers;body;constructor(t){this.statusCode=t.statusCode,this.reason=t.reason,this.headers=t.headers||{},this.body=t.body}static isInstance(t){if(!t)return!1;const n=t;return typeof n.statusCode=="number"&&typeof n.headers=="object"}}const ID=e=>{if(typeof e=="function")return e;const t=Promise.resolve(e);return()=>t},uc=e=>encodeURIComponent(e).replace(/[!'()*]/g,Xwe),Xwe=e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`;function xI(e){const t=[];for(let n of Object.keys(e).sort()){const r=e[n];if(n=uc(n),Array.isArray(r))for(let a=0,s=r.length;a<s;a++)t.push(`${n}=${uc(r[a])}`);else{let a=n;(r||typeof r=="string")&&(a+=`=${uc(r)}`),t.push(a)}}return t.join("&")}const t0="[aws-rum-web:unknown.unknown]";class xe{static configure(t){xe.debugEnabled=t}static getCallerInfo(){var t,n;try{const r=new Error().stack;if(!r)return t0;const a=r.split(`
230
230
  `);if(a.length<4)return t0;const s=a[3];if(!s)return t0;const i=s.match(/at (?:(.+?)\s+\()?/);if(i&&i.length>=2){const c=i[1].trim(),u=c.split(".");if(u.length>=2){const f=(t=u[u.length-2])!==null&&t!==void 0?t:"unknown",h=(n=u[u.length-1])!==null&&n!==void 0?n:"unknown";return`[aws-rum-web:${f}.${h}]`}return`[aws-rum-web:${c}]`}}catch{}return t0}static info(t,...n){if(!xe.debugEnabled)return;const r=this.getCallerInfo();console.info(r,t,...n)}static debug(t,...n){if(!xe.debugEnabled)return;const r=this.getCallerInfo();console.debug(r,t,...n)}static warn(t,...n){if(!xe.debugEnabled)return;const r=this.getCallerInfo();console.warn(r,t,...n)}static error(t,...n){if(!xe.debugEnabled)return;const r=this.getCallerInfo();console.error(r,t,...n)}}xe.debugEnabled=!1;const TD=2048,RD=.2,Qwe=()=>typeof CompressionStream<"u",Jwe=async e=>{const t=new Blob([e]).stream().pipeThrough(new CompressionStream("gzip"));return new Uint8Array(await new Response(t).arrayBuffer())},exe=async e=>{const t=e.length;if(xe.debug(`compressIfBeneficial called, payload size: ${t}B`),!Qwe())return xe.debug("CompressionStream not supported, skipping compression"),{body:e,compressed:!1};if(t<TD)return xe.debug(`Payload size ${t}B below threshold ${TD}B, skipping compression`),{body:e,compressed:!1};const n=await Jwe(e),r=1-n.length/t;return r>=RD?(xe.debug(`Compressed ${t}B -> ${n.length}B (${(r*100).toFixed(1)}% reduction)`),{body:n,compressed:!0}):(xe.debug(`Compression ratio ${(r*100).toFixed(1)}% below threshold ${RD*100}%, skipping`),{body:e,compressed:!1})},txe="POST",nxe="application/json",rxe="text/plain;charset=UTF-8",axe=64e3;class sxe{constructor(t,n){this.sendFetch=async r=>{var a,s;const i=JSON.stringify(OD(r)),c=(s=(a=this.config.compressionStrategy)===null||a===void 0?void 0:a.enabled)!==null&&s!==void 0?s:!1,{body:u,compressed:f}=c?await exe(i):{body:i,compressed:!1},h=await this.getHttpRequestOptions(r,u,nxe,f);let m=new Go(h);return this.signing&&(m=await this.signing.sign(m)),this.config.fetchRequestHandler.handle(m)},this.sendBeacon=async r=>{const a=JSON.stringify(OD(r));if(a.length>axe)throw new Error("Payload too large for sendBeacon");const s=await this.getHttpRequestOptions(r,a,rxe,!1);let i=new Go(s);return this.signing&&(i=await this.signing.presign(i)),this.config.beaconRequestHandler.handle(i)},this.getHttpRequestOptions=async(r,a,s,i)=>{const c=this.config.endpoint.pathname.replace(/\/$/,""),u=Object.assign({"content-type":s,host:this.config.endpoint.host},this.config.headers);i&&(u["Content-Encoding"]="gzip");const f={method:txe,protocol:this.config.endpoint.protocol,port:Number(this.config.endpoint.port)||void 0,headers:u,hostname:this.config.endpoint.hostname,path:`${c}/appmonitors/${r.AppMonitorDetails.id}`,body:a};return this.signing?Object.assign(Object.assign({},f),{headers:Object.assign(Object.assign({},f.headers),{"X-Amz-Content-Sha256":await this.signing.hashAndEncode(a)})}):f},this.config=t,this.signing=n}}const OD=e=>{const t=[];e.RumEvents.forEach(r=>t.push(oxe(r)));let n={BatchId:e.BatchId,AppMonitorDetails:e.AppMonitorDetails,UserDetails:e.UserDetails,RumEvents:t};return e.SessionMetadata&&(n=Object.assign(Object.assign({},n),{SessionMetadata:e.SessionMetadata})),e.Alias&&(n=Object.assign(Object.assign({},n),{Alias:e.Alias})),n},oxe=e=>({id:e.id,timestamp:Math.round(e.timestamp.getTime()/1e3),type:e.type,metadata:e.metadata,details:e.details});class ixe{handle(t){const n=this.sendBeacon(t);return new Promise((r,a)=>{n?r({response:new xp({statusCode:200})}):a()})}updateHttpClientConfig(t,n){}httpHandlerConfigs(){return{}}sendBeacon(t){let n=t.path;if(t.query){const s=xI(t.query);s&&(n+=`?${s}`)}const{port:r}=t,a=`${t.protocol}//${t.hostname}${r?`:${r}`:""}${n}`;return navigator.sendBeacon(a,t.body)}}const lxe=(e=0)=>new Promise((t,n)=>{e&&setTimeout(()=>{const r=new Error(`Request did not complete within ${e} ms`);r.name="TimeoutError",n(r)},e)});let cxe=class{constructor({fetchFunction:t,requestTimeout:n}={}){this.requestTimeout=n,this.fetchFunction=t}destroy(){}handle(t,{abortSignal:n}={}){const r=this.requestTimeout;if(n?.aborted){const g=new Error("Request aborted");return g.name="AbortError",Promise.reject(g)}let a=t.path;if(t.query){const g=xI(t.query);g&&(a+=`?${g}`)}const{port:s,method:i}=t,c=`${t.protocol}//${t.hostname}${s?`:${s}`:""}${a}`,f={body:i==="GET"||i==="HEAD"?void 0:t.body,headers:new Headers(t.headers),method:i};typeof AbortController<"u"&&(f.signal=n);const h=new Request(c,f),m=[this.fetchFunction.apply(window,[h]).then(g=>{const y=g.headers,w={};for(const x of y.entries())w[x[0]]=x[1];return g.body!==void 0?{response:new xp({headers:w,statusCode:g.status,body:g.body})}:g.blob().then(x=>({response:new xp({headers:w,statusCode:g.status,body:x})}))}),lxe(r)];return n&&m.push(new Promise((g,y)=>{n.onabort=()=>{const w=new Error("Request aborted");w.name="AbortError",y(w)}})),Promise.race(m)}updateHttpClientConfig(t,n){}httpHandlerConfigs(){return{}}};const CI=e=>{if(crypto)return crypto.getRandomValues(e);if(msCrypto)return msCrypto.getRandomValues(e);throw new Error("No crypto library found.")},LB=[];for(let e=0;e<256;e++)LB[e]=(e+256).toString(16).substr(1);const Ey="X-Amzn-Trace-Id",_y="traceparent",uxe=2,dxe=32,fxe=16,hxe=4,UB=(e,t)=>Array.isArray(t)?t.some(n=>n.test(e)):t,zB={logicalServiceName:"rum.aws.amazon.com",urlsToInclude:[/.*/],urlsToExclude:[/cognito\-identity\.([^\.]*\.)?amazonaws\.com/,/sts\.([^\.]*\.)?amazonaws\.com/],stackTraceLength:200,recordAllRequests:!1,addXRayTraceIdHeader:!1},pxe=e=>200<=e&&e<300,jB=e=>Math.floor(e/100)===4,EI=e=>Math.floor(e/100)===5,_I=e=>e===429,FB=(e,t)=>{const n=t.urlsToInclude.some(a=>a.test(e)),r=t.urlsToExclude.some(a=>a.test(e));return n&&!r},rd=()=>Date.now()/1e3,mxe=(e,t,n)=>{const r={request:{}};return r.request.method=t?.method?t.method:"GET",r.request.traced=n,r.request.url=t1(e),r},$B=(e,t,n,r)=>({version:"1.0.0",name:e,origin:"AWS::RUM::AppMonitor",id:qB(),start_time:t,trace_id:n?wxe():Sxe(),end_time:void 0,subsegments:[],in_progress:!1}),BB=(e,t,n)=>{const r={id:qB(),name:e,start_time:t,end_time:void 0,in_progress:!1,namespace:e.endsWith(".amazonaws.com")?"aws":"remote"};return n&&(r.http=n),r},HB=e=>{try{return e.hostname?e.hostname:e.url?new URL(e.url).hostname:new URL(e.toString()).hostname}catch{return window.location.hostname}},gxe=(e,t,n,r)=>{e.headers||(e.headers={}),r?e.headers[_y]=AI(t,n):e.headers[Ey]=kI(t,n)},vxe=(e,t,n,r)=>{r?e.set(_y,AI(t,n)):e.set(Ey,kI(t,n))},kI=(e,t)=>"Root="+e+";Parent="+t+";Sampled=1",AI=(e,t)=>"00-"+e+"-"+t+"-01",yxe=e=>e?.length===hxe&&e[0].length===uxe&&e[1].length===dxe&&e[2].length===fxe&&(e[3]==="00"||e[3]==="01"),bxe=(e,t)=>{var n,r;const a={};if(e)if(t){const s=(n=e.get(_y))===null||n===void 0?void 0:n.split("-");s&&yxe(s)&&(a.traceId=s[1],a.segmentId=s[2])}else{const s=(r=e.get(Ey))===null||r===void 0?void 0:r.split(";");s?.length===3&&(a.traceId=s[0].split("Root=")[1],a.segmentId=s[1].split("Parent=")[1])}return a},t1=e=>e.url?e.url:e.toString(),Sxe=()=>`1-${xxe()}-${Cxe()}`,wxe=()=>{const e=new Uint8Array(16);return CI(e),`${II(e)}`},qB=()=>{const e=new Uint8Array(8);return CI(e),II(e)},xxe=()=>Math.floor(Date.now()/1e3).toString(16),Cxe=()=>{const e=new Uint8Array(12);return CI(e),II(e)},II=e=>{let t="";for(let n=0;n<e.length;n++)t+=LB[e[n]];return t};class Exe{constructor(t,n,r=a=>2e3*Math.pow(2,a-1)){this.handler=t,this.retries=n,this.backoff=r}async handle(t){let n=this.retries;for(;;)try{const r=await this.handler.handle(t);if(pxe(r.response.statusCode))return r;throw r.response.statusCode}catch(r){if(typeof r=="number"&&!_I(r)&&!EI(r))throw new Error(`${r}`);if(n<=0)throw r;n--,await this.sleep(this.backoff(this.retries-n))}}async sleep(t){return new Promise(n=>setTimeout(n,t))}updateHttpClientConfig(t,n){}httpHandlerConfigs(){return{}}}const Ad="cwr_c",j1="cwr_i",F1="cwr_s",$1="cwr_u",_xe=3e4,kxe="arw-module",ND="CWR: Cannot dispatch; no AWS credentials.";class Axe{constructor(t,n,r,a,s){this.disableCodes=["403","404"],this.shouldPurgeCredentials=!0,this.dispatchFetch=async()=>{if(this.doRequest()){const i=this.createRequest();return xe.info(`Dispatching ${i.RumEvents.length} events via fetch`),this.rum.sendFetch(i).catch(this.handleReject)}},this.dispatchBeacon=async()=>{if(this.doRequest()){const i=this.createRequest();return xe.info(`Dispatching ${i.RumEvents.length} events via beacon`),this.rum.sendBeacon(i).catch(()=>this.rum.sendFetch(i))}},this.dispatchFetchFailSilent=async()=>this.dispatchFetch().catch(i=>{xe.error("Dispatch fetch failed silently:",i)}),this.dispatchBeaconFailSilent=async()=>this.dispatchBeacon().catch(i=>{xe.error("Dispatch beacon failed silently:",i)}),this.flushSync=()=>{if(document.visibilityState==="hidden"&&this.doRequest(!0)){let i=this.rum.sendBeacon,c=this.rum.sendFetch;this.config.useBeacon||([i,c]=[c,i]);const u=this.createRequest(!0);xe.debug(`Flushing ${u.RumEvents.length} events on page hide`),i(u).catch(()=>c(u)).catch(f=>{xe.error("Page hide flush failed:",f)})}},this.handleReject=i=>{throw i instanceof Error&&(i.message==="403"&&this.config.signing&&this.shouldPurgeCredentials?(this.shouldPurgeCredentials=!1,this.forceRebuildClient()):this.disableCodes.includes(i.message)&&(xe.error("Dispatch failed with status code:",i.message),this.disable())),i},this.defaultClientBuilder=(i,c,u,f)=>{const h=u&&this.signingConfigFactory?this.signingConfigFactory(u,c):void 0;return new sxe({fetchRequestHandler:new Exe(new cxe({fetchFunction:this.config.fetchFunction}),this.config.retries),beaconRequestHandler:new ixe,endpoint:i,region:c,credentials:u,headers:this.headers,compressionStrategy:f},h)},this.applicationId=t,this.region=n,this.endpoint=r,this.eventCache=a,this.enabled=!0,this.buildClient=s.clientBuilder||this.defaultClientBuilder,this.config=s,this.headers=s.headers,this.startDispatchTimer(),s.signing?this.rum={sendFetch:()=>Promise.reject(new Error(ND)),sendBeacon:()=>Promise.reject(new Error(ND))}:this.rum=this.buildClient(this.endpoint,this.region,void 0,this.config.compressionStrategy),this.credentialStorageKey=this.config.cookieAttributes.unique?`${Ad}_${t}`:Ad,this.identityStorageKey=this.config.cookieAttributes.unique?`${j1}_${t}`:j1}enable(){this.enabled=!0,this.startDispatchTimer()}disable(){this.stopDispatchTimer(),this.enabled=!1,xe.warn("Dispatch disabled")}setAwsCredentials(t){this.credentialProvider=t,this.rum=this.buildClient(this.endpoint,this.region,t,this.config.compressionStrategy),typeof t=="function"&&t()}setCognitoCredentialProviderFactory(t){this.cognitoCredentialProviderFactory=t}setSigningConfigFactory(t){this.signingConfigFactory=t}setCognitoCredentials(t,n){this.identityPoolId=t,this.guestRoleArn=n,this.cognitoCredentialProviderFactory&&this.setAwsCredentials(this.cognitoCredentialProviderFactory(this.config,this.applicationId,t,n))}startDispatchTimer(){document.addEventListener("visibilitychange",this.flushSync),document.addEventListener("pagehide",this.flushSync),!(this.config.dispatchInterval<=0||this.dispatchTimerId)&&(this.dispatchTimerId=window.setInterval(this.dispatchFetchFailSilent,this.config.dispatchInterval))}stopDispatchTimer(){document.removeEventListener("visibilitychange",this.flushSync),document.removeEventListener("pagehide",this.flushSync),this.dispatchTimerId&&(window.clearInterval(this.dispatchTimerId),this.dispatchTimerId=void 0)}doRequest(t=!1){return this.enabled?t&&this.eventCache.hasCandidates()?!0:this.eventCache.hasEvents():!1}createRequest(t=!1){return{BatchId:ld(),AppMonitorDetails:this.eventCache.getAppMonitorDetails(),UserDetails:this.eventCache.getUserDetails(),SessionMetadata:JSON.stringify(this.eventCache.getCommonMetadata()),RumEvents:this.eventCache.getEventBatch(t),Alias:this.config.alias}}forceRebuildClient(){xe.warn("Removing credentials from local storage"),localStorage.removeItem(this.credentialStorageKey),this.identityPoolId?(xe.info("Rebuilding client with fresh cognito credentials"),localStorage.removeItem(this.identityStorageKey),this.setCognitoCredentials(this.identityPoolId,this.guestRoleArn)):this.credentialProvider&&(xe.info("Rebuilding client with most recently passed provider"),this.setAwsCredentials(this.credentialProvider))}}const VB={};for(let e=0;e<256;e++){let t=e.toString(16).toLowerCase();t.length===1&&(t=`0${t}`),VB[e]=t}function Ixe(e){let t="";for(let n=0;n<e.byteLength;n++)t+=VB[e[n]];return t}class Txe{format(t){const n=[];for(const s of Object.keys(t)){const i=d_(s);n.push(Uint8Array.from([i.byteLength]),i,this.formatHeaderValue(t[s]))}const r=new Uint8Array(n.reduce((s,i)=>s+i.byteLength,0));let a=0;for(const s of n)r.set(s,a),a+=s.byteLength;return r}formatHeaderValue(t){switch(t.type){case"boolean":return Uint8Array.from([t.value?La.boolTrue:La.boolFalse]);case"byte":return Uint8Array.from([La.byte,t.value]);case"short":const n=new DataView(new ArrayBuffer(3));return n.setUint8(0,La.short),n.setInt16(1,t.value,!1),new Uint8Array(n.buffer);case"integer":const r=new DataView(new ArrayBuffer(5));return r.setUint8(0,La.integer),r.setInt32(1,t.value,!1),new Uint8Array(r.buffer);case"long":const a=new Uint8Array(9);return a[0]=La.long,a.set(t.value.bytes,1),a;case"binary":const s=new DataView(new ArrayBuffer(3+t.value.byteLength));s.setUint8(0,La.byteArray),s.setUint16(1,t.value.byteLength,!1);const i=new Uint8Array(s.buffer);return i.set(t.value,3),i;case"string":const c=d_(t.value),u=new DataView(new ArrayBuffer(3+c.byteLength));u.setUint8(0,La.string),u.setUint16(1,c.byteLength,!1);const f=new Uint8Array(u.buffer);return f.set(c,3),f;case"timestamp":const h=new Uint8Array(9);return h[0]=La.timestamp,h.set(TI.fromNumber(t.value.valueOf()).bytes,1),h;case"uuid":if(!Rxe.test(t.value))throw new Error(`Invalid UUID received: ${t.value}`);const m=new Uint8Array(17);return m[0]=La.uuid,m.set(Kwe(t.value.replace(/-/g,"")),1),m}}}var La;(function(e){e[e.boolTrue=0]="boolTrue",e[e.boolFalse=1]="boolFalse",e[e.byte=2]="byte",e[e.short=3]="short",e[e.integer=4]="integer",e[e.long=5]="long",e[e.byteArray=6]="byteArray",e[e.string=7]="string",e[e.timestamp=8]="timestamp",e[e.uuid=9]="uuid"})(La||(La={}));const Rxe=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class TI{bytes;constructor(t){if(this.bytes=t,t.byteLength!==8)throw new Error("Int64 buffers must be exactly 8 bytes")}static fromNumber(t){if(t>9223372036854776e3||t<-9223372036854776e3)throw new Error(`${t} is too large (or, if negative, too small) to represent as an Int64`);const n=new Uint8Array(8);for(let r=7,a=Math.abs(Math.round(t));r>-1&&a>0;r--,a/=256)n[r]=a;return t<0&&MD(n),new TI(n)}valueOf(){const t=this.bytes.slice(0),n=t[0]&128;return n&&MD(t),parseInt(cc(t),16)*(n?-1:1)}toString(){return String(this.valueOf())}}function MD(e){for(let t=0;t<8;t++)e[t]^=255;for(let t=7;t>-1&&(e[t]++,e[t]===0);t--);}const Oxe="X-Amz-Algorithm",Nxe="X-Amz-Credential",WB="X-Amz-Date",Mxe="X-Amz-SignedHeaders",Pxe="X-Amz-Expires",GB="X-Amz-Signature",KB="X-Amz-Security-Token",YB="authorization",ZB=WB.toLowerCase(),Dxe="date",Lxe=[YB,ZB,Dxe],Uxe=GB.toLowerCase(),h_="x-amz-content-sha256",zxe=KB.toLowerCase(),jxe={authorization:!0,"cache-control":!0,connection:!0,expect:!0,from:!0,"keep-alive":!0,"max-forwards":!0,pragma:!0,referer:!0,te:!0,trailer:!0,"transfer-encoding":!0,upgrade:!0,"user-agent":!0,"x-amzn-trace-id":!0},Fxe=/^proxy-/,$xe=/^sec-/,CE="AWS4-HMAC-SHA256",Bxe="AWS4-HMAC-SHA256-PAYLOAD",Hxe="UNSIGNED-PAYLOAD",qxe=50,XB="aws4_request",Vxe=3600*24*7,Wxe=({query:e={}})=>{const t=[],n={};for(const r of Object.keys(e)){if(r.toLowerCase()===Uxe)continue;const a=uc(r);t.push(a);const s=e[r];typeof s=="string"?n[a]=`${a}=${uc(s)}`:Array.isArray(s)&&(n[a]=s.slice(0).reduce((i,c)=>i.concat([`${a}=${uc(c)}`]),[]).sort().join("&"))}return t.sort().map(r=>n[r]).filter(r=>r).join("&")},Gxe=e=>Kxe(e).toISOString().replace(/\.\d{3}Z$/,"Z"),Kxe=e=>typeof e=="number"?new Date(e*1e3):typeof e=="string"?Number(e)?new Date(Number(e)*1e3):new Date(e):e;class Yxe{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:t,credentials:n,region:r,service:a,sha256:s,uriEscapePath:i=!0}){this.service=a,this.sha256=s,this.uriEscapePath=i,this.applyChecksum=typeof t=="boolean"?t:!0,this.regionProvider=ID(r),this.credentialProvider=ID(n)}createCanonicalRequest(t,n,r){const a=Object.keys(n).sort();return`${t.method}
231
231
  ${this.getCanonicalPath(t)}
232
232
  ${Wxe(t)}
@@ -290,4 +290,4 @@ https://www.w3ctech.com/topic/2226`));let c=n(...i);return c.postcssPlugin=t,c.p
290
290
  https://evilmartians.com/chronicles/postcss-8-plugin-migration`),W1.LANG&&W1.LANG.startsWith("cn")&&console.warn(t+`: 里面 postcss.plugin 被弃用. 迁移指南:
291
291
  https://www.w3ctech.com/topic/2226`));let c=n(...i);return c.postcssPlugin=t,c.postcssVersion=new iT().version,c}let s;return Object.defineProperty(a,"postcss",{get(){return s||(s=a()),s}}),a.process=function(i,c,u){return Bt([a(u)]).process(i,c)},a};Bt.stringify=Gke;Bt.parse=Qke;Bt.fromJSON=Kke;Bt.list=Jke;Bt.comment=e=>new jq(e);Bt.atRule=e=>new Fq(e);Bt.decl=e=>new Uq(e);Bt.rule=e=>new $q(e);Bt.root=e=>new Bq(e);Bt.document=e=>new zq(e);Bt.CssSyntaxError=qke;Bt.Declaration=Uq;Bt.Container=Wke;Bt.Processor=iT;Bt.Document=zq;Bt.Comment=jq;Bt.Warning=Yke;Bt.AtRule=Fq;Bt.Result=Zke;Bt.Input=Xke;Bt.Rule=$q;Bt.Root=Bq;Bt.Node=eAe;Vke.registerPostcss(Bt);var tAe=Bt;Bt.default=Bt;const mn=p_e(tAe);mn.stringify;mn.fromJSON;mn.plugin;mn.parse;mn.list;mn.document;mn.comment;mn.atRule;mn.rule;mn.decl;mn.root;mn.CssSyntaxError;mn.Declaration;mn.Container;mn.Processor;mn.Document;mn.Comment;mn.Warning;mn.AtRule;mn.Result;mn.Input;mn.Rule;mn.Root;mn.Node;class lT{constructor(...t){Pa(this,"parentElement",null),Pa(this,"parentNode",null),Pa(this,"ownerDocument"),Pa(this,"firstChild",null),Pa(this,"lastChild",null),Pa(this,"previousSibling",null),Pa(this,"nextSibling",null),Pa(this,"ELEMENT_NODE",1),Pa(this,"TEXT_NODE",3),Pa(this,"nodeType"),Pa(this,"nodeName"),Pa(this,"RRNodeType")}get childNodes(){const t=[];let n=this.firstChild;for(;n;)t.push(n),n=n.nextSibling;return t}contains(t){if(t instanceof lT){if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0}else return!1;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1}appendChild(t){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")}insertBefore(t,n){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")}removeChild(t){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")}toString(){return"RRNode"}}const F9={Node:["childNodes","parentNode","parentElement","textContent","ownerDocument"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},$9={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},_0={},nAe=()=>!!globalThis.Zone;function cT(e){if(_0[e])return _0[e];const t=globalThis[e],n=t.prototype,r=e in F9?F9[e]:void 0,a=!!(r&&r.every(c=>{var u,f;return!!((f=(u=Object.getOwnPropertyDescriptor(n,c))==null?void 0:u.get)!=null&&f.toString().includes("[native code]"))})),s=e in $9?$9[e]:void 0,i=!!(s&&s.every(c=>{var u;return typeof n[c]=="function"&&((u=n[c])==null?void 0:u.toString().includes("[native code]"))}));if(a&&i&&!nAe())return _0[e]=t.prototype,t.prototype;try{const c=document.createElement("iframe");document.body.appendChild(c);const u=c.contentWindow;if(!u)return t.prototype;const f=u[e].prototype;return document.body.removeChild(c),f?_0[e]=f:n}catch{return n}}const VE={};function ni(e,t,n){var r;const a=`${e}.${String(n)}`;if(VE[a])return VE[a].call(t);const s=cT(e),i=(r=Object.getOwnPropertyDescriptor(s,n))==null?void 0:r.get;return i?(VE[a]=i,i.call(t)):t[n]}const WE={};function Hq(e,t,n){const r=`${e}.${String(n)}`;if(WE[r])return WE[r].bind(t);const s=cT(e)[n];return typeof s!="function"?t[n]:(WE[r]=s,s.bind(t))}function rAe(e){return ni("Node",e,"ownerDocument")}function aAe(e){return ni("Node",e,"childNodes")}function sAe(e){return ni("Node",e,"parentNode")}function oAe(e){return ni("Node",e,"parentElement")}function iAe(e){return ni("Node",e,"textContent")}function lAe(e,t){return Hq("Node",e,"contains")(t)}function cAe(e){return Hq("Node",e,"getRootNode")()}function uAe(e){return!e||!("host"in e)?null:ni("ShadowRoot",e,"host")}function dAe(e){return e.styleSheets}function fAe(e){return!e||!("shadowRoot"in e)?null:ni("Element",e,"shadowRoot")}function hAe(e,t){return ni("Element",e,"querySelector")(t)}function pAe(e,t){return ni("Element",e,"querySelectorAll")(t)}function qq(){return cT("MutationObserver").constructor}function $c(e,t,n){try{if(!(t in e))return()=>{};const r=e[t],a=n(r);return typeof a=="function"&&(a.prototype=a.prototype||{},Object.defineProperties(a,{__rrweb_original__:{enumerable:!1,value:r}})),e[t]=a,()=>{e[t]=r}}catch{return()=>{}}}const ct={ownerDocument:rAe,childNodes:aAe,parentNode:sAe,parentElement:oAe,textContent:iAe,contains:lAe,getRootNode:cAe,host:uAe,styleSheets:dAe,shadowRoot:fAe,querySelector:hAe,querySelectorAll:pAe,mutationObserver:qq,patch:$c};function Mr(e,t,n=document){const r={capture:!0,passive:!0};return n.addEventListener(e,t,r),()=>n.removeEventListener(e,t,r)}const Zu=`Please stop import mirror directly. Instead of that,\r
292
292
  now you can use replayer.getMirror() to access the mirror instance of a replayer,\r
293
- or you can use record.mirror to access the mirror instance during recording.`;let B9={map:{},getId(){return console.error(Zu),-1},getNode(){return console.error(Zu),null},removeNodeFromMap(){console.error(Zu)},has(){return console.error(Zu),!1},reset(){console.error(Zu)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(B9=new Proxy(B9,{get(e,t,n){return t==="map"&&console.error(Zu),Reflect.get(e,t,n)}}));function Mp(e,t,n={}){let r=null,a=0;return function(...s){const i=Date.now();!a&&n.leading===!1&&(a=i);const c=t-(i-a),u=this;c<=0||c>t?(r&&(clearTimeout(r),r=null),a=i,e.apply(u,s)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{a=n.leading===!1?0:Date.now(),r=null,e.apply(u,s)},c))}}function $y(e,t,n,r,a=window){const s=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(i){setTimeout(()=>{n.set.call(this,i)},0),s&&s.set&&s.set.call(this,i)}}),()=>$y(e,t,s||{},!0)}let sv=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(sv=()=>new Date().getTime());function Vq(e){var t,n,r,a;const s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:s.documentElement.scrollLeft||s?.body&&((t=ct.parentElement(s.body))==null?void 0:t.scrollLeft)||((n=s?.body)==null?void 0:n.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:s?.documentElement.scrollTop||s?.body&&((r=ct.parentElement(s.body))==null?void 0:r.scrollTop)||((a=s?.body)==null?void 0:a.scrollTop)||0}}function Wq(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Gq(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Kq(e){return e?e.nodeType===e.ELEMENT_NODE?e:ct.parentElement(e):null}function Pr(e,t,n,r){if(!e)return!1;const a=Kq(e);if(!a)return!1;try{if(typeof t=="string"){if(a.classList.contains(t)||r&&a.closest("."+t)!==null)return!0}else if(Z1(a,t,r))return!0}catch{}return!!(n&&(a.matches(n)||r&&a.closest(n)!==null))}function mAe(e,t){return t.getId(e)!==-1}function GE(e,t,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:t.getId(e)===Ep}function Yq(e,t){if(Xh(e))return!1;const n=t.getId(e);if(!t.has(n))return!0;const r=ct.parentNode(e);return r&&r.nodeType===e.DOCUMENT_NODE?!1:r?Yq(r,t):!0}function Z_(e){return!!e.changedTouches}function gAe(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function Zq(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Xq(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function X_(e){return e?e instanceof lT&&"shadowRoot"in e?!!e.shadowRoot:!!ct.shadowRoot(e):!1}class vAe{constructor(){Ee(this,"id",1),Ee(this,"styleIDMap",new WeakMap),Ee(this,"idStyleMap",new Map)}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Qq(e){var t;let n=null;return"getRootNode"in e&&((t=ct.getRootNode(e))==null?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&ct.host(ct.getRootNode(e))&&(n=ct.host(ct.getRootNode(e))),n}function yAe(e){let t=e,n;for(;n=Qq(t);)t=n;return t}function bAe(e){const t=ct.ownerDocument(e);if(!t)return!1;const n=yAe(e);return ct.contains(t,n)}function Jq(e){const t=ct.ownerDocument(e);return t?ct.contains(t,e)||bAe(e):!1}var kt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(kt||{}),vt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(vt||{}),Kr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Kr||{}),To=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(To||{}),Pd=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Pd||{}),Xu=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Xu||{}),eV=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(eV||{});function H9(e){return"__ln"in e}class SAe{constructor(){Ee(this,"length",0),Ee(this,"head",null),Ee(this,"tail",null)}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=n?.next||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&H9(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&H9(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const q9=(e,t)=>`${e}@${t}`;class wAe{constructor(){Ee(this,"frozen",!1),Ee(this,"locked",!1),Ee(this,"texts",[]),Ee(this,"attributes",[]),Ee(this,"attributeMap",new WeakMap),Ee(this,"removes",[]),Ee(this,"mapRemoves",[]),Ee(this,"movedMap",{}),Ee(this,"addedSet",new Set),Ee(this,"movedSet",new Set),Ee(this,"droppedSet",new Set),Ee(this,"removesSubTreeCache",new Set),Ee(this,"mutationCb"),Ee(this,"blockClass"),Ee(this,"blockSelector"),Ee(this,"maskTextClass"),Ee(this,"maskTextSelector"),Ee(this,"inlineStylesheet"),Ee(this,"maskInputOptions"),Ee(this,"maskTextFn"),Ee(this,"maskInputFn"),Ee(this,"keepIframeSrcFn"),Ee(this,"recordCanvas"),Ee(this,"inlineImages"),Ee(this,"slimDOMOptions"),Ee(this,"dataURLOptions"),Ee(this,"doc"),Ee(this,"mirror"),Ee(this,"iframeManager"),Ee(this,"stylesheetManager"),Ee(this,"shadowDomManager"),Ee(this,"canvasManager"),Ee(this,"processedNodeManager"),Ee(this,"unattachedDoc"),Ee(this,"processMutations",t=>{t.forEach(this.processMutation),this.emit()}),Ee(this,"emit",()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new SAe,a=u=>{let f=u,h=Ep;for(;h===Ep;)f=f&&f.nextSibling,h=f&&this.mirror.getId(f);return h},s=u=>{const f=ct.parentNode(u);if(!f||!Jq(u))return;let h=!1;if(u.nodeType===Node.TEXT_NODE){const w=f.tagName;if(w==="TEXTAREA")return;w==="STYLE"&&this.addedSet.has(f)&&(h=!0)}const m=Xh(f)?this.mirror.getId(Qq(u)):this.mirror.getId(f),g=a(u);if(m===-1||g===-1)return r.addNode(u);const y=od(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:w=>{Zq(w,this.mirror)&&this.iframeManager.addIframe(w),Xq(w,this.mirror)&&this.stylesheetManager.trackLinkElement(w),X_(u)&&this.shadowDomManager.addShadowRoot(ct.shadowRoot(u),this.doc)},onIframeLoad:(w,b)=>{this.iframeManager.attachIframe(w,b),this.shadowDomManager.observeAttachShadow(w)},onStylesheetLoad:(w,b)=>{this.stylesheetManager.attachLinkElement(w,b)},cssCaptured:h});y&&(t.push({parentId:m,nextId:g,node:y}),n.add(y.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)V9(this.removesSubTreeCache,u,this.mirror)&&!this.movedSet.has(ct.parentNode(u))||s(u);for(const u of this.addedSet)!W9(this.droppedSet,u)&&!V9(this.removesSubTreeCache,u,this.mirror)||W9(this.movedSet,u)?s(u):this.droppedSet.add(u);let i=null;for(;r.length;){let u=null;if(i){const f=this.mirror.getId(ct.parentNode(i.value)),h=a(i.value);f!==-1&&h!==-1&&(u=i)}if(!u){let f=r.tail;for(;f;){const h=f;if(f=f.previous,h){const m=this.mirror.getId(ct.parentNode(h.value));if(a(h.value)===-1)continue;if(m!==-1){u=h;break}else{const y=h.value,w=ct.parentNode(y);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const b=ct.host(w);if(this.mirror.getId(b)!==-1){u=h;break}}}}}}if(!u){for(;r.head;)r.removeNode(r.head.value);break}i=u.previous,r.removeNode(u.value),s(u.value)}const c={texts:this.texts.map(u=>{const f=u.node,h=ct.parentNode(f);return h&&h.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(h),{id:this.mirror.getId(f),value:u.value}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:f}=u;if(typeof f.style=="string"){const h=JSON.stringify(u.styleDiff),m=JSON.stringify(u._unchangedStyles);h.length<f.style.length&&(h+m).split("var(").length===f.style.split("var(").length&&(f.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:f}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:t};!c.texts.length&&!c.attributes.length&&!c.removes.length&&!c.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(c))}),Ee(this,"genTextAreaValueMutation",t=>{let n=this.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(n),this.attributeMap.set(t,n));const r=Array.from(ct.childNodes(t),a=>ct.textContent(a)||"").join("");n.attributes.value=G1({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:K1(t),value:r,maskInputFn:this.maskInputFn})}),Ee(this,"processMutation",t=>{if(!GE(t.target,this.mirror,this.slimDOMOptions))switch(t.type){case"characterData":{const n=ct.textContent(t.target);!Pr(t.target,this.blockClass,this.blockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:CH(t.target,this.maskTextClass,this.maskTextSelector,!0)&&n?this.maskTextFn?this.maskTextFn(n,Kq(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,a=t.target.getAttribute(r);if(r==="value"){const i=K1(n);a=G1({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:i,value:a,maskInputFn:this.maskInputFn})}if(Pr(t.target,this.blockClass,this.blockSelector,!1)||a===t.oldValue)return;let s=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)r="rr_src";else return;if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(t.target,s)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!xH(n.tagName,r))if(s.attributes[r]=wH(this.doc,Cc(n.tagName),Cc(r),a),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const i=this.unattachedDoc.createElement("span");t.oldValue&&i.setAttribute("style",t.oldValue);for(const c of Array.from(n.style)){const u=n.style.getPropertyValue(c),f=n.style.getPropertyPriority(c);u!==i.style.getPropertyValue(c)||f!==i.style.getPropertyPriority(c)?f===""?s.styleDiff[c]=u:s.styleDiff[c]=[u,f]:s._unchangedStyles[c]=[u,f]}for(const c of Array.from(i.style))n.style.getPropertyValue(c)===""&&(s.styleDiff[c]=!1)}else r==="open"&&n.tagName==="DIALOG"&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":{if(Pr(t.target,this.blockClass,this.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),a=Xh(t.target)?this.mirror.getId(ct.host(t.target)):this.mirror.getId(t.target);Pr(t.target,this.blockClass,this.blockSelector,!1)||GE(n,this.mirror,this.slimDOMOptions)||!mAe(n,this.mirror)||(this.addedSet.has(n)?(Q_(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||Yq(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[q9(r,a)]?Q_(this.movedSet,n):(this.removes.push({parentId:a,id:r,isShadow:Xh(t.target)&&Qh(t.target)?!0:void 0}),xAe(n,this.removesSubTreeCache))),this.mapRemoves.push(n))});break}}}),Ee(this,"genAdds",(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(GE(t,this.mirror,this.slimDOMOptions))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[q9(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Pr(t,this.blockClass,this.blockSelector,!1)||(ct.childNodes(t).forEach(r=>this.genAdds(r)),X_(t)&&ct.childNodes(ct.shadowRoot(t)).forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}})}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Q_(e,t){e.delete(t),ct.childNodes(t).forEach(n=>Q_(e,n))}function xAe(e,t){const n=[e];for(;n.length;){const r=n.pop();t.has(r)||(t.add(r),ct.childNodes(r).forEach(a=>n.push(a)))}}function V9(e,t,n){return e.size===0?!1:CAe(e,t)}function CAe(e,t,n){const r=ct.parentNode(t);return r?e.has(r):!1}function W9(e,t){return e.size===0?!1:tV(e,t)}function tV(e,t){const n=ct.parentNode(t);return n?e.has(n)?!0:tV(e,n):!1}let Jh;function EAe(e){Jh=e}function _Ae(){Jh=void 0}const wt=e=>Jh?(...n)=>{try{return e(...n)}catch(r){if(Jh&&Jh(r)===!0)return;throw r}}:e,ec=[];function om(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function nV(e,t){const n=new wAe;ec.push(n),n.init(e);const r=new(qq())(wt(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function kAe({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const a=typeof t.mousemove=="number"?t.mousemove:50,s=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[],c;const u=Mp(wt(m=>{const g=Date.now()-c;e(i.map(y=>(y.timeOffset-=g,y)),m),i=[],c=null}),s),f=wt(Mp(wt(m=>{const g=om(m),{clientX:y,clientY:w}=Z_(m)?m.changedTouches[0]:m;c||(c=sv()),i.push({x:y,y:w,id:r.getId(g),timeOffset:sv()-c}),u(typeof DragEvent<"u"&&m instanceof DragEvent?vt.Drag:m instanceof MouseEvent?vt.MouseMove:vt.TouchMove)}),a,{trailing:!1})),h=[Mr("mousemove",f,n),Mr("touchmove",f,n),Mr("drag",f,n)];return wt(()=>{h.forEach(m=>m())})}function AAe({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const i=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[];let u=null;const f=h=>m=>{const g=om(m);if(Pr(g,r,a,!0))return;let y=null,w=h;if("pointerType"in m){switch(m.pointerType){case"mouse":y=To.Mouse;break;case"touch":y=To.Touch;break;case"pen":y=To.Pen;break}y===To.Touch?Kr[h]===Kr.MouseDown?w="TouchStart":Kr[h]===Kr.MouseUp&&(w="TouchEnd"):To.Pen}else Z_(m)&&(y=To.Touch);y!==null?(u=y,(w.startsWith("Touch")&&y===To.Touch||w.startsWith("Mouse")&&y===To.Mouse)&&(y=null)):Kr[h]===Kr.Click&&(y=u,u=null);const b=Z_(m)?m.changedTouches[0]:m;if(!b)return;const x=n.getId(g),{clientX:E,clientY:k}=b;wt(e)({type:Kr[w],id:x,x:E,y:k,...y!==null&&{pointerType:y}})};return Object.keys(Kr).filter(h=>Number.isNaN(Number(h))&&!h.endsWith("_Departed")&&i[h]!==!1).forEach(h=>{let m=Cc(h);const g=f(h);if(window.PointerEvent)switch(Kr[h]){case Kr.MouseDown:case Kr.MouseUp:m=m.replace("mouse","pointer");break;case Kr.TouchStart:case Kr.TouchEnd:return}c.push(Mr(m,g,t))}),wt(()=>{c.forEach(h=>h())})}function rV({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){const i=wt(Mp(wt(c=>{const u=om(c);if(!u||Pr(u,r,a,!0))return;const f=n.getId(u);if(u===t&&t.defaultView){const h=Vq(t.defaultView);e({id:f,x:h.left,y:h.top})}else e({id:f,x:u.scrollLeft,y:u.scrollTop})}),s.scroll||100));return Mr("scroll",i,t)}function IAe({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const a=wt(Mp(wt(()=>{const s=Wq(),i=Gq();(n!==s||r!==i)&&(e({width:Number(i),height:Number(s)}),n=s,r=i)}),200));return Mr("resize",a,t)}const TAe=["INPUT","TEXTAREA","SELECT"],G9=new WeakMap;function RAe({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,ignoreClass:s,ignoreSelector:i,maskInputOptions:c,maskInputFn:u,sampling:f,userTriggeredOnInput:h}){function m(k){let A=om(k);const R=k.isTrusted,P=A&&A.tagName;if(A&&P==="OPTION"&&(A=ct.parentElement(A)),!A||!P||TAe.indexOf(P)<0||Pr(A,r,a,!0)||A.classList.contains(s)||i&&A.matches(i))return;let O=A.value,T=!1;const M=K1(A)||"";M==="radio"||M==="checkbox"?T=A.checked:(c[P.toLowerCase()]||c[M])&&(O=G1({element:A,maskInputOptions:c,tagName:P,type:M,value:O,maskInputFn:u})),g(A,h?{text:O,isChecked:T,userTriggered:R}:{text:O,isChecked:T});const z=A.name;M==="radio"&&z&&T&&t.querySelectorAll(`input[type="radio"][name="${z}"]`).forEach(q=>{if(q!==A){const U=q.value;g(q,h?{text:U,isChecked:!T,userTriggered:!1}:{text:U,isChecked:!T})}})}function g(k,A){const R=G9.get(k);if(!R||R.text!==A.text||R.isChecked!==A.isChecked){G9.set(k,A);const P=n.getId(k);wt(e)({...A,id:P})}}const w=(f.input==="last"?["change"]:["input","change"]).map(k=>Mr(k,wt(m),t)),b=t.defaultView;if(!b)return()=>{w.forEach(k=>k())};const x=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),E=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return x&&x.set&&w.push(...E.map(k=>$y(k[0],k[1],{set(){wt(m)({target:this,isTrusted:!1})}},!1,b))),wt(()=>{w.forEach(k=>k())})}function ov(e){const t=[];function n(r,a){if(k0("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||k0("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||k0("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||k0("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const i=Array.from(r.parentRule.cssRules).indexOf(r);a.unshift(i)}else if(r.parentStyleSheet){const i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);a.unshift(i)}return a}return n(e,t)}function qi(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function OAe({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:wt((h,m,g)=>{const[y,w]=g,{id:b,styleId:x}=qi(m,t,n.styleMirror);return(b&&b!==-1||x&&x!==-1)&&e({id:b,styleId:x,adds:[{rule:y,index:w}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.addRule=function(h,m,g=this.cssRules.length){const y=`${h} { ${m} }`;return r.CSSStyleSheet.prototype.insertRule.apply(this,[y,g])};const s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,removes:[{index:y}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.removeRule=function(h){return r.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};let i;r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,replace:y}),h.apply(m,g)})}));let c;r.CSSStyleSheet.prototype.replaceSync&&(c=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,replaceSync:y}),h.apply(m,g)})}));const u={};A0("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(A0("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),A0("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),A0("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const f={};return Object.entries(u).forEach(([h,m])=>{f[h]={insertRule:m.prototype.insertRule,deleteRule:m.prototype.deleteRule},m.prototype.insertRule=new Proxy(f[h].insertRule,{apply:wt((g,y,w)=>{const[b,x]=w,{id:E,styleId:k}=qi(y.parentStyleSheet,t,n.styleMirror);return(E&&E!==-1||k&&k!==-1)&&e({id:E,styleId:k,adds:[{rule:b,index:[...ov(y),x||0]}]}),g.apply(y,w)})}),m.prototype.deleteRule=new Proxy(f[h].deleteRule,{apply:wt((g,y,w)=>{const[b]=w,{id:x,styleId:E}=qi(y.parentStyleSheet,t,n.styleMirror);return(x&&x!==-1||E&&E!==-1)&&e({id:x,styleId:E,removes:[{index:[...ov(y),b]}]}),g.apply(y,w)})})}),wt(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),c&&(r.CSSStyleSheet.prototype.replaceSync=c),Object.entries(u).forEach(([h,m])=>{m.prototype.insertRule=f[h].insertRule,m.prototype.deleteRule=f[h].deleteRule})})}function aV({mirror:e,stylesheetManager:t},n){var r,a,s;let i=null;n.nodeName==="#document"?i=e.getId(n):i=e.getId(ct.host(n));const c=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(a=n.ownerDocument)==null?void 0:a.defaultView)==null?void 0:s.ShadowRoot,u=c?.prototype?Object.getOwnPropertyDescriptor(c?.prototype,"adoptedStyleSheets"):void 0;return i===null||i===-1||!c||!u?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var f;return(f=u.get)==null?void 0:f.call(this)},set(f){var h;const m=(h=u.set)==null?void 0:h.call(this,f);if(i!==null&&i!==-1)try{t.adoptStyleSheets(f,i)}catch{}return m}}),wt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))}function NAe({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:wt((c,u,f)=>{var h;const[m,g,y]=f;if(n.has(m))return s.apply(u,[m,g,y]);const{id:w,styleId:b}=qi((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,set:{property:m,value:g,priority:y},index:ov(u.parentRule)}),c.apply(u,f)})});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:wt((c,u,f)=>{var h;const[m]=f;if(n.has(m))return i.apply(u,[m]);const{id:g,styleId:y}=qi((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||y&&y!==-1)&&e({id:g,styleId:y,remove:{property:m},index:ov(u.parentRule)}),c.apply(u,f)})}),wt(()=>{a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=i})}function MAe({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:a,doc:s}){const i=wt(u=>Mp(wt(f=>{const h=om(f);if(!h||Pr(h,t,n,!0))return;const{currentTime:m,volume:g,muted:y,playbackRate:w,loop:b}=h;e({type:u,id:r.getId(h),currentTime:m,volume:g,muted:y,playbackRate:w,loop:b})}),a.media||500)),c=[Mr("play",i(Xu.Play),s),Mr("pause",i(Xu.Pause),s),Mr("seeked",i(Xu.Seeked),s),Mr("volumechange",i(Xu.VolumeChange),s),Mr("ratechange",i(Xu.RateChange),s)];return wt(()=>{c.forEach(u=>u())})}function PAe({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,s=n.FontFace;n.FontFace=function(u,f,h){const m=new s(u,f,h);return a.set(m,{family:u,buffer:typeof f!="string",descriptors:h,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),m};const i=$c(t.fonts,"add",function(c){return function(u){return setTimeout(wt(()=>{const f=a.get(u);f&&(e(f),a.delete(u))}),0),c.apply(this,[u])}});return r.push(()=>{n.FontFace=s}),r.push(i),wt(()=>{r.forEach(c=>c())})}function DAe(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,selectionCb:s}=e;let i=!0;const c=wt(()=>{const u=t.getSelection();if(!u||i&&u?.isCollapsed)return;i=u.isCollapsed||!1;const f=[],h=u.rangeCount||0;for(let m=0;m<h;m++){const g=u.getRangeAt(m),{startContainer:y,startOffset:w,endContainer:b,endOffset:x}=g;Pr(y,r,a,!0)||Pr(b,r,a,!0)||f.push({start:n.getId(y),startOffset:w,end:n.getId(b),endOffset:x})}s({ranges:f})});return c(),Mr("selectionchange",c)}function LAe({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:$c(n.customElements,"define",function(a){return function(s,i,c){try{t({define:{name:s}})}catch{console.warn(`Custom element callback failed for ${s}`)}return a.apply(this,[s,i,c])}})}function UAe(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:a,scrollCb:s,viewportResizeCb:i,inputCb:c,mediaInteractionCb:u,styleSheetRuleCb:f,styleDeclarationCb:h,canvasMutationCb:m,fontCb:g,selectionCb:y,customElementCb:w}=e;e.mutationCb=(...b)=>{t.mutation&&t.mutation(...b),n(...b)},e.mousemoveCb=(...b)=>{t.mousemove&&t.mousemove(...b),r(...b)},e.mouseInteractionCb=(...b)=>{t.mouseInteraction&&t.mouseInteraction(...b),a(...b)},e.scrollCb=(...b)=>{t.scroll&&t.scroll(...b),s(...b)},e.viewportResizeCb=(...b)=>{t.viewportResize&&t.viewportResize(...b),i(...b)},e.inputCb=(...b)=>{t.input&&t.input(...b),c(...b)},e.mediaInteractionCb=(...b)=>{t.mediaInteaction&&t.mediaInteaction(...b),u(...b)},e.styleSheetRuleCb=(...b)=>{t.styleSheetRule&&t.styleSheetRule(...b),f(...b)},e.styleDeclarationCb=(...b)=>{t.styleDeclaration&&t.styleDeclaration(...b),h(...b)},e.canvasMutationCb=(...b)=>{t.canvasMutation&&t.canvasMutation(...b),m(...b)},e.fontCb=(...b)=>{t.font&&t.font(...b),g(...b)},e.selectionCb=(...b)=>{t.selection&&t.selection(...b),y(...b)},e.customElementCb=(...b)=>{t.customElement&&t.customElement(...b),w(...b)}}function zAe(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};UAe(e,t);let r;e.recordDOM&&(r=nV(e,e.doc));const a=kAe(e),s=AAe(e),i=rV(e),c=IAe(e,{win:n}),u=RAe(e),f=MAe(e);let h=()=>{},m=()=>{},g=()=>{},y=()=>{};e.recordDOM&&(h=OAe(e,{win:n}),m=aV(e,e.doc),g=NAe(e,{win:n}),e.collectFonts&&(y=PAe(e)));const w=DAe(e),b=LAe(e),x=[];for(const E of e.plugins)x.push(E.observer(E.callback,n,E.options));return wt(()=>{ec.forEach(E=>E.reset()),r?.disconnect(),a(),s(),i(),c(),u(),f(),h(),m(),g(),y(),w(),b(),x.forEach(E=>E())})}function k0(e){return typeof window[e]<"u"}function A0(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class K9{constructor(t){Ee(this,"iframeIdToRemoteIdMap",new WeakMap),Ee(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=t}getId(t,n,r,a){const s=r||this.getIdToRemoteIdMap(t),i=a||this.getRemoteIdToIdMap(t);let c=s.get(n);return c||(c=this.generateIdFn(),s.set(n,c),i.set(c,n)),c}getIds(t,n){const r=this.getIdToRemoteIdMap(t),a=this.getRemoteIdToIdMap(t);return n.map(s=>this.getId(t,s,r,a))}getRemoteId(t,n,r){const a=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const s=a.get(n);return s||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(a=>this.getRemoteId(t,a,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class jAe{constructor(t){Ee(this,"iframes",new WeakMap),Ee(this,"crossOriginIframeMap",new WeakMap),Ee(this,"crossOriginIframeMirror",new K9(SH)),Ee(this,"crossOriginIframeStyleMirror"),Ee(this,"crossOriginIframeRootIdMap",new WeakMap),Ee(this,"mirror"),Ee(this,"mutationCb"),Ee(this,"wrappedEmit"),Ee(this,"loadListener"),Ee(this,"stylesheetManager"),Ee(this,"recordCrossOriginIframes"),this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new K9(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r,a;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((r=t.contentWindow)==null||r.addEventListener("message",this.handleMessage.bind(this))),(a=this.loadListener)==null||a.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const a=this.crossOriginIframeMap.get(t.source);if(!a)return;const s=this.transformCrossOriginEvent(a,n.data.event);s&&this.wrappedEmit(s,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case kt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:kt.IncrementalSnapshot,data:{source:vt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case kt.Meta:case kt.Load:case kt.DomContentLoaded:return!1;case kt.Plugin:return n;case kt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case kt.IncrementalSnapshot:switch(n.data.source){case vt.Mutation:return n.data.adds.forEach(a=>{this.replaceIds(a,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(a.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(a.node,s)}),n.data.removes.forEach(a=>{this.replaceIds(a,t,["parentId","id"])}),n.data.attributes.forEach(a=>{this.replaceIds(a,t,["id"])}),n.data.texts.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case vt.Drag:case vt.TouchMove:case vt.MouseMove:return n.data.positions.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case vt.ViewportResize:return!1;case vt.MediaInteraction:case vt.MouseInteraction:case vt.Scroll:case vt.CanvasMutation:case vt.Input:return this.replaceIds(n.data,t,["id"]),n;case vt.StyleSheetRule:case vt.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case vt.Font:return n;case vt.Selection:return n.data.ranges.forEach(a=>{this.replaceIds(a,t,["start","end"])}),n;case vt.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(a=>{this.replaceStyleIds(a,t,["styleId"])}),n}}return!1}replace(t,n,r,a){for(const s of a)!Array.isArray(n[s])&&typeof n[s]!="number"||(Array.isArray(n[s])?n[s]=t.getIds(r,n[s]):n[s]=t.getId(r,n[s]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==eV.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class FAe{constructor(t){Ee(this,"shadowDoms",new WeakSet),Ee(this,"mutationCb"),Ee(this,"scrollCb"),Ee(this,"bypassOptions"),Ee(this,"mirror"),Ee(this,"restoreHandlers",[]),this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Qh(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const r=nV({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(rV({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(ct.host(t))),this.restoreHandlers.push(aV({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push($c(t.prototype,"attachShadow",function(a){return function(s){const i=a.call(this,s),c=ct.shadowRoot(this);return c&&Jq(this)&&r.addShadowRoot(c,n),i}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}var id="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$Ae=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var I0=0;I0<id.length;I0++)$Ae[id.charCodeAt(I0)]=I0;var BAe=function(e){var t=new Uint8Array(e),n,r=t.length,a="";for(n=0;n<r;n+=3)a+=id[t[n]>>2],a+=id[(t[n]&3)<<4|t[n+1]>>4],a+=id[(t[n+1]&15)<<2|t[n+2]>>6],a+=id[t[n+2]&63];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a};const Y9=new Map;function HAe(e,t){let n=Y9.get(e);return n||(n=new Map,Y9.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const sV=(e,t,n)=>{if(!e||!(iV(e,t)||typeof e=="object"))return;const r=e.constructor.name,a=HAe(n,r);let s=a.indexOf(e);return s===-1&&(s=a.length,a.push(e)),s};function o1(e,t,n){if(e instanceof Array)return e.map(r=>o1(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,a=BAe(e);return{rr_type:r,base64:a}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[o1(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:a}=e;return{rr_type:r,src:a}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",a=e.toDataURL();return{rr_type:r,src:a}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[o1(e.data,t,n),e.width,e.height]};if(iV(e,t)||typeof e=="object"){const r=e.constructor.name,a=sV(e,t,n);return{rr_type:r,index:a}}}}return e}const oV=(e,t,n)=>e.map(r=>o1(r,t,n)),iV=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(a=>typeof t[a]=="function").find(a=>e instanceof t[a]);function qAe(e,t,n,r){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of s)try{if(typeof t.CanvasRenderingContext2D.prototype[i]!="function")continue;const c=$c(t.CanvasRenderingContext2D.prototype,i,function(u){return function(...f){return Pr(this.canvas,n,r,!0)||setTimeout(()=>{const h=oV(f,t,this);e(this.canvas,{type:Pd["2D"],property:i,args:h})},0),u.apply(this,f)}});a.push(c)}catch{const c=$y(t.CanvasRenderingContext2D.prototype,i,{set(u){e(this.canvas,{type:Pd["2D"],property:i,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(i=>i())}}function VAe(e){return e==="experimental-webgl"?"webgl":e}function Z9(e,t,n,r){const a=[];try{const s=$c(e.HTMLCanvasElement.prototype,"getContext",function(i){return function(c,...u){if(!Pr(this,t,n,!0)){const f=VAe(c);if("__context"in this||(this.__context=f),r&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const h=u[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return i.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function X9(e,t,n,r,a,s){const i=[],c=Object.getOwnPropertyNames(e);for(const u of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if(typeof e[u]!="function")continue;const f=$c(e,u,function(h){return function(...m){const g=h.apply(this,m);if(sV(g,s,this),"tagName"in this.canvas&&!Pr(this.canvas,r,a,!0)){const y=oV(m,s,this),w={type:t,property:u,args:y};n(this.canvas,w)}return g}});i.push(f)}catch{const f=$y(e,u,{set(h){n(this.canvas,{type:t,property:u,args:[h],setter:!0})}});i.push(f)}return i}function WAe(e,t,n,r){const a=[];return a.push(...X9(t.WebGLRenderingContext.prototype,Pd.WebGL,e,n,r,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...X9(t.WebGL2RenderingContext.prototype,Pd.WebGL2,e,n,r,t)),()=>{a.forEach(s=>s())}}const lV="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChp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M3Z19iLmpzLm1hcAo=",GAe=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),Q9=typeof window<"u"&&window.Blob&&new Blob([GAe(lV)],{type:"text/javascript;charset=utf-8"});function KAe(e){let t;try{if(t=Q9&&(window.URL||window.webkitURL).createObjectURL(Q9),!t)throw"";const n=new Worker(t,{name:e?.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+lV,{name:e?.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class YAe{constructor(t){Ee(this,"pendingCanvasMutations",new Map),Ee(this,"rafStamps",{latestId:0,invokeId:null}),Ee(this,"mirror"),Ee(this,"mutationCb"),Ee(this,"resetObservers"),Ee(this,"frozen",!1),Ee(this,"locked",!1),Ee(this,"processMutation",(u,f)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(u)||this.pendingCanvasMutations.set(u,[]),this.pendingCanvasMutations.get(u).push(f)});const{sampling:n="all",win:r,blockClass:a,blockSelector:s,recordCanvas:i,dataURLOptions:c}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,i&&n==="all"&&this.initCanvasMutationObserver(r,a,s),i&&typeof n=="number"&&this.initCanvasFPSObserver(n,r,a,s,{dataURLOptions:c})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(t,n,r,a,s){const i=Z9(n,r,a,!0),c=new Map,u=new KAe;u.onmessage=w=>{const{id:b}=w.data;if(c.set(b,!1),!("base64"in w.data))return;const{base64:x,type:E,width:k,height:A}=w.data;this.mutationCb({id:b,type:Pd["2D"],commands:[{property:"clearRect",args:[0,0,k,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:x}],type:E}]},0,0]}]})};const f=1e3/t;let h=0,m;const g=()=>{const w=[];return n.document.querySelectorAll("canvas").forEach(b=>{Pr(b,r,a,!0)||w.push(b)}),w},y=w=>{if(h&&w-h<f){m=requestAnimationFrame(y);return}h=w,g().forEach(async b=>{var x;const E=this.mirror.getId(b);if(c.get(E)||b.width===0||b.height===0)return;if(c.set(E,!0),["webgl","webgl2"].includes(b.__context)){const A=b.getContext(b.__context);((x=A?.getContextAttributes())==null?void 0:x.preserveDrawingBuffer)===!1&&A.clear(A.COLOR_BUFFER_BIT)}const k=await createImageBitmap(b);u.postMessage({id:E,bitmap:k,width:b.width,height:b.height,dataURLOptions:s.dataURLOptions},[k])}),m=requestAnimationFrame(y)};m=requestAnimationFrame(y),this.resetObservers=()=>{i(),cancelAnimationFrame(m)}}initCanvasMutationObserver(t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=Z9(t,n,r,!1),s=qAe(this.processMutation.bind(this),t,n,r),i=WAe(this.processMutation.bind(this),t,n,r);this.resetObservers=()=>{a(),s(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const a=r.map(i=>{const{type:c,...u}=i;return u}),{type:s}=r[0];this.mutationCb({id:n,type:s,commands:a}),this.pendingCanvasMutations.delete(t)}}class ZAe{constructor(t){Ee(this,"trackedLinkElements",new WeakSet),Ee(this,"mutationCb"),Ee(this,"adoptedStyleSheetCb"),Ee(this,"styleMirror",new vAe),this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},a=[];for(const s of t){let i;this.styleMirror.has(s)?i=this.styleMirror.getId(s):(i=this.styleMirror.add(s),a.push({styleId:i,rules:Array.from(s.rules||CSSRule,(c,u)=>({rule:vH(c,s.href),index:u}))})),r.styleIds.push(i)}a.length>0&&(r.styles=a),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class XAe{constructor(){Ee(this,"nodeMap",new WeakMap),Ee(this,"active",!1)}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(a=>a!==n)}add(t,n){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let xn,i1,KE,iv=!1;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((t9=e.contentWindow)==null?void 0:t9.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const ns=JCe();function im(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:a="rr-block",blockSelector:s=null,ignoreClass:i="rr-ignore",ignoreSelector:c=null,maskTextClass:u="rr-mask",maskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:w,maskTextFn:b,hooks:x,packFn:E,sampling:k={},dataURLOptions:A={},mousemoveWait:R,recordDOM:P=!0,recordCanvas:O=!1,recordCrossOriginIframes:T=!1,recordAfter:M=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:z=!1,collectFonts:q=!1,inlineImages:U=!1,plugins:L,keepIframeSrcFn:B=()=>!1,ignoreCSSAttributes:G=new Set([]),errorHandler:ie}=e;EAe(ie);const $=T?window.parent===window:!0;let X=!1;if(!$)try{window.parent.document&&(X=!1)}catch{X=!0}if($&&!t)throw new Error("emit function is required");if(!$&&!X)return()=>{};R!==void 0&&k.mousemove===void 0&&(k.mousemove=R),ns.reset();const re=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g!==void 0?g:{password:!0},pe=EH(y);gAe();let _e,j=0;const Y=we=>{for(const nt of L||[])nt.eventProcessor&&(we=nt.eventProcessor(we));return E&&!X&&(we=E(we)),we};xn=(we,nt)=>{var Ue;const He=we;if(He.timestamp=sv(),(Ue=ec[0])!=null&&Ue.isFrozen()&&He.type!==kt.FullSnapshot&&!(He.type===kt.IncrementalSnapshot&&He.data.source===vt.Mutation)&&ec.forEach(Ht=>Ht.unfreeze()),$)t?.(Y(He),nt);else if(X){const Ht={type:"rrweb",event:Y(He),origin:window.location.origin,isCheckout:nt};window.parent.postMessage(Ht,"*")}if(He.type===kt.FullSnapshot)_e=He,j=0;else if(He.type===kt.IncrementalSnapshot){if(He.data.source===vt.Mutation&&He.data.isAttachIframe)return;j++;const Ht=r&&j>=r,Ie=n&&He.timestamp-_e.timestamp>n;(Ht||Ie)&&i1(!0)}};const Z=we=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.Mutation,...we}})},Q=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Scroll,...we}}),se=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.CanvasMutation,...we}}),le=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.AdoptedStyleSheet,...we}}),me=new ZAe({mutationCb:Z,adoptedStyleSheetCb:le}),te=new jAe({mirror:ns,mutationCb:Z,stylesheetManager:me,recordCrossOriginIframes:T,wrappedEmit:xn});for(const we of L||[])we.getMirror&&we.getMirror({nodeMirror:ns,crossOriginIframeMirror:te.crossOriginIframeMirror,crossOriginIframeStyleMirror:te.crossOriginIframeStyleMirror});const ve=new XAe;KE=new YAe({recordCanvas:O,mutationCb:se,win:window,blockClass:a,blockSelector:s,mirror:ns,sampling:k.canvas,dataURLOptions:A});const Le=new FAe({mutationCb:Z,scrollCb:Q,bypassOptions:{blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskInputOptions:re,dataURLOptions:A,maskTextFn:b,maskInputFn:w,recordCanvas:O,inlineImages:U,sampling:k,slimDOMOptions:pe,iframeManager:te,stylesheetManager:me,canvasManager:KE,keepIframeSrcFn:B,processedNodeManager:ve},mirror:ns});i1=(we=!1)=>{if(!P)return;xn({type:kt.Meta,data:{href:window.location.href,width:Gq(),height:Wq()}},we),me.reset(),Le.init(),ec.forEach(Ue=>Ue.lock());const nt=CEe(document,{mirror:ns,blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskAllInputs:re,maskTextFn:b,maskInputFn:w,slimDOM:pe,dataURLOptions:A,recordCanvas:O,inlineImages:U,onSerialize:Ue=>{Zq(Ue,ns)&&te.addIframe(Ue),Xq(Ue,ns)&&me.trackLinkElement(Ue),X_(Ue)&&Le.addShadowRoot(ct.shadowRoot(Ue),document)},onIframeLoad:(Ue,He)=>{te.attachIframe(Ue,He),Le.observeAttachShadow(Ue)},onStylesheetLoad:(Ue,He)=>{me.attachLinkElement(Ue,He)},keepIframeSrcFn:B});if(!nt)return console.warn("Failed to snapshot the document");xn({type:kt.FullSnapshot,data:{node:nt,initialOffset:Vq(window)}},we),ec.forEach(Ue=>Ue.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&me.adoptStyleSheets(document.adoptedStyleSheets,ns.getId(document))};try{const we=[],nt=He=>{var Ht;return wt(zAe)({mutationCb:Z,mousemoveCb:(Ie,gr)=>xn({type:kt.IncrementalSnapshot,data:{source:gr,positions:Ie}}),mouseInteractionCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.MouseInteraction,...Ie}}),scrollCb:Q,viewportResizeCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.ViewportResize,...Ie}}),inputCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Input,...Ie}}),mediaInteractionCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.MediaInteraction,...Ie}}),styleSheetRuleCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.StyleSheetRule,...Ie}}),styleDeclarationCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.StyleDeclaration,...Ie}}),canvasMutationCb:se,fontCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Font,...Ie}}),selectionCb:Ie=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.Selection,...Ie}})},customElementCb:Ie=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.CustomElement,...Ie}})},blockClass:a,ignoreClass:i,ignoreSelector:c,maskTextClass:u,maskTextSelector:f,maskInputOptions:re,inlineStylesheet:h,sampling:k,recordDOM:P,recordCanvas:O,inlineImages:U,userTriggeredOnInput:z,collectFonts:q,doc:He,maskInputFn:w,maskTextFn:b,keepIframeSrcFn:B,blockSelector:s,slimDOMOptions:pe,dataURLOptions:A,mirror:ns,iframeManager:te,stylesheetManager:me,shadowDomManager:Le,processedNodeManager:ve,canvasManager:KE,ignoreCSSAttributes:G,plugins:((Ht=L?.filter(Ie=>Ie.observer))==null?void 0:Ht.map(Ie=>({observer:Ie.observer,options:Ie.options,callback:gr=>xn({type:kt.Plugin,data:{plugin:Ie.name,payload:gr}})})))||[]},x)};te.addLoadListener(He=>{try{we.push(nt(He.contentDocument))}catch(Ht){console.warn(Ht)}});const Ue=()=>{i1(),we.push(nt(document)),iv=!0};return["interactive","complete"].includes(document.readyState)?Ue():(we.push(Mr("DOMContentLoaded",()=>{xn({type:kt.DomContentLoaded,data:{}}),M==="DOMContentLoaded"&&Ue()})),we.push(Mr("load",()=>{xn({type:kt.Load,data:{}}),M==="load"&&Ue()},window))),()=>{we.forEach(He=>{try{He()}catch(Ht){String(Ht).toLowerCase().includes("cross-origin")||console.warn(Ht)}}),ve.destroy(),iv=!1,_Ae()}}catch(we){console.warn(we)}}im.addCustomEvent=(e,t)=>{if(!iv)throw new Error("please add custom event after start recording");xn({type:kt.Custom,data:{tag:e,payload:t}})};im.freezePage=()=>{ec.forEach(e=>e.freeze())};im.takeFullSnapshot=e=>{if(!iv)throw new Error("please take full snapshot after start recording");i1(e)};im.mirror=ns;var J9;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(J9||(J9={}));const QAe="rrweb",JAe={maskAllInputs:!0,maskTextSelector:"*",maskInputOptions:void 0},eIe={additionalSampleRate:1,batchSize:50,flushInterval:5e3,recordOptions:{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,recordCrossOriginIframes:!1}},eL=eIe;class tIe extends qa{constructor(t){super(QAe),this.recordingEvents=[],this.isRecording=!1,this.recordingStartTime=null,this.flushTimer=null,this.stopRecording=null,this.enabled=!1;const n=Object.assign(Object.assign(Object.assign({},eL.recordOptions),t?.recordOptions),JAe);this.config=Object.assign(Object.assign(Object.assign({},eL),t),{recordOptions:n}),xe.info("RRWebPlugin initialized",{additionalSampleRate:this.config.additionalSampleRate,batchSize:this.config.batchSize,flushInterval:this.config.flushInterval})}enable(){var t;if(this.enabled){xe.info("RRWebPlugin already enabled");return}const n=(t=this.context)===null||t===void 0?void 0:t.getSession();if(!n||!n.record){xe.warn("RRWebPlugin skipping - session not being recorded",{hasSession:!!n,sessionRecord:n?.record});return}const r=Math.random();if(r>this.config.additionalSampleRate){xe.warn("RRWebPlugin skipping - session replay additionalSampleRate",{randomValue:r,samplingRate:this.config.additionalSampleRate});return}this.enabled=!0,xe.info("RRWebPlugin enabled - starting recording"),this.startRecording()}disable(){if(!this.enabled){xe.info("RRWebPlugin already disabled");return}xe.info("RRWebPlugin disabled - stopping recording"),this.enabled=!1,this.stopCurrentRecording()}record(t){const n=t?.action;n==="start"?(xe.info("RRWebPlugin manual start recording"),this.startRecording()):n==="stop"&&(xe.info("RRWebPlugin manual stop recording"),this.stopCurrentRecording())}onload(){}startRecording(){this.recordingStartTime=Date.now(),this.recordingEvents=[],this.isRecording=!0,xe.info("RRWebPlugin starting rrweb recording",{startTime:this.recordingStartTime});const t=im(Object.assign(Object.assign({},this.config.recordOptions),{emit:this.handleRRWebEvent.bind(this)}));t?(this.stopRecording=t,xe.info("RRWebPlugin rrweb recording initialized successfully")):xe.warn("RRWebPlugin failed to initialize rrweb recording"),this.flushTimer=window.setInterval(()=>{this.flush()},this.config.flushInterval)}stopCurrentRecording(){if(!this.isRecording){xe.info("RRWebPlugin stopCurrentRecording called but not recording");return}xe.info("RRWebPlugin stopping current recording"),this.isRecording=!1,this.stopRecording&&(this.stopRecording(),this.stopRecording=null,xe.info("RRWebPlugin rrweb recording stopped")),this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null,xe.info("RRWebPlugin flush timer cleared")),this.flush()}handleRRWebEvent(t){this.isRecording&&(this.recordingEvents.push(t),this.recordingEvents.length>=this.config.batchSize&&(xe.info("RRWebPlugin flushing events due to batch size",{eventCount:this.recordingEvents.length,batchSize:this.config.batchSize}),this.flush()))}flush(){if(this.recordingEvents.length===0){xe.info("RRWebPlugin flushEvent called but no events to flush");return}xe.info("RRWebPlugin flushing events",{eventCount:this.recordingEvents.length});const t=[...this.recordingEvents],n={version:"1.0.0",events:t,eventCount:t.length};this.context.record(jD,n),xe.info("RRWebPlugin events sent to RUM",{eventType:jD,eventCount:this.recordingEvents.length}),this.recordingEvents=[]}}var nIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},J_;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(J_||(J_={}));const cV="us-west-2",ek=`https://dataplane.rum.${cV}.amazonaws.com`,uV=()=>({unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}),dV=e=>({allowCookies:!1,batchLimit:100,client:kxe,compressionStrategy:{enabled:!0},cookieAttributes:e,debug:!1,disableAutoPageView:!1,dispatchInterval:5*1e3,enableRumClient:!0,enableXRay:!1,endpoint:ek,endpointUrl:new URL(ek),eventCacheSize:1e3,eventPluginsToLoad:[],pageIdFormat:J_.Path,pagesToExclude:[],pagesToInclude:[/.*/],signing:!1,recordResourceUrl:!0,retries:2,routeChangeComplete:100,routeChangeTimeout:1e4,sessionAttributes:{},sessionEventLimit:200,sessionLengthSeconds:1800,sessionSampleRate:1,suppressSessionStartEvent:!1,useBeacon:!0,userIdRetentionDays:30,enableW3CTraceId:!1,candidatesCacheSize:10});let rIe=class{constructor(t,n,r,a={}){var{cookieAttributes:s}=a,i=nIe(a,["cookieAttributes"]);this.eventBus=new tH,typeof r>"u"&&(r="us-west-2"),this.applicationId=t;const c=Object.assign(Object.assign({},uV()),s);this.config=Object.assign(Object.assign({fetchFunction:fetch},dV(c)),i),this.config.sessionId&&(this.config.suppressSessionStartEvent=!0),this.config.endpoint=i.endpoint?i.endpoint:ek.replace(cV,r),this.config.endpointUrl=new URL(this.config.endpoint),xe.configure(this.config.debug),xe.info("Initialized RUM Slim"),this.eventCache=new U2e({id:t,version:n},this.config,this.eventBus),this.dispatchManager=this.initDispatch(r,t),this.pluginManager=this.initPluginManager(t,n),this.eventCache.setPluginFlushHook(()=>this.pluginManager.flush()),this.config.enableRumClient?this.enable():this.disable()}setAwsCredentials(t){this.dispatchManager.setAwsCredentials(t)}setSigningConfigFactory(t){this.dispatchManager.setSigningConfigFactory(t)}addSessionAttributes(t){this.eventCache.addSessionAttributes(t)}getSessionId(){return this.eventCache.getSessionId()}pinSessionId(t){this.eventCache.pinSessionId(t)}startSession(t){return this.eventCache.startSession(t)}getUserId(){return this.eventCache.getUserId()}pinUserId(t){this.eventCache.pinUserId(t)}setEventMetadataHook(t){this.eventCache.setEventMetadataHook(t)}clearEventMetadataHook(){this.eventCache.clearEventMetadataHook()}addPlugin(t){this.pluginManager.addPlugin(t)}dispatch(){this.dispatchManager.dispatchFetch()}dispatchBeacon(){this.dispatchManager.dispatchBeacon()}enable(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()}disable(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()}allowCookies(t){this.config.allowCookies=t}clearCookies(){const t=this.config.cookieAttributes;[F1,$1,Ad,`${F1}_${this.applicationId}`,`${$1}_${this.applicationId}`,`${Ad}_${this.applicationId}`].forEach(r=>T2e(r,t))}recordPageView(t){this.eventCache.recordPageView(t)}recordError(t){this.pluginManager.record("com.amazonaws.rum.js-error",t)}registerDomEvents(t){this.pluginManager.updatePlugin("com.amazonaws.rum.dom-event",t)}recordEvent(t,n,r){this.eventCache.recordEvent(t,n,r)}initDispatch(t,n){return new Axe(n,t,this.config.endpointUrl,this.eventCache,this.config)}initPluginManager(t,n){const r={applicationId:t,applicationVersion:n,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus},a=new I2e(r);return this.config.disableAutoPageView||a.addPlugin(new tCe),this.config.eventPluginsToLoad.forEach(s=>{a.addPlugin(s)}),a}};var ls;(function(e){e.Errors="errors",e.Performance="performance",e.Interaction="interaction",e.Http="http",e.Replay="replay"})(ls||(ls={}));var tL;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(tL||(tL={}));const aIe=e=>Object.assign(Object.assign({},dV(e)),{signing:!0,telemetries:[ls.Errors,ls.Performance,ls.Http,ls.Replay]});class sIe extends rIe{constructor(t,n,r,a={}){super(t,n,r,Object.assign(Object.assign({},aIe(uV())),a)),xe.info(`RUM client initialized for app: ${t}`),xe.info(`Telemetries enabled: ${this.config.telemetries.join(", ")||"none"}`)}initDispatch(t,n){const r=super.initDispatch(t,n);return r.setSigningConfigFactory(n2e),r.setCognitoCredentialProviderFactory((a,s,i,c)=>{const u={identityPoolId:i,guestRoleArn:c,cookieAttributes:a.cookieAttributes};return i&&c?new y2e(u,s).ChainAnonymousCredentialsProvider:new b2e(u,s).ChainAnonymousCredentialsProvider}),this.config.signing&&this.config.identityPoolId&&r.setCognitoCredentials(this.config.identityPoolId,this.config.guestRoleArn),r}initPluginManager(t,n){const r=super.initPluginManager(t,n);return this.constructBuiltinPlugins().forEach(s=>{r.addPlugin(s)}),r}recordError(t){this.pluginManager.record(aH,t)}registerDomEvents(t){this.pluginManager.updatePlugin(nH,t)}constructBuiltinPlugins(){let t=[];const n=this.telemetryFunctor();return this.config.telemetries.forEach(r=>{typeof r=="string"&&n[r.toLowerCase()]?t=[...t,...n[r.toLowerCase()]({})]:Array.isArray(r)&&n[r[0].toLowerCase()]&&(t=[...t,...n[r[0].toLowerCase()](r[1])])}),t}telemetryFunctor(){return{[ls.Errors]:t=>[new K2e(t)],[ls.Performance]:t=>[new X2e(t),new rCe(t),new CCe(t)],[ls.Interaction]:t=>[new RI(t)],[ls.Http]:t=>[new ICe(t),new _Ce(t)],[ls.Replay]:t=>[new tIe(t)]}}}const fV={recordPageView:()=>{},recordError:()=>{},recordEvent:()=>{},recordTiming:()=>{}},oIe=/([?&](token|access_token|id_token|authorization)=[^&]*)|\/messages\/[a-z0-9_-]+/gi;function hV(e){return e.replace(oIe,"[redacted]")}function iIe(e){const t=e.indexOf("?"),n=e.indexOf("#"),r=t===-1&&n===-1?e.length:t===-1?n:n===-1?t:Math.min(t,n);return hV(e.slice(0,r))}function lIe(e){const t=hV(e.message);if(t===e.message)return e;const n=new Error(t);return n.name=e.name,n.stack=e.stack,n}function cIe(e){return{recordPageView(t){e.recordPageView(iIe(t))},recordError(t,n){e.recordError(lIe(t)),n&&e.recordEvent("telemetry.error_context",n)},recordEvent(t,n){e.recordEvent(t,n??{})},recordTiming(t,n,r){e.recordEvent("telemetry.timing",{...r,name:t,durationMs:String(n)})}}}function nL(e){return e instanceof Error?e:new Error(String(e))}function uIe(e){window.addEventListener("error",t=>{e.recordError(nL(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{e.recordError(nL(t.reason))})}function dIe(){const{appMonitorId:e,identityPoolId:t,region:n}=Yd().rum;if(!e)return fV;const r=new sIe(e,"1.0.0",n,{sessionSampleRate:1,identityPoolId:t,endpoint:`https://dataplane.rum.${n}.amazonaws.com`,telemetries:["performance"],disableAutoPageView:!0,allowCookies:!1,enableXRay:!1}),a=cIe(r);return uIe(a),a}const fIe="remit.stale-build-reload:",hIe=({reload:e,guard:t,commit:n})=>{if(t===null)return!1;const r=`${fIe}${n}`;return t.getItem(r)!==null?!1:(t.setItem(r,String(Date.now())),e(),!0)},pIe=()=>{window.addEventListener("vite:preloadError",e=>{hIe({reload:()=>window.location.reload(),guard:Hk(),commit:Hv})&&e.preventDefault()})},pV=_.createContext(fV);function l7e(){return _.useContext(pV)}const tk="remit.theme",mIe="dark";function rL(){return typeof localStorage>"u"?"system":localStorage.getItem(tk)??"system"}function nk(e){if(typeof document>"u")return;const t=e==="dark"||e==="system"&&typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle(mIe,t)}function c7e(e){typeof localStorage<"u"&&(e==="system"?localStorage.removeItem(tk):localStorage.setItem(tk,e)),nk(e)}const gIe=()=>{if(typeof window>"u"||(nk(rL()),typeof window.matchMedia!="function"))return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{nk(rL())};typeof e.addEventListener=="function"?e.addEventListener("change",t):e.addListener(t)},vIe=e=>e==="true"||e==="false"||e==="null"||/^["[{]/.test(e)||e!==""&&Number.isFinite(Number(e));function aL(e){return typeof e=="object"&&e!==null?JSON.stringify(e):typeof e=="string"?vIe(e)?JSON.stringify(e):e:String(e)}function yIe(e){const t=new URLSearchParams;for(const r of Object.keys(e)){const a=e[r];if(a!==void 0){if(Array.isArray(a)){for(const s of a)t.append(r,aL(s));continue}t.set(r,aL(a))}}const n=t.toString();return n===""?"":`?${n}`}const bIe=(e,t,n,r)=>{const a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);dc(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},sL={},rk=(e,t,n,r)=>{dc(n)&&sL[n]||(dc(n)&&(sL[n]=new Date),bIe(e,t,n,r))},mV=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ak=(e,t,n)=>{e.loadNamespaces(t,mV(e,n))},oL=(e,t,n,r)=>{if(dc(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ak(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,mV(e,r))},SIe=(e,t,n={})=>!t.languages||!t.languages.length?(rk(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),dc=e=>typeof e=="string",wIe=e=>typeof e=="object"&&e!==null,xIe=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,CIe={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},EIe=e=>CIe[e],_Ie=e=>e.replace(xIe,EIe);let sk={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:_Ie};const kIe=(e={})=>{sk={...sk,...e}},AIe=()=>sk;let gV;const IIe=e=>{gV=e},TIe=()=>gV,RIe={type:"3rdParty",init(e){kIe(e.options.react),IIe(e)}},OIe=_.createContext();class NIe{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const MIe=(e,t)=>{const n=_.useRef();return _.useEffect(()=>{n.current=e},[e,t]),n.current},vV=(e,t,n,r)=>e.getFixedT(t,n,r),PIe=(e,t,n,r)=>_.useCallback(vV(e,t,n,r),[e,t,n,r]),yV=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:a}=_.useContext(OIe)||{},s=n||r||TIe();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new NIe),!s){rk(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const R=(O,T)=>dc(T)?T:wIe(T)&&dc(T.defaultValue)?T.defaultValue:Array.isArray(O)?O[O.length-1]:O,P=[R,{},!1];return P.t=R,P.i18n={},P.ready=!1,P}s.options.react?.wait&&rk(s,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...AIe(),...s.options.react,...t},{useSuspense:c,keyPrefix:u}=i;let f=e||a||s.options?.defaultNS;f=dc(f)?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces?.(f);const h=(s.isInitialized||s.initializedStoreOnce)&&f.every(R=>SIe(R,s,i)),m=PIe(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),g=()=>m,y=()=>vV(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),[w,b]=_.useState(g);let x=f.join();t.lng&&(x=`${t.lng}${x}`);const E=MIe(x),k=_.useRef(!0);_.useEffect(()=>{const{bindI18n:R,bindI18nStore:P}=i;k.current=!0,!h&&!c&&(t.lng?oL(s,t.lng,f,()=>{k.current&&b(y)}):ak(s,f,()=>{k.current&&b(y)})),h&&E&&E!==x&&k.current&&b(y);const O=()=>{k.current&&b(y)};return R&&s?.on(R,O),P&&s?.store.on(P,O),()=>{k.current=!1,s&&R&&R?.split(" ").forEach(T=>s.off(T,O)),P&&s&&P.split(" ").forEach(T=>s.store.off(T,O))}},[s,x]),_.useEffect(()=>{k.current&&h&&b(g)},[s,u,h]);const A=[w,s,h];if(A.t=w,A.i18n=s,A.ready=h,h||!h&&!c)return A;throw new Promise(R=>{t.lng?oL(s,t.lng,f,()=>R()):ak(s,f,()=>R())})},DIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts",...e,headers:{"Content-Type":"application/json",...e.headers}}),LIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/oauth/microsoft/start",...e,headers:{"Content-Type":"application/json",...e.headers}}),UIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/test-connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),zIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e}),jIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),FIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e}),$Ie=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e,headers:{"Content-Type":"application/json",...e.headers}}),BIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e}),HIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qIe=e=>(e.client??Ce).put({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/folder-roles/{role}",...e,headers:{"Content-Type":"application/json",...e.headers}}),VIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e}),WIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),GIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e}),KIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),YIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e}),ZIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e,headers:{"Content-Type":"application/json",...e.headers}}),u7e=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e}),XIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),QIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize",...e,headers:{"Content-Type":"application/json",...e.headers}}),JIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),eTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/{organizeJobId}",...e}),tTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync",...e}),nTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync/status",...e}),rTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/trash/empty",...e}),aTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/search",...e}),sTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/{addressId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),oTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e}),iTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e,headers:{"Content-Type":"application/json",...e.headers}}),lTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),cTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),uTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),dTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-free-busy",...e}),fTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions",...e}),hTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/accept",...e,headers:{"Content-Type":"application/json",...e.headers}}),pTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/decline",...e}),mTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/dismiss",...e,headers:{"Content-Type":"application/json",...e.headers}}),gTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/reopen",...e}),vTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e}),yTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e,headers:{"Content-Type":"application/json",...e.headers}}),bTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}",...e}),STe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),wTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),xTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),CTe=e=>(e.client??Ce).put({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),ETe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config",...e}),_Te=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config/export",...e}),kTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/config/import",...e,headers:{"Content-Type":"application/json",...e.headers}}),d7e=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads",...e}),ATe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads/search",...e}),ITe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/me",...e,headers:{"Content-Type":"application/json",...e.headers}}),TTe=e=>(e?.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/me/export",...e}),RTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/quarantine",...e}),OTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/vip-suggestions",...e}),NTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),MTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),PTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),DTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/move",...e,headers:{"Content-Type":"application/json",...e.headers}}),f7e=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/not-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),h7e=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/report-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),LTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}",...e}),UTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/calendar-suggestions",...e}),zTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),jTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/raw",...e}),FTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e}),$Te=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e,headers:{"Content-Type":"application/json",...e.headers}}),BTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),HTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),qTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),VTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/attachments",...e,headers:{"Content-Type":"application/json",...e.headers}}),WTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/attachments/{outboxAttachmentId}/complete",...e}),GTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/send",...e}),bV=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e}),KTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e,headers:{"Content-Type":"application/json",...e.headers}}),YTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads",...e}),ZTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads/{threadId}/messages",...e}),p7e=e=>({mutationFn:async n=>{const{data:r}=await DIe({...e,...n,throwOnError:!0});return r}}),en=(e,t,n,r)=>{const a={_id:e,baseUrl:t?.baseUrl||(t?.client??Ce).getConfig().baseUrl};return t?.body&&(a.body=t.body),t?.headers&&(a.headers=t.headers),t?.path&&(a.path=t.path),t?.query&&(a.query=t.query),[a]},m7e=e=>({mutationFn:async n=>{const{data:r}=await LIe({...e,...n,throwOnError:!0});return r}}),g7e=e=>({mutationFn:async n=>{const{data:r}=await UIe({...e,...n,throwOnError:!0});return r}}),v7e=e=>({mutationFn:async n=>{const{data:r}=await zIe({...e,...n,throwOnError:!0});return r}}),y7e=e=>({mutationFn:async n=>{const{data:r}=await jIe({...e,...n,throwOnError:!0});return r}}),XTe=e=>en("filterOperationsListFilters",e),b7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:XTe(e)}),S7e=e=>({mutationFn:async n=>{const{data:r}=await $Ie({...e,...n,throwOnError:!0});return r}}),w7e=e=>({mutationFn:async n=>{const{data:r}=await BIe({...e,...n,throwOnError:!0});return r}}),x7e=e=>en("filterDetailOperationsGetFilter",e),C7e=e=>({mutationFn:async n=>{const{data:r}=await HIe({...e,...n,throwOnError:!0});return r}}),QTe=e=>({mutationFn:async n=>{const{data:r}=await qIe({...e,...n,throwOnError:!0});return r}}),JTe=e=>en("labelOperationsListLabels",e),E7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await VIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:JTe(e)}),_7e=e=>({mutationFn:async n=>{const{data:r}=await WIe({...e,...n,throwOnError:!0});return r}}),k7e=e=>({mutationFn:async n=>{const{data:r}=await GIe({...e,...n,throwOnError:!0});return r}}),A7e=e=>({mutationFn:async n=>{const{data:r}=await KIe({...e,...n,throwOnError:!0});return r}}),uT=e=>en("mailboxOperationsListMailboxes",e),ok=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await YIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:uT(e)}),eRe=e=>({mutationFn:async n=>{const{data:r}=await ZIe({...e,...n,throwOnError:!0});return r}}),I7e=e=>({mutationFn:async n=>{const{data:r}=await XIe({...e,...n,throwOnError:!0});return r}}),T7e=e=>({mutationFn:async n=>{const{data:r}=await QIe({...e,...n,throwOnError:!0});return r}}),R7e=e=>({mutationFn:async n=>{const{data:r}=await JIe({...e,...n,throwOnError:!0});return r}}),tRe=e=>en("organizeJobDetailOperationsGetOrganizeJob",e),O7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await eTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:tRe(e)}),N7e=e=>({mutationFn:async n=>{const{data:r}=await tTe({...e,...n,throwOnError:!0});return r}}),nRe=e=>en("syncOperationsGetSyncStatus",e),M7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await nTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:nRe(e)}),P7e=e=>({mutationFn:async n=>{const{data:r}=await rTe({...e,...n,throwOnError:!0});return r}}),rRe=e=>en("addressOperationsSearchAddresses",e),D7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await aTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:rRe(e)}),L7e=e=>({mutationFn:async n=>{const{data:r}=await sTe({...e,...n,throwOnError:!0});return r}}),aRe=e=>en("calendarEventOperationsListCalendarEvents",e),U7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await oTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:aRe(e)}),z7e=e=>({mutationFn:async n=>{const{data:r}=await iTe({...e,...n,throwOnError:!0});return r}}),j7e=e=>({mutationFn:async n=>{const{data:r}=await lTe({...e,...n,throwOnError:!0});return r}}),sRe=e=>en("calendarEventDetailOperationsGetCalendarEvent",e),F7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await cTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:sRe(e)}),$7e=e=>({mutationFn:async n=>{const{data:r}=await uTe({...e,...n,throwOnError:!0});return r}}),oRe=e=>en("calendarFreeBusyOperationsListCalendarFreeBusy",e),B7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await dTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:oRe(e)}),iRe=e=>en("calendarSuggestionOperationsListCalendarSuggestions",e),H7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await fTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:iRe(e)}),q7e=e=>({mutationFn:async n=>{const{data:r}=await hTe({...e,...n,throwOnError:!0});return r}}),V7e=e=>({mutationFn:async n=>{const{data:r}=await pTe({...e,...n,throwOnError:!0});return r}}),W7e=e=>({mutationFn:async n=>{const{data:r}=await mTe({...e,...n,throwOnError:!0});return r}}),G7e=e=>({mutationFn:async n=>{const{data:r}=await gTe({...e,...n,throwOnError:!0});return r}}),lRe=e=>en("calendarOperationsListCalendars",e),K7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await vTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:lRe(e)}),Y7e=e=>({mutationFn:async n=>{const{data:r}=await yTe({...e,...n,throwOnError:!0});return r}}),Z7e=e=>({mutationFn:async n=>{const{data:r}=await bTe({...e,...n,throwOnError:!0});return r}}),X7e=e=>({mutationFn:async n=>{const{data:r}=await STe({...e,...n,throwOnError:!0});return r}}),Q7e=e=>({mutationFn:async n=>{const{data:r}=await wTe({...e,...n,throwOnError:!0});return r}}),cRe=e=>en("calendarDetailOperationsGetCalendarFeed",e),J7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await xTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:cRe(e)}),eDe=e=>({mutationFn:async n=>{const{data:r}=await CTe({...e,...n,throwOnError:!0});return r}}),SV=e=>en("configOperationsGetConfig",e),dT=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ETe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:SV(e)}),uRe=e=>en("configOperationsExportConfig",e),tDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await _Te({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:uRe(e)}),nDe=e=>({mutationFn:async n=>{const{data:r}=await kTe({...e,...n,throwOnError:!0});return r}}),dRe=e=>en("threadOperationsListThreads",e),wV=e=>en("threadOperationsSearchThreads",e),rDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ATe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:wV(e)}),aDe=e=>({mutationFn:async n=>{const{data:r}=await ITe({...e,...n,throwOnError:!0});return r}}),sDe=e=>({mutationFn:async n=>{const{data:r}=await TTe({...e,...n,throwOnError:!0});return r}}),fRe=e=>en("meOperationsListQuarantine",e),hRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await RTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:fRe(e)}),pRe=e=>en("meOperationsListVipSuggestions",e),oDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await OTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:pRe(e)}),iDe=e=>({mutationFn:async n=>{const{data:r}=await NTe({...e,...n,throwOnError:!0});return r}}),lDe=e=>({mutationFn:async n=>{const{data:r}=await MTe({...e,...n,throwOnError:!0});return r}}),cDe=e=>({mutationFn:async n=>{const{data:r}=await PTe({...e,...n,throwOnError:!0});return r}}),uDe=e=>({mutationFn:async n=>{const{data:r}=await DTe({...e,...n,throwOnError:!0});return r}}),mRe=e=>en("messageOperationsDescribeMessage",e),dDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await LTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:mRe(e)}),gRe=e=>en("messageCalendarSuggestionOperationsListMessageCalendarSuggestions",e),fDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await UTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:gRe(e)}),hDe=e=>({mutationFn:async n=>{const{data:r}=await zTe({...e,...n,throwOnError:!0});return r}}),vRe=e=>en("messageOperationsGetRawMessage",e),pDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await jTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:vRe(e)}),xV=e=>en("outboxOperationsListOutboxMessages",e),mDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:xV(e)}),gDe=e=>({mutationFn:async n=>{const{data:r}=await $Te({...e,...n,throwOnError:!0});return r}}),vDe=e=>({mutationFn:async n=>{const{data:r}=await BTe({...e,...n,throwOnError:!0});return r}}),yRe=e=>en("outboxDetailOperationsGetOutboxMessage",e),bRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await HTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:yRe(e)}),yDe=e=>({mutationFn:async n=>{const{data:r}=await qTe({...e,...n,throwOnError:!0});return r}}),bDe=e=>({mutationFn:async n=>{const{data:r}=await VTe({...e,...n,throwOnError:!0});return r}}),SDe=e=>({mutationFn:async n=>{const{data:r}=await WTe({...e,...n,throwOnError:!0});return r}}),wDe=e=>({mutationFn:async n=>{const{data:r}=await GTe({...e,...n,throwOnError:!0});return r}}),ik=e=>en("systemOperationsGetSystemUpdate",e),SRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await bV({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:ik(e)}),wRe=e=>({mutationFn:async n=>{const{data:r}=await KTe({...e,...n,throwOnError:!0});return r}}),CV=e=>en("unifiedThreadOperationsListAllThreads",e),xRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await YTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:CV(e)}),CRe=e=>en("threadDetailOperationsListThreadMessages",e),xDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ZTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:CRe(e)}),EV=_.createContext(void 0),ERe=2e3,_Re=6e4,kRe=e=>e==="unfiled"||e==="failed"||e==="blocked",ARe=fA(404),iL=(e,t)=>kRe(e)||t!=null,IRe=({children:e})=>{const[t,n]=_.useState(),r=Lc(),{data:a,error:s}=_d({...bRe({path:{outboxMessageId:t??""}}),enabled:!!t,meta:ARe,retry:(g,y)=>!wle(y)&&g<1,refetchInterval:g=>iL(g.state.data?.status,g.state.error)?!1:ERe}),i=_.useCallback(()=>{n(void 0),r.invalidateQueries({queryKey:xV()})},[r]);_.useEffect(()=>{t&&iL(a?.status,s)&&i()},[a,s,t,i]),_.useEffect(()=>{if(!t)return;const g=setTimeout(i,_Re);return()=>clearTimeout(g)},[t,i]);const c=_.useCallback(g=>{n(g)},[]),u=_.useRef(new Map),f=_.useCallback((g,y)=>{const w=u.current.get(g);return w?(w(y),!0):!1},[]),h=_.useCallback((g,y)=>(u.current.set(g,y),()=>{u.current.get(g)===y&&u.current.delete(g)}),[]),m=_.useMemo(()=>({startSendPolling:c,insertIntoOpenReply:f,registerOpenReply:h}),[c,f,h]);return C.jsx(EV.Provider,{value:m,children:e})},CDe=()=>{const e=_.useContext(EV);if(!e)throw new Error("useCompose must be used within a ComposeProvider");return e},lL=5,TRe=(e,t,n)=>({title:e,detail:_V(n)??t,error:n}),_V=e=>{if(e!=null){if(e instanceof Error)return e.message||void 0;if(typeof e=="string")return e||void 0;if(typeof e=="object"&&"message"in e&&typeof e.message=="string")return e.message||void 0}},EDe=e=>cA(e)?.code==="message_gone_from_server",_De=e=>{const t=_V(e);return t?t.startsWith("Message not found"):!1},RRe=(e,t,n)=>e.severity===n&&e.title===t.title&&e.detail===t.detail,ORe=(e,t)=>{const r=[...e.filter(a=>!RRe(a,{title:t.title,detail:t.detail,severity:t.severity},t.severity)),t];return r.length<=lL?r:r.slice(r.length-lL)},NRe=(e,t)=>e.filter(n=>n.id!==t),MRe=(e,t,n)=>({id:t,severity:e.severity??"error",title:e.title,detail:e.detail,action:e.action,createdAt:n}),kV=_.createContext(void 0),PRe=e=>{if(e.action)return e.action;if((e.severity??"error")==="error")return{label:"Report an issue",href:hA(x1({title:`Bug: ${e.title}`,errorMessage:e.detail?`${e.title} — ${e.detail}`:e.title,stack:e.error instanceof Error?e.error.stack:void 0}))}},DRe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`banner-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,LRe=({children:e})=>{const[t,n]=_.useState([]),r=_.useCallback(c=>{if(c.error!=null&&Xj(c.error))return sl(c.error).correlationId;const u=MRe({...c,action:PRe(c)},DRe(),Date.now());return n(f=>ORe(f,u)),u.id},[]),a=_.useCallback(c=>{n(u=>NRe(u,c))},[]),s=_.useCallback(()=>{n([])},[]),i=_.useMemo(()=>({errors:t,pushError:r,dismissError:a,clearAll:s}),[t,r,a,s]);return C.jsxs(kV.Provider,{value:i,children:[e,C.jsx(Oae,{errors:t,onDismiss:a})]})},URe=()=>{const e=_.useContext(kV);if(!e)throw new Error("useErrorBanners must be used within an ErrorBannerProvider");return e},zRe={Inbox:"Inbox",Drafts:"Drafts",Sent:"Sent",Archive:"Archive",Junk:"Junk",Trash:"Trash",All:"All",Flagged:"Flagged"},kDe={Body:"Body"},ADe={Mail:"Mail",Calendar:"Calendar"},ju={Appointed:"Appointed",Flagged:"Flagged",Reserved:"Reserved",Proposed:"Proposed",Stale:"Stale",None:"None"},cL={synced:"synced",failed:"failed"},IDe={uncategorized:"uncategorized",personal:"personal",newsletter:"newsletter",marketing:"marketing",automated:"automated",transactional:"transactional",social:"social"},TDe={Lookalike:"Lookalike",ForeignAddress:"ForeignAddress",Unrelated:"Unrelated"},RDe={abandoned:"abandoned"},ODe={none:"none",move:"move",delete:"delete"},NDe={MoveToInbox:"MoveToInbox",MoveToJunk:"MoveToJunk"},MDe={Attachment:"attachment"},PDe={None:"None"},DDe={Retrying:"Retrying",GaveUp:"GaveUp"},jRe=new Set(["none","stale","unconfirmed"]),FRe=new Set(Object.values(zRe)),YE=(e,t)=>{const n=e?.[t];return typeof n=="string"?n:void 0},$Re=e=>{const t=cA(e);if(t?.code!=="folder_role_unresolved")return;const{details:n}=t;if(!n)return;const r=YE(n,"reason"),a=YE(n,"role"),s=YE(n,"accountId");if(!(!r||!jRe.has(r))&&!(!a||!FRe.has(a)||!s))return{reason:r,role:a,accountId:s}},BRe=e=>cA(e)?.code==="mailbox_not_settled";var Rt;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const s={};for(const i of a)s[i]=i;return s},e.getValidEnumValues=a=>{const s=e.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),i={};for(const c of s)i[c]=a[c];return e.objectValues(i)},e.objectValues=a=>e.objectKeys(a).map(function(s){return a[s]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&s.push(i);return s},e.find=(a,s)=>{for(const i of a)if(s(i))return i},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(s)}e.joinValues=r,e.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(Rt||(Rt={}));var uL;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(uL||(uL={}));const Oe=Rt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Vi=e=>{switch(typeof e){case"undefined":return Oe.undefined;case"string":return Oe.string;case"number":return Number.isNaN(e)?Oe.nan:Oe.number;case"boolean":return Oe.boolean;case"function":return Oe.function;case"bigint":return Oe.bigint;case"symbol":return Oe.symbol;case"object":return Array.isArray(e)?Oe.array:e===null?Oe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Oe.promise:typeof Map<"u"&&e instanceof Map?Oe.map:typeof Set<"u"&&e instanceof Set?Oe.set:typeof Date<"u"&&e instanceof Date?Oe.date:Oe.object;default:return Oe.unknown}},ye=Rt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Zo extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(s){return s.message},r={_errors:[]},a=s=>{for(const i of s.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let c=r,u=0;for(;u<i.path.length;){const f=i.path[u];u===i.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(n(i))):c[f]=c[f]||{_errors:[]},c=c[f],u++}}};return a(this),r}static assert(t){if(!(t instanceof Zo))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Rt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const s=a.path[0];n[s]=n[s]||[],n[s].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Zo.create=e=>new Zo(e);const lk=(e,t)=>{let n;switch(e.code){case ye.invalid_type:e.received===Oe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ye.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Rt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:n=`Unrecognized key(s) in object: ${Rt.joinValues(e.keys,", ")}`;break;case ye.invalid_union:n="Invalid input";break;case ye.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Rt.joinValues(e.options)}`;break;case ye.invalid_enum_value:n=`Invalid enum value. Expected ${Rt.joinValues(e.options)}, received '${e.received}'`;break;case ye.invalid_arguments:n="Invalid function arguments";break;case ye.invalid_return_type:n="Invalid function return type";break;case ye.invalid_date:n="Invalid date";break;case ye.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Rt.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ye.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ye.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ye.custom:n="Invalid input";break;case ye.invalid_intersection_types:n="Intersection results could not be merged";break;case ye.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ye.not_finite:n="Number must be finite";break;default:n=t.defaultError,Rt.assertNever(e)}return{message:n}};let HRe=lk;function qRe(){return HRe}const VRe=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,s=[...n,...a.path||[]],i={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const u=r.filter(f=>!!f).slice().reverse();for(const f of u)c=f(i,{data:t,defaultError:c}).message;return{...a,path:s,message:c}};function Ae(e,t){const n=qRe(),r=VRe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===lk?void 0:lk].filter(a=>!!a)});e.common.issues.push(r)}class zr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return Qe;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const s=await a.key,i=await a.value;r.push({key:s,value:i})}return zr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:s,value:i}=a;if(s.status==="aborted"||i.status==="aborted")return Qe;s.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),s.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(r[s.value]=i.value)}return{status:t.value,value:r}}}const Qe=Object.freeze({status:"aborted"}),jh=e=>({status:"dirty",value:e}),Wa=e=>({status:"valid",value:e}),dL=e=>e.status==="aborted",fL=e=>e.status==="dirty",Dd=e=>e.status==="valid",lv=e=>typeof Promise<"u"&&e instanceof Promise;var De;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(De||(De={}));class Gs{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const hL=(e,t)=>{if(Dd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Zo(e.common.issues);return this._error=n,this._error}}};function lt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(i,c)=>{const{message:u}=e;return i.code==="invalid_enum_value"?{message:u??c.defaultError}:typeof c.data>"u"?{message:u??r??c.defaultError}:i.code!=="invalid_type"?{message:c.defaultError}:{message:u??n??c.defaultError}},description:a}}class bt{get description(){return this._def.description}_getType(t){return Vi(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Vi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new zr,ctx:{common:t.parent.common,data:t.data,parsedType:Vi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(lv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)},a=this._parseSync({data:t,path:r.path,parent:r});return hL(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return Dd(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>Dd(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)},a=this._parse({data:t,path:r.path,parent:r}),s=await(lv(a)?a:Promise.resolve(a));return hL(r,s)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const i=t(a),c=()=>s.addIssue({code:ye.custom,...r(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(u=>u?!0:(c(),!1)):i?!0:(c(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new Ac({schema:this,typeName:Ze.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return nl.create(this,this._def)}nullable(){return zd.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Fs.create(this)}promise(){return hv.create(this,this._def)}or(t){return uv.create([this,t],this._def)}and(t){return dv.create(this,t,this._def)}transform(t){return new Ac({...lt(this._def),schema:this,typeName:Ze.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new fk({...lt(this._def),innerType:this,defaultValue:n,typeName:Ze.ZodDefault})}brand(){return new pOe({typeName:Ze.ZodBranded,type:this,...lt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new hk({...lt(this._def),innerType:this,catchValue:n,typeName:Ze.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return fT.create(this,t)}readonly(){return pk.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const WRe=/^c[^\s-]{8,}$/i,GRe=/^[0-9a-z]+$/,KRe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,YRe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,ZRe=/^[a-z0-9_-]{21}$/i,XRe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,QRe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,JRe=/^(?!\.)(?!.*\.\.)([A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fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,sOe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,oOe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,AV="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",iOe=new RegExp(`^${AV}$`);function IV(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function lOe(e){return new RegExp(`^${IV(e)}$`)}function cOe(e){let t=`${AV}T${IV(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function uOe(e,t){return!!((t==="v4"||!t)&&tOe.test(e)||(t==="v6"||!t)&&rOe.test(e))}function dOe(e,t){if(!XRe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function fOe(e,t){return!!((t==="v4"||!t)&&nOe.test(e)||(t==="v6"||!t)&&aOe.test(e))}class zs extends bt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Oe.string){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.string,received:s.parsedType}),Qe}const r=new zr;let a;for(const s of this._def.checks)if(s.kind==="min")t.data.length<s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")t.data.length>s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const i=t.data.length>s.value,c=t.data.length<s.value;(i||c)&&(a=this._getOrReturnCtx(t,a),i?Ae(a,{code:ye.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&&Ae(a,{code:ye.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")JRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"email",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")ZE||(ZE=new RegExp(eOe,"u")),ZE.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"emoji",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")YRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"uuid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")ZRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"nanoid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")WRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cuid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")GRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cuid2",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")KRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"ulid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Ae(a,{validation:"url",code:ye.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"regex",code:ye.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?t.data=t.data.trim():s.kind==="includes"?t.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?t.data=t.data.toLowerCase():s.kind==="toUpperCase"?t.data=t.data.toUpperCase():s.kind==="startsWith"?t.data.startsWith(s.value)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?t.data.endsWith(s.value)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?cOe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?iOe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?lOe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?QRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"duration",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?uOe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"ip",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?dOe(t.data,s.alg)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"jwt",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?fOe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cidr",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?sOe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"base64",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?oOe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"base64url",code:ye.invalid_string,message:s.message}),r.dirty()):Rt.assertNever(s);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ye.invalid_string,...De.errToObj(r)})}_addCheck(t){return new zs({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...De.errToObj(t)})}url(t){return this._addCheck({kind:"url",...De.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...De.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...De.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...De.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...De.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...De.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...De.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...De.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...De.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...De.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...De.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...De.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...De.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...De.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...De.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...De.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...De.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...De.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...De.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...De.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...De.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...De.errToObj(n)})}nonempty(t){return this.min(1,De.errToObj(t))}trim(){return new zs({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new zs({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new zs({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}zs.create=e=>new zs({checks:[],typeName:Ze.ZodString,coerce:e?.coerce??!1,...lt(e)});function hOe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,s=Number.parseInt(e.toFixed(a).replace(".","")),i=Number.parseInt(t.toFixed(a).replace(".",""));return s%i/10**a}class Ec extends bt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Oe.number){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.number,received:s.parsedType}),Qe}let r;const a=new zr;for(const s of this._def.checks)s.kind==="int"?Rt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?hOe(t.data,s.value)!==0&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_finite,message:s.message}),a.dirty()):Rt.assertNever(s);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,De.toString(n))}gt(t,n){return this.setLimit("min",t,!1,De.toString(n))}lte(t,n){return this.setLimit("max",t,!0,De.toString(n))}lt(t,n){return this.setLimit("max",t,!1,De.toString(n))}setLimit(t,n,r,a){return new Ec({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:De.toString(a)}]})}_addCheck(t){return new Ec({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:De.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:De.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:De.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:De.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:De.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:De.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:De.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:De.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:De.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Rt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}Ec.create=e=>new Ec({checks:[],typeName:Ze.ZodNumber,coerce:e?.coerce||!1,...lt(e)});class _c extends bt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Oe.bigint)return this._getInvalidInput(t);let r;const a=new zr;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?t.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):Rt.assertNever(s);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Ae(n,{code:ye.invalid_type,expected:Oe.bigint,received:n.parsedType}),Qe}gte(t,n){return this.setLimit("min",t,!0,De.toString(n))}gt(t,n){return this.setLimit("min",t,!1,De.toString(n))}lte(t,n){return this.setLimit("max",t,!0,De.toString(n))}lt(t,n){return this.setLimit("max",t,!1,De.toString(n))}setLimit(t,n,r,a){return new _c({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:De.toString(a)}]})}_addCheck(t){return new _c({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:De.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:De.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:De.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:De.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:De.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}_c.create=e=>new _c({checks:[],typeName:Ze.ZodBigInt,coerce:e?.coerce??!1,...lt(e)});class cv extends bt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Oe.boolean){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.boolean,received:r.parsedType}),Qe}return Wa(t.data)}}cv.create=e=>new cv({typeName:Ze.ZodBoolean,coerce:e?.coerce||!1,...lt(e)});class Ld extends bt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Oe.date){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.date,received:s.parsedType}),Qe}if(Number.isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_date}),Qe}const r=new zr;let a;for(const s of this._def.checks)s.kind==="min"?t.data.getTime()<s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?t.data.getTime()>s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):Rt.assertNever(s);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Ld({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:De.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:De.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Ld.create=e=>new Ld({checks:[],coerce:e?.coerce||!1,typeName:Ze.ZodDate,...lt(e)});class pL extends bt{_parse(t){if(this._getType(t)!==Oe.symbol){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.symbol,received:r.parsedType}),Qe}return Wa(t.data)}}pL.create=e=>new pL({typeName:Ze.ZodSymbol,...lt(e)});class mL extends bt{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.undefined,received:r.parsedType}),Qe}return Wa(t.data)}}mL.create=e=>new mL({typeName:Ze.ZodUndefined,...lt(e)});class gL extends bt{_parse(t){if(this._getType(t)!==Oe.null){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.null,received:r.parsedType}),Qe}return Wa(t.data)}}gL.create=e=>new gL({typeName:Ze.ZodNull,...lt(e)});class vL extends bt{constructor(){super(...arguments),this._any=!0}_parse(t){return Wa(t.data)}}vL.create=e=>new vL({typeName:Ze.ZodAny,...lt(e)});class ck extends bt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Wa(t.data)}}ck.create=e=>new ck({typeName:Ze.ZodUnknown,...lt(e)});class fl extends bt{_parse(t){const n=this._getOrReturnCtx(t);return Ae(n,{code:ye.invalid_type,expected:Oe.never,received:n.parsedType}),Qe}}fl.create=e=>new fl({typeName:Ze.ZodNever,...lt(e)});class yL extends bt{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.void,received:r.parsedType}),Qe}return Wa(t.data)}}yL.create=e=>new yL({typeName:Ze.ZodVoid,...lt(e)});class Fs extends bt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Oe.array)return Ae(n,{code:ye.invalid_type,expected:Oe.array,received:n.parsedType}),Qe;if(a.exactLength!==null){const i=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(i||c)&&(Ae(n,{code:i?ye.too_big:ye.too_small,minimum:c?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Ae(n,{code:ye.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Ae(n,{code:ye.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,c)=>a.type._parseAsync(new Gs(n,i,n.path,c)))).then(i=>zr.mergeArray(r,i));const s=[...n.data].map((i,c)=>a.type._parseSync(new Gs(n,i,n.path,c)));return zr.mergeArray(r,s)}get element(){return this._def.type}min(t,n){return new Fs({...this._def,minLength:{value:t,message:De.toString(n)}})}max(t,n){return new Fs({...this._def,maxLength:{value:t,message:De.toString(n)}})}length(t,n){return new Fs({...this._def,exactLength:{value:t,message:De.toString(n)}})}nonempty(t){return this.min(1,t)}}Fs.create=(e,t)=>new Fs({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ze.ZodArray,...lt(t)});function Qu(e){if(e instanceof Un){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=nl.create(Qu(r))}return new Un({...e._def,shape:()=>t})}else return e instanceof Fs?new Fs({...e._def,type:Qu(e.element)}):e instanceof nl?nl.create(Qu(e.unwrap())):e instanceof zd?zd.create(Qu(e.unwrap())):e instanceof kc?kc.create(e.items.map(t=>Qu(t))):e}class Un extends bt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Rt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Oe.object){const f=this._getOrReturnCtx(t);return Ae(f,{code:ye.invalid_type,expected:Oe.object,received:f.parsedType}),Qe}const{status:r,ctx:a}=this._processInputParams(t),{shape:s,keys:i}=this._getCached(),c=[];if(!(this._def.catchall instanceof fl&&this._def.unknownKeys==="strip"))for(const f in a.data)i.includes(f)||c.push(f);const u=[];for(const f of i){const h=s[f],m=a.data[f];u.push({key:{status:"valid",value:f},value:h._parse(new Gs(a,m,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof fl){const f=this._def.unknownKeys;if(f==="passthrough")for(const h of c)u.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(f==="strict")c.length>0&&(Ae(a,{code:ye.unrecognized_keys,keys:c}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const h of c){const m=a.data[h];u.push({key:{status:"valid",value:h},value:f._parse(new Gs(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const h of u){const m=await h.key,g=await h.value;f.push({key:m,value:g,alwaysSet:h.alwaysSet})}return f}).then(f=>zr.mergeObjectSync(r,f)):zr.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return De.errToObj,new Un({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:De.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Un({...this._def,unknownKeys:"strip"})}passthrough(){return new Un({...this._def,unknownKeys:"passthrough"})}extend(t){return new Un({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Un({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ze.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Un({...this._def,catchall:t})}pick(t){const n={};for(const r of Rt.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Un({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Rt.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Un({...this._def,shape:()=>n})}deepPartial(){return Qu(this)}partial(t){const n={};for(const r of Rt.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Un({...this._def,shape:()=>n})}required(t){const n={};for(const r of Rt.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof nl;)s=s._def.innerType;n[r]=s}return new Un({...this._def,shape:()=>n})}keyof(){return TV(Rt.objectKeys(this.shape))}}Un.create=(e,t)=>new Un({shape:()=>e,unknownKeys:"strip",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});Un.strictCreate=(e,t)=>new Un({shape:()=>e,unknownKeys:"strict",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});Un.lazycreate=(e,t)=>new Un({shape:e,unknownKeys:"strip",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});class uv extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const i=s.map(c=>new Zo(c.ctx.common.issues));return Ae(n,{code:ye.invalid_union,unionErrors:i}),Qe}if(n.common.async)return Promise.all(r.map(async s=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(a);{let s;const i=[];for(const u of r){const f={...n,common:{...n.common,issues:[]},parent:null},h=u._parseSync({data:n.data,path:n.path,parent:f});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:f}),f.common.issues.length&&i.push(f.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=i.map(u=>new Zo(u));return Ae(n,{code:ye.invalid_union,unionErrors:c}),Qe}}get options(){return this._def.options}}uv.create=(e,t)=>new uv({options:e,typeName:Ze.ZodUnion,...lt(t)});function uk(e,t){const n=Vi(e),r=Vi(t);if(e===t)return{valid:!0,data:e};if(n===Oe.object&&r===Oe.object){const a=Rt.objectKeys(t),s=Rt.objectKeys(e).filter(c=>a.indexOf(c)!==-1),i={...e,...t};for(const c of s){const u=uk(e[c],t[c]);if(!u.valid)return{valid:!1};i[c]=u.data}return{valid:!0,data:i}}else if(n===Oe.array&&r===Oe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let s=0;s<e.length;s++){const i=e[s],c=t[s],u=uk(i,c);if(!u.valid)return{valid:!1};a.push(u.data)}return{valid:!0,data:a}}else return n===Oe.date&&r===Oe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class dv extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(s,i)=>{if(dL(s)||dL(i))return Qe;const c=uk(s.value,i.value);return c.valid?((fL(s)||fL(i))&&n.dirty(),{status:n.value,value:c.data}):(Ae(r,{code:ye.invalid_intersection_types}),Qe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,i])=>a(s,i)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}dv.create=(e,t,n)=>new dv({left:e,right:t,typeName:Ze.ZodIntersection,...lt(n)});class kc extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.array)return Ae(r,{code:ye.invalid_type,expected:Oe.array,received:r.parsedType}),Qe;if(r.data.length<this._def.items.length)return Ae(r,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Qe;!this._def.rest&&r.data.length>this._def.items.length&&(Ae(r,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((i,c)=>{const u=this._def.items[c]||this._def.rest;return u?u._parse(new Gs(r,i,r.path,c)):null}).filter(i=>!!i);return r.common.async?Promise.all(s).then(i=>zr.mergeArray(n,i)):zr.mergeArray(n,s)}get items(){return this._def.items}rest(t){return new kc({...this._def,rest:t})}}kc.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new kc({items:e,typeName:Ze.ZodTuple,rest:null,...lt(t)})};class fv extends bt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.object)return Ae(r,{code:ye.invalid_type,expected:Oe.object,received:r.parsedType}),Qe;const a=[],s=this._def.keyType,i=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new Gs(r,c,r.path,c)),value:i._parse(new Gs(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?zr.mergeObjectAsync(n,a):zr.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof bt?new fv({keyType:t,valueType:n,typeName:Ze.ZodRecord,...lt(r)}):new fv({keyType:zs.create(),valueType:t,typeName:Ze.ZodRecord,...lt(n)})}}class bL extends bt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.map)return Ae(r,{code:ye.invalid_type,expected:Oe.map,received:r.parsedType}),Qe;const a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([c,u],f)=>({key:a._parse(new Gs(r,c,r.path,[f,"key"])),value:s._parse(new Gs(r,u,r.path,[f,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const u of i){const f=await u.key,h=await u.value;if(f.status==="aborted"||h.status==="aborted")return Qe;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const u of i){const f=u.key,h=u.value;if(f.status==="aborted"||h.status==="aborted")return Qe;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}}}}bL.create=(e,t,n)=>new bL({valueType:t,keyType:e,typeName:Ze.ZodMap,...lt(n)});class Pp extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.set)return Ae(r,{code:ye.invalid_type,expected:Oe.set,received:r.parsedType}),Qe;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Ae(r,{code:ye.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Ae(r,{code:ye.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function i(u){const f=new Set;for(const h of u){if(h.status==="aborted")return Qe;h.status==="dirty"&&n.dirty(),f.add(h.value)}return{status:n.value,value:f}}const c=[...r.data.values()].map((u,f)=>s._parse(new Gs(r,u,r.path,f)));return r.common.async?Promise.all(c).then(u=>i(u)):i(c)}min(t,n){return new Pp({...this._def,minSize:{value:t,message:De.toString(n)}})}max(t,n){return new Pp({...this._def,maxSize:{value:t,message:De.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Pp.create=(e,t)=>new Pp({valueType:e,minSize:null,maxSize:null,typeName:Ze.ZodSet,...lt(t)});class SL extends bt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}SL.create=(e,t)=>new SL({getter:e,typeName:Ze.ZodLazy,...lt(t)});class dk extends bt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Ae(n,{received:n.data,code:ye.invalid_literal,expected:this._def.value}),Qe}return{status:"valid",value:t.data}}get value(){return this._def.value}}dk.create=(e,t)=>new dk({value:e,typeName:Ze.ZodLiteral,...lt(t)});function TV(e,t){return new Ud({values:e,typeName:Ze.ZodEnum,...lt(t)})}class Ud extends bt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Ae(n,{expected:Rt.joinValues(r),received:n.parsedType,code:ye.invalid_type}),Qe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Ae(n,{received:n.data,code:ye.invalid_enum_value,options:r}),Qe}return Wa(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Ud.create(t,{...this._def,...n})}exclude(t,n=this._def){return Ud.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Ud.create=TV;class wL extends bt{_parse(t){const n=Rt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Oe.string&&r.parsedType!==Oe.number){const a=Rt.objectValues(n);return Ae(r,{expected:Rt.joinValues(a),received:r.parsedType,code:ye.invalid_type}),Qe}if(this._cache||(this._cache=new Set(Rt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=Rt.objectValues(n);return Ae(r,{received:r.data,code:ye.invalid_enum_value,options:a}),Qe}return Wa(t.data)}get enum(){return this._def.values}}wL.create=(e,t)=>new wL({values:e,typeName:Ze.ZodNativeEnum,...lt(t)});class hv extends bt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Oe.promise&&n.common.async===!1)return Ae(n,{code:ye.invalid_type,expected:Oe.promise,received:n.parsedType}),Qe;const r=n.parsedType===Oe.promise?n.data:Promise.resolve(n.data);return Wa(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}hv.create=(e,t)=>new hv({type:e,typeName:Ze.ZodPromise,...lt(t)});class Ac extends bt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ze.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,s={addIssue:i=>{Ae(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const i=a.transform(r.data,s);if(r.common.async)return Promise.resolve(i).then(async c=>{if(n.value==="aborted")return Qe;const u=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return u.status==="aborted"?Qe:u.status==="dirty"||n.value==="dirty"?jh(u.value):u});{if(n.value==="aborted")return Qe;const c=this._def.schema._parseSync({data:i,path:r.path,parent:r});return c.status==="aborted"?Qe:c.status==="dirty"||n.value==="dirty"?jh(c.value):c}}if(a.type==="refinement"){const i=c=>{const u=a.refinement(c,s);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Qe:(c.status==="dirty"&&n.dirty(),i(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Qe:(c.status==="dirty"&&n.dirty(),i(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Dd(i))return Qe;const c=a.transform(i.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>Dd(i)?Promise.resolve(a.transform(i.value,s)).then(c=>({status:n.value,value:c})):Qe);Rt.assertNever(a)}}Ac.create=(e,t,n)=>new Ac({schema:e,typeName:Ze.ZodEffects,effect:t,...lt(n)});Ac.createWithPreprocess=(e,t,n)=>new Ac({schema:t,effect:{type:"preprocess",transform:e},typeName:Ze.ZodEffects,...lt(n)});class nl extends bt{_parse(t){return this._getType(t)===Oe.undefined?Wa(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}nl.create=(e,t)=>new nl({innerType:e,typeName:Ze.ZodOptional,...lt(t)});class zd extends bt{_parse(t){return this._getType(t)===Oe.null?Wa(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}zd.create=(e,t)=>new zd({innerType:e,typeName:Ze.ZodNullable,...lt(t)});class fk extends bt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Oe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}fk.create=(e,t)=>new fk({innerType:e,typeName:Ze.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...lt(t)});class hk extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return lv(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Zo(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Zo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}hk.create=(e,t)=>new hk({innerType:e,typeName:Ze.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...lt(t)});class xL extends bt{_parse(t){if(this._getType(t)!==Oe.nan){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.nan,received:r.parsedType}),Qe}return{status:"valid",value:t.data}}}xL.create=e=>new xL({typeName:Ze.ZodNaN,...lt(e)});class pOe extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class fT extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Qe:s.status==="dirty"?(n.dirty(),jh(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Qe:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new fT({in:t,out:n,typeName:Ze.ZodPipeline})}}class pk extends bt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(Dd(a)&&(a.value=Object.freeze(a.value)),a);return lv(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}pk.create=(e,t)=>new pk({innerType:e,typeName:Ze.ZodReadonly,...lt(t)});var Ze;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ze||(Ze={}));const Dr=zs.create,mk=Ec.create;_c.create;const hT=cv.create;Ld.create;const RV=ck.create;fl.create;const OV=Fs.create,Va=Un.create;uv.create;dv.create;kc.create;const mOe=fv.create,Bc=dk.create,By=Ud.create;hv.create;nl.create;zd.create;const gOe=Ac.createWithPreprocess,LDe={string:(e=>zs.create({...e,coerce:!0})),number:(e=>Ec.create({...e,coerce:!0})),boolean:(e=>cv.create({...e,coerce:!0})),bigint:(e=>_c.create({...e,coerce:!0})),date:(e=>Ld.create({...e,coerce:!0}))};Va({kind:Bc("Boolean"),value:hT()});Va({kind:Bc("String"),value:Dr()});Va({kind:Bc("Number"),value:mk()});Va({kind:Bc("StringList"),value:OV(Dr())});Va({kind:Bc("Map"),value:mOe(Dr(),Dr())});Va({kind:Bc("MutedFlag"),value:Va({value:hT(),setAt:mk(),setBy:Dr().optional(),expiresAt:mk().optional(),reason:Dr().optional()})});const vOe=e=>e.hierarchyDelimiter.length===0?[e.fullPath]:e.fullPath.split(e.hierarchyDelimiter),Dp=e=>{const t=vOe(e);return t[t.length-1]||e.fullPath},yOe=(e,t)=>{switch(e.kind){case"appointed":case"flagged":return{allowed:!0,mailbox:e.mailbox};case"proposed":return t==="resolved"?{allowed:!0,mailbox:e.mailbox}:{allowed:!1,reason:"unconfirmed"};case"appointment_stale":return{allowed:!1,reason:"stale"};default:return{allowed:!1,reason:"none"}}},bOe=(e,t)=>yOe(e,t).allowed,SOe={[ju.Appointed]:{kind:"appointed",mailbox:null},[ju.Flagged]:{kind:"flagged",mailbox:null},[ju.Reserved]:{kind:"reserved",mailbox:null},[ju.Proposed]:{kind:"proposed",mailbox:null},[ju.Stale]:{kind:"appointment_stale",appointedMailboxId:"",fallback:{kind:"none"}},[ju.None]:{kind:"none"}},wOe=(e,t)=>bOe(SOe[e],t),pT=()=>typeof navigator<"u"&&(navigator.language||navigator.languages?.[0])||"en-US",Ks=(e,t)=>new Intl.NumberFormat(pT(),t).format(e),xOe=/^-?\d+$/,mT=e=>{if(e instanceof Date)return e;if(typeof e=="number")return new Date(e);if(typeof e=="string"){const t=e.trim();return xOe.test(t)?new Date(Number(t)):new Date(t)}return new Date(Number.NaN)},gT=e=>Number.isFinite(e.getTime()),Fh=(e,t)=>{const n=mT(e);return gT(n)?new Intl.DateTimeFormat(pT(),t).format(n):""},COe=(e,t)=>Fh(e,{short:{month:"short",day:"numeric"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"},time:{hour:"numeric",minute:"numeric"},datetime:{month:"short",day:"numeric",hour:"numeric",minute:"numeric"}}[t]),UDe=e=>{const t=mT(e);if(!gT(t))return"";const n=new Intl.RelativeTimeFormat(pT(),{numeric:"auto"}),r=Date.now(),a=t.getTime()-r,s=Math.round(a/1e3),i=Math.round(a/(1e3*60)),c=Math.round(a/(1e3*60*60)),u=Math.round(a/(1e3*60*60*24)),f=Math.round(a/(1e3*60*60*24*7));return Math.abs(s)<60?n.format(s,"second"):Math.abs(i)<60?n.format(i,"minute"):Math.abs(c)<24?n.format(c,"hour"):Math.abs(u)<7?n.format(u,"day"):Math.abs(f)<4?n.format(f,"week"):COe(t,"medium")},zDe=e=>{const t=mT(e);if(!gT(t))return"";const n=new Date,r=t.toDateString()===n.toDateString(),a=new Date(n);a.setDate(a.getDate()-1);const s=t.toDateString()===a.toDateString(),i=new Date(n);i.setDate(i.getDate()-6);const c=t>=i&&t<n,u=t.getFullYear()===n.getFullYear();return r?Fh(t,{hour:"numeric",minute:"numeric"}):s?"Yesterday":c?Fh(t,{weekday:"long"}):u?Fh(t,{month:"short",day:"numeric"}):Fh(t,{month:"short",day:"numeric",year:"numeric"})},EOe=e=>`Move ${e===1?"1":Ks(e)} ${e===1?"message":"messages"} to Trash?`,jDe=({targets:e,trashByAccount:t,hasAppointments:n,isError:r})=>{if(r)return"unavailable";if(!n||e.length===0)return"unknown";let a=!1,s=!1;for(const i of e){if(i.accountId===void 0)return"unknown";const c=t.get(i.accountId);if(c===void 0)return"unknown";if(c.source==="Stale")return"staleTrash";if(c.mailboxId===void 0)return"noTrash";c.mailboxId===i.mailboxId&&(a=!0,wOe(c.source,"confirmed")||(s=!0))}return s?"unconfirmed":a?"permanent":"trash"},_Oe=e=>e==="permanent"||e==="unconfirmed",FDe=(e,t,n={})=>{const r=e===1?"1":Ks(e),a=e===1?"message":"messages",{trashFolderLabel:s,staleFolderLabel:i}=n;if(t==="noTrash")return{title:`Can't delete ${r} ${a} yet`,description:"No folder on this account is set as Trash, so there is nowhere to move the mail. Nothing has been deleted.",confirmLabel:"Pick a Trash folder"};if(t==="staleTrash")return{title:`Can't delete ${r} ${a} yet`,description:i?`The folder you set as this account's Trash — ${i} — is gone from the mail server. Nothing has been deleted.`:"The folder you set as this account's Trash is gone from the mail server. Nothing has been deleted.",confirmLabel:"Pick another folder"};if(t==="unconfirmed"){const c=s?`reader files this account's deleted mail in ${s} because of its name — nobody confirmed it.`:"reader files this account's deleted mail in a folder it matched by name — nobody confirmed it.";return{title:"Confirm this account's Trash folder",description:e>0?`${c} Deleting ${r} ${a} there erases them from the mail server, and that cannot be restored. Nothing has been deleted.`:`${c} Emptying a folder erases everything in it from the mail server, and that cannot be restored. Nothing has been emptied.`,confirmLabel:"Confirm the folder"}}return t==="unavailable"?{title:`Can't delete ${r} ${a}`,description:"reader couldn't read this account's folder settings, so it can't say whether this would move the mail to Trash or erase it. Nothing has been deleted.",confirmLabel:"Sign in again"}:t==="unknown"?{title:`Delete ${r} ${a}?`,description:"Checking where this account files deleted mail…",confirmLabel:"Delete"}:t==="permanent"?{title:`Permanently delete ${r} ${a}?`,description:"They are erased from the mail server and cannot be restored.",confirmLabel:"Delete permanently"}:{title:EOe(e),description:"You can restore them from Trash later.",confirmLabel:"Move to Trash"}},kOe={delete:(e,t)=>`Deleting ${e} of ${t}…`,move:(e,t)=>`Moving ${e} of ${t}…`,markRead:(e,t)=>`Marking ${e} of ${t} as read…`},AOe={delete:"moved to Trash",move:"moved",markRead:"marked as read"},NV=(e,t)=>e==="delete"&&_Oe(t)?"permanently deleted":AOe[e],IOe={delete:"couldn't be deleted",move:"couldn't be moved",markRead:"couldn't be marked as read"},TOe={delete:"Couldn't delete these messages",move:"Couldn't move these messages",markRead:"Couldn't mark these messages as read"},ROe={delete:"The delete didn't finish.",move:"The move didn't finish.",markRead:"The update didn't finish."},$De=(e,t,n)=>kOe[e](Ks(t),Ks(n)),OOe=(e,t,n="trash")=>`${Ks(t)} ${NV(e,n)}. Your mail server is still catching up.`,NOe=e=>`Stopped after ${Ks(e)}`,MOe=(e,t,n,r="trash")=>`${Ks(t)} of ${Ks(n)} ${NV(e,r)}. The rest were not sent, apart from the ones already on their way when you stopped — those may still have gone through.`,CL=(e,t)=>t>0?`Stopped after ${Ks(t)} — some messages ${IOe[e]}`:TOe[e],POe=e=>ROe[e],DOe={delete:e=>`A delete of ${e} messages`,move:e=>`A move of ${e} messages`,markRead:e=>`Marking ${e} messages as read`},LOe=(e,t,n)=>`${DOe[e](Ks(t))}${n?` in ${n}`:""} is still running — stop it first.`,BDe=e=>e==="delete"?"danger":"info",HDe=(e,t,n,r)=>n.error!==void 0?null:n.cancelled?{severity:"warning",title:NOe(n.done),detail:MOe(e,n.done,t,r)}:{severity:"info",title:OOe(e,n.done,r)},MV=100,UOe=(e,t)=>e.kind==="move"?[t,e.destinationMailboxId]:[t],zOe=new AbortController().signal,gk=async e=>e.then(t=>({ok:!0,value:t}),t=>({ok:!1,error:t})),jOe=(e,t=MV)=>{if(e.length===0)return[];const n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n},FOe=(e,t=MV)=>{const n=new Map;for(const r of e){const a=n.get(r.accountId);if(a){a.push(r.id);continue}n.set(r.accountId,[r.id])}return[...n.values()].flatMap(r=>jOe(r,t))},PV=async(e,t,n,r)=>{const a=FOe(e),s=e.length;let i=0,c=0;const u=[];for(let f=0;f<a.length;f++){if(r.aborted)return u.push(...a.slice(f).flat()),{done:i,failedIds:u,refused:c,cancelled:!0};const h=a[f],m=await gk(t(h,r));if(!m.ok)return u.push(...a.slice(f).flat()),r.aborted?{done:i,failedIds:u,refused:c,cancelled:!0}:(n({done:i,total:s}),{done:i,failedIds:u,refused:c,cancelled:!1,error:m.error});c+=m.value?.failureCount??0,i+=h.length,n({done:i,total:s})}return{done:i,failedIds:u,refused:c,cancelled:!1}},qDe=async(e,t)=>{await PV(e.map(n=>({id:n,accountId:void 0})),async n=>(await t(n),{successCount:n.length,failureCount:0}),()=>{},zOe)},$Oe=async(e,t,n,r,a)=>{let s=0,i=0;const c=[];let u;do{if(a.aborted)return{done:s,failedIds:c,refused:i,cancelled:!0};const f=await gk(e(u,a));if(!f.ok)return a.aborted?{done:s,failedIds:c,refused:i,cancelled:!0}:{done:s,failedIds:c,refused:i,cancelled:!1,error:f.error};const h=f.value;if(h.ids.length>0){const m=await gk(n(h.ids,a));if(!m.ok)return a.aborted?{done:s,failedIds:c,refused:i,cancelled:!0}:{done:s,failedIds:c,refused:i,cancelled:!1,error:m.error};i+=m.value?.failureCount??0,s+=h.ids.length,r({done:s,total:t})}u=h.continuationToken}while(u);return{done:s,failedIds:c,refused:i,cancelled:!1}},BOe=e=>({done:e.done,total:Math.max(e.total,e.done)}),HOe=e=>typeof e=="object"&&e!==null&&Array.isArray(e.pages),qOe=e=>typeof e=="object"&&e!==null&&Array.isArray(e.items),VOe=(e,t)=>e===void 0?e:HOe(e)?{...e,pages:e.pages.map(n=>({...n,items:t(n.items)}))}:qOe(e)?{...e,items:t(e.items)}:e,WOe=e=>{const t=[];for(const n of new Set(e))t.push(dRe({path:{mailboxId:n}})),t.push(wV({path:{mailboxId:n}}));return t.push(CV()),t},VDe=(e,t)=>Promise.all(t.map(n=>e.cancelQueries({queryKey:n}))),WDe=(e,t)=>t.flatMap(n=>e.getQueriesData({queryKey:n})).filter(n=>n[1]!==void 0).map(([n,r])=>({queryKey:n,data:r})),GDe=(e,t,n)=>{const r=a=>VOe(a,n);for(const a of t)e.setQueriesData({queryKey:a},r)},KDe=(e,t)=>{for(const n of t)e.setQueryData(n.queryKey,n.data)},GOe=(e,t)=>{for(const n of t)e.invalidateQueries({queryKey:n})},KOe=3e4,YOe=1e3,ZOe="The folder couldn't be created on the mail server. Please try again.",XOe="The folder was created but the mail server hasn't confirmed it yet, so nothing was attached to it. It's in your folder list — try again in a moment.",QOe=(e,t)=>new Promise((n,r)=>{if(t?.aborted){r(t.reason);return}const a=setTimeout(()=>{t?.removeEventListener("abort",s),n()},e),s=()=>{clearTimeout(a),r(t?.reason)};t?.addEventListener("abort",s,{once:!0})});async function JOe({fetchMailboxes:e,mailboxId:t,signal:n,timeoutMs:r=KOe,pollIntervalMs:a=YOe,delay:s=QOe,now:i=Date.now}){const c=i()+r;for(;;){n?.throwIfAborted();const f=(await e()).find(h=>h.mailboxId===t);if(f?.syncStatus===cL.synced)return f;if(f?.syncStatus===cL.failed)throw new Error(ZOe);if(i()>=c)throw new Error(XOe);await s(a,n)}}function DV(e,t){const n=e.trim();return t?`${t.fullPath}${t.hierarchyDelimiter}${n}`:n}const EL=(e,t)=>{const n=t.length===0?[e]:e.split(t);return n[0]?.toLowerCase()==="inbox"&&(n[0]="INBOX"),n.join(t)};function e4e({name:e,delimiter:t,parent:n,existingPaths:r}){const a=e.trim();if(a==="")return"Enter a folder name.";if(t.length>0&&a.includes(t))return`A folder name can't contain "${t}".`;const s=EL(DV(a,n),t);if(r.some(c=>EL(c,t)===s))return"A folder with that name already exists."}function t4e(e){const t=Lc(),{data:n}=_d({...ok({path:{accountId:e??""}}),enabled:!!e}),r=pI({...eRe(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:uT({path:{accountId:e}})})}}),a=_.useRef(new Map),s=_.useCallback(async(c,u,f)=>{if(!e)throw new Error("No account to create the folder in. Pick messages from a single account first.");const h=n?.items??[],m=u?h.find(x=>x.fullPath===u):void 0;if(u&&!m)throw new Error(`Couldn't find the folder "${u}" to create this one inside.`);const g=m?{fullPath:m.fullPath,hierarchyDelimiter:m.hierarchyDelimiter}:void 0,y=DV(c,g);let w=a.current.get(y);if(!w){const x=g?.hierarchyDelimiter??h[0]?.hierarchyDelimiter??"/",E=e4e({name:c,delimiter:x,parent:g,existingPaths:h.map(A=>A.fullPath)});if(E)throw new Error(E);w=(await r.mutateAsync({path:{accountId:e},body:{fullPath:y,namespaceType:"personal"}})).mailboxId,a.current.set(y,w)}const b=await JOe({mailboxId:w,signal:f,fetchMailboxes:async()=>(await t.fetchQuery({...ok({path:{accountId:e}}),staleTime:0})).items??[]});return a.current.delete(y),{id:b.mailboxId,label:Dp(b),path:b.fullPath}},[r,e,n,t]);return{createFolder:_.useCallback((c,u)=>s(c,"",u),[s]),createFolderIn:s,mutation:r}}const n4e=()=>{const{t:e}=yV("mail",{useSuspense:!1});return _.useCallback((t,n)=>e(t,{defaultValue:n}),[e])},XE={Inbox:"inbox",Drafts:"drafts",Sent:"sent",Archive:"archive",Junk:"junk",Trash:"trash",All:"all",Flagged:"flagged"},YDe={inbox:"Inbox",drafts:"Drafts",sent:"Sent",archive:"Archive",junk:"Junk",trash:"Trash",all:"All",flagged:"Flagged"},Lp=["inbox","flagged","drafts","sent","archive","all","junk","trash"];function Hy(e){const t=new Map,n=[...e].sort((r,a)=>Lp.indexOf(XE[r.role])-Lp.indexOf(XE[a.role]));for(const r of n){if(!r.mailboxId||t.has(r.mailboxId))continue;const a=XE[r.role];a&&t.set(r.mailboxId,a)}return t}function LV(e,t,n){const r=e.displayNameOverride?.trim();if(r)return r;const a=Dp(e);return!t||!n?a:n(`sidebar.${t}`,a)}const r4e=new Set(["sent","drafts","trash"]),ZDe=e=>e===void 0||!r4e.has(e),XDe=100,a4e=e=>e.trim().toLowerCase()==="inbox",s4e=(e,t)=>{if(e.hierarchyDelimiter.length===0)return!1;const n=`${e.fullPath}${e.hierarchyDelimiter}`;return t.some(r=>r.mailboxId!==e.mailboxId&&r.fullPath.startsWith(n))},o4e=["Appointed","Flagged","Reserved"],i4e=(e,t)=>e.mailboxId!==t.mailboxId?!1:e.source==="Stale"?t.specialUse?.includes(e.role)??!1:o4e.includes(e.source),l4e=(e,t)=>t.find(n=>i4e(n,e))?.role;function QDe(e,t,n){if(a4e(e.fullPath))return{deletable:!1,reason:"inbox",message:"The inbox can't be deleted."};const r=l4e(e,n);return r?{deletable:!1,reason:"role",message:`This folder is your ${r} folder. Reassign that role before deleting it.`}:s4e(e,t)?{deletable:!1,reason:"children",message:"This folder has subfolders. Delete them first."}:{deletable:!0}}function c4e(e,t){return e.filter(n=>n.mailboxId!==t)}function JDe(e){return{total:e,moved:0,phase:e===0?"moved":"moving"}}function e9e(e,t){if(e.phase!=="moving")return e;const n=Math.min(e.total,e.moved+Math.max(0,t));return{...e,moved:n,phase:n>=e.total?"moved":"moving"}}function t9e(e,t){return{...e,phase:"failed",error:t}}function n9e(e){return`Moved ${e.moved} of ${e.total}`}function r9e(e){const t=Math.max(0,Math.floor(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}function a9e(e){return e>0?"choose-fate":"confirm-empty"}const u4e=new Set(["outbox","postvak uit","boîte d'envoi","postausgang","buzón de salida","posta in uscita","送信トレイ","送件匣","发件箱","skrzynka nadawcza"]),d4e=e=>{const t=Dp(e).trim().toLowerCase();return u4e.has(t)},_L=Lp.length,f4e=(e,t)=>{const n=Hy(t);return[...e.filter(a=>{const s=n.get(a.mailboxId);return s==="drafts"||s==="sent"?!1:!d4e(a)})].sort((a,s)=>{const i=n.has(a.mailboxId)?Lp.indexOf(n.get(a.mailboxId)??"inbox"):_L,c=n.has(s.mailboxId)?Lp.indexOf(n.get(s.mailboxId)??"inbox"):_L;return i!==c?i-c:Dp(a).localeCompare(Dp(s),void 0,{sensitivity:"base",numeric:!0})})},h4e=e=>e[0]?.hierarchyDelimiter??"/",p4e=({mailboxes:e,folderAppointments:t,currentMailboxId:n,excludeMailboxId:r,translator:a})=>{const s=f4e(e,t),i=Hy(t);return(r?c4e(s,r):s).map(u=>({id:u.mailboxId,label:LV(u,i.get(u.mailboxId),a),path:u.fullPath,isCurrent:u.mailboxId===n,messageCount:u.messageCount}))},UV=_.createContext(void 0),kL=Symbol("appoint-failed"),m4e=({children:e})=>{const t=Lc(),n=n4e(),[r,a]=_.useState(null),[s,i]=_.useState(),[c,u]=_.useState({kind:"choosing"}),f=r?.accountId,{data:h}=_d({...dT(),staleTime:1/0,enabled:!!f}),{data:m}=_d({...ok({path:{accountId:f??""}}),enabled:!!f}),{createFolderIn:g}=t4e(f),y=pI({...QTe(),meta:fA(409)}),w=h?.accounts.find(L=>L.accountId===f),b=_.useMemo(()=>m?.items??[],[m]),x=_.useMemo(()=>w?.folderAppointments??[],[w]),E=_.useMemo(()=>p4e({mailboxes:b,folderAppointments:x,translator:n}),[b,x,n]),k=x.find(L=>L.role===r?.role),A=r?.guessedMailboxId??k?.mailboxId,R=b.find(L=>L.mailboxId===A),P=r?.trashFolderLabel??(R?LV(R,Hy(x).get(R.mailboxId),n):void 0),O=_.useRef(null),T=_.useCallback(()=>{O.current=null,a(null),i(void 0),u({kind:"choosing"})},[]),M=_.useCallback(L=>{O.current=L,a(L),u({kind:"choosing"}),i(L.reason==="unconfirmed"?L.guessedMailboxId:void 0)},[]),z=_.useCallback(L=>{O.current===L&&T()},[T]),q=_.useCallback(L=>{r&&(u({kind:"appointing"}),y.mutateAsync({path:{accountId:r.accountId,role:r.role},body:{mailboxId:L}}).catch(B=>(u({kind:"appoint-failed",cause:BRe(B)?"mailbox-pending":"generic"}),kL)).then(async B=>{B!==kL&&(await t.invalidateQueries({queryKey:SV()}),u({kind:"acting"}),await r.onAppointed(),z(r))}).catch(()=>z(r)))},[r,y,t,z]),U=_.useMemo(()=>({requestAppointment:M}),[M]);return C.jsxs(UV.Provider,{value:U,children:[e,r&&C.jsx(pie,{open:!0,reason:r.reason,action:r.action,folders:E,delimiter:h4e(b),trashFolderLabel:P,guessedMailboxId:A,staleFolderLabel:r.staleFolderLabel??k?.staleAppointmentPath,accountEmail:(h?.accounts.length??0)>1?w?.email:void 0,phase:c,selectedId:s,onSelect:i,onCreateFolder:g,onConfirm:q,onCancel:T})]})},g4e=()=>{const e=_.useContext(UV);if(!e)throw new Error("useRoleAppointmentPrompt must be used within a RoleAppointmentPromptProvider");return e},zV=_.createContext(void 0),v4e=({children:e})=>{const[t,n]=_.useState(void 0),r=_.useRef(void 0),a=_.useRef(void 0),s=_.useRef(void 0),i=_.useRef(new Set),c=Lc(),{pushError:u}=URe(),{requestAppointment:f}=g4e(),h=_.useRef(async()=>({kind:"ran",outcome:{done:0,failedIds:[],refused:0,cancelled:!1}})),m=_.useCallback(b=>{GOe(c,WOe(UOe(b.action,b.mailboxId)));const x=new Set;if(b.accountId&&x.add(b.accountId),b.source.kind==="targets")for(const E of b.source.targets)E.accountId&&x.add(E.accountId);for(const E of x)c.invalidateQueries({queryKey:uT({path:{accountId:E}})})},[c]),g=_.useCallback(async b=>{const x=s.current;if(x)return{kind:"refused",reason:LOe(x.action.kind,x.matched,x.mailboxLabel)};const E=Symbol("bulk-run"),k=new AbortController;r.current=k,a.current=E,s.current=b,b.claimEnding&&(i.current.add(E),b.claimEnding(()=>i.current.delete(E))),n({action:b.action,mailboxId:b.mailboxId,progress:{done:0,total:b.matched}});const A=T=>{a.current===E&&n(M=>M&&{...M,progress:BOe(T)})},R=b.source.kind==="targets"?await PV(b.source.targets,b.applyBatch,A,k.signal):await $Oe(b.source.fetchPage,b.matched,b.applyBatch,A,k.signal),P=i.current.delete(E);a.current===E&&(a.current=void 0,s.current=void 0,n(void 0));const O=R.error?$Re(R.error):void 0;return O?f({accountId:O.accountId,role:O.role,reason:O.reason,action:{kind:"delete",count:b.matched},onAppointed:async()=>{const T=await h.current({...b,claimEnding:void 0});T.kind==="refused"&&u({title:CL(b.action.kind,0),detail:T.reason})}}):R.error?u(TRe(CL(b.action.kind,R.done),POe(b.action.kind),R.error)):R.refused>0&&u({severity:"warning",title:R.refused>1?`Couldn't delete ${R.refused} of ${b.matched} messages yet`:"Couldn't delete this message yet",detail:"Something else moved them while the delete was being prepared. They are back where they now sit — try again."}),P||b.reportEnding?.(b.action.kind,b.matched,R),R.done>0&&m(b),{kind:"ran",outcome:R}},[m,u,f]);h.current=g;const y=_.useCallback(b=>{s.current?.mailboxId===b&&r.current?.abort()},[]);_.useEffect(()=>{const b=i.current;return()=>{r.current?.abort(),r.current=void 0,a.current=void 0,s.current=void 0,b.clear()}},[]);const w=_.useMemo(()=>({run:t,start:g,stop:y}),[t,g,y]);return C.jsx(zV.Provider,{value:w,children:e})},s9e=()=>{const e=_.useContext(zV);if(!e)throw new Error("useBulkRun must be used within a BulkRunProvider");return e},y4e=600,b4e=300,jV="remit logs",S4e="https://github.com/remit-mail/reader/releases/tag/";function FV(e,t){const n=t?.check.lastCheckedAt;return n!==void 0&&n!==e.since}function w4e(e){const t=xa(e);return`The check could not be requested — ${t===void 0?"the server did not answer":`the server answered ${t}`}. Run \`remit logs backend\` to see why.`}const x4e={checking:"preparing",pulling:"preparing",snapshotting:"preparing",stopping:"restarting",starting:"restarting",verifying:"reconnecting",committing:"reconnecting",rollingBack:"reconnecting",recovering:"reconnecting"};function vT(e){return x4e[e]??"reconnecting"}function $V(e){const t=xa(e);return t===404||t===403||t===401}function vk(e,t){const n=e?.run??null;return n===null||n.outcome!==null||n.runId===t?null:n}function BV(e,t){const n=e?.check;if(n?.status==="ok"&&!(!n.updateAvailable||!n.latestVersion))return{version:n.latestVersion,releasedAt:pv(n.publishedAt)??t,releaseNotesUrl:n.releaseNotesUrl??HV(n.latestVersion),summary:n.summary??""}}function C4e(e){const t=e?.check.schemaVersion,n=e?.currentSchemaVersion;return t===void 0||n===void 0?!1:t>n}function yk(){return y4e+b4e}function bk(e,t){return Math.max(0,Math.floor((t-e)/1e3))}function pv(e){if(!e)return;const t=Date.parse(e);return Number.isNaN(t)?void 0:t}function HV(e){return`${S4e}${e}`}function Up(e,t,n,r,a){return{status:"applying",runId:e,version:t,target:n,phase:r,elapsedSeconds:a}}function E4e(e,t,n){switch(n){case"succeeded":return{status:"succeeded",runId:t.runId,version:t.targetVersion,previousVersion:t.fromVersion,releaseNotesUrl:e.check.releaseNotesUrl??HV(t.targetVersion)};case"rolledBack":return{status:"rolledBack",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};case"rollbackFailed":return{status:"rollbackFailed",runId:t.runId,attemptedVersion:t.targetVersion,previousVersion:t.fromVersion,reason:t.message,logsCommand:t.logCommand};case"abandoned":return{status:"abandoned",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};default:return n}}function _4e(e,t,n,r){const a=e.check,s=pv(a.lastCheckedAt);if(n!==null)return{status:"checkFailed",version:e.currentVersion,reason:n,lastCheckedAt:s};if(t!==null&&!FV(t,e))return{status:"checking",version:e.currentVersion};if(a.status==="failed")return{status:"checkFailed",version:e.currentVersion,reason:a.error??"Remit could not reach the update service.",lastCheckedAt:s};if(a.status==="disabled")return{status:"neverChecked",version:e.currentVersion,lastCheckedAt:s};const i=BV(e,r);return i?{status:"available",version:e.currentVersion,release:i}:{status:"upToDate",version:e.currentVersion,checkedAt:pv(a.lastCheckedAt)??r}}function AL(e,t,n){return{surface:{status:"ready",section:e,overlay:t},releaseHeld:n}}function qV(e,t,n,r){return{status:"ready",section:Up(e,t,n,"reconnecting",r),overlay:{kind:"applying",target:n,phase:"reconnecting",elapsedSeconds:r}}}function VV(e,t,n,r,a){return{status:"ready",section:Up(e,t,n,"reconnecting",r),overlay:{kind:"neverCameBack",attemptedVersion:n,previousVersion:t,elapsedSeconds:r,logsCommand:a}}}function k4e(e,t){return{surface:VV(e.runId,e.previousVersion,e.attemptedVersion,t,jV),releaseHeld:!1}}function A4e(e,t,n,r,a){const s=bk(e.startedAt,a),i=t?.currentVersion??e.previousVersion,c=!r&&n!==null&&n.runId===e.runId;if(c&&n!==null&&n.outcome!==null)return null;if(c&&n!==null){const u=vT(n.phase);return AL(Up(n.runId,i,n.targetVersion,u,s),{kind:"applying",target:n.targetVersion,phase:u,elapsedSeconds:s},!1)}return r?s>yk()?k4e(e,s):{surface:qV(e.runId,e.previousVersion,e.attemptedVersion,s),releaseHeld:!1}:t===void 0?{surface:{status:"loading"},releaseHeld:!1}:s>yk()?{surface:{status:"ready",section:{status:"unreachable",runId:e.runId,previousVersion:e.previousVersion,attemptedVersion:e.attemptedVersion,elapsedSeconds:s,logsCommand:n?.logCommand??jV},overlay:{kind:"none"}},releaseHeld:!0}:AL(Up(e.runId,i,e.attemptedVersion,e.phase,s),{kind:"applying",target:e.attemptedVersion,phase:e.phase,elapsedSeconds:s},!1)}function IL(e){const{data:t,isError:n,dismissedRunId:r,checkPress:a,checkFailure:s,sighting:i,now:c}=e;if(n){const h=vk(t,r);if(h!==null){const m=i!==null&&i.runId===h.runId?i.observedAt:c,g=bk(m,c);return g>yk()?VV(h.runId,h.fromVersion,h.targetVersion,g,h.logCommand):qV(h.runId,h.fromVersion,h.targetVersion,g)}return{status:"ready",section:{status:"checkFailed",version:t?.currentVersion??"the current version",reason:"Remit could not reach the update service."},overlay:{kind:"none"}}}if(!t)return{status:"loading"};const u=t.run,f=u!==null&&r!==null&&u.runId===r;if(u!==null&&!f&&u.outcome!==null)return{status:"ready",section:E4e(t,u,u.outcome),overlay:{kind:"none"}};if(u!==null&&!f&&u.outcome===null){const h=bk(pv(u.startedAt)??c,c),m=vT(u.phase);return{status:"ready",section:Up(u.runId,u.fromVersion,u.targetVersion,m,h),overlay:{kind:"applying",target:u.targetVersion,phase:m,elapsedSeconds:h}}}return{status:"ready",section:_4e(t,a,s,c),overlay:{kind:"none"}}}function I4e(e){const{data:t,isError:n,error:r,held:a,now:s}=e,i=t?.run??null;if($V(r)&&!a)return{surface:{status:"absent"},releaseHeld:!0};if(a){const c=A4e(a,t,i,n,s);return c||{surface:IL(e),releaseHeld:!0}}return{surface:IL(e),releaseHeld:!1}}const T4e=3e4,R4e=5e3,O4e=dA,N4e={...dA,...Sle},M4e=3e4,P4e="The updater did not answer. Run `remit logs updater` to see why.";function D4e(e,t,n,r){if($V(e)&&!n)return!1;const a=t!==null&&t.outcome===null;return n||a||r?R4e:T4e}function L4e(){const e=Lc(),[t,n]=_.useState(null),[r,a]=_.useState(null),[s,i]=_.useState(null),[c,u]=_.useState(null),[f,h]=_.useState(null),m=_.useRef(t);m.current=t;const g=_.useRef(s);g.current=s;const y=e.getQueryData(ik()),w=t!==null||vk(y,r)!==null,b=_d({...SRe(),retry:!1,meta:w?N4e:O4e,refetchInterval:L=>D4e(L.state.error,L.state.data?.run??null,m.current!==null,g.current!==null)}),x=_.useRef(b.data);x.current=b.data;const E=I4e({data:b.data,isError:b.isError,error:b.error,held:t,dismissedRunId:r,checkPress:s,checkFailure:c,sighting:f,now:Date.now()}),k=vk(b.data,r);_.useEffect(()=>{if(k===null){h(L=>L===null?L:null);return}h(L=>L!==null&&L.runId===k.runId?L:{runId:k.runId,observedAt:Date.now()})},[k]);const A=_.useRef(null);A.current=E.surface.status==="ready"&&"runId"in E.surface.section?E.surface.section.runId:null;const{releaseHeld:R}=E;_.useEffect(()=>{R&&n(L=>L===null?L:null)},[R]),_.useEffect(()=>{s!==null&&FV(s,b.data)&&i(null)},[s,b.data]),_.useEffect(()=>{if(s===null)return;const L=s.pressedAt+M4e-Date.now(),B=setTimeout(()=>{i(null),u(P4e)},Math.max(0,L));return()=>clearTimeout(B)},[s]);const{refetch:P}=b,O=_.useCallback(()=>{u(null),i({pressedAt:Date.now(),since:x.current?.check.lastCheckedAt}),bV({query:{refresh:!0},throwOnError:!0}).then(()=>{P()}).catch(L=>{uA(L,dA,"user")&&sl(L),i(null),u(w4e(L))})},[P]),T=_.useCallback(()=>{P()},[P]),M=pI({...wRe(),meta:{softError:!0},onSuccess:L=>{const B=L.run;B!==null&&(n({runId:B.runId,attemptedVersion:B.targetVersion,previousVersion:B.fromVersion,phase:vT(B.phase),startedAt:Date.now()}),a(null)),e.setQueryData(ik(),L)},onError:()=>{P()}}),{mutate:z}=M,q=_.useCallback(L=>{z({body:{targetVersion:L}})},[z]),U=_.useCallback(()=>{A.current!==null&&a(A.current),n(null),i(null),u(null)},[]);return{surface:E.surface,appliesSchemaMigration:C4e(b.data),currentVersion:b.data?.currentVersion,release:BV(b.data,Date.now()),onCheck:O,install:q,onDismissResult:U,onRetryConnection:T}}const yT=_.createContext(null);function U4e({children:e}){const t=L4e();return _.createElement(yT.Provider,{value:t},e)}function z4e(){const e=_.useContext(yT);if(e===null)throw new Error("useSelfUpdate must be used within a SelfUpdateProvider");return e}function j4e(){return _.useContext(yT)}function F4e(){const{surface:e,onRetryConnection:t}=z4e();if(e.status!=="ready")return null;const{overlay:n}=e;return n.kind==="applying"?C.jsx(nle,{target:n.target,phase:n.phase,elapsedSeconds:n.elapsedSeconds}):n.kind==="neverCameBack"?C.jsx(rle,{attemptedVersion:n.attemptedVersion,previousVersion:n.previousVersion,elapsedSeconds:n.elapsedSeconds,logsCommand:n.logsCommand,onRetryConnection:t}):null}const $4e=({error:e,reset:t,info:n})=>{const r=Vv(e),a=sl(e,{recoverable:r,componentStack:n?.componentStack});return C.jsx(sF,{fatal:a,onRetry:r?t:void 0})},Hc=JSe()({component:q4e,errorComponent:$4e}),B4e=()=>{const{t:e}=yV("common",{useSuspense:!1});return C.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-50 focus:p-4 focus:bg-canvas focus:text-fg focus:rounded-md",children:e("accessibility.skipToContent","Skip to main content")})},H4e=({children:e})=>Yd().updateMode==="managed"?e:C.jsxs(U4e,{children:[e,C.jsx(F4e,{})]});function q4e(){return C.jsxs(LRe,{children:[C.jsx(m4e,{children:C.jsx(v4e,{children:C.jsx(H4e,{children:C.jsxs(IRe,{children:[C.jsx(B4e,{}),C.jsx("main",{id:"main-content",className:"h-dvh overflow-hidden",children:C.jsx(_.Suspense,{fallback:C.jsx(Bv,{}),children:C.jsx(AB,{})})})]})})})}),C.jsx(aF,{})]})}const V4e=$e("/")({beforeLoad:()=>{throw em({to:"/mail/brief"})}}),W4e=Yd().apiUrl;Ce.setConfig({baseUrl:W4e,fetch:pz});Ce.interceptors.error.use((e,t)=>e instanceof qv||!t?e:ple(e,t.status));const G4e=()=>Ke(()=>import("./calendar-Dc-B3sio.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),K4e=$e("/calendar")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(dT())},component:Ge(G4e,"component")}),Y4e=()=>Ke(()=>import("./import-BtgA3dex.js"),__vite__mapDeps([11,12,13,14,15,16])),Z4e=$e("/import")({component:Ge(Y4e,"component")}),WV="/mail/brief",GV="/mail/$mailboxId",KV="/mail/outbox",YV="/mail/flagged";function X4e(e){for(const t of e){if(t.routeId===WV)return{list:"brief"};if(t.routeId===YV)return{list:"flagged"};if(t.routeId===KV)return{list:"outbox"};if(t.routeId===GV)return{list:"mailbox",mailboxId:t.params?.mailboxId}}}function o9e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);if(t[0]!=="mail")return"";const n=t[1];return n?n==="brief"?WV:n==="flagged"?YV:n==="outbox"?KV:Q4e(n):""}function i9e(e){if(typeof e!="object"||e===null)return"";const{q:t}=e;return typeof t=="string"?t:""}function Q4e(e){return`${GV}:${e}`}function l9e(e,t){return e===t?!0:e.startsWith(`${t}/`)}function J4e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);return t[0]==="mail"&&t.length>2}const e5e=()=>lie(iie),bT=["intelligence","nav","shortcuts"],t5e=["nav","shortcuts"],ZV=e=>t5e.includes(e);function c9e(e,t){return[...e.filter(n=>!ZV(n)),...t?[t]:[]]}const n5e=By(bT);function Sk(e){const t=new Set(e.split(",").map(n=>n5e.safeParse(n)).filter(n=>n.success).map(n=>n.data));return bT.filter(n=>t.has(n))}function ST(e){return bT.filter(t=>e.includes(t)).join(",")}function u9e(){const e=IB({select:t=>ST(Sk(t.hash))});return _.useMemo(()=>Sk(e),[e])}const r5e=(e,t)=>!ZV(e)&&t;function a5e(e){return(t="")=>ST(Sk(t).filter(n=>r5e(n,e)))}function qy(){const e=e5e();return _.useMemo(()=>a5e(e),[e])}function d9e(){const e=Qs();return _.useCallback(t=>{e({search:!0,hash:ST(t),replace:!0,hashScrollIntoView:!1})},[e])}function Vy(){const e=bwe({select:r=>X4e(r.matches)?.list}),n=gd({from:"/mail/$mailboxId",shouldThrow:!1})?.mailboxId;return _.useMemo(()=>({list:e,mailboxId:n}),[e,n])}function f9e(){const{pathname:e}=IB();return J4e(e)}function h9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy();return _.useCallback(()=>{const a=i=>i,s=t;if(n==="flagged"){e({to:"/mail/flagged",search:a,hash:s});return}if(n==="outbox"){e({to:"/mail/outbox",search:a,hash:s});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId",params:{mailboxId:r},search:a,hash:s});return}e({to:"/mail/brief",search:a,hash:s})},[e,t,n,r])}const s5e=["year","month","week","day","agenda"],o5e=By(s5e),XV="week",i5e=new Set(["month","week","day"]),p9e=e=>i5e.has(e),m9e=e=>e==="agenda";function l5e(e){const t=o5e.safeParse(e);return t.success?t.data:void 0}const c5e=/^\d{4}-\d{2}-\d{2}$/;function u5e(e){if(!c5e.test(e))return;const[t,n,r]=e.split("-").map(Number),a=Date.UTC(t,n-1,r),s=new Date(a);if(s.getUTCFullYear()===t&&s.getUTCMonth()===n-1&&s.getUTCDate()===r)return e}const jd=e=>String(e).padStart(2,"0");function QV(e){return`${e.getFullYear()}-${jd(e.getMonth()+1)}-${jd(e.getDate())}`}function d5e(e,t){return{view:l5e(e.view)??XV,date:u5e(e.date)??t}}function g9e(e,t,n){const[r,a,s]=e.split("-").map(Number);if(t==="year")return TL(r+n,a,s);if(t==="month")return TL(r,a+n,s);const i=t==="day"?1:7,c=new Date(Date.UTC(r,a-1,s+i*n));return f5e(c)}const f5e=e=>`${e.getUTCFullYear()}-${jd(e.getUTCMonth()+1)}-${jd(e.getUTCDate())}`;function TL(e,t,n){const r=e+Math.floor((t-1)/12),a=((t-1)%12+12)%12+1,s=new Date(Date.UTC(r,a,0)).getUTCDate();return`${r}-${jd(a)}-${jd(Math.min(n,s))}`}const JV=Dr().min(1);function h5e(e){const t=e==null?[]:[e].flat(),n=new Set;for(const r of t){if(typeof r!="string"&&typeof r!="number")continue;const a=JV.safeParse(String(r));a.success&&n.add(a.data)}return[...n].sort()}const eW=Va({calendarId:gOe(h5e,OV(JV)).transform(e=>e.length===0?void 0:e)}),Wy=Va({q:Dr().optional()}),wT=Wy.extend({}),tW=Wy.extend({}),p5e=Wy.extend({}),nW=Wy.extend({}),m5e=wT,QE=Va({body:Dr().optional()}),RL=e=>{const{body:t,...n}=e;return n},xT={brief:wT.extend(QE.shape),flagged:tW.extend(QE.shape),mailbox:nW.extend(QE.shape)},g5e=YSe(Zoe);function v9e({fragment:e,...t}){const n=qy();return C.jsx(g5e,{...t,hash:e??n})}const v5e=["reply","reply-all","forward"],y5e=By(v5e),CT="/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}",ET="/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}",_T="/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}";function rW(){const e=gd({from:CT,shouldThrow:!1}),t=gd({from:ET,shouldThrow:!1}),n=gd({from:_T,shouldThrow:!1});return e??t??n}function b5e(){const e=lc({from:CT,shouldThrow:!1}),t=lc({from:ET,shouldThrow:!1}),n=lc({from:_T,shouldThrow:!1});return(e??t??n)?.body}const kT=e=>t=>e===void 0?RL(t):{...RL(t),body:e.body};function AT(){const e=rW(),t=b5e();return _.useMemo(()=>{if(!e)return;const n=y5e.safeParse(e.mode);return n.success?{kind:"reply",mode:n.data,threadId:e.threadId,sourceMessageId:e.messageId,outboxMessageId:e.outboxMessageId,seed:t===void 0?void 0:{body:t}}:{kind:"unknown",segment:e.mode}},[e,t])}function y9e(){return AT()?.kind==="reply"}function aW(e,t,n,r){return e==="flagged"?{to:ET,params:{...n,outboxMessageId:r}}:e==="mailbox"&&t?{to:_T,params:{...n,mailboxId:t,outboxMessageId:r}}:{to:CT,params:{...n,outboxMessageId:r}}}function S5e(e,t){if(e?.kind==="reply"&&e.threadId===t.threadId&&e.sourceMessageId===t.messageId)return e.outboxMessageId}function b9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy(),a=AT();return _.useCallback((s,i)=>{e({...aW(n,r,s,i===void 0?S5e(a,s):void 0),search:kT(i),hash:t})},[e,t,n,r,a])}function S9e(e,t,n){if(!(!t||!n))return r=>e({threadId:t,messageId:n,mode:r})}function w9e(){const e=Qs(),{list:t,mailboxId:n}=Vy(),r=AT();return _.useCallback(a=>{r?.kind==="reply"&&e({...aW(t,n,{threadId:r.threadId,messageId:r.sourceMessageId,mode:r.mode},a),search:kT(void 0),hash:!0,replace:!0})},[e,t,n,r])}function x9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy(),a=rW();return _.useCallback(()=>{if(!a)return;const s=kT(void 0),i=t,c={threadId:a.threadId,messageId:a.messageId};if(n==="flagged"){e({to:"/mail/flagged/$threadId/$messageId",params:c,search:s,hash:i});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId/$threadId/$messageId",params:{...c,mailboxId:r},search:s,hash:i});return}e({to:"/mail/brief/$threadId/$messageId",params:c,search:s,hash:i})},[e,t,n,r,a])}const w5e=new Map;function C9e(e){const t=new Map;for(const n of e){const r=Hy(n.folderAppointments);for(const[a,s]of r)t.set(a,{role:s});for(const a of n.mailboxes){const s=r.get(a.mailboxId),i={providerPath:a.fullPath,hierarchyDelimiter:a.hierarchyDelimiter};t.set(a.mailboxId,s?{role:s,...i}:i)}}return t}function E9e(e){const t=[];for(const[n,r]of e)r.role==="junk"&&t.push(n);return t}function _9e(e,t){const n=t[0];if(!e)return n?{mailboxId:n}:{};for(const a of t){const s=e.get(a);if(s&&mse(s)!==void 0)return{mailboxId:a,folder:s}}if(!n)return{};const r=e.get(n);return{mailboxId:n,...r?{folder:r}:{}}}const x5e=_.createContext(null),k9e=()=>_.useContext(x5e)??{accounts:[],mailboxNameIndex:new Map,accountNameIndex:new Map,resultFolderIndex:w5e,searchQuery:"",searchInput:"",searchViewKey:"",onSearchChange:()=>{},onSearchClear:()=>{},onSearchClearQuery:()=>{},intelligenceOpen:!1,onToggleIntelligence:()=>{},onRaiseIntelligence:()=>{}},C5e=By(["match","properties","folder","rule","name","review","run"]),E5e=e=>{const t=C5e.safeParse(e);return t.success?t.data:void 0},_5e=Bc("search"),k5e=e=>{const t=_5e.safeParse(e);return t.success?t.data:void 0},A5e=RV().transform(k5e),I5e=()=>lc({from:"/mail",select:e=>e.wizardFrom}),T5e=RV().transform(E5e),R5e=(e,t)=>$v(e,t)+1,sW=()=>lc({from:"/mail",select:e=>e.wizard}),O5e=()=>{const e=Qs();return _.useCallback((t,n)=>{e({to:".",search:r=>({...r,wizard:t,wizardFrom:n})})},[e])},A9e=()=>{const e=sW(),t=O5e(),[n,r]=_.useState("organize"),a=_.useCallback(i=>{r(i),t("match")},[t]),s=_.useCallback(()=>{t("properties","search")},[t]);return{verb:n,start:a,startFromSearch:s,isOpen:e!==void 0}},I9e=e=>{const t=_r(),n=Qs(),r=sW(),a=I5e(),s=_.useRef(r!==void 0),i=_.useRef(a),c=_.useRef(void 0);_.useEffect(()=>{c.current=void 0},[r]),_.useEffect(()=>{if(!s.current)return;s.current=!1;const m=i.current;(async()=>(await n({to:".",search:g=>({...g,wizard:void 0,wizardFrom:void 0}),replace:!0}),await n({to:".",search:g=>({...g,wizard:e,wizardFrom:m})})))()},[e,n]);const u=_.useCallback(m=>{m===r||c.current===m||(c.current=m,n({to:".",search:g=>({...g,wizard:m})}))},[n,r]),f=_.useCallback(()=>{t.history.back()},[t]),h=_.useCallback((m,g)=>{t.history.go(-R5e(m,g))},[t]);return{step:r,goToStep:u,goBack:f,closeWizard:h}},N5e=()=>Ke(()=>import("./mail-4zzmmiWK.js"),__vite__mapDeps([17,1,18,19,7,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,10,3,4,5,6,8,9,35,36,37])),M5e=Va({q:Dr().optional(),wizard:T5e,wizardFrom:A5e}),P5e=$e("/mail")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(dT()),e.prefetchQuery({...xRe(),staleTime:6e4})},component:Ge(N5e,"component"),validateSearch:M5e}),D5e=()=>Ke(()=>import("./onboarding-BfZPTDb2.js"),__vite__mapDeps([38,39,40,41,20,12,13,27,42,15,16])),L5e=$e("/onboarding")({component:Ge(D5e,"component")});function U5e(){const e=j4e(),t=e?.surface.status==="ready"&&e.surface.section.status==="available";return C.jsx(tj,{label:t?"Update available":void 0,children:C.jsx(Rne,{className:"size-4"})})}const z5e=fA(401);function j5e(){return _d({...hRe(),meta:z5e})}const JE={listed:"Sync warnings",unread:"Warnings could not be read",signedOut:"Session ended"};function F5e(e,t){if(Qj(t))return JE.signedOut;if(t)return JE.unread;if(e&&((e.entries?.length??0)>0||(e.warnings?.length??0)>0))return JE.listed}function $5e(){const e=j5e();return F5e(e.data,e.error)}function B5e(){const e=$5e();return C.jsx(tj,{label:e,children:C.jsx(pc,{className:"size-4"})})}const H5e=()=>Ke(()=>import("./settings-CLLqV8u4.js"),[]),T9e=[{id:"accounts",label:"Accounts",icon:C.jsx(xz,{className:"size-4"})},{id:"senders",label:"Senders & Rules",icon:C.jsx(Tne,{className:"size-4"})},{id:"folders",label:"Folder roles",icon:C.jsx(bne,{className:"size-4"})},{id:"filters",label:"Filters",icon:C.jsx(gne,{className:"size-4"})},{id:"labels",label:"Labels",icon:C.jsx(Ane,{className:"size-4"})},{id:"calendars",label:"Calendars",icon:C.jsx(une,{className:"size-4"})},{id:"appearance",label:"Appearance",icon:C.jsx(xne,{className:"size-4"})},{id:"warnings",label:"Warnings",icon:C.jsx(B5e,{})},{id:"advanced",label:"Advanced",icon:C.jsx(U5e,{})}],R9e={accounts:"/settings/accounts",senders:"/settings/senders",folders:"/settings/folders",filters:"/settings/filters",labels:"/settings/labels",calendars:"/settings/calendars",appearance:"/settings/appearance",warnings:"/settings/warnings",advanced:"/settings/advanced"},q5e=$e("/settings")({component:Ge(H5e,"component")}),V5e=$e("/calendar/")({validateSearch:eW,beforeLoad:({search:e})=>{throw em({to:"/calendar/$view/$date",params:{view:XV,date:QV(new Date)},search:e,replace:!0})}}),W5e=$e("/mail/")({validateSearch:m5e,beforeLoad:({search:e})=>{throw em({to:"/mail/brief",search:e,replace:!0})}}),G5e=()=>Ke(()=>import("./_mailboxId-CNwKdI8w.js"),__vite__mapDeps([43,23,24,1,25,22,26,27,28,29,30,44,45,20,19,31,32,33,7,46,4,18,47,36,42,35,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,34,61,62,63,64,65,66,67,68,69])),K5e=$e("/mail/$mailboxId")({component:Ge(G5e,"component"),validateSearch:nW}),Y5e=()=>Ke(()=>import("./brief-UmPkAR4U.js"),__vite__mapDeps([70,1])),Z5e=()=>Ke(()=>import("./brief-Drn9-8tt.js"),__vite__mapDeps([71,23,24,1,25,22,26,27,28,29,30,72,45,20,19,46,4,18,7,47,36,42,35,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,34,31,32,33,65,64,73,69])),X5e=$e("/mail/brief")({component:Ge(Z5e,"component"),validateSearch:wT,errorComponent:Ge(Y5e,"errorComponent")}),Q5e=()=>Ke(()=>import("./flagged-VOnkzcbc.js"),__vite__mapDeps([74,1])),J5e=()=>Ke(()=>import("./flagged-CGRoEDEr.js"),__vite__mapDeps([75,23,24,1,25,22,26,27,28,29,30,76,45,20,19,46,4,18,7,47,36,42,35,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,34,61,33,73,69])),e6e=$e("/mail/flagged")({component:Ge(J5e,"component"),validateSearch:tW,errorComponent:Ge(Q5e,"errorComponent")}),t6e=()=>Ke(()=>import("./outbox-CS_GQ7eb.js"),__vite__mapDeps([77,23,24,1,25,22,26,27,28,29,30,78,4,45,20,19,32,56,79,80,62,63,34,9,69])),n6e=$e("/mail/outbox")({component:Ge(t6e,"component"),validateSearch:p5e}),r6e=()=>Ke(()=>import("./index-CzzzRc7f.js"),[]),a6e=$e("/settings/")({component:Ge(r6e,"component")}),s6e=()=>Ke(()=>import("./accounts-CjiarZXs.js"),__vite__mapDeps([81,39,40,41,20,12,13,27,42,15,1,79,82,35,83,34,67,26,30,49,84])),o6e=Va({editAccountId:Dr().optional(),focusSmtp:hT().optional(),connected:Dr().optional(),oauthError:Dr().optional(),oauthEmail:Dr().optional(),missingServices:Dr().optional()}),i6e=$e("/settings/accounts")({component:Ge(s6e,"component"),validateSearch:o6e}),l6e=()=>Ke(()=>import("./advanced-SAvf5P8v.js"),__vite__mapDeps([85,82,35,83,34,67,14,29,13,49,15,86,80,68,58,56,84,20])),c6e=$e("/settings/advanced")({component:Ge(l6e,"component")}),u6e=()=>Ke(()=>import("./appearance-CUPwkBCw.js"),__vite__mapDeps([87,82,35,83,34,67,84,20])),d6e=$e("/settings/appearance")({component:Ge(u6e,"component")}),f6e=()=>Ke(()=>import("./calendars-DBG7BQZr.js"),__vite__mapDeps([88,82,35,83,34,67,13,52,30,1,33,89,90,91])),h6e=$e("/settings/calendars")({component:Ge(f6e,"component")}),p6e=()=>Ke(()=>import("./filters-DvW0WvCf.js"),__vite__mapDeps([92,1,82,35,83,34,67,66,64,60,68])),m6e=$e("/settings/filters")({component:Ge(p6e,"component")}),g6e=()=>Ke(()=>import("./folders-DtPDNl-l.js"),__vite__mapDeps([93,1,21,82,35,83,34,67,8])),v6e=$e("/settings/folders")({component:Ge(g6e,"component")}),y6e=()=>Ke(()=>import("./labels-QNRXqxQK.js"),__vite__mapDeps([94,30,1,82,35,83,34,67,64])),b6e=$e("/settings/labels")({component:Ge(y6e,"component")}),S6e=()=>Ke(()=>import("./senders-CXDuYLon.js"),__vite__mapDeps([95,1,20,82,35,83,34,67,28,84])),w6e=$e("/settings/senders")({component:Ge(S6e,"component")}),x6e=()=>Ke(()=>import("./suggested-vips-DKoHfOxA.js"),[]),C6e=$e("/settings/suggested-vips")({component:Ge(x6e,"component")}),E6e=()=>Ke(()=>import("./warnings-Ba73_41o.js"),__vite__mapDeps([96,82,35,83,34,67,1,89,86,10,68,97,37,7,84,20])),_6e=$e("/settings/warnings")({component:Ge(E6e,"component")}),k6e=()=>Ke(()=>import("./_view._date-CZQj0j1i.js"),__vite__mapDeps([98,51,7,52,50,42,53,5,56,1,54,99,28,100,2,83,63,34,59])),A6e=$e("/calendar/$view/$date")({validateSearch:eW,beforeLoad:({params:e,search:t})=>{const n=d5e(e,QV(new Date));if(!(n.view===e.view&&n.date===e.date))throw em({to:"/calendar/$view/$date",params:n,search:t,replace:!0})},component:Ge(k6e,"component")}),I6e=()=>Ke(()=>import("./index-CFGRT_20.js"),__vite__mapDeps([101,44,45,20,22,19,31,32,33,7,46,4,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,62,63,64,65,66,67,68])),T6e=$e("/mail/$mailboxId/")({component:Ge(I6e,"component")}),R6e=()=>Ke(()=>import("./_threadId-ChtUn47n.js"),[]),O6e=$e("/mail/$mailboxId/$threadId")({component:Ge(R6e,"component")}),N6e=()=>Ke(()=>import("./index-D-aF7kT3.js"),__vite__mapDeps([102,72,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,31,32,33,65,64,73])),M6e=$e("/mail/brief/")({component:Ge(N6e,"component")}),P6e=()=>Ke(()=>import("./_threadId-C3p0YYSS.js"),[]),D6e=$e("/mail/brief/$threadId")({component:Ge(P6e,"component")}),L6e=()=>Ke(()=>import("./index-hMino1Zj.js"),__vite__mapDeps([103,76,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,33,73])),U6e=$e("/mail/flagged/")({component:Ge(L6e,"component")}),z6e=()=>Ke(()=>import("./_threadId-DFtqyHil.js"),[]),j6e=$e("/mail/flagged/$threadId")({component:Ge(z6e,"component")}),F6e=()=>Ke(()=>import("./index-91ywJtSA.js"),__vite__mapDeps([104,78,4,45,20,22,19,32,56,79,80,62,63,34,9])),$6e=$e("/mail/outbox/")({component:Ge(F6e,"component")}),B6e=()=>Ke(()=>import("./index-CF22K49S.js"),__vite__mapDeps([105,47])),H6e=$e("/calendar/$view/$date/")({component:Ge(B6e,"component")}),q6e=()=>Ke(()=>import("./_calendarObjectId-BnSnl92f.js"),[]),V6e=$e("/calendar/$view/$date/$calendarObjectId")({component:Ge(q6e,"component")}),W6e=()=>Ke(()=>import("./new-CFrxbOp1.js"),__vite__mapDeps([106,107,51,7,52,57,100,90,1])),G6e=$e("/calendar/$view/$date/new")({component:Ge(W6e,"component")}),K6e=()=>Ke(()=>import("./index-C9wsfdzq.js"),__vite__mapDeps([108,44,45,20,22,19,31,32,33,7,46,4,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,62,63,64,65,66,67,68])),Y6e=$e("/mail/$mailboxId/$threadId/")({component:Ge(K6e,"component")}),Z6e=()=>Ke(()=>import("./_messageId-C9wsfdzq.js"),__vite__mapDeps([109,44,45,20,22,19,31,32,33,7,46,4,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,62,63,64,65,66,67,68])),X6e=$e("/mail/$mailboxId/$threadId/$messageId")({component:Ge(Z6e,"component")}),Q6e=()=>Ke(()=>import("./compose._-_outboxMessageId_-B-R8VIDx.js"),__vite__mapDeps([110,24,1,25,22,26,27,28,29,30])),J6e=$e("/mail/$mailboxId/compose/{-$outboxMessageId}")({component:Ge(Q6e,"component")}),eNe=()=>Ke(()=>import("./index-DBNLE0tb.js"),__vite__mapDeps([111,72,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,31,32,33,65,64,73])),tNe=$e("/mail/brief/$threadId/")({component:Ge(eNe,"component")}),nNe=()=>Ke(()=>import("./_messageId-DBNLE0tb.js"),__vite__mapDeps([112,72,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,31,32,33,65,64,73])),rNe=$e("/mail/brief/$threadId/$messageId")({component:Ge(nNe,"component")}),aNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-CRT9iVyv.js"),__vite__mapDeps([113,24,1,25,22,26,27,28,29,30])),sNe=$e("/mail/brief/compose/{-$outboxMessageId}")({component:Ge(aNe,"component")}),oNe=()=>Ke(()=>import("./index-BSloTjxB.js"),__vite__mapDeps([114,76,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,33,73])),iNe=$e("/mail/flagged/$threadId/")({component:Ge(oNe,"component")}),lNe=()=>Ke(()=>import("./_messageId-HdLzcjMe.js"),__vite__mapDeps([115,76,45,20,22,19,46,4,18,7,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,5,54,55,41,56,57,6,58,59,60,40,30,34,61,33,73])),cNe=$e("/mail/flagged/$threadId/$messageId")({component:Ge(lNe,"component")}),uNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-Cnw34yB-.js"),__vite__mapDeps([116,24,1,25,22,26,27,28,29,30])),dNe=$e("/mail/flagged/compose/{-$outboxMessageId}")({component:Ge(uNe,"component")}),fNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-Cd-9BJez.js"),__vite__mapDeps([117,24,1,25,22,26,27,28,29,30])),hNe=$e("/mail/outbox/compose/{-$outboxMessageId}")({component:Ge(fNe,"component")}),pNe=()=>Ke(()=>import("./_outboxMessageId-DHN5fMou.js"),__vite__mapDeps([118,78,4,45,20,22,19,32,56,79,80,62,63,34,9])),mNe=$e("/mail/outbox/draft/$outboxMessageId")({component:Ge(pNe,"component")}),gNe=()=>Ke(()=>import("./index-DFpmjJVI.js"),__vite__mapDeps([119,120,97,107,51,7,52,57,55,35,41,56,53,42,21,90,1,99,59,91])),vNe=$e("/calendar/$view/$date/$calendarObjectId/")({component:Ge(gNe,"component")}),yNe=()=>Ke(()=>import("./_recurrenceId-CniHh10K.js"),__vite__mapDeps([121,120,97,107,51,7,52,57,55,35,41,56,53,42,21,90,1,99,59,91])),bNe=$e("/calendar/$view/$date/$calendarObjectId/$recurrenceId")({component:Ge(yNe,"component")}),SNe=()=>Ke(()=>import("./suggestion._suggestionId-Cz28HTX7.js"),__vite__mapDeps([122,54,1,51,7,52,47,107,57,59])),wNe=$e("/calendar/$view/$date/suggestion/$suggestionId")({component:Ge(SNe,"component")}),xNe=$e("/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.mailbox}),CNe=$e("/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.brief}),ENe=$e("/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.flagged}),_Ne=V4e.update({id:"/",path:"/",getParentRoute:()=>Hc}),IT=K4e.update({id:"/calendar",path:"/calendar",getParentRoute:()=>Hc}),kNe=Z4e.update({id:"/import",path:"/import",getParentRoute:()=>Hc}),nf=P5e.update({id:"/mail",path:"/mail",getParentRoute:()=>Hc}),ANe=L5e.update({id:"/onboarding",path:"/onboarding",getParentRoute:()=>Hc}),Ga=q5e.update({id:"/settings",path:"/settings",getParentRoute:()=>Hc}),INe=V5e.update({id:"/",path:"/",getParentRoute:()=>IT}),TNe=W5e.update({id:"/",path:"/",getParentRoute:()=>nf}),Gy=K5e.update({id:"/$mailboxId",path:"/$mailboxId",getParentRoute:()=>nf}),Ky=X5e.update({id:"/brief",path:"/brief",getParentRoute:()=>nf}),Yy=e6e.update({id:"/flagged",path:"/flagged",getParentRoute:()=>nf}),Zy=n6e.update({id:"/outbox",path:"/outbox",getParentRoute:()=>nf}),RNe=a6e.update({id:"/",path:"/",getParentRoute:()=>Ga}),ONe=i6e.update({id:"/accounts",path:"/accounts",getParentRoute:()=>Ga}),NNe=c6e.update({id:"/advanced",path:"/advanced",getParentRoute:()=>Ga}),MNe=d6e.update({id:"/appearance",path:"/appearance",getParentRoute:()=>Ga}),PNe=h6e.update({id:"/calendars",path:"/calendars",getParentRoute:()=>Ga}),DNe=m6e.update({id:"/filters",path:"/filters",getParentRoute:()=>Ga}),LNe=v6e.update({id:"/folders",path:"/folders",getParentRoute:()=>Ga}),UNe=b6e.update({id:"/labels",path:"/labels",getParentRoute:()=>Ga}),zNe=w6e.update({id:"/senders",path:"/senders",getParentRoute:()=>Ga}),jNe=C6e.update({id:"/suggested-vips",path:"/suggested-vips",getParentRoute:()=>Ga}),FNe=_6e.update({id:"/warnings",path:"/warnings",getParentRoute:()=>Ga}),lm=A6e.update({id:"/$view/$date",path:"/$view/$date",getParentRoute:()=>IT}),$Ne=T6e.update({id:"/",path:"/",getParentRoute:()=>Gy}),TT=O6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Gy}),BNe=M6e.update({id:"/",path:"/",getParentRoute:()=>Ky}),RT=D6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ky}),HNe=U6e.update({id:"/",path:"/",getParentRoute:()=>Yy}),OT=j6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Yy}),qNe=$6e.update({id:"/",path:"/",getParentRoute:()=>Zy}),VNe=H6e.update({id:"/",path:"/",getParentRoute:()=>lm}),NT=V6e.update({id:"/$calendarObjectId",path:"/$calendarObjectId",getParentRoute:()=>lm}),WNe=G6e.update({id:"/new",path:"/new",getParentRoute:()=>lm}),GNe=Y6e.update({id:"/",path:"/",getParentRoute:()=>TT}),oW=X6e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>TT}),KNe=J6e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Gy}),YNe=tNe.update({id:"/",path:"/",getParentRoute:()=>RT}),iW=rNe.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>RT}),ZNe=sNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ky}),XNe=iNe.update({id:"/",path:"/",getParentRoute:()=>OT}),lW=cNe.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>OT}),QNe=dNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Yy}),JNe=hNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Zy}),eMe=mNe.update({id:"/draft/$outboxMessageId",path:"/draft/$outboxMessageId",getParentRoute:()=>Zy}),tMe=vNe.update({id:"/",path:"/",getParentRoute:()=>NT}),nMe=bNe.update({id:"/$recurrenceId",path:"/$recurrenceId",getParentRoute:()=>NT}),rMe=wNe.update({id:"/suggestion/$suggestionId",path:"/suggestion/$suggestionId",getParentRoute:()=>lm}),aMe=xNe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>oW}),sMe=CNe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>iW}),oMe=ENe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>lW}),iMe={CalendarViewDateCalendarObjectIdRecurrenceIdRoute:nMe,CalendarViewDateCalendarObjectIdIndexRoute:tMe},lMe=NT._addFileChildren(iMe),cMe={CalendarViewDateCalendarObjectIdRoute:lMe,CalendarViewDateNewRoute:WNe,CalendarViewDateIndexRoute:VNe,CalendarViewDateSuggestionSuggestionIdRoute:rMe},uMe=lm._addFileChildren(cMe),dMe={CalendarIndexRoute:INe,CalendarViewDateRoute:uMe},fMe=IT._addFileChildren(dMe),hMe={MailMailboxIdThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:aMe},pMe=oW._addFileChildren(hMe),mMe={MailMailboxIdThreadIdMessageIdRoute:pMe,MailMailboxIdThreadIdIndexRoute:GNe},gMe=TT._addFileChildren(mMe),vMe={MailMailboxIdThreadIdRoute:gMe,MailMailboxIdIndexRoute:$Ne,MailMailboxIdComposeChar123OutboxMessageIdChar125Route:KNe},yMe=Gy._addFileChildren(vMe),bMe={MailBriefThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:sMe},SMe=iW._addFileChildren(bMe),wMe={MailBriefThreadIdMessageIdRoute:SMe,MailBriefThreadIdIndexRoute:YNe},xMe=RT._addFileChildren(wMe),CMe={MailBriefThreadIdRoute:xMe,MailBriefIndexRoute:BNe,MailBriefComposeChar123OutboxMessageIdChar125Route:ZNe},EMe=Ky._addFileChildren(CMe),_Me={MailFlaggedThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:oMe},kMe=lW._addFileChildren(_Me),AMe={MailFlaggedThreadIdMessageIdRoute:kMe,MailFlaggedThreadIdIndexRoute:XNe},IMe=OT._addFileChildren(AMe),TMe={MailFlaggedThreadIdRoute:IMe,MailFlaggedIndexRoute:HNe,MailFlaggedComposeChar123OutboxMessageIdChar125Route:QNe},RMe=Yy._addFileChildren(TMe),OMe={MailOutboxIndexRoute:qNe,MailOutboxComposeChar123OutboxMessageIdChar125Route:JNe,MailOutboxDraftOutboxMessageIdRoute:eMe},NMe=Zy._addFileChildren(OMe),MMe={MailMailboxIdRoute:yMe,MailBriefRoute:EMe,MailFlaggedRoute:RMe,MailOutboxRoute:NMe,MailIndexRoute:TNe},PMe=nf._addFileChildren(MMe),DMe={SettingsAccountsRoute:ONe,SettingsAdvancedRoute:NNe,SettingsAppearanceRoute:MNe,SettingsCalendarsRoute:PNe,SettingsFiltersRoute:DNe,SettingsFoldersRoute:LNe,SettingsLabelsRoute:UNe,SettingsSendersRoute:zNe,SettingsSuggestedVipsRoute:jNe,SettingsWarningsRoute:FNe,SettingsIndexRoute:RNe},LMe=Ga._addFileChildren(DMe),UMe={IndexRoute:_Ne,CalendarRoute:fMe,ImportRoute:kNe,MailRoute:PMe,OnboardingRoute:ANe,SettingsRoute:LMe},zMe=Hc._addFileChildren(UMe)._addFileTypes(),jMe=(e,t,n)=>{const r=mwe({routeTree:zMe,context:{queryClient:e},history:n,stringifySearch:yIe,defaultPreload:"intent",defaultPendingComponent:Bv,defaultPendingMs:200,defaultPendingMinMs:300});return r.subscribe("onResolved",a=>{t.recordPageView(a.toLocation.pathname),Lle(a.toLocation.pathname)}),r},Xe=e=>typeof e=="string",kh=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},OL=e=>e==null?"":""+e,FMe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},$Me=/###/g,NL=e=>e&&e.indexOf("###")>-1?e.replace($Me,"."):e,ML=e=>!e||Xe(e),ep=(e,t,n)=>{const r=Xe(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(ML(e))return{};const s=NL(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return ML(e)?{}:{obj:e,k:NL(r[a])}},PL=(e,t,n)=>{const{obj:r,k:a}=ep(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),c=ep(e,i,Object);for(;c.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),c=ep(e,i,Object),c?.obj&&typeof c.obj[`${c.k}.${s}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${s}`]=n},BMe=(e,t,n,r)=>{const{obj:a,k:s}=ep(e,t,Object);a[s]=a[s]||[],a[s].push(n)},mv=(e,t)=>{const{obj:n,k:r}=ep(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},HMe=(e,t,n)=>{const r=mv(e,n);return r!==void 0?r:mv(t,n)},cW=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Xe(e[r])||e[r]instanceof String||Xe(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):cW(e[r],t[r],n):e[r]=t[r]);return e},Fu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var qMe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const VMe=e=>Xe(e)?e.replace(/[&<>"'\/]/g,t=>qMe[t]):e;class WMe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const GMe=[" ",",","?","!",";"],KMe=new WMe(20),YMe=(e,t,n)=>{t=t||"",n=n||"";const r=GMe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=KMe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},wk=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let u=s;u<r.length;++u)if(u!==s&&(c+=n),c+=r[u],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},gv=e=>e?.replace("_","-"),ZMe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class vv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||ZMe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(Xe(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new vv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new vv(this.logger,t)}}var js=new vv;class Xy{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c.apply(c,[t,...r])})}}class DL extends Xy{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):Xe(r)&&s?c.push(...r.split(s)):c.push(r)));const u=mv(this.data,c);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),u||!i||!Xe(r)?u:wk(this.data?.[t]?.[n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),PL(this.data,c,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(Xe(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let u=mv(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?cW(u,r,s):u={...u,...r},PL(this.data,c,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var uW={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,a)??t}),t}};const LL={},UL=e=>!Xe(e)&&typeof e!="boolean"&&typeof e!="number";class yv extends Xy{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),FMe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=js.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,n)?.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!YMe(t,r,a);if(i&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:Xe(s)?[s]:s};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(s=f.shift()),t=f.join(a)}return{key:t,namespaces:Xe(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(t[t.length-1],n),u=c[c.length-1],f=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode"){if(h){const U=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${U}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${U}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const m=this.resolve(t,n);let g=m?.res;const y=m?.usedKey||i,w=m?.exactUsedKey||i,b=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,k=n.count!==void 0&&!Xe(n.count),A=yv.hasDefaultValue(n),R=k?this.pluralResolver.getSuffix(f,n.count,n):"",P=n.ordinal&&k?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",O=k&&!n.ordinal&&n.count===0,T=O&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${P}`]||n.defaultValue;let M=g;E&&!g&&A&&(M=T);const z=UL(M),q=Object.prototype.toString.apply(M);if(E&&M&&z&&b.indexOf(q)<0&&!(Xe(x)&&Array.isArray(M))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,M,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(m.res=U,m.usedParams=this.getUsedParamsDetails(n),m):U}if(s){const U=Array.isArray(M),L=U?[]:{},B=U?w:y;for(const G in M)if(Object.prototype.hasOwnProperty.call(M,G)){const ie=`${B}${s}${G}`;A&&!g?L[G]=this.translate(ie,{...n,defaultValue:UL(T)?T[G]:void 0,joinArrays:!1,ns:c}):L[G]=this.translate(ie,{...n,joinArrays:!1,ns:c}),L[G]===ie&&(L[G]=M[G])}g=L}}else if(E&&Xe(x)&&Array.isArray(g))g=g.join(x),g&&(g=this.extendTranslation(g,t,n,r));else{let U=!1,L=!1;!this.isValidLookup(g)&&A&&(U=!0,g=T),this.isValidLookup(g)||(L=!0,g=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:g,ie=A&&T!==g&&this.options.updateMissing;if(L||U||ie){if(this.logger.log(ie?"updateKey":"missingKey",f,u,i,ie?T:g),s){const pe=this.resolve(i,{...n,keySeparator:!1});pe&&pe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let $=[];const X=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&X&&X[0])for(let pe=0;pe<X.length;pe++)$.push(X[pe]);else this.options.saveMissingTo==="all"?$=this.languageUtils.toResolveHierarchy(n.lng||this.language):$.push(n.lng||this.language);const re=(pe,_e,j)=>{const Y=A&&j!==g?j:G;this.options.missingKeyHandler?this.options.missingKeyHandler(pe,u,_e,Y,ie,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(pe,u,_e,Y,ie,n),this.emit("missingKey",pe,u,_e,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?$.forEach(pe=>{const _e=this.pluralResolver.getSuffixes(pe,n);O&&n[`defaultValue${this.options.pluralSeparator}zero`]&&_e.indexOf(`${this.options.pluralSeparator}zero`)<0&&_e.push(`${this.options.pluralSeparator}zero`),_e.forEach(j=>{re([pe],i+j,n[`defaultValue${j}`]||T)})}):re($,i,T))}g=this.extendTranslation(g,t,n,m,r),L&&g===i&&this.options.appendNamespaceToMissingKey&&(g=`${u}:${i}`),(L||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,U?g:void 0))}return a?(m.res=g,m.usedParams=this.getUsedParamsDetails(n),m):g}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=Xe(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(f){const g=t.match(this.interpolator.nestingRegexp);h=g&&g.length}let m=r.replace&&!Xe(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,r.lng||this.language||a.usedLng,r),f){const g=t.match(this.interpolator.nestingRegexp),y=g&&g.length;h<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,y=new Array(g),w=0;w<g;w++)y[w]=arguments[w];return s?.[0]===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,u=Xe(c)?[c]:c;return t!=null&&u?.length&&r.applyPostProcessor!==!1&&(t=uW.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,c;return Xe(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(u,n),h=f.key;a=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const g=n.count!==void 0&&!Xe(n.count),y=g&&!n.ordinal&&n.count===0,w=n.context!==void 0&&(Xe(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(x=>{this.isValidLookup(r)||(c=x,!LL[`${b[0]}-${x}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(LL[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(E=>{if(this.isValidLookup(r))return;i=E;const k=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(k,h,E,x,n);else{let R;g&&(R=this.pluralResolver.getSuffix(E,n.count,n));const P=`${this.options.pluralSeparator}zero`,O=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(k.push(h+R),n.ordinal&&R.indexOf(O)===0&&k.push(h+R.replace(O,this.options.pluralSeparator)),y&&k.push(h+P)),w){const T=`${h}${this.options.contextSeparator}${n.context}`;k.push(T),g&&(k.push(T+R),n.ordinal&&R.indexOf(O)===0&&k.push(T+R.replace(O,this.options.pluralSeparator)),y&&k.push(T+P))}}let A;for(;A=k.pop();)this.isValidLookup(r)||(s=A,r=this.getResource(E,x,A,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Xe(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class zL{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=js.create("languageUtils")}getScriptPartFromCode(t){if(t=gv(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=gv(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Xe(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Xe(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Xe(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Xe(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const jL={zero:0,one:1,two:2,few:3,many:4,other:5},FL={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class XMe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=js.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=gv(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),FL;if(!t.match(/-|_/))return FL;const u=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(u,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,s)=>jL[a]-jL[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const $L=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=HMe(e,t,n);return!s&&a&&Xe(n)&&(s=wk(e,n,r),s===void 0&&(s=wk(t,n,r))),s},e3=e=>e.replace(/\$/g,"$$$$");class QMe{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=js.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:c,suffixEscaped:u,formatSeparator:f,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:g,nestingPrefixEscaped:y,nestingSuffix:w,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:E,alwaysFormat:k}=t.interpolation;this.escape=n!==void 0?n:VMe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Fu(s):i||"{{",this.suffix=c?Fu(c):u||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=g?Fu(g):y||Fu("$t("),this.nestingSuffix=w?Fu(w):b||Fu(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=E||1e3,this.alwaysFormat=k!==void 0?k:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=y=>{if(y.indexOf(this.formatSeparator)<0){const E=$L(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...a,...n,interpolationkey:y}):E}const w=y.split(this.formatSeparator),b=w.shift().trim(),x=w.join(this.formatSeparator).trim();return this.format($L(n,u,b,this.options.keySeparator,this.options.ignoreJSONStructure),x,r,{...a,...n,interpolationkey:b})};this.resetRegExp();const h=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>e3(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?e3(this.escape(y)):e3(y)}].forEach(y=>{for(c=0;s=y.regex.exec(t);){const w=s[1].trim();if(i=f(w),i===void 0)if(typeof h=="function"){const x=h(t,s,a);i=Xe(x)?x:""}else if(a&&Object.prototype.hasOwnProperty.call(a,w))i="";else if(m){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${w} for interpolating ${t}`),i="";else!Xe(i)&&!this.useRawValueToEscape&&(i=OL(i));const b=y.safeValue(i);if(t=t.replace(s[0],b),m?(y.regex.lastIndex+=i.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const c=(u,f)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const m=u.split(new RegExp(`${h}[ ]*{`));let g=`{${m[1]}`;u=m[0],g=this.interpolate(g,i);const y=g.match(/'/g),w=g.match(/"/g);((y?.length??0)%2===0&&!w||w.length%2!==0)&&(g=g.replace(/'/g,'"'));try{i=JSON.parse(g),f&&(i={...f,...i})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,b),`${u}${h}${g}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&!Xe(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(m=>m.trim());a[1]=h.shift(),u=h,f=!0}if(s=n(c.call(this,a[1].trim(),i),i),s&&a[0]===t&&!Xe(s))return s;Xe(s)||(s=OL(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),f&&(s=u.reduce((h,m)=>this.format(h,m,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const JMe=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[c,...u]=i.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();n[h]||(n[h]=f),f==="false"&&(n[h]=!1),f==="true"&&(n[h]=!0),isNaN(f)||(n[h]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},$u=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=r+JSON.stringify(s);let c=t[i];return c||(c=e(gv(r),a),t[i]=c),c(n)}};class e8e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=js.create("formatter"),this.options=t,this.formats={number:$u((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:$u((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:$u((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:$u((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:$u((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=$u(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(c=>c.indexOf(")")>-1)){const c=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,c)].join(this.formatSeparator)}return s.reduce((c,u)=>{const{formatName:f,formatOptions:h}=JMe(u);if(this.formats[f]){let m=c;try{const g=a?.formatParams?.[a.interpolationkey]||{},y=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](c,y,{...h,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const t8e=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class n8e extends Xy{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=js.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},c={},u={};return t.forEach(f=>{let h=!0;n.forEach(m=>{const g=`${f}|${m}`;!r.reload&&this.store.hasResourceBundle(f,m)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?i[g]===void 0&&(i[g]=!0):(this.state[g]=1,h=!1,i[g]===void 0&&(i[g]=!0),s[g]===void 0&&(s[g]=!0),u[m]===void 0&&(u[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const c={};this.queue.forEach(u=>{BMe(u.loaded,[s],i),t8e(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const h=u.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(f,h)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const f=u(t,n);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,n,c)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();Xe(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Xe(n)&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,c)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const u={...i,isUpdate:s},f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(t,n,r,a,u):h=f(t,n,r,a),h&&typeof h.then=="function"?h.then(m=>c(null,m)).catch(c):c(null,h)}catch(h){c(h)}else f(t,n,r,a,c,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const BL=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Xe(e[1])&&(t.defaultValue=e[1]),Xe(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),HL=e=>(Xe(e.ns)&&(e.ns=[e.ns]),Xe(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Xe(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),T0=()=>{},r8e=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class zp extends Xy{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=HL(t),this.services={},this.logger=js,this.modules={external:[]},r8e(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(Xe(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=BL();this.options={...a,...this.options,...HL(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=h=>h?typeof h=="function"?new h:h:null;if(!this.options.isClone){this.modules.logger?js.init(s(this.modules.logger),this.options):js.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:h=e8e;const m=new zL(this.options);this.store=new DL(this.options.resources,this.options);const g=this.services;g.logger=js,g.resourceStore=this.store,g.languageUtils=m,g.pluralResolver=new XMe(m,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(g.formatter=s(h),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new QMe(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new n8e(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(y){for(var w=arguments.length,b=new Array(w>1?w-1:0),x=1;x<w;x++)b[x-1]=arguments[x];t.emit(y,...b)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new yv(this.services,this.options),this.translator.on("*",function(y){for(var w=arguments.length,b=new Array(w>1?w-1:0),x=1;x<w;x++)b[x-1]=arguments[x];t.emit(y,...b)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=T0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=kh(),f=()=>{const h=(m,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(g),r(m,g)};if(this.languages&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T0;const a=Xe(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&s.indexOf(f)<0&&s.push(f)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload?.forEach?.(c=>i(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=kh();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=T0),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&uW.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=kh();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,f)=>{f?(s(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=Xe(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||s(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,h=>{i(h,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const s=function(i,c){let u;if(typeof c!="object"){for(var f=arguments.length,h=new Array(f>2?f-2:0),m=2;m<f;m++)h[m-2]=arguments[m];u=a.options.overloadTranslationOptionHandler([i,c].concat(h))}else u={...c};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const g=a.options.keySeparator||".";let y;return u.keyPrefix&&Array.isArray(i)?y=i.map(w=>`${u.keyPrefix}${g}${w}`):y=u.keyPrefix?`${u.keyPrefix}${g}${i}`:i,a.t(y,u)};return Xe(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.translate(...n)}exists(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(c,u)=>{const f=this.services.backendConnector.state[`${c}|${u}`];return f===-1||f===0||f===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=kh();return this.options.ns?(Xe(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=kh();Xe(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new zL(BL());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new zp(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new zp(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(c=>{s[c]=this[c]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const c=Object.keys(this.store.data).reduce((u,f)=>(u[f]={...this.store.data[f]},Object.keys(u[f]).reduce((h,m)=>(h[m]={...u[f][m]},h),{})),{});s.store=new DL(c,a),s.services.resourceStore=s.store}return s.translator=new yv(s.services,a),s.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),h=1;h<u;h++)f[h-1]=arguments[h];s.emit(c,...f)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const kr=zp.createInstance();kr.createInstance=zp.createInstance;kr.createInstance;kr.dir;kr.init;kr.loadResources;kr.reloadResources;kr.use;kr.changeLanguage;kr.getFixedT;kr.t;kr.exists;kr.setDefaultNamespace;kr.hasLoadedNamespace;kr.loadNamespaces;kr.loadLanguages;const{slice:a8e,forEach:s8e}=[];function o8e(e){return s8e.call(a8e.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function i8e(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const qL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l8e=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let s=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!qL.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!qL.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s},VL={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=l8e(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var c8e={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return VL.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:s}=t;n&&typeof document<"u"&&VL.create(n,e,r,a,s)}},u8e={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:r}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));const s=r.substring(1).split("&");for(let i=0;i<s.length;i++){const c=s[i].indexOf("=");c>0&&s[i].substring(0,c)===t&&(n=s[i].substring(c+1))}}return n}},d8e={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,r;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const s=a.substring(1);if(t){const i=s.split("&");for(let c=0;c<i.length;c++){const u=i[c].indexOf("=");u>0&&i[c].substring(0,u)===t&&(r=i[c].substring(u+1))}}if(r)return r;if(!r&&n>-1){const i=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?i[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return r}};let Bu=null;const WL=()=>{if(Bu!==null)return Bu;try{if(Bu=typeof window<"u"&&window.localStorage!==null,!Bu)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Bu=!1}return Bu};var f8e={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&WL())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&WL()&&window.localStorage.setItem(n,e)}};let Hu=null;const GL=()=>{if(Hu!==null)return Hu;try{if(Hu=typeof window<"u"&&window.sessionStorage!==null,!Hu)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Hu=!1}return Hu};var h8e={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&GL())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&GL()&&window.sessionStorage.setItem(n,e)}},p8e={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let s=0;s<n.length;s++)t.push(n[s]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},m8e={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},g8e={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},v8e={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let dW=!1;try{document.cookie,dW=!0}catch{}const fW=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];dW||fW.splice(1,1);const y8e=()=>({order:fW,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class hW{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=o8e(n,this.options||{},y8e()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(c8e),this.addDetector(u8e),this.addDetector(f8e),this.addDetector(h8e),this.addDetector(p8e),this.addDetector(m8e),this.addDetector(g8e),this.addDetector(v8e),this.addDetector(d8e)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.filter(r=>r!=null&&!i8e(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}hW.type="languageDetector";const pW=["__proto__","constructor","prototype"];function mW(e){return!(typeof e!="string"||e.length===0||e.length>128||pW.indexOf(e)>-1||e.indexOf("..")>-1||e.indexOf("\\")>-1||/[?#%:&=;\s]/.test(e)||/[\x00-\x1F\x7F]/.test(e))}function gW(e){return!(!mW(e)||e.indexOf("/")>-1||e.indexOf("@")>-1)}function b8e(e){return!(!mW(e)||e.indexOf("//")>-1)}const S8e={lng:gW,ns:b8e};function R0(e){return typeof e!="string"?e:e.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function w8e(e){if(typeof e!="string"||e.length===0)return e;try{const t=new URL(e);return t.username||t.password?(t.username="",t.password="",t.toString()):e}catch{return e.replace(/(\/\/)[^/@\s]+@/g,"$1")}}function vW(){return typeof XMLHttpRequest=="function"||typeof XMLHttpRequest=="object"}function x8e(e){return!!e&&typeof e.then=="function"}function C8e(e){return x8e(e)?e:Promise.resolve(e)}const E8e=/\{\{(.+?)\}\}/g,KL=/^[/\\]{2}/;function YL(e,t){let n=!1;const r=e.replace(E8e,(a,s)=>{const i=s.trim();if(pW.indexOf(i)>-1)return a;const c=t[i];if(c==null)return a;const u=S8e[i]||gW,f=String(c).split("+");for(const h of f)if(!u(h))return n=!0,a;return f.join("+")});return n||KL.test(r)&&!KL.test(e)?null:r}const fc=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:void 0;let bv;typeof fetch=="function"?bv=fetch:fc&&typeof fc.fetch=="function"&&(bv=fc.fetch);const ZL=vW()&&fc?fc.XMLHttpRequest:void 0,_8e=typeof ActiveXObject=="function"&&fc?fc.ActiveXObject:void 0,yW=["__proto__","constructor","prototype"],xk=(e,t)=>{if(t&&typeof t=="object"){let n="";for(const r of Object.keys(t))yW.indexOf(r)>-1||(n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]));if(!n)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+n.slice(1)}return e},XL=(e,t,n,r)=>{const a=s=>{if(!s.ok)return n(s.statusText||"Error",{status:s.status});s.text().then(i=>{n(null,{status:s.status,data:i})}).catch(n)};if(r){const s=r(e,t);if(s instanceof Promise){s.then(a).catch(n);return}}typeof fetch=="function"?fetch(e,t).then(a).catch(n):bv(e,t).then(a).catch(n)},k8e=(e,t,n,r)=>{e.queryStringParams&&(t=xk(t,e.queryStringParams));const a={...typeof e.customHeaders=="function"?e.customHeaders():e.customHeaders};typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(a["User-Agent"]=`i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`),n&&(a["Content-Type"]="application/json");const s=typeof e.requestOptions=="function"?e.requestOptions(n):e.requestOptions,i={method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:a,...e._omitFetchOptions?{}:s},c=typeof e.alternateFetch=="function"&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{XL(t,i,r,c)}catch(u){if(!s||Object.keys(s).length===0||!u.message||u.message.indexOf("not implemented")<0)return r(u);try{Object.keys(s).forEach(f=>{delete i[f]}),XL(t,i,r,c),e._omitFetchOptions=!0}catch(f){r(f)}}},A8e=(e,t,n,r)=>{n&&typeof n=="object"&&(n=xk("",n).slice(1)),e.queryStringParams&&(t=xk(t,e.queryStringParams));try{const a=ZL?new ZL:new _8e("MSXML2.XMLHTTP.3.0");a.open(n?"POST":"GET",t,1),e.crossDomain||a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.withCredentials=!!e.withCredentials,n&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.overrideMimeType&&a.overrideMimeType("application/json");let s=e.customHeaders;if(s=typeof s=="function"?s():s,s)for(const i of Object.keys(s))yW.indexOf(i)>-1||a.setRequestHeader(i,s[i]);a.onreadystatechange=()=>{a.readyState>3&&r(a.status>=400?a.statusText:null,{status:a.status,data:a.responseText})},a.send(n)}catch(a){console&&console.log(a)}},I8e=(e,t,n,r)=>{if(typeof n=="function"&&(r=n,n=void 0),r=r||(()=>{}),bv&&t.indexOf("file:")!==0)return k8e(e,t,n,r);if(vW()||typeof ActiveXObject=="function")return A8e(e,t,n,r);r(new Error("No fetch and no xhr implementation found!"))},T8e=()=>({loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:e=>JSON.parse(e),stringify:JSON.stringify,parsePayload:(e,t,n)=>({[t]:n||""}),parseLoadPayload:(e,t)=>{},request:I8e,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}});var bW=class{constructor(e,t={},n={}){this.services=e,this.options=t,this.allOptions=n,this.type="backend",this.init(e,t,n)}init(e,t={},n={}){if(this.services=e,this.options={...T8e(),...this.options||{},...t},this.allOptions=n,this.services&&this.options.reloadInterval){const r=setInterval(()=>this.reload(),this.options.reloadInterval);typeof r=="object"&&typeof r.unref=="function"&&r.unref()}}readMulti(e,t,n){this._readAny(e,e,t,t,n)}read(e,t,n){this._readAny([e],e,[t],t,n)}_readAny(e,t,n,r,a){let s=this.options.loadPath;typeof this.options.loadPath=="function"&&(s=this.options.loadPath(e,n)),s=C8e(s),s.then(i=>{if(!i)return a(null,{});const c=YL(i,{lng:e.join("+"),ns:n.join("+")});if(c==null){const u=e.map(R0).join(", "),f=n.map(R0).join(", ");return a(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=["+u+"] namespaces=["+f+"]"),!1)}this.loadUrl(c,a,t,r)})}loadUrl(e,t,n,r){const a=typeof n=="string"?[n]:n,s=typeof r=="string"?[r]:r,i=this.options.parseLoadPayload(a,s),c=R0(w8e(e));this.options.request(this.options,e,i,(u,f)=>{if(f&&(f.status>=500&&f.status<600||!f.status))return t("failed loading "+c+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return t("failed loading "+c+"; status code: "+f.status,!1);if(!f&&u&&u.message){const g=u.message.toLowerCase();if(["failed","fetch","network","load"].find(y=>g.indexOf(y)>-1))return t("failed loading "+c+": "+R0(u.message),!0)}if(u)return t(u,!1);let h,m;try{typeof f.data=="string"?h=this.options.parse(f.data,n,r):h=f.data}catch{m="failed parsing "+c+" to json"}if(m)return t(m,!1);t(null,h)})}create(e,t,n,r,a){if(!this.options.addPath)return;typeof e=="string"&&(e=[e]);const s=this.options.parsePayload(t,n,r);let i=0;const c=[],u=[];e.forEach(f=>{let h=this.options.addPath;typeof this.options.addPath=="function"&&(h=this.options.addPath(f,t));const m=YL(h,{lng:f,ns:t});if(m==null){i+=1,a&&i===e.length&&a(c,u);return}this.options.request(this.options,m,s,(g,y)=>{i+=1,c.push(g),u.push(y),i===e.length&&typeof a=="function"&&a(c,u)})})}reload(){const{backendConnector:e,languageUtils:t,logger:n}=this.services,r=e.language;if(r&&r.toLowerCase()==="cimode")return;const a=[],s=i=>{t.toResolveHierarchy(i).forEach(c=>{a.indexOf(c)<0&&a.push(c)})};s(r),this.allOptions.preload&&this.allOptions.preload.forEach(i=>s(i)),a.forEach(i=>{this.allOptions.ns.forEach(c=>{e.read(i,c,"read",null,null,(u,f)=>{u&&n.warn(`loading namespace ${c} for language ${i} failed`,u),!u&&f&&n.log(`loaded namespace ${c} for language ${i}`,f),e.loaded(`${i}|${c}`,u,f)})})})}};bW.type="backend";kr.use(bW).use(hW).use(RIe).init({fallbackLng:"en",supportedLngs:["en","nl","de","fr"],ns:["common","mail"],defaultNS:"common",backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},detection:{order:["navigator","htmlTag"],caches:[]},interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged loaded"}});const R8e=({authProvider:e,rootElementId:t="root"})=>{Mle(),gIe(),e.configure(),Bwe(e);const n=dIe();Cle(n);const r=new hbe({queryCache:new Q$({onError:Wwe}),mutationCache:new X$({onError:Gwe}),defaultOptions:{queries:{staleTime:3e4,gcTime:5*6e4,retry:1}}});pIe();const a=jMe(r,n);n.recordPageView(window.location.pathname);const s=document.getElementById(t);if(!s)throw new Error(`Root element not found: #${t}`);const{Shell:i}=e;Ewe.createRoot(s).render(C.jsx(_.StrictMode,{children:C.jsx(pV.Provider,{value:n,children:C.jsxs(pbe,{client:r,children:[C.jsx(Vwe,{value:e,children:C.jsx(i,{children:C.jsx(ywe,{router:a})})}),!1]})})}))};R8e({authProvider:qye});export{dne as $,tj as A,sp as B,o9e as C,Rre as D,i9e as E,f9e as F,k9e as G,$5e as H,xz as I,qle as J,GOe as K,ap as L,WOe as M,ok as N,AB as O,ZV as P,Fd as Q,tTe as R,uT as S,uA as T,sl as U,Yd as V,x5e as W,$o as X,X4e as Y,une as Z,kne as _,u9e as a,fle as a$,fne as a0,wz as a1,_ne as a2,Sne as a3,Ine as a4,Wk as a5,wne as a6,lne as a7,mne as a8,IB as a9,hs as aA,Xoe as aB,Nv as aC,Va as aD,hT as aE,Dr as aF,LDe as aG,ADe as aH,hA as aI,x1 as aJ,dA as aK,aDe as aL,sDe as aM,S3 as aN,i6e as aO,v7e as aP,T9e as aQ,Cne as aR,R9e as aS,UDe as aT,M7e as aU,nA as aV,SPe as aW,j8e as aX,bPe as aY,tDe as aZ,z4e as a_,gd as aa,l9e as ab,APe as ac,yV as ad,mDe as ae,Hy as af,LV as ag,ZDe as ah,v9e as ai,dRe as aj,K5e as ak,y9e as al,Bv as am,B8e as an,_Pe as ao,J8e as ap,tA as aq,Cae as ar,pc as as,F as at,URe as au,ePe as av,TRe as aw,g7e as ax,p7e as ay,lj as az,d9e as b,Jte as b$,ule as b0,cle as b1,xa as b2,qv as b3,rL as b4,k3 as b5,c7e as b6,lRe as b7,Y7e as b8,X7e as b9,DTe as bA,e9e as bB,d7e as bC,XDe as bD,a9e as bE,n9e as bF,vne as bG,r9e as bH,QTe as bI,I7e as bJ,QDe as bK,XE as bL,BRe as bM,YDe as bN,sPe as bO,D7e as bP,L7e as bQ,Fh as bR,Ene as bS,oDe as bT,pRe as bU,DDe as bV,kDe as bW,j5e as bX,Qj as bY,C9e as bZ,Tne as b_,Z7e as ba,COe as bb,cRe as bc,J7e as bd,Q7e as be,eDe as bf,wle as bg,x7e as bh,C7e as bi,t4e as bj,dj as bk,oPe as bl,e5e as bm,rse as bn,n4e as bo,p4e as bp,h4e as bq,aA as br,Hae as bs,iPe as bt,dse as bu,QOe as bv,u7e as bw,YIe as bx,JDe as by,t9e as bz,_d as c,$De as c$,QV as c0,m9e as c1,p9e as c2,lie as c3,iie as c4,ef as c5,qn as c6,O1 as c7,H$ as c8,lbe as c9,N8e as cA,_V as cB,bDe as cC,SDe as cD,yDe as cE,pz as cF,gDe as cG,Ke as cH,cA as cI,nPe as cJ,CDe as cK,bRe as cL,rPe as cM,wDe as cN,vDe as cO,ARe as cP,RL as cQ,mRe as cR,fPe as cS,zDe as cT,xV as cU,FDe as cV,Ks as cW,A9e as cX,sW as cY,HDe as cZ,OOe as c_,mbe as ca,ybe as cb,xbe as cc,bbe as cd,Sbe as ce,Nr as cf,Ebe as cg,K7 as ch,wbe as ci,moe as cj,z8e as ck,dre as cl,mre as cm,fre as cn,Cre as co,qy as cp,Vy as cq,h9e as cr,Dp as cs,wae as ct,xae as cu,cne as cv,dPe as cw,hz as cx,h5 as cy,O8e as cz,dT as d,_De as d$,BDe as d0,g4e as d1,$Re as d2,P7e as d3,rDe as d4,wV as d5,ATe as d6,b9e as d7,S9e as d8,Xse as d9,vae as dA,uPe as dB,W8e as dC,Joe as dD,wPe as dE,w9e as dF,x9e as dG,dDe as dH,lDe as dI,qDe as dJ,KDe as dK,CRe as dL,VDe as dM,WDe as dN,GDe as dO,VOe as dP,hDe as dQ,NDe as dR,uDe as dS,h7e as dT,f7e as dU,iDe as dV,MDe as dW,ODe as dX,RDe as dY,pDe as dZ,EDe as d_,Qse as da,soe as db,lPe as dc,foe as dd,doe as de,uN as df,hoe as dg,ioe as dh,IDe as di,nne as dj,Xte as dk,F8e as dl,K8e as dm,H8e as dn,U8e as dp,rne as dq,Cz as dr,D8e as ds,hre as dt,coe as du,bae as dv,cPe as dw,Sz as dx,mse as dy,gne as dz,Ot as e,L8e as e$,xDe as e0,AT as e1,PDe as e2,Vv as e3,ane as e4,TDe as e5,rRe as e6,Vk as e7,jDe as e8,s9e as e9,Ane as eA,E7e as eB,_7e as eC,JTe as eD,A7e as eE,k7e as eF,B7e as eG,K7e as eH,lc as eI,d5e as eJ,g9e as eK,U7e as eL,fDe as eM,q7e as eN,V7e as eO,W7e as eP,G7e as eQ,H7e as eR,fTe as eS,T7e as eT,O7e as eU,R7e as eV,aPe as eW,S7e as eX,XTe as eY,b7e as eZ,w7e as e_,MTe as ea,NTe as eb,CV as ec,HOe as ed,qOe as ee,I5e as ef,I9e as eg,pPe as eh,$v as ei,gPe as ej,mPe as ek,vPe as el,yPe as em,_9e as en,P8e as eo,O5e as ep,hPe as eq,G8e as er,Cw as es,CPe as et,xPe as eu,_be as ev,V8e as ew,cDe as ex,_3 as ey,nse as ez,Kt as f,YTe as f0,q8e as f1,E9e as f2,xRe as f3,mT as f4,z7e as f5,$7e as f6,j7e as f7,vNe as f8,F7e as f9,bNe as fa,Q8e as fb,tPe as fc,hne as fd,_ae as fe,X8e as ff,Y8e as fg,Z8e as fh,b3 as g,Lc as h,pI as i,C as j,nDe as k,y7e as l,N7e as m,m7e as n,SV as o,c9e as p,l7e as q,_ as r,fA as s,Pe as t,Qs as u,Kk as v,Mv as w,$8e as x,_r as y,bwe as z};
293
+ or you can use record.mirror to access the mirror instance during recording.`;let B9={map:{},getId(){return console.error(Zu),-1},getNode(){return console.error(Zu),null},removeNodeFromMap(){console.error(Zu)},has(){return console.error(Zu),!1},reset(){console.error(Zu)}};typeof window<"u"&&window.Proxy&&window.Reflect&&(B9=new Proxy(B9,{get(e,t,n){return t==="map"&&console.error(Zu),Reflect.get(e,t,n)}}));function Mp(e,t,n={}){let r=null,a=0;return function(...s){const i=Date.now();!a&&n.leading===!1&&(a=i);const c=t-(i-a),u=this;c<=0||c>t?(r&&(clearTimeout(r),r=null),a=i,e.apply(u,s)):!r&&n.trailing!==!1&&(r=setTimeout(()=>{a=n.leading===!1?0:Date.now(),r=null,e.apply(u,s)},c))}}function $y(e,t,n,r,a=window){const s=a.Object.getOwnPropertyDescriptor(e,t);return a.Object.defineProperty(e,t,r?n:{set(i){setTimeout(()=>{n.set.call(this,i)},0),s&&s.set&&s.set.call(this,i)}}),()=>$y(e,t,s||{},!0)}let sv=Date.now;/[1-9][0-9]{12}/.test(Date.now().toString())||(sv=()=>new Date().getTime());function Vq(e){var t,n,r,a;const s=e.document;return{left:s.scrollingElement?s.scrollingElement.scrollLeft:e.pageXOffset!==void 0?e.pageXOffset:s.documentElement.scrollLeft||s?.body&&((t=ct.parentElement(s.body))==null?void 0:t.scrollLeft)||((n=s?.body)==null?void 0:n.scrollLeft)||0,top:s.scrollingElement?s.scrollingElement.scrollTop:e.pageYOffset!==void 0?e.pageYOffset:s?.documentElement.scrollTop||s?.body&&((r=ct.parentElement(s.body))==null?void 0:r.scrollTop)||((a=s?.body)==null?void 0:a.scrollTop)||0}}function Wq(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Gq(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Kq(e){return e?e.nodeType===e.ELEMENT_NODE?e:ct.parentElement(e):null}function Pr(e,t,n,r){if(!e)return!1;const a=Kq(e);if(!a)return!1;try{if(typeof t=="string"){if(a.classList.contains(t)||r&&a.closest("."+t)!==null)return!0}else if(Z1(a,t,r))return!0}catch{}return!!(n&&(a.matches(n)||r&&a.closest(n)!==null))}function mAe(e,t){return t.getId(e)!==-1}function GE(e,t,n){return e.tagName==="TITLE"&&n.headTitleMutations?!0:t.getId(e)===Ep}function Yq(e,t){if(Xh(e))return!1;const n=t.getId(e);if(!t.has(n))return!0;const r=ct.parentNode(e);return r&&r.nodeType===e.DOCUMENT_NODE?!1:r?Yq(r,t):!0}function Z_(e){return!!e.changedTouches}function gAe(e=window){"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}function Zq(e,t){return!!(e.nodeName==="IFRAME"&&t.getMeta(e))}function Xq(e,t){return!!(e.nodeName==="LINK"&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&e.getAttribute("rel")==="stylesheet"&&t.getMeta(e))}function X_(e){return e?e instanceof lT&&"shadowRoot"in e?!!e.shadowRoot:!!ct.shadowRoot(e):!1}class vAe{constructor(){Ee(this,"id",1),Ee(this,"styleIDMap",new WeakMap),Ee(this,"idStyleMap",new Map)}getId(t){return this.styleIDMap.get(t)??-1}has(t){return this.styleIDMap.has(t)}add(t,n){if(this.has(t))return this.getId(t);let r;return n===void 0?r=this.id++:r=n,this.styleIDMap.set(t,r),this.idStyleMap.set(r,t),r}getStyle(t){return this.idStyleMap.get(t)||null}reset(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1}generateId(){return this.id++}}function Qq(e){var t;let n=null;return"getRootNode"in e&&((t=ct.getRootNode(e))==null?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&ct.host(ct.getRootNode(e))&&(n=ct.host(ct.getRootNode(e))),n}function yAe(e){let t=e,n;for(;n=Qq(t);)t=n;return t}function bAe(e){const t=ct.ownerDocument(e);if(!t)return!1;const n=yAe(e);return ct.contains(t,n)}function Jq(e){const t=ct.ownerDocument(e);return t?ct.contains(t,e)||bAe(e):!1}var kt=(e=>(e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e))(kt||{}),vt=(e=>(e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e))(vt||{}),Kr=(e=>(e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e))(Kr||{}),To=(e=>(e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e))(To||{}),Pd=(e=>(e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e))(Pd||{}),Xu=(e=>(e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e))(Xu||{}),eV=(e=>(e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e))(eV||{});function H9(e){return"__ln"in e}class SAe{constructor(){Ee(this,"length",0),Ee(this,"head",null),Ee(this,"tail",null)}get(t){if(t>=this.length)throw new Error("Position outside of list range");let n=this.head;for(let r=0;r<t;r++)n=n?.next||null;return n}addNode(t){const n={value:t,previous:null,next:null};if(t.__ln=n,t.previousSibling&&H9(t.previousSibling)){const r=t.previousSibling.__ln.next;n.next=r,n.previous=t.previousSibling.__ln,t.previousSibling.__ln.next=n,r&&(r.previous=n)}else if(t.nextSibling&&H9(t.nextSibling)&&t.nextSibling.__ln.previous){const r=t.nextSibling.__ln.previous;n.previous=r,n.next=t.nextSibling.__ln,t.nextSibling.__ln.previous=n,r&&(r.next=n)}else this.head&&(this.head.previous=n),n.next=this.head,this.head=n;n.next===null&&(this.tail=n),this.length++}removeNode(t){const n=t.__ln;this.head&&(n.previous?(n.previous.next=n.next,n.next?n.next.previous=n.previous:this.tail=n.previous):(this.head=n.next,this.head?this.head.previous=null:this.tail=null),t.__ln&&delete t.__ln,this.length--)}}const q9=(e,t)=>`${e}@${t}`;class wAe{constructor(){Ee(this,"frozen",!1),Ee(this,"locked",!1),Ee(this,"texts",[]),Ee(this,"attributes",[]),Ee(this,"attributeMap",new WeakMap),Ee(this,"removes",[]),Ee(this,"mapRemoves",[]),Ee(this,"movedMap",{}),Ee(this,"addedSet",new Set),Ee(this,"movedSet",new Set),Ee(this,"droppedSet",new Set),Ee(this,"removesSubTreeCache",new Set),Ee(this,"mutationCb"),Ee(this,"blockClass"),Ee(this,"blockSelector"),Ee(this,"maskTextClass"),Ee(this,"maskTextSelector"),Ee(this,"inlineStylesheet"),Ee(this,"maskInputOptions"),Ee(this,"maskTextFn"),Ee(this,"maskInputFn"),Ee(this,"keepIframeSrcFn"),Ee(this,"recordCanvas"),Ee(this,"inlineImages"),Ee(this,"slimDOMOptions"),Ee(this,"dataURLOptions"),Ee(this,"doc"),Ee(this,"mirror"),Ee(this,"iframeManager"),Ee(this,"stylesheetManager"),Ee(this,"shadowDomManager"),Ee(this,"canvasManager"),Ee(this,"processedNodeManager"),Ee(this,"unattachedDoc"),Ee(this,"processMutations",t=>{t.forEach(this.processMutation),this.emit()}),Ee(this,"emit",()=>{if(this.frozen||this.locked)return;const t=[],n=new Set,r=new SAe,a=u=>{let f=u,h=Ep;for(;h===Ep;)f=f&&f.nextSibling,h=f&&this.mirror.getId(f);return h},s=u=>{const f=ct.parentNode(u);if(!f||!Jq(u))return;let h=!1;if(u.nodeType===Node.TEXT_NODE){const w=f.tagName;if(w==="TEXTAREA")return;w==="STYLE"&&this.addedSet.has(f)&&(h=!0)}const m=Xh(f)?this.mirror.getId(Qq(u)):this.mirror.getId(f),g=a(u);if(m===-1||g===-1)return r.addNode(u);const y=od(u,{doc:this.doc,mirror:this.mirror,blockClass:this.blockClass,blockSelector:this.blockSelector,maskTextClass:this.maskTextClass,maskTextSelector:this.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:this.inlineStylesheet,maskInputOptions:this.maskInputOptions,maskTextFn:this.maskTextFn,maskInputFn:this.maskInputFn,slimDOMOptions:this.slimDOMOptions,dataURLOptions:this.dataURLOptions,recordCanvas:this.recordCanvas,inlineImages:this.inlineImages,onSerialize:w=>{Zq(w,this.mirror)&&this.iframeManager.addIframe(w),Xq(w,this.mirror)&&this.stylesheetManager.trackLinkElement(w),X_(u)&&this.shadowDomManager.addShadowRoot(ct.shadowRoot(u),this.doc)},onIframeLoad:(w,b)=>{this.iframeManager.attachIframe(w,b),this.shadowDomManager.observeAttachShadow(w)},onStylesheetLoad:(w,b)=>{this.stylesheetManager.attachLinkElement(w,b)},cssCaptured:h});y&&(t.push({parentId:m,nextId:g,node:y}),n.add(y.id))};for(;this.mapRemoves.length;)this.mirror.removeNodeFromMap(this.mapRemoves.shift());for(const u of this.movedSet)V9(this.removesSubTreeCache,u,this.mirror)&&!this.movedSet.has(ct.parentNode(u))||s(u);for(const u of this.addedSet)!W9(this.droppedSet,u)&&!V9(this.removesSubTreeCache,u,this.mirror)||W9(this.movedSet,u)?s(u):this.droppedSet.add(u);let i=null;for(;r.length;){let u=null;if(i){const f=this.mirror.getId(ct.parentNode(i.value)),h=a(i.value);f!==-1&&h!==-1&&(u=i)}if(!u){let f=r.tail;for(;f;){const h=f;if(f=f.previous,h){const m=this.mirror.getId(ct.parentNode(h.value));if(a(h.value)===-1)continue;if(m!==-1){u=h;break}else{const y=h.value,w=ct.parentNode(y);if(w&&w.nodeType===Node.DOCUMENT_FRAGMENT_NODE){const b=ct.host(w);if(this.mirror.getId(b)!==-1){u=h;break}}}}}}if(!u){for(;r.head;)r.removeNode(r.head.value);break}i=u.previous,r.removeNode(u.value),s(u.value)}const c={texts:this.texts.map(u=>{const f=u.node,h=ct.parentNode(f);return h&&h.tagName==="TEXTAREA"&&this.genTextAreaValueMutation(h),{id:this.mirror.getId(f),value:u.value}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),attributes:this.attributes.map(u=>{const{attributes:f}=u;if(typeof f.style=="string"){const h=JSON.stringify(u.styleDiff),m=JSON.stringify(u._unchangedStyles);h.length<f.style.length&&(h+m).split("var(").length===f.style.split("var(").length&&(f.style=u.styleDiff)}return{id:this.mirror.getId(u.node),attributes:f}}).filter(u=>!n.has(u.id)).filter(u=>this.mirror.has(u.id)),removes:this.removes,adds:t};!c.texts.length&&!c.attributes.length&&!c.removes.length&&!c.adds.length||(this.texts=[],this.attributes=[],this.attributeMap=new WeakMap,this.removes=[],this.addedSet=new Set,this.movedSet=new Set,this.droppedSet=new Set,this.removesSubTreeCache=new Set,this.movedMap={},this.mutationCb(c))}),Ee(this,"genTextAreaValueMutation",t=>{let n=this.attributeMap.get(t);n||(n={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(n),this.attributeMap.set(t,n));const r=Array.from(ct.childNodes(t),a=>ct.textContent(a)||"").join("");n.attributes.value=G1({element:t,maskInputOptions:this.maskInputOptions,tagName:t.tagName,type:K1(t),value:r,maskInputFn:this.maskInputFn})}),Ee(this,"processMutation",t=>{if(!GE(t.target,this.mirror,this.slimDOMOptions))switch(t.type){case"characterData":{const n=ct.textContent(t.target);!Pr(t.target,this.blockClass,this.blockSelector,!1)&&n!==t.oldValue&&this.texts.push({value:CH(t.target,this.maskTextClass,this.maskTextSelector,!0)&&n?this.maskTextFn?this.maskTextFn(n,Kq(t.target)):n.replace(/[\S]/g,"*"):n,node:t.target});break}case"attributes":{const n=t.target;let r=t.attributeName,a=t.target.getAttribute(r);if(r==="value"){const i=K1(n);a=G1({element:n,maskInputOptions:this.maskInputOptions,tagName:n.tagName,type:i,value:a,maskInputFn:this.maskInputFn})}if(Pr(t.target,this.blockClass,this.blockSelector,!1)||a===t.oldValue)return;let s=this.attributeMap.get(t.target);if(n.tagName==="IFRAME"&&r==="src"&&!this.keepIframeSrcFn(a))if(!n.contentDocument)r="rr_src";else return;if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},this.attributes.push(s),this.attributeMap.set(t.target,s)),r==="type"&&n.tagName==="INPUT"&&(t.oldValue||"").toLowerCase()==="password"&&n.setAttribute("data-rr-is-password","true"),!xH(n.tagName,r))if(s.attributes[r]=wH(this.doc,Cc(n.tagName),Cc(r),a),r==="style"){if(!this.unattachedDoc)try{this.unattachedDoc=document.implementation.createHTMLDocument()}catch{this.unattachedDoc=this.doc}const i=this.unattachedDoc.createElement("span");t.oldValue&&i.setAttribute("style",t.oldValue);for(const c of Array.from(n.style)){const u=n.style.getPropertyValue(c),f=n.style.getPropertyPriority(c);u!==i.style.getPropertyValue(c)||f!==i.style.getPropertyPriority(c)?f===""?s.styleDiff[c]=u:s.styleDiff[c]=[u,f]:s._unchangedStyles[c]=[u,f]}for(const c of Array.from(i.style))n.style.getPropertyValue(c)===""&&(s.styleDiff[c]=!1)}else r==="open"&&n.tagName==="DIALOG"&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break}case"childList":{if(Pr(t.target,this.blockClass,this.blockSelector,!0))return;if(t.target.tagName==="TEXTAREA"){this.genTextAreaValueMutation(t.target);return}t.addedNodes.forEach(n=>this.genAdds(n,t.target)),t.removedNodes.forEach(n=>{const r=this.mirror.getId(n),a=Xh(t.target)?this.mirror.getId(ct.host(t.target)):this.mirror.getId(t.target);Pr(t.target,this.blockClass,this.blockSelector,!1)||GE(n,this.mirror,this.slimDOMOptions)||!mAe(n,this.mirror)||(this.addedSet.has(n)?(Q_(this.addedSet,n),this.droppedSet.add(n)):this.addedSet.has(t.target)&&r===-1||Yq(t.target,this.mirror)||(this.movedSet.has(n)&&this.movedMap[q9(r,a)]?Q_(this.movedSet,n):(this.removes.push({parentId:a,id:r,isShadow:Xh(t.target)&&Qh(t.target)?!0:void 0}),xAe(n,this.removesSubTreeCache))),this.mapRemoves.push(n))});break}}}),Ee(this,"genAdds",(t,n)=>{if(!this.processedNodeManager.inOtherBuffer(t,this)&&!(this.addedSet.has(t)||this.movedSet.has(t))){if(this.mirror.hasNode(t)){if(GE(t,this.mirror,this.slimDOMOptions))return;this.movedSet.add(t);let r=null;n&&this.mirror.hasNode(n)&&(r=this.mirror.getId(n)),r&&r!==-1&&(this.movedMap[q9(this.mirror.getId(t),r)]=!0)}else this.addedSet.add(t),this.droppedSet.delete(t);Pr(t,this.blockClass,this.blockSelector,!1)||(ct.childNodes(t).forEach(r=>this.genAdds(r)),X_(t)&&ct.childNodes(ct.shadowRoot(t)).forEach(r=>{this.processedNodeManager.add(r,this),this.genAdds(r,t)}))}})}init(t){["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(n=>{this[n]=t[n]})}freeze(){this.frozen=!0,this.canvasManager.freeze()}unfreeze(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()}isFrozen(){return this.frozen}lock(){this.locked=!0,this.canvasManager.lock()}unlock(){this.locked=!1,this.canvasManager.unlock(),this.emit()}reset(){this.shadowDomManager.reset(),this.canvasManager.reset()}}function Q_(e,t){e.delete(t),ct.childNodes(t).forEach(n=>Q_(e,n))}function xAe(e,t){const n=[e];for(;n.length;){const r=n.pop();t.has(r)||(t.add(r),ct.childNodes(r).forEach(a=>n.push(a)))}}function V9(e,t,n){return e.size===0?!1:CAe(e,t)}function CAe(e,t,n){const r=ct.parentNode(t);return r?e.has(r):!1}function W9(e,t){return e.size===0?!1:tV(e,t)}function tV(e,t){const n=ct.parentNode(t);return n?e.has(n)?!0:tV(e,n):!1}let Jh;function EAe(e){Jh=e}function _Ae(){Jh=void 0}const wt=e=>Jh?(...n)=>{try{return e(...n)}catch(r){if(Jh&&Jh(r)===!0)return;throw r}}:e,ec=[];function om(e){try{if("composedPath"in e){const t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch{}return e&&e.target}function nV(e,t){const n=new wAe;ec.push(n),n.init(e);const r=new(qq())(wt(n.processMutations.bind(n)));return r.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),r}function kAe({mousemoveCb:e,sampling:t,doc:n,mirror:r}){if(t.mousemove===!1)return()=>{};const a=typeof t.mousemove=="number"?t.mousemove:50,s=typeof t.mousemoveCallback=="number"?t.mousemoveCallback:500;let i=[],c;const u=Mp(wt(m=>{const g=Date.now()-c;e(i.map(y=>(y.timeOffset-=g,y)),m),i=[],c=null}),s),f=wt(Mp(wt(m=>{const g=om(m),{clientX:y,clientY:w}=Z_(m)?m.changedTouches[0]:m;c||(c=sv()),i.push({x:y,y:w,id:r.getId(g),timeOffset:sv()-c}),u(typeof DragEvent<"u"&&m instanceof DragEvent?vt.Drag:m instanceof MouseEvent?vt.MouseMove:vt.TouchMove)}),a,{trailing:!1})),h=[Mr("mousemove",f,n),Mr("touchmove",f,n),Mr("drag",f,n)];return wt(()=>{h.forEach(m=>m())})}function AAe({mouseInteractionCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){if(s.mouseInteraction===!1)return()=>{};const i=s.mouseInteraction===!0||s.mouseInteraction===void 0?{}:s.mouseInteraction,c=[];let u=null;const f=h=>m=>{const g=om(m);if(Pr(g,r,a,!0))return;let y=null,w=h;if("pointerType"in m){switch(m.pointerType){case"mouse":y=To.Mouse;break;case"touch":y=To.Touch;break;case"pen":y=To.Pen;break}y===To.Touch?Kr[h]===Kr.MouseDown?w="TouchStart":Kr[h]===Kr.MouseUp&&(w="TouchEnd"):To.Pen}else Z_(m)&&(y=To.Touch);y!==null?(u=y,(w.startsWith("Touch")&&y===To.Touch||w.startsWith("Mouse")&&y===To.Mouse)&&(y=null)):Kr[h]===Kr.Click&&(y=u,u=null);const b=Z_(m)?m.changedTouches[0]:m;if(!b)return;const x=n.getId(g),{clientX:E,clientY:k}=b;wt(e)({type:Kr[w],id:x,x:E,y:k,...y!==null&&{pointerType:y}})};return Object.keys(Kr).filter(h=>Number.isNaN(Number(h))&&!h.endsWith("_Departed")&&i[h]!==!1).forEach(h=>{let m=Cc(h);const g=f(h);if(window.PointerEvent)switch(Kr[h]){case Kr.MouseDown:case Kr.MouseUp:m=m.replace("mouse","pointer");break;case Kr.TouchStart:case Kr.TouchEnd:return}c.push(Mr(m,g,t))}),wt(()=>{c.forEach(h=>h())})}function rV({scrollCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,sampling:s}){const i=wt(Mp(wt(c=>{const u=om(c);if(!u||Pr(u,r,a,!0))return;const f=n.getId(u);if(u===t&&t.defaultView){const h=Vq(t.defaultView);e({id:f,x:h.left,y:h.top})}else e({id:f,x:u.scrollLeft,y:u.scrollTop})}),s.scroll||100));return Mr("scroll",i,t)}function IAe({viewportResizeCb:e},{win:t}){let n=-1,r=-1;const a=wt(Mp(wt(()=>{const s=Wq(),i=Gq();(n!==s||r!==i)&&(e({width:Number(i),height:Number(s)}),n=s,r=i)}),200));return Mr("resize",a,t)}const TAe=["INPUT","TEXTAREA","SELECT"],G9=new WeakMap;function RAe({inputCb:e,doc:t,mirror:n,blockClass:r,blockSelector:a,ignoreClass:s,ignoreSelector:i,maskInputOptions:c,maskInputFn:u,sampling:f,userTriggeredOnInput:h}){function m(k){let A=om(k);const R=k.isTrusted,P=A&&A.tagName;if(A&&P==="OPTION"&&(A=ct.parentElement(A)),!A||!P||TAe.indexOf(P)<0||Pr(A,r,a,!0)||A.classList.contains(s)||i&&A.matches(i))return;let O=A.value,T=!1;const M=K1(A)||"";M==="radio"||M==="checkbox"?T=A.checked:(c[P.toLowerCase()]||c[M])&&(O=G1({element:A,maskInputOptions:c,tagName:P,type:M,value:O,maskInputFn:u})),g(A,h?{text:O,isChecked:T,userTriggered:R}:{text:O,isChecked:T});const z=A.name;M==="radio"&&z&&T&&t.querySelectorAll(`input[type="radio"][name="${z}"]`).forEach(q=>{if(q!==A){const U=q.value;g(q,h?{text:U,isChecked:!T,userTriggered:!1}:{text:U,isChecked:!T})}})}function g(k,A){const R=G9.get(k);if(!R||R.text!==A.text||R.isChecked!==A.isChecked){G9.set(k,A);const P=n.getId(k);wt(e)({...A,id:P})}}const w=(f.input==="last"?["change"]:["input","change"]).map(k=>Mr(k,wt(m),t)),b=t.defaultView;if(!b)return()=>{w.forEach(k=>k())};const x=b.Object.getOwnPropertyDescriptor(b.HTMLInputElement.prototype,"value"),E=[[b.HTMLInputElement.prototype,"value"],[b.HTMLInputElement.prototype,"checked"],[b.HTMLSelectElement.prototype,"value"],[b.HTMLTextAreaElement.prototype,"value"],[b.HTMLSelectElement.prototype,"selectedIndex"],[b.HTMLOptionElement.prototype,"selected"]];return x&&x.set&&w.push(...E.map(k=>$y(k[0],k[1],{set(){wt(m)({target:this,isTrusted:!1})}},!1,b))),wt(()=>{w.forEach(k=>k())})}function ov(e){const t=[];function n(r,a){if(k0("CSSGroupingRule")&&r.parentRule instanceof CSSGroupingRule||k0("CSSMediaRule")&&r.parentRule instanceof CSSMediaRule||k0("CSSSupportsRule")&&r.parentRule instanceof CSSSupportsRule||k0("CSSConditionRule")&&r.parentRule instanceof CSSConditionRule){const i=Array.from(r.parentRule.cssRules).indexOf(r);a.unshift(i)}else if(r.parentStyleSheet){const i=Array.from(r.parentStyleSheet.cssRules).indexOf(r);a.unshift(i)}return a}return n(e,t)}function qi(e,t,n){let r,a;return e?(e.ownerNode?r=t.getId(e.ownerNode):a=n.getId(e),{styleId:a,id:r}):{}}function OAe({styleSheetRuleCb:e,mirror:t,stylesheetManager:n},{win:r}){if(!r.CSSStyleSheet||!r.CSSStyleSheet.prototype)return()=>{};const a=r.CSSStyleSheet.prototype.insertRule;r.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:wt((h,m,g)=>{const[y,w]=g,{id:b,styleId:x}=qi(m,t,n.styleMirror);return(b&&b!==-1||x&&x!==-1)&&e({id:b,styleId:x,adds:[{rule:y,index:w}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.addRule=function(h,m,g=this.cssRules.length){const y=`${h} { ${m} }`;return r.CSSStyleSheet.prototype.insertRule.apply(this,[y,g])};const s=r.CSSStyleSheet.prototype.deleteRule;r.CSSStyleSheet.prototype.deleteRule=new Proxy(s,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,removes:[{index:y}]}),h.apply(m,g)})}),r.CSSStyleSheet.prototype.removeRule=function(h){return r.CSSStyleSheet.prototype.deleteRule.apply(this,[h])};let i;r.CSSStyleSheet.prototype.replace&&(i=r.CSSStyleSheet.prototype.replace,r.CSSStyleSheet.prototype.replace=new Proxy(i,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,replace:y}),h.apply(m,g)})}));let c;r.CSSStyleSheet.prototype.replaceSync&&(c=r.CSSStyleSheet.prototype.replaceSync,r.CSSStyleSheet.prototype.replaceSync=new Proxy(c,{apply:wt((h,m,g)=>{const[y]=g,{id:w,styleId:b}=qi(m,t,n.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,replaceSync:y}),h.apply(m,g)})}));const u={};A0("CSSGroupingRule")?u.CSSGroupingRule=r.CSSGroupingRule:(A0("CSSMediaRule")&&(u.CSSMediaRule=r.CSSMediaRule),A0("CSSConditionRule")&&(u.CSSConditionRule=r.CSSConditionRule),A0("CSSSupportsRule")&&(u.CSSSupportsRule=r.CSSSupportsRule));const f={};return Object.entries(u).forEach(([h,m])=>{f[h]={insertRule:m.prototype.insertRule,deleteRule:m.prototype.deleteRule},m.prototype.insertRule=new Proxy(f[h].insertRule,{apply:wt((g,y,w)=>{const[b,x]=w,{id:E,styleId:k}=qi(y.parentStyleSheet,t,n.styleMirror);return(E&&E!==-1||k&&k!==-1)&&e({id:E,styleId:k,adds:[{rule:b,index:[...ov(y),x||0]}]}),g.apply(y,w)})}),m.prototype.deleteRule=new Proxy(f[h].deleteRule,{apply:wt((g,y,w)=>{const[b]=w,{id:x,styleId:E}=qi(y.parentStyleSheet,t,n.styleMirror);return(x&&x!==-1||E&&E!==-1)&&e({id:x,styleId:E,removes:[{index:[...ov(y),b]}]}),g.apply(y,w)})})}),wt(()=>{r.CSSStyleSheet.prototype.insertRule=a,r.CSSStyleSheet.prototype.deleteRule=s,i&&(r.CSSStyleSheet.prototype.replace=i),c&&(r.CSSStyleSheet.prototype.replaceSync=c),Object.entries(u).forEach(([h,m])=>{m.prototype.insertRule=f[h].insertRule,m.prototype.deleteRule=f[h].deleteRule})})}function aV({mirror:e,stylesheetManager:t},n){var r,a,s;let i=null;n.nodeName==="#document"?i=e.getId(n):i=e.getId(ct.host(n));const c=n.nodeName==="#document"?(r=n.defaultView)==null?void 0:r.Document:(s=(a=n.ownerDocument)==null?void 0:a.defaultView)==null?void 0:s.ShadowRoot,u=c?.prototype?Object.getOwnPropertyDescriptor(c?.prototype,"adoptedStyleSheets"):void 0;return i===null||i===-1||!c||!u?()=>{}:(Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get(){var f;return(f=u.get)==null?void 0:f.call(this)},set(f){var h;const m=(h=u.set)==null?void 0:h.call(this,f);if(i!==null&&i!==-1)try{t.adoptStyleSheets(f,i)}catch{}return m}}),wt(()=>{Object.defineProperty(n,"adoptedStyleSheets",{configurable:u.configurable,enumerable:u.enumerable,get:u.get,set:u.set})}))}function NAe({styleDeclarationCb:e,mirror:t,ignoreCSSAttributes:n,stylesheetManager:r},{win:a}){const s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:wt((c,u,f)=>{var h;const[m,g,y]=f;if(n.has(m))return s.apply(u,[m,g,y]);const{id:w,styleId:b}=qi((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(w&&w!==-1||b&&b!==-1)&&e({id:w,styleId:b,set:{property:m,value:g,priority:y},index:ov(u.parentRule)}),c.apply(u,f)})});const i=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(i,{apply:wt((c,u,f)=>{var h;const[m]=f;if(n.has(m))return i.apply(u,[m]);const{id:g,styleId:y}=qi((h=u.parentRule)==null?void 0:h.parentStyleSheet,t,r.styleMirror);return(g&&g!==-1||y&&y!==-1)&&e({id:g,styleId:y,remove:{property:m},index:ov(u.parentRule)}),c.apply(u,f)})}),wt(()=>{a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=i})}function MAe({mediaInteractionCb:e,blockClass:t,blockSelector:n,mirror:r,sampling:a,doc:s}){const i=wt(u=>Mp(wt(f=>{const h=om(f);if(!h||Pr(h,t,n,!0))return;const{currentTime:m,volume:g,muted:y,playbackRate:w,loop:b}=h;e({type:u,id:r.getId(h),currentTime:m,volume:g,muted:y,playbackRate:w,loop:b})}),a.media||500)),c=[Mr("play",i(Xu.Play),s),Mr("pause",i(Xu.Pause),s),Mr("seeked",i(Xu.Seeked),s),Mr("volumechange",i(Xu.VolumeChange),s),Mr("ratechange",i(Xu.RateChange),s)];return wt(()=>{c.forEach(u=>u())})}function PAe({fontCb:e,doc:t}){const n=t.defaultView;if(!n)return()=>{};const r=[],a=new WeakMap,s=n.FontFace;n.FontFace=function(u,f,h){const m=new s(u,f,h);return a.set(m,{family:u,buffer:typeof f!="string",descriptors:h,fontSource:typeof f=="string"?f:JSON.stringify(Array.from(new Uint8Array(f)))}),m};const i=$c(t.fonts,"add",function(c){return function(u){return setTimeout(wt(()=>{const f=a.get(u);f&&(e(f),a.delete(u))}),0),c.apply(this,[u])}});return r.push(()=>{n.FontFace=s}),r.push(i),wt(()=>{r.forEach(c=>c())})}function DAe(e){const{doc:t,mirror:n,blockClass:r,blockSelector:a,selectionCb:s}=e;let i=!0;const c=wt(()=>{const u=t.getSelection();if(!u||i&&u?.isCollapsed)return;i=u.isCollapsed||!1;const f=[],h=u.rangeCount||0;for(let m=0;m<h;m++){const g=u.getRangeAt(m),{startContainer:y,startOffset:w,endContainer:b,endOffset:x}=g;Pr(y,r,a,!0)||Pr(b,r,a,!0)||f.push({start:n.getId(y),startOffset:w,end:n.getId(b),endOffset:x})}s({ranges:f})});return c(),Mr("selectionchange",c)}function LAe({doc:e,customElementCb:t}){const n=e.defaultView;return!n||!n.customElements?()=>{}:$c(n.customElements,"define",function(a){return function(s,i,c){try{t({define:{name:s}})}catch{console.warn(`Custom element callback failed for ${s}`)}return a.apply(this,[s,i,c])}})}function UAe(e,t){const{mutationCb:n,mousemoveCb:r,mouseInteractionCb:a,scrollCb:s,viewportResizeCb:i,inputCb:c,mediaInteractionCb:u,styleSheetRuleCb:f,styleDeclarationCb:h,canvasMutationCb:m,fontCb:g,selectionCb:y,customElementCb:w}=e;e.mutationCb=(...b)=>{t.mutation&&t.mutation(...b),n(...b)},e.mousemoveCb=(...b)=>{t.mousemove&&t.mousemove(...b),r(...b)},e.mouseInteractionCb=(...b)=>{t.mouseInteraction&&t.mouseInteraction(...b),a(...b)},e.scrollCb=(...b)=>{t.scroll&&t.scroll(...b),s(...b)},e.viewportResizeCb=(...b)=>{t.viewportResize&&t.viewportResize(...b),i(...b)},e.inputCb=(...b)=>{t.input&&t.input(...b),c(...b)},e.mediaInteractionCb=(...b)=>{t.mediaInteaction&&t.mediaInteaction(...b),u(...b)},e.styleSheetRuleCb=(...b)=>{t.styleSheetRule&&t.styleSheetRule(...b),f(...b)},e.styleDeclarationCb=(...b)=>{t.styleDeclaration&&t.styleDeclaration(...b),h(...b)},e.canvasMutationCb=(...b)=>{t.canvasMutation&&t.canvasMutation(...b),m(...b)},e.fontCb=(...b)=>{t.font&&t.font(...b),g(...b)},e.selectionCb=(...b)=>{t.selection&&t.selection(...b),y(...b)},e.customElementCb=(...b)=>{t.customElement&&t.customElement(...b),w(...b)}}function zAe(e,t={}){const n=e.doc.defaultView;if(!n)return()=>{};UAe(e,t);let r;e.recordDOM&&(r=nV(e,e.doc));const a=kAe(e),s=AAe(e),i=rV(e),c=IAe(e,{win:n}),u=RAe(e),f=MAe(e);let h=()=>{},m=()=>{},g=()=>{},y=()=>{};e.recordDOM&&(h=OAe(e,{win:n}),m=aV(e,e.doc),g=NAe(e,{win:n}),e.collectFonts&&(y=PAe(e)));const w=DAe(e),b=LAe(e),x=[];for(const E of e.plugins)x.push(E.observer(E.callback,n,E.options));return wt(()=>{ec.forEach(E=>E.reset()),r?.disconnect(),a(),s(),i(),c(),u(),f(),h(),m(),g(),y(),w(),b(),x.forEach(E=>E())})}function k0(e){return typeof window[e]<"u"}function A0(e){return!!(typeof window[e]<"u"&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}class K9{constructor(t){Ee(this,"iframeIdToRemoteIdMap",new WeakMap),Ee(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=t}getId(t,n,r,a){const s=r||this.getIdToRemoteIdMap(t),i=a||this.getRemoteIdToIdMap(t);let c=s.get(n);return c||(c=this.generateIdFn(),s.set(n,c),i.set(c,n)),c}getIds(t,n){const r=this.getIdToRemoteIdMap(t),a=this.getRemoteIdToIdMap(t);return n.map(s=>this.getId(t,s,r,a))}getRemoteId(t,n,r){const a=r||this.getRemoteIdToIdMap(t);if(typeof n!="number")return n;const s=a.get(n);return s||-1}getRemoteIds(t,n){const r=this.getRemoteIdToIdMap(t);return n.map(a=>this.getRemoteId(t,a,r))}reset(t){if(!t){this.iframeIdToRemoteIdMap=new WeakMap,this.iframeRemoteIdToIdMap=new WeakMap;return}this.iframeIdToRemoteIdMap.delete(t),this.iframeRemoteIdToIdMap.delete(t)}getIdToRemoteIdMap(t){let n=this.iframeIdToRemoteIdMap.get(t);return n||(n=new Map,this.iframeIdToRemoteIdMap.set(t,n)),n}getRemoteIdToIdMap(t){let n=this.iframeRemoteIdToIdMap.get(t);return n||(n=new Map,this.iframeRemoteIdToIdMap.set(t,n)),n}}class jAe{constructor(t){Ee(this,"iframes",new WeakMap),Ee(this,"crossOriginIframeMap",new WeakMap),Ee(this,"crossOriginIframeMirror",new K9(SH)),Ee(this,"crossOriginIframeStyleMirror"),Ee(this,"crossOriginIframeRootIdMap",new WeakMap),Ee(this,"mirror"),Ee(this,"mutationCb"),Ee(this,"wrappedEmit"),Ee(this,"loadListener"),Ee(this,"stylesheetManager"),Ee(this,"recordCrossOriginIframes"),this.mutationCb=t.mutationCb,this.wrappedEmit=t.wrappedEmit,this.stylesheetManager=t.stylesheetManager,this.recordCrossOriginIframes=t.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new K9(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=t.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}addIframe(t){this.iframes.set(t,!0),t.contentWindow&&this.crossOriginIframeMap.set(t.contentWindow,t)}addLoadListener(t){this.loadListener=t}attachIframe(t,n){var r,a;this.mutationCb({adds:[{parentId:this.mirror.getId(t),nextId:null,node:n}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&((r=t.contentWindow)==null||r.addEventListener("message",this.handleMessage.bind(this))),(a=this.loadListener)==null||a.call(this,t),t.contentDocument&&t.contentDocument.adoptedStyleSheets&&t.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(t.contentDocument.adoptedStyleSheets,this.mirror.getId(t.contentDocument))}handleMessage(t){const n=t;if(n.data.type!=="rrweb"||n.origin!==n.data.origin||!t.source)return;const a=this.crossOriginIframeMap.get(t.source);if(!a)return;const s=this.transformCrossOriginEvent(a,n.data.event);s&&this.wrappedEmit(s,n.data.isCheckout)}transformCrossOriginEvent(t,n){var r;switch(n.type){case kt.FullSnapshot:{this.crossOriginIframeMirror.reset(t),this.crossOriginIframeStyleMirror.reset(t),this.replaceIdOnNode(n.data.node,t);const a=n.data.node.id;return this.crossOriginIframeRootIdMap.set(t,a),this.patchRootIdOnNode(n.data.node,a),{timestamp:n.timestamp,type:kt.IncrementalSnapshot,data:{source:vt.Mutation,adds:[{parentId:this.mirror.getId(t),nextId:null,node:n.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}}}case kt.Meta:case kt.Load:case kt.DomContentLoaded:return!1;case kt.Plugin:return n;case kt.Custom:return this.replaceIds(n.data.payload,t,["id","parentId","previousId","nextId"]),n;case kt.IncrementalSnapshot:switch(n.data.source){case vt.Mutation:return n.data.adds.forEach(a=>{this.replaceIds(a,t,["parentId","nextId","previousId"]),this.replaceIdOnNode(a.node,t);const s=this.crossOriginIframeRootIdMap.get(t);s&&this.patchRootIdOnNode(a.node,s)}),n.data.removes.forEach(a=>{this.replaceIds(a,t,["parentId","id"])}),n.data.attributes.forEach(a=>{this.replaceIds(a,t,["id"])}),n.data.texts.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case vt.Drag:case vt.TouchMove:case vt.MouseMove:return n.data.positions.forEach(a=>{this.replaceIds(a,t,["id"])}),n;case vt.ViewportResize:return!1;case vt.MediaInteraction:case vt.MouseInteraction:case vt.Scroll:case vt.CanvasMutation:case vt.Input:return this.replaceIds(n.data,t,["id"]),n;case vt.StyleSheetRule:case vt.StyleDeclaration:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleId"]),n;case vt.Font:return n;case vt.Selection:return n.data.ranges.forEach(a=>{this.replaceIds(a,t,["start","end"])}),n;case vt.AdoptedStyleSheet:return this.replaceIds(n.data,t,["id"]),this.replaceStyleIds(n.data,t,["styleIds"]),(r=n.data.styles)==null||r.forEach(a=>{this.replaceStyleIds(a,t,["styleId"])}),n}}return!1}replace(t,n,r,a){for(const s of a)!Array.isArray(n[s])&&typeof n[s]!="number"||(Array.isArray(n[s])?n[s]=t.getIds(r,n[s]):n[s]=t.getId(r,n[s]));return n}replaceIds(t,n,r){return this.replace(this.crossOriginIframeMirror,t,n,r)}replaceStyleIds(t,n,r){return this.replace(this.crossOriginIframeStyleMirror,t,n,r)}replaceIdOnNode(t,n){this.replaceIds(t,n,["id","rootId"]),"childNodes"in t&&t.childNodes.forEach(r=>{this.replaceIdOnNode(r,n)})}patchRootIdOnNode(t,n){t.type!==eV.Document&&!t.rootId&&(t.rootId=n),"childNodes"in t&&t.childNodes.forEach(r=>{this.patchRootIdOnNode(r,n)})}}class FAe{constructor(t){Ee(this,"shadowDoms",new WeakSet),Ee(this,"mutationCb"),Ee(this,"scrollCb"),Ee(this,"bypassOptions"),Ee(this,"mirror"),Ee(this,"restoreHandlers",[]),this.mutationCb=t.mutationCb,this.scrollCb=t.scrollCb,this.bypassOptions=t.bypassOptions,this.mirror=t.mirror,this.init()}init(){this.reset(),this.patchAttachShadow(Element,document)}addShadowRoot(t,n){if(!Qh(t)||this.shadowDoms.has(t))return;this.shadowDoms.add(t);const r=nV({...this.bypassOptions,doc:n,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this},t);this.restoreHandlers.push(()=>r.disconnect()),this.restoreHandlers.push(rV({...this.bypassOptions,scrollCb:this.scrollCb,doc:t,mirror:this.mirror})),setTimeout(()=>{t.adoptedStyleSheets&&t.adoptedStyleSheets.length>0&&this.bypassOptions.stylesheetManager.adoptStyleSheets(t.adoptedStyleSheets,this.mirror.getId(ct.host(t))),this.restoreHandlers.push(aV({mirror:this.mirror,stylesheetManager:this.bypassOptions.stylesheetManager},t))},0)}observeAttachShadow(t){!t.contentWindow||!t.contentDocument||this.patchAttachShadow(t.contentWindow.Element,t.contentDocument)}patchAttachShadow(t,n){const r=this;this.restoreHandlers.push($c(t.prototype,"attachShadow",function(a){return function(s){const i=a.call(this,s),c=ct.shadowRoot(this);return c&&Jq(this)&&r.addShadowRoot(c,n),i}}))}reset(){this.restoreHandlers.forEach(t=>{try{t()}catch{}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet}}var id="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",$Ae=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var I0=0;I0<id.length;I0++)$Ae[id.charCodeAt(I0)]=I0;var BAe=function(e){var t=new Uint8Array(e),n,r=t.length,a="";for(n=0;n<r;n+=3)a+=id[t[n]>>2],a+=id[(t[n]&3)<<4|t[n+1]>>4],a+=id[(t[n+1]&15)<<2|t[n+2]>>6],a+=id[t[n+2]&63];return r%3===2?a=a.substring(0,a.length-1)+"=":r%3===1&&(a=a.substring(0,a.length-2)+"=="),a};const Y9=new Map;function HAe(e,t){let n=Y9.get(e);return n||(n=new Map,Y9.set(e,n)),n.has(t)||n.set(t,[]),n.get(t)}const sV=(e,t,n)=>{if(!e||!(iV(e,t)||typeof e=="object"))return;const r=e.constructor.name,a=HAe(n,r);let s=a.indexOf(e);return s===-1&&(s=a.length,a.push(e)),s};function o1(e,t,n){if(e instanceof Array)return e.map(r=>o1(r,t,n));if(e===null)return e;if(e instanceof Float32Array||e instanceof Float64Array||e instanceof Int32Array||e instanceof Uint32Array||e instanceof Uint8Array||e instanceof Uint16Array||e instanceof Int16Array||e instanceof Int8Array||e instanceof Uint8ClampedArray)return{rr_type:e.constructor.name,args:[Object.values(e)]};if(e instanceof ArrayBuffer){const r=e.constructor.name,a=BAe(e);return{rr_type:r,base64:a}}else{if(e instanceof DataView)return{rr_type:e.constructor.name,args:[o1(e.buffer,t,n),e.byteOffset,e.byteLength]};if(e instanceof HTMLImageElement){const r=e.constructor.name,{src:a}=e;return{rr_type:r,src:a}}else if(e instanceof HTMLCanvasElement){const r="HTMLImageElement",a=e.toDataURL();return{rr_type:r,src:a}}else{if(e instanceof ImageData)return{rr_type:e.constructor.name,args:[o1(e.data,t,n),e.width,e.height]};if(iV(e,t)||typeof e=="object"){const r=e.constructor.name,a=sV(e,t,n);return{rr_type:r,index:a}}}}return e}const oV=(e,t,n)=>e.map(r=>o1(r,t,n)),iV=(e,t)=>!!["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(a=>typeof t[a]=="function").find(a=>e instanceof t[a]);function qAe(e,t,n,r){const a=[],s=Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype);for(const i of s)try{if(typeof t.CanvasRenderingContext2D.prototype[i]!="function")continue;const c=$c(t.CanvasRenderingContext2D.prototype,i,function(u){return function(...f){return Pr(this.canvas,n,r,!0)||setTimeout(()=>{const h=oV(f,t,this);e(this.canvas,{type:Pd["2D"],property:i,args:h})},0),u.apply(this,f)}});a.push(c)}catch{const c=$y(t.CanvasRenderingContext2D.prototype,i,{set(u){e(this.canvas,{type:Pd["2D"],property:i,args:[u],setter:!0})}});a.push(c)}return()=>{a.forEach(i=>i())}}function VAe(e){return e==="experimental-webgl"?"webgl":e}function Z9(e,t,n,r){const a=[];try{const s=$c(e.HTMLCanvasElement.prototype,"getContext",function(i){return function(c,...u){if(!Pr(this,t,n,!0)){const f=VAe(c);if("__context"in this||(this.__context=f),r&&["webgl","webgl2"].includes(f))if(u[0]&&typeof u[0]=="object"){const h=u[0];h.preserveDrawingBuffer||(h.preserveDrawingBuffer=!0)}else u.splice(0,1,{preserveDrawingBuffer:!0})}return i.apply(this,[c,...u])}});a.push(s)}catch{console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return()=>{a.forEach(s=>s())}}function X9(e,t,n,r,a,s){const i=[],c=Object.getOwnPropertyNames(e);for(const u of c)if(!["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(u))try{if(typeof e[u]!="function")continue;const f=$c(e,u,function(h){return function(...m){const g=h.apply(this,m);if(sV(g,s,this),"tagName"in this.canvas&&!Pr(this.canvas,r,a,!0)){const y=oV(m,s,this),w={type:t,property:u,args:y};n(this.canvas,w)}return g}});i.push(f)}catch{const f=$y(e,u,{set(h){n(this.canvas,{type:t,property:u,args:[h],setter:!0})}});i.push(f)}return i}function WAe(e,t,n,r){const a=[];return a.push(...X9(t.WebGLRenderingContext.prototype,Pd.WebGL,e,n,r,t)),typeof t.WebGL2RenderingContext<"u"&&a.push(...X9(t.WebGL2RenderingContext.prototype,Pd.WebGL2,e,n,r,t)),()=>{a.forEach(s=>s())}}const lV="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBm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AgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",GAe=e=>Uint8Array.from(atob(e),t=>t.charCodeAt(0)),Q9=typeof window<"u"&&window.Blob&&new Blob([GAe(lV)],{type:"text/javascript;charset=utf-8"});function KAe(e){let t;try{if(t=Q9&&(window.URL||window.webkitURL).createObjectURL(Q9),!t)throw"";const n=new Worker(t,{name:e?.name});return n.addEventListener("error",()=>{(window.URL||window.webkitURL).revokeObjectURL(t)}),n}catch{return new Worker("data:text/javascript;base64,"+lV,{name:e?.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}class YAe{constructor(t){Ee(this,"pendingCanvasMutations",new Map),Ee(this,"rafStamps",{latestId:0,invokeId:null}),Ee(this,"mirror"),Ee(this,"mutationCb"),Ee(this,"resetObservers"),Ee(this,"frozen",!1),Ee(this,"locked",!1),Ee(this,"processMutation",(u,f)=>{(this.rafStamps.invokeId&&this.rafStamps.latestId!==this.rafStamps.invokeId||!this.rafStamps.invokeId)&&(this.rafStamps.invokeId=this.rafStamps.latestId),this.pendingCanvasMutations.has(u)||this.pendingCanvasMutations.set(u,[]),this.pendingCanvasMutations.get(u).push(f)});const{sampling:n="all",win:r,blockClass:a,blockSelector:s,recordCanvas:i,dataURLOptions:c}=t;this.mutationCb=t.mutationCb,this.mirror=t.mirror,i&&n==="all"&&this.initCanvasMutationObserver(r,a,s),i&&typeof n=="number"&&this.initCanvasFPSObserver(n,r,a,s,{dataURLOptions:c})}reset(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()}freeze(){this.frozen=!0}unfreeze(){this.frozen=!1}lock(){this.locked=!0}unlock(){this.locked=!1}initCanvasFPSObserver(t,n,r,a,s){const i=Z9(n,r,a,!0),c=new Map,u=new KAe;u.onmessage=w=>{const{id:b}=w.data;if(c.set(b,!1),!("base64"in w.data))return;const{base64:x,type:E,width:k,height:A}=w.data;this.mutationCb({id:b,type:Pd["2D"],commands:[{property:"clearRect",args:[0,0,k,A]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:x}],type:E}]},0,0]}]})};const f=1e3/t;let h=0,m;const g=()=>{const w=[];return n.document.querySelectorAll("canvas").forEach(b=>{Pr(b,r,a,!0)||w.push(b)}),w},y=w=>{if(h&&w-h<f){m=requestAnimationFrame(y);return}h=w,g().forEach(async b=>{var x;const E=this.mirror.getId(b);if(c.get(E)||b.width===0||b.height===0)return;if(c.set(E,!0),["webgl","webgl2"].includes(b.__context)){const A=b.getContext(b.__context);((x=A?.getContextAttributes())==null?void 0:x.preserveDrawingBuffer)===!1&&A.clear(A.COLOR_BUFFER_BIT)}const k=await createImageBitmap(b);u.postMessage({id:E,bitmap:k,width:b.width,height:b.height,dataURLOptions:s.dataURLOptions},[k])}),m=requestAnimationFrame(y)};m=requestAnimationFrame(y),this.resetObservers=()=>{i(),cancelAnimationFrame(m)}}initCanvasMutationObserver(t,n,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();const a=Z9(t,n,r,!1),s=qAe(this.processMutation.bind(this),t,n,r),i=WAe(this.processMutation.bind(this),t,n,r);this.resetObservers=()=>{a(),s(),i()}}startPendingCanvasMutationFlusher(){requestAnimationFrame(()=>this.flushPendingCanvasMutations())}startRAFTimestamping(){const t=n=>{this.rafStamps.latestId=n,requestAnimationFrame(t)};requestAnimationFrame(t)}flushPendingCanvasMutations(){this.pendingCanvasMutations.forEach((t,n)=>{const r=this.mirror.getId(n);this.flushPendingCanvasMutationFor(n,r)}),requestAnimationFrame(()=>this.flushPendingCanvasMutations())}flushPendingCanvasMutationFor(t,n){if(this.frozen||this.locked)return;const r=this.pendingCanvasMutations.get(t);if(!r||n===-1)return;const a=r.map(i=>{const{type:c,...u}=i;return u}),{type:s}=r[0];this.mutationCb({id:n,type:s,commands:a}),this.pendingCanvasMutations.delete(t)}}class ZAe{constructor(t){Ee(this,"trackedLinkElements",new WeakSet),Ee(this,"mutationCb"),Ee(this,"adoptedStyleSheetCb"),Ee(this,"styleMirror",new vAe),this.mutationCb=t.mutationCb,this.adoptedStyleSheetCb=t.adoptedStyleSheetCb}attachLinkElement(t,n){"_cssText"in n.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:n.id,attributes:n.attributes}]}),this.trackLinkElement(t)}trackLinkElement(t){this.trackedLinkElements.has(t)||(this.trackedLinkElements.add(t),this.trackStylesheetInLinkElement(t))}adoptStyleSheets(t,n){if(t.length===0)return;const r={id:n,styleIds:[]},a=[];for(const s of t){let i;this.styleMirror.has(s)?i=this.styleMirror.getId(s):(i=this.styleMirror.add(s),a.push({styleId:i,rules:Array.from(s.rules||CSSRule,(c,u)=>({rule:vH(c,s.href),index:u}))})),r.styleIds.push(i)}a.length>0&&(r.styles=a),this.adoptedStyleSheetCb(r)}reset(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet}trackStylesheetInLinkElement(t){}}class XAe{constructor(){Ee(this,"nodeMap",new WeakMap),Ee(this,"active",!1)}inOtherBuffer(t,n){const r=this.nodeMap.get(t);return r&&Array.from(r).some(a=>a!==n)}add(t,n){this.active||(this.active=!0,requestAnimationFrame(()=>{this.nodeMap=new WeakMap,this.active=!1})),this.nodeMap.set(t,(this.nodeMap.get(t)||new Set).add(n))}destroy(){}}let xn,i1,KE,iv=!1;try{if(Array.from([1],e=>e*2)[0]!==2){const e=document.createElement("iframe");document.body.appendChild(e),Array.from=((t9=e.contentWindow)==null?void 0:t9.Array.from)||Array.from,document.body.removeChild(e)}}catch(e){console.debug("Unable to override Array.from",e)}const ns=JCe();function im(e={}){const{emit:t,checkoutEveryNms:n,checkoutEveryNth:r,blockClass:a="rr-block",blockSelector:s=null,ignoreClass:i="rr-ignore",ignoreSelector:c=null,maskTextClass:u="rr-mask",maskTextSelector:f=null,inlineStylesheet:h=!0,maskAllInputs:m,maskInputOptions:g,slimDOMOptions:y,maskInputFn:w,maskTextFn:b,hooks:x,packFn:E,sampling:k={},dataURLOptions:A={},mousemoveWait:R,recordDOM:P=!0,recordCanvas:O=!1,recordCrossOriginIframes:T=!1,recordAfter:M=e.recordAfter==="DOMContentLoaded"?e.recordAfter:"load",userTriggeredOnInput:z=!1,collectFonts:q=!1,inlineImages:U=!1,plugins:L,keepIframeSrcFn:B=()=>!1,ignoreCSSAttributes:G=new Set([]),errorHandler:ie}=e;EAe(ie);const $=T?window.parent===window:!0;let X=!1;if(!$)try{window.parent.document&&(X=!1)}catch{X=!0}if($&&!t)throw new Error("emit function is required");if(!$&&!X)return()=>{};R!==void 0&&k.mousemove===void 0&&(k.mousemove=R),ns.reset();const re=m===!0?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:g!==void 0?g:{password:!0},pe=EH(y);gAe();let _e,j=0;const Y=we=>{for(const nt of L||[])nt.eventProcessor&&(we=nt.eventProcessor(we));return E&&!X&&(we=E(we)),we};xn=(we,nt)=>{var Ue;const He=we;if(He.timestamp=sv(),(Ue=ec[0])!=null&&Ue.isFrozen()&&He.type!==kt.FullSnapshot&&!(He.type===kt.IncrementalSnapshot&&He.data.source===vt.Mutation)&&ec.forEach(Ht=>Ht.unfreeze()),$)t?.(Y(He),nt);else if(X){const Ht={type:"rrweb",event:Y(He),origin:window.location.origin,isCheckout:nt};window.parent.postMessage(Ht,"*")}if(He.type===kt.FullSnapshot)_e=He,j=0;else if(He.type===kt.IncrementalSnapshot){if(He.data.source===vt.Mutation&&He.data.isAttachIframe)return;j++;const Ht=r&&j>=r,Ie=n&&He.timestamp-_e.timestamp>n;(Ht||Ie)&&i1(!0)}};const Z=we=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.Mutation,...we}})},Q=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Scroll,...we}}),se=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.CanvasMutation,...we}}),le=we=>xn({type:kt.IncrementalSnapshot,data:{source:vt.AdoptedStyleSheet,...we}}),me=new ZAe({mutationCb:Z,adoptedStyleSheetCb:le}),te=new jAe({mirror:ns,mutationCb:Z,stylesheetManager:me,recordCrossOriginIframes:T,wrappedEmit:xn});for(const we of L||[])we.getMirror&&we.getMirror({nodeMirror:ns,crossOriginIframeMirror:te.crossOriginIframeMirror,crossOriginIframeStyleMirror:te.crossOriginIframeStyleMirror});const ve=new XAe;KE=new YAe({recordCanvas:O,mutationCb:se,win:window,blockClass:a,blockSelector:s,mirror:ns,sampling:k.canvas,dataURLOptions:A});const Le=new FAe({mutationCb:Z,scrollCb:Q,bypassOptions:{blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskInputOptions:re,dataURLOptions:A,maskTextFn:b,maskInputFn:w,recordCanvas:O,inlineImages:U,sampling:k,slimDOMOptions:pe,iframeManager:te,stylesheetManager:me,canvasManager:KE,keepIframeSrcFn:B,processedNodeManager:ve},mirror:ns});i1=(we=!1)=>{if(!P)return;xn({type:kt.Meta,data:{href:window.location.href,width:Gq(),height:Wq()}},we),me.reset(),Le.init(),ec.forEach(Ue=>Ue.lock());const nt=CEe(document,{mirror:ns,blockClass:a,blockSelector:s,maskTextClass:u,maskTextSelector:f,inlineStylesheet:h,maskAllInputs:re,maskTextFn:b,maskInputFn:w,slimDOM:pe,dataURLOptions:A,recordCanvas:O,inlineImages:U,onSerialize:Ue=>{Zq(Ue,ns)&&te.addIframe(Ue),Xq(Ue,ns)&&me.trackLinkElement(Ue),X_(Ue)&&Le.addShadowRoot(ct.shadowRoot(Ue),document)},onIframeLoad:(Ue,He)=>{te.attachIframe(Ue,He),Le.observeAttachShadow(Ue)},onStylesheetLoad:(Ue,He)=>{me.attachLinkElement(Ue,He)},keepIframeSrcFn:B});if(!nt)return console.warn("Failed to snapshot the document");xn({type:kt.FullSnapshot,data:{node:nt,initialOffset:Vq(window)}},we),ec.forEach(Ue=>Ue.unlock()),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&me.adoptStyleSheets(document.adoptedStyleSheets,ns.getId(document))};try{const we=[],nt=He=>{var Ht;return wt(zAe)({mutationCb:Z,mousemoveCb:(Ie,gr)=>xn({type:kt.IncrementalSnapshot,data:{source:gr,positions:Ie}}),mouseInteractionCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.MouseInteraction,...Ie}}),scrollCb:Q,viewportResizeCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.ViewportResize,...Ie}}),inputCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Input,...Ie}}),mediaInteractionCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.MediaInteraction,...Ie}}),styleSheetRuleCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.StyleSheetRule,...Ie}}),styleDeclarationCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.StyleDeclaration,...Ie}}),canvasMutationCb:se,fontCb:Ie=>xn({type:kt.IncrementalSnapshot,data:{source:vt.Font,...Ie}}),selectionCb:Ie=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.Selection,...Ie}})},customElementCb:Ie=>{xn({type:kt.IncrementalSnapshot,data:{source:vt.CustomElement,...Ie}})},blockClass:a,ignoreClass:i,ignoreSelector:c,maskTextClass:u,maskTextSelector:f,maskInputOptions:re,inlineStylesheet:h,sampling:k,recordDOM:P,recordCanvas:O,inlineImages:U,userTriggeredOnInput:z,collectFonts:q,doc:He,maskInputFn:w,maskTextFn:b,keepIframeSrcFn:B,blockSelector:s,slimDOMOptions:pe,dataURLOptions:A,mirror:ns,iframeManager:te,stylesheetManager:me,shadowDomManager:Le,processedNodeManager:ve,canvasManager:KE,ignoreCSSAttributes:G,plugins:((Ht=L?.filter(Ie=>Ie.observer))==null?void 0:Ht.map(Ie=>({observer:Ie.observer,options:Ie.options,callback:gr=>xn({type:kt.Plugin,data:{plugin:Ie.name,payload:gr}})})))||[]},x)};te.addLoadListener(He=>{try{we.push(nt(He.contentDocument))}catch(Ht){console.warn(Ht)}});const Ue=()=>{i1(),we.push(nt(document)),iv=!0};return["interactive","complete"].includes(document.readyState)?Ue():(we.push(Mr("DOMContentLoaded",()=>{xn({type:kt.DomContentLoaded,data:{}}),M==="DOMContentLoaded"&&Ue()})),we.push(Mr("load",()=>{xn({type:kt.Load,data:{}}),M==="load"&&Ue()},window))),()=>{we.forEach(He=>{try{He()}catch(Ht){String(Ht).toLowerCase().includes("cross-origin")||console.warn(Ht)}}),ve.destroy(),iv=!1,_Ae()}}catch(we){console.warn(we)}}im.addCustomEvent=(e,t)=>{if(!iv)throw new Error("please add custom event after start recording");xn({type:kt.Custom,data:{tag:e,payload:t}})};im.freezePage=()=>{ec.forEach(e=>e.freeze())};im.takeFullSnapshot=e=>{if(!iv)throw new Error("please take full snapshot after start recording");i1(e)};im.mirror=ns;var J9;(function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"})(J9||(J9={}));const QAe="rrweb",JAe={maskAllInputs:!0,maskTextSelector:"*",maskInputOptions:void 0},eIe={additionalSampleRate:1,batchSize:50,flushInterval:5e3,recordOptions:{slimDOMOptions:"all",inlineStylesheet:!0,inlineImages:!1,collectFonts:!0,recordCrossOriginIframes:!1}},eL=eIe;class tIe extends qa{constructor(t){super(QAe),this.recordingEvents=[],this.isRecording=!1,this.recordingStartTime=null,this.flushTimer=null,this.stopRecording=null,this.enabled=!1;const n=Object.assign(Object.assign(Object.assign({},eL.recordOptions),t?.recordOptions),JAe);this.config=Object.assign(Object.assign(Object.assign({},eL),t),{recordOptions:n}),xe.info("RRWebPlugin initialized",{additionalSampleRate:this.config.additionalSampleRate,batchSize:this.config.batchSize,flushInterval:this.config.flushInterval})}enable(){var t;if(this.enabled){xe.info("RRWebPlugin already enabled");return}const n=(t=this.context)===null||t===void 0?void 0:t.getSession();if(!n||!n.record){xe.warn("RRWebPlugin skipping - session not being recorded",{hasSession:!!n,sessionRecord:n?.record});return}const r=Math.random();if(r>this.config.additionalSampleRate){xe.warn("RRWebPlugin skipping - session replay additionalSampleRate",{randomValue:r,samplingRate:this.config.additionalSampleRate});return}this.enabled=!0,xe.info("RRWebPlugin enabled - starting recording"),this.startRecording()}disable(){if(!this.enabled){xe.info("RRWebPlugin already disabled");return}xe.info("RRWebPlugin disabled - stopping recording"),this.enabled=!1,this.stopCurrentRecording()}record(t){const n=t?.action;n==="start"?(xe.info("RRWebPlugin manual start recording"),this.startRecording()):n==="stop"&&(xe.info("RRWebPlugin manual stop recording"),this.stopCurrentRecording())}onload(){}startRecording(){this.recordingStartTime=Date.now(),this.recordingEvents=[],this.isRecording=!0,xe.info("RRWebPlugin starting rrweb recording",{startTime:this.recordingStartTime});const t=im(Object.assign(Object.assign({},this.config.recordOptions),{emit:this.handleRRWebEvent.bind(this)}));t?(this.stopRecording=t,xe.info("RRWebPlugin rrweb recording initialized successfully")):xe.warn("RRWebPlugin failed to initialize rrweb recording"),this.flushTimer=window.setInterval(()=>{this.flush()},this.config.flushInterval)}stopCurrentRecording(){if(!this.isRecording){xe.info("RRWebPlugin stopCurrentRecording called but not recording");return}xe.info("RRWebPlugin stopping current recording"),this.isRecording=!1,this.stopRecording&&(this.stopRecording(),this.stopRecording=null,xe.info("RRWebPlugin rrweb recording stopped")),this.flushTimer&&(clearInterval(this.flushTimer),this.flushTimer=null,xe.info("RRWebPlugin flush timer cleared")),this.flush()}handleRRWebEvent(t){this.isRecording&&(this.recordingEvents.push(t),this.recordingEvents.length>=this.config.batchSize&&(xe.info("RRWebPlugin flushing events due to batch size",{eventCount:this.recordingEvents.length,batchSize:this.config.batchSize}),this.flush()))}flush(){if(this.recordingEvents.length===0){xe.info("RRWebPlugin flushEvent called but no events to flush");return}xe.info("RRWebPlugin flushing events",{eventCount:this.recordingEvents.length});const t=[...this.recordingEvents],n={version:"1.0.0",events:t,eventCount:t.length};this.context.record(jD,n),xe.info("RRWebPlugin events sent to RUM",{eventType:jD,eventCount:this.recordingEvents.length}),this.recordingEvents=[]}}var nIe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},J_;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(J_||(J_={}));const cV="us-west-2",ek=`https://dataplane.rum.${cV}.amazonaws.com`,uV=()=>({unique:!1,domain:window.location.hostname,path:"/",sameSite:"Strict",secure:!0}),dV=e=>({allowCookies:!1,batchLimit:100,client:kxe,compressionStrategy:{enabled:!0},cookieAttributes:e,debug:!1,disableAutoPageView:!1,dispatchInterval:5*1e3,enableRumClient:!0,enableXRay:!1,endpoint:ek,endpointUrl:new URL(ek),eventCacheSize:1e3,eventPluginsToLoad:[],pageIdFormat:J_.Path,pagesToExclude:[],pagesToInclude:[/.*/],signing:!1,recordResourceUrl:!0,retries:2,routeChangeComplete:100,routeChangeTimeout:1e4,sessionAttributes:{},sessionEventLimit:200,sessionLengthSeconds:1800,sessionSampleRate:1,suppressSessionStartEvent:!1,useBeacon:!0,userIdRetentionDays:30,enableW3CTraceId:!1,candidatesCacheSize:10});let rIe=class{constructor(t,n,r,a={}){var{cookieAttributes:s}=a,i=nIe(a,["cookieAttributes"]);this.eventBus=new tH,typeof r>"u"&&(r="us-west-2"),this.applicationId=t;const c=Object.assign(Object.assign({},uV()),s);this.config=Object.assign(Object.assign({fetchFunction:fetch},dV(c)),i),this.config.sessionId&&(this.config.suppressSessionStartEvent=!0),this.config.endpoint=i.endpoint?i.endpoint:ek.replace(cV,r),this.config.endpointUrl=new URL(this.config.endpoint),xe.configure(this.config.debug),xe.info("Initialized RUM Slim"),this.eventCache=new U2e({id:t,version:n},this.config,this.eventBus),this.dispatchManager=this.initDispatch(r,t),this.pluginManager=this.initPluginManager(t,n),this.eventCache.setPluginFlushHook(()=>this.pluginManager.flush()),this.config.enableRumClient?this.enable():this.disable()}setAwsCredentials(t){this.dispatchManager.setAwsCredentials(t)}setSigningConfigFactory(t){this.dispatchManager.setSigningConfigFactory(t)}addSessionAttributes(t){this.eventCache.addSessionAttributes(t)}getSessionId(){return this.eventCache.getSessionId()}pinSessionId(t){this.eventCache.pinSessionId(t)}startSession(t){return this.eventCache.startSession(t)}getUserId(){return this.eventCache.getUserId()}pinUserId(t){this.eventCache.pinUserId(t)}setEventMetadataHook(t){this.eventCache.setEventMetadataHook(t)}clearEventMetadataHook(){this.eventCache.clearEventMetadataHook()}addPlugin(t){this.pluginManager.addPlugin(t)}dispatch(){this.dispatchManager.dispatchFetch()}dispatchBeacon(){this.dispatchManager.dispatchBeacon()}enable(){this.eventCache.enable(),this.pluginManager.enable(),this.dispatchManager.enable()}disable(){this.dispatchManager.disable(),this.pluginManager.disable(),this.eventCache.disable()}allowCookies(t){this.config.allowCookies=t}clearCookies(){const t=this.config.cookieAttributes;[F1,$1,Ad,`${F1}_${this.applicationId}`,`${$1}_${this.applicationId}`,`${Ad}_${this.applicationId}`].forEach(r=>T2e(r,t))}recordPageView(t){this.eventCache.recordPageView(t)}recordError(t){this.pluginManager.record("com.amazonaws.rum.js-error",t)}registerDomEvents(t){this.pluginManager.updatePlugin("com.amazonaws.rum.dom-event",t)}recordEvent(t,n,r){this.eventCache.recordEvent(t,n,r)}initDispatch(t,n){return new Axe(n,t,this.config.endpointUrl,this.eventCache,this.config)}initPluginManager(t,n){const r={applicationId:t,applicationVersion:n,config:this.config,record:this.eventCache.recordEvent,recordCandidate:this.eventCache.recordCandidate,recordPageView:this.eventCache.recordPageView,getSession:this.eventCache.getSession,eventBus:this.eventBus},a=new I2e(r);return this.config.disableAutoPageView||a.addPlugin(new tCe),this.config.eventPluginsToLoad.forEach(s=>{a.addPlugin(s)}),a}};var ls;(function(e){e.Errors="errors",e.Performance="performance",e.Interaction="interaction",e.Http="http",e.Replay="replay"})(ls||(ls={}));var tL;(function(e){e.Path="PATH",e.Hash="HASH",e.PathAndHash="PATH_AND_HASH"})(tL||(tL={}));const aIe=e=>Object.assign(Object.assign({},dV(e)),{signing:!0,telemetries:[ls.Errors,ls.Performance,ls.Http,ls.Replay]});class sIe extends rIe{constructor(t,n,r,a={}){super(t,n,r,Object.assign(Object.assign({},aIe(uV())),a)),xe.info(`RUM client initialized for app: ${t}`),xe.info(`Telemetries enabled: ${this.config.telemetries.join(", ")||"none"}`)}initDispatch(t,n){const r=super.initDispatch(t,n);return r.setSigningConfigFactory(n2e),r.setCognitoCredentialProviderFactory((a,s,i,c)=>{const u={identityPoolId:i,guestRoleArn:c,cookieAttributes:a.cookieAttributes};return i&&c?new y2e(u,s).ChainAnonymousCredentialsProvider:new b2e(u,s).ChainAnonymousCredentialsProvider}),this.config.signing&&this.config.identityPoolId&&r.setCognitoCredentials(this.config.identityPoolId,this.config.guestRoleArn),r}initPluginManager(t,n){const r=super.initPluginManager(t,n);return this.constructBuiltinPlugins().forEach(s=>{r.addPlugin(s)}),r}recordError(t){this.pluginManager.record(aH,t)}registerDomEvents(t){this.pluginManager.updatePlugin(nH,t)}constructBuiltinPlugins(){let t=[];const n=this.telemetryFunctor();return this.config.telemetries.forEach(r=>{typeof r=="string"&&n[r.toLowerCase()]?t=[...t,...n[r.toLowerCase()]({})]:Array.isArray(r)&&n[r[0].toLowerCase()]&&(t=[...t,...n[r[0].toLowerCase()](r[1])])}),t}telemetryFunctor(){return{[ls.Errors]:t=>[new K2e(t)],[ls.Performance]:t=>[new X2e(t),new rCe(t),new CCe(t)],[ls.Interaction]:t=>[new RI(t)],[ls.Http]:t=>[new ICe(t),new _Ce(t)],[ls.Replay]:t=>[new tIe(t)]}}}const fV={recordPageView:()=>{},recordError:()=>{},recordEvent:()=>{},recordTiming:()=>{}},oIe=/([?&](token|access_token|id_token|authorization)=[^&]*)|\/messages\/[a-z0-9_-]+/gi;function hV(e){return e.replace(oIe,"[redacted]")}function iIe(e){const t=e.indexOf("?"),n=e.indexOf("#"),r=t===-1&&n===-1?e.length:t===-1?n:n===-1?t:Math.min(t,n);return hV(e.slice(0,r))}function lIe(e){const t=hV(e.message);if(t===e.message)return e;const n=new Error(t);return n.name=e.name,n.stack=e.stack,n}function cIe(e){return{recordPageView(t){e.recordPageView(iIe(t))},recordError(t,n){e.recordError(lIe(t)),n&&e.recordEvent("telemetry.error_context",n)},recordEvent(t,n){e.recordEvent(t,n??{})},recordTiming(t,n,r){e.recordEvent("telemetry.timing",{...r,name:t,durationMs:String(n)})}}}function nL(e){return e instanceof Error?e:new Error(String(e))}function uIe(e){window.addEventListener("error",t=>{e.recordError(nL(t.error??t.message))}),window.addEventListener("unhandledrejection",t=>{e.recordError(nL(t.reason))})}function dIe(){const{appMonitorId:e,identityPoolId:t,region:n}=Yd().rum;if(!e)return fV;const r=new sIe(e,"1.0.0",n,{sessionSampleRate:1,identityPoolId:t,endpoint:`https://dataplane.rum.${n}.amazonaws.com`,telemetries:["performance"],disableAutoPageView:!0,allowCookies:!1,enableXRay:!1}),a=cIe(r);return uIe(a),a}const fIe="remit.stale-build-reload:",hIe=({reload:e,guard:t,commit:n})=>{if(t===null)return!1;const r=`${fIe}${n}`;return t.getItem(r)!==null?!1:(t.setItem(r,String(Date.now())),e(),!0)},pIe=()=>{window.addEventListener("vite:preloadError",e=>{hIe({reload:()=>window.location.reload(),guard:Hk(),commit:Hv})&&e.preventDefault()})},pV=_.createContext(fV);function l7e(){return _.useContext(pV)}const tk="remit.theme",mIe="dark";function rL(){return typeof localStorage>"u"?"system":localStorage.getItem(tk)??"system"}function nk(e){if(typeof document>"u")return;const t=e==="dark"||e==="system"&&typeof window<"u"&&typeof window.matchMedia=="function"&&window.matchMedia("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle(mIe,t)}function c7e(e){typeof localStorage<"u"&&(e==="system"?localStorage.removeItem(tk):localStorage.setItem(tk,e)),nk(e)}const gIe=()=>{if(typeof window>"u"||(nk(rL()),typeof window.matchMedia!="function"))return;const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{nk(rL())};typeof e.addEventListener=="function"?e.addEventListener("change",t):e.addListener(t)},vIe=e=>e==="true"||e==="false"||e==="null"||/^["[{]/.test(e)||e!==""&&Number.isFinite(Number(e));function aL(e){return typeof e=="object"&&e!==null?JSON.stringify(e):typeof e=="string"?vIe(e)?JSON.stringify(e):e:String(e)}function yIe(e){const t=new URLSearchParams;for(const r of Object.keys(e)){const a=e[r];if(a!==void 0){if(Array.isArray(a)){for(const s of a)t.append(r,aL(s));continue}t.set(r,aL(a))}}const n=t.toString();return n===""?"":`?${n}`}const bIe=(e,t,n,r)=>{const a=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(a,"warn","react-i18next::",!0);dc(a[0])&&(a[0]=`react-i18next:: ${a[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...a):console?.warn&&console.warn(...a)},sL={},rk=(e,t,n,r)=>{dc(n)&&sL[n]||(dc(n)&&(sL[n]=new Date),bIe(e,t,n,r))},mV=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},ak=(e,t,n)=>{e.loadNamespaces(t,mV(e,n))},oL=(e,t,n,r)=>{if(dc(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return ak(e,n,r);n.forEach(a=>{e.options.ns.indexOf(a)<0&&e.options.ns.push(a)}),e.loadLanguages(t,mV(e,r))},SIe=(e,t,n={})=>!t.languages||!t.languages.length?(rk(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,a)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!a(r.isLanguageChangingTo,e))return!1}}),dc=e=>typeof e=="string",wIe=e=>typeof e=="object"&&e!==null,xIe=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,CIe={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},EIe=e=>CIe[e],_Ie=e=>e.replace(xIe,EIe);let sk={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:_Ie};const kIe=(e={})=>{sk={...sk,...e}},AIe=()=>sk;let gV;const IIe=e=>{gV=e},TIe=()=>gV,RIe={type:"3rdParty",init(e){kIe(e.options.react),IIe(e)}},OIe=_.createContext();class NIe{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const MIe=(e,t)=>{const n=_.useRef();return _.useEffect(()=>{n.current=e},[e,t]),n.current},vV=(e,t,n,r)=>e.getFixedT(t,n,r),PIe=(e,t,n,r)=>_.useCallback(vV(e,t,n,r),[e,t,n,r]),yV=(e,t={})=>{const{i18n:n}=t,{i18n:r,defaultNS:a}=_.useContext(OIe)||{},s=n||r||TIe();if(s&&!s.reportNamespaces&&(s.reportNamespaces=new NIe),!s){rk(s,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const R=(O,T)=>dc(T)?T:wIe(T)&&dc(T.defaultValue)?T.defaultValue:Array.isArray(O)?O[O.length-1]:O,P=[R,{},!1];return P.t=R,P.i18n={},P.ready=!1,P}s.options.react?.wait&&rk(s,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const i={...AIe(),...s.options.react,...t},{useSuspense:c,keyPrefix:u}=i;let f=e||a||s.options?.defaultNS;f=dc(f)?[f]:f||["translation"],s.reportNamespaces.addUsedNamespaces?.(f);const h=(s.isInitialized||s.initializedStoreOnce)&&f.every(R=>SIe(R,s,i)),m=PIe(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),g=()=>m,y=()=>vV(s,t.lng||null,i.nsMode==="fallback"?f:f[0],u),[w,b]=_.useState(g);let x=f.join();t.lng&&(x=`${t.lng}${x}`);const E=MIe(x),k=_.useRef(!0);_.useEffect(()=>{const{bindI18n:R,bindI18nStore:P}=i;k.current=!0,!h&&!c&&(t.lng?oL(s,t.lng,f,()=>{k.current&&b(y)}):ak(s,f,()=>{k.current&&b(y)})),h&&E&&E!==x&&k.current&&b(y);const O=()=>{k.current&&b(y)};return R&&s?.on(R,O),P&&s?.store.on(P,O),()=>{k.current=!1,s&&R&&R?.split(" ").forEach(T=>s.off(T,O)),P&&s&&P.split(" ").forEach(T=>s.store.off(T,O))}},[s,x]),_.useEffect(()=>{k.current&&h&&b(g)},[s,u,h]);const A=[w,s,h];if(A.t=w,A.i18n=s,A.ready=h,h||!h&&!c)return A;throw new Promise(R=>{t.lng?oL(s,t.lng,f,()=>R()):ak(s,f,()=>R())})},DIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts",...e,headers:{"Content-Type":"application/json",...e.headers}}),LIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/oauth/microsoft/start",...e,headers:{"Content-Type":"application/json",...e.headers}}),UIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/test-connection",...e,headers:{"Content-Type":"application/json",...e.headers}}),zIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e}),jIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),FIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e}),$Ie=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters",...e,headers:{"Content-Type":"application/json",...e.headers}}),BIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e}),HIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/filters/{filterId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),qIe=e=>(e.client??Ce).put({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/folder-roles/{role}",...e,headers:{"Content-Type":"application/json",...e.headers}}),VIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e}),WIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),GIe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e}),KIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/labels/{labelId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),YIe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e}),ZIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes",...e,headers:{"Content-Type":"application/json",...e.headers}}),u7e=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e}),XIe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/mailboxes/{mailboxId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),QIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize",...e,headers:{"Content-Type":"application/json",...e.headers}}),JIe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/preview",...e,headers:{"Content-Type":"application/json",...e.headers}}),eTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/organize/{organizeJobId}",...e}),tTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync",...e}),nTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/sync/status",...e}),rTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/accounts/{accountId}/trash/empty",...e}),aTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/search",...e}),sTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/addresses/{addressId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),oTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e}),iTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events",...e,headers:{"Content-Type":"application/json",...e.headers}}),lTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),cTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e}),uTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-events/{calendarObjectId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),dTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-free-busy",...e}),fTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions",...e}),hTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/accept",...e,headers:{"Content-Type":"application/json",...e.headers}}),pTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/decline",...e}),mTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/dismiss",...e,headers:{"Content-Type":"application/json",...e.headers}}),gTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendar-suggestions/{suggestionId}/reopen",...e}),vTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e}),yTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars",...e,headers:{"Content-Type":"application/json",...e.headers}}),bTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}",...e}),STe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),wTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),xTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),CTe=e=>(e.client??Ce).put({security:[{name:"Authorization",type:"apiKey"}],url:"/calendars/{calendarId}/feed",...e}),ETe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config",...e}),_Te=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/config/export",...e}),kTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/config/import",...e,headers:{"Content-Type":"application/json",...e.headers}}),d7e=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads",...e}),ATe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/mailboxes/{mailboxId}/threads/search",...e}),ITe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/me",...e,headers:{"Content-Type":"application/json",...e.headers}}),TTe=e=>(e?.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/me/export",...e}),RTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/quarantine",...e}),OTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/me/vip-suggestions",...e}),NTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/delete",...e,headers:{"Content-Type":"application/json",...e.headers}}),MTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),PTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/labels",...e,headers:{"Content-Type":"application/json",...e.headers}}),DTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/move",...e,headers:{"Content-Type":"application/json",...e.headers}}),f7e=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/not-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),h7e=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/report-spam",...e,headers:{"Content-Type":"application/json",...e.headers}}),LTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}",...e}),UTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/calendar-suggestions",...e}),zTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/flags",...e,headers:{"Content-Type":"application/json",...e.headers}}),jTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/messages/{messageId}/raw",...e}),FTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e}),$Te=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox",...e,headers:{"Content-Type":"application/json",...e.headers}}),BTe=e=>(e.client??Ce).delete({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),HTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e}),qTe=e=>(e.client??Ce).patch({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}",...e,headers:{"Content-Type":"application/json",...e.headers}}),VTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/attachments",...e,headers:{"Content-Type":"application/json",...e.headers}}),WTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/attachments/{outboxAttachmentId}/complete",...e}),GTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/outbox/{outboxMessageId}/send",...e}),bV=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e}),KTe=e=>(e.client??Ce).post({security:[{name:"Authorization",type:"apiKey"}],url:"/system/update",...e,headers:{"Content-Type":"application/json",...e.headers}}),YTe=e=>(e?.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads",...e}),ZTe=e=>(e.client??Ce).get({security:[{name:"Authorization",type:"apiKey"}],url:"/threads/{threadId}/messages",...e}),p7e=e=>({mutationFn:async n=>{const{data:r}=await DIe({...e,...n,throwOnError:!0});return r}}),en=(e,t,n,r)=>{const a={_id:e,baseUrl:t?.baseUrl||(t?.client??Ce).getConfig().baseUrl};return t?.body&&(a.body=t.body),t?.headers&&(a.headers=t.headers),t?.path&&(a.path=t.path),t?.query&&(a.query=t.query),[a]},m7e=e=>({mutationFn:async n=>{const{data:r}=await LIe({...e,...n,throwOnError:!0});return r}}),g7e=e=>({mutationFn:async n=>{const{data:r}=await UIe({...e,...n,throwOnError:!0});return r}}),v7e=e=>({mutationFn:async n=>{const{data:r}=await zIe({...e,...n,throwOnError:!0});return r}}),y7e=e=>({mutationFn:async n=>{const{data:r}=await jIe({...e,...n,throwOnError:!0});return r}}),XTe=e=>en("filterOperationsListFilters",e),b7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:XTe(e)}),S7e=e=>({mutationFn:async n=>{const{data:r}=await $Ie({...e,...n,throwOnError:!0});return r}}),w7e=e=>({mutationFn:async n=>{const{data:r}=await BIe({...e,...n,throwOnError:!0});return r}}),x7e=e=>en("filterDetailOperationsGetFilter",e),C7e=e=>({mutationFn:async n=>{const{data:r}=await HIe({...e,...n,throwOnError:!0});return r}}),QTe=e=>({mutationFn:async n=>{const{data:r}=await qIe({...e,...n,throwOnError:!0});return r}}),JTe=e=>en("labelOperationsListLabels",e),E7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await VIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:JTe(e)}),_7e=e=>({mutationFn:async n=>{const{data:r}=await WIe({...e,...n,throwOnError:!0});return r}}),k7e=e=>({mutationFn:async n=>{const{data:r}=await GIe({...e,...n,throwOnError:!0});return r}}),A7e=e=>({mutationFn:async n=>{const{data:r}=await KIe({...e,...n,throwOnError:!0});return r}}),uT=e=>en("mailboxOperationsListMailboxes",e),ok=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await YIe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:uT(e)}),eRe=e=>({mutationFn:async n=>{const{data:r}=await ZIe({...e,...n,throwOnError:!0});return r}}),I7e=e=>({mutationFn:async n=>{const{data:r}=await XIe({...e,...n,throwOnError:!0});return r}}),T7e=e=>({mutationFn:async n=>{const{data:r}=await QIe({...e,...n,throwOnError:!0});return r}}),R7e=e=>({mutationFn:async n=>{const{data:r}=await JIe({...e,...n,throwOnError:!0});return r}}),tRe=e=>en("organizeJobDetailOperationsGetOrganizeJob",e),O7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await eTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:tRe(e)}),N7e=e=>({mutationFn:async n=>{const{data:r}=await tTe({...e,...n,throwOnError:!0});return r}}),nRe=e=>en("syncOperationsGetSyncStatus",e),M7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await nTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:nRe(e)}),P7e=e=>({mutationFn:async n=>{const{data:r}=await rTe({...e,...n,throwOnError:!0});return r}}),rRe=e=>en("addressOperationsSearchAddresses",e),D7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await aTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:rRe(e)}),L7e=e=>({mutationFn:async n=>{const{data:r}=await sTe({...e,...n,throwOnError:!0});return r}}),aRe=e=>en("calendarEventOperationsListCalendarEvents",e),U7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await oTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:aRe(e)}),z7e=e=>({mutationFn:async n=>{const{data:r}=await iTe({...e,...n,throwOnError:!0});return r}}),j7e=e=>({mutationFn:async n=>{const{data:r}=await lTe({...e,...n,throwOnError:!0});return r}}),sRe=e=>en("calendarEventDetailOperationsGetCalendarEvent",e),F7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await cTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:sRe(e)}),$7e=e=>({mutationFn:async n=>{const{data:r}=await uTe({...e,...n,throwOnError:!0});return r}}),oRe=e=>en("calendarFreeBusyOperationsListCalendarFreeBusy",e),B7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await dTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:oRe(e)}),iRe=e=>en("calendarSuggestionOperationsListCalendarSuggestions",e),H7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await fTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:iRe(e)}),q7e=e=>({mutationFn:async n=>{const{data:r}=await hTe({...e,...n,throwOnError:!0});return r}}),V7e=e=>({mutationFn:async n=>{const{data:r}=await pTe({...e,...n,throwOnError:!0});return r}}),W7e=e=>({mutationFn:async n=>{const{data:r}=await mTe({...e,...n,throwOnError:!0});return r}}),G7e=e=>({mutationFn:async n=>{const{data:r}=await gTe({...e,...n,throwOnError:!0});return r}}),lRe=e=>en("calendarOperationsListCalendars",e),K7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await vTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:lRe(e)}),Y7e=e=>({mutationFn:async n=>{const{data:r}=await yTe({...e,...n,throwOnError:!0});return r}}),Z7e=e=>({mutationFn:async n=>{const{data:r}=await bTe({...e,...n,throwOnError:!0});return r}}),X7e=e=>({mutationFn:async n=>{const{data:r}=await STe({...e,...n,throwOnError:!0});return r}}),Q7e=e=>({mutationFn:async n=>{const{data:r}=await wTe({...e,...n,throwOnError:!0});return r}}),cRe=e=>en("calendarDetailOperationsGetCalendarFeed",e),J7e=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await xTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:cRe(e)}),eDe=e=>({mutationFn:async n=>{const{data:r}=await CTe({...e,...n,throwOnError:!0});return r}}),SV=e=>en("configOperationsGetConfig",e),dT=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ETe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:SV(e)}),uRe=e=>en("configOperationsExportConfig",e),tDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await _Te({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:uRe(e)}),nDe=e=>({mutationFn:async n=>{const{data:r}=await kTe({...e,...n,throwOnError:!0});return r}}),dRe=e=>en("threadOperationsListThreads",e),wV=e=>en("threadOperationsSearchThreads",e),rDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ATe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:wV(e)}),aDe=e=>({mutationFn:async n=>{const{data:r}=await ITe({...e,...n,throwOnError:!0});return r}}),sDe=e=>({mutationFn:async n=>{const{data:r}=await TTe({...e,...n,throwOnError:!0});return r}}),fRe=e=>en("meOperationsListQuarantine",e),hRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await RTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:fRe(e)}),pRe=e=>en("meOperationsListVipSuggestions",e),oDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await OTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:pRe(e)}),iDe=e=>({mutationFn:async n=>{const{data:r}=await NTe({...e,...n,throwOnError:!0});return r}}),lDe=e=>({mutationFn:async n=>{const{data:r}=await MTe({...e,...n,throwOnError:!0});return r}}),cDe=e=>({mutationFn:async n=>{const{data:r}=await PTe({...e,...n,throwOnError:!0});return r}}),uDe=e=>({mutationFn:async n=>{const{data:r}=await DTe({...e,...n,throwOnError:!0});return r}}),mRe=e=>en("messageOperationsDescribeMessage",e),dDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await LTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:mRe(e)}),gRe=e=>en("messageCalendarSuggestionOperationsListMessageCalendarSuggestions",e),fDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await UTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:gRe(e)}),hDe=e=>({mutationFn:async n=>{const{data:r}=await zTe({...e,...n,throwOnError:!0});return r}}),vRe=e=>en("messageOperationsGetRawMessage",e),pDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await jTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:vRe(e)}),xV=e=>en("outboxOperationsListOutboxMessages",e),mDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await FTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:xV(e)}),gDe=e=>({mutationFn:async n=>{const{data:r}=await $Te({...e,...n,throwOnError:!0});return r}}),vDe=e=>({mutationFn:async n=>{const{data:r}=await BTe({...e,...n,throwOnError:!0});return r}}),yRe=e=>en("outboxDetailOperationsGetOutboxMessage",e),bRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await HTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:yRe(e)}),yDe=e=>({mutationFn:async n=>{const{data:r}=await qTe({...e,...n,throwOnError:!0});return r}}),bDe=e=>({mutationFn:async n=>{const{data:r}=await VTe({...e,...n,throwOnError:!0});return r}}),SDe=e=>({mutationFn:async n=>{const{data:r}=await WTe({...e,...n,throwOnError:!0});return r}}),wDe=e=>({mutationFn:async n=>{const{data:r}=await GTe({...e,...n,throwOnError:!0});return r}}),ik=e=>en("systemOperationsGetSystemUpdate",e),SRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await bV({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:ik(e)}),wRe=e=>({mutationFn:async n=>{const{data:r}=await KTe({...e,...n,throwOnError:!0});return r}}),CV=e=>en("unifiedThreadOperationsListAllThreads",e),xRe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await YTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:CV(e)}),CRe=e=>en("threadDetailOperationsListThreadMessages",e),xDe=e=>({queryFn:async({queryKey:t,signal:n})=>{const{data:r}=await ZTe({...e,...t[0],signal:n,throwOnError:!0});return r},queryKey:CRe(e)}),EV=_.createContext(void 0),ERe=2e3,_Re=6e4,kRe=e=>e==="unfiled"||e==="failed"||e==="blocked",ARe=fA(404),iL=(e,t)=>kRe(e)||t!=null,IRe=({children:e})=>{const[t,n]=_.useState(),r=Lc(),{data:a,error:s}=_d({...bRe({path:{outboxMessageId:t??""}}),enabled:!!t,meta:ARe,retry:(g,y)=>!wle(y)&&g<1,refetchInterval:g=>iL(g.state.data?.status,g.state.error)?!1:ERe}),i=_.useCallback(()=>{n(void 0),r.invalidateQueries({queryKey:xV()})},[r]);_.useEffect(()=>{t&&iL(a?.status,s)&&i()},[a,s,t,i]),_.useEffect(()=>{if(!t)return;const g=setTimeout(i,_Re);return()=>clearTimeout(g)},[t,i]);const c=_.useCallback(g=>{n(g)},[]),u=_.useRef(new Map),f=_.useCallback((g,y)=>{const w=u.current.get(g);return w?(w(y),!0):!1},[]),h=_.useCallback((g,y)=>(u.current.set(g,y),()=>{u.current.get(g)===y&&u.current.delete(g)}),[]),m=_.useMemo(()=>({startSendPolling:c,insertIntoOpenReply:f,registerOpenReply:h}),[c,f,h]);return C.jsx(EV.Provider,{value:m,children:e})},CDe=()=>{const e=_.useContext(EV);if(!e)throw new Error("useCompose must be used within a ComposeProvider");return e},TRe={Inbox:"Inbox",Drafts:"Drafts",Sent:"Sent",Archive:"Archive",Junk:"Junk",Trash:"Trash",All:"All",Flagged:"Flagged"},EDe={Body:"Body"},_De={Mail:"Mail",Calendar:"Calendar"},ju={Appointed:"Appointed",Flagged:"Flagged",Reserved:"Reserved",Proposed:"Proposed",Stale:"Stale",None:"None"},lL={synced:"synced",failed:"failed"},kDe={uncategorized:"uncategorized",personal:"personal",newsletter:"newsletter",marketing:"marketing",automated:"automated",transactional:"transactional",social:"social"},ADe={Lookalike:"Lookalike",ForeignAddress:"ForeignAddress",Unrelated:"Unrelated"},IDe={abandoned:"abandoned"},TDe={none:"none",move:"move",delete:"delete"},RDe={MoveToInbox:"MoveToInbox",MoveToJunk:"MoveToJunk"},ODe={Attachment:"attachment"},NDe={None:"None"},MDe={Retrying:"Retrying",GaveUp:"GaveUp"};var Rt;(function(e){e.assertEqual=a=>{};function t(a){}e.assertIs=t;function n(a){throw new Error}e.assertNever=n,e.arrayToEnum=a=>{const s={};for(const i of a)s[i]=i;return s},e.getValidEnumValues=a=>{const s=e.objectKeys(a).filter(c=>typeof a[a[c]]!="number"),i={};for(const c of s)i[c]=a[c];return e.objectValues(i)},e.objectValues=a=>e.objectKeys(a).map(function(s){return a[s]}),e.objectKeys=typeof Object.keys=="function"?a=>Object.keys(a):a=>{const s=[];for(const i in a)Object.prototype.hasOwnProperty.call(a,i)&&s.push(i);return s},e.find=(a,s)=>{for(const i of a)if(s(i))return i},e.isInteger=typeof Number.isInteger=="function"?a=>Number.isInteger(a):a=>typeof a=="number"&&Number.isFinite(a)&&Math.floor(a)===a;function r(a,s=" | "){return a.map(i=>typeof i=="string"?`'${i}'`:i).join(s)}e.joinValues=r,e.jsonStringifyReplacer=(a,s)=>typeof s=="bigint"?s.toString():s})(Rt||(Rt={}));var cL;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(cL||(cL={}));const Oe=Rt.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Vi=e=>{switch(typeof e){case"undefined":return Oe.undefined;case"string":return Oe.string;case"number":return Number.isNaN(e)?Oe.nan:Oe.number;case"boolean":return Oe.boolean;case"function":return Oe.function;case"bigint":return Oe.bigint;case"symbol":return Oe.symbol;case"object":return Array.isArray(e)?Oe.array:e===null?Oe.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?Oe.promise:typeof Map<"u"&&e instanceof Map?Oe.map:typeof Set<"u"&&e instanceof Set?Oe.set:typeof Date<"u"&&e instanceof Date?Oe.date:Oe.object;default:return Oe.unknown}},ye=Rt.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Zo extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(s){return s.message},r={_errors:[]},a=s=>{for(const i of s.issues)if(i.code==="invalid_union")i.unionErrors.map(a);else if(i.code==="invalid_return_type")a(i.returnTypeError);else if(i.code==="invalid_arguments")a(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let c=r,u=0;for(;u<i.path.length;){const f=i.path[u];u===i.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(n(i))):c[f]=c[f]||{_errors:[]},c=c[f],u++}}};return a(this),r}static assert(t){if(!(t instanceof Zo))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,Rt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const a of this.issues)if(a.path.length>0){const s=a.path[0];n[s]=n[s]||[],n[s].push(t(a))}else r.push(t(a));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Zo.create=e=>new Zo(e);const lk=(e,t)=>{let n;switch(e.code){case ye.invalid_type:e.received===Oe.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case ye.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,Rt.jsonStringifyReplacer)}`;break;case ye.unrecognized_keys:n=`Unrecognized key(s) in object: ${Rt.joinValues(e.keys,", ")}`;break;case ye.invalid_union:n="Invalid input";break;case ye.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${Rt.joinValues(e.options)}`;break;case ye.invalid_enum_value:n=`Invalid enum value. Expected ${Rt.joinValues(e.options)}, received '${e.received}'`;break;case ye.invalid_arguments:n="Invalid function arguments";break;case ye.invalid_return_type:n="Invalid function return type";break;case ye.invalid_date:n="Invalid date";break;case ye.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:Rt.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case ye.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="bigint"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case ye.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case ye.custom:n="Invalid input";break;case ye.invalid_intersection_types:n="Intersection results could not be merged";break;case ye.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case ye.not_finite:n="Number must be finite";break;default:n=t.defaultError,Rt.assertNever(e)}return{message:n}};let RRe=lk;function ORe(){return RRe}const NRe=e=>{const{data:t,path:n,errorMaps:r,issueData:a}=e,s=[...n,...a.path||[]],i={...a,path:s};if(a.message!==void 0)return{...a,path:s,message:a.message};let c="";const u=r.filter(f=>!!f).slice().reverse();for(const f of u)c=f(i,{data:t,defaultError:c}).message;return{...a,path:s,message:c}};function Ae(e,t){const n=ORe(),r=NRe({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===lk?void 0:lk].filter(a=>!!a)});e.common.issues.push(r)}class zr{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const a of n){if(a.status==="aborted")return Qe;a.status==="dirty"&&t.dirty(),r.push(a.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const a of n){const s=await a.key,i=await a.value;r.push({key:s,value:i})}return zr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const a of n){const{key:s,value:i}=a;if(s.status==="aborted"||i.status==="aborted")return Qe;s.status==="dirty"&&t.dirty(),i.status==="dirty"&&t.dirty(),s.value!=="__proto__"&&(typeof i.value<"u"||a.alwaysSet)&&(r[s.value]=i.value)}return{status:t.value,value:r}}}const Qe=Object.freeze({status:"aborted"}),jh=e=>({status:"dirty",value:e}),Wa=e=>({status:"valid",value:e}),uL=e=>e.status==="aborted",dL=e=>e.status==="dirty",Dd=e=>e.status==="valid",lv=e=>typeof Promise<"u"&&e instanceof Promise;var De;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t?.message})(De||(De={}));class Gs{constructor(t,n,r,a){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=a}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const fL=(e,t)=>{if(Dd(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new Zo(e.common.issues);return this._error=n,this._error}}};function lt(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:a}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:a}:{errorMap:(i,c)=>{const{message:u}=e;return i.code==="invalid_enum_value"?{message:u??c.defaultError}:typeof c.data>"u"?{message:u??r??c.defaultError}:i.code!=="invalid_type"?{message:c.defaultError}:{message:u??n??c.defaultError}},description:a}}class bt{get description(){return this._def.description}_getType(t){return Vi(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:Vi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new zr,ctx:{common:t.parent.common,data:t.data,parsedType:Vi(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(lv(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)},a=this._parseSync({data:t,path:r.path,parent:r});return fL(r,a)}"~validate"(t){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)};if(!this["~standard"].async)try{const r=this._parseSync({data:t,path:[],parent:n});return Dd(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(r=>Dd(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:Vi(t)},a=this._parse({data:t,path:r.path,parent:r}),s=await(lv(a)?a:Promise.resolve(a));return fL(r,s)}refine(t,n){const r=a=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(a):n;return this._refinement((a,s)=>{const i=t(a),c=()=>s.addIssue({code:ye.custom,...r(a)});return typeof Promise<"u"&&i instanceof Promise?i.then(u=>u?!0:(c(),!1)):i?!0:(c(),!1)})}refinement(t,n){return this._refinement((r,a)=>t(r)?!0:(a.addIssue(typeof n=="function"?n(r,a):n),!1))}_refinement(t){return new Ac({schema:this,typeName:Ze.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return nl.create(this,this._def)}nullable(){return zd.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Fs.create(this)}promise(){return hv.create(this,this._def)}or(t){return uv.create([this,t],this._def)}and(t){return dv.create(this,t,this._def)}transform(t){return new Ac({...lt(this._def),schema:this,typeName:Ze.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new fk({...lt(this._def),innerType:this,defaultValue:n,typeName:Ze.ZodDefault})}brand(){return new tOe({typeName:Ze.ZodBranded,type:this,...lt(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new hk({...lt(this._def),innerType:this,catchValue:n,typeName:Ze.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return fT.create(this,t)}readonly(){return pk.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const MRe=/^c[^\s-]{8,}$/i,PRe=/^[0-9a-z]+$/,DRe=/^[0-9A-HJKMNP-TV-Z]{26}$/i,LRe=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,URe=/^[a-z0-9_-]{21}$/i,zRe=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,jRe=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,FRe=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,$Re="^(\\p{Extended_Pictographic}|\\p{Emoji_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1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,WRe=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,GRe=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,_V="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",KRe=new RegExp(`^${_V}$`);function kV(e){let t="[0-5]\\d";e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`);const n=e.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${t})${n}`}function YRe(e){return new RegExp(`^${kV(e)}$`)}function ZRe(e){let t=`${_V}T${kV(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function XRe(e,t){return!!((t==="v4"||!t)&&BRe.test(e)||(t==="v6"||!t)&&qRe.test(e))}function QRe(e,t){if(!zRe.test(e))return!1;try{const[n]=e.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),a=JSON.parse(atob(r));return!(typeof a!="object"||a===null||"typ"in a&&a?.typ!=="JWT"||!a.alg||t&&a.alg!==t)}catch{return!1}}function JRe(e,t){return!!((t==="v4"||!t)&&HRe.test(e)||(t==="v6"||!t)&&VRe.test(e))}class zs extends bt{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Oe.string){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.string,received:s.parsedType}),Qe}const r=new zr;let a;for(const s of this._def.checks)if(s.kind==="min")t.data.length<s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="max")t.data.length>s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!1,message:s.message}),r.dirty());else if(s.kind==="length"){const i=t.data.length>s.value,c=t.data.length<s.value;(i||c)&&(a=this._getOrReturnCtx(t,a),i?Ae(a,{code:ye.too_big,maximum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}):c&&Ae(a,{code:ye.too_small,minimum:s.value,type:"string",inclusive:!0,exact:!0,message:s.message}),r.dirty())}else if(s.kind==="email")FRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"email",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="emoji")YE||(YE=new RegExp($Re,"u")),YE.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"emoji",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="uuid")LRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"uuid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="nanoid")URe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"nanoid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid")MRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cuid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="cuid2")PRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cuid2",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="ulid")DRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"ulid",code:ye.invalid_string,message:s.message}),r.dirty());else if(s.kind==="url")try{new URL(t.data)}catch{a=this._getOrReturnCtx(t,a),Ae(a,{validation:"url",code:ye.invalid_string,message:s.message}),r.dirty()}else s.kind==="regex"?(s.regex.lastIndex=0,s.regex.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"regex",code:ye.invalid_string,message:s.message}),r.dirty())):s.kind==="trim"?t.data=t.data.trim():s.kind==="includes"?t.data.includes(s.value,s.position)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{includes:s.value,position:s.position},message:s.message}),r.dirty()):s.kind==="toLowerCase"?t.data=t.data.toLowerCase():s.kind==="toUpperCase"?t.data=t.data.toUpperCase():s.kind==="startsWith"?t.data.startsWith(s.value)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{startsWith:s.value},message:s.message}),r.dirty()):s.kind==="endsWith"?t.data.endsWith(s.value)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:{endsWith:s.value},message:s.message}),r.dirty()):s.kind==="datetime"?ZRe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"datetime",message:s.message}),r.dirty()):s.kind==="date"?KRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"date",message:s.message}),r.dirty()):s.kind==="time"?YRe(s).test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.invalid_string,validation:"time",message:s.message}),r.dirty()):s.kind==="duration"?jRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"duration",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="ip"?XRe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"ip",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="jwt"?QRe(t.data,s.alg)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"jwt",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="cidr"?JRe(t.data,s.version)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"cidr",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="base64"?WRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"base64",code:ye.invalid_string,message:s.message}),r.dirty()):s.kind==="base64url"?GRe.test(t.data)||(a=this._getOrReturnCtx(t,a),Ae(a,{validation:"base64url",code:ye.invalid_string,message:s.message}),r.dirty()):Rt.assertNever(s);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(a=>t.test(a),{validation:n,code:ye.invalid_string,...De.errToObj(r)})}_addCheck(t){return new zs({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...De.errToObj(t)})}url(t){return this._addCheck({kind:"url",...De.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...De.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...De.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...De.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...De.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...De.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...De.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...De.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...De.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...De.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...De.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...De.errToObj(t)})}datetime(t){return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof t?.precision>"u"?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...De.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof t?.precision>"u"?null:t?.precision,...De.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...De.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...De.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n?.position,...De.errToObj(n?.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...De.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...De.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...De.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...De.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...De.errToObj(n)})}nonempty(t){return this.min(1,De.errToObj(t))}trim(){return new zs({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new zs({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new zs({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}zs.create=e=>new zs({checks:[],typeName:Ze.ZodString,coerce:e?.coerce??!1,...lt(e)});function eOe(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,a=n>r?n:r,s=Number.parseInt(e.toFixed(a).replace(".","")),i=Number.parseInt(t.toFixed(a).replace(".",""));return s%i/10**a}class Ec extends bt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Oe.number){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.number,received:s.parsedType}),Qe}let r;const a=new zr;for(const s of this._def.checks)s.kind==="int"?Rt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.invalid_type,expected:"integer",received:"float",message:s.message}),a.dirty()):s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_small,minimum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_big,maximum:s.value,type:"number",inclusive:s.inclusive,exact:!1,message:s.message}),a.dirty()):s.kind==="multipleOf"?eOe(t.data,s.value)!==0&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):s.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_finite,message:s.message}),a.dirty()):Rt.assertNever(s);return{status:a.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,De.toString(n))}gt(t,n){return this.setLimit("min",t,!1,De.toString(n))}lte(t,n){return this.setLimit("max",t,!0,De.toString(n))}lt(t,n){return this.setLimit("max",t,!1,De.toString(n))}setLimit(t,n,r,a){return new Ec({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:De.toString(a)}]})}_addCheck(t){return new Ec({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:De.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:De.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:De.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:De.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:De.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:De.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:De.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:De.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:De.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind==="int"||t.kind==="multipleOf"&&Rt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}Ec.create=e=>new Ec({checks:[],typeName:Ze.ZodNumber,coerce:e?.coerce||!1,...lt(e)});class _c extends bt{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Oe.bigint)return this._getInvalidInput(t);let r;const a=new zr;for(const s of this._def.checks)s.kind==="min"?(s.inclusive?t.data<s.value:t.data<=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_small,type:"bigint",minimum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="max"?(s.inclusive?t.data>s.value:t.data>=s.value)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.too_big,type:"bigint",maximum:s.value,inclusive:s.inclusive,message:s.message}),a.dirty()):s.kind==="multipleOf"?t.data%s.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Ae(r,{code:ye.not_multiple_of,multipleOf:s.value,message:s.message}),a.dirty()):Rt.assertNever(s);return{status:a.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Ae(n,{code:ye.invalid_type,expected:Oe.bigint,received:n.parsedType}),Qe}gte(t,n){return this.setLimit("min",t,!0,De.toString(n))}gt(t,n){return this.setLimit("min",t,!1,De.toString(n))}lte(t,n){return this.setLimit("max",t,!0,De.toString(n))}lt(t,n){return this.setLimit("max",t,!1,De.toString(n))}setLimit(t,n,r,a){return new _c({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:De.toString(a)}]})}_addCheck(t){return new _c({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:De.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:De.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:De.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:De.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:De.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t}}_c.create=e=>new _c({checks:[],typeName:Ze.ZodBigInt,coerce:e?.coerce??!1,...lt(e)});class cv extends bt{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Oe.boolean){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.boolean,received:r.parsedType}),Qe}return Wa(t.data)}}cv.create=e=>new cv({typeName:Ze.ZodBoolean,coerce:e?.coerce||!1,...lt(e)});class Ld extends bt{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Oe.date){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_type,expected:Oe.date,received:s.parsedType}),Qe}if(Number.isNaN(t.data.getTime())){const s=this._getOrReturnCtx(t);return Ae(s,{code:ye.invalid_date}),Qe}const r=new zr;let a;for(const s of this._def.checks)s.kind==="min"?t.data.getTime()<s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_small,message:s.message,inclusive:!0,exact:!1,minimum:s.value,type:"date"}),r.dirty()):s.kind==="max"?t.data.getTime()>s.value&&(a=this._getOrReturnCtx(t,a),Ae(a,{code:ye.too_big,message:s.message,inclusive:!0,exact:!1,maximum:s.value,type:"date"}),r.dirty()):Rt.assertNever(s);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new Ld({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:De.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:De.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}Ld.create=e=>new Ld({checks:[],coerce:e?.coerce||!1,typeName:Ze.ZodDate,...lt(e)});class hL extends bt{_parse(t){if(this._getType(t)!==Oe.symbol){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.symbol,received:r.parsedType}),Qe}return Wa(t.data)}}hL.create=e=>new hL({typeName:Ze.ZodSymbol,...lt(e)});class pL extends bt{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.undefined,received:r.parsedType}),Qe}return Wa(t.data)}}pL.create=e=>new pL({typeName:Ze.ZodUndefined,...lt(e)});class mL extends bt{_parse(t){if(this._getType(t)!==Oe.null){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.null,received:r.parsedType}),Qe}return Wa(t.data)}}mL.create=e=>new mL({typeName:Ze.ZodNull,...lt(e)});class gL extends bt{constructor(){super(...arguments),this._any=!0}_parse(t){return Wa(t.data)}}gL.create=e=>new gL({typeName:Ze.ZodAny,...lt(e)});class ck extends bt{constructor(){super(...arguments),this._unknown=!0}_parse(t){return Wa(t.data)}}ck.create=e=>new ck({typeName:Ze.ZodUnknown,...lt(e)});class fl extends bt{_parse(t){const n=this._getOrReturnCtx(t);return Ae(n,{code:ye.invalid_type,expected:Oe.never,received:n.parsedType}),Qe}}fl.create=e=>new fl({typeName:Ze.ZodNever,...lt(e)});class vL extends bt{_parse(t){if(this._getType(t)!==Oe.undefined){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.void,received:r.parsedType}),Qe}return Wa(t.data)}}vL.create=e=>new vL({typeName:Ze.ZodVoid,...lt(e)});class Fs extends bt{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),a=this._def;if(n.parsedType!==Oe.array)return Ae(n,{code:ye.invalid_type,expected:Oe.array,received:n.parsedType}),Qe;if(a.exactLength!==null){const i=n.data.length>a.exactLength.value,c=n.data.length<a.exactLength.value;(i||c)&&(Ae(n,{code:i?ye.too_big:ye.too_small,minimum:c?a.exactLength.value:void 0,maximum:i?a.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:a.exactLength.message}),r.dirty())}if(a.minLength!==null&&n.data.length<a.minLength.value&&(Ae(n,{code:ye.too_small,minimum:a.minLength.value,type:"array",inclusive:!0,exact:!1,message:a.minLength.message}),r.dirty()),a.maxLength!==null&&n.data.length>a.maxLength.value&&(Ae(n,{code:ye.too_big,maximum:a.maxLength.value,type:"array",inclusive:!0,exact:!1,message:a.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,c)=>a.type._parseAsync(new Gs(n,i,n.path,c)))).then(i=>zr.mergeArray(r,i));const s=[...n.data].map((i,c)=>a.type._parseSync(new Gs(n,i,n.path,c)));return zr.mergeArray(r,s)}get element(){return this._def.type}min(t,n){return new Fs({...this._def,minLength:{value:t,message:De.toString(n)}})}max(t,n){return new Fs({...this._def,maxLength:{value:t,message:De.toString(n)}})}length(t,n){return new Fs({...this._def,exactLength:{value:t,message:De.toString(n)}})}nonempty(t){return this.min(1,t)}}Fs.create=(e,t)=>new Fs({type:e,minLength:null,maxLength:null,exactLength:null,typeName:Ze.ZodArray,...lt(t)});function Qu(e){if(e instanceof Un){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=nl.create(Qu(r))}return new Un({...e._def,shape:()=>t})}else return e instanceof Fs?new Fs({...e._def,type:Qu(e.element)}):e instanceof nl?nl.create(Qu(e.unwrap())):e instanceof zd?zd.create(Qu(e.unwrap())):e instanceof kc?kc.create(e.items.map(t=>Qu(t))):e}class Un extends bt{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=Rt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Oe.object){const f=this._getOrReturnCtx(t);return Ae(f,{code:ye.invalid_type,expected:Oe.object,received:f.parsedType}),Qe}const{status:r,ctx:a}=this._processInputParams(t),{shape:s,keys:i}=this._getCached(),c=[];if(!(this._def.catchall instanceof fl&&this._def.unknownKeys==="strip"))for(const f in a.data)i.includes(f)||c.push(f);const u=[];for(const f of i){const h=s[f],m=a.data[f];u.push({key:{status:"valid",value:f},value:h._parse(new Gs(a,m,a.path,f)),alwaysSet:f in a.data})}if(this._def.catchall instanceof fl){const f=this._def.unknownKeys;if(f==="passthrough")for(const h of c)u.push({key:{status:"valid",value:h},value:{status:"valid",value:a.data[h]}});else if(f==="strict")c.length>0&&(Ae(a,{code:ye.unrecognized_keys,keys:c}),r.dirty());else if(f!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const f=this._def.catchall;for(const h of c){const m=a.data[h];u.push({key:{status:"valid",value:h},value:f._parse(new Gs(a,m,a.path,h)),alwaysSet:h in a.data})}}return a.common.async?Promise.resolve().then(async()=>{const f=[];for(const h of u){const m=await h.key,g=await h.value;f.push({key:m,value:g,alwaysSet:h.alwaysSet})}return f}).then(f=>zr.mergeObjectSync(r,f)):zr.mergeObjectSync(r,u)}get shape(){return this._def.shape()}strict(t){return De.errToObj,new Un({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{const a=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:De.errToObj(t).message??a}:{message:a}}}:{}})}strip(){return new Un({...this._def,unknownKeys:"strip"})}passthrough(){return new Un({...this._def,unknownKeys:"passthrough"})}extend(t){return new Un({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Un({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:Ze.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Un({...this._def,catchall:t})}pick(t){const n={};for(const r of Rt.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Un({...this._def,shape:()=>n})}omit(t){const n={};for(const r of Rt.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Un({...this._def,shape:()=>n})}deepPartial(){return Qu(this)}partial(t){const n={};for(const r of Rt.objectKeys(this.shape)){const a=this.shape[r];t&&!t[r]?n[r]=a:n[r]=a.optional()}return new Un({...this._def,shape:()=>n})}required(t){const n={};for(const r of Rt.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let s=this.shape[r];for(;s instanceof nl;)s=s._def.innerType;n[r]=s}return new Un({...this._def,shape:()=>n})}keyof(){return AV(Rt.objectKeys(this.shape))}}Un.create=(e,t)=>new Un({shape:()=>e,unknownKeys:"strip",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});Un.strictCreate=(e,t)=>new Un({shape:()=>e,unknownKeys:"strict",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});Un.lazycreate=(e,t)=>new Un({shape:e,unknownKeys:"strip",catchall:fl.create(),typeName:Ze.ZodObject,...lt(t)});class uv extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function a(s){for(const c of s)if(c.result.status==="valid")return c.result;for(const c of s)if(c.result.status==="dirty")return n.common.issues.push(...c.ctx.common.issues),c.result;const i=s.map(c=>new Zo(c.ctx.common.issues));return Ae(n,{code:ye.invalid_union,unionErrors:i}),Qe}if(n.common.async)return Promise.all(r.map(async s=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await s._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(a);{let s;const i=[];for(const u of r){const f={...n,common:{...n.common,issues:[]},parent:null},h=u._parseSync({data:n.data,path:n.path,parent:f});if(h.status==="valid")return h;h.status==="dirty"&&!s&&(s={result:h,ctx:f}),f.common.issues.length&&i.push(f.common.issues)}if(s)return n.common.issues.push(...s.ctx.common.issues),s.result;const c=i.map(u=>new Zo(u));return Ae(n,{code:ye.invalid_union,unionErrors:c}),Qe}}get options(){return this._def.options}}uv.create=(e,t)=>new uv({options:e,typeName:Ze.ZodUnion,...lt(t)});function uk(e,t){const n=Vi(e),r=Vi(t);if(e===t)return{valid:!0,data:e};if(n===Oe.object&&r===Oe.object){const a=Rt.objectKeys(t),s=Rt.objectKeys(e).filter(c=>a.indexOf(c)!==-1),i={...e,...t};for(const c of s){const u=uk(e[c],t[c]);if(!u.valid)return{valid:!1};i[c]=u.data}return{valid:!0,data:i}}else if(n===Oe.array&&r===Oe.array){if(e.length!==t.length)return{valid:!1};const a=[];for(let s=0;s<e.length;s++){const i=e[s],c=t[s],u=uk(i,c);if(!u.valid)return{valid:!1};a.push(u.data)}return{valid:!0,data:a}}else return n===Oe.date&&r===Oe.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class dv extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=(s,i)=>{if(uL(s)||uL(i))return Qe;const c=uk(s.value,i.value);return c.valid?((dL(s)||dL(i))&&n.dirty(),{status:n.value,value:c.data}):(Ae(r,{code:ye.invalid_intersection_types}),Qe)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([s,i])=>a(s,i)):a(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}dv.create=(e,t,n)=>new dv({left:e,right:t,typeName:Ze.ZodIntersection,...lt(n)});class kc extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.array)return Ae(r,{code:ye.invalid_type,expected:Oe.array,received:r.parsedType}),Qe;if(r.data.length<this._def.items.length)return Ae(r,{code:ye.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Qe;!this._def.rest&&r.data.length>this._def.items.length&&(Ae(r,{code:ye.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const s=[...r.data].map((i,c)=>{const u=this._def.items[c]||this._def.rest;return u?u._parse(new Gs(r,i,r.path,c)):null}).filter(i=>!!i);return r.common.async?Promise.all(s).then(i=>zr.mergeArray(n,i)):zr.mergeArray(n,s)}get items(){return this._def.items}rest(t){return new kc({...this._def,rest:t})}}kc.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new kc({items:e,typeName:Ze.ZodTuple,rest:null,...lt(t)})};class fv extends bt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.object)return Ae(r,{code:ye.invalid_type,expected:Oe.object,received:r.parsedType}),Qe;const a=[],s=this._def.keyType,i=this._def.valueType;for(const c in r.data)a.push({key:s._parse(new Gs(r,c,r.path,c)),value:i._parse(new Gs(r,r.data[c],r.path,c)),alwaysSet:c in r.data});return r.common.async?zr.mergeObjectAsync(n,a):zr.mergeObjectSync(n,a)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof bt?new fv({keyType:t,valueType:n,typeName:Ze.ZodRecord,...lt(r)}):new fv({keyType:zs.create(),valueType:t,typeName:Ze.ZodRecord,...lt(n)})}}class yL extends bt{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.map)return Ae(r,{code:ye.invalid_type,expected:Oe.map,received:r.parsedType}),Qe;const a=this._def.keyType,s=this._def.valueType,i=[...r.data.entries()].map(([c,u],f)=>({key:a._parse(new Gs(r,c,r.path,[f,"key"])),value:s._parse(new Gs(r,u,r.path,[f,"value"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const u of i){const f=await u.key,h=await u.value;if(f.status==="aborted"||h.status==="aborted")return Qe;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const u of i){const f=u.key,h=u.value;if(f.status==="aborted"||h.status==="aborted")return Qe;(f.status==="dirty"||h.status==="dirty")&&n.dirty(),c.set(f.value,h.value)}return{status:n.value,value:c}}}}yL.create=(e,t,n)=>new yL({valueType:t,keyType:e,typeName:Ze.ZodMap,...lt(n)});class Pp extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Oe.set)return Ae(r,{code:ye.invalid_type,expected:Oe.set,received:r.parsedType}),Qe;const a=this._def;a.minSize!==null&&r.data.size<a.minSize.value&&(Ae(r,{code:ye.too_small,minimum:a.minSize.value,type:"set",inclusive:!0,exact:!1,message:a.minSize.message}),n.dirty()),a.maxSize!==null&&r.data.size>a.maxSize.value&&(Ae(r,{code:ye.too_big,maximum:a.maxSize.value,type:"set",inclusive:!0,exact:!1,message:a.maxSize.message}),n.dirty());const s=this._def.valueType;function i(u){const f=new Set;for(const h of u){if(h.status==="aborted")return Qe;h.status==="dirty"&&n.dirty(),f.add(h.value)}return{status:n.value,value:f}}const c=[...r.data.values()].map((u,f)=>s._parse(new Gs(r,u,r.path,f)));return r.common.async?Promise.all(c).then(u=>i(u)):i(c)}min(t,n){return new Pp({...this._def,minSize:{value:t,message:De.toString(n)}})}max(t,n){return new Pp({...this._def,maxSize:{value:t,message:De.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Pp.create=(e,t)=>new Pp({valueType:e,minSize:null,maxSize:null,typeName:Ze.ZodSet,...lt(t)});class bL extends bt{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}bL.create=(e,t)=>new bL({getter:e,typeName:Ze.ZodLazy,...lt(t)});class dk extends bt{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Ae(n,{received:n.data,code:ye.invalid_literal,expected:this._def.value}),Qe}return{status:"valid",value:t.data}}get value(){return this._def.value}}dk.create=(e,t)=>new dk({value:e,typeName:Ze.ZodLiteral,...lt(t)});function AV(e,t){return new Ud({values:e,typeName:Ze.ZodEnum,...lt(t)})}class Ud extends bt{_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return Ae(n,{expected:Rt.joinValues(r),received:n.parsedType,code:ye.invalid_type}),Qe}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Ae(n,{received:n.data,code:ye.invalid_enum_value,options:r}),Qe}return Wa(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Ud.create(t,{...this._def,...n})}exclude(t,n=this._def){return Ud.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Ud.create=AV;class SL extends bt{_parse(t){const n=Rt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Oe.string&&r.parsedType!==Oe.number){const a=Rt.objectValues(n);return Ae(r,{expected:Rt.joinValues(a),received:r.parsedType,code:ye.invalid_type}),Qe}if(this._cache||(this._cache=new Set(Rt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const a=Rt.objectValues(n);return Ae(r,{received:r.data,code:ye.invalid_enum_value,options:a}),Qe}return Wa(t.data)}get enum(){return this._def.values}}SL.create=(e,t)=>new SL({values:e,typeName:Ze.ZodNativeEnum,...lt(t)});class hv extends bt{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Oe.promise&&n.common.async===!1)return Ae(n,{code:ye.invalid_type,expected:Oe.promise,received:n.parsedType}),Qe;const r=n.parsedType===Oe.promise?n.data:Promise.resolve(n.data);return Wa(r.then(a=>this._def.type.parseAsync(a,{path:n.path,errorMap:n.common.contextualErrorMap})))}}hv.create=(e,t)=>new hv({type:e,typeName:Ze.ZodPromise,...lt(t)});class Ac extends bt{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===Ze.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),a=this._def.effect||null,s={addIssue:i=>{Ae(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(s.addIssue=s.addIssue.bind(s),a.type==="preprocess"){const i=a.transform(r.data,s);if(r.common.async)return Promise.resolve(i).then(async c=>{if(n.value==="aborted")return Qe;const u=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return u.status==="aborted"?Qe:u.status==="dirty"||n.value==="dirty"?jh(u.value):u});{if(n.value==="aborted")return Qe;const c=this._def.schema._parseSync({data:i,path:r.path,parent:r});return c.status==="aborted"?Qe:c.status==="dirty"||n.value==="dirty"?jh(c.value):c}}if(a.type==="refinement"){const i=c=>{const u=a.refinement(c,s);if(r.common.async)return Promise.resolve(u);if(u instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status==="aborted"?Qe:(c.status==="dirty"&&n.dirty(),i(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status==="aborted"?Qe:(c.status==="dirty"&&n.dirty(),i(c.value).then(()=>({status:n.value,value:c.value}))))}if(a.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Dd(i))return Qe;const c=a.transform(i.value,s);if(c instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>Dd(i)?Promise.resolve(a.transform(i.value,s)).then(c=>({status:n.value,value:c})):Qe);Rt.assertNever(a)}}Ac.create=(e,t,n)=>new Ac({schema:e,typeName:Ze.ZodEffects,effect:t,...lt(n)});Ac.createWithPreprocess=(e,t,n)=>new Ac({schema:t,effect:{type:"preprocess",transform:e},typeName:Ze.ZodEffects,...lt(n)});class nl extends bt{_parse(t){return this._getType(t)===Oe.undefined?Wa(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}nl.create=(e,t)=>new nl({innerType:e,typeName:Ze.ZodOptional,...lt(t)});class zd extends bt{_parse(t){return this._getType(t)===Oe.null?Wa(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}zd.create=(e,t)=>new zd({innerType:e,typeName:Ze.ZodNullable,...lt(t)});class fk extends bt{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Oe.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}fk.create=(e,t)=>new fk({innerType:e,typeName:Ze.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...lt(t)});class hk extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},a=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return lv(a)?a.then(s=>({status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new Zo(r.common.issues)},input:r.data})})):{status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new Zo(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}hk.create=(e,t)=>new hk({innerType:e,typeName:Ze.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...lt(t)});class wL extends bt{_parse(t){if(this._getType(t)!==Oe.nan){const r=this._getOrReturnCtx(t);return Ae(r,{code:ye.invalid_type,expected:Oe.nan,received:r.parsedType}),Qe}return{status:"valid",value:t.data}}}wL.create=e=>new wL({typeName:Ze.ZodNaN,...lt(e)});class tOe extends bt{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class fT extends bt{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const s=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Qe:s.status==="dirty"?(n.dirty(),jh(s.value)):this._def.out._parseAsync({data:s.value,path:r.path,parent:r})})();{const a=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Qe:a.status==="dirty"?(n.dirty(),{status:"dirty",value:a.value}):this._def.out._parseSync({data:a.value,path:r.path,parent:r})}}static create(t,n){return new fT({in:t,out:n,typeName:Ze.ZodPipeline})}}class pk extends bt{_parse(t){const n=this._def.innerType._parse(t),r=a=>(Dd(a)&&(a.value=Object.freeze(a.value)),a);return lv(n)?n.then(a=>r(a)):r(n)}unwrap(){return this._def.innerType}}pk.create=(e,t)=>new pk({innerType:e,typeName:Ze.ZodReadonly,...lt(t)});var Ze;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(Ze||(Ze={}));const Dr=zs.create,mk=Ec.create;_c.create;const hT=cv.create;Ld.create;const IV=ck.create;fl.create;const TV=Fs.create,Va=Un.create;uv.create;dv.create;kc.create;const nOe=fv.create,Bc=dk.create,By=Ud.create;hv.create;nl.create;zd.create;const rOe=Ac.createWithPreprocess,PDe={string:(e=>zs.create({...e,coerce:!0})),number:(e=>Ec.create({...e,coerce:!0})),boolean:(e=>cv.create({...e,coerce:!0})),bigint:(e=>_c.create({...e,coerce:!0})),date:(e=>Ld.create({...e,coerce:!0}))};Va({kind:Bc("Boolean"),value:hT()});Va({kind:Bc("String"),value:Dr()});Va({kind:Bc("Number"),value:mk()});Va({kind:Bc("StringList"),value:TV(Dr())});Va({kind:Bc("Map"),value:nOe(Dr(),Dr())});Va({kind:Bc("MutedFlag"),value:Va({value:hT(),setAt:mk(),setBy:Dr().optional(),expiresAt:mk().optional(),reason:Dr().optional()})});const aOe=e=>e.hierarchyDelimiter.length===0?[e.fullPath]:e.fullPath.split(e.hierarchyDelimiter),Dp=e=>{const t=aOe(e);return t[t.length-1]||e.fullPath},sOe=(e,t)=>{switch(e.kind){case"appointed":case"flagged":return{allowed:!0,mailbox:e.mailbox};case"proposed":return t==="resolved"?{allowed:!0,mailbox:e.mailbox}:{allowed:!1,reason:"unconfirmed"};case"appointment_stale":return{allowed:!1,reason:"stale"};default:return{allowed:!1,reason:"none"}}},oOe=(e,t)=>sOe(e,t).allowed,iOe={[ju.Appointed]:{kind:"appointed",mailbox:null},[ju.Flagged]:{kind:"flagged",mailbox:null},[ju.Reserved]:{kind:"reserved",mailbox:null},[ju.Proposed]:{kind:"proposed",mailbox:null},[ju.Stale]:{kind:"appointment_stale",appointedMailboxId:"",fallback:{kind:"none"}},[ju.None]:{kind:"none"}},lOe=(e,t)=>oOe(iOe[e],t),pT=()=>typeof navigator<"u"&&(navigator.language||navigator.languages?.[0])||"en-US",Ks=(e,t)=>new Intl.NumberFormat(pT(),t).format(e),cOe=/^-?\d+$/,mT=e=>{if(e instanceof Date)return e;if(typeof e=="number")return new Date(e);if(typeof e=="string"){const t=e.trim();return cOe.test(t)?new Date(Number(t)):new Date(t)}return new Date(Number.NaN)},gT=e=>Number.isFinite(e.getTime()),Fh=(e,t)=>{const n=mT(e);return gT(n)?new Intl.DateTimeFormat(pT(),t).format(n):""},uOe=(e,t)=>Fh(e,{short:{month:"short",day:"numeric"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"},time:{hour:"numeric",minute:"numeric"},datetime:{month:"short",day:"numeric",hour:"numeric",minute:"numeric"}}[t]),DDe=e=>{const t=mT(e);if(!gT(t))return"";const n=new Intl.RelativeTimeFormat(pT(),{numeric:"auto"}),r=Date.now(),a=t.getTime()-r,s=Math.round(a/1e3),i=Math.round(a/(1e3*60)),c=Math.round(a/(1e3*60*60)),u=Math.round(a/(1e3*60*60*24)),f=Math.round(a/(1e3*60*60*24*7));return Math.abs(s)<60?n.format(s,"second"):Math.abs(i)<60?n.format(i,"minute"):Math.abs(c)<24?n.format(c,"hour"):Math.abs(u)<7?n.format(u,"day"):Math.abs(f)<4?n.format(f,"week"):uOe(t,"medium")},LDe=e=>{const t=mT(e);if(!gT(t))return"";const n=new Date,r=t.toDateString()===n.toDateString(),a=new Date(n);a.setDate(a.getDate()-1);const s=t.toDateString()===a.toDateString(),i=new Date(n);i.setDate(i.getDate()-6);const c=t>=i&&t<n,u=t.getFullYear()===n.getFullYear();return r?Fh(t,{hour:"numeric",minute:"numeric"}):s?"Yesterday":c?Fh(t,{weekday:"long"}):u?Fh(t,{month:"short",day:"numeric"}):Fh(t,{month:"short",day:"numeric",year:"numeric"})},dOe=e=>`Move ${e===1?"1":Ks(e)} ${e===1?"message":"messages"} to Trash?`,UDe=({targets:e,trashByAccount:t,hasAppointments:n,isError:r})=>{if(r)return"unavailable";if(!n||e.length===0)return"unknown";let a=!1,s=!1;for(const i of e){if(i.accountId===void 0)return"unknown";const c=t.get(i.accountId);if(c===void 0)return"unknown";if(c.source==="Stale")return"staleTrash";if(c.mailboxId===void 0)return"noTrash";c.mailboxId===i.mailboxId&&(a=!0,lOe(c.source,"confirmed")||(s=!0))}return s?"unconfirmed":a?"permanent":"trash"},fOe=e=>e==="permanent"||e==="unconfirmed",zDe=(e,t,n={})=>{const r=e===1?"1":Ks(e),a=e===1?"message":"messages",{trashFolderLabel:s,staleFolderLabel:i}=n;if(t==="noTrash")return{title:`Can't delete ${r} ${a} yet`,description:"No folder on this account is set as Trash, so there is nowhere to move the mail. Nothing has been deleted.",confirmLabel:"Pick a Trash folder"};if(t==="staleTrash")return{title:`Can't delete ${r} ${a} yet`,description:i?`The folder you set as this account's Trash — ${i} — is gone from the mail server. Nothing has been deleted.`:"The folder you set as this account's Trash is gone from the mail server. Nothing has been deleted.",confirmLabel:"Pick another folder"};if(t==="unconfirmed"){const c=s?`reader files this account's deleted mail in ${s} because of its name — nobody confirmed it.`:"reader files this account's deleted mail in a folder it matched by name — nobody confirmed it.";return{title:"Confirm this account's Trash folder",description:e>0?`${c} Deleting ${r} ${a} there erases them from the mail server, and that cannot be restored. Nothing has been deleted.`:`${c} Emptying a folder erases everything in it from the mail server, and that cannot be restored. Nothing has been emptied.`,confirmLabel:"Confirm the folder"}}return t==="unavailable"?{title:`Can't delete ${r} ${a}`,description:"reader couldn't read this account's folder settings, so it can't say whether this would move the mail to Trash or erase it. Nothing has been deleted.",confirmLabel:"Sign in again"}:t==="unknown"?{title:`Delete ${r} ${a}?`,description:"Checking where this account files deleted mail…",confirmLabel:"Delete"}:t==="permanent"?{title:`Permanently delete ${r} ${a}?`,description:"They are erased from the mail server and cannot be restored.",confirmLabel:"Delete permanently"}:{title:dOe(e),description:"You can restore them from Trash later.",confirmLabel:"Move to Trash"}},hOe={delete:(e,t)=>`Deleting ${e} of ${t}…`,move:(e,t)=>`Moving ${e} of ${t}…`,markRead:(e,t)=>`Marking ${e} of ${t} as read…`},pOe={delete:"moved to Trash",move:"moved",markRead:"marked as read"},RV=(e,t)=>e==="delete"&&fOe(t)?"permanently deleted":pOe[e],mOe={delete:"couldn't be deleted",move:"couldn't be moved",markRead:"couldn't be marked as read"},gOe={delete:"Couldn't delete these messages",move:"Couldn't move these messages",markRead:"Couldn't mark these messages as read"},vOe={delete:"The delete didn't finish.",move:"The move didn't finish.",markRead:"The update didn't finish."},jDe=(e,t,n)=>hOe[e](Ks(t),Ks(n)),yOe=(e,t,n="trash")=>`${Ks(t)} ${RV(e,n)}. Your mail server is still catching up.`,bOe=e=>`Stopped after ${Ks(e)}`,SOe=(e,t,n,r="trash")=>`${Ks(t)} of ${Ks(n)} ${RV(e,r)}. The rest were not sent, apart from the ones already on their way when you stopped — those may still have gone through.`,xL=(e,t)=>t>0?`Stopped after ${Ks(t)} — some messages ${mOe[e]}`:gOe[e],wOe=e=>vOe[e],xOe={delete:e=>`A delete of ${e} messages`,move:e=>`A move of ${e} messages`,markRead:e=>`Marking ${e} messages as read`},COe=(e,t,n)=>`${xOe[e](Ks(t))}${n?` in ${n}`:""} is still running — stop it first.`,FDe=e=>e==="delete"?"danger":"info",$De=(e,t,n,r)=>n.error!==void 0?null:n.cancelled?{severity:"warning",title:bOe(n.done),detail:SOe(e,n.done,t,r)}:{severity:"info",title:yOe(e,n.done,r)},OV=100,EOe=(e,t)=>e.kind==="move"?[t,e.destinationMailboxId]:[t],_Oe=new AbortController().signal,gk=async e=>e.then(t=>({ok:!0,value:t}),t=>({ok:!1,error:t})),kOe=(e,t=OV)=>{if(e.length===0)return[];const n=[];for(let r=0;r<e.length;r+=t)n.push(e.slice(r,r+t));return n},AOe=(e,t=OV)=>{const n=new Map;for(const r of e){const a=n.get(r.accountId);if(a){a.push(r.id);continue}n.set(r.accountId,[r.id])}return[...n.values()].flatMap(r=>kOe(r,t))},NV=async(e,t,n,r)=>{const a=AOe(e),s=e.length;let i=0,c=0;const u=[];for(let f=0;f<a.length;f++){if(r.aborted)return u.push(...a.slice(f).flat()),{done:i,failedIds:u,refused:c,cancelled:!0};const h=a[f],m=await gk(t(h,r));if(!m.ok)return u.push(...a.slice(f).flat()),r.aborted?{done:i,failedIds:u,refused:c,cancelled:!0}:(n({done:i,total:s}),{done:i,failedIds:u,refused:c,cancelled:!1,error:m.error});c+=m.value?.failureCount??0,i+=h.length,n({done:i,total:s})}return{done:i,failedIds:u,refused:c,cancelled:!1}},BDe=async(e,t)=>{await NV(e.map(n=>({id:n,accountId:void 0})),async n=>(await t(n),{successCount:n.length,failureCount:0}),()=>{},_Oe)},IOe=async(e,t,n,r,a)=>{let s=0,i=0;const c=[];let u;do{if(a.aborted)return{done:s,failedIds:c,refused:i,cancelled:!0};const f=await gk(e(u,a));if(!f.ok)return a.aborted?{done:s,failedIds:c,refused:i,cancelled:!0}:{done:s,failedIds:c,refused:i,cancelled:!1,error:f.error};const h=f.value;if(h.ids.length>0){const m=await gk(n(h.ids,a));if(!m.ok)return a.aborted?{done:s,failedIds:c,refused:i,cancelled:!0}:{done:s,failedIds:c,refused:i,cancelled:!1,error:m.error};i+=m.value?.failureCount??0,s+=h.ids.length,r({done:s,total:t})}u=h.continuationToken}while(u);return{done:s,failedIds:c,refused:i,cancelled:!1}},TOe=e=>({done:e.done,total:Math.max(e.total,e.done)}),ROe=e=>typeof e=="object"&&e!==null&&Array.isArray(e.pages),OOe=e=>typeof e=="object"&&e!==null&&Array.isArray(e.items),NOe=(e,t)=>e===void 0?e:ROe(e)?{...e,pages:e.pages.map(n=>({...n,items:t(n.items)}))}:OOe(e)?{...e,items:t(e.items)}:e,MOe=e=>{const t=[];for(const n of new Set(e))t.push(dRe({path:{mailboxId:n}})),t.push(wV({path:{mailboxId:n}}));return t.push(CV()),t},HDe=(e,t)=>Promise.all(t.map(n=>e.cancelQueries({queryKey:n}))),qDe=(e,t)=>t.flatMap(n=>e.getQueriesData({queryKey:n})).filter(n=>n[1]!==void 0).map(([n,r])=>({queryKey:n,data:r})),VDe=(e,t,n)=>{const r=a=>NOe(a,n);for(const a of t)e.setQueriesData({queryKey:a},r)},WDe=(e,t)=>{for(const n of t)e.setQueryData(n.queryKey,n.data)},POe=(e,t)=>{for(const n of t)e.invalidateQueries({queryKey:n})},CL=5,DOe=(e,t,n)=>({title:e,detail:MV(n)??t,error:n}),MV=e=>{if(e!=null){if(e instanceof Error)return e.message||void 0;if(typeof e=="string")return e||void 0;if(typeof e=="object"&&"message"in e&&typeof e.message=="string")return e.message||void 0}},GDe=e=>cA(e)?.code==="message_gone_from_server",KDe=e=>{const t=MV(e);return t?t.startsWith("Message not found"):!1},LOe=(e,t,n)=>e.severity===n&&e.title===t.title&&e.detail===t.detail,UOe=(e,t)=>{const r=[...e.filter(a=>!LOe(a,{title:t.title,detail:t.detail,severity:t.severity},t.severity)),t];return r.length<=CL?r:r.slice(r.length-CL)},zOe=(e,t)=>e.filter(n=>n.id!==t),jOe=(e,t,n)=>({id:t,severity:e.severity??"error",title:e.title,detail:e.detail,action:e.action,createdAt:n}),PV=_.createContext(void 0),FOe=e=>{if(e.action)return e.action;if((e.severity??"error")==="error")return{label:"Report an issue",href:hA(x1({title:`Bug: ${e.title}`,errorMessage:e.detail?`${e.title} — ${e.detail}`:e.title,stack:e.error instanceof Error?e.error.stack:void 0}))}},$Oe=()=>typeof globalThis.crypto<"u"&&typeof globalThis.crypto.randomUUID=="function"?globalThis.crypto.randomUUID():`banner-${Date.now()}-${Math.random().toString(36).slice(2,10)}`,BOe=({children:e})=>{const[t,n]=_.useState([]),r=_.useCallback(c=>{if(c.error!=null&&Xj(c.error))return sl(c.error).correlationId;const u=jOe({...c,action:FOe(c)},$Oe(),Date.now());return n(f=>UOe(f,u)),u.id},[]),a=_.useCallback(c=>{n(u=>zOe(u,c))},[]),s=_.useCallback(()=>{n([])},[]),i=_.useMemo(()=>({errors:t,pushError:r,dismissError:a,clearAll:s}),[t,r,a,s]);return C.jsxs(PV.Provider,{value:i,children:[e,C.jsx(Oae,{errors:t,onDismiss:a})]})},HOe=()=>{const e=_.useContext(PV);if(!e)throw new Error("useErrorBanners must be used within an ErrorBannerProvider");return e},qOe=new Set(["none","stale","unconfirmed"]),VOe=new Set(Object.values(TRe)),ZE=(e,t)=>{const n=e?.[t];return typeof n=="string"?n:void 0},WOe=e=>{const t=cA(e);if(t?.code!=="folder_role_unresolved")return;const{details:n}=t;if(!n)return;const r=ZE(n,"reason"),a=ZE(n,"role"),s=ZE(n,"accountId");if(!(!r||!qOe.has(r))&&!(!a||!VOe.has(a)||!s))return{reason:r,role:a,accountId:s}},GOe=e=>cA(e)?.code==="mailbox_not_settled",KOe=3e4,YOe=1e3,ZOe="The folder couldn't be created on the mail server. Please try again.",XOe="The folder was created but the mail server hasn't confirmed it yet, so nothing was attached to it. It's in your folder list — try again in a moment.",QOe=(e,t)=>new Promise((n,r)=>{if(t?.aborted){r(t.reason);return}const a=setTimeout(()=>{t?.removeEventListener("abort",s),n()},e),s=()=>{clearTimeout(a),r(t?.reason)};t?.addEventListener("abort",s,{once:!0})});async function JOe({fetchMailboxes:e,mailboxId:t,signal:n,timeoutMs:r=KOe,pollIntervalMs:a=YOe,delay:s=QOe,now:i=Date.now}){const c=i()+r;for(;;){n?.throwIfAborted();const f=(await e()).find(h=>h.mailboxId===t);if(f?.syncStatus===lL.synced)return f;if(f?.syncStatus===lL.failed)throw new Error(ZOe);if(i()>=c)throw new Error(XOe);await s(a,n)}}function DV(e,t){const n=e.trim();return t?`${t.fullPath}${t.hierarchyDelimiter}${n}`:n}const EL=(e,t)=>{const n=t.length===0?[e]:e.split(t);return n[0]?.toLowerCase()==="inbox"&&(n[0]="INBOX"),n.join(t)};function e4e({name:e,delimiter:t,parent:n,existingPaths:r}){const a=e.trim();if(a==="")return"Enter a folder name.";if(t.length>0&&a.includes(t))return`A folder name can't contain "${t}".`;const s=EL(DV(a,n),t);if(r.some(c=>EL(c,t)===s))return"A folder with that name already exists."}function t4e(e){const t=Lc(),{data:n}=_d({...ok({path:{accountId:e??""}}),enabled:!!e}),r=pI({...eRe(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:uT({path:{accountId:e}})})}}),a=_.useRef(new Map),s=_.useCallback(async(c,u,f)=>{if(!e)throw new Error("No account to create the folder in. Pick messages from a single account first.");const h=n?.items??[],m=u?h.find(x=>x.fullPath===u):void 0;if(u&&!m)throw new Error(`Couldn't find the folder "${u}" to create this one inside.`);const g=m?{fullPath:m.fullPath,hierarchyDelimiter:m.hierarchyDelimiter}:void 0,y=DV(c,g);let w=a.current.get(y);if(!w){const x=g?.hierarchyDelimiter??h[0]?.hierarchyDelimiter??"/",E=e4e({name:c,delimiter:x,parent:g,existingPaths:h.map(A=>A.fullPath)});if(E)throw new Error(E);w=(await r.mutateAsync({path:{accountId:e},body:{fullPath:y,namespaceType:"personal"}})).mailboxId,a.current.set(y,w)}const b=await JOe({mailboxId:w,signal:f,fetchMailboxes:async()=>(await t.fetchQuery({...ok({path:{accountId:e}}),staleTime:0})).items??[]});return a.current.delete(y),{id:b.mailboxId,label:Dp(b),path:b.fullPath}},[r,e,n,t]);return{createFolder:_.useCallback((c,u)=>s(c,"",u),[s]),createFolderIn:s,mutation:r}}const n4e=()=>{const{t:e}=yV("mail",{useSuspense:!1});return _.useCallback((t,n)=>e(t,{defaultValue:n}),[e])},XE={Inbox:"inbox",Drafts:"drafts",Sent:"sent",Archive:"archive",Junk:"junk",Trash:"trash",All:"all",Flagged:"flagged"},YDe={inbox:"Inbox",drafts:"Drafts",sent:"Sent",archive:"Archive",junk:"Junk",trash:"Trash",all:"All",flagged:"Flagged"},Lp=["inbox","flagged","drafts","sent","archive","all","junk","trash"];function Hy(e){const t=new Map,n=[...e].sort((r,a)=>Lp.indexOf(XE[r.role])-Lp.indexOf(XE[a.role]));for(const r of n){if(!r.mailboxId||t.has(r.mailboxId))continue;const a=XE[r.role];a&&t.set(r.mailboxId,a)}return t}function LV(e,t,n){const r=e.displayNameOverride?.trim();if(r)return r;const a=Dp(e);return!t||!n?a:n(`sidebar.${t}`,a)}const r4e=new Set(["sent","drafts","trash"]),ZDe=e=>e===void 0||!r4e.has(e),XDe=100,a4e=e=>e.trim().toLowerCase()==="inbox",s4e=(e,t)=>{if(e.hierarchyDelimiter.length===0)return!1;const n=`${e.fullPath}${e.hierarchyDelimiter}`;return t.some(r=>r.mailboxId!==e.mailboxId&&r.fullPath.startsWith(n))},o4e=["Appointed","Flagged","Reserved"],i4e=(e,t)=>e.mailboxId!==t.mailboxId?!1:e.source==="Stale"?t.specialUse?.includes(e.role)??!1:o4e.includes(e.source),l4e=(e,t)=>t.find(n=>i4e(n,e))?.role;function QDe(e,t,n){if(a4e(e.fullPath))return{deletable:!1,reason:"inbox",message:"The inbox can't be deleted."};const r=l4e(e,n);return r?{deletable:!1,reason:"role",message:`This folder is your ${r} folder. Reassign that role before deleting it.`}:s4e(e,t)?{deletable:!1,reason:"children",message:"This folder has subfolders. Delete them first."}:{deletable:!0}}function c4e(e,t){return e.filter(n=>n.mailboxId!==t)}function JDe(e){return{total:e,moved:0,phase:e===0?"moved":"moving"}}function e9e(e,t){if(e.phase!=="moving")return e;const n=Math.min(e.total,e.moved+Math.max(0,t));return{...e,moved:n,phase:n>=e.total?"moved":"moving"}}function t9e(e,t){return{...e,phase:"failed",error:t}}function n9e(e){return`Moved ${e.moved} of ${e.total}`}function r9e(e){const t=Math.max(0,Math.floor(e/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}function a9e(e){return e>0?"choose-fate":"confirm-empty"}const u4e=new Set(["outbox","postvak uit","boîte d'envoi","postausgang","buzón de salida","posta in uscita","送信トレイ","送件匣","发件箱","skrzynka nadawcza"]),d4e=e=>{const t=Dp(e).trim().toLowerCase();return u4e.has(t)},_L=Lp.length,f4e=(e,t)=>{const n=Hy(t);return[...e.filter(a=>{const s=n.get(a.mailboxId);return s==="drafts"||s==="sent"?!1:!d4e(a)})].sort((a,s)=>{const i=n.has(a.mailboxId)?Lp.indexOf(n.get(a.mailboxId)??"inbox"):_L,c=n.has(s.mailboxId)?Lp.indexOf(n.get(s.mailboxId)??"inbox"):_L;return i!==c?i-c:Dp(a).localeCompare(Dp(s),void 0,{sensitivity:"base",numeric:!0})})},h4e=e=>e[0]?.hierarchyDelimiter??"/",p4e=({mailboxes:e,folderAppointments:t,currentMailboxId:n,excludeMailboxId:r,translator:a})=>{const s=f4e(e,t),i=Hy(t);return(r?c4e(s,r):s).map(u=>({id:u.mailboxId,label:LV(u,i.get(u.mailboxId),a),path:u.fullPath,isCurrent:u.mailboxId===n,messageCount:u.messageCount}))},UV=_.createContext(void 0),kL=Symbol("appoint-failed"),m4e=({children:e})=>{const t=Lc(),n=n4e(),[r,a]=_.useState(null),[s,i]=_.useState(),[c,u]=_.useState({kind:"choosing"}),f=r?.accountId,{data:h}=_d({...dT(),staleTime:1/0,enabled:!!f}),{data:m}=_d({...ok({path:{accountId:f??""}}),enabled:!!f}),{createFolderIn:g}=t4e(f),y=pI({...QTe(),meta:fA(409)}),w=h?.accounts.find(L=>L.accountId===f),b=_.useMemo(()=>m?.items??[],[m]),x=_.useMemo(()=>w?.folderAppointments??[],[w]),E=_.useMemo(()=>p4e({mailboxes:b,folderAppointments:x,translator:n}),[b,x,n]),k=x.find(L=>L.role===r?.role),A=r?.guessedMailboxId??k?.mailboxId,R=b.find(L=>L.mailboxId===A),P=r?.trashFolderLabel??(R?LV(R,Hy(x).get(R.mailboxId),n):void 0),O=_.useRef(null),T=_.useCallback(()=>{O.current=null,a(null),i(void 0),u({kind:"choosing"})},[]),M=_.useCallback(L=>{O.current=L,a(L),u({kind:"choosing"}),i(L.reason==="unconfirmed"?L.guessedMailboxId:void 0)},[]),z=_.useCallback(L=>{O.current===L&&T()},[T]),q=_.useCallback(L=>{r&&(u({kind:"appointing"}),y.mutateAsync({path:{accountId:r.accountId,role:r.role},body:{mailboxId:L}}).catch(B=>(u({kind:"appoint-failed",cause:GOe(B)?"mailbox-pending":"generic"}),kL)).then(async B=>{B!==kL&&(await t.invalidateQueries({queryKey:SV()}),u({kind:"acting"}),await r.onAppointed(),z(r))}).catch(()=>z(r)))},[r,y,t,z]),U=_.useMemo(()=>({requestAppointment:M}),[M]);return C.jsxs(UV.Provider,{value:U,children:[e,r&&C.jsx(pie,{open:!0,reason:r.reason,action:r.action,folders:E,delimiter:h4e(b),trashFolderLabel:P,guessedMailboxId:A,staleFolderLabel:r.staleFolderLabel??k?.staleAppointmentPath,accountEmail:(h?.accounts.length??0)>1?w?.email:void 0,phase:c,selectedId:s,onSelect:i,onCreateFolder:g,onConfirm:q,onCancel:T})]})},g4e=()=>{const e=_.useContext(UV);if(!e)throw new Error("useRoleAppointmentPrompt must be used within a RoleAppointmentPromptProvider");return e},zV=_.createContext(void 0),v4e=({children:e})=>{const[t,n]=_.useState(void 0),r=_.useRef(void 0),a=_.useRef(void 0),s=_.useRef(void 0),i=_.useRef(new Set),c=Lc(),{pushError:u}=HOe(),{requestAppointment:f}=g4e(),h=_.useRef(async()=>({kind:"ran",outcome:{done:0,failedIds:[],refused:0,cancelled:!1}})),m=_.useCallback(b=>{POe(c,MOe(EOe(b.action,b.mailboxId)));const x=new Set;if(b.accountId&&x.add(b.accountId),b.source.kind==="targets")for(const E of b.source.targets)E.accountId&&x.add(E.accountId);for(const E of x)c.invalidateQueries({queryKey:uT({path:{accountId:E}})})},[c]),g=_.useCallback(async b=>{const x=s.current;if(x)return{kind:"refused",reason:COe(x.action.kind,x.matched,x.mailboxLabel)};const E=Symbol("bulk-run"),k=new AbortController;r.current=k,a.current=E,s.current=b,b.claimEnding&&(i.current.add(E),b.claimEnding(()=>i.current.delete(E))),n({action:b.action,mailboxId:b.mailboxId,progress:{done:0,total:b.matched}});const A=T=>{a.current===E&&n(M=>M&&{...M,progress:TOe(T)})},R=b.source.kind==="targets"?await NV(b.source.targets,b.applyBatch,A,k.signal):await IOe(b.source.fetchPage,b.matched,b.applyBatch,A,k.signal),P=i.current.delete(E);a.current===E&&(a.current=void 0,s.current=void 0,n(void 0));const O=R.error?WOe(R.error):void 0;return O?f({accountId:O.accountId,role:O.role,reason:O.reason,action:{kind:"delete",count:b.matched},onAppointed:async()=>{const T=await h.current({...b,claimEnding:void 0});T.kind==="refused"&&u({title:xL(b.action.kind,0),detail:T.reason})}}):R.error?u(DOe(xL(b.action.kind,R.done),wOe(b.action.kind),R.error)):R.refused>0&&u({severity:"warning",title:R.refused>1?`Couldn't delete ${R.refused} of ${b.matched} messages yet`:"Couldn't delete this message yet",detail:"Something else moved them while the delete was being prepared. They are back where they now sit — try again."}),P||b.reportEnding?.(b.action.kind,b.matched,R),R.done>0&&m(b),{kind:"ran",outcome:R}},[m,u,f]);h.current=g;const y=_.useCallback(b=>{s.current?.mailboxId===b&&r.current?.abort()},[]);_.useEffect(()=>{const b=i.current;return()=>{r.current?.abort(),r.current=void 0,a.current=void 0,s.current=void 0,b.clear()}},[]);const w=_.useMemo(()=>({run:t,start:g,stop:y}),[t,g,y]);return C.jsx(zV.Provider,{value:w,children:e})},s9e=()=>{const e=_.useContext(zV);if(!e)throw new Error("useBulkRun must be used within a BulkRunProvider");return e},y4e=600,b4e=300,jV="remit logs",S4e="https://github.com/remit-mail/reader/releases/tag/";function FV(e,t){const n=t?.check.lastCheckedAt;return n!==void 0&&n!==e.since}function w4e(e){const t=xa(e);return`The check could not be requested — ${t===void 0?"the server did not answer":`the server answered ${t}`}. Run \`remit logs backend\` to see why.`}const x4e={checking:"preparing",pulling:"preparing",snapshotting:"preparing",stopping:"restarting",starting:"restarting",verifying:"reconnecting",committing:"reconnecting",rollingBack:"reconnecting",recovering:"reconnecting"};function vT(e){return x4e[e]??"reconnecting"}function $V(e){const t=xa(e);return t===404||t===403||t===401}function vk(e,t){const n=e?.run??null;return n===null||n.outcome!==null||n.runId===t?null:n}function BV(e,t){const n=e?.check;if(n?.status==="ok"&&!(!n.updateAvailable||!n.latestVersion))return{version:n.latestVersion,releasedAt:pv(n.publishedAt)??t,releaseNotesUrl:n.releaseNotesUrl??HV(n.latestVersion),summary:n.summary??""}}function C4e(e){const t=e?.check.schemaVersion,n=e?.currentSchemaVersion;return t===void 0||n===void 0?!1:t>n}function yk(){return y4e+b4e}function bk(e,t){return Math.max(0,Math.floor((t-e)/1e3))}function pv(e){if(!e)return;const t=Date.parse(e);return Number.isNaN(t)?void 0:t}function HV(e){return`${S4e}${e}`}function Up(e,t,n,r,a){return{status:"applying",runId:e,version:t,target:n,phase:r,elapsedSeconds:a}}function E4e(e,t,n){switch(n){case"succeeded":return{status:"succeeded",runId:t.runId,version:t.targetVersion,previousVersion:t.fromVersion,releaseNotesUrl:e.check.releaseNotesUrl??HV(t.targetVersion)};case"rolledBack":return{status:"rolledBack",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};case"rollbackFailed":return{status:"rollbackFailed",runId:t.runId,attemptedVersion:t.targetVersion,previousVersion:t.fromVersion,reason:t.message,logsCommand:t.logCommand};case"abandoned":return{status:"abandoned",runId:t.runId,version:t.fromVersion,attemptedVersion:t.targetVersion,reason:t.message,logsCommand:t.logCommand};default:return n}}function _4e(e,t,n,r){const a=e.check,s=pv(a.lastCheckedAt);if(n!==null)return{status:"checkFailed",version:e.currentVersion,reason:n,lastCheckedAt:s};if(t!==null&&!FV(t,e))return{status:"checking",version:e.currentVersion};if(a.status==="failed")return{status:"checkFailed",version:e.currentVersion,reason:a.error??"Remit could not reach the update service.",lastCheckedAt:s};if(a.status==="disabled")return{status:"neverChecked",version:e.currentVersion,lastCheckedAt:s};const i=BV(e,r);return i?{status:"available",version:e.currentVersion,release:i}:{status:"upToDate",version:e.currentVersion,checkedAt:pv(a.lastCheckedAt)??r}}function AL(e,t,n){return{surface:{status:"ready",section:e,overlay:t},releaseHeld:n}}function qV(e,t,n,r){return{status:"ready",section:Up(e,t,n,"reconnecting",r),overlay:{kind:"applying",target:n,phase:"reconnecting",elapsedSeconds:r}}}function VV(e,t,n,r,a){return{status:"ready",section:Up(e,t,n,"reconnecting",r),overlay:{kind:"neverCameBack",attemptedVersion:n,previousVersion:t,elapsedSeconds:r,logsCommand:a}}}function k4e(e,t){return{surface:VV(e.runId,e.previousVersion,e.attemptedVersion,t,jV),releaseHeld:!1}}function A4e(e,t,n,r,a){const s=bk(e.startedAt,a),i=t?.currentVersion??e.previousVersion,c=!r&&n!==null&&n.runId===e.runId;if(c&&n!==null&&n.outcome!==null)return null;if(c&&n!==null){const u=vT(n.phase);return AL(Up(n.runId,i,n.targetVersion,u,s),{kind:"applying",target:n.targetVersion,phase:u,elapsedSeconds:s},!1)}return r?s>yk()?k4e(e,s):{surface:qV(e.runId,e.previousVersion,e.attemptedVersion,s),releaseHeld:!1}:t===void 0?{surface:{status:"loading"},releaseHeld:!1}:s>yk()?{surface:{status:"ready",section:{status:"unreachable",runId:e.runId,previousVersion:e.previousVersion,attemptedVersion:e.attemptedVersion,elapsedSeconds:s,logsCommand:n?.logCommand??jV},overlay:{kind:"none"}},releaseHeld:!0}:AL(Up(e.runId,i,e.attemptedVersion,e.phase,s),{kind:"applying",target:e.attemptedVersion,phase:e.phase,elapsedSeconds:s},!1)}function IL(e){const{data:t,isError:n,dismissedRunId:r,checkPress:a,checkFailure:s,sighting:i,now:c}=e;if(n){const h=vk(t,r);if(h!==null){const m=i!==null&&i.runId===h.runId?i.observedAt:c,g=bk(m,c);return g>yk()?VV(h.runId,h.fromVersion,h.targetVersion,g,h.logCommand):qV(h.runId,h.fromVersion,h.targetVersion,g)}return{status:"ready",section:{status:"checkFailed",version:t?.currentVersion??"the current version",reason:"Remit could not reach the update service."},overlay:{kind:"none"}}}if(!t)return{status:"loading"};const u=t.run,f=u!==null&&r!==null&&u.runId===r;if(u!==null&&!f&&u.outcome!==null)return{status:"ready",section:E4e(t,u,u.outcome),overlay:{kind:"none"}};if(u!==null&&!f&&u.outcome===null){const h=bk(pv(u.startedAt)??c,c),m=vT(u.phase);return{status:"ready",section:Up(u.runId,u.fromVersion,u.targetVersion,m,h),overlay:{kind:"applying",target:u.targetVersion,phase:m,elapsedSeconds:h}}}return{status:"ready",section:_4e(t,a,s,c),overlay:{kind:"none"}}}function I4e(e){const{data:t,isError:n,error:r,held:a,now:s}=e,i=t?.run??null;if($V(r)&&!a)return{surface:{status:"absent"},releaseHeld:!0};if(a){const c=A4e(a,t,i,n,s);return c||{surface:IL(e),releaseHeld:!0}}return{surface:IL(e),releaseHeld:!1}}const T4e=3e4,R4e=5e3,O4e=dA,N4e={...dA,...Sle},M4e=3e4,P4e="The updater did not answer. Run `remit logs updater` to see why.";function D4e(e,t,n,r){if($V(e)&&!n)return!1;const a=t!==null&&t.outcome===null;return n||a||r?R4e:T4e}function L4e(){const e=Lc(),[t,n]=_.useState(null),[r,a]=_.useState(null),[s,i]=_.useState(null),[c,u]=_.useState(null),[f,h]=_.useState(null),m=_.useRef(t);m.current=t;const g=_.useRef(s);g.current=s;const y=e.getQueryData(ik()),w=t!==null||vk(y,r)!==null,b=_d({...SRe(),retry:!1,meta:w?N4e:O4e,refetchInterval:L=>D4e(L.state.error,L.state.data?.run??null,m.current!==null,g.current!==null)}),x=_.useRef(b.data);x.current=b.data;const E=I4e({data:b.data,isError:b.isError,error:b.error,held:t,dismissedRunId:r,checkPress:s,checkFailure:c,sighting:f,now:Date.now()}),k=vk(b.data,r);_.useEffect(()=>{if(k===null){h(L=>L===null?L:null);return}h(L=>L!==null&&L.runId===k.runId?L:{runId:k.runId,observedAt:Date.now()})},[k]);const A=_.useRef(null);A.current=E.surface.status==="ready"&&"runId"in E.surface.section?E.surface.section.runId:null;const{releaseHeld:R}=E;_.useEffect(()=>{R&&n(L=>L===null?L:null)},[R]),_.useEffect(()=>{s!==null&&FV(s,b.data)&&i(null)},[s,b.data]),_.useEffect(()=>{if(s===null)return;const L=s.pressedAt+M4e-Date.now(),B=setTimeout(()=>{i(null),u(P4e)},Math.max(0,L));return()=>clearTimeout(B)},[s]);const{refetch:P}=b,O=_.useCallback(()=>{u(null),i({pressedAt:Date.now(),since:x.current?.check.lastCheckedAt}),bV({query:{refresh:!0},throwOnError:!0}).then(()=>{P()}).catch(L=>{uA(L,dA,"user")&&sl(L),i(null),u(w4e(L))})},[P]),T=_.useCallback(()=>{P()},[P]),M=pI({...wRe(),meta:{softError:!0},onSuccess:L=>{const B=L.run;B!==null&&(n({runId:B.runId,attemptedVersion:B.targetVersion,previousVersion:B.fromVersion,phase:vT(B.phase),startedAt:Date.now()}),a(null)),e.setQueryData(ik(),L)},onError:()=>{P()}}),{mutate:z}=M,q=_.useCallback(L=>{z({body:{targetVersion:L}})},[z]),U=_.useCallback(()=>{A.current!==null&&a(A.current),n(null),i(null),u(null)},[]);return{surface:E.surface,appliesSchemaMigration:C4e(b.data),currentVersion:b.data?.currentVersion,release:BV(b.data,Date.now()),onCheck:O,install:q,onDismissResult:U,onRetryConnection:T}}const yT=_.createContext(null);function U4e({children:e}){const t=L4e();return _.createElement(yT.Provider,{value:t},e)}function z4e(){const e=_.useContext(yT);if(e===null)throw new Error("useSelfUpdate must be used within a SelfUpdateProvider");return e}function j4e(){return _.useContext(yT)}function F4e(){const{surface:e,onRetryConnection:t}=z4e();if(e.status!=="ready")return null;const{overlay:n}=e;return n.kind==="applying"?C.jsx(nle,{target:n.target,phase:n.phase,elapsedSeconds:n.elapsedSeconds}):n.kind==="neverCameBack"?C.jsx(rle,{attemptedVersion:n.attemptedVersion,previousVersion:n.previousVersion,elapsedSeconds:n.elapsedSeconds,logsCommand:n.logsCommand,onRetryConnection:t}):null}const $4e=({error:e,reset:t,info:n})=>{const r=Vv(e),a=sl(e,{recoverable:r,componentStack:n?.componentStack});return C.jsx(sF,{fatal:a,onRetry:r?t:void 0})},Hc=JSe()({component:q4e,errorComponent:$4e}),B4e=()=>{const{t:e}=yV("common",{useSuspense:!1});return C.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:z-50 focus:p-4 focus:bg-canvas focus:text-fg focus:rounded-md",children:e("accessibility.skipToContent","Skip to main content")})},H4e=({children:e})=>Yd().updateMode==="managed"?e:C.jsxs(U4e,{children:[e,C.jsx(F4e,{})]});function q4e(){return C.jsxs(BOe,{children:[C.jsx(m4e,{children:C.jsx(v4e,{children:C.jsx(H4e,{children:C.jsxs(IRe,{children:[C.jsx(B4e,{}),C.jsx("main",{id:"main-content",className:"h-dvh overflow-hidden",children:C.jsx(_.Suspense,{fallback:C.jsx(Bv,{}),children:C.jsx(AB,{})})})]})})})}),C.jsx(aF,{})]})}const V4e=$e("/")({beforeLoad:()=>{throw em({to:"/mail/brief"})}}),W4e=Yd().apiUrl;Ce.setConfig({baseUrl:W4e,fetch:pz});Ce.interceptors.error.use((e,t)=>e instanceof qv||!t?e:ple(e,t.status));const G4e=()=>Ke(()=>import("./calendar-7FnOinQ7.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),K4e=$e("/calendar")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(dT())},component:Ge(G4e,"component")}),Y4e=()=>Ke(()=>import("./import-B2ANVOl-.js"),__vite__mapDeps([11,12,13,14,15,16])),Z4e=$e("/import")({component:Ge(Y4e,"component")}),WV="/mail/brief",GV="/mail/$mailboxId",KV="/mail/outbox",YV="/mail/flagged";function X4e(e){for(const t of e){if(t.routeId===WV)return{list:"brief"};if(t.routeId===YV)return{list:"flagged"};if(t.routeId===KV)return{list:"outbox"};if(t.routeId===GV)return{list:"mailbox",mailboxId:t.params?.mailboxId}}}function o9e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);if(t[0]!=="mail")return"";const n=t[1];return n?n==="brief"?WV:n==="flagged"?YV:n==="outbox"?KV:Q4e(n):""}function i9e(e){if(typeof e!="object"||e===null)return"";const{q:t}=e;return typeof t=="string"?t:""}function Q4e(e){return`${GV}:${e}`}function l9e(e,t){return e===t?!0:e.startsWith(`${t}/`)}function J4e(e){const t=e.split(/[?#]/)[0].split("/").filter(Boolean);return t[0]==="mail"&&t.length>2}const e5e=()=>lie(iie),bT=["intelligence","nav","shortcuts"],t5e=["nav","shortcuts"],ZV=e=>t5e.includes(e);function c9e(e,t){return[...e.filter(n=>!ZV(n)),...t?[t]:[]]}const n5e=By(bT);function Sk(e){const t=new Set(e.split(",").map(n=>n5e.safeParse(n)).filter(n=>n.success).map(n=>n.data));return bT.filter(n=>t.has(n))}function ST(e){return bT.filter(t=>e.includes(t)).join(",")}function u9e(){const e=IB({select:t=>ST(Sk(t.hash))});return _.useMemo(()=>Sk(e),[e])}const r5e=(e,t)=>!ZV(e)&&t;function a5e(e){return(t="")=>ST(Sk(t).filter(n=>r5e(n,e)))}function qy(){const e=e5e();return _.useMemo(()=>a5e(e),[e])}function d9e(){const e=Qs();return _.useCallback(t=>{e({search:!0,hash:ST(t),replace:!0,hashScrollIntoView:!1})},[e])}function Vy(){const e=bwe({select:r=>X4e(r.matches)?.list}),n=gd({from:"/mail/$mailboxId",shouldThrow:!1})?.mailboxId;return _.useMemo(()=>({list:e,mailboxId:n}),[e,n])}function f9e(){const{pathname:e}=IB();return J4e(e)}function h9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy();return _.useCallback(()=>{const a=i=>i,s=t;if(n==="flagged"){e({to:"/mail/flagged",search:a,hash:s});return}if(n==="outbox"){e({to:"/mail/outbox",search:a,hash:s});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId",params:{mailboxId:r},search:a,hash:s});return}e({to:"/mail/brief",search:a,hash:s})},[e,t,n,r])}const s5e=["year","month","week","day","agenda"],o5e=By(s5e),XV="week",i5e=new Set(["month","week","day"]),p9e=e=>i5e.has(e),m9e=e=>e==="agenda";function l5e(e){const t=o5e.safeParse(e);return t.success?t.data:void 0}const c5e=/^\d{4}-\d{2}-\d{2}$/;function u5e(e){if(!c5e.test(e))return;const[t,n,r]=e.split("-").map(Number),a=Date.UTC(t,n-1,r),s=new Date(a);if(s.getUTCFullYear()===t&&s.getUTCMonth()===n-1&&s.getUTCDate()===r)return e}const jd=e=>String(e).padStart(2,"0");function QV(e){return`${e.getFullYear()}-${jd(e.getMonth()+1)}-${jd(e.getDate())}`}function d5e(e,t){return{view:l5e(e.view)??XV,date:u5e(e.date)??t}}function g9e(e,t,n){const[r,a,s]=e.split("-").map(Number);if(t==="year")return TL(r+n,a,s);if(t==="month")return TL(r,a+n,s);const i=t==="day"?1:7,c=new Date(Date.UTC(r,a-1,s+i*n));return f5e(c)}const f5e=e=>`${e.getUTCFullYear()}-${jd(e.getUTCMonth()+1)}-${jd(e.getUTCDate())}`;function TL(e,t,n){const r=e+Math.floor((t-1)/12),a=((t-1)%12+12)%12+1,s=new Date(Date.UTC(r,a,0)).getUTCDate();return`${r}-${jd(a)}-${jd(Math.min(n,s))}`}const JV=Dr().min(1);function h5e(e){const t=e==null?[]:[e].flat(),n=new Set;for(const r of t){if(typeof r!="string"&&typeof r!="number")continue;const a=JV.safeParse(String(r));a.success&&n.add(a.data)}return[...n].sort()}const eW=Va({calendarId:rOe(h5e,TV(JV)).transform(e=>e.length===0?void 0:e)}),Wy=Va({q:Dr().optional()}),wT=Wy.extend({}),tW=Wy.extend({}),p5e=Wy.extend({}),nW=Wy.extend({}),m5e=wT,QE=Va({body:Dr().optional()}),RL=e=>{const{body:t,...n}=e;return n},xT={brief:wT.extend(QE.shape),flagged:tW.extend(QE.shape),mailbox:nW.extend(QE.shape)},g5e=YSe(Zoe);function v9e({fragment:e,...t}){const n=qy();return C.jsx(g5e,{...t,hash:e??n})}const v5e=["reply","reply-all","forward"],y5e=By(v5e),CT="/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}",ET="/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}",_T="/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}";function rW(){const e=gd({from:CT,shouldThrow:!1}),t=gd({from:ET,shouldThrow:!1}),n=gd({from:_T,shouldThrow:!1});return e??t??n}function b5e(){const e=lc({from:CT,shouldThrow:!1}),t=lc({from:ET,shouldThrow:!1}),n=lc({from:_T,shouldThrow:!1});return(e??t??n)?.body}const kT=e=>t=>e===void 0?RL(t):{...RL(t),body:e.body};function AT(){const e=rW(),t=b5e();return _.useMemo(()=>{if(!e)return;const n=y5e.safeParse(e.mode);return n.success?{kind:"reply",mode:n.data,threadId:e.threadId,sourceMessageId:e.messageId,outboxMessageId:e.outboxMessageId,seed:t===void 0?void 0:{body:t}}:{kind:"unknown",segment:e.mode}},[e,t])}function y9e(){return AT()?.kind==="reply"}function aW(e,t,n,r){return e==="flagged"?{to:ET,params:{...n,outboxMessageId:r}}:e==="mailbox"&&t?{to:_T,params:{...n,mailboxId:t,outboxMessageId:r}}:{to:CT,params:{...n,outboxMessageId:r}}}function S5e(e,t){if(e?.kind==="reply"&&e.threadId===t.threadId&&e.sourceMessageId===t.messageId)return e.outboxMessageId}function b9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy(),a=AT();return _.useCallback((s,i)=>{e({...aW(n,r,s,i===void 0?S5e(a,s):void 0),search:kT(i),hash:t})},[e,t,n,r,a])}function S9e(e,t,n){if(!(!t||!n))return r=>e({threadId:t,messageId:n,mode:r})}function w9e(){const e=Qs(),{list:t,mailboxId:n}=Vy(),r=AT();return _.useCallback(a=>{r?.kind==="reply"&&e({...aW(t,n,{threadId:r.threadId,messageId:r.sourceMessageId,mode:r.mode},a),search:kT(void 0),hash:!0,replace:!0})},[e,t,n,r])}function x9e(){const e=Qs(),t=qy(),{list:n,mailboxId:r}=Vy(),a=rW();return _.useCallback(()=>{if(!a)return;const s=kT(void 0),i=t,c={threadId:a.threadId,messageId:a.messageId};if(n==="flagged"){e({to:"/mail/flagged/$threadId/$messageId",params:c,search:s,hash:i});return}if(n==="mailbox"&&r){e({to:"/mail/$mailboxId/$threadId/$messageId",params:{...c,mailboxId:r},search:s,hash:i});return}e({to:"/mail/brief/$threadId/$messageId",params:c,search:s,hash:i})},[e,t,n,r,a])}const w5e=new Map;function C9e(e){const t=new Map;for(const n of e){const r=Hy(n.folderAppointments);for(const[a,s]of r)t.set(a,{role:s});for(const a of n.mailboxes){const s=r.get(a.mailboxId),i={providerPath:a.fullPath,hierarchyDelimiter:a.hierarchyDelimiter};t.set(a.mailboxId,s?{role:s,...i}:i)}}return t}function E9e(e){const t=[];for(const[n,r]of e)r.role==="junk"&&t.push(n);return t}function _9e(e,t){const n=t[0];if(!e)return n?{mailboxId:n}:{};for(const a of t){const s=e.get(a);if(s&&mse(s)!==void 0)return{mailboxId:a,folder:s}}if(!n)return{};const r=e.get(n);return{mailboxId:n,...r?{folder:r}:{}}}const x5e=_.createContext(null),k9e=()=>_.useContext(x5e)??{accounts:[],mailboxNameIndex:new Map,accountNameIndex:new Map,resultFolderIndex:w5e,searchQuery:"",searchInput:"",searchViewKey:"",onSearchChange:()=>{},onSearchClear:()=>{},onSearchClearQuery:()=>{},intelligenceOpen:!1,onToggleIntelligence:()=>{},onRaiseIntelligence:()=>{}},C5e=By(["match","properties","folder","rule","name","review","run"]),E5e=e=>{const t=C5e.safeParse(e);return t.success?t.data:void 0},_5e=Bc("search"),k5e=e=>{const t=_5e.safeParse(e);return t.success?t.data:void 0},A5e=IV().transform(k5e),I5e=()=>lc({from:"/mail",select:e=>e.wizardFrom}),T5e=IV().transform(E5e),R5e=(e,t)=>$v(e,t)+1,sW=()=>lc({from:"/mail",select:e=>e.wizard}),O5e=()=>{const e=Qs();return _.useCallback((t,n)=>{e({to:".",search:r=>({...r,wizard:t,wizardFrom:n})})},[e])},A9e=()=>{const e=sW(),t=O5e(),[n,r]=_.useState("organize"),a=_.useCallback(i=>{r(i),t("match")},[t]),s=_.useCallback(()=>{t("properties","search")},[t]);return{verb:n,start:a,startFromSearch:s,isOpen:e!==void 0}},I9e=e=>{const t=_r(),n=Qs(),r=sW(),a=I5e(),s=_.useRef(r!==void 0),i=_.useRef(a),c=_.useRef(void 0);_.useEffect(()=>{c.current=void 0},[r]),_.useEffect(()=>{if(!s.current)return;s.current=!1;const m=i.current;(async()=>(await n({to:".",search:g=>({...g,wizard:void 0,wizardFrom:void 0}),replace:!0}),await n({to:".",search:g=>({...g,wizard:e,wizardFrom:m})})))()},[e,n]);const u=_.useCallback(m=>{m===r||c.current===m||(c.current=m,n({to:".",search:g=>({...g,wizard:m})}))},[n,r]),f=_.useCallback(()=>{t.history.back()},[t]),h=_.useCallback((m,g)=>{t.history.go(-R5e(m,g))},[t]);return{step:r,goToStep:u,goBack:f,closeWizard:h}},N5e=()=>Ke(()=>import("./mail-f9ZAFfdw.js"),__vite__mapDeps([17,1,18,19,8,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,4,3,5,6,7,9,10,35,36,37])),M5e=Va({q:Dr().optional(),wizard:T5e,wizardFrom:A5e}),P5e=$e("/mail")({loader:({context:{queryClient:e}})=>{e.prefetchQuery(dT()),e.prefetchQuery({...xRe(),staleTime:6e4})},component:Ge(N5e,"component"),validateSearch:M5e}),D5e=()=>Ke(()=>import("./onboarding-Uk6iFlNr.js"),__vite__mapDeps([38,39,40,41,20,12,13,27,42,15,16])),L5e=$e("/onboarding")({component:Ge(D5e,"component")});function U5e(){const e=j4e(),t=e?.surface.status==="ready"&&e.surface.section.status==="available";return C.jsx(tj,{label:t?"Update available":void 0,children:C.jsx(Rne,{className:"size-4"})})}const z5e=fA(401);function j5e(){return _d({...hRe(),meta:z5e})}const JE={listed:"Sync warnings",unread:"Warnings could not be read",signedOut:"Session ended"};function F5e(e,t){if(Qj(t))return JE.signedOut;if(t)return JE.unread;if(e&&((e.entries?.length??0)>0||(e.warnings?.length??0)>0))return JE.listed}function $5e(){const e=j5e();return F5e(e.data,e.error)}function B5e(){const e=$5e();return C.jsx(tj,{label:e,children:C.jsx(pc,{className:"size-4"})})}const H5e=()=>Ke(()=>import("./settings-8vexnTwM.js"),[]),T9e=[{id:"accounts",label:"Accounts",icon:C.jsx(xz,{className:"size-4"})},{id:"senders",label:"Senders & Rules",icon:C.jsx(Tne,{className:"size-4"})},{id:"folders",label:"Folder roles",icon:C.jsx(bne,{className:"size-4"})},{id:"filters",label:"Filters",icon:C.jsx(gne,{className:"size-4"})},{id:"labels",label:"Labels",icon:C.jsx(Ane,{className:"size-4"})},{id:"calendars",label:"Calendars",icon:C.jsx(une,{className:"size-4"})},{id:"appearance",label:"Appearance",icon:C.jsx(xne,{className:"size-4"})},{id:"warnings",label:"Warnings",icon:C.jsx(B5e,{})},{id:"advanced",label:"Advanced",icon:C.jsx(U5e,{})}],R9e={accounts:"/settings/accounts",senders:"/settings/senders",folders:"/settings/folders",filters:"/settings/filters",labels:"/settings/labels",calendars:"/settings/calendars",appearance:"/settings/appearance",warnings:"/settings/warnings",advanced:"/settings/advanced"},q5e=$e("/settings")({component:Ge(H5e,"component")}),V5e=$e("/calendar/")({validateSearch:eW,beforeLoad:({search:e})=>{throw em({to:"/calendar/$view/$date",params:{view:XV,date:QV(new Date)},search:e,replace:!0})}}),W5e=$e("/mail/")({validateSearch:m5e,beforeLoad:({search:e})=>{throw em({to:"/mail/brief",search:e,replace:!0})}}),G5e=()=>Ke(()=>import("./_mailboxId-CP2xm7mJ.js"),__vite__mapDeps([43,23,22,24,1,25,26,27,28,29,30,44,45,20,19,31,32,33,8,46,5,18,47,36,42,35,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,61,62,63,64,65,66,67,68,69])),K5e=$e("/mail/$mailboxId")({component:Ge(G5e,"component"),validateSearch:nW}),Y5e=()=>Ke(()=>import("./brief-CpJ2qh9a.js"),__vite__mapDeps([70,1])),Z5e=()=>Ke(()=>import("./brief-DOAeAabQ.js"),__vite__mapDeps([71,23,22,24,1,25,26,27,28,29,30,72,45,20,19,46,5,18,8,47,36,42,35,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,31,32,33,62,63,73,69])),X5e=$e("/mail/brief")({component:Ge(Z5e,"component"),validateSearch:wT,errorComponent:Ge(Y5e,"errorComponent")}),Q5e=()=>Ke(()=>import("./flagged-CqMpCGJo.js"),__vite__mapDeps([74,1])),J5e=()=>Ke(()=>import("./flagged-CHQmCz7D.js"),__vite__mapDeps([75,23,22,24,1,25,26,27,28,29,30,76,45,20,19,46,5,18,8,47,36,42,35,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,61,33,73,69])),e6e=$e("/mail/flagged")({component:Ge(J5e,"component"),validateSearch:tW,errorComponent:Ge(Q5e,"errorComponent")}),t6e=()=>Ke(()=>import("./outbox-BvVfW0CI.js"),__vite__mapDeps([77,23,22,24,1,25,26,27,28,29,30,78,5,45,20,19,32,56,79,80,64,10,65,34,69])),n6e=$e("/mail/outbox")({component:Ge(t6e,"component"),validateSearch:p5e}),r6e=()=>Ke(()=>import("./index-jmt1GqpT.js"),[]),a6e=$e("/settings/")({component:Ge(r6e,"component")}),s6e=()=>Ke(()=>import("./accounts-D-wXF-E_.js"),__vite__mapDeps([81,39,40,41,20,12,13,27,42,15,1,79,82,35,83,34,67,26,30,49,84])),o6e=Va({editAccountId:Dr().optional(),focusSmtp:hT().optional(),connected:Dr().optional(),oauthError:Dr().optional(),oauthEmail:Dr().optional(),missingServices:Dr().optional()}),i6e=$e("/settings/accounts")({component:Ge(s6e,"component"),validateSearch:o6e}),l6e=()=>Ke(()=>import("./advanced-BoeTrbqE.js"),__vite__mapDeps([85,82,35,83,34,67,14,29,13,49,15,86,80,68,58,56,84,20])),c6e=$e("/settings/advanced")({component:Ge(l6e,"component")}),u6e=()=>Ke(()=>import("./appearance-DrAyJE0x.js"),__vite__mapDeps([87,82,35,83,34,67,84,20])),d6e=$e("/settings/appearance")({component:Ge(u6e,"component")}),f6e=()=>Ke(()=>import("./calendars-CYORrHmn.js"),__vite__mapDeps([88,82,35,83,34,67,13,52,1,89,30,33,90,91])),h6e=$e("/settings/calendars")({component:Ge(f6e,"component")}),p6e=()=>Ke(()=>import("./filters-Cv1Gmsq9.js"),__vite__mapDeps([92,1,82,35,83,34,67,66,63,60,68])),m6e=$e("/settings/filters")({component:Ge(p6e,"component")}),g6e=()=>Ke(()=>import("./folders-Cja3LAC_.js"),__vite__mapDeps([93,1,21,82,35,83,34,67,9])),v6e=$e("/settings/folders")({component:Ge(g6e,"component")}),y6e=()=>Ke(()=>import("./labels-BTYKFfU4.js"),__vite__mapDeps([94,30,1,82,35,83,34,67,63])),b6e=$e("/settings/labels")({component:Ge(y6e,"component")}),S6e=()=>Ke(()=>import("./senders-BQUohPe4.js"),__vite__mapDeps([95,1,20,82,35,83,34,67,28,84])),w6e=$e("/settings/senders")({component:Ge(S6e,"component")}),x6e=()=>Ke(()=>import("./suggested-vips-pyfL4tBL.js"),[]),C6e=$e("/settings/suggested-vips")({component:Ge(x6e,"component")}),E6e=()=>Ke(()=>import("./warnings-lUeu-pd_.js"),__vite__mapDeps([96,82,35,83,34,67,1,90,86,4,68,97,37,8,84,20])),_6e=$e("/settings/warnings")({component:Ge(E6e,"component")}),k6e=()=>Ke(()=>import("./_view._date-Dt8xCWQ_.js"),__vite__mapDeps([98,51,8,52,54,1,99,50,42,53,6,28,56,100,2,83,65,34,59])),A6e=$e("/calendar/$view/$date")({validateSearch:eW,beforeLoad:({params:e,search:t})=>{const n=d5e(e,QV(new Date));if(!(n.view===e.view&&n.date===e.date))throw em({to:"/calendar/$view/$date",params:n,search:t,replace:!0})},component:Ge(k6e,"component")}),I6e=()=>Ke(()=>import("./index-DJzaAYGf.js"),__vite__mapDeps([101,44,45,20,19,22,31,32,33,8,46,5,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,62,63,64,65,66,67,68])),T6e=$e("/mail/$mailboxId/")({component:Ge(I6e,"component")}),R6e=()=>Ke(()=>import("./_threadId-DftsiPw3.js"),[]),O6e=$e("/mail/$mailboxId/$threadId")({component:Ge(R6e,"component")}),N6e=()=>Ke(()=>import("./index-qTS44Ji9.js"),__vite__mapDeps([102,72,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,31,32,33,62,63,73])),M6e=$e("/mail/brief/")({component:Ge(N6e,"component")}),P6e=()=>Ke(()=>import("./_threadId-CPjiITcE.js"),[]),D6e=$e("/mail/brief/$threadId")({component:Ge(P6e,"component")}),L6e=()=>Ke(()=>import("./index-4EaeJ4jf.js"),__vite__mapDeps([103,76,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,33,73])),U6e=$e("/mail/flagged/")({component:Ge(L6e,"component")}),z6e=()=>Ke(()=>import("./_threadId-D5zlF-gr.js"),[]),j6e=$e("/mail/flagged/$threadId")({component:Ge(z6e,"component")}),F6e=()=>Ke(()=>import("./index-BqqvJwGn.js"),__vite__mapDeps([104,78,5,45,20,19,22,32,56,79,80,64,10,65,34])),$6e=$e("/mail/outbox/")({component:Ge(F6e,"component")}),B6e=()=>Ke(()=>import("./index-5tcvhU2B.js"),__vite__mapDeps([105,47])),H6e=$e("/calendar/$view/$date/")({component:Ge(B6e,"component")}),q6e=()=>Ke(()=>import("./_calendarObjectId-C554QO4A.js"),[]),V6e=$e("/calendar/$view/$date/$calendarObjectId")({component:Ge(q6e,"component")}),W6e=()=>Ke(()=>import("./new-DUufBdYM.js"),__vite__mapDeps([106,107,51,8,52,57,89,1,100])),G6e=$e("/calendar/$view/$date/new")({component:Ge(W6e,"component")}),K6e=()=>Ke(()=>import("./index-qftp2SP8.js"),__vite__mapDeps([108,44,45,20,19,22,31,32,33,8,46,5,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,62,63,64,65,66,67,68])),Y6e=$e("/mail/$mailboxId/$threadId/")({component:Ge(K6e,"component")}),Z6e=()=>Ke(()=>import("./_messageId-qftp2SP8.js"),__vite__mapDeps([109,44,45,20,19,22,31,32,33,8,46,5,18,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,62,63,64,65,66,67,68])),X6e=$e("/mail/$mailboxId/$threadId/$messageId")({component:Ge(Z6e,"component")}),Q6e=()=>Ke(()=>import("./compose._-_outboxMessageId_-CLmL6rNy.js"),__vite__mapDeps([110,24,1,25,22,26,27,28,29,30])),J6e=$e("/mail/$mailboxId/compose/{-$outboxMessageId}")({component:Ge(Q6e,"component")}),eNe=()=>Ke(()=>import("./index-Co-XhbCe.js"),__vite__mapDeps([111,72,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,31,32,33,62,63,73])),tNe=$e("/mail/brief/$threadId/")({component:Ge(eNe,"component")}),nNe=()=>Ke(()=>import("./_messageId-Co-XhbCe.js"),__vite__mapDeps([112,72,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,31,32,33,62,63,73])),rNe=$e("/mail/brief/$threadId/$messageId")({component:Ge(nNe,"component")}),aNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-CrGQAmBh.js"),__vite__mapDeps([113,24,1,25,22,26,27,28,29,30])),sNe=$e("/mail/brief/compose/{-$outboxMessageId}")({component:Ge(aNe,"component")}),oNe=()=>Ke(()=>import("./index-BdpT1uQw.js"),__vite__mapDeps([114,76,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,33,73])),iNe=$e("/mail/flagged/$threadId/")({component:Ge(oNe,"component")}),lNe=()=>Ke(()=>import("./_messageId-Dm-cFvWc.js"),__vite__mapDeps([115,76,45,20,19,22,46,5,18,8,47,1,36,42,35,25,26,27,28,29,48,49,50,51,52,53,6,54,55,41,56,57,7,58,59,34,60,40,30,61,33,73])),cNe=$e("/mail/flagged/$threadId/$messageId")({component:Ge(lNe,"component")}),uNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-DsyC1LHn.js"),__vite__mapDeps([116,24,1,25,22,26,27,28,29,30])),dNe=$e("/mail/flagged/compose/{-$outboxMessageId}")({component:Ge(uNe,"component")}),fNe=()=>Ke(()=>import("./compose._-_outboxMessageId_-C-0N5b4O.js"),__vite__mapDeps([117,24,1,25,22,26,27,28,29,30])),hNe=$e("/mail/outbox/compose/{-$outboxMessageId}")({component:Ge(fNe,"component")}),pNe=()=>Ke(()=>import("./_outboxMessageId-BxIJdt9e.js"),__vite__mapDeps([118,78,5,45,20,19,22,32,56,79,80,64,10,65,34])),mNe=$e("/mail/outbox/draft/$outboxMessageId")({component:Ge(pNe,"component")}),gNe=()=>Ke(()=>import("./index-C1x7--DZ.js"),__vite__mapDeps([119,120,97,52,107,51,8,57,89,1,99,59,91,55,35,41,56,53,42,21])),vNe=$e("/calendar/$view/$date/$calendarObjectId/")({component:Ge(gNe,"component")}),yNe=()=>Ke(()=>import("./_recurrenceId-DygnfvYv.js"),__vite__mapDeps([121,120,97,52,107,51,8,57,89,1,99,59,91,55,35,41,56,53,42,21])),bNe=$e("/calendar/$view/$date/$calendarObjectId/$recurrenceId")({component:Ge(yNe,"component")}),SNe=()=>Ke(()=>import("./suggestion._suggestionId-DSXOmfLm.js"),__vite__mapDeps([122,54,1,51,8,52,47,107,57,59])),wNe=$e("/calendar/$view/$date/suggestion/$suggestionId")({component:Ge(SNe,"component")}),xNe=$e("/mail/$mailboxId/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.mailbox}),CNe=$e("/mail/brief/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.brief}),ENe=$e("/mail/flagged/$threadId/$messageId/$mode/{-$outboxMessageId}")({validateSearch:xT.flagged}),_Ne=V4e.update({id:"/",path:"/",getParentRoute:()=>Hc}),IT=K4e.update({id:"/calendar",path:"/calendar",getParentRoute:()=>Hc}),kNe=Z4e.update({id:"/import",path:"/import",getParentRoute:()=>Hc}),nf=P5e.update({id:"/mail",path:"/mail",getParentRoute:()=>Hc}),ANe=L5e.update({id:"/onboarding",path:"/onboarding",getParentRoute:()=>Hc}),Ga=q5e.update({id:"/settings",path:"/settings",getParentRoute:()=>Hc}),INe=V5e.update({id:"/",path:"/",getParentRoute:()=>IT}),TNe=W5e.update({id:"/",path:"/",getParentRoute:()=>nf}),Gy=K5e.update({id:"/$mailboxId",path:"/$mailboxId",getParentRoute:()=>nf}),Ky=X5e.update({id:"/brief",path:"/brief",getParentRoute:()=>nf}),Yy=e6e.update({id:"/flagged",path:"/flagged",getParentRoute:()=>nf}),Zy=n6e.update({id:"/outbox",path:"/outbox",getParentRoute:()=>nf}),RNe=a6e.update({id:"/",path:"/",getParentRoute:()=>Ga}),ONe=i6e.update({id:"/accounts",path:"/accounts",getParentRoute:()=>Ga}),NNe=c6e.update({id:"/advanced",path:"/advanced",getParentRoute:()=>Ga}),MNe=d6e.update({id:"/appearance",path:"/appearance",getParentRoute:()=>Ga}),PNe=h6e.update({id:"/calendars",path:"/calendars",getParentRoute:()=>Ga}),DNe=m6e.update({id:"/filters",path:"/filters",getParentRoute:()=>Ga}),LNe=v6e.update({id:"/folders",path:"/folders",getParentRoute:()=>Ga}),UNe=b6e.update({id:"/labels",path:"/labels",getParentRoute:()=>Ga}),zNe=w6e.update({id:"/senders",path:"/senders",getParentRoute:()=>Ga}),jNe=C6e.update({id:"/suggested-vips",path:"/suggested-vips",getParentRoute:()=>Ga}),FNe=_6e.update({id:"/warnings",path:"/warnings",getParentRoute:()=>Ga}),lm=A6e.update({id:"/$view/$date",path:"/$view/$date",getParentRoute:()=>IT}),$Ne=T6e.update({id:"/",path:"/",getParentRoute:()=>Gy}),TT=O6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Gy}),BNe=M6e.update({id:"/",path:"/",getParentRoute:()=>Ky}),RT=D6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Ky}),HNe=U6e.update({id:"/",path:"/",getParentRoute:()=>Yy}),OT=j6e.update({id:"/$threadId",path:"/$threadId",getParentRoute:()=>Yy}),qNe=$6e.update({id:"/",path:"/",getParentRoute:()=>Zy}),VNe=H6e.update({id:"/",path:"/",getParentRoute:()=>lm}),NT=V6e.update({id:"/$calendarObjectId",path:"/$calendarObjectId",getParentRoute:()=>lm}),WNe=G6e.update({id:"/new",path:"/new",getParentRoute:()=>lm}),GNe=Y6e.update({id:"/",path:"/",getParentRoute:()=>TT}),oW=X6e.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>TT}),KNe=J6e.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Gy}),YNe=tNe.update({id:"/",path:"/",getParentRoute:()=>RT}),iW=rNe.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>RT}),ZNe=sNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Ky}),XNe=iNe.update({id:"/",path:"/",getParentRoute:()=>OT}),lW=cNe.update({id:"/$messageId",path:"/$messageId",getParentRoute:()=>OT}),QNe=dNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Yy}),JNe=hNe.update({id:"/compose/{-$outboxMessageId}",path:"/compose/{-$outboxMessageId}",getParentRoute:()=>Zy}),eMe=mNe.update({id:"/draft/$outboxMessageId",path:"/draft/$outboxMessageId",getParentRoute:()=>Zy}),tMe=vNe.update({id:"/",path:"/",getParentRoute:()=>NT}),nMe=bNe.update({id:"/$recurrenceId",path:"/$recurrenceId",getParentRoute:()=>NT}),rMe=wNe.update({id:"/suggestion/$suggestionId",path:"/suggestion/$suggestionId",getParentRoute:()=>lm}),aMe=xNe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>oW}),sMe=CNe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>iW}),oMe=ENe.update({id:"/$mode/{-$outboxMessageId}",path:"/$mode/{-$outboxMessageId}",getParentRoute:()=>lW}),iMe={CalendarViewDateCalendarObjectIdRecurrenceIdRoute:nMe,CalendarViewDateCalendarObjectIdIndexRoute:tMe},lMe=NT._addFileChildren(iMe),cMe={CalendarViewDateCalendarObjectIdRoute:lMe,CalendarViewDateNewRoute:WNe,CalendarViewDateIndexRoute:VNe,CalendarViewDateSuggestionSuggestionIdRoute:rMe},uMe=lm._addFileChildren(cMe),dMe={CalendarIndexRoute:INe,CalendarViewDateRoute:uMe},fMe=IT._addFileChildren(dMe),hMe={MailMailboxIdThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:aMe},pMe=oW._addFileChildren(hMe),mMe={MailMailboxIdThreadIdMessageIdRoute:pMe,MailMailboxIdThreadIdIndexRoute:GNe},gMe=TT._addFileChildren(mMe),vMe={MailMailboxIdThreadIdRoute:gMe,MailMailboxIdIndexRoute:$Ne,MailMailboxIdComposeChar123OutboxMessageIdChar125Route:KNe},yMe=Gy._addFileChildren(vMe),bMe={MailBriefThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:sMe},SMe=iW._addFileChildren(bMe),wMe={MailBriefThreadIdMessageIdRoute:SMe,MailBriefThreadIdIndexRoute:YNe},xMe=RT._addFileChildren(wMe),CMe={MailBriefThreadIdRoute:xMe,MailBriefIndexRoute:BNe,MailBriefComposeChar123OutboxMessageIdChar125Route:ZNe},EMe=Ky._addFileChildren(CMe),_Me={MailFlaggedThreadIdMessageIdModeChar123OutboxMessageIdChar125Route:oMe},kMe=lW._addFileChildren(_Me),AMe={MailFlaggedThreadIdMessageIdRoute:kMe,MailFlaggedThreadIdIndexRoute:XNe},IMe=OT._addFileChildren(AMe),TMe={MailFlaggedThreadIdRoute:IMe,MailFlaggedIndexRoute:HNe,MailFlaggedComposeChar123OutboxMessageIdChar125Route:QNe},RMe=Yy._addFileChildren(TMe),OMe={MailOutboxIndexRoute:qNe,MailOutboxComposeChar123OutboxMessageIdChar125Route:JNe,MailOutboxDraftOutboxMessageIdRoute:eMe},NMe=Zy._addFileChildren(OMe),MMe={MailMailboxIdRoute:yMe,MailBriefRoute:EMe,MailFlaggedRoute:RMe,MailOutboxRoute:NMe,MailIndexRoute:TNe},PMe=nf._addFileChildren(MMe),DMe={SettingsAccountsRoute:ONe,SettingsAdvancedRoute:NNe,SettingsAppearanceRoute:MNe,SettingsCalendarsRoute:PNe,SettingsFiltersRoute:DNe,SettingsFoldersRoute:LNe,SettingsLabelsRoute:UNe,SettingsSendersRoute:zNe,SettingsSuggestedVipsRoute:jNe,SettingsWarningsRoute:FNe,SettingsIndexRoute:RNe},LMe=Ga._addFileChildren(DMe),UMe={IndexRoute:_Ne,CalendarRoute:fMe,ImportRoute:kNe,MailRoute:PMe,OnboardingRoute:ANe,SettingsRoute:LMe},zMe=Hc._addFileChildren(UMe)._addFileTypes(),jMe=(e,t,n)=>{const r=mwe({routeTree:zMe,context:{queryClient:e},history:n,stringifySearch:yIe,defaultPreload:"intent",defaultPendingComponent:Bv,defaultPendingMs:200,defaultPendingMinMs:300});return r.subscribe("onResolved",a=>{t.recordPageView(a.toLocation.pathname),Lle(a.toLocation.pathname)}),r},Xe=e=>typeof e=="string",kh=()=>{let e,t;const n=new Promise((r,a)=>{e=r,t=a});return n.resolve=e,n.reject=t,n},OL=e=>e==null?"":""+e,FMe=(e,t,n)=>{e.forEach(r=>{t[r]&&(n[r]=t[r])})},$Me=/###/g,NL=e=>e&&e.indexOf("###")>-1?e.replace($Me,"."):e,ML=e=>!e||Xe(e),ep=(e,t,n)=>{const r=Xe(t)?t.split("."):t;let a=0;for(;a<r.length-1;){if(ML(e))return{};const s=NL(r[a]);!e[s]&&n&&(e[s]=new n),Object.prototype.hasOwnProperty.call(e,s)?e=e[s]:e={},++a}return ML(e)?{}:{obj:e,k:NL(r[a])}},PL=(e,t,n)=>{const{obj:r,k:a}=ep(e,t,Object);if(r!==void 0||t.length===1){r[a]=n;return}let s=t[t.length-1],i=t.slice(0,t.length-1),c=ep(e,i,Object);for(;c.obj===void 0&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),c=ep(e,i,Object),c?.obj&&typeof c.obj[`${c.k}.${s}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${s}`]=n},BMe=(e,t,n,r)=>{const{obj:a,k:s}=ep(e,t,Object);a[s]=a[s]||[],a[s].push(n)},mv=(e,t)=>{const{obj:n,k:r}=ep(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},HMe=(e,t,n)=>{const r=mv(e,n);return r!==void 0?r:mv(t,n)},cW=(e,t,n)=>{for(const r in t)r!=="__proto__"&&r!=="constructor"&&(r in e?Xe(e[r])||e[r]instanceof String||Xe(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):cW(e[r],t[r],n):e[r]=t[r]);return e},Fu=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var qMe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const VMe=e=>Xe(e)?e.replace(/[&<>"'\/]/g,t=>qMe[t]):e;class WMe{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const n=this.regExpMap.get(t);if(n!==void 0)return n;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}const GMe=[" ",",","?","!",";"],KMe=new WMe(20),YMe=(e,t,n)=>{t=t||"",n=n||"";const r=GMe.filter(i=>t.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const a=KMe.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let s=!a.test(e);if(!s){const i=e.indexOf(n);i>0&&!a.test(e.substring(0,i))&&(s=!0)}return s},wk=function(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;const r=t.split(n);let a=e;for(let s=0;s<r.length;){if(!a||typeof a!="object")return;let i,c="";for(let u=s;u<r.length;++u)if(u!==s&&(c+=n),c+=r[u],i=a[c],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&u<r.length-1)continue;s+=u-s+1;break}a=i}return a},gv=e=>e?.replace("_","-"),ZMe={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class vv{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,n)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=t||ZMe,this.options=n,this.debug=n.debug}log(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}warn(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}error(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"error","")}deprecate(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}forward(t,n,r,a){return a&&!this.debug?null:(Xe(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[n](t))}create(t){return new vv(this.logger,{prefix:`${this.prefix}:${t}:`,...this.options})}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new vv(this.logger,t)}}var js=new vv;class Xy{constructor(){this.observers={}}on(t,n){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const a=this.observers[r].get(n)||0;this.observers[r].set(n,a+1)}),this}off(t,n){if(this.observers[t]){if(!n){delete this.observers[t];return}this.observers[t].delete(n)}}emit(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(i=>{let[c,u]=i;for(let f=0;f<u;f++)c.apply(c,[t,...r])})}}class DL extends Xy{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const n=this.options.ns.indexOf(t);n>-1&&this.options.ns.splice(n,1)}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,n],r&&(Array.isArray(r)?c.push(...r):Xe(r)&&s?c.push(...r.split(s)):c.push(r)));const u=mv(this.data,c);return!u&&!n&&!r&&t.indexOf(".")>-1&&(t=c[0],n=c[1],r=c.slice(2).join(".")),u||!i||!Xe(r)?u:wk(this.data?.[t]?.[n],r,s)}addResource(t,n,r,a){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator;let c=[t,n];r&&(c=c.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(c=t.split("."),a=n,n=c[1]),this.addNamespaces(n),PL(this.data,c,a),s.silent||this.emit("added",t,n,r,a)}addResources(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const s in r)(Xe(r[s])||Array.isArray(r[s]))&&this.addResource(t,n,s,r[s],{silent:!0});a.silent||this.emit("added",t,n,r)}addResourceBundle(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,n];t.indexOf(".")>-1&&(c=t.split("."),a=r,r=n,n=c[1]),this.addNamespaces(n);let u=mv(this.data,c)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),a?cW(u,r,s):u={...u,...r},PL(this.data,c,u),i.silent||this.emit("added",t,n,r)}removeResourceBundle(t,n){this.hasResourceBundle(t,n)&&delete this.data[t][n],this.removeNamespaces(n),this.emit("removed",t,n)}hasResourceBundle(t,n){return this.getResource(t,n)!==void 0}getResourceBundle(t,n){return n||(n=this.options.defaultNS),this.getResource(t,n)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const n=this.getDataByLanguage(t);return!!(n&&Object.keys(n)||[]).find(a=>n[a]&&Object.keys(n[a]).length>0)}toJSON(){return this.data}}var uW={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,a){return e.forEach(s=>{t=this.processors[s]?.process(t,n,r,a)??t}),t}};const LL={},UL=e=>!Xe(e)&&typeof e!="boolean"&&typeof e!="number";class yv extends Xy{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),FMe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=js.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};return t==null?!1:this.resolve(t,n)?.res!==void 0}extractFromKey(t,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!YMe(t,r,a);if(i&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:Xe(s)?[s]:s};const f=t.split(r);(r!==a||r===a&&this.options.ns.indexOf(f[0])>-1)&&(s=f.shift()),t=f.join(a)}return{key:t,namespaces:Xe(s)?[s]:s}}translate(t,n,r){if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(t[t.length-1],n),u=c[c.length-1],f=n.lng||this.language,h=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode"){if(h){const U=n.nsSeparator||this.options.nsSeparator;return a?{res:`${u}${U}${i}`,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${U}${i}`}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:i}const m=this.resolve(t,n);let g=m?.res;const y=m?.usedKey||i,w=m?.exactUsedKey||i,b=["[object Number]","[object Function]","[object RegExp]"],x=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,E=!this.i18nFormat||this.i18nFormat.handleAsObject,k=n.count!==void 0&&!Xe(n.count),A=yv.hasDefaultValue(n),R=k?this.pluralResolver.getSuffix(f,n.count,n):"",P=n.ordinal&&k?this.pluralResolver.getSuffix(f,n.count,{ordinal:!1}):"",O=k&&!n.ordinal&&n.count===0,T=O&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${R}`]||n[`defaultValue${P}`]||n.defaultValue;let M=g;E&&!g&&A&&(M=T);const z=UL(M),q=Object.prototype.toString.apply(M);if(E&&M&&z&&b.indexOf(q)<0&&!(Xe(x)&&Array.isArray(M))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const U=this.options.returnedObjectHandler?this.options.returnedObjectHandler(y,M,{...n,ns:c}):`key '${i} (${this.language})' returned an object instead of string.`;return a?(m.res=U,m.usedParams=this.getUsedParamsDetails(n),m):U}if(s){const U=Array.isArray(M),L=U?[]:{},B=U?w:y;for(const G in M)if(Object.prototype.hasOwnProperty.call(M,G)){const ie=`${B}${s}${G}`;A&&!g?L[G]=this.translate(ie,{...n,defaultValue:UL(T)?T[G]:void 0,joinArrays:!1,ns:c}):L[G]=this.translate(ie,{...n,joinArrays:!1,ns:c}),L[G]===ie&&(L[G]=M[G])}g=L}}else if(E&&Xe(x)&&Array.isArray(g))g=g.join(x),g&&(g=this.extendTranslation(g,t,n,r));else{let U=!1,L=!1;!this.isValidLookup(g)&&A&&(U=!0,g=T),this.isValidLookup(g)||(L=!0,g=i);const G=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:g,ie=A&&T!==g&&this.options.updateMissing;if(L||U||ie){if(this.logger.log(ie?"updateKey":"missingKey",f,u,i,ie?T:g),s){const pe=this.resolve(i,{...n,keySeparator:!1});pe&&pe.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let $=[];const X=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&X&&X[0])for(let pe=0;pe<X.length;pe++)$.push(X[pe]);else this.options.saveMissingTo==="all"?$=this.languageUtils.toResolveHierarchy(n.lng||this.language):$.push(n.lng||this.language);const re=(pe,_e,j)=>{const Y=A&&j!==g?j:G;this.options.missingKeyHandler?this.options.missingKeyHandler(pe,u,_e,Y,ie,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(pe,u,_e,Y,ie,n),this.emit("missingKey",pe,u,_e,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&k?$.forEach(pe=>{const _e=this.pluralResolver.getSuffixes(pe,n);O&&n[`defaultValue${this.options.pluralSeparator}zero`]&&_e.indexOf(`${this.options.pluralSeparator}zero`)<0&&_e.push(`${this.options.pluralSeparator}zero`),_e.forEach(j=>{re([pe],i+j,n[`defaultValue${j}`]||T)})}):re($,i,T))}g=this.extendTranslation(g,t,n,m,r),L&&g===i&&this.options.appendNamespaceToMissingKey&&(g=`${u}:${i}`),(L||U)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}:${i}`:i,U?g:void 0))}return a?(m.res=g,m.usedParams=this.getUsedParamsDetails(n),m):g}extendTranslation(t,n,r,a,s){var i=this;if(this.i18nFormat?.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const f=Xe(t)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(f){const g=t.match(this.interpolator.nestingRegexp);h=g&&g.length}let m=r.replace&&!Xe(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(m={...this.options.interpolation.defaultVariables,...m}),t=this.interpolator.interpolate(t,m,r.lng||this.language||a.usedLng,r),f){const g=t.match(this.interpolator.nestingRegexp),y=g&&g.length;h<y&&(r.nest=!1)}!r.lng&&a&&a.res&&(r.lng=this.language||a.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,y=new Array(g),w=0;w<g;w++)y[w]=arguments[w];return s?.[0]===y[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${y[0]} in key: ${n[0]}`),null):i.translate(...y,n)},r)),r.interpolation&&this.interpolator.reset()}const c=r.postProcess||this.options.postProcess,u=Xe(c)?[c]:c;return t!=null&&u?.length&&r.applyPostProcessor!==!1&&(t=uW.handle(u,t,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...a,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,a,s,i,c;return Xe(t)&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(r))return;const f=this.extractFromKey(u,n),h=f.key;a=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const g=n.count!==void 0&&!Xe(n.count),y=g&&!n.ordinal&&n.count===0,w=n.context!==void 0&&(Xe(n.context)||typeof n.context=="number")&&n.context!=="",b=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);m.forEach(x=>{this.isValidLookup(r)||(c=x,!LL[`${b[0]}-${x}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(LL[`${b[0]}-${x}`]=!0,this.logger.warn(`key "${a}" for languages "${b.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(E=>{if(this.isValidLookup(r))return;i=E;const k=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(k,h,E,x,n);else{let R;g&&(R=this.pluralResolver.getSuffix(E,n.count,n));const P=`${this.options.pluralSeparator}zero`,O=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(g&&(k.push(h+R),n.ordinal&&R.indexOf(O)===0&&k.push(h+R.replace(O,this.options.pluralSeparator)),y&&k.push(h+P)),w){const T=`${h}${this.options.contextSeparator}${n.context}`;k.push(T),g&&(k.push(T+R),n.ordinal&&R.indexOf(O)===0&&k.push(T+R.replace(O,this.options.pluralSeparator)),y&&k.push(T+P))}}let A;for(;A=k.pop();)this.isValidLookup(r)||(s=A,r=this.getResource(E,x,A,n))}))})}),{res:r,usedKey:a,exactUsedKey:s,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat?.getResource?this.i18nFormat.getResource(t,n,r,a):this.resourceStore.getResource(t,n,r,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!Xe(t.replace);let a=r?t.replace:t;if(r&&typeof t.count<"u"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a={...this.options.interpolation.defaultVariables,...a}),!r){a={...a};for(const s of n)delete a[s]}return a}static hasDefaultValue(t){const n="defaultValue";for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&n===r.substring(0,n.length)&&t[r]!==void 0)return!0;return!1}}class zL{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=js.create("languageUtils")}getScriptPartFromCode(t){if(t=gv(t),!t||t.indexOf("-")<0)return null;const n=t.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(t){if(t=gv(t),!t||t.indexOf("-")<0)return t;const n=t.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(t){if(Xe(t)&&t.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(t)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let n;return t.forEach(r=>{if(n)return;const a=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(a))&&(n=a)}),!n&&this.options.supportedLngs&&t.forEach(r=>{if(n)return;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(s=>{if(s===a)return s;if(!(s.indexOf("-")<0&&a.indexOf("-")<0)&&(s.indexOf("-")>0&&a.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===a||s.indexOf(a)===0&&a.length>1))return s})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(t,n){if(!t)return[];if(typeof t=="function"&&(t=t(n)),Xe(t)&&(t=[t]),Array.isArray(t))return t;if(!n)return t.default||[];let r=t[n];return r||(r=t[this.getScriptPartFromCode(n)]),r||(r=t[this.formatLanguageCode(n)]),r||(r=t[this.getLanguagePartFromCode(n)]),r||(r=t.default),r||[]}toResolveHierarchy(t,n){const r=this.getFallbackCodes(n||this.options.fallbackLng||[],t),a=[],s=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return Xe(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):Xe(t)&&s(this.formatLanguageCode(t)),r.forEach(i=>{a.indexOf(i)<0&&s(this.formatLanguageCode(i))}),a}}const jL={zero:0,one:1,two:2,few:3,many:4,other:5},FL={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class XMe{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=n,this.logger=js.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,n){this.rules[t]=n}clearCache(){this.pluralRulesCache={}}getRule(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const r=gv(t==="dev"?"en":t),a=n.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:a});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let i;try{i=new Intl.PluralRules(r,{type:a})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),FL;if(!t.match(/-|_/))return FL;const u=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(u,n)}return this.pluralRulesCache[s]=i,i}needsPlural(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(a=>`${n}${a}`)}getSuffixes(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((a,s)=>jL[a]-jL[s]).map(a=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${a}`):[]}getSuffix(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,r);return a?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${a.select(n)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",n,r))}}const $L=function(e,t,n){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=HMe(e,t,n);return!s&&a&&Xe(n)&&(s=wk(e,n,r),s===void 0&&(s=wk(t,n,r))),s},e3=e=>e.replace(/\$/g,"$$$$");class QMe{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=js.create("interpolator"),this.options=t,this.format=t?.interpolation?.format||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:a,prefix:s,prefixEscaped:i,suffix:c,suffixEscaped:u,formatSeparator:f,unescapeSuffix:h,unescapePrefix:m,nestingPrefix:g,nestingPrefixEscaped:y,nestingSuffix:w,nestingSuffixEscaped:b,nestingOptionsSeparator:x,maxReplaces:E,alwaysFormat:k}=t.interpolation;this.escape=n!==void 0?n:VMe,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=a!==void 0?a:!1,this.prefix=s?Fu(s):i||"{{",this.suffix=c?Fu(c):u||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":m||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=g?Fu(g):y||Fu("$t("),this.nestingSuffix=w?Fu(w):b||Fu(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=E||1e3,this.alwaysFormat=k!==void 0?k:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,n,r,a){let s,i,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=y=>{if(y.indexOf(this.formatSeparator)<0){const E=$L(n,u,y,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(E,void 0,r,{...a,...n,interpolationkey:y}):E}const w=y.split(this.formatSeparator),b=w.shift().trim(),x=w.join(this.formatSeparator).trim();return this.format($L(n,u,b,this.options.keySeparator,this.options.ignoreJSONStructure),x,r,{...a,...n,interpolationkey:b})};this.resetRegExp();const h=a?.missingInterpolationHandler||this.options.missingInterpolationHandler,m=a?.interpolation?.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:y=>e3(y)},{regex:this.regexp,safeValue:y=>this.escapeValue?e3(this.escape(y)):e3(y)}].forEach(y=>{for(c=0;s=y.regex.exec(t);){const w=s[1].trim();if(i=f(w),i===void 0)if(typeof h=="function"){const x=h(t,s,a);i=Xe(x)?x:""}else if(a&&Object.prototype.hasOwnProperty.call(a,w))i="";else if(m){i=s[0];continue}else this.logger.warn(`missed to pass in variable ${w} for interpolating ${t}`),i="";else!Xe(i)&&!this.useRawValueToEscape&&(i=OL(i));const b=y.safeValue(i);if(t=t.replace(s[0],b),m?(y.regex.lastIndex+=i.length,y.regex.lastIndex-=s[0].length):y.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,s,i;const c=(u,f)=>{const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const m=u.split(new RegExp(`${h}[ ]*{`));let g=`{${m[1]}`;u=m[0],g=this.interpolate(g,i);const y=g.match(/'/g),w=g.match(/"/g);((y?.length??0)%2===0&&!w||w.length%2!==0)&&(g=g.replace(/'/g,'"'));try{i=JSON.parse(g),f&&(i={...f,...i})}catch(b){return this.logger.warn(`failed parsing options string in nesting for key ${u}`,b),`${u}${h}${g}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,u};for(;a=this.nestingRegexp.exec(t);){let u=[];i={...r},i=i.replace&&!Xe(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(m=>m.trim());a[1]=h.shift(),u=h,f=!0}if(s=n(c.call(this,a[1].trim(),i),i),s&&a[0]===t&&!Xe(s))return s;Xe(s)||(s=OL(s)),s||(this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`),s=""),f&&(s=u.reduce((h,m)=>this.format(h,m,r.lng,{...r,interpolationkey:a[1].trim()}),s.trim())),t=t.replace(a[0],s),this.regexp.lastIndex=0}return t}}const JMe=e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const a=r[1].substring(0,r[1].length-1);t==="currency"&&a.indexOf(":")<0?n.currency||(n.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?n.range||(n.range=a.trim()):a.split(";").forEach(i=>{if(i){const[c,...u]=i.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,""),h=c.trim();n[h]||(n[h]=f),f==="false"&&(n[h]=!1),f==="true"&&(n[h]=!0),isNaN(f)||(n[h]=parseInt(f,10))}})}return{formatName:t,formatOptions:n}},$u=e=>{const t={};return(n,r,a)=>{let s=a;a&&a.interpolationkey&&a.formatParams&&a.formatParams[a.interpolationkey]&&a[a.interpolationkey]&&(s={...s,[a.interpolationkey]:void 0});const i=r+JSON.stringify(s);let c=t[i];return c||(c=e(gv(r),a),t[i]=c),c(n)}};class e8e{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=js.create("formatter"),this.options=t,this.formats={number:$u((n,r)=>{const a=new Intl.NumberFormat(n,{...r});return s=>a.format(s)}),currency:$u((n,r)=>{const a=new Intl.NumberFormat(n,{...r,style:"currency"});return s=>a.format(s)}),datetime:$u((n,r)=>{const a=new Intl.DateTimeFormat(n,{...r});return s=>a.format(s)}),relativetime:$u((n,r)=>{const a=new Intl.RelativeTimeFormat(n,{...r});return s=>a.format(s,r.range||"day")}),list:$u((n,r)=>{const a=new Intl.ListFormat(n,{...r});return s=>a.format(s)})},this.init(t)}init(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=n.interpolation.formatSeparator||","}add(t,n){this.formats[t.toLowerCase().trim()]=n}addCached(t,n){this.formats[t.toLowerCase().trim()]=$u(n)}format(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const s=n.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(c=>c.indexOf(")")>-1)){const c=s.findIndex(u=>u.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,c)].join(this.formatSeparator)}return s.reduce((c,u)=>{const{formatName:f,formatOptions:h}=JMe(u);if(this.formats[f]){let m=c;try{const g=a?.formatParams?.[a.interpolationkey]||{},y=g.locale||g.lng||a.locale||a.lng||r;m=this.formats[f](c,y,{...h,...a,...g})}catch(g){this.logger.warn(g)}return m}else this.logger.warn(`there was no format function for ${f}`);return c},t)}}const t8e=(e,t)=>{e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)};class n8e extends Xy{constructor(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=a,this.logger=js.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,a.backend,a)}queueLoad(t,n,r,a){const s={},i={},c={},u={};return t.forEach(f=>{let h=!0;n.forEach(m=>{const g=`${f}|${m}`;!r.reload&&this.store.hasResourceBundle(f,m)?this.state[g]=2:this.state[g]<0||(this.state[g]===1?i[g]===void 0&&(i[g]=!0):(this.state[g]=1,h=!1,i[g]===void 0&&(i[g]=!0),s[g]===void 0&&(s[g]=!0),u[m]===void 0&&(u[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(s).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(s),pending:Object.keys(i),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,n,r){const a=t.split("|"),s=a[0],i=a[1];n&&this.emit("failedLoading",s,i,n),!n&&r&&this.store.addResourceBundle(s,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=n?-1:2,n&&r&&(this.state[t]=0);const c={};this.queue.forEach(u=>{BMe(u.loaded,[s],i),t8e(u,t),n&&u.errors.push(n),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const h=u.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,n,r){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:n,fcName:r,tried:a,wait:s,callback:i});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&a<this.maxRetries){setTimeout(()=>{this.read.call(this,t,n,r,a+1,s*2,i)},s);return}i(f,h)},u=this.backend[r].bind(this.backend);if(u.length===2){try{const f=u(t,n);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,n,c)}prepareLoading(t,n){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();Xe(t)&&(t=this.languageUtils.toResolveHierarchy(t)),Xe(n)&&(n=[n]);const s=this.queueLoad(t,n,r,a);if(!s.toLoad.length)return s.pending.length||a(),null;s.toLoad.forEach(i=>{this.loadOne(i)})}load(t,n,r){this.prepareLoading(t,n,{},r)}reload(t,n,r){this.prepareLoading(t,n,{reload:!0},r)}loadOne(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const r=t.split("|"),a=r[0],s=r[1];this.read(a,s,"read",void 0,void 0,(i,c)=>{i&&this.logger.warn(`${n}loading namespace ${s} for language ${a} failed`,i),!i&&c&&this.logger.log(`${n}loaded namespace ${s} for language ${a}`,c),this.loaded(t,i,c)})}saveMissing(t,n,r,a,s){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const u={...i,isUpdate:s},f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(t,n,r,a,u):h=f(t,n,r,a),h&&typeof h.then=="function"?h.then(m=>c(null,m)).catch(c):c(null,h)}catch(h){c(h)}else f(t,n,r,a,c,u)}!t||!t[0]||this.store.addResource(t[0],n,r,a)}}}const BL=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if(typeof e[1]=="object"&&(t=e[1]),Xe(e[1])&&(t.defaultValue=e[1]),Xe(e[2])&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const n=e[3]||e[2];Object.keys(n).forEach(r=>{t[r]=n[r]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),HL=e=>(Xe(e.ns)&&(e.ns=[e.ns]),Xe(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),Xe(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),T0=()=>{},r8e=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(n=>{typeof e[n]=="function"&&(e[n]=e[n].bind(e))})};class zp extends Xy{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(super(),this.options=HL(t),this.services={},this.logger=js,this.modules={external:[]},r8e(this),n&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,n),this;setTimeout(()=>{this.init(t,n)},0)}}init(){var t=this;let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof n=="function"&&(r=n,n={}),n.defaultNS==null&&n.ns&&(Xe(n.ns)?n.defaultNS=n.ns:n.ns.indexOf("translation")<0&&(n.defaultNS=n.ns[0]));const a=BL();this.options={...a,...this.options,...HL(n)},this.options.interpolation={...a.interpolation,...this.options.interpolation},n.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=n.keySeparator),n.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=n.nsSeparator);const s=h=>h?typeof h=="function"?new h:h:null;if(!this.options.isClone){this.modules.logger?js.init(s(this.modules.logger),this.options):js.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:h=e8e;const m=new zL(this.options);this.store=new DL(this.options.resources,this.options);const g=this.services;g.logger=js,g.resourceStore=this.store,g.languageUtils=m,g.pluralResolver=new XMe(m,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(g.formatter=s(h),g.formatter.init(g,this.options),this.options.interpolation.format=g.formatter.format.bind(g.formatter)),g.interpolator=new QMe(this.options),g.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},g.backendConnector=new n8e(s(this.modules.backend),g.resourceStore,g,this.options),g.backendConnector.on("*",function(y){for(var w=arguments.length,b=new Array(w>1?w-1:0),x=1;x<w;x++)b[x-1]=arguments[x];t.emit(y,...b)}),this.modules.languageDetector&&(g.languageDetector=s(this.modules.languageDetector),g.languageDetector.init&&g.languageDetector.init(g,this.options.detection,this.options)),this.modules.i18nFormat&&(g.i18nFormat=s(this.modules.i18nFormat),g.i18nFormat.init&&g.i18nFormat.init(this)),this.translator=new yv(this.services,this.options),this.translator.on("*",function(y){for(var w=arguments.length,b=new Array(w>1?w-1:0),x=1;x<w;x++)b[x-1]=arguments[x];t.emit(y,...b)}),this.modules.external.forEach(y=>{y.init&&y.init(this)})}if(this.format=this.options.interpolation.format,r||(r=T0),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=kh(),f=()=>{const h=(m,g)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(g),r(m,g)};if(this.languages&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initAsync?f():setTimeout(f,0),u}loadResources(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T0;const a=Xe(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if(a?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const s=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&s.indexOf(f)<0&&s.push(f)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload?.forEach?.(c=>i(c)),this.services.backendConnector.load(s,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(c)})}else r(null)}reloadResources(t,n,r){const a=kh();return typeof t=="function"&&(r=t,t=void 0),typeof n=="function"&&(r=n,n=void 0),t||(t=this.languages),n||(n=this.options.ns),r||(r=T0),this.services.backendConnector.reload(t,n,s=>{a.resolve(),r(s)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&uW.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,n){var r=this;this.isLanguageChangingTo=t;const a=kh();this.emit("languageChanging",t);const s=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,f)=>{f?(s(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),n&&n(u,function(){return r.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=Xe(u)?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||s(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,h=>{i(h,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,n,r){var a=this;const s=function(i,c){let u;if(typeof c!="object"){for(var f=arguments.length,h=new Array(f>2?f-2:0),m=2;m<f;m++)h[m-2]=arguments[m];u=a.options.overloadTranslationOptionHandler([i,c].concat(h))}else u={...c};u.lng=u.lng||s.lng,u.lngs=u.lngs||s.lngs,u.ns=u.ns||s.ns,u.keyPrefix!==""&&(u.keyPrefix=u.keyPrefix||r||s.keyPrefix);const g=a.options.keySeparator||".";let y;return u.keyPrefix&&Array.isArray(i)?y=i.map(w=>`${u.keyPrefix}${g}${w}`):y=u.keyPrefix?`${u.keyPrefix}${g}${i}`:i,a.t(y,u)};return Xe(t)?s.lng=t:s.lngs=t,s.ns=n,s.keyPrefix=r,s}t(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.translate(...n)}exists(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return this.translator?.exists(...n)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=n.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(c,u)=>{const f=this.services.backendConnector.state[`${c}|${u}`];return f===-1||f===0||f===2};if(n.precheck){const c=n.precheck(this,i);if(c!==void 0)return c}return!!(this.hasResourceBundle(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,t)&&(!a||i(s,t)))}loadNamespaces(t,n){const r=kh();return this.options.ns?(Xe(t)&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{r.resolve(),n&&n(a)}),r):(n&&n(),Promise.resolve())}loadLanguages(t,n){const r=kh();Xe(t)&&(t=[t]);const a=this.options.preload||[],s=t.filter(i=>a.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return s.length?(this.options.preload=a.concat(s),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!t)return"rtl";const n=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],r=this.services?.languageUtils||new zL(BL());return n.indexOf(r.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new zp(t,n)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:T0;const r=t.forkResourceStore;r&&delete t.forkResourceStore;const a={...this.options,...t,isClone:!0},s=new zp(a);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(c=>{s[c]=this[c]}),s.services={...this.services},s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){const c=Object.keys(this.store.data).reduce((u,f)=>(u[f]={...this.store.data[f]},Object.keys(u[f]).reduce((h,m)=>(h[m]={...u[f][m]},h),{})),{});s.store=new DL(c,a),s.services.resourceStore=s.store}return s.translator=new yv(s.services,a),s.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),h=1;h<u;h++)f[h-1]=arguments[h];s.emit(c,...f)}),s.init(a,n),s.translator.options=a,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const kr=zp.createInstance();kr.createInstance=zp.createInstance;kr.createInstance;kr.dir;kr.init;kr.loadResources;kr.reloadResources;kr.use;kr.changeLanguage;kr.getFixedT;kr.t;kr.exists;kr.setDefaultNamespace;kr.hasLoadedNamespace;kr.loadNamespaces;kr.loadLanguages;const{slice:a8e,forEach:s8e}=[];function o8e(e){return s8e.call(a8e.call(arguments,1),t=>{if(t)for(const n in t)e[n]===void 0&&(e[n]=t[n])}),e}function i8e(e){return typeof e!="string"?!1:[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(n=>n.test(e))}const qL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,l8e=function(e,t){const r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{path:"/"},a=encodeURIComponent(t);let s=`${e}=${a}`;if(r.maxAge>0){const i=r.maxAge-0;if(Number.isNaN(i))throw new Error("maxAge should be a Number");s+=`; Max-Age=${Math.floor(i)}`}if(r.domain){if(!qL.test(r.domain))throw new TypeError("option domain is invalid");s+=`; Domain=${r.domain}`}if(r.path){if(!qL.test(r.path))throw new TypeError("option path is invalid");s+=`; Path=${r.path}`}if(r.expires){if(typeof r.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch(typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(s+="; Partitioned"),s},VL={create(e,t,n,r){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(a.expires=new Date,a.expires.setTime(a.expires.getTime()+n*60*1e3)),r&&(a.domain=r),document.cookie=l8e(e,t,a)},read(e){const t=`${e}=`,n=document.cookie.split(";");for(let r=0;r<n.length;r++){let a=n[r];for(;a.charAt(0)===" ";)a=a.substring(1,a.length);if(a.indexOf(t)===0)return a.substring(t.length,a.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var c8e={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&typeof document<"u")return VL.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:n,cookieMinutes:r,cookieDomain:a,cookieOptions:s}=t;n&&typeof document<"u"&&VL.create(n,e,r,a,s)}},u8e={name:"querystring",lookup(e){let{lookupQuerystring:t}=e,n;if(typeof window<"u"){let{search:r}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));const s=r.substring(1).split("&");for(let i=0;i<s.length;i++){const c=s[i].indexOf("=");c>0&&s[i].substring(0,c)===t&&(n=s[i].substring(c+1))}}return n}},d8e={name:"hash",lookup(e){let{lookupHash:t,lookupFromHashIndex:n}=e,r;if(typeof window<"u"){const{hash:a}=window.location;if(a&&a.length>2){const s=a.substring(1);if(t){const i=s.split("&");for(let c=0;c<i.length;c++){const u=i[c].indexOf("=");u>0&&i[c].substring(0,u)===t&&(r=i[c].substring(u+1))}}if(r)return r;if(!r&&n>-1){const i=a.match(/\/([a-zA-Z-]*)/g);return Array.isArray(i)?i[typeof n=="number"?n:0]?.replace("/",""):void 0}}}return r}};let Bu=null;const WL=()=>{if(Bu!==null)return Bu;try{if(Bu=typeof window<"u"&&window.localStorage!==null,!Bu)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch{Bu=!1}return Bu};var f8e={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&WL())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:n}=t;n&&WL()&&window.localStorage.setItem(n,e)}};let Hu=null;const GL=()=>{if(Hu!==null)return Hu;try{if(Hu=typeof window<"u"&&window.sessionStorage!==null,!Hu)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch{Hu=!1}return Hu};var h8e={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&GL())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:n}=t;n&&GL()&&window.sessionStorage.setItem(n,e)}},p8e={name:"navigator",lookup(e){const t=[];if(typeof navigator<"u"){const{languages:n,userLanguage:r,language:a}=navigator;if(n)for(let s=0;s<n.length;s++)t.push(n[s]);r&&t.push(r),a&&t.push(a)}return t.length>0?t:void 0}},m8e={name:"htmlTag",lookup(e){let{htmlTag:t}=e,n;const r=t||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},g8e={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if(typeof window>"u")return;const n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);return Array.isArray(n)?n[typeof t=="number"?t:0]?.replace("/",""):void 0}},v8e={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const n=typeof t=="number"?t+1:1,r=typeof window<"u"&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};let dW=!1;try{document.cookie,dW=!0}catch{}const fW=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];dW||fW.splice(1,1);const y8e=()=>({order:fW,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e});class hW{constructor(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(t,n)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{languageUtils:{}},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=t,this.options=o8e(n,this.options||{},y8e()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=a=>a.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(c8e),this.addDetector(u8e),this.addDetector(f8e),this.addDetector(h8e),this.addDetector(p8e),this.addDetector(m8e),this.addDetector(g8e),this.addDetector(v8e),this.addDetector(d8e)}addDetector(t){return this.detectors[t.name]=t,this}detect(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options.order,n=[];return t.forEach(r=>{if(this.detectors[r]){let a=this.detectors[r].lookup(this.options);a&&typeof a=="string"&&(a=[a]),a&&(n=n.concat(a))}}),n=n.filter(r=>r!=null&&!i8e(r)).map(r=>this.options.convertDetectedLanguage(r)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?n:n.length>0?n[0]:null}cacheUserLanguage(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.options.caches;n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(t)>-1||n.forEach(r=>{this.detectors[r]&&this.detectors[r].cacheUserLanguage(t,this.options)}))}}hW.type="languageDetector";const pW=["__proto__","constructor","prototype"];function mW(e){return!(typeof e!="string"||e.length===0||e.length>128||pW.indexOf(e)>-1||e.indexOf("..")>-1||e.indexOf("\\")>-1||/[?#%:&=;\s]/.test(e)||/[\x00-\x1F\x7F]/.test(e))}function gW(e){return!(!mW(e)||e.indexOf("/")>-1||e.indexOf("@")>-1)}function b8e(e){return!(!mW(e)||e.indexOf("//")>-1)}const S8e={lng:gW,ns:b8e};function R0(e){return typeof e!="string"?e:e.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function w8e(e){if(typeof e!="string"||e.length===0)return e;try{const t=new URL(e);return t.username||t.password?(t.username="",t.password="",t.toString()):e}catch{return e.replace(/(\/\/)[^/@\s]+@/g,"$1")}}function vW(){return typeof XMLHttpRequest=="function"||typeof XMLHttpRequest=="object"}function x8e(e){return!!e&&typeof e.then=="function"}function C8e(e){return x8e(e)?e:Promise.resolve(e)}const E8e=/\{\{(.+?)\}\}/g,KL=/^[/\\]{2}/;function YL(e,t){let n=!1;const r=e.replace(E8e,(a,s)=>{const i=s.trim();if(pW.indexOf(i)>-1)return a;const c=t[i];if(c==null)return a;const u=S8e[i]||gW,f=String(c).split("+");for(const h of f)if(!u(h))return n=!0,a;return f.join("+")});return n||KL.test(r)&&!KL.test(e)?null:r}const fc=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof window<"u"?window:void 0;let bv;typeof fetch=="function"?bv=fetch:fc&&typeof fc.fetch=="function"&&(bv=fc.fetch);const ZL=vW()&&fc?fc.XMLHttpRequest:void 0,_8e=typeof ActiveXObject=="function"&&fc?fc.ActiveXObject:void 0,yW=["__proto__","constructor","prototype"],xk=(e,t)=>{if(t&&typeof t=="object"){let n="";for(const r of Object.keys(t))yW.indexOf(r)>-1||(n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]));if(!n)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+n.slice(1)}return e},XL=(e,t,n,r)=>{const a=s=>{if(!s.ok)return n(s.statusText||"Error",{status:s.status});s.text().then(i=>{n(null,{status:s.status,data:i})}).catch(n)};if(r){const s=r(e,t);if(s instanceof Promise){s.then(a).catch(n);return}}typeof fetch=="function"?fetch(e,t).then(a).catch(n):bv(e,t).then(a).catch(n)},k8e=(e,t,n,r)=>{e.queryStringParams&&(t=xk(t,e.queryStringParams));const a={...typeof e.customHeaders=="function"?e.customHeaders():e.customHeaders};typeof window>"u"&&typeof global<"u"&&typeof global.process<"u"&&global.process.versions&&global.process.versions.node&&(a["User-Agent"]=`i18next-http-backend (node/${global.process.version}; ${global.process.platform} ${global.process.arch})`),n&&(a["Content-Type"]="application/json");const s=typeof e.requestOptions=="function"?e.requestOptions(n):e.requestOptions,i={method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:a,...e._omitFetchOptions?{}:s},c=typeof e.alternateFetch=="function"&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{XL(t,i,r,c)}catch(u){if(!s||Object.keys(s).length===0||!u.message||u.message.indexOf("not implemented")<0)return r(u);try{Object.keys(s).forEach(f=>{delete i[f]}),XL(t,i,r,c),e._omitFetchOptions=!0}catch(f){r(f)}}},A8e=(e,t,n,r)=>{n&&typeof n=="object"&&(n=xk("",n).slice(1)),e.queryStringParams&&(t=xk(t,e.queryStringParams));try{const a=ZL?new ZL:new _8e("MSXML2.XMLHTTP.3.0");a.open(n?"POST":"GET",t,1),e.crossDomain||a.setRequestHeader("X-Requested-With","XMLHttpRequest"),a.withCredentials=!!e.withCredentials,n&&a.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),a.overrideMimeType&&a.overrideMimeType("application/json");let s=e.customHeaders;if(s=typeof s=="function"?s():s,s)for(const i of Object.keys(s))yW.indexOf(i)>-1||a.setRequestHeader(i,s[i]);a.onreadystatechange=()=>{a.readyState>3&&r(a.status>=400?a.statusText:null,{status:a.status,data:a.responseText})},a.send(n)}catch(a){console&&console.log(a)}},I8e=(e,t,n,r)=>{if(typeof n=="function"&&(r=n,n=void 0),r=r||(()=>{}),bv&&t.indexOf("file:")!==0)return k8e(e,t,n,r);if(vW()||typeof ActiveXObject=="function")return A8e(e,t,n,r);r(new Error("No fetch and no xhr implementation found!"))},T8e=()=>({loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:e=>JSON.parse(e),stringify:JSON.stringify,parsePayload:(e,t,n)=>({[t]:n||""}),parseLoadPayload:(e,t)=>{},request:I8e,reloadInterval:typeof window<"u"?!1:3600*1e3,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}});var bW=class{constructor(e,t={},n={}){this.services=e,this.options=t,this.allOptions=n,this.type="backend",this.init(e,t,n)}init(e,t={},n={}){if(this.services=e,this.options={...T8e(),...this.options||{},...t},this.allOptions=n,this.services&&this.options.reloadInterval){const r=setInterval(()=>this.reload(),this.options.reloadInterval);typeof r=="object"&&typeof r.unref=="function"&&r.unref()}}readMulti(e,t,n){this._readAny(e,e,t,t,n)}read(e,t,n){this._readAny([e],e,[t],t,n)}_readAny(e,t,n,r,a){let s=this.options.loadPath;typeof this.options.loadPath=="function"&&(s=this.options.loadPath(e,n)),s=C8e(s),s.then(i=>{if(!i)return a(null,{});const c=YL(i,{lng:e.join("+"),ns:n.join("+")});if(c==null){const u=e.map(R0).join(", "),f=n.map(R0).join(", ");return a(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=["+u+"] namespaces=["+f+"]"),!1)}this.loadUrl(c,a,t,r)})}loadUrl(e,t,n,r){const a=typeof n=="string"?[n]:n,s=typeof r=="string"?[r]:r,i=this.options.parseLoadPayload(a,s),c=R0(w8e(e));this.options.request(this.options,e,i,(u,f)=>{if(f&&(f.status>=500&&f.status<600||!f.status))return t("failed loading "+c+"; status code: "+f.status,!0);if(f&&f.status>=400&&f.status<500)return t("failed loading "+c+"; status code: "+f.status,!1);if(!f&&u&&u.message){const g=u.message.toLowerCase();if(["failed","fetch","network","load"].find(y=>g.indexOf(y)>-1))return t("failed loading "+c+": "+R0(u.message),!0)}if(u)return t(u,!1);let h,m;try{typeof f.data=="string"?h=this.options.parse(f.data,n,r):h=f.data}catch{m="failed parsing "+c+" to json"}if(m)return t(m,!1);t(null,h)})}create(e,t,n,r,a){if(!this.options.addPath)return;typeof e=="string"&&(e=[e]);const s=this.options.parsePayload(t,n,r);let i=0;const c=[],u=[];e.forEach(f=>{let h=this.options.addPath;typeof this.options.addPath=="function"&&(h=this.options.addPath(f,t));const m=YL(h,{lng:f,ns:t});if(m==null){i+=1,a&&i===e.length&&a(c,u);return}this.options.request(this.options,m,s,(g,y)=>{i+=1,c.push(g),u.push(y),i===e.length&&typeof a=="function"&&a(c,u)})})}reload(){const{backendConnector:e,languageUtils:t,logger:n}=this.services,r=e.language;if(r&&r.toLowerCase()==="cimode")return;const a=[],s=i=>{t.toResolveHierarchy(i).forEach(c=>{a.indexOf(c)<0&&a.push(c)})};s(r),this.allOptions.preload&&this.allOptions.preload.forEach(i=>s(i)),a.forEach(i=>{this.allOptions.ns.forEach(c=>{e.read(i,c,"read",null,null,(u,f)=>{u&&n.warn(`loading namespace ${c} for language ${i} failed`,u),!u&&f&&n.log(`loaded namespace ${c} for language ${i}`,f),e.loaded(`${i}|${c}`,u,f)})})})}};bW.type="backend";kr.use(bW).use(hW).use(RIe).init({fallbackLng:"en",supportedLngs:["en","nl","de","fr"],ns:["common","mail"],defaultNS:"common",backend:{loadPath:"/locales/{{lng}}/{{ns}}.json"},detection:{order:["navigator","htmlTag"],caches:[]},interpolation:{escapeValue:!1},react:{useSuspense:!0,bindI18n:"languageChanged loaded"}});const R8e=({authProvider:e,rootElementId:t="root"})=>{Mle(),gIe(),e.configure(),Bwe(e);const n=dIe();Cle(n);const r=new hbe({queryCache:new Q$({onError:Wwe}),mutationCache:new X$({onError:Gwe}),defaultOptions:{queries:{staleTime:3e4,gcTime:5*6e4,retry:1}}});pIe();const a=jMe(r,n);n.recordPageView(window.location.pathname);const s=document.getElementById(t);if(!s)throw new Error(`Root element not found: #${t}`);const{Shell:i}=e;Ewe.createRoot(s).render(C.jsx(_.StrictMode,{children:C.jsx(pV.Provider,{value:n,children:C.jsxs(pbe,{client:r,children:[C.jsx(Vwe,{value:e,children:C.jsx(i,{children:C.jsx(ywe,{router:a})})}),!1]})})}))};R8e({authProvider:qye});export{dne as $,tj as A,sp as B,o9e as C,Rre as D,i9e as E,f9e as F,k9e as G,$5e as H,xz as I,qle as J,POe as K,ap as L,MOe as M,ok as N,AB as O,ZV as P,Fd as Q,tTe as R,uT as S,uA as T,sl as U,Yd as V,x5e as W,$o as X,X4e as Y,une as Z,kne as _,u9e as a,fle as a$,fne as a0,wz as a1,_ne as a2,Sne as a3,Ine as a4,Wk as a5,wne as a6,lne as a7,mne as a8,IB as a9,hs as aA,Xoe as aB,Nv as aC,Va as aD,hT as aE,Dr as aF,PDe as aG,_De as aH,hA as aI,x1 as aJ,dA as aK,aDe as aL,sDe as aM,S3 as aN,i6e as aO,v7e as aP,T9e as aQ,Cne as aR,R9e as aS,DDe as aT,M7e as aU,nA as aV,SPe as aW,j8e as aX,bPe as aY,tDe as aZ,z4e as a_,gd as aa,l9e as ab,APe as ac,yV as ad,mDe as ae,Hy as af,LV as ag,ZDe as ah,v9e as ai,dRe as aj,K5e as ak,y9e as al,Bv as am,B8e as an,_Pe as ao,J8e as ap,tA as aq,Cae as ar,pc as as,F as at,HOe as au,ePe as av,DOe as aw,g7e as ax,p7e as ay,lj as az,d9e as b,Jte as b$,ule as b0,cle as b1,xa as b2,qv as b3,rL as b4,k3 as b5,c7e as b6,lRe as b7,Y7e as b8,X7e as b9,DTe as bA,e9e as bB,d7e as bC,XDe as bD,a9e as bE,n9e as bF,vne as bG,r9e as bH,QTe as bI,I7e as bJ,QDe as bK,XE as bL,GOe as bM,YDe as bN,sPe as bO,D7e as bP,L7e as bQ,Fh as bR,Ene as bS,oDe as bT,pRe as bU,MDe as bV,EDe as bW,j5e as bX,Qj as bY,C9e as bZ,Tne as b_,Z7e as ba,cRe as bb,J7e as bc,Q7e as bd,eDe as be,wle as bf,uOe as bg,x7e as bh,C7e as bi,t4e as bj,dj as bk,oPe as bl,e5e as bm,rse as bn,n4e as bo,p4e as bp,h4e as bq,aA as br,Hae as bs,iPe as bt,dse as bu,QOe as bv,u7e as bw,YIe as bx,JDe as by,t9e as bz,_d as c,zDe as c$,QV as c0,m9e as c1,p9e as c2,lie as c3,iie as c4,ef as c5,qn as c6,O1 as c7,H$ as c8,lbe as c9,N8e as cA,MV as cB,bDe as cC,SDe as cD,yDe as cE,pz as cF,gDe as cG,Ke as cH,cA as cI,nPe as cJ,CDe as cK,bRe as cL,rPe as cM,wDe as cN,vDe as cO,ARe as cP,RL as cQ,mRe as cR,fPe as cS,g4e as cT,WOe as cU,P7e as cV,rDe as cW,wV as cX,ATe as cY,LDe as cZ,xV as c_,mbe as ca,ybe as cb,xbe as cc,bbe as cd,Sbe as ce,Nr as cf,Ebe as cg,K7 as ch,wbe as ci,moe as cj,z8e as ck,dre as cl,mre as cm,fre as cn,Cre as co,qy as cp,Vy as cq,h9e as cr,Dp as cs,wae as ct,xae as cu,cne as cv,dPe as cw,hz as cx,h5 as cy,O8e as cz,dT as d,dDe as d$,Ks as d0,A9e as d1,sW as d2,$De as d3,yOe as d4,jDe as d5,FDe as d6,b9e as d7,S9e as d8,Xse as d9,vae as dA,uPe as dB,W8e as dC,Joe as dD,wPe as dE,lDe as dF,BDe as dG,WDe as dH,CRe as dI,HDe as dJ,qDe as dK,VDe as dL,iDe as dM,Vv as dN,ane as dO,ADe as dP,uDe as dQ,xDe as dR,NOe as dS,hDe as dT,rRe as dU,_9e as dV,TDe as dW,IDe as dX,P8e as dY,w9e as dZ,x9e as d_,Qse as da,soe as db,lPe as dc,foe as dd,doe as de,uN as df,hoe as dg,ioe as dh,kDe as di,nne as dj,Xte as dk,F8e as dl,K8e as dm,H8e as dn,U8e as dp,rne as dq,Cz as dr,D8e as ds,hre as dt,coe as du,bae as dv,cPe as dw,Sz as dx,mse as dy,gne as dz,Ot as e,L8e as e$,RDe as e0,h7e as e1,f7e as e2,ODe as e3,pDe as e4,GDe as e5,KDe as e6,AT as e7,NDe as e8,Vk as e9,Ane as eA,E7e as eB,_7e as eC,JTe as eD,A7e as eE,k7e as eF,B7e as eG,lc as eH,d5e as eI,g9e as eJ,U7e as eK,fDe as eL,q7e as eM,V7e as eN,W7e as eO,G7e as eP,H7e as eQ,fTe as eR,K7e as eS,T7e as eT,O7e as eU,R7e as eV,aPe as eW,S7e as eX,XTe as eY,b7e as eZ,w7e as e_,O5e as ea,hPe as eb,G8e as ec,UDe as ed,s9e as ee,MTe as ef,NTe as eg,CV as eh,ROe as ei,OOe as ej,I5e as ek,I9e as el,pPe as em,$v as en,gPe as eo,mPe as ep,vPe as eq,yPe as er,Cw as es,CPe as et,xPe as eu,_be as ev,V8e as ew,cDe as ex,_3 as ey,nse as ez,Kt as f,YTe as f0,q8e as f1,E9e as f2,xRe as f3,mT as f4,z7e as f5,$7e as f6,j7e as f7,vNe as f8,F7e as f9,bNe as fa,Q8e as fb,tPe as fc,hne as fd,_ae as fe,X8e as ff,Y8e as fg,Z8e as fh,b3 as g,Lc as h,pI as i,C as j,nDe as k,y7e as l,N7e as m,m7e as n,SV as o,c9e as p,l7e as q,_ as r,fA as s,Pe as t,Qs as u,Kk as v,Mv as w,$8e as x,_r as y,bwe as z};