@remit/web-client-dist 0.0.610 → 0.0.611
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/{BriefPane-Kq7MoJAy.js → BriefPane-CFAjsbfE.js} +1 -1
- package/assets/{CalendarComposePane-ttBV9i0L.js → CalendarComposePane-dbthR2UV.js} +1 -1
- package/assets/{CalendarComposeSeed-C7PMJf3X.js → CalendarComposeSeed-B3eUAwfM.js} +1 -1
- package/assets/{CalendarShell-BXd2Haz7.js → CalendarShell-CwIr5568.js} +1 -1
- package/assets/{EmptyState-BKE2sE6S.js → EmptyState-Dz40jCsg.js} +1 -1
- package/assets/{ErrorState-B4doIuh3.js → ErrorState-D-ovquzq.js} +1 -1
- package/assets/{FlaggedPane-KpOQPoF4.js → FlaggedPane-CbIwD3bz.js} +1 -1
- package/assets/{FullCompose-DZFqFx7R.js → FullCompose-hMOJSn_L.js} +1 -1
- package/assets/{MailListHeader-Cr3dh1lr.js → MailListHeader-CEbfe9MG.js} +1 -1
- package/assets/{MailNav-BJkhFpG1.js → MailNav-CaFOPH47.js} +1 -1
- package/assets/{MailShell-VD8T-esR.js → MailShell-PqNg-Foo.js} +1 -1
- package/assets/{MailViewChrome-BNYMeppG.js → MailViewChrome-DqsK0P50.js} +1 -1
- package/assets/{MailboxPane-uT1N9BhB.js → MailboxPane-C8pkeOfK.js} +1 -1
- package/assets/{NavMenuButton-Dt1LP3xE.js → NavMenuButton-DYyTgcBv.js} +1 -1
- package/assets/OnboardingWizard-CnhPYEjp.js +1 -0
- package/assets/{OpenCalendarEvent-B4t8buuN.js → OpenCalendarEvent-DsS48a8l.js} +1 -1
- package/assets/{OutboxPane-BgicoJNx.js → OutboxPane-Cet30jEh.js} +1 -1
- package/assets/_calendarObjectId-DEkoGKcy.js +1 -0
- package/assets/_mailboxId-Vk6Rm3Nb.js +1 -0
- package/assets/_messageId-6FRpbxPs.js +1 -0
- package/assets/_messageId-BapiW6jh.js +1 -0
- package/assets/_messageId-CfT1PRNg.js +1 -0
- package/assets/_outboxMessageId-CZp1rgpN.js +1 -0
- package/assets/_recurrenceId-BbixdrzS.js +1 -0
- package/assets/_threadId-DeCoVd56.js +1 -0
- package/assets/_threadId-Dh_fD-bf.js +1 -0
- package/assets/_threadId-j-tgXH8h.js +1 -0
- package/assets/{_view._date-BUkVaJfJ.js → _view._date-VTLdpTY0.js} +1 -1
- package/assets/{accounts-KxpTqYDU.js → accounts-Dp4pLi_k.js} +1 -1
- package/assets/{advanced-lZ0Z0Nxq.js → advanced-D-jtrD_w.js} +1 -1
- package/assets/{appearance-D0f-oVFV.js → appearance-DdV2sqX3.js} +1 -1
- package/assets/{attachment-file-gAfp0dv-.js → attachment-file-B6ZL4nwv.js} +1 -1
- package/assets/{attendee-row-DHIFSmzm.js → attendee-row-D7AVLvVj.js} +1 -1
- package/assets/{avatar-7RE-k5-A.js → avatar-BtUpTRhw.js} +1 -1
- package/assets/{bell-off-2elvUVuL.js → bell-off-AXUauLsa.js} +1 -1
- package/assets/{bottom-sheet-COGW8Xhr.js → bottom-sheet-D89r0tLr.js} +1 -1
- package/assets/{brief-Dxzfvs5G.js → brief-CLYd7E9-.js} +1 -1
- package/assets/brief-_2AWmsbZ.js +1 -0
- package/assets/{browser-ponyfill-DrLxbvqZ.js → browser-ponyfill-C2T8sKZ_.js} +1 -1
- package/assets/{bug-DJ0r63wN.js → bug-C8-Za7MW.js} +1 -1
- package/assets/{calendar-nUAU716h.js → calendar-D5YnbFnQ.js} +1 -1
- package/assets/{calendar-clash-strip-eWCsRV5H.js → calendar-clash-strip-BPPqEGjm.js} +1 -1
- package/assets/{calendar-color-B7xysQBF.js → calendar-color-Ia9-44ll.js} +1 -1
- package/assets/{calendar-event-chip-YG8KNEUD.js → calendar-event-chip-CbSB1W83.js} +1 -1
- package/assets/{calendars-DYQEUEYF.js → calendars-OigZkJXo.js} +1 -1
- package/assets/{card-DcD9Y2of.js → card-BzQG1IGD.js} +1 -1
- package/assets/chevron-left-DvY3YoAK.js +1 -0
- package/assets/{circle-check-BW5VvBID.js → circle-check-DO-Laa90.js} +1 -1
- package/assets/{circle-check-big-DB4LtNLR.js → circle-check-big-CaZXLbSv.js} +1 -1
- package/assets/{circle-help-B7f57nO2.js → circle-help-5iQ90RYP.js} +1 -1
- package/assets/{clock-KyDYmL_A.js → clock-DIH4igsv.js} +1 -1
- package/assets/compose._-_outboxMessageId_-ByYLD_0f.js +1 -0
- package/assets/compose._-_outboxMessageId_-DB6heC7Y.js +1 -0
- package/assets/compose._-_outboxMessageId_-DWsvTc0b.js +1 -0
- package/assets/compose._-_outboxMessageId_-e7nGoXbj.js +1 -0
- package/assets/{config-import-CftwNmED.js → config-import-BxpnFmES.js} +1 -1
- package/assets/{confirm-dialog-hp8qmvZN.js → confirm-dialog-DWLsxptz.js} +1 -1
- package/assets/{copy-BehHKJjo.js → copy-DO2RiEJg.js} +1 -1
- package/assets/credential-steps-w-4TBGiR.js +1 -0
- package/assets/{download-DXuQtb0t.js → download-CYOhM089.js} +1 -1
- package/assets/{file-json-B-S5BJx7.js → file-json-Bam8bRU3.js} +1 -1
- package/assets/{filters-DRyIVoRk.js → filters-DwAnRmZP.js} +1 -1
- package/assets/flagged-CDS7YC_Q.js +1 -0
- package/assets/{flagged-SRvsIdow.js → flagged-obL0MDnZ.js} +1 -1
- package/assets/{folders-ZdK61UX1.js → folders-DIUuTR5b.js} +1 -1
- package/assets/{help-copy-DvXDd3A2.js → help-copy-DmXjA3Yi.js} +1 -1
- package/assets/{import-CywdkU8D.js → import-BU7fRwsp.js} +1 -1
- package/assets/index-6FRpbxPs.js +1 -0
- package/assets/{index-DX-AkLZt.js → index-6dajDQtQ.js} +1 -1
- package/assets/index-B0Ia9LoY.js +1 -0
- package/assets/index-B1lbVBrx.js +1 -0
- package/assets/{index-DwhL5hnf.js → index-BQ-Iu5Zu.js} +4 -4
- package/assets/index-CfT1PRNg.js +1 -0
- package/assets/{index-CSe-0o3z.js → index-CyXSvIgN.js} +4 -4
- package/assets/index-DHca64kQ.js +1 -0
- package/assets/index-DPsNpXcX.js +1 -0
- package/assets/index-DVqFT6NH.js +1 -0
- package/assets/index-K_J8cLlh.js +1 -0
- package/assets/index-oyKQTbp2.js +1 -0
- package/assets/{kbd-BtXVxwvP.js → kbd-CxeUqHU0.js} +1 -1
- package/assets/{labels-D6qwIMrt.js → labels-CNb_JK2-.js} +1 -1
- package/assets/{mail-Ccrh3W1B.js → mail-BsJHI-HR.js} +1 -1
- package/assets/{mail-rkmoOhw6.js → mail-D-aqvnAV.js} +1 -1
- package/assets/{map-pin-Dj0bt5rD.js → map-pin-Ce4GDfEG.js} +1 -1
- package/assets/{menu-BPjTyRCV.js → menu-BArcsj2W.js} +1 -1
- package/assets/{new-QJ-4fc5u.js → new-BL90Nzox.js} +1 -1
- package/assets/onboarding-FbwBaDPa.js +1 -0
- package/assets/{onboarding-completion-T025R-la.js → onboarding-completion-TUKutwdF.js} +1 -1
- package/assets/outbox-CIHThZYR.js +1 -0
- package/assets/{pencil-P-_8cd4g.js → pencil-1JYzJHs6.js} +1 -1
- package/assets/{popover-menu-zNHNSI3_.js → popover-menu-CYnzssTn.js} +1 -1
- package/assets/{refresh-cw-Cs4y2h9j.js → refresh-cw-CHIqMCsD.js} +1 -1
- package/assets/{rich-text-z3u6nrPZ.js → rich-text-CcpvmsIx.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-BFfWZ_zK.js → rich-text-spellcheck-worker-provider-BokxuvSJ.js} +1 -1
- package/assets/{rotate-ccw-D5sQyGgW.js → rotate-ccw-DrwQWZIj.js} +1 -1
- package/assets/{roving-focus-Ct_H2vAt.js → roving-focus-CSMoBL7q.js} +1 -1
- package/assets/{row-actions-D0c6yFtF.js → row-actions-CBrfwR1P.js} +1 -1
- package/assets/{search-mirror-5oaQJJ5X.js → search-mirror-DakTDr1u.js} +1 -1
- package/assets/{search-token-index-C-vkr8-Q.js → search-token-index-BD1aCUN9.js} +1 -1
- package/assets/{sections-6u7X6kpS.js → sections-xANZ1prl.js} +1 -1
- package/assets/{senders-DVWtV0Jn.js → senders-COQJLqDg.js} +1 -1
- package/assets/settings-2fml9DSB.js +1 -0
- package/assets/{settings-screen-CI1LKAj1.js → settings-screen-L0tkB-L_.js} +1 -1
- package/assets/{shield-check-8fB_o9g_.js → shield-check-C7JDNA1H.js} +1 -1
- package/assets/{suggested-vips-eHBzizh2.js → suggested-vips-C1OG9ctz.js} +1 -1
- package/assets/{useCalendarData-D3lnaVPT.js → useCalendarData-De8gbMDg.js} +1 -1
- package/assets/{useCalendarEvents-BWtbpeou.js → useCalendarEvents-WBHcLacn.js} +1 -1
- package/assets/{useCalendarWrites-DaYZtUht.js → useCalendarWrites-Bi5bp2oE.js} +1 -1
- package/assets/{useCalendars-B_XYS-rT.js → useCalendars-DQmBBR_k.js} +1 -1
- package/assets/{useDebouncedValue-B64vGBCU.js → useDebouncedValue-CLcae_Uv.js} +1 -1
- package/assets/{useFilters-BJY1xkwL.js → useFilters-I332JVED.js} +1 -1
- package/assets/{useLabels-Cv6tv63h.js → useLabels-BadxFJhU.js} +1 -1
- package/assets/{useLayoutTier-C9LMS8G8.js → useLayoutTier-Btf8_3PY.js} +1 -1
- package/assets/{useMessageBodyContent-Booydip_.js → useMessageBodyContent-DybkayUd.js} +1 -1
- package/assets/{useQueries-DgS8Aq9E.js → useQueries-C55zhxDR.js} +1 -1
- package/assets/{useRefreshControl-CqC7eCqT.js → useRefreshControl-CFLcbZ8X.js} +1 -1
- package/assets/{useResultFolderIndex-BSqeSFyx.js → useResultFolderIndex-C0Mr6zLW.js} +1 -1
- package/assets/{useSearchTokenContext-B2wE1jWs.js → useSearchTokenContext-3q4TlqIx.js} +1 -1
- package/assets/{useSemanticSearch-CD7vKuwt.js → useSemanticSearch-DE6aOTK5.js} +1 -1
- package/assets/{useSignature-CrtRyC6V.js → useSignature-B3hy98Fk.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/OnboardingWizard-CLrbNDe0.js +0 -1
- package/assets/_calendarObjectId-CFtpT0Ix.js +0 -1
- package/assets/_mailboxId-D_qVBgnH.js +0 -1
- package/assets/_messageId-B2tb6nqD.js +0 -1
- package/assets/_messageId-CTfvCQ05.js +0 -1
- package/assets/_messageId-Dwnupv2j.js +0 -1
- package/assets/_outboxMessageId-B9NwJpUk.js +0 -1
- package/assets/_recurrenceId-BWuZ3_N-.js +0 -1
- package/assets/_threadId-DHfmKFv7.js +0 -1
- package/assets/_threadId-FxPMiWcj.js +0 -1
- package/assets/_threadId-sl_d6CQV.js +0 -1
- package/assets/brief-CxKKKuQk.js +0 -1
- package/assets/chevron-left-Bs8EPTJ8.js +0 -1
- package/assets/compose._-_outboxMessageId_-B_6khNUI.js +0 -1
- package/assets/compose._-_outboxMessageId_-D1BmLZaX.js +0 -1
- package/assets/compose._-_outboxMessageId_-D5qcsG7o.js +0 -1
- package/assets/compose._-_outboxMessageId_-DwAGbQVG.js +0 -1
- package/assets/credential-steps-DmXpJwCH.js +0 -1
- package/assets/flagged-CMBnwLQz.js +0 -1
- package/assets/index-BOWx-sgS.js +0 -1
- package/assets/index-BjYWtyXb.js +0 -1
- package/assets/index-CTfvCQ05.js +0 -1
- package/assets/index-D_5qJImV.js +0 -1
- package/assets/index-Dwnupv2j.js +0 -1
- package/assets/index-DxfAQwfN.js +0 -1
- package/assets/index-KnIZpIn3.js +0 -1
- package/assets/index-QCi5bf-f.js +0 -1
- package/assets/index-wMLxaOh9.js +0 -1
- package/assets/onboarding-YoCVBCb1.js +0 -1
- package/assets/outbox-yKrqS1SB.js +0 -1
- package/assets/settings-0zdwOzw2.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as r,r as s,b5 as t}from"./index-
|
|
1
|
+
import{K as r,r as s,b5 as t}from"./index-BQ-Iu5Zu.js";import{u as m}from"./useQueries-C55zhxDR.js";const a=i=>({items:i.map(e=>e.data?.items??[]),isPending:i.some(e=>e.isPending),error:i.find(e=>e.error)?.error??null});function u(i){const e=m({queries:i.map(o=>({...r({path:{accountId:o.accountId}}),staleTime:1/0})),combine:a});return{index:s.useMemo(()=>t(i.map((o,n)=>({folderAppointments:o.folderAppointments,mailboxes:e.items[n]??[]}))),[i,e]),isPending:e.isPending,error:e.error}}export{u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as h,j as a,cu as Y,t as b,I as X,h as Z,at as J,i as ee,av as te,cK as se,bR as re,ab as ne,a0 as ae,X as oe,d3 as _,d4 as I,C as ie,co as ce}from"./index-
|
|
1
|
+
import{r as h,j as a,cu as Y,t as b,I as X,h as Z,at as J,i as ee,av as te,cK as se,bR as re,ab as ne,a0 as ae,X as oe,d3 as _,d4 as I,C as ie,co as ce}from"./index-BQ-Iu5Zu.js";import{K as A}from"./kbd-CxeUqHU0.js";import{B as le,b as de}from"./useMessageBodyContent-DybkayUd.js";import{i as ue}from"./search-scope-B5-OK3Cq.js";const me='"Geist Variable", "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif',k={light:{fg:"oklch(0.3 0.025 235)",canvas:"oklch(0.96 0.015 90)",accent:"oklch(0.55 0.14 150)"},dark:{fg:"oklch(0.88 0.02 90)",canvas:"oklch(0.22 0.025 220)",accent:"oklch(0.78 0.16 150)"}},fe={background:!1,spacing:!1},he="16px",ge=()=>`html{padding:0}body{padding:${he};box-sizing:border-box}`,pe=()=>"html{overflow:hidden}body{overflow-x:auto}",be=/prefers-color-scheme\s*:\s*dark|color-scheme\s*:\s*[^;}"']*\bdark\b/i,ye='<meta name="viewport" content="width=device-width, initial-scale=1">',xe=e=>{const t=e?k.dark:k.light;return`
|
|
2
2
|
/* Plain-email base: UI font-stack + theme-aware colors (#424) */
|
|
3
3
|
html, body {
|
|
4
4
|
font-family: ${me};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as L,at as M,i as k,E as I,F as E,cG as A,ej as R,r as v,dv as j,j as p,ek as h,el as w,em as D,C as Q,co as _,c as N,dQ as z,d3 as O}from"./index-
|
|
1
|
+
import{h as L,at as M,i as k,E as I,F as E,cG as A,ej as R,r as v,dv as j,j as p,ek as h,el as w,em as D,C as Q,co as _,c as N,dQ as z,d3 as O}from"./index-BQ-Iu5Zu.js";import{c as U}from"./popover-menu-CYnzssTn.js";import{aj as q}from"./MailListHeader-CEbfe9MG.js";import{a as G}from"./useLabels-BadxFJhU.js";import{n as P}from"./search-query-Cr_ZXBCp.js";import{b as B}from"./search-scope-B5-OK3Cq.js";import{u as F,p as H}from"./useSearchTokenContext-3q4TlqIx.js";const ne=e=>{const t=new Set;for(const s of e)s&&t.add(s);return t.size>1?{accountId:void 0,restriction:"spansAccounts",moveDisabledHint:"Move only works within one account — clear selection or pick messages from a single account"}:{accountId:t.size===1?[...t][0]:void 0,restriction:void 0,moveDisabledHint:void 0}},K=e=>{const{mailboxId:t,messages:s}=e,n=L(),{pushError:l}=M(),{mutateAsync:c,isPending:a}=k({...R(),onError:(r,u)=>{l({title:u.body.action==="Remove"?"Couldn't remove label":"Couldn't apply label",detail:A(r),error:r})},onSettled:(r,u,d)=>{I(n,E(q(d.body.messageIds??[],s??[],t)))}});return{applyLabel:v.useCallback((r,u,d)=>{r.length!==0&&j(r,m=>c({body:{messageIds:m,labelId:u,action:d}}))},[c]),isPending:a}};function re({accountId:e,mailboxId:t,messageIds:s}){const{labels:n}=G(e),{applyLabel:l}=K({mailboxId:t}),c=v.useMemo(()=>n.map(a=>({key:a.labelId,label:a.name,icon:p.jsx("span",{className:`size-2.5 rounded-full ${w(a.color)?h[a.color]:h.Default}`}),onSelect:()=>l(s,a.labelId,"Apply")})),[n,s,l]);return c.length===0?null:p.jsx(U,{triggerLabel:"Apply label to selected messages",triggerIcon:p.jsx(D,{className:"size-4 text-fg-subtle"}),triggerText:"Apply label",items:c,align:"start",nested:!0,touch:!1,triggerClassName:"min-h-11 w-full justify-start gap-3 px-4 py-2.5 text-sm font-normal text-fg"})}const V=3,ie=({hasSearchQuery:e,freeText:t,residualTokenCount:s})=>{if(!e||s>0)return!1;const n=t.trim();return n.length===0||n.length>=V},ce=e=>e===void 0?{kind:"unknown"}:{kind:"exact",value:e},Y=20,$=new Set(Object.values(O)),J=e=>e!==void 0&&$.has(e)?e:void 0,W=e=>{if(e.some(t=>t.type==="isUnread"))return!1;if(e.some(t=>t.type==="isRead"))return!0};function le({mailboxId:e,filterCategory:t}={}){const{searchQuery:s}=Q(),n=F(),l=_(),c=P(s),{freeText:a,tokens:i}=H(c,n),r=a.length>0,u=i.find(o=>o.type==="category"),d=J(t)??u?.category,m=i.some(o=>o.type==="hasAttachment")?!0:void 0,f=i.some(o=>o.type==="isStarred")?!0:void 0,y=W(i),b=i.find(o=>o.type==="after"),g=i.find(o=>o.type==="before"),x=i.find(o=>o.type==="in"),S=B({browsed:l,callerMailboxId:e,inTokenMailboxId:x?.mailboxId}),{data:T,isLoading:C}=N({...z({query:{query:a,mailboxId:S,limit:Y,...d!==void 0?{category:d}:{},...m!==void 0?{hasAttachment:m}:{},...f!==void 0?{hasStars:f}:{},...y!==void 0?{isRead:y}:{},...b?{sentDateFrom:b.epochSeconds}:{},...g?{sentDateTo:g.epochSeconds}:{}}}),enabled:r,staleTime:6e4});return{hits:T?.items??[],isLoading:r&&C}}export{re as L,ne as r,ie as s,ce as t,le as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as g,at as p,c as f,d as m,r,i as y,av as T,o as E,l as d}from"./index-
|
|
1
|
+
import{h as g,at as p,c as f,d as m,r,i as y,av as T,o as E,l as d}from"./index-BQ-Iu5Zu.js";const i={html:"",plainText:""},x=e=>{const u=g(),{pushError:o}=p(),{data:n}=f({...m(),staleTime:1/0}),l=r.useMemo(()=>{if(!e||!n)return i;const t=n.accounts.find(a=>a.accountId===e);return t?{html:t.signatureHtml??"",plainText:t.signaturePlainText??""}:i},[e,n]),s=y({...d(),onSuccess:()=>{u.invalidateQueries({queryKey:E()})},onError:t=>{o(T("Couldn't save signature","The signature wasn't saved.",t))}}),c=r.useCallback((t,a)=>{e&&s.mutate({path:{accountId:e},body:{signatureHtml:t,signaturePlainText:a}})},[e,s]);return{signature:l,setSignature:c,isSaving:s.isPending}};export{x as u};
|
package/index.html
CHANGED
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
} catch (_) {}
|
|
39
39
|
})();
|
|
40
40
|
</script>
|
|
41
|
-
<script type="module" crossorigin src="/assets/index-
|
|
41
|
+
<script type="module" crossorigin src="/assets/index-BQ-Iu5Zu.js"></script>
|
|
42
42
|
<link rel="stylesheet" crossorigin href="/assets/index-CzAIxx9Z.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as ie,r as t,j as e,h as ce,i as Z,o as le,ax as de,c as q,aP as K,d as ee,f as k,L as _,B as H,aQ as z,ay as ue,az as Q,n as me,I as pe}from"./index-DwhL5hnf.js";import{K as he}from"./kbd-BtXVxwvP.js";import{c as fe,d as xe,s as U,W as L,C as D,g as ye,e as X,f as ge,h as ve,b as Se,R as be,a as W,S as je}from"./credential-steps-DmXpJwCH.js";import{c as we}from"./account-form-helpers-DhckT_PN.js";import{M as Ce}from"./mail-Ccrh3W1B.js";import{F as ke}from"./file-json-B-S5BJx7.js";const $=ie("AtSign",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]),te=[{id:"icloud",label:"iCloud",username:"full-email",imap:{host:"imap.mail.me.com",port:993,security:"tls"},smtp:{host:"smtp.mail.me.com",port:587,security:"starttls"},passwordHelp:{text:"iCloud requires an app-specific password, not your Apple ID password. Generate one under Sign-In & Security → App-Specific Passwords.",url:"https://support.apple.com/en-us/102654"}},{id:"yahoo",label:"Yahoo",username:"full-email",imap:{host:"imap.mail.yahoo.com",port:993,security:"tls"},smtp:{host:"smtp.mail.yahoo.com",port:465,security:"tls"},passwordHelp:{text:"Yahoo requires an app password, not your login password. Generate one under Account Security.",url:"https://help.yahoo.com/kb/generate-manage-third-party-passwords-sln15241.html"}},{id:"aol",label:"AOL",username:"full-email",imap:{host:"imap.aol.com",port:993,security:"tls"},smtp:{host:"smtp.aol.com",port:465,security:"tls"},passwordHelp:{text:"AOL requires an app password, not your login password. Generate one under Account Security.",url:"https://login.aol.com/account/security"}},{id:"fastmail",label:"Fastmail",username:"full-email",imap:{host:"imap.fastmail.com",port:993,security:"tls"},smtp:{host:"smtp.fastmail.com",port:465,security:"tls"},passwordHelp:{text:"Fastmail requires an app password, not your login password. Create one under Settings → Privacy & Security → App passwords.",url:"https://www.fastmail.help/hc/en-us/articles/360058752854"}}];function Y(a){return te.find(d=>d.id===a)}const Ee={"icloud.com":"icloud","me.com":"icloud","mac.com":"icloud","yahoo.com":"yahoo","yahoo.co.uk":"yahoo","ymail.com":"yahoo","aol.com":"aol","fastmail.com":"fastmail","fastmail.fm":"fastmail"};function Ne(a){const d=a.indexOf("@");if(d===-1)return"";const c=a.slice(d+1).toLowerCase();return Ee[c]??""}const T=["Connector","Address","Servers","Credentials","Test","Sync"],A={connector:0,address:1,servers:2,credentials:3,test:4,sync:5},V={host:"",port:993,security:"tls"},J={host:"",port:587,security:"starttls"};function Pe({onStart:a,onImportConfig:d}){return t.useEffect(()=>{const c=p=>{p.key==="Enter"&&a()};return window.addEventListener("keydown",c),()=>window.removeEventListener("keydown",c)},[a]),e.jsx(L,{steps:T,activeStep:0,hideSteps:!0,title:"Welcome to Remit",subtitle:d?"Set up your first account, or bring the settings from another Reader.":"One inbox for all your mail, with context about every message.",footer:e.jsxs(e.Fragment,{children:[d?e.jsx(k,{variant:"secondary",icon:e.jsx(ke,{className:"size-4"}),onClick:d,children:"Import a config file"}):e.jsxs("span",{className:"text-2xs text-fg-subtle",children:[e.jsx(he,{children:"Enter"})," to continue"]}),e.jsx(k,{variant:"primary",onClick:a,children:"Add your first account"})]}),children:e.jsxs("div",{className:"flex flex-col items-start py-5",children:[e.jsx("span",{className:"flex size-14 items-center justify-center rounded-md bg-accent-soft",children:e.jsx(Ce,{className:"size-7 text-accent"})}),e.jsx("p",{className:"mt-5 max-w-sm text-sm leading-relaxed text-fg-muted",children:"Remit syncs your existing mailboxes and tells you who is really writing to you — sender history, authenticity checks, and similar messages, right next to every email."}),d&&e.jsx("p",{className:"mt-3 max-w-sm text-sm leading-relaxed text-fg-muted",children:"A config file carries your accounts, folder roles, rules, flagged senders and appearance from another Reader. It never carries passwords, so you sign in again here."})]})})}function Te({onContinue:a,onMicrosoft:d,onBack:c,showBack:p}){const[h,o]=t.useState("imap");t.useEffect(()=>{const y=i=>{i.key==="Enter"&&(h==="microsoft"?d():a()),i.key==="Escape"&&c()};return window.addEventListener("keydown",y),()=>window.removeEventListener("keydown",y)},[a,d,c,h]);const n=()=>{h==="microsoft"?d():a()};return e.jsx(L,{steps:T,activeStep:A.connector,title:"How does this account connect?",subtitle:"Choose a sign-in method. IMAP works with any provider.",footer:e.jsxs(e.Fragment,{children:[p?e.jsx(k,{variant:"ghost",onClick:c,children:"Back"}):e.jsx("span",{}),e.jsx(k,{variant:"primary",onClick:n,children:h==="microsoft"?"Continue with Microsoft":"Continue with IMAP"})]}),children:e.jsxs("div",{className:"grid grid-cols-1 gap-3 sm:grid-cols-3",children:[e.jsx(W,{name:"IMAP / SMTP",description:"Any mail provider — Fastmail, iCloud, your own server.",icon:e.jsx(je,{className:"size-5"}),selected:h==="imap",onSelect:()=>o("imap")}),e.jsx(W,{name:"Gmail",description:"Sign in with Google. No app passwords.",icon:e.jsx($,{className:"size-5"}),comingSoon:!0}),e.jsx(W,{name:"Outlook / Microsoft 365",description:"Sign in with Microsoft. Works with Outlook.com and work accounts.",icon:e.jsx(pe,{className:"size-5"}),selected:h==="microsoft",onSelect:()=>o("microsoft")})]})})}function Ae({onBack:a,onConnected:d}){const[c,p]=t.useState(""),[h,o]=t.useState(null),[n,y]=t.useState(!1),[i,g]=t.useState(!1),v=t.useRef(!0);t.useEffect(()=>(v.current=!0,()=>{v.current=!1}),[]);const E=t.useRef(new Set),{refetch:w}=q(ee()),j=Se(r=>{if(g(!1),r==="stalled"){y(!1),o(be);return}w().then(({data:u,isError:N})=>{if(!v.current)return;if(N||!u){o("Couldn't check whether the sign-in finished. Open Settings › Accounts to see whether the account is connected.");return}o(null);const C=u.accounts.find(P=>!E.current.has(P.accountId));C&&d(C.accountId)})}),S=Z({...me(),onSuccess:r=>{v.current&&(j(),y(!0),window.location.assign(r.authorizationUrl))},onError:r=>{g(!1),o(r instanceof Error?r.message:"Failed to start sign-in")}}),l=i||S.isPending,f=()=>{l||(o(null),g(!0),w().then(({data:r,isError:u})=>{if(v.current){if(u||!r){g(!1),o("Couldn't read this instance's accounts, so sign-in can't be tracked. Check your connection and try again.");return}E.current=new Set(r.accounts.map(N=>N.accountId)),S.mutate({body:{email:c.trim()||void 0}})}}))},x=t.useRef(f);return x.current=f,t.useEffect(()=>{const r=u=>{u.key==="Enter"&&x.current(),u.key==="Escape"&&a()};return window.addEventListener("keydown",r),()=>window.removeEventListener("keydown",r)},[a]),e.jsx(L,{steps:T,activeStep:A.connector,title:"Sign in with Microsoft",subtitle:"You'll be redirected to Microsoft to sign in securely.",footer:e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"ghost",onClick:a,children:"Back"}),e.jsx(k,{variant:"primary",onClick:f,disabled:l,icon:l?e.jsx(_,{className:"size-4 animate-spin"}):void 0,children:l?"Redirecting…":n?"Start over":"Sign in with Microsoft"})]}),children:e.jsxs("div",{className:"space-y-3",children:[e.jsxs("div",{children:[e.jsx(z,{htmlFor:"microsoft-email",children:"Email address (optional)"}),e.jsx(Q,{id:"microsoft-email",icon:e.jsx($,{className:"size-4"}),placeholder:"you@outlook.com",value:c,onChange:r=>p(r.target.value),type:"email",autoComplete:"email"}),e.jsx("p",{className:"mt-1.5 text-2xs text-fg-subtle",children:"Pre-fills the Microsoft sign-in form. Leave blank to choose on the Microsoft page."})]}),n&&e.jsx(H,{tone:"info",children:"Waiting for Microsoft. Finish signing in — this window carries on the moment the account is connected, wherever you finished."}),h&&e.jsx(H,{tone:"danger",children:h})]})})}function Ie({initialEmail:a,initialDisplayName:d,onContinue:c,onBack:p}){const[h,o]=t.useState(a),[n,y]=t.useState(d),[i,g]=t.useState(!1),[v,E]=t.useState(""),[w,j]=t.useState(null),S=t.useCallback(async()=>{const l=h.trim();if(!l.includes("@")||!l.includes(".")){j("Enter a valid email address.");return}j(null),g(!0),E(ge(l));try{const f=await ve(l);c(l,n.trim(),f)}finally{g(!1)}},[h,n,c]);return t.useEffect(()=>{const l=f=>{f.key==="Enter"&&!i&&S(),f.key==="Escape"&&p()};return window.addEventListener("keydown",l),()=>window.removeEventListener("keydown",l)},[S,i,p]),e.jsx(L,{steps:T,activeStep:A.address,title:"What's the email address?",subtitle:"We'll detect the server settings for you.",footer:e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"ghost",onClick:p,children:"Back"}),e.jsx(k,{variant:"primary",disabled:i,onClick:()=>{S()},children:"Continue"})]}),children:e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsx(z,{htmlFor:"onboarding-email",children:"Email address"}),e.jsx(Q,{id:"onboarding-email",icon:e.jsx($,{className:"size-4"}),placeholder:"you@example.com",value:h,onChange:l=>{o(l.target.value),j(null)},type:"email",autoComplete:"email"})]}),e.jsxs("div",{children:[e.jsx(z,{htmlFor:"onboarding-display-name",children:"Display name (optional)"}),e.jsx(Q,{id:"onboarding-display-name",placeholder:"Alice",value:n,onChange:l=>y(l.target.value)}),e.jsx("p",{className:"mt-1.5 text-2xs text-fg-subtle",children:"What to call this account in Remit. Leave blank to use a name derived from the address."})]}),i&&e.jsxs("div",{className:"mt-3 flex items-center gap-2 text-xs text-fg-muted",children:[e.jsx(_,{className:"size-3.5 animate-spin text-accent"}),v]}),w&&!i&&e.jsx("div",{className:"mt-3",children:e.jsx(H,{tone:"danger",children:w})})]})})}function Me({email:a,imapConfig:d,smtpConfig:c,discovered:p,onContinue:h,onBack:o,onChange:n}){const[y,i]=t.useState(d),[g,v]=t.useState(c),[E,w]=t.useState(()=>Ne(a)),[j,S]=t.useState(!1),[l,f]=t.useState(null),x=Y(E),r=x!==void 0&&!j,u=t.useCallback(m=>{w(m),S(!1),f(null);const s=Y(m);s&&(i({host:s.imap.host,port:s.imap.port,security:s.imap.security}),v({host:s.smtp.host,port:s.smtp.port,security:s.smtp.security}))},[]);t.useEffect(()=>{n(y,g)},[y,g,n]);const N=y.host.trim()!=="",C=t.useCallback(()=>{if(!N){f("Enter the IMAP host.");return}f(null),h()},[N,h]);t.useEffect(()=>{const m=s=>{s.key==="Enter"&&C(),s.key==="Escape"&&o()};return window.addEventListener("keydown",m),()=>window.removeEventListener("keydown",m)},[C,o]);const P=a.split("@")[1]??"your domain",F=x?"Pick your provider to fill in the right settings — or choose Custom to enter them by hand.":p?"Found via autodiscovery — adjust anything that looks off.":`We couldn't detect settings for ${P} — enter them manually.`,I=r?{label:"preset",tone:"neutral"}:!x&&p?{label:"detected",tone:"positive"}:void 0,M=x?.passwordHelp.url??ye(a);return e.jsx(L,{steps:T,activeStep:A.servers,title:"Confirm server settings",subtitle:F,footer:e.jsxs(e.Fragment,{children:[e.jsx(k,{variant:"ghost",onClick:o,children:"Back"}),e.jsx(k,{variant:"primary",onClick:C,children:"Continue"})]}),children:e.jsxs("div",{className:"space-y-5",children:[l&&e.jsx(H,{tone:"danger",children:l}),e.jsxs("div",{children:[e.jsx(z,{htmlFor:"provider-select",children:"Provider"}),e.jsxs(ue,{id:"provider-select",value:E,onChange:m=>u(m.target.value),children:[e.jsx("option",{value:"",children:"Custom / other"}),te.map(m=>e.jsx("option",{value:m.id,children:m.label},m.id))]}),x&&e.jsx("p",{className:"mt-1 text-2xs text-fg-subtle",children:r?e.jsxs(e.Fragment,{children:["Server settings are pre-filled for ",x.label," and locked."," ",e.jsx("button",{type:"button",className:"text-accent underline",onClick:()=>S(!0),children:"Advanced"})," ","lets you edit them by hand."]}):e.jsxs(e.Fragment,{children:["Editing ",x.label,"'s settings by hand."]})})]}),e.jsx(X,{legend:"IMAP — incoming",badge:I,readOnly:r,host:y.host,port:String(y.port),security:y.security,hostPlaceholder:"imap.example.com",portPlaceholder:"993",onHostChange:m=>{i(s=>({...s,host:m})),f(null)},onPortChange:m=>i(s=>({...s,port:Number(m)})),onSecurityChange:m=>i(s=>({...s,security:m}))}),e.jsx("p",{className:"text-2xs text-fg-subtle",children:"Sending (SMTP) is optional — leave it blank to set up a receive-only account and add sending later in Settings."}),e.jsx(X,{legend:"SMTP — outgoing (optional)",badge:I,readOnly:r,host:g.host,port:String(g.port),security:g.security,hostPlaceholder:"smtp.example.com",portPlaceholder:"587",onHostChange:m=>{v(s=>({...s,host:m})),f(null)},onPortChange:m=>v(s=>({...s,port:Number(m)})),onSecurityChange:m=>v(s=>({...s,security:m}))}),x&&e.jsxs("p",{className:"text-2xs text-fg-subtle",children:[x.passwordHelp.text," ",M&&e.jsx("a",{href:M,target:"_blank",rel:"noopener noreferrer",className:"text-accent underline",children:"Get an app password"})]})]})})}const Le=2e4;function Fe({email:a,displayName:d,imapConfig:c,smtpConfig:p,username:h,password:o,onGoToInbox:n}){const y=ce(),[i,g]=t.useState(null),[v,E]=t.useState(null),w=t.useRef(!1),j=U(c.security),S=U(p.security),l=Z({...de(),onSuccess:b=>{g(b.accountId),y.invalidateQueries({queryKey:le()})},onError:b=>{E(b instanceof Error?b.message:"Failed to create account")}});t.useEffect(()=>{if(w.current)return;w.current=!0;const b=p.host.trim()!=="",R=we({imapHost:c.host,smtpHost:p.host,smtpPort:p.port}),O=b?R??{smtpHost:p.host,smtpPort:p.port,smtpTls:S.tls,smtpStartTls:S.startTls}:null;l.mutate({body:{email:a,displayName:d||void 0,username:h!==a?h:void 0,password:o,imapHost:c.host,imapPort:c.port,imapTls:j.tls,imapStartTls:j.startTls,smtpHost:O?.smtpHost||void 0,smtpPort:O?.smtpPort||void 0,smtpTls:O?.smtpTls??!1,smtpStartTls:O?.smtpStartTls??!1}})},[]);const{data:f,isError:x}=q({...K({path:{accountId:i??""}}),enabled:!!i,refetchInterval:b=>{const R=b.state.data?.syncPhase;return R==="complete"||R==="error"?!1:2e3}}),r=f?.syncPhase==="error",{data:u}=q({...ee(),enabled:!!i&&r}),N=u?.accounts.find(b=>b.accountId===i)?.lastError,C=f?.mailboxes.find(b=>b.fullPath==="INBOX"||b.fullPath==="Inbox"),P=f?.mailboxCountTotal??0,F=f?.mailboxCountSynced??0,I=C?.messagesTotal??0,M=C?.messagesSynced??0,m=I>0?M/I:0,s=f?.syncPhase,se=r?"failed":s==="idle"||s===void 0||s==="discovering_mailboxes"?"running":P>0?"ok":"running",G=r?"failed":!s||s==="idle"||s==="discovering_mailboxes"?"pending":s==="syncing_inbox"||s==="syncing_others"?"running":"ok",B=r?"failed":!s||s==="idle"||s==="discovering_mailboxes"||s==="syncing_inbox"?"pending":s==="syncing_others"?"running":"ok",ne=M>0||C?.phase==="complete"||s==="complete"||r,[ae,oe]=t.useState(!1);t.useEffect(()=>{if(!i)return;const b=setTimeout(()=>oe(!0),Le);return()=>clearTimeout(b)},[i]);const re=!!i&&(ne||x||ae);return v?e.jsx(L,{steps:T,activeStep:A.sync,title:"Couldn't create account",subtitle:"Something went wrong saving your account.",footer:e.jsxs(e.Fragment,{children:[e.jsx("span",{}),e.jsx(k,{variant:"primary",onClick:()=>{w.current=!1,E(null),l.mutate({body:{email:a,displayName:d||void 0,username:h!==a?h:void 0,password:o,imapHost:c.host,imapPort:c.port,imapTls:j.tls,imapStartTls:j.startTls,smtpHost:p.host||void 0,smtpPort:p.port||void 0,smtpTls:S.tls,smtpStartTls:S.startTls}})},children:"Retry"})]}),children:e.jsx("code",{className:"block rounded bg-surface-sunken px-2.5 py-2 text-2xs text-fg-muted",children:v})}):e.jsx(L,{steps:T,activeStep:A.sync,title:`Syncing ${a}`,subtitle:"Newest mail first — you can start reading right away.",footer:e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"text-2xs text-fg-subtle",children:"Sync continues in the background"}),re?e.jsx(k,{variant:"primary",onClick:()=>i&&n(i),children:"Go to inbox"}):e.jsx(k,{variant:"primary",disabled:!0,icon:e.jsx(_,{className:"size-3.5 animate-spin"}),children:"Getting your mail…"})]}),children:l.isPending?e.jsxs("div",{className:"flex items-center gap-2 py-4 text-sm text-fg-muted",children:[e.jsx(_,{className:"size-4 animate-spin text-accent"}),"Creating your account…"]}):e.jsxs("div",{className:"space-y-3",children:[I>0&&e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-baseline justify-between text-xs",children:[e.jsx("span",{className:"font-medium text-fg",children:"INBOX"}),e.jsxs("span",{className:"text-fg-subtle tabular-nums",children:[M.toLocaleString()," / ",I.toLocaleString()," ","messages"]})]}),e.jsx("div",{className:"mt-1 h-1.5 overflow-hidden rounded-full bg-surface-sunken",children:e.jsx("div",{className:"h-full rounded-full bg-accent transition-all duration-500",style:{width:`${Math.max(2,m*100)}%`}})})]}),e.jsxs("div",{className:"divide-y divide-line",children:[e.jsx(D,{label:"Mailboxes discovered",detail:P>0?`${P} mailbox${P===1?"":"es"} found`:"Discovering…",state:se}),e.jsx(D,{label:"INBOX",detail:G==="ok"?`${M.toLocaleString()} messages synced`:G==="running"?"Syncing newest first…":"Queued",state:G}),F>1||s==="syncing_others"||s==="complete"?e.jsx(D,{label:"Other mailboxes",detail:B==="ok"?`${F-1} mailboxes synced`:B==="running"?"Syncing…":"Queued",state:B}):null]}),r&&e.jsxs("div",{className:"mt-2 space-y-2",children:[e.jsxs("p",{className:"text-xs text-danger",children:["Sync stalled. The account is still active —"," ",e.jsx("button",{type:"button",className:"underline",onClick:()=>{y.invalidateQueries({queryKey:K({path:{accountId:i??""}}).queryKey})},children:"retry"})]}),N&&e.jsx("code",{className:"block rounded bg-surface-sunken px-2.5 py-2 text-2xs text-fg-muted",children:N})]})]})})}function Be({skipWelcome:a=!1,onComplete:d,onCancel:c,onImportConfig:p}){const[h,o]=t.useState(a?"connector":"welcome"),[n,y]=t.useState({email:"",displayName:"",imapConfig:V,smtpConfig:J,username:"",password:"",discoveryResult:null,discovered:!1,createdAccountId:null}),i=t.useCallback(()=>o("connector"),[]),g=t.useCallback(()=>o("address"),[]),v=t.useCallback(()=>o("microsoft-email"),[]),E=t.useCallback(()=>{a?c?.():o("welcome")},[a,c]),w=t.useCallback((x,r,u)=>{let N=V,C=J,P=!1;u&&(P=u.source!=="heuristic",N={host:u.imap.host,port:u.imap.port,security:u.imap.security},C={host:u.smtp.host,port:u.smtp.port,security:u.smtp.security}),y(F=>({...F,email:x,displayName:r,imapConfig:N,smtpConfig:C,discoveryResult:u,discovered:P,username:x})),o("servers")},[]),j=t.useCallback((x,r)=>{y(u=>({...u,imapConfig:x,smtpConfig:r}))},[]),S=t.useCallback((x,r)=>{y(u=>({...u,username:x,password:r}))},[]),l=t.useCallback(()=>o("sync"),[]),f=t.useCallback(x=>{d(x)},[d]);switch(h){case"welcome":return e.jsx(Pe,{onStart:i,onImportConfig:p});case"connector":return e.jsx(Te,{onContinue:g,onMicrosoft:v,onBack:E,showBack:!a});case"microsoft-email":return e.jsx(Ae,{onBack:()=>o("connector"),onConnected:f});case"address":return e.jsx(Ie,{initialEmail:n.email,initialDisplayName:n.displayName,onContinue:w,onBack:()=>o("connector")});case"servers":return e.jsx(Me,{email:n.email,imapConfig:n.imapConfig,smtpConfig:n.smtpConfig,discovered:n.discovered,onContinue:()=>o("credentials"),onBack:()=>o("address"),onChange:j});case"credentials":return e.jsx(xe,{steps:T,activeStep:A.credentials,title:`Sign in to ${n.email.split("@")[1]||"your mail server"}`,subtitle:"Many providers require an app password instead of your normal one.",email:n.email,username:n.username,password:n.password,onContinue:()=>o("test"),onBack:()=>o("servers"),onChange:S});case"test":return e.jsx(fe,{steps:T,activeStep:A.test,email:n.email,imapConfig:n.imapConfig,smtpConfig:n.smtpConfig,username:n.username,password:n.password,onSuccess:l,onBackToCredentials:()=>o("credentials"),onBackToServers:()=>o("servers")});case"sync":return e.jsx(Fe,{email:n.email,displayName:n.displayName,imapConfig:n.imapConfig,smtpConfig:n.smtpConfig,username:n.username,password:n.password,onGoToInbox:f})}}export{Be as O,te as P,Y as g};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DwhL5hnf.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aj as m,j as o,O as p}from"./index-DwhL5hnf.js";import{a}from"./MailShell-VD8T-esR.js";import{M as r}from"./MailboxPane-uT1N9BhB.js";import{a as e}from"./search-token-index-C-vkr8-Q.js";import{u as s}from"./search-mirror-5oaQJJ5X.js";import"./FullCompose-DZFqFx7R.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useQueries-DgS8Aq9E.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./EmptyState-BKE2sE6S.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./NavMenuButton-Dt1LP3xE.js";import"./useLabels-Cv6tv63h.js";import"./useSemanticSearch-CD7vKuwt.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-COGW8Xhr.js";import"./circle-help-B7f57nO2.js";import"./circle-check-BW5VvBID.js";function io(){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{io as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-DwhL5hnf.js";import{B as o}from"./BriefPane-Kq7MoJAy.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useSemanticSearch-CD7vKuwt.js";import"./useLabels-Cv6tv63h.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function Q(){return r.jsx(o.Reading,{})}export{Q as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{F as r}from"./FlaggedPane-KpOQPoF4.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./refresh-cw-Cs4y2h9j.js";import"./wizard-selection-DxUM65kM.js";function K(){return o.jsx(r.Reading,{})}export{K as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{M as r}from"./MailboxPane-uT1N9BhB.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useQueries-DgS8Aq9E.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./NavMenuButton-Dt1LP3xE.js";import"./useLabels-Cv6tv63h.js";import"./useSemanticSearch-CD7vKuwt.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-COGW8Xhr.js";import"./circle-help-B7f57nO2.js";import"./circle-check-BW5VvBID.js";function V(){return o.jsx(r.Reading,{})}export{V as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{O as t}from"./OutboxPane-BgicoJNx.js";import"./roving-focus-Ct_H2vAt.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-DB4LtNLR.js";import"./clock-KyDYmL_A.js";import"./row-actions-D0c6yFtF.js";import"./rotate-ccw-D5sQyGgW.js";import"./NavMenuButton-Dt1LP3xE.js";import"./menu-BPjTyRCV.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function P(){return o.jsx(t.Reading,{})}export{P as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eP as o,j as m}from"./index-DwhL5hnf.js";import{O as p}from"./OpenCalendarEvent-B4t8buuN.js";import"./CalendarComposePane-ttBV9i0L.js";import"./useCalendarEvents-BWtbpeou.js";import"./useQueries-DgS8Aq9E.js";import"./useCalendars-B_XYS-rT.js";import"./calendar-color-B7xysQBF.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./attendee-row-DHIFSmzm.js";import"./avatar-7RE-k5-A.js";import"./clock-KyDYmL_A.js";import"./map-pin-Dj0bt5rD.js";import"./mail-Ccrh3W1B.js";import"./pencil-P-_8cd4g.js";import"./useCalendarWrites-DaYZtUht.js";import"./ErrorState-B4doIuh3.js";import"./useCalendarData-D3lnaVPT.js";function P(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return m.jsx(p,{calendarObjectId:r,recurrenceId:t})}export{P as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DwhL5hnf.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DwhL5hnf.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-DwhL5hnf.js";const n=o;export{n as component};
|
package/assets/brief-CxKKKuQk.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,O as i}from"./index-DwhL5hnf.js";import{a as m}from"./MailShell-VD8T-esR.js";import{B as o}from"./BriefPane-Kq7MoJAy.js";import{a as p}from"./search-token-index-C-vkr8-Q.js";import{u as e}from"./search-mirror-5oaQJJ5X.js";import"./FullCompose-DZFqFx7R.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./EmptyState-BKE2sE6S.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./useQueries-DgS8Aq9E.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useSemanticSearch-CD7vKuwt.js";import"./useLabels-Cv6tv63h.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function Z(){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{Z as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e}from"./index-DwhL5hnf.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-DZFqFx7R.js";import"./index-DwhL5hnf.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";const c=o;export{c as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DZFqFx7R.js";import"./index-DwhL5hnf.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";const c=o;export{c as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DZFqFx7R.js";import"./index-DwhL5hnf.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";const c=o;export{c as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-DZFqFx7R.js";import"./index-DwhL5hnf.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";const c=o;export{c as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as W,j as t,ay as F,aB as _,t as E,r as n,g as B,aQ as R,az as C,i as G,aw as Q,B as X,aA as J,f as N}from"./index-DwhL5hnf.js";import{C as K}from"./card-DcD9Y2of.js";const ut=W("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]]);function Y({url:r}){return t.jsxs("p",{className:"text-2xs text-fg-subtle",children:["Stored encrypted, used only to connect to your mail server."," ",r?t.jsx("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"text-accent underline",children:"How to create an app password"}):t.jsx("span",{children:"Check your provider's help for app password instructions."})]})}function M({value:r,defaultValue:i,onValueChange:s,...e}){return s?t.jsxs(F,{value:r,onChange:a=>s(a.target.value),...e,children:[t.jsx("option",{value:"tls",children:"TLS/SSL"}),t.jsx("option",{value:"starttls",children:"STARTTLS"}),t.jsx("option",{value:"none",children:"None (insecure)"})]}):t.jsxs(F,{defaultValue:i??r,...e,children:[t.jsx("option",{value:"tls",children:"TLS/SSL"}),t.jsx("option",{value:"starttls",children:"STARTTLS"}),t.jsx("option",{value:"none",children:"None (insecure)"})]})}function D(r){return{tls:r==="tls",startTls:r==="starttls"}}function Z({steps:r,activeStep:i}){return t.jsx("ol",{className:"flex items-center gap-1",children:r.map((s,e)=>{const a=e<i,o=e===i;return t.jsxs("li",{className:"flex items-center gap-1",children:[e>0&&t.jsx("span",{className:"h-px w-5 bg-line","aria-hidden":!0}),t.jsxs("span",{className:"flex items-center gap-1.5",children:[t.jsx("span",{className:E("flex size-5 items-center justify-center rounded-full text-2xs font-semibold tabular-nums",a&&"bg-accent text-accent-fg",o&&"bg-accent-soft text-accent ring-1 ring-accent",!a&&!o&&"bg-surface-sunken text-fg-subtle"),children:a?t.jsx(_,{className:"size-3"}):e+1}),t.jsx("span",{className:E("hidden text-2xs sm:inline",o?"font-medium text-fg":"text-fg-subtle"),children:s})]})]},s)})})}function H({steps:r,activeStep:i,title:s,subtitle:e,children:a,footer:o,hideSteps:c}){return t.jsxs("div",{className:"flex h-dvh w-full flex-col items-center overflow-hidden bg-canvas pb-[max(2rem,env(safe-area-inset-bottom,0px))] pl-[max(2rem,env(safe-area-inset-left,0px))] pr-[max(2rem,env(safe-area-inset-right,0px))] pt-[max(2rem,env(safe-area-inset-top,0px))] font-sans text-fg",children:[t.jsx("div",{className:"hidden shrink-[9999] basis-[30vh] sm:block"}),!c&&t.jsx("div",{className:"mb-5 w-full max-w-xl shrink-0",children:t.jsx(Z,{steps:r,activeStep:i})}),t.jsxs(K,{raised:!0,className:"flex w-full min-h-0 max-w-xl flex-col",children:[t.jsxs("div",{className:"shrink-0 px-5 pt-5",children:[t.jsx("h1",{className:"text-xl font-semibold text-fg",children:s}),e&&t.jsx("p",{className:"mt-1 text-sm text-fg-muted",children:e})]}),t.jsx("div",{"data-testid":"wizard-body",className:"min-h-0 overflow-y-auto px-5 py-5",children:a}),o&&t.jsx("div",{"data-testid":"wizard-footer",className:"flex shrink-0 items-center justify-between gap-3 border-t border-line px-5 py-3",children:o})]})]})}const tt="Coming soon — use IMAP for now.";function pt({name:r,description:i,icon:s,comingSoon:e,selected:a,onSelect:o}){const[c,l]=n.useState(!1),m=()=>{if(o){o();return}e&&l(!0)};return t.jsxs("div",{className:"flex flex-col gap-1.5",children:[t.jsxs("button",{type:"button",onClick:m,"aria-disabled":e||void 0,className:E("flex flex-col items-start gap-2 rounded-sm border p-3 text-left transition-colors",a?"border-accent-2 bg-accent-2-soft":"border-line bg-surface hover:border-line-strong",e&&"opacity-55"),children:[t.jsx("span",{className:E("text-fg-muted",a&&"text-accent-2"),children:s}),t.jsxs("span",{className:"flex items-center gap-2",children:[t.jsx("span",{className:"text-sm font-semibold text-fg",children:r}),e&&t.jsx("span",{className:"rounded-full bg-surface-sunken px-1.5 py-0.5 text-2xs text-fg-subtle",children:"soon"})]}),t.jsx("span",{className:"text-xs text-fg-subtle",children:i})]}),c&&t.jsx("p",{className:"text-2xs text-fg-subtle",children:tt})]})}function dt({legend:r,badge:i,host:s,port:e,security:a,readOnly:o,onHostChange:c,onPortChange:l,onSecurityChange:m,hostPlaceholder:x,portPlaceholder:g}){const v=n.useId(),b=n.useId(),h=n.useId();return t.jsxs("fieldset",{children:[t.jsxs("legend",{className:"flex items-center gap-2 text-sm font-semibold text-fg",children:[r,i&&t.jsx(B,{tone:i.tone,children:i.label})]}),t.jsxs("div",{className:"mt-2 grid grid-cols-1 gap-3 sm:grid-cols-[1fr_6rem_8rem] sm:gap-2",children:[t.jsxs("div",{children:[t.jsx(R,{htmlFor:v,children:"Host"}),c?t.jsx(C,{id:v,readOnly:o,value:s,onChange:p=>c(p.target.value),placeholder:x}):t.jsx(C,{id:v,readOnly:o,defaultValue:s,placeholder:x})]}),t.jsxs("div",{children:[t.jsx(R,{htmlFor:b,children:"Port"}),l?t.jsx(C,{id:b,readOnly:o,value:e,onChange:p=>l(p.target.value),placeholder:g}):t.jsx(C,{id:b,readOnly:o,defaultValue:e,placeholder:g})]}),t.jsxs("div",{children:[t.jsx(R,{htmlFor:h,children:"Security"}),m?t.jsx(M,{id:h,value:a,onValueChange:m}):t.jsx(M,{id:h,defaultValue:a})]})]})]})}function q({label:r,detail:i,state:s}){return t.jsxs("div",{className:"flex items-start gap-3 py-2",children:[t.jsxs("span",{className:E("mt-0.5 flex size-5 shrink-0 items-center justify-center rounded-full text-2xs",s==="ok"&&"bg-positive text-accent-fg",s==="failed"&&"bg-danger text-accent-fg",s==="running"&&"border border-accent text-accent",s==="pending"&&"border border-line text-fg-subtle"),children:[s==="ok"&&t.jsx(_,{className:"size-3"}),s==="failed"&&"!",s==="running"&&t.jsx("span",{className:"size-2 animate-pulse rounded-full bg-accent"})]}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:E("text-sm",s==="failed"?"font-medium text-danger":"text-fg"),children:r}),i&&t.jsx("div",{className:"mt-0.5 text-xs text-fg-subtle",children:i})]})]})}const et=(r,i)=>{const s=n.useRef(i);s.current=i,n.useEffect(()=>{if(!r)return;const e=()=>{document.visibilityState==="visible"&&s.current()};return document.addEventListener("visibilitychange",e),window.addEventListener("pageshow",e),()=>{document.removeEventListener("visibilitychange",e),window.removeEventListener("pageshow",e)}},[r])},st=2e4,ht="Couldn't open Microsoft's sign-in page. Check your connection, and anything blocking redirects, then try again.",xt=r=>{const i=n.useRef(!1),s=n.useRef(!1),e=n.useRef(null),a=n.useRef(r);a.current=r;const o=n.useCallback(()=>{e.current!==null&&(clearTimeout(e.current),e.current=null)},[]),c=n.useCallback(()=>{!i.current||!s.current||(o(),s.current=!1,a.current("returned"))},[o]);return n.useEffect(()=>{const l=()=>{s.current=!0,o()},m=()=>{document.visibilityState==="hidden"&&l()},x=g=>{g.persisted&&(l(),c())};return document.addEventListener("visibilitychange",m),window.addEventListener("pagehide",l),window.addEventListener("pageshow",x),()=>{document.removeEventListener("visibilitychange",m),window.removeEventListener("pagehide",l),window.removeEventListener("pageshow",x),o()}},[c,o]),et(!0,c),n.useCallback(()=>{i.current=!0,s.current=!1,o(),e.current=setTimeout(()=>{e.current=null,i.current=!1,s.current=!1,a.current("stalled")},st)},[o])},rt={"gmail.com":{imap:{host:"imap.gmail.com",port:993,security:"tls"},smtp:{host:"smtp.gmail.com",port:587,security:"starttls"},source:"provider-table"},"googlemail.com":{imap:{host:"imap.gmail.com",port:993,security:"tls"},smtp:{host:"smtp.gmail.com",port:587,security:"starttls"},source:"provider-table"},"outlook.com":{imap:{host:"outlook.office365.com",port:993,security:"tls"},smtp:{host:"smtp.office365.com",port:587,security:"starttls"},source:"provider-table"},"hotmail.com":{imap:{host:"outlook.office365.com",port:993,security:"tls"},smtp:{host:"smtp.office365.com",port:587,security:"starttls"},source:"provider-table"},"live.com":{imap:{host:"outlook.office365.com",port:993,security:"tls"},smtp:{host:"smtp.office365.com",port:587,security:"starttls"},source:"provider-table"},"msn.com":{imap:{host:"outlook.office365.com",port:993,security:"tls"},smtp:{host:"smtp.office365.com",port:587,security:"starttls"},source:"provider-table"},"icloud.com":{imap:{host:"imap.mail.me.com",port:993,security:"tls"},smtp:{host:"smtp.mail.me.com",port:587,security:"starttls"},source:"provider-table"},"me.com":{imap:{host:"imap.mail.me.com",port:993,security:"tls"},smtp:{host:"smtp.mail.me.com",port:587,security:"starttls"},source:"provider-table"},"mac.com":{imap:{host:"imap.mail.me.com",port:993,security:"tls"},smtp:{host:"smtp.mail.me.com",port:587,security:"starttls"},source:"provider-table"},"fastmail.com":{imap:{host:"imap.fastmail.com",port:993,security:"tls"},smtp:{host:"smtp.fastmail.com",port:465,security:"tls"},source:"provider-table"},"fastmail.fm":{imap:{host:"imap.fastmail.com",port:993,security:"tls"},smtp:{host:"smtp.fastmail.com",port:465,security:"tls"},source:"provider-table"},"yahoo.com":{imap:{host:"imap.mail.yahoo.com",port:993,security:"tls"},smtp:{host:"smtp.mail.yahoo.com",port:465,security:"tls"},source:"provider-table"},"yahoo.co.uk":{imap:{host:"imap.mail.yahoo.com",port:993,security:"tls"},smtp:{host:"smtp.mail.yahoo.com",port:465,security:"tls"},source:"provider-table"},"ymail.com":{imap:{host:"imap.mail.yahoo.com",port:993,security:"tls"},smtp:{host:"smtp.mail.yahoo.com",port:465,security:"tls"},source:"provider-table"},"aol.com":{imap:{host:"imap.aol.com",port:993,security:"tls"},smtp:{host:"smtp.aol.com",port:465,security:"tls"},source:"provider-table"},"zoho.com":{imap:{host:"imap.zoho.com",port:993,security:"tls"},smtp:{host:"smtp.zoho.com",port:465,security:"tls"},source:"provider-table"},"gmx.com":{imap:{host:"imap.gmx.com",port:993,security:"tls"},smtp:{host:"smtp.gmx.com",port:587,security:"starttls"},source:"provider-table"},"gmx.net":{imap:{host:"imap.gmx.net",port:993,security:"tls"},smtp:{host:"mail.gmx.net",port:587,security:"starttls"},source:"provider-table"},"gmx.de":{imap:{host:"imap.gmx.net",port:993,security:"tls"},smtp:{host:"mail.gmx.net",port:587,security:"starttls"},source:"provider-table"},"web.de":{imap:{host:"imap.web.de",port:993,security:"tls"},smtp:{host:"smtp.web.de",port:587,security:"starttls"},source:"provider-table"},"mail.com":{imap:{host:"imap.mail.com",port:993,security:"tls"},smtp:{host:"smtp.mail.com",port:465,security:"tls"},source:"provider-table"},"hey.com":{imap:{host:"imap.hey.com",port:993,security:"tls"},smtp:{host:"smtp.hey.com",port:465,security:"tls"},source:"provider-table"},"tutanota.com":{imap:{host:"mail.tutanota.com",port:993,security:"tls"},smtp:{host:"mail.tutanota.com",port:465,security:"tls"},source:"provider-table"},"tuta.io":{imap:{host:"mail.tutanota.com",port:993,security:"tls"},smtp:{host:"mail.tutanota.com",port:465,security:"tls"},source:"provider-table"},"posteo.de":{imap:{host:"posteo.de",port:993,security:"tls"},smtp:{host:"posteo.de",port:465,security:"tls"},source:"provider-table"},"runbox.com":{imap:{host:"imap.runbox.com",port:993,security:"tls"},smtp:{host:"smtp.runbox.com",port:587,security:"starttls"},source:"provider-table"},"mailbox.org":{imap:{host:"imap.mailbox.org",port:993,security:"tls"},smtp:{host:"smtp.mailbox.org",port:465,security:"tls"},source:"provider-table"},"hushmail.com":{imap:{host:"imap.hushmail.com",port:993,security:"tls"},smtp:{host:"smtp.hushmail.com",port:465,security:"tls"},source:"provider-table"}},ot={"gmail.com":"https://support.google.com/accounts/answer/185833","googlemail.com":"https://support.google.com/accounts/answer/185833","yahoo.com":"https://help.yahoo.com/kb/generate-manage-third-party-passwords-sln15241.html","icloud.com":"https://support.apple.com/en-us/102654","me.com":"https://support.apple.com/en-us/102654","mac.com":"https://support.apple.com/en-us/102654","fastmail.com":"https://www.fastmail.help/hc/en-us/articles/360058752854","fastmail.fm":"https://www.fastmail.help/hc/en-us/articles/360058752854","outlook.com":"https://support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9","hotmail.com":"https://support.microsoft.com/en-us/account-billing/manage-app-passwords-for-two-step-verification-d6dc8c6d-4bf7-4851-ad95-6d07799387e9","zoho.com":"https://help.zoho.com/portal/en/kb/zoho-mail/client-configuration/imap-access/articles/zoho-mail-app-passwords"};function O(r){try{const s=new DOMParser().parseFromString(r,"application/xml");if(s.querySelector("parsererror"))return null;const e=s.querySelectorAll("incomingServer[type='imap']"),a=s.querySelectorAll("outgoingServer[type='smtp']");if(!e.length||!a.length)return null;const o=e[0],c=a[0],l=o.querySelector("hostname")?.textContent?.trim(),m=o.querySelector("port")?.textContent?.trim(),x=o.querySelector("socketType")?.textContent?.trim().toUpperCase(),g=c.querySelector("hostname")?.textContent?.trim(),v=c.querySelector("port")?.textContent?.trim(),b=c.querySelector("socketType")?.textContent?.trim().toUpperCase();if(!l||!m||!g||!v)return null;const h=p=>p==="SSL"||p==="TLS"||p==="SSL/TLS"?"tls":p==="STARTTLS"?"starttls":"none";return{imap:{host:l,port:Number.parseInt(m,10),security:h(x)},smtp:{host:g,port:Number.parseInt(v,10),security:h(b)},source:"mozilla-autoconfig"}}catch{return null}}async function it(r,i){try{const s=`https://autoconfig.thunderbird.net/v1.1/${r}`,e=await fetch(s,{signal:i});if(!e.ok)return null;const a=await e.text(),o=O(a);return o||null}catch{return null}}async function at(r,i){try{const s=`https://autoconfig.${r}/mail/config-v1.1.xml`,e=await fetch(s,{signal:i});if(!e.ok)return null;const a=await e.text(),o=O(a);return o?{...o,source:"domain-autoconfig"}:null}catch{return null}}function nt(r){return{imap:{host:`imap.${r}`,port:993,security:"tls"},smtp:{host:`smtp.${r}`,port:587,security:"starttls"},source:"heuristic"}}async function ft(r,i=1500){const s=r.indexOf("@");if(s===-1)return null;const e=r.slice(s+1).toLowerCase();if(!e)return null;const a=rt[e];if(a)return a;const o=new AbortController,c=setTimeout(()=>o.abort(),i);try{const l=await it(e,o.signal);if(l)return l;const m=await at(e,o.signal);if(m)return m}finally{clearTimeout(c)}return nt(e)}function yt(r){const i=r.indexOf("@");return i===-1?"Looking up server settings…":`Looking up settings for ${r.slice(i+1)}…`}function ct(r){const i=r.indexOf("@");if(i===-1)return;const s=r.slice(i+1).toLowerCase();return ot[s]}function gt({steps:r,activeStep:i,title:s,subtitle:e,email:a,username:o,password:c,notice:l,error:m,continueLabel:x="Test connection",backLabel:g="Back",onContinue:v,onBack:b,onChange:h}){const[p,z]=n.useState(o||a),[S,w]=n.useState(c),[T,k]=n.useState(null),I=ct(a),y=p.trim()!==""&&S.trim()!=="";n.useEffect(()=>{h(p,S)},[p,S,h]);const L=n.useCallback(()=>{if(!y){k("Enter your username and password.");return}k(null),v()},[y,v]);return n.useEffect(()=>{const u=j=>{j.key==="Enter"&&L(),j.key==="Escape"&&b()};return window.addEventListener("keydown",u),()=>window.removeEventListener("keydown",u)},[L,b]),t.jsx(H,{steps:r,activeStep:i,title:s,subtitle:e,footer:t.jsxs(t.Fragment,{children:[t.jsx(N,{variant:"ghost",onClick:b,children:g}),t.jsx(N,{variant:"primary",onClick:L,children:x})]}),children:t.jsxs("div",{className:"space-y-3",children:[m&&t.jsx(X,{tone:"danger",children:m}),T&&t.jsx("div",{className:"rounded-md bg-danger-soft px-3 py-2 text-sm text-danger",children:T}),l,t.jsxs("div",{children:[t.jsx(R,{htmlFor:"credentials-username",children:"Username"}),t.jsx(C,{id:"credentials-username",value:p,onChange:u=>{z(u.target.value),k(null)},autoComplete:"username"})]}),t.jsxs("div",{children:[t.jsx(R,{htmlFor:"credentials-password",children:"Password or app password"}),t.jsx(J,{id:"credentials-password",value:S,onChange:u=>{w(u.target.value),k(null)},autoComplete:"current-password"})]}),t.jsx(Y,{url:I})]})})}function vt({steps:r,activeStep:i,email:s,imapConfig:e,smtpConfig:a,username:o,password:c,onSuccess:l,onBackToCredentials:m,onBackToServers:x,credentialsBackLabel:g="Back to credentials",serversBackLabel:v="Back to servers",successLabel:b="Start syncing"}){const[h,p]=n.useState({imapState:"running",smtpState:"pending",phase:"running"}),[z,S]=n.useState(0),w=a.host.trim()!=="",T=D(e.security),k=D(a.security),I=G({...Q()});n.useEffect(()=>{let u=!1;const j=[];return p({imapState:"running",smtpState:"pending",phase:"running"}),I.mutate({body:{username:o,password:c,imapHost:e.host,imapPort:e.port,imapTls:T.tls,imapStartTls:T.startTls,smtpHost:a.host,smtpPort:a.port,smtpTls:k.tls,smtpStartTls:k.startTls}},{onSuccess:d=>{if(u)return;const f=d.imapSuccess,P=w?d.smtpSuccess:!0;p({imapState:f?"ok":"failed",smtpState:w?"running":"ok",imapDetail:f?`Connected — ${e.host}:${e.port}`:d.imapError,phase:"running"}),j.push(window.setTimeout(()=>{if(u)return;const $=V=>{const A=V?.toLowerCase()??"";return A.includes("auth")||A.includes("login")||A.includes("535")||A.includes("credential")},U=!f&&$(d.imapError)||f&&w&&!d.smtpSuccess&&$(d.smtpError);p({imapState:f?"ok":"failed",smtpState:w?d.smtpSuccess?"ok":"failed":"ok",imapDetail:f?`Connected — ${e.host}:${e.port}`:d.imapError,smtpDetail:w?d.smtpSuccess?`Connected — ${a.host}:${a.port}`:d.smtpError:"Not set up — receive-only",rawError:f?w&&!d.smtpSuccess?d.smtpError:void 0:d.imapError,phase:f&&P?"success":U?"auth-failure":"network-failure"}),f&&P&&j.push(window.setTimeout(()=>{u||l()},800))},400))},onError:d=>{if(u)return;const f=d instanceof Error?d.message:"Connection failed";p({imapState:"failed",smtpState:"failed",imapDetail:f,smtpDetail:f,rawError:f,phase:"network-failure"})}}),()=>{u=!0;for(const d of j)window.clearTimeout(d)}},[z]);const{phase:y}=h;n.useEffect(()=>{const u=j=>{j.key==="Escape"&&(y==="auth-failure"?m():y==="network-failure"&&x())};return window.addEventListener("keydown",u),()=>window.removeEventListener("keydown",u)},[y,m,x]);const L=y==="auth-failure"?t.jsxs(t.Fragment,{children:[t.jsx(N,{variant:"ghost",onClick:m,children:g}),t.jsx(N,{variant:"primary",onClick:()=>S(u=>u+1),children:"Retry"})]}):y==="network-failure"?t.jsxs(t.Fragment,{children:[t.jsx(N,{variant:"ghost",onClick:x,children:v}),t.jsx(N,{variant:"primary",onClick:()=>S(u=>u+1),children:"Retry"})]}):y==="success"?t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-2xs text-fg-subtle",children:"Connection verified"}),t.jsx(N,{variant:"primary",onClick:l,children:b})]}):t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-2xs text-fg-subtle",children:"Testing…"}),t.jsx("span",{})]});return t.jsx(H,{steps:r,activeStep:i,title:"Testing the connection",subtitle:`Checking ${s}`,footer:L,children:t.jsxs("div",{className:"divide-y divide-line",children:[t.jsx(q,{label:`IMAP — ${e.host}:${e.port}`,detail:h.imapDetail,state:h.imapState}),t.jsx(q,{label:w?`SMTP — ${a.host}:${a.port}`:"SMTP — sending",detail:w?h.smtpDetail:"Not set up — you can add sending later in Settings",state:h.smtpState}),(y==="auth-failure"||y==="network-failure")&&h.rawError&&t.jsxs("div",{className:"py-3",children:[y==="auth-failure"&&t.jsx("p",{className:"mb-2 text-xs text-fg-muted",children:"Check your password — many providers require an app password."}),t.jsx("code",{className:"block rounded bg-surface-sunken px-2.5 py-2 text-2xs text-fg-muted",children:h.rawError})]})]})})}export{q as C,ht as R,ut as S,H as W,pt as a,xt as b,vt as c,gt as d,dt as e,yt as f,ct as g,ft as h,D as s,et as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-DwhL5hnf.js";import{a as m}from"./MailShell-VD8T-esR.js";import{F as r}from"./FlaggedPane-KpOQPoF4.js";import{a as p}from"./search-token-index-C-vkr8-Q.js";import{u as e}from"./search-mirror-5oaQJJ5X.js";import"./FullCompose-DZFqFx7R.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./EmptyState-BKE2sE6S.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./useQueries-DgS8Aq9E.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./refresh-cw-Cs4y2h9j.js";import"./wizard-selection-DxUM65kM.js";function V(){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{V as component};
|
package/assets/index-BOWx-sgS.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{M as i}from"./MailboxPane-uT1N9BhB.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useQueries-DgS8Aq9E.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./NavMenuButton-Dt1LP3xE.js";import"./useLabels-Cv6tv63h.js";import"./useSemanticSearch-CD7vKuwt.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-COGW8Xhr.js";import"./circle-help-B7f57nO2.js";import"./circle-check-BW5VvBID.js";function V(){return o.jsx(i.Reading,{})}export{V as component};
|
package/assets/index-BjYWtyXb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,an as o}from"./index-DwhL5hnf.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
|
package/assets/index-CTfvCQ05.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{F as r}from"./FlaggedPane-KpOQPoF4.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./refresh-cw-Cs4y2h9j.js";import"./wizard-selection-DxUM65kM.js";function K(){return o.jsx(r.Reading,{})}export{K as component};
|
package/assets/index-D_5qJImV.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{eN as o,j as r}from"./index-DwhL5hnf.js";import{O as m}from"./OpenCalendarEvent-B4t8buuN.js";import"./CalendarComposePane-ttBV9i0L.js";import"./useCalendarEvents-BWtbpeou.js";import"./useQueries-DgS8Aq9E.js";import"./useCalendars-B_XYS-rT.js";import"./calendar-color-B7xysQBF.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./attendee-row-DHIFSmzm.js";import"./avatar-7RE-k5-A.js";import"./clock-KyDYmL_A.js";import"./map-pin-Dj0bt5rD.js";import"./mail-Ccrh3W1B.js";import"./pencil-P-_8cd4g.js";import"./useCalendarWrites-DaYZtUht.js";import"./ErrorState-B4doIuh3.js";import"./useCalendarData-D3lnaVPT.js";function C(){const{calendarObjectId:t}=o.useParams();return r.jsx(m,{calendarObjectId:t})}export{C as component};
|
package/assets/index-Dwnupv2j.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{M as r}from"./MailboxPane-uT1N9BhB.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useQueries-DgS8Aq9E.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./NavMenuButton-Dt1LP3xE.js";import"./useLabels-Cv6tv63h.js";import"./useSemanticSearch-CD7vKuwt.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-COGW8Xhr.js";import"./circle-help-B7f57nO2.js";import"./circle-check-BW5VvBID.js";function V(){return o.jsx(r.Reading,{})}export{V as component};
|
package/assets/index-DxfAQwfN.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{O as t}from"./OutboxPane-BgicoJNx.js";import"./roving-focus-Ct_H2vAt.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-DB4LtNLR.js";import"./clock-KyDYmL_A.js";import"./row-actions-D0c6yFtF.js";import"./rotate-ccw-D5sQyGgW.js";import"./NavMenuButton-Dt1LP3xE.js";import"./menu-BPjTyRCV.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function c(){return o.jsx(t.Reading,{})}export{c as component};
|
package/assets/index-KnIZpIn3.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-DwhL5hnf.js";import{F as r}from"./FlaggedPane-KpOQPoF4.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./MailViewChrome-BNYMeppG.js";import"./refresh-cw-Cs4y2h9j.js";import"./wizard-selection-DxUM65kM.js";function L(){return o.jsx(r.Reading,{})}export{L as component};
|
package/assets/index-QCi5bf-f.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-DwhL5hnf.js";import{B as o}from"./BriefPane-Kq7MoJAy.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useSemanticSearch-CD7vKuwt.js";import"./useLabels-Cv6tv63h.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function Q(){return r.jsx(o.Reading,{})}export{Q as component};
|
package/assets/index-wMLxaOh9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-DwhL5hnf.js";import{B as o}from"./BriefPane-Kq7MoJAy.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./useMessageBodyContent-Booydip_.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-Cr3dh1lr.js";import"./roving-focus-Ct_H2vAt.js";import"./search-token-index-C-vkr8-Q.js";import"./useQueries-DgS8Aq9E.js";import"./popover-menu-zNHNSI3_.js";import"./mail-Ccrh3W1B.js";import"./avatar-7RE-k5-A.js";import"./index-CSe-0o3z.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./EmptyState-BKE2sE6S.js";import"./ErrorState-B4doIuh3.js";import"./attachment-file-gAfp0dv-.js";import"./download-DXuQtb0t.js";import"./calendar-event-chip-YG8KNEUD.js";import"./calendar-color-B7xysQBF.js";import"./map-pin-Dj0bt5rD.js";import"./attendee-row-DHIFSmzm.js";import"./clock-KyDYmL_A.js";import"./calendar-clash-strip-eWCsRV5H.js";import"./bell-off-2elvUVuL.js";import"./shield-check-8fB_o9g_.js";import"./useFilters-BJY1xkwL.js";import"./confirm-dialog-hp8qmvZN.js";import"./useLayoutTier-C9LMS8G8.js";import"./menu-BPjTyRCV.js";import"./useRefreshControl-CqC7eCqT.js";import"./circle-check-big-DB4LtNLR.js";import"./refresh-cw-Cs4y2h9j.js";import"./useSemanticSearch-CD7vKuwt.js";import"./useLabels-Cv6tv63h.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-DxUM65kM.js";function O(){return r.jsx(o.Reading,{})}export{O as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as n,h as i,u as a,r as m,j as s}from"./index-DwhL5hnf.js";import{O as p}from"./OnboardingWizard-CLrbNDe0.js";import{c}from"./onboarding-completion-T025R-la.js";import"./kbd-BtXVxwvP.js";import"./credential-steps-DmXpJwCH.js";import"./card-DcD9Y2of.js";import"./account-form-helpers-DhckT_PN.js";import"./mail-Ccrh3W1B.js";import"./file-json-B-S5BJx7.js";function O(){const o=n(),e=i(),t=a(),r=m.useCallback(l=>{c({queryClient:e,recordCompleted:()=>o.recordEvent("onboarding.completed"),navigateToInbox:()=>{window.location.assign("/mail")}})},[o,e]);return s.jsx(p,{skipWelcome:!1,onComplete:r,onImportConfig:()=>{t({to:"/import"})}})}export{O as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-DwhL5hnf.js";import{a as m}from"./MailShell-VD8T-esR.js";import{u as p,O as t}from"./OutboxPane-BgicoJNx.js";import{u as s}from"./search-mirror-5oaQJJ5X.js";import"./FullCompose-DZFqFx7R.js";import"./ErrorState-B4doIuh3.js";import"./index-CSe-0o3z.js";import"./useMessageBodyContent-Booydip_.js";import"./useSignature-CrtRyC6V.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-B64vGBCU.js";import"./sections-6u7X6kpS.js";import"./confirm-dialog-hp8qmvZN.js";import"./roving-focus-Ct_H2vAt.js";import"./useSearchTokenContext-B2wE1jWs.js";import"./kbd-BtXVxwvP.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-DB4LtNLR.js";import"./clock-KyDYmL_A.js";import"./row-actions-D0c6yFtF.js";import"./rotate-ccw-D5sQyGgW.js";import"./NavMenuButton-Dt1LP3xE.js";import"./menu-BPjTyRCV.js";import"./outbox-status-BlKn6P0x.js";import"./search-query-Cr_ZXBCp.js";function v(){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{v as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,O as o}from"./index-DwhL5hnf.js";const n=()=>t.jsx(o,{});export{n as component};
|