@remit/web-client-dist 0.0.681 → 0.0.682
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.
- package/assets/AccountSession-BYJ1unhC.js +1 -0
- package/assets/{BriefPane-Ct5mLFno.js → BriefPane-mADSC2OK.js} +1 -1
- package/assets/{CalendarEventEditor-BDZOuAkE.js → CalendarEventEditor-C8_kOvZ3.js} +1 -1
- package/assets/{CalendarEventPopup-Cd49o1aV.js → CalendarEventPopup-7lWwS7jN.js} +1 -1
- package/assets/{CalendarLoadFailed--QaS7mCJ.js → CalendarLoadFailed-DNV1DlXi.js} +1 -1
- package/assets/CalendarQuickCreate-BG0qeW8s.js +1 -0
- package/assets/{CalendarSession-CS_x_fs5.js → CalendarSession-CTmh2tcD.js} +1 -1
- package/assets/DesktopChrome-Bj6-FRYu.js +1 -0
- package/assets/{DropdownMenu-T79mAX3f.js → DropdownMenu-D3gGWitE.js} +1 -1
- package/assets/{EmptyState-CA538vCg.js → EmptyState-5XJzmFAK.js} +1 -1
- package/assets/{ErrorState-DD3UfsN8.js → ErrorState-Dzdw33-3.js} +1 -1
- package/assets/FlaggedPane-IgqQna9q.js +1 -0
- package/assets/{FullCompose-DnUwBsN_.js → FullCompose-CppNsB88.js} +1 -1
- package/assets/{LabelApplyTrigger-Ox3K3UZo.js → LabelApplyTrigger-CSWiFHCu.js} +1 -1
- package/assets/{MailShell-DVTROO5Y.js → MailShell-DbZolZ7P.js} +1 -1
- package/assets/{MailViewChrome-BXIIRW1m.js → MailViewChrome-C47Pffjf.js} +1 -1
- package/assets/{MailboxPane-ZTGfkp9r.js → MailboxPane-CBl3PnOT.js} +2 -2
- package/assets/{MessageBody-Bn9CiLsL.js → MessageBody-C2-SQjAb.js} +3 -3
- package/assets/MessageToolbar-2VWnNBpw.js +1 -0
- package/assets/{NavMenuButton-DS-H9eDz.js → NavMenuButton-CN3ovZVQ.js} +1 -1
- package/assets/{OnboardingWizard-BpOpo7pG.js → OnboardingWizard-CIAVrjJr.js} +1 -1
- package/assets/{OutboxPane-D90GSWPB.js → OutboxPane-C7vPOisX.js} +1 -1
- package/assets/_calendarObjectId-BOWn0Wc1.js +1 -0
- package/assets/_mailboxId-CbT5t4kO.js +1 -0
- package/assets/_messageId-CUzI2YR7.js +1 -0
- package/assets/_messageId-DiJIuK0Z.js +1 -0
- package/assets/_messageId-aGpmi6EA.js +1 -0
- package/assets/_outboxMessageId-D9yNQ74_.js +1 -0
- package/assets/_recurrenceId-BUk6g_uR.js +1 -0
- package/assets/_threadId-BQKxqX_U.js +1 -0
- package/assets/_threadId-DNM46Cj0.js +1 -0
- package/assets/_threadId-DQ9Ns1qA.js +1 -0
- package/assets/{_view._date-FIQ-o-2N.js → _view._date-Cb0nAaKf.js} +1 -1
- package/assets/{account-service-status-6nrumJJk.js → account-service-status-C_MJ-o-p.js} +1 -1
- package/assets/{accounts-BzG1i3mT.js → accounts-CahoQhl7.js} +1 -1
- package/assets/advanced-Cf1h5R7s.js +1 -0
- package/assets/{agenda-time-C_THqiEa.js → agenda-time-ACtN6wfF.js} +1 -1
- package/assets/{app-chrome-Cb3lBdOZ.js → app-chrome-Dbvu4ieD.js} +1 -1
- package/assets/{appearance-BihwpGRs.js → appearance-BnPvwrqn.js} +1 -1
- package/assets/{avatar-COUm7SBG.js → avatar-BV5vFJ_r.js} +1 -1
- package/assets/{badge-C-N2Sfyc.js → badge-CbfjHXMg.js} +1 -1
- package/assets/{bottom-sheet-DDC7O5sx.js → bottom-sheet-4tvR-sri.js} +1 -1
- package/assets/{brief-Bs9H-S4e.js → brief-DbMpucTQ.js} +1 -1
- package/assets/brief-DhhQktQG.js +1 -0
- package/assets/calendar-C4YDxHb-.js +1 -0
- package/assets/{calendar-BYyDHpZa.js → calendar-CNIMaOb7.js} +1 -1
- package/assets/{calendar-event-popup-Clle6FA1.js → calendar-event-popup-CYCnsOds.js} +1 -1
- package/assets/{calendar-event-sidebar-CPgDwmOs.js → calendar-event-sidebar-TTXLpS2C.js} +1 -1
- package/assets/{calendar-failure-note-C9fIL_8K.js → calendar-failure-note-A4rOKZNb.js} +1 -1
- package/assets/{calendar-guests-DEOe1juO.js → calendar-guests-BXmTl5jL.js} +1 -1
- package/assets/{calendar-suggestion-DVjK0aSt.js → calendar-suggestion-cOTOb7Lm.js} +1 -1
- package/assets/{calendars-DaDEW0oA.js → calendars-DNlrofPU.js} +1 -1
- package/assets/{card-MWxaP_DH.js → card-f9A3um0u.js} +1 -1
- package/assets/{checkbox-jLurGcNS.js → checkbox-BlFhjoed.js} +1 -1
- package/assets/chevron-down-UUw56DjM.js +1 -0
- package/assets/chevron-left-D5-k3mB7.js +1 -0
- package/assets/{circle-check-QqmhC0RV.js → circle-check-BUMxM7Pv.js} +1 -1
- package/assets/{circle-check-big-ChJ8pH-b.js → circle-check-big-BP7Pn5eb.js} +1 -1
- package/assets/{circle-help-C9O6dqh6.js → circle-help-B083hm65.js} +1 -1
- package/assets/{clock-CNuf0kus.js → clock-8nW9RI8K.js} +1 -1
- package/assets/{cloud-off-C48CGroa.js → cloud-off-BRk6zo1b.js} +1 -1
- package/assets/compose._-_outboxMessageId_-CN2ZUrAe.js +1 -0
- package/assets/compose._-_outboxMessageId_-DmK_lXQP.js +1 -0
- package/assets/compose._-_outboxMessageId_-Lkfk9hrZ.js +1 -0
- package/assets/compose._-_outboxMessageId_-uc2TFREe.js +1 -0
- package/assets/{config-import-BAWkCcKm.js → config-import-Bk6uFuiN.js} +1 -1
- package/assets/{confirm-dialog-CjHvZbGT.js → confirm-dialog-BXhRj5Sm.js} +1 -1
- package/assets/{copy-Ixy5ZR35.js → copy-cdXYXbA6.js} +1 -1
- package/assets/{credential-steps-CREMZs9P.js → credential-steps-B4j2Icsi.js} +1 -1
- package/assets/{download-DCGyf3W_.js → download-D9_dvZ6g.js} +1 -1
- package/assets/{draft-H1bLeWg_.js → draft-BIQ0-Lk_.js} +1 -1
- package/assets/edit-DGHa68Jh.js +1 -0
- package/assets/edit-cyEdCEG-.js +1 -0
- package/assets/{external-link-kBeg4Rkl.js → external-link-Ct6hJ8mI.js} +1 -1
- package/assets/{file-json-CxV9Z8Xk.js → file-json-FJobBXk2.js} +1 -1
- package/assets/{filters-BqpcwwPd.js → filters-BAyEbBhi.js} +1 -1
- package/assets/{flagged-Bjcd8w-O.js → flagged-C439b_WS.js} +1 -1
- package/assets/flagged-pJGEDQAe.js +1 -0
- package/assets/{folder-input-CmDkygvp.js → folder-input-DjxVjldz.js} +1 -1
- package/assets/folders-CIyVw-EH.js +1 -0
- package/assets/{help-copy-DLhRgp5W.js → help-copy-YhaxQEIY.js} +1 -1
- package/assets/{import-yc3QynRF.js → import-af_hbF-p.js} +1 -1
- package/assets/index-BZPylmnf.js +1 -0
- package/assets/{index-DjF679iU.js → index-BlOq3dK1.js} +4 -4
- package/assets/index-BnrEzeaK.js +1 -0
- package/assets/index-CUzI2YR7.js +1 -0
- package/assets/index-CpjgMzVc.js +1 -0
- package/assets/{index-X3HUQEvM.js → index-D94MOpo0.js} +59 -59
- package/assets/index-D9j5MCr1.js +1 -0
- package/assets/index-DJh02QjC.js +1 -0
- package/assets/index-DiJIuK0Z.js +1 -0
- package/assets/index-aGpmi6EA.js +1 -0
- package/assets/index-g59ADgCj.js +1 -0
- package/assets/index-vFdlNYM0.js +1 -0
- package/assets/{kbd-DiYloCGE.js → kbd-cd0_OQ1u.js} +1 -1
- package/assets/{label-chip-tLLbdHoz.js → label-chip-BYIaT-tI.js} +1 -1
- package/assets/{labels-DwqUITi6.js → labels-DnNxXAR1.js} +1 -1
- package/assets/{mail-CDuFGyaA.js → mail-4EQRG36P.js} +1 -1
- package/assets/mail-CE3n3sQ0.js +1 -0
- package/assets/{menu-v-YxaQQ_.js → menu-C3buEsRL.js} +1 -1
- package/assets/new-CByizl3m.js +1 -0
- package/assets/onboarding-CA8Qn0P1.js +1 -0
- package/assets/{onboarding-completion-BG60cd5s.js → onboarding-completion-BxKBJWb5.js} +1 -1
- package/assets/outbox-wQ86O6i5.js +1 -0
- package/assets/{pencil-BnBK7tmS.js → pencil-Cr6xAk53.js} +1 -1
- package/assets/{people-OwHrHrdJ.js → people-H9fmtU8R.js} +1 -1
- package/assets/{plus-GnqfNmfx.js → plus-BEkGxsOV.js} +1 -1
- package/assets/{popover-menu-J56UZVjI.js → popover-menu-D1Ggz_nA.js} +1 -1
- package/assets/{refresh-cw-3jpeaUi7.js → refresh-cw-BDamTi58.js} +1 -1
- package/assets/{reply-Bs_YhRF4.js → reply-DPVLqPcI.js} +1 -1
- package/assets/{rich-text-Bd-wRHu1.js → rich-text-D3EPlK78.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-Bnm0BFqL.js → rich-text-spellcheck-worker-provider-DPs4YZHA.js} +1 -1
- package/assets/{rotate-ccw-D8SF2xHr.js → rotate-ccw-Dxx7BcD7.js} +1 -1
- package/assets/{roving-focus-nxbliQos.js → roving-focus-CJC-AjPO.js} +1 -1
- package/assets/{row-actions-YYjMjrwp.js → row-actions-uPzTjymf.js} +1 -1
- package/assets/{search-mirror-DgYKzQ_z.js → search-mirror-C2_MRHKT.js} +1 -1
- package/assets/{search-scope-D_Xp19lV.js → search-scope-CdH_SY3a.js} +1 -1
- package/assets/{search-token-index-BIZzLNv9.js → search-token-index-DXiN1835.js} +1 -1
- package/assets/sections-Dm0mEk9W.js +1 -0
- package/assets/security-C1G2I4K2.js +1 -0
- package/assets/{segmented-control-DFN0EF39.js → segmented-control-D_XxaVb8.js} +1 -1
- package/assets/{select-DaBof-xM.js → select-CB3Efp6I.js} +1 -1
- package/assets/{senders-BReSWLlj.js → senders-BPIkrH6Y.js} +1 -1
- package/assets/settings-BjSixogd.js +1 -0
- package/assets/{settings-screen-DU3TjNi2.js → settings-screen-CF0fiL2l.js} +1 -1
- package/assets/{sparkles-DrZ81rOU.js → sparkles-rKmhB5Fk.js} +1 -1
- package/assets/{suggest-list-Bl5m8GjB.js → suggest-list-Dz1MsIYD.js} +1 -1
- package/assets/{suggested-vips-CjpCfM-Q.js → suggested-vips-idJBB-lA.js} +1 -1
- package/assets/{suggestion._suggestionId-KbtftShf.js → suggestion._suggestionId-Cn195KCI.js} +1 -1
- package/assets/{task._calendarTaskId-CJNNC87Y.js → task._calendarTaskId-CzVuyEtm.js} +1 -1
- package/assets/{undo-2-DT3EdJen.js → undo-2-BAub6h7R.js} +1 -1
- package/assets/{useCalendarData-CDMAl9sB.js → useCalendarData-DQ7oi-nJ.js} +1 -1
- package/assets/{useCalendarScheduling-J13iQDXH.js → useCalendarScheduling-DAb_8yBj.js} +1 -1
- package/assets/{useCalendarSuggestions-BLiBIz-1.js → useCalendarSuggestions-BfA31NJY.js} +1 -1
- package/assets/{useCalendarTasks-DClcdx9Q.js → useCalendarTasks-BMPfFFau.js} +1 -1
- package/assets/{useDebouncedValue-CiTDV7kX.js → useDebouncedValue-BQRYh_4T.js} +1 -1
- package/assets/{useFilters-D_mEdyEH.js → useFilters-IsqJ-AEH.js} +1 -1
- package/assets/{useLabels-Beg-UxxE.js → useLabels-CrZtVj3Y.js} +1 -1
- package/assets/{useLayoutTier-B5_piqNJ.js → useLayoutTier-CIlJuePx.js} +1 -1
- package/assets/{useMediaQuery-9NJJDrX6.js → useMediaQuery-CGZfUxdm.js} +1 -1
- package/assets/{useMessageBodyContent-Dhtu6I6l.js → useMessageBodyContent-yhApp3IG.js} +1 -1
- package/assets/{useQueries-BO8eIXDf.js → useQueries-CIIHHroC.js} +1 -1
- package/assets/{useRefreshControl-c8RtcGU3.js → useRefreshControl-MOracVIf.js} +1 -1
- package/assets/{useResultFolderIndex-CJrt60fl.js → useResultFolderIndex-BjaX8bsI.js} +1 -1
- package/assets/{useSignature-ZAeHuLA5.js → useSignature-ClOAemBi.js} +1 -1
- package/assets/{warnings-CN1cP32K.js → warnings-BRGgf3x_.js} +4 -4
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/CalendarQuickCreate-BYHJja5o.js +0 -1
- package/assets/DesktopChrome-DGlb8cny.js +0 -1
- package/assets/FlaggedPane-DLqwSIp0.js +0 -1
- package/assets/MessageToolbar-bKPOSy0d.js +0 -1
- package/assets/_calendarObjectId-DLrseFHy.js +0 -1
- package/assets/_mailboxId-ChbfZSu5.js +0 -1
- package/assets/_messageId-C3xB5mTr.js +0 -1
- package/assets/_messageId-DkZ9lbs8.js +0 -1
- package/assets/_messageId-sIYPsGs_.js +0 -1
- package/assets/_outboxMessageId-p9gMPFrF.js +0 -1
- package/assets/_recurrenceId-Dr6Hnp4i.js +0 -1
- package/assets/_threadId-CZDsH_MT.js +0 -1
- package/assets/_threadId-H8aKyGzF.js +0 -1
- package/assets/_threadId-KqET2q-N.js +0 -1
- package/assets/advanced-BNNZ1epf.js +0 -1
- package/assets/brief-DJ5051HC.js +0 -1
- package/assets/calendar-BR-28-ej.js +0 -1
- package/assets/chevron-down-B3lcZAVN.js +0 -1
- package/assets/chevron-left-B-i0rFYx.js +0 -1
- package/assets/compose._-_outboxMessageId_-7cX9IraZ.js +0 -1
- package/assets/compose._-_outboxMessageId_-B4dAIiSz.js +0 -1
- package/assets/compose._-_outboxMessageId_-B8Bi18pS.js +0 -1
- package/assets/compose._-_outboxMessageId_-T4c20e76.js +0 -1
- package/assets/edit-BX860zdz.js +0 -1
- package/assets/edit-DvrV6duf.js +0 -1
- package/assets/flagged-DXwt3SZW.js +0 -1
- package/assets/folders-CeYrerQG.js +0 -1
- package/assets/index-44Nd6hoS.js +0 -1
- package/assets/index-BafgExsO.js +0 -1
- package/assets/index-C3xB5mTr.js +0 -1
- package/assets/index-D4ibfGR2.js +0 -1
- package/assets/index-D8uIyhWM.js +0 -1
- package/assets/index-DXydIDl3.js +0 -1
- package/assets/index-D_t--guV.js +0 -1
- package/assets/index-PazExuj-.js +0 -1
- package/assets/index-rv5AdzRX.js +0 -1
- package/assets/index-sIYPsGs_.js +0 -1
- package/assets/mail-DxkYnpSf.js +0 -1
- package/assets/new-BrQZmpeT.js +0 -1
- package/assets/onboarding-DLvfj4LK.js +0 -1
- package/assets/outbox-CZQb6qAX.js +0 -1
- package/assets/sections-CRDaS4nn.js +0 -1
- package/assets/settings-DXQ3zZlR.js +0 -1
- package/assets/shield-check-DZBDPqGc.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-X3HUQEvM.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a7 as m,j as o,O as p}from"./index-X3HUQEvM.js";import{a}from"./MailShell-DVTROO5Y.js";import{M as r}from"./MailboxPane-ZTGfkp9r.js";import"./reply-Bs_YhRF4.js";import{a as e}from"./search-token-index-BIZzLNv9.js";import{u as s}from"./search-mirror-DgYKzQ_z.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./FullCompose-DnUwBsN_.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./useMediaQuery-9NJJDrX6.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./MailViewChrome-BXIIRW1m.js";import"./roving-focus-nxbliQos.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./useQueries-BO8eIXDf.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./refresh-cw-3jpeaUi7.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./NavMenuButton-DS-H9eDz.js";import"./bottom-sheet-DDC7O5sx.js";import"./circle-help-C9O6dqh6.js";import"./circle-check-QqmhC0RV.js";function Mo(){const{mailboxId:t}=m.useParams(),i=e();return s({to:"/mail/$mailboxId",params:{mailboxId:t}}),o.jsx(r,{mailboxId:t,thread:i,children:o.jsx(a,{phone:o.jsx(r.Phone,{}),list:o.jsx(r.List,{}),reading:o.jsx(p,{}),intelligence:o.jsx(r.Intelligence,{}),hasThread:!!i})})}export{Mo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-X3HUQEvM.js";import{B as o}from"./BriefPane-Ct5mLFno.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function ir(){return r.jsx(o.Reading,{})}export{ir as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{M as r}from"./MailboxPane-ZTGfkp9r.js";import"./MailViewChrome-BXIIRW1m.js";import"./search-token-index-BIZzLNv9.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./useQueries-BO8eIXDf.js";import"./roving-focus-nxbliQos.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./chevron-down-B3lcZAVN.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./refresh-cw-3jpeaUi7.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./NavMenuButton-DS-H9eDz.js";import"./bottom-sheet-DDC7O5sx.js";import"./circle-help-C9O6dqh6.js";import"./circle-check-QqmhC0RV.js";function eo(){return o.jsx(r.Reading,{})}export{eo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{F as r}from"./FlaggedPane-DLqwSIp0.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./MailViewChrome-BXIIRW1m.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function oo(){return o.jsx(r.Reading,{})}export{oo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{O as t}from"./OutboxPane-D90GSWPB.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./outbox-status-BlKn6P0x.js";import"./NavMenuButton-DS-H9eDz.js";import"./menu-v-YxaQQ_.js";import"./roving-focus-nxbliQos.js";import"./circle-check-big-ChJ8pH-b.js";import"./clock-CNuf0kus.js";import"./row-actions-YYjMjrwp.js";import"./rotate-ccw-D8SF2xHr.js";function d(){return o.jsx(t.Reading,{})}export{d as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-X3HUQEvM.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-X3HUQEvM.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-X3HUQEvM.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-X3HUQEvM.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,ax as T,aF as y,B as r,aG as j,r as h,a9 as u,d as S,L as g,aH as p,p as I,e as A,aI as B,aJ as L,a4 as k,aK as D,aL as O,aM as U,u as E,az as V,aB as _}from"./index-X3HUQEvM.js";import{e as F}from"./config-import-BAWkCcKm.js";import"./reply-Bs_YhRF4.js";import{u as H}from"./sections-CRDaS4nn.js";import{C as M,a as P,b as Y,c as G}from"./card-MWxaP_DH.js";import{D as N}from"./download-DCGyf3W_.js";import{B as w}from"./badge-C-N2Sfyc.js";import{F as J}from"./file-json-CxV9Z8Xk.js";import{R as v}from"./rotate-ccw-D8SF2xHr.js";import{C as b}from"./circle-check-QqmhC0RV.js";import{E as C}from"./external-link-kBeg4Rkl.js";import{C as W}from"./cloud-off-C48CGroa.js";import{C as q}from"./clock-CNuf0kus.js";import{S as Q}from"./shield-check-DZBDPqGc.js";import{b as $}from"./help-copy-DLhRgp5W.js";import{S as K}from"./settings-screen-DU3TjNi2.js";import"./useMediaQuery-9NJJDrX6.js";import"./kbd-DiYloCGE.js";import"./avatar-COUm7SBG.js";import"./chevron-left-B-i0rFYx.js";import"./menu-v-YxaQQ_.js";import"./circle-help-C9O6dqh6.js";const X=["Remit restarts. Mail stops loading for about a minute and this page will lose its connection while that happens.","Nothing is sent, deleted or moved. Your mail stays at your provider.","If the new version does not come back up, the version you are running now is restored automatically."];function Z({open:s,currentVersion:n,release:a,appliesSchemaMigration:t=!1,onClose:c,onConfirm:i}){return s?e.jsx(T,{open:!0,onClose:c,title:`Install Remit ${a.version}`,children:e.jsxs("div",{className:"flex max-h-[80vh] flex-col",children:[e.jsxs("header",{className:"space-y-1 border-b border-line px-4 py-3",children:[e.jsxs("h3",{className:"text-sm font-semibold text-fg",children:["Install Remit ",a.version,"?"]}),e.jsxs("p",{className:"text-xs text-fg-muted",children:["You are on ",n,". ",a.version," was released"," ",y(a.releasedAt),"."]})]}),e.jsxs("div",{className:"flex-1 space-y-3 overflow-auto px-4 py-3",children:[e.jsx("p",{className:"text-sm text-fg-muted",children:a.summary}),e.jsxs("ul",{className:"space-y-2",children:[X.map(l=>e.jsxs("li",{className:"flex gap-2 text-sm text-fg-muted",children:[e.jsx("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-fg-subtle"}),e.jsx("span",{children:l})]},l)),t&&e.jsxs("li",{className:"flex gap-2 text-sm text-fg-muted",children:[e.jsx("span",{className:"mt-1.5 size-1.5 shrink-0 rounded-full bg-fg-subtle"}),e.jsx("span",{children:"This version updates the database while Remit is offline. The step forward cannot be undone by hand, but a failed start is still rolled back to the version and data you have now."})]})]}),e.jsx("p",{className:"text-xs text-fg-subtle",children:"Good moment for this: when you are not waiting on a message."})]}),e.jsxs("footer",{className:"flex flex-wrap items-center justify-end gap-2 border-t border-line px-4 py-3",children:[e.jsx(r,{variant:"ghost",size:"sm",onClick:c,children:"Not now"}),e.jsx(j,{variant:"secondary",size:"sm",external:!0,href:a.releaseNotesUrl,icon:e.jsx(C,{className:"size-3.5"}),children:"Release notes"}),e.jsx(r,{size:"sm",icon:e.jsx(N,{className:"size-3.5"}),onClick:i,children:"Install and restart"})]})]})}):null}function o({children:s,tone:n}){return e.jsx("div",{className:I("rounded-sm border bg-surface px-row-inset py-3",n==="danger"?"border-danger/50":"border-line"),children:s})}function ee({state:s,onCheck:n,onInstall:a,onDismissResult:t,now:c=Date.now()}){const[i,l]=h.useState(null),m=s.status==="checking",d=s.status==="available",x=()=>{if(m){l("Already checking. The result appears here in a moment.");return}l(null),n()},z=()=>{t(),x()},f=()=>{if(!d&&s.status!=="rolledBack"&&s.status!=="abandoned"){l("There is no update to install. Check for updates first — if one is found it appears here.");return}l(null),a()},R=(()=>{switch(s.status){case"upToDate":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(b,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg",children:["Remit ",s.version," is the latest version.",e.jsxs("span",{className:"text-fg-subtle",children:[" ","Checked ",p(s.checkedAt,c),"."]})]})]}),e.jsx(r,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check again"})]})});case"checking":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(g,{className:"size-4 shrink-0 animate-spin text-fg-subtle","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["Looking for a newer version. You are on ",s.version,"."]})]}),e.jsx(r,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check again"})]})});case"neverChecked":return e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-start gap-2",children:[e.jsx(q,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["No update check has run yet. Remit checks for updates on its own in the background.",s.lastCheckedAt!==void 0&&e.jsxs("span",{className:"text-fg-subtle",children:[" ","Last checked"," ",p(s.lastCheckedAt,c),"."]})]})]}),e.jsx(r,{variant:"secondary",size:"sm",className:"shrink-0",onClick:x,children:"Check now"})]})});case"checkFailed":return e.jsx(o,{children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(W,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsx("p",{className:"text-sm text-fg",children:"Could not reach the update source."}),e.jsx("p",{className:"text-xs text-fg-muted",children:s.reason}),e.jsxs("p",{className:"text-xs text-fg-subtle",children:["You are still on ",s.version," and it keeps working.",s.lastCheckedAt!==void 0&&e.jsxs(e.Fragment,{children:[" ","Last successful check"," ",p(s.lastCheckedAt,c),"."]})]})]})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"secondary",size:"sm",onClick:x,children:"Try again"})})]})});case"available":return e.jsx(o,{children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs("span",{className:"text-sm font-semibold text-fg",children:["Remit ",s.release.version]}),e.jsx(w,{tone:"accent",children:"update available"}),e.jsxs("span",{className:"text-2xs text-fg-subtle",children:["released ",y(s.release.releasedAt)," · you are on ",s.version]})]}),e.jsx("p",{className:"text-sm text-fg-muted",children:s.release.summary}),e.jsx("p",{className:"text-xs text-fg-subtle",children:"Installing restarts Remit, so mail stops loading for about a minute. If the new version does not come back up, the one you are running now is restored on its own."}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(r,{size:"sm",icon:e.jsx(N,{className:"size-3.5"}),onClick:f,children:["Install ",s.release.version]}),e.jsx(j,{variant:"secondary",size:"sm",external:!0,href:s.release.releaseNotesUrl,icon:e.jsx(C,{className:"size-3.5"}),children:"Release notes"})]})]})});case"applying":return e.jsx(o,{children:e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(g,{className:"size-4 shrink-0 animate-spin text-accent-2","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["Installing Remit ",s.target,". The restart screen has the details."]})]})});case"succeeded":return e.jsxs(e.Fragment,{children:[e.jsx(S,{tone:"success",onDismiss:t,children:e.jsxs("div",{className:"space-y-1",children:[e.jsxs("p",{className:"font-semibold",children:["Updated to Remit ",s.version,"."]}),e.jsxs("p",{children:["You were on ",s.previousVersion,"."," ",e.jsx("a",{href:s.releaseNotesUrl,target:"_blank",rel:"noopener noreferrer",className:"underline",children:"See what changed"}),"."]})]})}),e.jsx(o,{children:e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[e.jsx(b,{className:"size-4 shrink-0 text-positive","aria-hidden":!0}),e.jsxs("p",{className:"text-sm text-fg",children:["Remit ",s.version," is running."]})]}),e.jsx(r,{variant:"secondary",size:"sm",className:"shrink-0",onClick:z,children:"Check for updates"})]})})]});case"rolledBack":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," did not start. Remit reports that it put ",s.version," back."]}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["You are running ",s.version," again. A failed update can still have changed things on the way — the log below is the only account of what it got as far as doing."]})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported as the failure"}),e.jsx("code",{className:"block rounded-xs bg-danger-soft px-2 py-1 text-2xs text-danger",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log before trying again:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(r,{variant:"secondary",size:"sm",icon:e.jsx(v,{className:"size-3.5"}),onClick:f,children:["Try ",s.attemptedVersion," again"]}),e.jsxs(r,{variant:"ghost",size:"sm",onClick:t,children:["Stay on ",s.version]})]})]})});case"unreachable":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Installing ",s.attemptedVersion," left the server unreachable."]}),e.jsx("p",{className:"text-sm text-fg-muted",children:"Remit has answered again since, but nothing here can say what happened during the silence."})]})]}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"ghost",size:"sm",onClick:t,children:"Dismiss"})})]})});case"rollbackFailed":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," did not start, and Remit could not put ",s.previousVersion," back."]}),e.jsx("p",{className:"text-sm text-fg-muted",children:"This is the one outcome Remit cannot resolve on its own. The server is in a half-changed state and needs you at a shell. The log below is the only account of where it stopped."})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported as the failure"}),e.jsx("code",{className:"block rounded-xs bg-danger-soft px-2 py-1 text-2xs text-danger",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log on the server:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(r,{variant:"ghost",size:"sm",onClick:t,children:"Dismiss"})})]})});case"abandoned":return e.jsx(o,{tone:"danger",children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(u,{className:"mt-0.5 size-4 shrink-0 text-fg-subtle","aria-hidden":!0}),e.jsxs("div",{className:"min-w-0 space-y-1",children:[e.jsxs("p",{className:"text-sm font-semibold text-fg",children:["Remit ",s.attemptedVersion," was not installed. Nothing changed."]}),e.jsxs("p",{className:"text-sm text-fg-muted",children:["The update stopped before it altered anything. You are still running ",s.version,"."]})]})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"What Remit reported"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.reason})]}),e.jsxs("div",{className:"space-y-1",children:[e.jsx("p",{className:"text-xs text-fg-subtle",children:"Read the full log before trying again:"}),e.jsx("code",{className:"block rounded-xs bg-surface-sunken px-2 py-1 text-2xs text-fg-muted",children:s.logsCommand})]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsxs(r,{variant:"secondary",size:"sm",icon:e.jsx(v,{className:"size-3.5"}),onClick:f,children:["Try ",s.attemptedVersion," again"]}),e.jsxs(r,{variant:"ghost",size:"sm",onClick:t,children:["Stay on ",s.version]})]})]})});default:return s}})();return e.jsxs("section",{className:"space-y-3",children:[e.jsxs("header",{className:"space-y-1",children:[e.jsx("h2",{className:"text-sm font-semibold text-fg",children:"Updates"}),e.jsx("p",{className:"text-xs text-fg-muted",children:"This Remit runs on your own server, so it updates when you say so. Your mail lives at your provider and is never touched by an update."})]}),R,i&&e.jsx("p",{role:"status",className:"text-xs text-fg-muted",children:i})]})}function se({fileName:s,state:n="ready",error:a,onDownload:t,onImport:c}){const i=n==="downloading";return e.jsxs(M,{className:"max-w-xl",children:[e.jsx(P,{children:e.jsx(Y,{children:"Configuration file"})}),e.jsxs(G,{children:[e.jsx("p",{className:"text-sm text-fg-muted",children:"One versioned JSON document carrying every setting this instance holds: accounts and their servers, folder roles, rules, labels, flagged senders and appearance. No passwords and no OAuth tokens — you sign in again wherever you import it."}),n==="failed"&&e.jsxs("div",{className:"mt-3 space-y-2 rounded-sm border border-danger/40 bg-danger-soft px-3 py-2.5",children:[e.jsx("p",{className:"text-sm font-medium text-danger",children:"The config file could not be written."}),e.jsxs("p",{className:"text-xs text-fg-muted",children:["Nothing was downloaded. Try again — if it keeps failing, use"," ",e.jsx("code",{className:"rounded bg-surface-sunken px-1 py-0.5",children:"remit config save"})," ","on the host in the meantime."]}),a&&e.jsx("code",{className:"block rounded bg-surface-sunken px-2.5 py-2 text-2xs text-fg-muted",children:a})]}),e.jsxs("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[e.jsx(r,{variant:"secondary",size:"sm",disabled:i,icon:i?e.jsx(g,{className:"size-3.5 animate-spin"}):e.jsx(N,{className:"size-3.5"}),onClick:t,children:i?"Preparing…":`Download ${s}`}),e.jsx(w,{tone:"neutral",children:"no passwords"})]}),e.jsxs("p",{className:"mt-3 text-2xs text-fg-subtle",children:["On the host, the same file comes from"," ",e.jsxs("code",{className:"rounded bg-surface-sunken px-1 py-0.5",children:["remit config save ~/",s]}),"."]}),e.jsxs("div",{className:"mt-5 border-t border-line pt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg",children:"Import a config file"}),e.jsx("p",{className:"mt-1 text-sm text-fg-muted",children:"Read a file from another Reader into this one. It shows what will change before anything is written, and asks for each account's credentials afterwards."}),e.jsx(r,{className:"mt-3",variant:"secondary",size:"sm",icon:e.jsx(J,{className:"size-3.5"}),onClick:c,children:"Import a config file"})]})]})]})}const ae=(s,n)=>{const a=URL.createObjectURL(new Blob([JSON.stringify(n,null,2)],{type:"application/json"})),t=document.createElement("a");t.href=a,t.download=s,t.click(),URL.revokeObjectURL(a)};function te(){const s=A(),n=H(),[a,t]=h.useState("ready"),[c,i]=h.useState(void 0),l=F(new Date),m=()=>{a!=="downloading"&&(t("downloading"),i(void 0),s.fetchQuery(B()).then(d=>{ae(l,d.document),t("ready")}).catch(d=>{t("failed"),i(d instanceof Error?d.message:"GET /config/export did not answer with a configuration.")}))};return e.jsx(se,{fileName:l,state:a,error:c,onDownload:m,onImport:()=>n("importConfig")})}function ne(){const{surface:s,release:n,currentVersion:a,appliesSchemaMigration:t,onCheck:c,install:i,onDismissResult:l}=L(),[m,d]=h.useState(!1);return s.status!=="ready"?null:e.jsxs(e.Fragment,{children:[e.jsx(ee,{state:s.section,onCheck:c,onInstall:()=>d(!0),onDismissResult:l}),n&&a&&e.jsx(Z,{open:m,currentVersion:a,release:n,appliesSchemaMigration:t,onClose:()=>d(!1),onConfirm:()=>{d(!1),i(n.version)}})]})}function ie(){return k().tlsMode!=="internal"?null:e.jsxs("div",{className:"border-t border-line pt-4 mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg mb-1",children:"TLS root certificate"}),e.jsx("p",{className:"text-sm text-fg-muted mb-2",children:"This deployment signs its own certificate. Import it into the trust store of each device you browse from, and the browser warning stops for good."}),e.jsx(j,{href:"/tls-root-ca.crt",download:!0,variant:"secondary",size:"sm",icon:e.jsx(Q,{className:"size-3.5"}),children:"Download root certificate"})]})}function re(s){try{return new Date(s).toLocaleString(void 0,{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"})}catch{return s}}function le({sha:s=O,commitUrl:n=D,buildTime:a=U}){return e.jsxs("p",{className:"text-xs text-fg-subtle",children:["Version"," ",n?e.jsx("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"font-mono hover:text-fg-muted hover:underline",children:s}):e.jsx("span",{className:"font-mono",children:s})," · ",e.jsxs("span",{children:["Built ",re(a)]})]})}function Ae(){const s=E(),n=V(),[a,t]=h.useState(!0),c=i=>{const l=_[i];l&&s({to:l})};return e.jsxs(K,{items:n,activeId:"advanced",title:"Advanced",description:"Notification rules, export, and diagnostics.",help:$,helpOpen:a,onToggleHelp:()=>t(i=>!i),onSelect:c,onBackToMail:()=>{s({to:"/mail"})},children:[k().updateMode==="self"&&e.jsx(ne,{}),e.jsx("div",{className:"mt-6 border-t border-line pt-4",children:e.jsx(te,{})}),e.jsx("div",{className:"mt-6 border-t border-line pt-4",children:e.jsx("p",{className:"text-sm text-fg-muted",children:"Notification rules are coming in a future release."})}),e.jsx(ie,{}),e.jsxs("div",{className:"border-t border-line pt-4 mt-4",children:[e.jsx("p",{className:"text-sm font-medium text-fg mb-1",children:"About"}),e.jsx(le,{})]})]})}export{Ae as component};
|
package/assets/brief-DJ5051HC.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,O as i}from"./index-X3HUQEvM.js";import{a as m}from"./MailShell-DVTROO5Y.js";import{B as o}from"./BriefPane-Ct5mLFno.js";import"./reply-Bs_YhRF4.js";import{a as p}from"./search-token-index-BIZzLNv9.js";import{u as e}from"./search-mirror-DgYKzQ_z.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./FullCompose-DnUwBsN_.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./useMediaQuery-9NJJDrX6.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./roving-focus-nxbliQos.js";import"./useQueries-BO8eIXDf.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function hr(){const t=p();return e({to:"/mail/brief"}),r.jsx(o,{thread:t,children:r.jsx(m,{phone:r.jsx(o.Phone,{}),list:r.jsx(o.List,{}),reading:r.jsx(i,{}),intelligence:r.jsx(o.Intelligence,{}),hasThread:!!t})})}export{hr as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,B as l,u as m,a as f,c as x,r as g,A as j,O as d}from"./index-X3HUQEvM.js";import{A as h,S,a as B,D as e,b as A}from"./DesktopChrome-DGlb8cny.js";import"./reply-Bs_YhRF4.js";import{u as E}from"./sections-CRDaS4nn.js";import{u as v}from"./calendar-BYyDHpZa.js";import{E as y}from"./ErrorState-DD3UfsN8.js";import"./useLayoutTier-B5_piqNJ.js";import"./useMediaQuery-9NJJDrX6.js";import"./avatar-COUm7SBG.js";import"./popover-menu-J56UZVjI.js";import"./shield-check-DZBDPqGc.js";import"./roving-focus-nxbliQos.js";import"./mail-CDuFGyaA.js";import"./app-chrome-Cb3lBdOZ.js";function a(){const o=E();return t.jsx(h,{search:null,actions:t.jsxs(t.Fragment,{children:[t.jsx(l,{variant:"ghost",size:"sm",icon:t.jsx(S,{className:"size-4"}),title:"Settings","aria-label":"Settings",onClick:()=>o("accounts")}),t.jsx(B,{})]})})}function M(){const o=m(),n=v(),{data:r,isLoading:i,isError:c,error:p,refetch:u}=f({...x(),staleTime:1/0}),s=!!(r&&(r.accounts?.length??0)===0);return g.useEffect(()=>{s&&o({to:"/onboarding",replace:!0})},[s,o]),c?t.jsx(e,{topBar:t.jsx(a,{}),children:t.jsx("div",{className:"flex h-full items-center justify-center bg-canvas p-4",children:t.jsx(y,{title:"Couldn't load your account",error:p,onRetry:()=>{u()}})})}):t.jsx(A,{hideTabBar:n,children:t.jsx(e,{topBar:t.jsx(a,{}),children:i||s?t.jsx(j,{}):t.jsx(d,{})})})}export{M as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as o}from"./index-X3HUQEvM.js";const n=o("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);export{n as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./index-X3HUQEvM.js";const t=e("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);export{t as C};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DnUwBsN_.js";import"./index-X3HUQEvM.js";import"./index-DjF679iU.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";const u=o;export{u as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DnUwBsN_.js";import"./index-X3HUQEvM.js";import"./index-DjF679iU.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";const u=o;export{u as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DnUwBsN_.js";import"./index-X3HUQEvM.js";import"./index-DjF679iU.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";const u=o;export{u as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DnUwBsN_.js";import"./index-X3HUQEvM.js";import"./index-DjF679iU.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";const u=o;export{u as component};
|
package/assets/edit-BX860zdz.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eS as o,j as r}from"./index-X3HUQEvM.js";import{a as i}from"./CalendarEventEditor-BDZOuAkE.js";import"./draft-H1bLeWg_.js";import"./agenda-time-C_THqiEa.js";import"./calendar-guests-DEOe1juO.js";import"./calendar-event-popup-Clle6FA1.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./ErrorState-DD3UfsN8.js";import"./useQueries-BO8eIXDf.js";import"./pencil-BnBK7tmS.js";import"./circle-help-C9O6dqh6.js";import"./useCalendarData-CDMAl9sB.js";import"./useCalendarTasks-DClcdx9Q.js";import"./useCalendarScheduling-J13iQDXH.js";import"./useDebouncedValue-CiTDV7kX.js";import"./calendar-format-BwCpz-JZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./calendar-BYyDHpZa.js";import"./CalendarQuickCreate-BYHJja5o.js";import"./CalendarSession-CS_x_fs5.js";import"./calendar-event-sidebar-CPgDwmOs.js";import"./select-DaBof-xM.js";import"./chevron-down-B3lcZAVN.js";import"./confirm-dialog-CjHvZbGT.js";function q(){const{calendarObjectId:t}=o.useParams();return r.jsx(i,{calendarObjectId:t})}export{q as component};
|
package/assets/edit-DvrV6duf.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eV as o,j as i}from"./index-X3HUQEvM.js";import{a as m}from"./CalendarEventEditor-BDZOuAkE.js";import"./draft-H1bLeWg_.js";import"./agenda-time-C_THqiEa.js";import"./calendar-guests-DEOe1juO.js";import"./calendar-event-popup-Clle6FA1.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./ErrorState-DD3UfsN8.js";import"./useQueries-BO8eIXDf.js";import"./pencil-BnBK7tmS.js";import"./circle-help-C9O6dqh6.js";import"./useCalendarData-CDMAl9sB.js";import"./useCalendarTasks-DClcdx9Q.js";import"./useCalendarScheduling-J13iQDXH.js";import"./useDebouncedValue-CiTDV7kX.js";import"./calendar-format-BwCpz-JZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./calendar-BYyDHpZa.js";import"./CalendarQuickCreate-BYHJja5o.js";import"./CalendarSession-CS_x_fs5.js";import"./calendar-event-sidebar-CPgDwmOs.js";import"./select-DaBof-xM.js";import"./chevron-down-B3lcZAVN.js";import"./confirm-dialog-CjHvZbGT.js";function q(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return i.jsx(m,{calendarObjectId:r,recurrenceId:t})}export{q as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-X3HUQEvM.js";import{a as m}from"./MailShell-DVTROO5Y.js";import{F as r}from"./FlaggedPane-DLqwSIp0.js";import"./reply-Bs_YhRF4.js";import{a as p}from"./search-token-index-BIZzLNv9.js";import{u as e}from"./search-mirror-DgYKzQ_z.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./FullCompose-DnUwBsN_.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./useMediaQuery-9NJJDrX6.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./roving-focus-nxbliQos.js";import"./useQueries-BO8eIXDf.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./MailViewChrome-BXIIRW1m.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function so(){const t=p();return e({to:"/mail/flagged"}),o.jsx(r,{thread:t,children:o.jsx(m,{phone:o.jsx(r.Phone,{}),list:o.jsx(r.List,{}),reading:o.jsx(i,{}),intelligence:o.jsx(r.Intelligence,{}),hasThread:!!t})})}export{so as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as e,B as y,T as B,b3 as W,r as c,ax as Y,X,aE as he,ak as Z,F as xe,bb as K,bc as fe,am as pe,d as z,bd as ge,be,e as J,a0 as ee,k as se,bf as ve,bg as je,aD as ye,$ as Ne,bh as ke,bi as _,bj as Ce,bk as we,bl as te,bm as Se,bn as Q,b7 as ae,b8 as re,b9 as Ie,W as q,V as ne,L as H,bo as G,a9 as Me,bp as Ee,u as De,az as Ae,a as ie,c as Oe,aB as Te,R as Re,f as V,s as Fe,bq as Pe,br as $e,bs as Le,bt as ze,bu as _e,bv as Be}from"./index-X3HUQEvM.js";import{F as qe}from"./folder-input-CmDkygvp.js";import{f as He}from"./folder-failure-CqkVSsrb.js";import{S as Ke}from"./settings-screen-DU3TjNi2.js";import{E as oe}from"./ErrorState-DD3UfsN8.js";import{S as Qe}from"./select-DaBof-xM.js";import{P as Ge}from"./pencil-BnBK7tmS.js";import"./avatar-COUm7SBG.js";import"./badge-C-N2Sfyc.js";import"./chevron-left-B-i0rFYx.js";import"./menu-v-YxaQQ_.js";import"./circle-help-C9O6dqh6.js";import"./chevron-down-B3lcZAVN.js";const Ve=({label:s,onRename:t,onDelete:a,deleteBlockedReason:l,renameLabel:d=m=>`Rename ${m}`,deleteLabel:r=m=>`Delete ${m}`})=>{const m=l?`${r(s)} — ${l}`:r(s);return e.jsxs("span",{className:"flex shrink-0 items-center gap-0.5 pr-2",children:[e.jsx(y,{variant:"ghost",size:"sm",icon:e.jsx(Ge,{className:"size-3.5"}),"aria-label":d(s),onClick:t}),e.jsx("span",{title:l,children:e.jsx(y,{variant:"ghost",size:"sm",icon:e.jsx(B,{className:"size-3.5"}),"aria-label":m,disabled:l!==void 0,onClick:a})})]})},Ue=({folders:s,onRename:t,onDelete:a,onCreateFolder:l,delimiter:d,labels:r})=>{const m=new Map(s.map(o=>[o.id,o]));return e.jsx(W,{folders:s,onCreateFolder:l,delimiter:d,labels:{treeAriaLabel:"Your folders",optionLabel:o=>o.label,...r},rowFailure:o=>m.get(o.id)?.failure,rowActions:o=>{const i=m.get(o.id);return i?e.jsx(Ve,{label:i.label,deleteBlockedReason:i.deleteBlockedReason,renameLabel:r?.rename,deleteLabel:r?.remove,onRename:()=>t(i),onDelete:()=>a(i)}):null}})},We=({open:s,folderLabel:t,defaultLabel:a,name:l,onNameChange:d,onSubmit:r,onClose:m,pending:o=!1,error:i})=>{const h=c.useId(),f=`Rename ${t}`;return s?e.jsxs(Y,{open:s,onClose:m,title:f,children:[e.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[e.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:f}),e.jsx(y,{variant:"ghost",size:"sm",icon:e.jsx(X,{className:"size-3.5"}),onClick:m,"aria-label":"Cancel"})]}),e.jsxs("div",{className:"space-y-3 px-5 py-4",children:[e.jsxs("div",{children:[e.jsx(he,{htmlFor:h,children:"Folder name"}),e.jsx(Z,{id:h,value:l,placeholder:a,onChange:g=>d(g.target.value),onKeyDown:g=>{g.key==="Enter"&&(g.preventDefault(),r())}})]}),e.jsxs("p",{className:"text-xs text-fg-muted",children:["Shown everywhere in Remit. Leave it blank to use"," ",e.jsx("span",{className:"font-medium text-fg",children:a}),"."]}),i&&e.jsx("p",{className:"text-xs text-danger",role:"alert",children:i})]}),e.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[e.jsx(y,{variant:"secondary",size:"sm",onClick:m,children:"Cancel"}),e.jsx(y,{variant:"primary",size:"sm",onClick:r,disabled:o,children:o?"Saving…":"Save name"})]})]}):null},Ye=["inbox","drafts","sent","archive","junk","trash"],U="",Xe={mailboxId:null,source:"None"};function Ze(s){const t=s.messageCount===1?"msg":"msgs";return`${K(s.providerPath,s.hierarchyDelimiter)} · ${s.messageCount} ${t}`}const le=s=>`${s} ${s===1?"message":"messages"}`,Je=(s,t)=>s==="Appointed"?"Chosen by you":s==="Flagged"?`The mail server marks it as ${t}`:s==="Reserved"?"The account's own INBOX":"Matched by name, not confirmed";function es({role:s,folders:t,appointment:a,displayName:l,onAppoint:d,onRename:r}){const[m,o]=c.useState(l),i=c.useRef(null),h=c.useRef(!1),f=c.useId(),{mailboxId:g,source:v,staleFolderPath:j}=a,u=t.find(N=>N.mailboxId===g)??null,p=ge(s),O=u!=null&&m.trim()!==l.trim();c.useEffect(()=>{!h.current||v==="Proposed"||(h.current=!1,i.current?.focus())},[v]);const M=(()=>{if(v==="None"){const N=s==="trash"?" Deleting mail needs one.":"";return e.jsx("span",{id:f,className:"pl-[7.5rem] text-xs text-fg-muted",children:`Not set — pick the folder this account uses for ${p}.${N}`})}return v==="Stale"||!u?null:e.jsx("span",{id:f,className:"truncate pl-[7.5rem] text-2xs text-fg-subtle",title:u.providerPath,children:`${Je(v,p)} · ${u.providerPath} · ${le(u.messageCount)}`})})(),w=s==="trash"?" Deleting mail is stopped until you pick another one.":u?` reader is using ${K(u.providerPath,u.hierarchyDelimiter)} instead.`:"",A=`The folder you chose for ${p}${j?` — ${j} —`:""} is gone from the mail server.${w}`;return e.jsxs("div",{className:"flex flex-col gap-1 border-b border-line px-row-inset py-2.5 last:border-b-0",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsxs("span",{className:"flex w-28 shrink-0 items-center gap-2 text-sm font-medium text-fg",children:[fe(s),p]}),e.jsxs(Qe,{ref:i,className:"w-56 shrink-0",value:u?.mailboxId??U,"aria-label":`Folder for ${p}`,"aria-describedby":M||v==="Stale"?f:void 0,onChange:N=>d(s,N.target.value),children:[!u&&e.jsx("option",{value:U,disabled:!0,children:"Choose a folder"}),t.map(N=>e.jsx("option",{value:N.mailboxId,children:Ze(N)},N.mailboxId))]}),v==="Proposed"&&u&&e.jsx(y,{variant:"secondary",size:"sm",className:"shrink-0",onClick:()=>{h.current=!0,d(s,u.mailboxId)},children:`Set as ${p}`}),u&&e.jsxs(e.Fragment,{children:[e.jsx(Z,{className:"flex-1",value:m,placeholder:p,"aria-label":`Display name for ${p}`,onChange:N=>o(N.target.value)}),O&&e.jsx(y,{variant:"ghost",size:"sm",className:"shrink-0",icon:e.jsx(pe,{className:"size-4"}),"aria-label":"Save display name",onClick:()=>r(u.mailboxId,m)})]})]}),M,v==="Stale"&&e.jsx(z,{tone:"warning",variant:"soft",className:"ml-[7.5rem]",children:e.jsxs("span",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{id:f,className:"flex-1",children:A}),e.jsx(y,{variant:"secondary",size:"sm",className:"shrink-0",onClick:()=>i.current?.focus(),children:"Pick a folder"})]})})]})}function ss(){return e.jsxs("div",{className:"space-y-3",children:[e.jsx("p",{children:"Each canonical role — Inbox, Drafts, Sent, Archive, Spam, Trash — points at one of your account's real folders. Pick the one that actually holds the mail; the message counts tell real folders from empty look-alikes."}),e.jsx("p",{children:`Appointing a folder to a role here doesn't touch any other role, and doesn't move or rename anything on the server — it just tells Remit which folder to treat as e.g. "Drafts" everywhere (sidebar, unread badges, the compose flow).`}),e.jsxs("p",{children:[e.jsx("strong",{className:"text-fg",children:"Your folders"})," is the account's real hierarchy. Open a folder to see what's inside it, make a new one where you're looking, and rename or delete any of them from its row."]})]})}function ts({accountEmail:s,folders:t,appointments:a,displayNames:l={},onAppoint:d,onRename:r}){const m=new Set(Object.values(a).map(i=>i.mailboxId).filter(i=>i!=null)),o=t.filter(i=>!m.has(i.mailboxId));return e.jsxs("section",{className:"space-y-3",children:[e.jsxs("header",{className:"space-y-1",children:[e.jsxs("h2",{className:"text-sm font-semibold text-fg",children:["Folder roles — ",s]}),e.jsx("p",{className:"text-xs text-fg-muted",children:"Each row says where its answer came from — your choice, the mail server's own flag, or a name reader matched."})]}),e.jsx("div",{className:"rounded-sm border border-line bg-surface",children:Ye.map(i=>{const h=a[i]??Xe;return e.jsx(es,{role:i,folders:t,appointment:h,displayName:h.mailboxId?l[h.mailboxId]??"":"",onAppoint:d,onRename:r},i)})}),o.length>0&&e.jsxs("div",{className:"space-y-1.5",children:[e.jsx("h3",{className:"text-xs font-medium text-fg-muted",children:"Other folders"}),e.jsx("ul",{className:"rounded-sm border border-line bg-surface",children:o.map(i=>e.jsxs("li",{className:"flex items-center gap-2 border-b border-line px-row-inset py-2 text-sm text-fg last:border-b-0",children:[e.jsx(xe,{className:"size-4 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"truncate",children:K(i.providerPath,i.hierarchyDelimiter)}),e.jsx("span",{className:"ml-auto shrink-0 text-2xs text-fg-subtle",children:le(i.messageCount)})]},i.mailboxId))})]})]})}const as=12e4,rs=2e3,ns="This folder is no longer in the account's folder list, so nothing was deleted.",ce=(s,t)=>{const a=s.find(l=>l.mailboxId===t);if(!a)throw new Error(ns);return a},is=(s,t)=>ce(s,t).lastSyncedAt??0;async function os({readMailboxes:s,mailboxId:t,since:a,signal:l,segmentMs:d=as,pollIntervalMs:r=rs,delay:m=be,now:o=Date.now}){const i=o()+d;for(;;){l?.throwIfAborted();const h=ce(await s(),t);if((h.lastSyncedAt??0)>a)return{status:"fresh",messageCount:h.messagesTotal};if(o()>=i)return{status:"pending"};await m(r,l)}}const de=50,ls=s=>s instanceof Error?s.message:"Something went wrong.",$=s=>s.then(t=>({ok:!0,value:t}),t=>({ok:!1,error:ls(t)})),cs=async(s,t,a,l)=>{const d=[];let r;for(let m=0;m<de;m+=1){if(l.aborted)return d;const{data:o}=await te({path:{mailboxId:s},query:{order:"desc",continuationToken:r},throwOnError:!0});for(const i of o.items)if(!t.has(i.messageId)&&!d.includes(i.messageId)&&(d.push(i.messageId),d.length>=a))return d;if(!o.continuationToken)break;r=o.continuationToken}return d},ds=async(s,t)=>{let a=0,l;for(let d=0;d<de;d+=1){if(t.aborted)return a;const{data:r}=await te({path:{mailboxId:s},query:{order:"desc",continuationToken:l},throwOnError:!0});if(a+=r.items.length,!r.continuationToken)break;l=r.continuationToken}return a};function ms({accountId:s,mailboxId:t,onDeleted:a}){const l=J(),[d,r]=c.useState("idle"),[m,o]=c.useState(null),[i,h]=c.useState(),[f,g]=c.useState(),v=c.useRef(null),j=c.useRef(void 0),u=c.useCallback(()=>{l.invalidateQueries({queryKey:ee({path:{accountId:s}})}),l.invalidateQueries({queryKey:se()})},[l,s]),p=c.useCallback(async()=>{r("deleting");const k=await $(ve({path:{accountId:s,mailboxId:t},throwOnError:!0}));if(!k.ok){h(k.error),r("error");return}u(),r("done"),a()},[s,t,u,a]),O=c.useCallback(()=>je({path:{accountId:s},throwOnError:!0}).then(({data:k})=>k.items.find(S=>S.mailboxId===t)?.messageCount??0),[s,t]),M=c.useCallback(()=>l.fetchQuery({...ye({path:{accountId:s}}),staleTime:0}).then(k=>k.mailboxes??[]),[l,s]),w=c.useCallback(async()=>{const k=new AbortController;v.current=k;const{signal:S}=k;r("checking"),h(void 0);const I=j.current!==void 0,C=await $((async()=>(I||(S.throwIfAborted(),j.current=is(await M(),t),S.throwIfAborted(),g(Date.now()),await Ne({path:{accountId:s},throwOnError:!0})),os({readMailboxes:M,mailboxId:t,since:j.current??0,signal:S})))());return S.aborted?(r("idle"),j.current=void 0,{status:"failed"}):C.ok?C.value.status==="pending"?(r("check-stalled"),{status:"pending"}):(j.current=void 0,C.value.messageCount>0?(r("idle"),u(),{status:"blocked",messageCount:C.value.messageCount}):(await p(),{status:"deleted"})):(j.current=void 0,h(C.error),r("error"),{status:"failed"})},[s,t,M,p,u]),A=c.useCallback(()=>{v.current?.abort()},[]),N=c.useCallback(async k=>{const S=new AbortController;v.current=S;const{signal:I}=S;r("moving"),h(void 0);const C=await $(O());if(I.aborted)return;if(!C.ok){h(C.error),r("error");return}let x=ke(C.value);o(x);const E=new Set;for(;;){if(I.aborted)return;const n=await $(cs(t,E,Se,I));if(I.aborted)return;if(!n.ok){x=_(x,n.error),o(x),h(n.error),r("error");return}const b=n.value;if(b.length===0)break;const T=await $(Ce({body:{messageIds:b,destinationMailboxId:k},throwOnError:!0}));if(I.aborted)return;if(!T.ok){x=_(x,T.error),o(x),h(T.error),r("error");return}for(const P of b)E.add(P);x=we(x,b.length),o(x)}const D=await $(ds(t,I));if(!I.aborted){if(!D.ok){x=_(x,D.error),o(x),h(D.error),r("error");return}if(D.value>0){const n=`${D.value} ${D.value===1?"email is":"emails are"} still syncing. Re-open delete to finish removing this folder.`;x=_(x,n),o(x),h(n),r("error"),u();return}await p()}},[t,O,p,u]),R=c.useCallback(()=>{v.current?.abort(),v.current=null,j.current=void 0,r("idle"),o(null),h(void 0),g(void 0)},[]);return{phase:d,progress:m,errorMessage:i,checkStartedAt:f,deleteMailbox:p,deleteIfEmpty:w,moveThenDelete:N,cancel:A,reset:R}}const L=s=>`${s} ${s===1?"email":"emails"}`;function us({open:s,accountId:t,folder:a,mailboxes:l,appointments:d,onClose:r}){const[m,o]=c.useState(()=>Q(a.messageCount)),[i,h]=c.useState(),[f,g]=c.useState(),{createFolderIn:v}=ae(t),j=re(),{phase:u,progress:p,errorMessage:O,checkStartedAt:M,deleteMailbox:w,deleteIfEmpty:A,moveThenDelete:N,cancel:R,reset:k}=ms({accountId:t,mailboxId:a.mailboxId,onDeleted:r}),[S,I]=c.useState("0:00"),C=u==="checking"||u==="check-stalled";c.useEffect(()=>{if(!C||M===void 0)return;const F=()=>I(Ee(Date.now()-M));F();const ue=setInterval(F,1e3);return()=>clearInterval(ue)},[C,M]),c.useEffect(()=>{s&&(o(Q(a.messageCount)),h(void 0),k())},[s,k]),c.useEffect(()=>{s&&g(void 0)},[s]),c.useEffect(()=>R,[R]);const x=c.useCallback(()=>{R(),r()},[R,r]),E=c.useCallback(async()=>{const F=await A();F.status==="blocked"&&(h(F.messageCount),o("choose-fate"))},[A]),D=c.useMemo(()=>Ie({mailboxes:l,folderAppointments:d,excludeMailboxId:a.mailboxId,translator:j}),[l,d,a.mailboxId,j]),n=D.find(F=>F.id===f),b=c.useMemo(()=>q(a,ne(d).get(a.mailboxId),j),[a,d,j]);if(!s)return null;const T=`Delete ${b}`,P=i??a.messageCount,me=u==="moving"?e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-10 text-center",children:[e.jsx(H,{className:"size-8 animate-spin text-accent-2"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Moving emails…"}),e.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:p?G(p):"Moved 0 of 0"})]}):u==="checking"?e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-10 text-center",children:[e.jsx(H,{className:"size-8 animate-spin text-accent-2"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Checking the folder on the mail server…"}),e.jsx("p",{className:"text-xs text-fg-muted",role:"status","aria-live":"polite",children:`Waiting ${S}. Nothing is deleted until the server answers.`})]}):u==="check-stalled"?e.jsxs("div",{className:"space-y-4 px-5 py-4",children:[e.jsx(z,{tone:"warning",variant:"soft",children:`The mail server hasn't reported back on this folder yet — ${S} so far. Nothing has been deleted.`}),e.jsx("p",{className:"text-xs text-fg-muted",children:"A sync covers the whole account, so a busy mailbox can take a while to come round to this folder."}),e.jsxs("div",{className:"flex justify-end gap-2",children:[e.jsx(y,{variant:"secondary",size:"sm",onClick:x,children:"Cancel"}),e.jsx(y,{size:"sm",onClick:()=>E(),children:"Keep waiting"})]})]}):u==="deleting"||u==="done"?e.jsxs("div",{className:"flex flex-col items-center gap-3 px-5 py-10 text-center",children:[e.jsx(H,{className:"size-8 animate-spin text-accent-2"}),e.jsx("p",{className:"text-sm font-medium text-fg",children:"Deleting folder…"})]}):u==="error"?e.jsxs("div",{className:"space-y-4 px-5 py-4",children:[e.jsx(z,{tone:"danger",variant:"soft",children:O??"Something went wrong. Please try again."}),p&&e.jsxs("p",{className:"text-xs text-fg-muted",children:[G(p),". Already-moved emails stay moved — re-open delete to continue with the rest."]}),e.jsx("div",{className:"flex justify-end",children:e.jsx(y,{variant:"secondary",size:"sm",onClick:x,children:"Close"})})]}):m==="confirm-empty"?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"space-y-3 px-5 py-4 text-sm text-fg-muted",children:e.jsxs("p",{children:["Delete ",e.jsx("strong",{className:"text-fg",children:b}),"? This folder is empty and will be removed from the server."]})}),e.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[e.jsx(y,{variant:"secondary",size:"sm",onClick:x,children:"Cancel"}),e.jsx(y,{variant:"danger",size:"sm",icon:e.jsx(B,{className:"size-3.5"}),onClick:()=>E(),children:"Delete folder"})]})]}):m==="choose-fate"?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"space-y-3 px-5 py-4 text-sm text-fg-muted",children:[i!==void 0&&e.jsx(z,{tone:"warning",variant:"soft",children:`This folder is not empty: the mail server reports ${L(i)} in it. Nothing was deleted.`}),e.jsxs("p",{children:[e.jsx("strong",{className:"text-fg",children:b})," holds"," ",L(P),". What should happen to them?"]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs("button",{type:"button",onClick:()=>o("confirm-delete-all"),className:"flex w-full items-center gap-3 rounded-sm border border-line px-3 py-2.5 text-left hover:bg-surface-raised",children:[e.jsx(B,{className:"size-4 shrink-0 text-danger"}),e.jsxs("span",{className:"flex-1",children:[e.jsx("span",{className:"block text-sm font-medium text-fg",children:"Delete them with the folder"}),e.jsx("span",{className:"block text-xs text-fg-muted",children:"The emails are removed from the server and can't be recovered."})]})]}),e.jsxs("button",{type:"button",onClick:()=>o("pick-destination"),className:"flex w-full items-center gap-3 rounded-sm border border-line px-3 py-2.5 text-left hover:bg-surface-raised",children:[e.jsx(qe,{className:"size-4 shrink-0 text-accent-2"}),e.jsxs("span",{className:"flex-1",children:[e.jsx("span",{className:"block text-sm font-medium text-fg",children:"Move them to another folder"}),e.jsx("span",{className:"block text-xs text-fg-muted",children:"Keep the emails, then delete the emptied folder."})]})]})]})]}),e.jsx("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:e.jsx(y,{variant:"secondary",size:"sm",onClick:x,children:"Cancel"})})]}):m==="confirm-delete-all"?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"space-y-3 px-5 py-4 text-sm text-fg-muted",children:e.jsxs("p",{children:["Delete ",e.jsx("strong",{className:"text-fg",children:b})," and its"," ",L(P),"? The messages are removed from the server with the folder and can't be recovered."]})}),e.jsxs("footer",{className:"flex items-center justify-end gap-2 border-t border-line px-5 py-3",children:[e.jsx(y,{variant:"secondary",size:"sm",onClick:()=>o("choose-fate"),children:"Back"}),e.jsx(y,{variant:"danger",size:"sm",icon:e.jsx(B,{className:"size-3.5"}),onClick:()=>w(),children:"Delete folder and emails"})]})]}):e.jsxs("div",{className:"flex h-[26rem] flex-col",children:[e.jsxs("p",{className:"px-5 pt-4 text-sm text-fg-muted",children:["Move the ",L(P)," in"," ",e.jsx("strong",{className:"text-fg",children:b})," to:"]}),e.jsx("div",{className:"flex min-h-0 flex-1 overflow-hidden",children:e.jsx(W,{folders:D,selectedId:f,delimiter:l[0]?.hierarchyDelimiter??"/",onSelect:g,onCreateFolder:v,onCancel:()=>{g(void 0),o("choose-fate")},labels:{filterPlaceholder:"Move emails to…"}})}),n&&e.jsx("footer",{className:"shrink-0 border-t border-line p-2",children:e.jsx(y,{variant:"danger",onClick:()=>N(n.id),className:"h-11 w-full font-semibold",children:e.jsx("span",{className:"truncate",children:`Move ${L(P)} to ${n.label}`})})})]});return e.jsxs(Y,{open:s,onClose:x,title:T,children:[e.jsxs("header",{className:"flex items-center gap-2 border-b border-line px-5 py-3",children:[e.jsx(Me,{className:"size-4 shrink-0 text-danger"}),e.jsx("span",{className:"flex-1 text-sm font-semibold text-fg",children:T}),e.jsx(y,{variant:"ghost",size:"sm",icon:e.jsx(X,{className:"size-3.5"}),onClick:x,"aria-label":"Cancel"})]}),me]})}function hs({account:s}){const t=J(),a=s.accountId,l=re(),{data:d,isPending:r,isError:m,error:o,refetch:i}=ie(Re({path:{accountId:a}})),{createFolderIn:h}=ae(a),f=V({...Pe(),meta:Fe(409),onSuccess:()=>{t.invalidateQueries({queryKey:se()})}}),g=V({...$e(),onSuccess:()=>{t.invalidateQueries({queryKey:ee({path:{accountId:a}})})}}),[v,j]=c.useState(),[u,p]=c.useState(),[O,M]=c.useState(""),w=c.useMemo(()=>d?.items??[],[d]),A=c.useMemo(()=>ne(s.folderAppointments),[s.folderAppointments]),N=c.useMemo(()=>w.map(n=>({id:n.mailboxId,label:q(n,A.get(n.mailboxId),l),path:n.fullPath,deleteBlockedReason:Le(n,w,s.folderAppointments).message,failure:He(n)})),[w,A,l,s.folderAppointments]),R=(n,b)=>{f.mutate({path:{accountId:a,role:Be[n]},body:{mailboxId:b}})},k=(n,b)=>{const T=b.trim();g.mutate({path:{accountId:a,mailboxId:n},body:{displayNameOverride:T===""?null:T}})};if(r)return e.jsx("div",{className:"h-24 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":`Loading folders for ${s.email}`});if(m)return e.jsx(oe,{variant:"inline",title:`Couldn't load folders for ${s.email}`,error:o,onRetry:()=>{i()}});const S=w.map(n=>({mailboxId:n.mailboxId,providerPath:n.fullPath,hierarchyDelimiter:n.hierarchyDelimiter,messageCount:n.messageCount})),I={};for(const n of s.folderAppointments){const b=ze[n.role];b&&(I[b]={mailboxId:n.mailboxId??null,source:n.source,staleFolderPath:n.staleAppointmentPath})}const C={};for(const n of w)n.displayNameOverride&&(C[n.mailboxId]=n.displayNameOverride);const x=n=>w.find(b=>b.mailboxId===n),E=x(u),D=x(v);return e.jsxs("div",{className:"space-y-4",children:[(f.isError||g.isError)&&e.jsx(z,{tone:"danger",variant:"soft",children:_e(f.error)?"That folder is still being created on the mail server — wait for it to finish, then try again.":"Couldn't save that change. Please try again."}),e.jsx(ts,{accountEmail:s.email,folders:S,appointments:I,displayNames:C,onAppoint:R,onRename:k}),e.jsxs("section",{className:"space-y-1.5",children:[e.jsxs("h3",{className:"text-sm font-semibold text-fg",children:["Your folders — ",s.email]}),e.jsx("div",{className:"flex h-[28rem] flex-col overflow-hidden rounded-sm border border-line bg-surface",children:e.jsx(Ue,{folders:N,delimiter:w[0]?.hierarchyDelimiter??"/",onCreateFolder:h,onRename:n=>{p(n.id),M(x(n.id)?.displayNameOverride?.trim()??"")},onDelete:n=>j(n.id),labels:{treeAriaLabel:`All folders for ${s.email}`}})})]}),E&&e.jsx(We,{open:!0,folderLabel:q(E,A.get(E.mailboxId),l),defaultLabel:q({fullPath:E.fullPath,hierarchyDelimiter:E.hierarchyDelimiter},A.get(E.mailboxId),l),name:O,onNameChange:M,pending:g.isPending,error:g.isError?"Couldn't save that name. Please try again.":void 0,onSubmit:()=>{const n=O.trim();g.mutate({path:{accountId:a,mailboxId:E.mailboxId},body:{displayNameOverride:n===""?null:n}},{onSuccess:()=>p(void 0)})},onClose:()=>p(void 0)}),D&&e.jsx(us,{open:!0,accountId:a,folder:D,mailboxes:w,appointments:s.folderAppointments,onClose:()=>j(void 0)})]})}function Is(){const s=De(),t=Ae(),[a,l]=c.useState(!0),{data:d,isPending:r,isError:m,error:o,refetch:i}=ie(Oe()),h=f=>{const g=Te[f];g&&s({to:g})};return e.jsx(Ke,{items:t,activeId:"folders",title:"Folder roles",description:"Appoint which real folder fills each canonical role, per account.",help:e.jsx(ss,{}),helpOpen:a,onToggleHelp:()=>l(f=>!f),onSelect:h,onBackToMail:()=>{s({to:"/mail"})},children:r?e.jsx("div",{className:"h-24 animate-pulse rounded-sm border border-line bg-surface","aria-busy":"true","aria-label":"Loading accounts"}):m?e.jsx(oe,{title:"Couldn't load accounts",error:o,onRetry:()=>{i()}}):d.accounts.length===0?e.jsx("p",{className:"py-12 text-sm text-fg-muted",children:"No accounts configured."}):e.jsx("div",{className:"space-y-8",children:d.accounts.map(f=>e.jsx(hs,{account:f},f.accountId))})})}export{Is as component};
|
package/assets/index-44Nd6hoS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{O as t}from"./OutboxPane-D90GSWPB.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./outbox-status-BlKn6P0x.js";import"./NavMenuButton-DS-H9eDz.js";import"./menu-v-YxaQQ_.js";import"./roving-focus-nxbliQos.js";import"./circle-check-big-ChJ8pH-b.js";import"./clock-CNuf0kus.js";import"./row-actions-YYjMjrwp.js";import"./rotate-ccw-D8SF2xHr.js";function g(){return o.jsx(t.Reading,{})}export{g as component};
|
package/assets/index-BafgExsO.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,a8 as o}from"./index-X3HUQEvM.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
|
package/assets/index-C3xB5mTr.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-X3HUQEvM.js";import{B as o}from"./BriefPane-Ct5mLFno.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function ir(){return r.jsx(o.Reading,{})}export{ir as component};
|
package/assets/index-D4ibfGR2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{M as i}from"./MailboxPane-ZTGfkp9r.js";import"./MailViewChrome-BXIIRW1m.js";import"./search-token-index-BIZzLNv9.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./useQueries-BO8eIXDf.js";import"./roving-focus-nxbliQos.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./chevron-down-B3lcZAVN.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./refresh-cw-3jpeaUi7.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./NavMenuButton-DS-H9eDz.js";import"./bottom-sheet-DDC7O5sx.js";import"./circle-help-C9O6dqh6.js";import"./circle-check-QqmhC0RV.js";function ao(){return o.jsx(i.Reading,{})}export{ao as component};
|
package/assets/index-D8uIyhWM.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eR as o,j as r}from"./index-X3HUQEvM.js";import{C as m}from"./CalendarEventPopup-Cd49o1aV.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./ErrorState-DD3UfsN8.js";import"./useQueries-BO8eIXDf.js";import"./useCalendarData-CDMAl9sB.js";import"./useCalendarTasks-DClcdx9Q.js";import"./calendar-format-BwCpz-JZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./calendar-BYyDHpZa.js";import"./CalendarSession-CS_x_fs5.js";import"./calendar-event-popup-Clle6FA1.js";import"./pencil-BnBK7tmS.js";import"./calendar-guests-DEOe1juO.js";import"./circle-help-C9O6dqh6.js";import"./confirm-dialog-CjHvZbGT.js";function P(){const{calendarObjectId:t}=o.useParams();return r.jsx(m,{calendarObjectId:t})}export{P as component};
|
package/assets/index-DXydIDl3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{M as r}from"./MailboxPane-ZTGfkp9r.js";import"./MailViewChrome-BXIIRW1m.js";import"./search-token-index-BIZzLNv9.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./useQueries-BO8eIXDf.js";import"./roving-focus-nxbliQos.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./chevron-down-B3lcZAVN.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./refresh-cw-3jpeaUi7.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./NavMenuButton-DS-H9eDz.js";import"./bottom-sheet-DDC7O5sx.js";import"./circle-help-C9O6dqh6.js";import"./circle-check-QqmhC0RV.js";function no(){return o.jsx(r.Reading,{})}export{no as component};
|
package/assets/index-D_t--guV.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-X3HUQEvM.js";import{B as o}from"./BriefPane-Ct5mLFno.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./LabelApplyTrigger-Ox3K3UZo.js";import"./useLabels-Beg-UxxE.js";import"./useRefreshControl-c8RtcGU3.js";import"./circle-check-big-ChJ8pH-b.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function tr(){return r.jsx(o.Reading,{})}export{tr as component};
|
package/assets/index-PazExuj-.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eU as t,j as m}from"./index-X3HUQEvM.js";import{C as p}from"./CalendarEventPopup-Cd49o1aV.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./ErrorState-DD3UfsN8.js";import"./useQueries-BO8eIXDf.js";import"./useCalendarData-CDMAl9sB.js";import"./useCalendarTasks-DClcdx9Q.js";import"./calendar-format-BwCpz-JZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./calendar-BYyDHpZa.js";import"./CalendarSession-CS_x_fs5.js";import"./calendar-event-popup-Clle6FA1.js";import"./pencil-BnBK7tmS.js";import"./calendar-guests-DEOe1juO.js";import"./circle-help-C9O6dqh6.js";import"./confirm-dialog-CjHvZbGT.js";function P(){const{calendarObjectId:r,recurrenceId:o}=t.useParams();return m.jsx(p,{calendarObjectId:r,recurrenceId:o})}export{P as component};
|
package/assets/index-rv5AdzRX.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{F as r}from"./FlaggedPane-DLqwSIp0.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./MailViewChrome-BXIIRW1m.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function oo(){return o.jsx(r.Reading,{})}export{oo as component};
|
package/assets/index-sIYPsGs_.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-X3HUQEvM.js";import{F as r}from"./FlaggedPane-DLqwSIp0.js";import"./MessageToolbar-bKPOSy0d.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./roving-focus-nxbliQos.js";import"./chevron-down-B3lcZAVN.js";import"./search-token-index-BIZzLNv9.js";import"./useQueries-BO8eIXDf.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./badge-C-N2Sfyc.js";import"./undo-2-DT3EdJen.js";import"./DropdownMenu-T79mAX3f.js";import"./popover-menu-J56UZVjI.js";import"./ErrorState-DD3UfsN8.js";import"./mail-CDuFGyaA.js";import"./download-DCGyf3W_.js";import"./avatar-COUm7SBG.js";import"./EmptyState-CA538vCg.js";import"./calendar-suggestion-DVjK0aSt.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./agenda-time-C_THqiEa.js";import"./sparkles-DrZ81rOU.js";import"./plus-GnqfNmfx.js";import"./calendar-format-BwCpz-JZ.js";import"./calendar-BYyDHpZa.js";import"./calendar-failure-note-C9fIL_8K.js";import"./checkbox-jLurGcNS.js";import"./clock-CNuf0kus.js";import"./segmented-control-DFN0EF39.js";import"./shield-check-DZBDPqGc.js";import"./useLayoutTier-B5_piqNJ.js";import"./menu-v-YxaQQ_.js";import"./useFilters-D_mEdyEH.js";import"./select-DaBof-xM.js";import"./folder-input-CmDkygvp.js";import"./confirm-dialog-CjHvZbGT.js";import"./label-chip-tLLbdHoz.js";import"./cloud-off-C48CGroa.js";import"./MailViewChrome-BXIIRW1m.js";import"./refresh-cw-3jpeaUi7.js";import"./wizard-selection-zWa1qc6-.js";function oo(){return o.jsx(r.Reading,{})}export{oo as component};
|
package/assets/mail-DxkYnpSf.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as Me,j as e,r as p,n as Ee,o as Pe,D as Le,X as Te,p as I,C as Fe,S as oe,q as Q,t as re,v as ie,F as Ae,T as ze,w as De,M as _e,x as Be,y as Ke,I as Qe,B as E,z as le,E as qe,G as He,H as ce,e as B,J as ue,K as de,N as $e,P as Ve,Q as Ue,R as me,a as xe,U as We,V as Ge,W as z,Y as Ye,Z as Je,_ as Xe,$ as Ze,a0 as es,a1 as ss,a2 as ts,a3 as as,a4 as ns,u as os,c as rs,a5 as is,O as ls}from"./index-X3HUQEvM.js";import{u as cs,l as O,a as D,m as q,b as us,c as ds,N as C,d as ms,e as xs,i as fs,f as ps}from"./reply-Bs_YhRF4.js";import{A as hs,S as fe,a as gs,c as bs,L as vs,b as ys,D as js,d as Ns}from"./DesktopChrome-DGlb8cny.js";import{u as K,a as Ss}from"./useMessageBodyContent-Dhtu6I6l.js";import{P as Cs}from"./pencil-BnBK7tmS.js";import{c as Is,s as ws,M as Os}from"./MailShell-DVTROO5Y.js";import{u as ks,a as Rs,R as Ms,s as Es,i as Ps,H as Ls,M as Ts}from"./useRefreshControl-c8RtcGU3.js";import{K as Fs,B as As,S as zs,u as Ds,s as _s,b as Bs,a as Ks,c as Qs,d as qs}from"./search-token-index-BIZzLNv9.js";import{u as Hs}from"./sections-CRDaS4nn.js";import{u as pe}from"./search-scope-D_Xp19lV.js";import{M as $s}from"./menu-v-YxaQQ_.js";import{B as he,u as Vs}from"./useResultFolderIndex-CJrt60fl.js";import{u as ge}from"./useQueries-BO8eIXDf.js";import{f as Us}from"./folder-failure-CqkVSsrb.js";import{i as Ws}from"./outbox-status-BlKn6P0x.js";import{u as Gs}from"./roving-focus-nxbliQos.js";import{C as Ys,A as Js}from"./account-service-status-6nrumJJk.js";import{S as Xs}from"./sparkles-DrZ81rOU.js";import{C as H}from"./chevron-down-B3lcZAVN.js";import{u as Zs}from"./index-DjF679iU.js";import{u as be,i as et}from"./useLayoutTier-B5_piqNJ.js";import{u as st}from"./useDebouncedValue-CiTDV7kX.js";import{E as tt}from"./ErrorState-DD3UfsN8.js";import{K as $}from"./kbd-DiYloCGE.js";import"./useMediaQuery-9NJJDrX6.js";import"./avatar-COUm7SBG.js";import"./popover-menu-J56UZVjI.js";import"./shield-check-DZBDPqGc.js";import"./mail-CDuFGyaA.js";import"./app-chrome-Cb3lBdOZ.js";import"./FullCompose-DnUwBsN_.js";import"./confirm-dialog-CjHvZbGT.js";import"./circle-check-big-ChJ8pH-b.js";import"./refresh-cw-3jpeaUi7.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./suggest-list-Bl5m8GjB.js";const at=Me("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);function nt({onCompose:s}){return e.jsx("button",{type:"button",onClick:s,"aria-label":"Compose new message",className:"lg:hidden fixed right-4 z-30 h-14 w-14 rounded-full bg-accent text-accent-fg shadow-lg flex items-center justify-center hover:opacity-90 active:scale-95 transition-all",style:{bottom:"calc(var(--app-tab-bar, 0px) + env(safe-area-inset-bottom, 0px) + 1rem)"},children:e.jsx(Cs,{className:"size-6"})})}const ot=({isOpen:s,onClose:t})=>{const a=p.useRef(null);return Ee({id:"shortcuts",open:s,answers:{back:t}}),Pe(a,s),s?e.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[e.jsx(Le,{label:"Dismiss keyboard shortcuts",onDismiss:t,className:"backdrop-blur-sm"}),e.jsxs("div",{ref:a,role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",tabIndex:-1,className:I("relative z-10 max-h-[85vh] w-full max-w-2xl overflow-y-auto","rounded-lg border border-line bg-surface shadow-lg","p-6"),children:[e.jsxs("div",{className:"mb-6 flex items-center justify-between",children:[e.jsx("h2",{className:"text-lg font-semibold",children:"Keyboard shortcuts"}),e.jsx("button",{type:"button",onClick:t,className:"p-1 text-fg-muted transition-colors hover:text-fg","aria-label":"Close",children:e.jsx(Te,{className:"size-5"})})]}),e.jsx("div",{className:"grid gap-x-8 gap-y-6 sm:grid-cols-2",children:Fs.map(n=>e.jsxs("div",{children:[e.jsx("h3",{className:"mb-3 text-sm font-medium text-fg-muted",children:n.title}),e.jsx("div",{className:"space-y-2",children:n.hints.map(o=>e.jsxs("div",{className:"flex items-center justify-between gap-4",children:[e.jsx("span",{className:"text-sm",children:o.description}),e.jsx("span",{className:"flex shrink-0 items-center gap-1",children:o.keys.map((r,c)=>e.jsxs(p.Fragment,{children:[c>0&&o.keys[0]==="g"&&e.jsx("span",{className:"text-2xs text-fg-subtle",children:"then"}),e.jsx($,{children:r})]},r))})]},`${o.action}-${o.keys.join("+")}`))})]},n.title))}),e.jsx("div",{className:"mt-6 border-t border-line pt-4",children:e.jsxs("p",{className:"text-center text-xs text-fg-muted",children:["Press ",e.jsx($,{children:"Esc"})," to close"]})})]})]}):null},rt="button:not([disabled]), a[href]",P="outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-surface-sunken";function it({active:s,dimmed:t,indent:a}){return I("flex w-full items-center gap-2 rounded-md px-2 py-1 text-left text-sm transition-colors",P,a&&"pl-7",s?"bg-accent-2-soft font-medium text-accent-2":"text-fg-muted hover:bg-surface hover:text-fg",t&&"opacity-55")}function lt({icon:s,label:t,count:a,active:n,failure:o}){return e.jsxs(e.Fragment,{children:[s&&e.jsx("span",{className:I("shrink-0",n?"text-accent-2":"text-fg-subtle"),children:s}),e.jsx("span",{className:"flex-1 truncate",children:t}),o&&e.jsx(re,{className:"size-3.5 shrink-0 text-danger","aria-hidden":"true"}),a!=null&&a>0&&e.jsx("span",{className:I("text-2xs tabular-nums",n?"text-accent-2":"text-fg-subtle"),children:a})]})}function w({icon:s,label:t,count:a,active:n,dimmed:o,indent:r,navId:c,linkComponent:u,ariaLabel:x,title:d,failure:h,onClick:y}){const g=it({active:n,dimmed:o,indent:r}),l=e.jsx(lt,{icon:s,label:t,count:a,active:n,failure:h}),v=x??t,m=h?`${v} — ${h}`:v,f=h?`${d??t} — ${h}`:d;return c&&u?u({navId:c,className:g,ariaLabel:m,title:f,onClick:y,children:l}):e.jsx("button",{type:"button",onClick:y,className:g,"aria-label":h?m:x,title:f,children:l})}const V={inbox:0,flagged:1,drafts:2,sent:3,archive:4,all:5,junk:6,trash:7};function ct(s){switch(s){case"inbox":return e.jsx(Qe,{className:"size-4"});case"flagged":return e.jsx(oe,{className:"size-4"});case"drafts":return e.jsx(Ke,{className:"size-4"});case"sent":return e.jsx(ie,{className:"size-4"});case"archive":return e.jsx(Be,{className:"size-4"});case"all":return e.jsx(_e,{className:"size-4"});case"junk":return e.jsx(De,{className:"size-4"});case"trash":return e.jsx(ze,{className:"size-4"})}}const U=s=>s.role!=null,A=8,W="remit.nav.folders.open.",G="remit.nav.account.open.";function Y(s,t,a){if(typeof localStorage>"u")return a;const n=localStorage.getItem(s+t);return n===null?a:n!=="0"}function J(s,t,a){typeof localStorage>"u"||localStorage.setItem(s+t,a?"1":"0")}function ut({account:s,selectedNavId:t,onSelectNav:a,linkComponent:n}){const[o,r]=p.useState(()=>Y(G,s.id,!0)),[c,u]=p.useState(()=>Y(W,s.id,!0)),[x,d]=p.useState(!1),h=()=>{r(i=>{const j=!i;return J(G,s.id,j),j})},y=()=>{u(i=>{const j=!i;return J(W,s.id,j),j})},g=s.mailboxes.filter(U).sort((i,j)=>V[i.role]-V[j.role]),l=s.mailboxes.filter(i=>!U(i)),v=x||l.length<=A?l:l.slice(0,A),m=l.length-v.length,f=s.status??"ready",b=s.syncedServices!==void 0&&!s.syncedServices.includes("Mail"),N=f==="ready"&&g.length===0&&l.length===0;return e.jsxs("div",{className:"mt-3",children:[e.jsxs("button",{type:"button",onClick:h,"aria-expanded":o,className:I("flex w-full items-center gap-1.5 px-2 pb-1 text-left transition-colors hover:text-fg",P,s.muted&&"opacity-55"),children:[o?e.jsx(H,{className:"size-3 shrink-0 text-fg-subtle"}):e.jsx(Q,{className:"size-3 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"truncate text-2xs font-semibold uppercase tracking-wider text-fg-subtle",children:s.label}),s.muted&&e.jsxs(e.Fragment,{children:[e.jsx(As,{className:"size-3 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"text-2xs text-fg-subtle",children:"muted"})]}),b&&e.jsxs(e.Fragment,{children:[e.jsx(Ys,{className:"size-3 shrink-0 text-fg-subtle"}),e.jsx("span",{className:"text-2xs text-fg-subtle",children:Js.Mail})]})]}),o&&e.jsxs(e.Fragment,{children:[f==="loading"&&e.jsx("div",{className:"px-2 py-1 text-sm text-fg-muted",children:"Loading…"}),f==="error"&&e.jsxs("div",{role:"alert",className:"mx-2 my-1 flex items-start gap-2 rounded-md border border-danger/40 bg-danger-soft px-2 py-1.5 text-sm",children:[e.jsx(re,{className:"mt-0.5 size-4 shrink-0 text-danger","aria-hidden":"true"}),e.jsx("div",{className:"min-w-0 flex-1",children:e.jsx("p",{className:"font-medium text-danger",children:"Couldn't load mailboxes"})}),s.onRetry&&e.jsx("button",{type:"button",onClick:s.onRetry,className:"shrink-0 text-sm font-medium text-accent hover:underline",children:"Retry"})]}),N&&e.jsx("div",{className:"px-2 py-1 text-sm text-fg-muted",children:"No mailboxes"}),f==="ready"&&e.jsxs(e.Fragment,{children:[g.map(i=>e.jsx(w,{navId:i.id,linkComponent:n,icon:ct(i.role),label:i.name,ariaLabel:i.name,title:i.fullPath??i.name,failure:i.failure,count:i.unseen,active:t===i.id,dimmed:s.muted,onClick:()=>a?.(i.id)},i.id)),s.outboxPending!==void 0&&e.jsx(w,{navId:"outbox",linkComponent:n,icon:e.jsx(ie,{className:"size-4"}),label:"Outbox",ariaLabel:"Outbox",count:s.outboxPending>0?s.outboxPending:void 0,active:t==="outbox",dimmed:s.muted,onClick:()=>a?.("outbox")}),l.length>0&&e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",onClick:y,"aria-expanded":c,className:I("mt-1 flex w-full items-center gap-1 px-2 py-1 text-left text-2xs font-semibold uppercase tracking-wider text-fg-subtle transition-colors hover:text-fg",P),children:[c?e.jsx(H,{className:"size-3 shrink-0"}):e.jsx(Q,{className:"size-3 shrink-0"}),e.jsx("span",{className:"flex-1",children:"Folders"}),e.jsx("span",{className:"tabular-nums opacity-70",children:l.length})]}),c&&e.jsxs(e.Fragment,{children:[v.map(i=>e.jsx(w,{navId:i.id,linkComponent:n,icon:e.jsx(Ae,{className:"size-4"}),label:i.name,ariaLabel:i.name,title:i.fullPath??i.name,failure:i.failure,count:i.unseen,active:t===i.id,dimmed:s.muted,onClick:()=>a?.(i.id)},i.id)),(m>0||x)&&l.length>A&&e.jsx("button",{type:"button",onClick:()=>d(i=>!i),className:I("ml-7 flex items-center px-2 py-1 text-2xs font-medium text-accent transition-colors hover:underline",P),children:x?"Show less":`Show all (${l.length})`})]})]})]})]})]})}function dt({accounts:s,selectedNavId:t,briefUnseen:a,onSelectNav:n,variant:o="desktop",linkComponent:r,calendarNav:c="hidden"}){const u=p.useRef(null);Gs({containerRef:u,itemSelector:rt});const x=o==="drawer",d=e.jsxs("nav",{ref:x?u:void 0,className:x?"px-2 py-2":"flex-1 overflow-y-auto px-2 py-2","aria-label":"Mailboxes",children:[e.jsx(w,{navId:"brief",linkComponent:r,icon:e.jsx(Xs,{className:"size-4"}),label:"Daily brief",ariaLabel:"Daily brief",count:a,active:t==="brief",onClick:()=>n?.("brief")}),c==="shown"&&e.jsx(w,{navId:"calendar",linkComponent:r,icon:e.jsx(Fe,{className:"size-4"}),label:"Calendar",ariaLabel:"Calendar",active:t==="calendar",onClick:()=>n?.("calendar")}),e.jsx(w,{navId:"flagged",linkComponent:r,icon:e.jsx(oe,{className:"size-4"}),label:"Starred",ariaLabel:"Starred",active:t==="flagged",onClick:()=>n?.("flagged")}),s.length===0?e.jsx("div",{className:"px-2 py-4 text-center text-sm text-fg-muted",children:"No accounts configured"}):s.map(h=>e.jsx(ut,{account:h,selectedNavId:t,onSelectNav:n,linkComponent:r},h.id))]});return x?d:e.jsx("aside",{ref:u,className:"flex h-full w-full flex-col bg-surface-sunken",children:d})}function mt(){const s=pe();if(!s)return null;const t=s.showNavPane?!s.navCollapsed:!1;return e.jsx(E,{variant:"ghost",size:"sm",icon:e.jsx($s,{className:"size-4"}),onClick:s.toggleNav,"aria-label":t?"Hide folders":"Show folders","aria-expanded":t,title:"Folders",className:"shrink-0"})}const xt={global:"Search all mail",pending:"Search mail",scoped:"Search this folder"};function ft({search:s,onCompose:t,onReportBug:a,onOpenSettings:n,settingsAttention:o,composeShortcut:r,refreshControl:c,account:u}){return e.jsx(hs,{leading:e.jsx(mt,{}),search:e.jsx(zs,{value:s.value,onChange:s.onChange,onClear:s.onClear,onClearQuery:s.onClearQuery,chips:s.chips,onRemoveChip:s.onRemoveChip,placeholder:xt[s.scope]}),actions:e.jsxs(e.Fragment,{children:[e.jsx(E,{variant:"ghost",size:"sm",icon:e.jsx(at,{className:"size-4"}),title:r?`Compose (${r})`:"Compose","aria-label":"Compose",onClick:t}),e.jsx(E,{variant:"ghost",size:"sm",icon:e.jsx(he,{className:"size-4"}),title:"Report a bug","aria-label":"Report a bug",onClick:a}),e.jsx(E,{variant:"ghost",size:"sm",icon:e.jsx(le,{label:o,children:e.jsx(fe,{className:"size-4"})}),title:"Settings","aria-label":o?`Settings — ${o}`:"Settings",onClick:n}),c,u]})})}function pt(){const{pathname:s}=cs(),t=qe({from:"/mail/$mailboxId",shouldThrow:!1});return O(s,"/settings")?"settings":O(s,"/calendar")?"calendar":O(s,"/mail/outbox")?"outbox":O(s,"/mail/flagged")?"flagged":O(s,"/mail/brief")?"brief":t?.mailboxId??""}function ht(){const s=He(),t=D({select:d=>q(d.location.pathname)}),a=D({select:d=>us(d.location.search)}),[n,o]=p.useState(a),r=st(n,200),[c,u]=p.useState(t);if(c!==t){const d=ws(c,t,a);u(t),d!==void 0&&o(d)}const x=p.useCallback(d=>{u(q(s.state.location.pathname)),o(d)},[s]);return{searchInput:n,committedQuery:Is(n,r),viewKey:t,setSearchInput:x}}const gt=()=>{const s=K();return ds()?null:e.jsx(nt,{onCompose:s})};function X({accounts:s}){const{searchInput:t,onSearchChange:a,onSearchClear:n,onSearchClearQuery:o,resultFolderIndex:r}=ce(),c=B(),u=Hs(),x=K(),{scope:d,clearScope:h}=Ds(s),y=ue(),g=d.kind==="scoped"?[{id:d.chip.id,label:d.chip.label,tone:"scope"}]:void 0,l=p.useMemo(()=>s.map(N=>N.accountId),[s]),{hasNewMail:v}=ks(),{state:m,errorMessage:f,refresh:b}=Rs(l,{onSettled:()=>$e(c,Ve(r.keys()))});return e.jsx(ft,{search:{value:t,scope:d.kind,chips:g,onChange:a,onClear:n,onClearQuery:o,onRemoveChip:h},onCompose:x,onReportBug:de,onOpenSettings:()=>u("accounts"),settingsAttention:y,composeShortcut:_s("compose"),refreshControl:e.jsx(Ms,{state:m,onRefresh:b,label:"Refresh all accounts",errorMessage:f,hasUpdate:v(l)}),account:e.jsx(gs,{})})}function bt(){return e.jsxs("button",{type:"button",onClick:de,className:"flex w-full items-center gap-2 rounded-md px-2 py-1 text-sm text-fg-muted transition-colors hover:bg-surface hover:text-fg",children:[e.jsx(he,{className:"size-4 shrink-0"}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Report a bug"})]})}const Z=s=>/^\d/.test(s),vt=(s,t)=>{const a=Z(s),n=Z(t);return a&&!n?-1:!a&&n?1:s.localeCompare(t,void 0,{sensitivity:"base",numeric:!0})};function yt(s,t,a){const n=[],o=[];for(const r of s)t.has(r.mailboxId)?n.push(r):o.push(r);return o.sort((r,c)=>vt(z(r,void 0,a),z(c,void 0,a))),{system:n,labels:o}}function jt(s,t,a){const n=Ye(t)&&s.unseenCount>0;return{id:s.mailboxId,name:z(s,t,a),unseen:n?s.unseenCount:void 0,role:t,fullPath:s.fullPath,failure:Us(s)}}function ee({accounts:s,onMailboxSelect:t,variant:a="desktop"}){const n=B(),o=pt(),{onSearchChange:r}=ce(),{t:c}=Ue("mail",{useSuspense:!1}),u=p.useCallback((m,f)=>c(m,{defaultValue:f}),[c]),x=ge({queries:s.map(m=>({...me({path:{accountId:m.accountId}}),staleTime:1/0}))}),{data:d}=xe(We()),h=p.useMemo(()=>(d?.items??[]).filter(m=>Ws(m.status)).length,[d?.items]),y=p.useMemo(()=>s.map((m,f)=>{const b=x[f],N=b?.data?.items??[],i=Ge(m.folderAppointments),{system:j,labels:L}=yt(N,i,u),T=b?.isError?"error":b?.isLoading?"loading":"ready";return{id:m.accountId,label:m.email,email:m.email,muted:!!m.muted,outboxPending:h,status:T,onRetry:()=>b?.refetch(),mailboxes:[...j,...L].map(k=>jt(k,i.get(k.mailboxId),u))}}),[s,x,h,u]),g=m=>{n.invalidateQueries({queryKey:Je({path:{mailboxId:m},query:{order:"desc"}})})},l=({navId:m,className:f,ariaLabel:b,title:N,children:i,onClick:j})=>m==="brief"?e.jsx(C,{to:"/mail/brief",search:{q:void 0},activeOptions:{includeSearch:!1},onClick:()=>j?.(),className:f,"aria-label":b,title:N,children:i}):m==="calendar"?e.jsx(C,{to:"/calendar",onClick:()=>j?.(),className:f,"aria-label":b,title:N,children:i}):m==="outbox"?e.jsx(C,{to:"/mail/outbox",search:{q:void 0},onClick:()=>j?.(),className:f,"aria-label":b,title:N,children:i}):m==="flagged"?e.jsx(C,{to:"/mail/flagged",search:{q:void 0},onClick:()=>j?.(),className:f,"aria-label":b,title:N,children:i}):m==="settings"?e.jsx(C,{to:"/settings/accounts",onClick:()=>j?.(),className:f,"aria-label":b,title:N,children:i}):e.jsx(C,{to:"/mail/$mailboxId",params:{mailboxId:m},search:{q:void 0},onClick:()=>{g(m),j?.()},className:f,"aria-label":b,title:N,children:i}),v=()=>{r(""),t?.()};return e.jsx(dt,{accounts:y,selectedNavId:o,onSelectNav:v,linkComponent:l,variant:a})}function Nt({accounts:s,onMailboxSelect:t}){const n=pe()?.showNavPane??!0,o=ue();return n?e.jsx(ee,{accounts:s}):e.jsxs("div",{className:"flex h-full flex-col",children:[e.jsx("div",{className:"flex-1 overflow-y-auto",children:e.jsx(ee,{accounts:s,onMailboxSelect:t,variant:"drawer"})}),e.jsxs("div",{className:"border-t border-line px-2 py-2",children:[e.jsxs(C,{to:"/settings/accounts",onClick:t,children:[e.jsx(le,{label:o,children:e.jsx(fe,{className:"size-4 shrink-0"})}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Settings"})]}),e.jsx(bt,{}),e.jsx(bs,{children:({signOut:r})=>e.jsxs("button",{type:"button",onClick:()=>{t?.(),r()},className:"flex min-h-11 w-full items-center gap-2 rounded-md px-2 py-1 text-sm text-fg-muted transition-colors hover:bg-surface hover:text-fg","data-testid":"sign-out-button",children:[e.jsx(vs,{className:"size-4 shrink-0"}),e.jsx("span",{className:"flex-1 truncate text-left",children:"Sign out"})]})})]})]})}function St(s){const t=ge({queries:s.map(a=>({...me({path:{accountId:a.accountId}}),staleTime:1/0}))});return p.useMemo(()=>Bs(t.map(a=>a.data?.items??[])),[t])}const ve="remit:intelligence-open";function Ct(){try{return localStorage.getItem(ve)!=="closed"}catch{return!0}}function It(s){try{localStorage.setItem(ve,s?"open":"closed")}catch{}}function se({panels:s,prefersOpen:t,isDesktop:a,hasThread:n,raisedFor:o,openMessage:r}){if(o!==null&&o===r)return!0;const c=s.filter(u=>u!=="sidebar");return c.length>0?c.includes("intelligence"):a&&n&&t}const wt=()=>{const s=be(),t=ms(),a=xs(),n=t.find(fs),o=Ks(),[r,c]=p.useState(Ct),u=o?`${o.threadId}/${o.messageId??""}`:null,[x,d]=p.useState(null),h={panels:t,prefersOpen:r,isDesktop:s==="desktop",hasThread:o!==void 0,openMessage:u},y=se({...h,raisedFor:x}),g=se({...h,raisedFor:null}),l=p.useCallback((b,N)=>{a([...b?["intelligence"]:[],...N?[N]:[]])},[a]),v=p.useCallback(b=>{l(g,b)},[g,l]),m=p.useCallback(()=>{if(y&&!g){d(null);return}const b=!y;It(b),c(b),d(null),l(b,n)},[g,y,n,l]),f=p.useCallback(()=>{d(u)},[u]);return{openOverlay:n,intelligenceOpen:y,showOverlay:v,toggleIntelligence:m,raiseIntelligence:f}};var R={exports:{}},te;function Ot(){if(te)return R.exports;te=1;const s=(t,a,n)=>new Promise((o,r)=>{if(n=Object.assign({concurrency:1/0},n),typeof a!="function")throw new TypeError("Mapper function is required");const{concurrency:c}=n;if(!(typeof c=="number"&&c>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${c}\` (${typeof c})`);const u=[],x=t[Symbol.iterator]();let d=!1,h=!1,y=0,g=0;const l=()=>{if(d)return;const v=x.next(),m=g;if(g++,v.done){h=!0,y===0&&o(u);return}y++,Promise.resolve(v.value).then(f=>a(f,m)).then(f=>{u[m]=f,y--,l()},f=>{d=!0,r(f)})};for(let v=0;v<c&&(l(),!h);v++);});return R.exports=s,R.exports.default=s,R.exports}var kt=Ot();const Rt=Xe(kt),Mt=900*1e3,Et=30,Pt=(s,t)=>{if(!s)return t;const a=Number.parseInt(s,10);return Number.isFinite(a)&&a>0?a:t},Lt=30*1e3,Tt=s=>Math.max(Pt(s,Et)*1e3,Lt),ye=Tt(ns().mailboxPollIntervalSeconds),M=(s=Date.now(),t=ye)=>Ps(s)?Math.min(Ls,t):t,Ft=5,_=new Set,At=(s,t,a=Mt)=>s.filter(n=>{const o=n.lastSyncAt;return o==null?!0:t-o>a}).map(n=>n.accountId),zt=(s,t,a=ye)=>s-t>=a,Dt=(s,t)=>s.filter(a=>!t.has(a)),ae=(s,t)=>{if(_.delete(s),ss(t)||ts(t,{softError:!0})){as(t,{softError:!0});return}console.warn("[remit] background mailbox sync failed",{accountId:s,error:t})},ne=(s,t)=>Ze({path:{accountId:s},throwOnError:!0}).then(()=>{t.invalidateQueries({queryKey:es({path:{accountId:s}})})}),_t=s=>{const t=B(),a=p.useRef(s);a.current=s;const n=s.map(o=>o.accountId).join(",");p.useEffect(()=>{const o=Date.now(),c=At(a.current,o).filter(u=>!_.has(u));if(c.length!==0)for(const u of c)_.add(u),ne(u,t).catch(x=>{ae(u,x)})},[n,t]),p.useEffect(()=>{let o=Date.now(),r;const c=new Set,u=()=>{o=Date.now();const g=Dt(a.current.map(l=>l.accountId),c);for(const l of g)c.add(l);Rt(g,l=>ne(l,t).catch(v=>{ae(l,v)}).finally(()=>{c.delete(l)}),{concurrency:Ft})},x=()=>{if(document.visibilityState==="visible"){u(),r=setTimeout(x,M());return}},d=()=>{if(document.visibilityState!=="visible")return;r!==void 0&&clearTimeout(r);const g=Date.now(),l=M(g);if(zt(g,o,l)){u(),r=setTimeout(x,l);return}r=setTimeout(x,o+l-g)},h=()=>{document.visibilityState==="visible"&&(r!==void 0&&clearTimeout(r),o=Date.now(),r=setTimeout(x,M()))};r=setTimeout(x,M()),document.addEventListener("visibilitychange",d);const y=Es(h);return()=>{r!==void 0&&clearTimeout(r),document.removeEventListener("visibilitychange",d),y()}},[n,t])};function Sa(){const s=os(),t=be(),a=et(t),{openOverlay:n,intelligenceOpen:o,showOverlay:r,toggleIntelligence:c,raiseIntelligence:u}=wt(),x=n==="shortcuts",d=n==="nav",{searchInput:h,committedQuery:y,viewKey:g,setSearchInput:l}=ht(),{data:v,isLoading:m,isError:f,error:b,refetch:N}=xe({...rs(),staleTime:1/0}),i=!!(v&&(v.accounts?.length??0)===0);p.useEffect(()=>{i&&s({to:"/onboarding",replace:!0})},[i,s]),Zs({enabled:!x,bindings:[{key:"?",action:"help",handler:()=>r("shortcuts"),noModifiers:!1,preventDefault:!0}]});const j=K(),L=Ss(),T=D({select:F=>ps(F.matches)?.list==="mailbox"}),k=p.useMemo(()=>({compose:j}),[j]);Qs({enabled:!T&&!L,handlers:k});const je=p.useCallback(()=>{l("")},[l]),Ne=p.useCallback(()=>{l("")},[l]),S=v?.accounts??[],Se=p.useMemo(()=>S.map(F=>F.accountId),[S]),Ce=St(S),Ie=Vs(S).index,we=p.useMemo(()=>qs(S),[S]);_t(S);const Oe=p.useCallback(()=>{n==="nav"&&r(void 0)},[n,r]),ke={accounts:S,mailboxNameIndex:Ce,accountNameIndex:we,resultFolderIndex:Ie,searchQuery:y,searchInput:h,searchViewKey:g,onSearchChange:l,onSearchClear:je,onSearchClearQuery:Ne,intelligenceOpen:o,onToggleIntelligence:c,onRaiseIntelligence:u},Re={isSinglePane:a,isLoading:m||i,intelligenceOpen:o,nav:e.jsx(Nt,{accounts:S,onMailboxSelect:Oe}),topBar:a?void 0:e.jsx(X,{accounts:S}),appBar:t==="phone"?void 0:e.jsx(Ns,{}),overlay:a?e.jsx(gt,{}):void 0,navOpen:d,onOpenNav:()=>r("nav"),onCloseNav:()=>r(void 0)};return e.jsx(is.Provider,{value:ke,children:e.jsxs(Ts,{accountIds:Se,children:[e.jsx(ys,{children:f?e.jsx(js,{topBar:e.jsx(X,{accounts:S}),children:e.jsx("div",{className:"flex h-full items-center justify-center bg-canvas p-4",children:e.jsx(tt,{title:"Couldn't load your account",error:b,onRetry:()=>{N()}})})}):e.jsx(Os,{chrome:Re,children:e.jsx(ls,{})})}),e.jsx(ot,{isOpen:x,onClose:()=>r(void 0)})]})})}export{Sa as component,ce as useMailContext};
|
package/assets/new-BrQZmpeT.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{C as o}from"./CalendarEventEditor-BDZOuAkE.js";import"./index-X3HUQEvM.js";import"./draft-H1bLeWg_.js";import"./agenda-time-C_THqiEa.js";import"./calendar-guests-DEOe1juO.js";import"./calendar-event-popup-Clle6FA1.js";import"./useCalendarSuggestions-BLiBIz-1.js";import"./ErrorState-DD3UfsN8.js";import"./useQueries-BO8eIXDf.js";import"./pencil-BnBK7tmS.js";import"./circle-help-C9O6dqh6.js";import"./useCalendarData-CDMAl9sB.js";import"./useCalendarTasks-DClcdx9Q.js";import"./useCalendarScheduling-J13iQDXH.js";import"./useDebouncedValue-CiTDV7kX.js";import"./calendar-format-BwCpz-JZ.js";import"./reply-Bs_YhRF4.js";import"./useMediaQuery-9NJJDrX6.js";import"./calendar-BYyDHpZa.js";import"./CalendarQuickCreate-BYHJja5o.js";import"./CalendarSession-CS_x_fs5.js";import"./calendar-event-sidebar-CPgDwmOs.js";import"./select-DaBof-xM.js";import"./chevron-down-B3lcZAVN.js";import"./confirm-dialog-CjHvZbGT.js";const q=o;export{q as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as i,e as n,u as a,r as m,j as p}from"./index-X3HUQEvM.js";import{O as s}from"./OnboardingWizard-BpOpo7pG.js";import{c}from"./onboarding-completion-BG60cd5s.js";import"./credential-steps-CREMZs9P.js";import"./select-DaBof-xM.js";import"./chevron-down-B3lcZAVN.js";import"./badge-C-N2Sfyc.js";import"./card-MWxaP_DH.js";import"./account-form-helpers-DhckT_PN.js";import"./mail-CDuFGyaA.js";import"./file-json-CxV9Z8Xk.js";import"./kbd-DiYloCGE.js";import"./checkbox-jLurGcNS.js";function k(){const o=i(),t=n(),e=a(),r=m.useCallback(l=>{c({queryClient:t,recordCompleted:()=>o.recordEvent("onboarding.completed"),navigateToInbox:()=>{window.location.assign("/mail")}})},[o,t]);return p.jsx(s,{skipWelcome:!1,onComplete:r,onImportConfig:()=>{e({to:"/import"})}})}export{k as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-X3HUQEvM.js";import{a as m}from"./MailShell-DVTROO5Y.js";import{u as p,O as t}from"./OutboxPane-D90GSWPB.js";import"./reply-Bs_YhRF4.js";import{u as s}from"./search-mirror-DgYKzQ_z.js";import"./useMessageBodyContent-Dhtu6I6l.js";import"./FullCompose-DnUwBsN_.js";import"./index-DjF679iU.js";import"./useSignature-ZAeHuLA5.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-CiTDV7kX.js";import"./suggest-list-Bl5m8GjB.js";import"./sections-CRDaS4nn.js";import"./useMediaQuery-9NJJDrX6.js";import"./chevron-down-B3lcZAVN.js";import"./ErrorState-DD3UfsN8.js";import"./confirm-dialog-CjHvZbGT.js";import"./search-scope-D_Xp19lV.js";import"./app-chrome-Cb3lBdOZ.js";import"./MessageBody-Bn9CiLsL.js";import"./kbd-DiYloCGE.js";import"./outbox-status-BlKn6P0x.js";import"./NavMenuButton-DS-H9eDz.js";import"./menu-v-YxaQQ_.js";import"./roving-focus-nxbliQos.js";import"./circle-check-big-ChJ8pH-b.js";import"./clock-CNuf0kus.js";import"./row-actions-YYjMjrwp.js";import"./rotate-ccw-D8SF2xHr.js";function B(){const r=p();return s({to:"/mail/outbox"}),o.jsx(t,{outboxMessageId:r,children:o.jsx(m,{phone:o.jsx(t.Phone,{}),list:o.jsx(t.List,{}),reading:o.jsx(i,{})})})}export{B as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{u as e,r as s}from"./index-X3HUQEvM.js";const a={brief:"/mail/brief",flagged:"/mail/flagged",outbox:"/mail/outbox",settings:"/settings",accounts:"/settings/accounts",importConfig:"/import"};function c(){const t=e();return s.useCallback(o=>{t({to:a[o]})},[t])}function i(){const t=e();return s.useCallback(o=>{t({to:"/settings/accounts",search:{editAccountId:o,focusSmtp:!0}})},[t])}export{i as a,c as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,O as o}from"./index-X3HUQEvM.js";const n=()=>t.jsx(o,{});export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./index-X3HUQEvM.js";const c=e("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);export{c as S};
|