@remit/web-client-dist 0.0.521 → 0.0.523
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-CRw1C9B5.js → BriefPane-T5fblM4F.js} +1 -1
- package/assets/{CalendarComposePane-DjnpgECc.js → CalendarComposePane-DcAJSnfT.js} +1 -1
- package/assets/{CalendarComposeSeed-Dg1p66Fd.js → CalendarComposeSeed-B0DeJh_O.js} +1 -1
- package/assets/{CalendarShell-BeAmgoNJ.js → CalendarShell-vTTQZPIk.js} +1 -1
- package/assets/{EmptyState-DEwOy6vH.js → EmptyState-C0rY794m.js} +1 -1
- package/assets/{ErrorState-CYdw-mIz.js → ErrorState-zjkbXs-q.js} +1 -1
- package/assets/{FlaggedPane-DZWubYUP.js → FlaggedPane-DG48Ipmn.js} +1 -1
- package/assets/{FullCompose-B4zxA29_.js → FullCompose-gxlTyCSX.js} +1 -1
- package/assets/{MailListHeader-BBXPP_8i.js → MailListHeader-BUkJWZ1q.js} +1 -1
- package/assets/{MailNav-kOFTLJNh.js → MailNav-oPkEsSHc.js} +1 -1
- package/assets/{MailShell-BLXdPOU0.js → MailShell-Bo37e1Tg.js} +1 -1
- package/assets/{MailViewChrome-DbJa-Xsl.js → MailViewChrome-iGZP7YmP.js} +1 -1
- package/assets/{MailboxPane-BZG47AEE.js → MailboxPane-CPXp3k1S.js} +1 -1
- package/assets/{NavMenuButton-4CxHRrLT.js → NavMenuButton-BZLYdpkc.js} +1 -1
- package/assets/{OnboardingWizard-DOnsYkZz.js → OnboardingWizard-DI7s9qtu.js} +1 -1
- package/assets/{OpenCalendarEvent-2EGfgL5s.js → OpenCalendarEvent-RtNlnp61.js} +1 -1
- package/assets/{OutboxPane-DgU67WIZ.js → OutboxPane-DL3h7Kfn.js} +1 -1
- package/assets/_calendarObjectId-Bv3TQAVh.js +1 -0
- package/assets/_mailboxId-DO2pU34F.js +1 -0
- package/assets/_messageId-BAwqM33Y.js +1 -0
- package/assets/_messageId-DE3CS0C7.js +1 -0
- package/assets/_messageId-ckdUDkem.js +1 -0
- package/assets/_outboxMessageId-DqClLcyJ.js +1 -0
- package/assets/_recurrenceId-DGloI4TQ.js +1 -0
- package/assets/_threadId-BzfYCfrv.js +1 -0
- package/assets/_threadId-Cd2006A2.js +1 -0
- package/assets/_threadId-I-KK6hew.js +1 -0
- package/assets/{_view._date-CuDrbJjx.js → _view._date-BSjI6Jco.js} +1 -1
- package/assets/{accounts-BYrMlf-V.js → accounts-QLW3nlfN.js} +1 -1
- package/assets/{advanced-CSXHr57l.js → advanced-eCFx37vw.js} +1 -1
- package/assets/{appearance-CAsjdzS_.js → appearance-Btui_eS7.js} +1 -1
- package/assets/{attachment-file-DQIgObpb.js → attachment-file-CJVQ54ld.js} +1 -1
- package/assets/{attendee-row-Cegj9Dge.js → attendee-row-B4BBAFBM.js} +1 -1
- package/assets/{avatar-D8paP2w2.js → avatar-kTasJSLe.js} +1 -1
- package/assets/{bottom-sheet-B_i9APwj.js → bottom-sheet-DH4zWjNu.js} +1 -1
- package/assets/{brief-CvkTzJvi.js → brief-CDvNxWqi.js} +1 -1
- package/assets/brief-CGBlCfxE.js +1 -0
- package/assets/{browser-ponyfill-BzOjDNnN.js → browser-ponyfill-D8bEM3NN.js} +1 -1
- package/assets/{bug-CGg1PoeZ.js → bug-DeetejQn.js} +1 -1
- package/assets/{calendar-mGymXvkS.js → calendar-DRNysi-M.js} +1 -1
- package/assets/{calendar-color-Cwadf2k3.js → calendar-color-Bgn3iX3j.js} +1 -1
- package/assets/{calendar-event-chip-DNFKxXZq.js → calendar-event-chip-BRy_sZYS.js} +1 -1
- package/assets/{calendars-BbRr-fTT.js → calendars-BbrVcVLp.js} +1 -1
- package/assets/{card-C1y_kjNe.js → card-DF2tPbN1.js} +1 -1
- package/assets/chevron-left-A_DQ7AR8.js +1 -0
- package/assets/{circle-check-CpQMEllW.js → circle-check-DauLDG1l.js} +1 -1
- package/assets/{circle-check-big-4h1hG4t6.js → circle-check-big-Cw87KEA5.js} +1 -1
- package/assets/{circle-help-EcA3IfXe.js → circle-help-svoTjcEL.js} +1 -1
- package/assets/{clock-BpnKTaTG.js → clock-CnIFPhaM.js} +1 -1
- package/assets/compose._-_outboxMessageId_-Be3ekuBL.js +1 -0
- package/assets/compose._-_outboxMessageId_-Dx9jusgN.js +1 -0
- package/assets/compose._-_outboxMessageId_-mgsDJueh.js +1 -0
- package/assets/compose._-_outboxMessageId_-oTTzBXE6.js +1 -0
- package/assets/config-import-Cfnw5XE5.js +1 -0
- package/assets/{confirm-dialog-DuVcxiku.js → confirm-dialog-Cg5rgB1c.js} +1 -1
- package/assets/{copy-DulZ0Qed.js → copy-CHptPkN7.js} +1 -1
- package/assets/{credential-steps-CXT2Qyeb.js → credential-steps-C9jZsElU.js} +1 -1
- package/assets/{download-C0qjkDYj.js → download-B6lgdpfM.js} +1 -1
- package/assets/{file-json-DoJijJnG.js → file-json-CuVXM9-4.js} +1 -1
- package/assets/{filters-CJTzK1CO.js → filters-BrRhaOWh.js} +1 -1
- package/assets/flagged-CGet6sJc.js +1 -0
- package/assets/{flagged-DhTanjGJ.js → flagged-CKN-7s4X.js} +1 -1
- package/assets/{folders-ZQErXvM8.js → folders-CLb8SMqu.js} +1 -1
- package/assets/{format-BncXl-_C.js → format-CMouDX0s.js} +1 -1
- package/assets/{help-copy-DrUrFKQa.js → help-copy-ipYUQpnq.js} +1 -1
- package/assets/{import-BSiBGa0h.js → import-lFqvGmff.js} +1 -1
- package/assets/index-9l8InUh2.js +1 -0
- package/assets/index-BWGsIOkM.js +1 -0
- package/assets/index-BtNfVjao.js +1 -0
- package/assets/index-CtnkgDi8.js +1 -0
- package/assets/index-DE3CS0C7.js +1 -0
- package/assets/{index-BfeNOIjk.js → index-DO1jH8GH.js} +1 -1
- package/assets/{index-DE1TsJN7.js → index-Dp4PFSVR.js} +4 -4
- package/assets/{index-4Qa4330_.js → index-Dr4vUuxb.js} +4 -4
- package/assets/index-IlSjO0Ts.js +1 -0
- package/assets/index-JdiX3Cg5.js +1 -0
- package/assets/index-ckdUDkem.js +1 -0
- package/assets/index-umOdjVD-.js +1 -0
- package/assets/{kbd-DLH3W4dT.js → kbd-DPdY5I-P.js} +1 -1
- package/assets/{labels-BkKLOHiv.js → labels-DxNQcX-f.js} +1 -1
- package/assets/{mail-BCjt_SCy.js → mail-ByBwPnmA.js} +1 -1
- package/assets/{mail-DgA4N8vw.js → mail-D5G-a4R7.js} +1 -1
- package/assets/{map-pin-CluZVGCH.js → map-pin-CMFQDYIf.js} +1 -1
- package/assets/{menu-DNTK2lSq.js → menu-Dm_XloeI.js} +1 -1
- package/assets/{new-yf2q7uzo.js → new-6YkGpIgr.js} +1 -1
- package/assets/onboarding-Co935ClB.js +1 -0
- package/assets/{onboarding-completion-BHcMKM1Q.js → onboarding-completion-BwdM4DbS.js} +1 -1
- package/assets/outbox-D1VINGo1.js +1 -0
- package/assets/{pencil-Bfqdtneb.js → pencil-y4pvGH_X.js} +1 -1
- package/assets/{refresh-cw-bDnuQYhl.js → refresh-cw-TH6uhUPS.js} +1 -1
- package/assets/{rich-text-V7Boqffu.js → rich-text-BSoXSMEO.js} +1 -1
- package/assets/{rich-text-spellcheck-worker-provider-BeP1OljD.js → rich-text-spellcheck-worker-provider-Bj-NKl-T.js} +1 -1
- package/assets/{rotate-ccw-DJR8wUFs.js → rotate-ccw-CLI_7OBz.js} +1 -1
- package/assets/{row-actions-BNzffRGj.js → row-actions-t9HDaFvq.js} +1 -1
- package/assets/{search-mirror-DIDt96BP.js → search-mirror-CHvZke_m.js} +1 -1
- package/assets/{search-token-index-BMwa_Z3e.js → search-token-index-C_6xO745.js} +1 -1
- package/assets/{sections-C8WG3waC.js → sections-Bi09IVW3.js} +1 -1
- package/assets/{senders-CXMl1Fpg.js → senders-CtelcBda.js} +1 -1
- package/assets/settings-DzyPHNFI.js +1 -0
- package/assets/{settings-screen-DiFF943S.js → settings-screen-CSnnmERS.js} +1 -1
- package/assets/{shield-check-PzpD6xQR.js → shield-check-DIBZT9II.js} +1 -1
- package/assets/{suggested-vips-BI4_YqMJ.js → suggested-vips-B87yDQN2.js} +1 -1
- package/assets/{useCalendarData-B0qQiSlB.js → useCalendarData-B4yVgQLQ.js} +1 -1
- package/assets/{useCalendars-yWQBsqBy.js → useCalendars-SY0pAeBi.js} +1 -1
- package/assets/{useDebouncedValue-Coj_yCGS.js → useDebouncedValue-DK_nQLHW.js} +1 -1
- package/assets/{useFilters-DETsTYkk.js → useFilters-eFCGEhRL.js} +1 -1
- package/assets/{useLabels-Csu0jRrL.js → useLabels-DBJyfxWh.js} +1 -1
- package/assets/{useLayoutTier-C39QtN4M.js → useLayoutTier-Bf_2vlbr.js} +1 -1
- package/assets/{useMessageBodyContent-zG1JTDGX.js → useMessageBodyContent-CzhcDnKQ.js} +1 -1
- package/assets/{useQueries-DNrQQ492.js → useQueries-BFoWemke.js} +1 -1
- package/assets/{useRefreshControl-CvYNOvkv.js → useRefreshControl-H78P_WOC.js} +1 -1
- package/assets/{useResultFolderIndex-yPITYzfH.js → useResultFolderIndex-9avi2gfm.js} +1 -1
- package/assets/{useSearchTokenContext-BMdEz_tr.js → useSearchTokenContext-CaBVFOAa.js} +1 -1
- package/assets/{useSemanticSearch-DFkEq0vQ.js → useSemanticSearch-ah_vLdg7.js} +1 -1
- package/assets/{useSignature-Rd4aiqH6.js → useSignature-Bp_Wq2dS.js} +1 -1
- package/assets/{window-D2_PzNJF.js → window-BQsQAMFM.js} +1 -1
- package/index.html +1 -1
- package/package.json +1 -1
- package/assets/_calendarObjectId-_1ZQBToc.js +0 -1
- package/assets/_mailboxId-BCkuOIg_.js +0 -1
- package/assets/_messageId-BRT7x-bl.js +0 -1
- package/assets/_messageId-CbZUkjB6.js +0 -1
- package/assets/_messageId-jeMVjxHB.js +0 -1
- package/assets/_outboxMessageId-C8a5cOEp.js +0 -1
- package/assets/_recurrenceId-DvowFLmj.js +0 -1
- package/assets/_threadId-1iYJiYH-.js +0 -1
- package/assets/_threadId-B1L5kGq0.js +0 -1
- package/assets/_threadId-sgYIjc9f.js +0 -1
- package/assets/brief-DMgsVLCK.js +0 -1
- package/assets/chevron-left-C2vrXZD2.js +0 -1
- package/assets/compose._-_outboxMessageId_-Bi9wzlLK.js +0 -1
- package/assets/compose._-_outboxMessageId_-C3NMJILD.js +0 -1
- package/assets/compose._-_outboxMessageId_-DdlFObSK.js +0 -1
- package/assets/compose._-_outboxMessageId_-GRFtpxns.js +0 -1
- package/assets/config-import-e_I2BzDZ.js +0 -1
- package/assets/flagged-qvYL_5uJ.js +0 -1
- package/assets/index-BA92i_bz.js +0 -1
- package/assets/index-B_BJ_kn9.js +0 -1
- package/assets/index-Bv71e6fQ.js +0 -1
- package/assets/index-C719rmAy.js +0 -1
- package/assets/index-CbZUkjB6.js +0 -1
- package/assets/index-De9gK1T-.js +0 -1
- package/assets/index-DeXs3Phj.js +0 -1
- package/assets/index-PfkoyDzO.js +0 -1
- package/assets/index-jeMVjxHB.js +0 -1
- package/assets/onboarding-BIuc_KRD.js +0 -1
- package/assets/outbox-D7ORYlU4.js +0 -1
- package/assets/settings-DgI5gzpA.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,i as b,e2 as E,c as C,e3 as x,dC as F,e4 as D,h as M,e5 as N,e6 as P,e7 as L,e8 as z}from"./index-
|
|
1
|
+
import{r as m,i as b,e2 as E,c as C,e3 as x,dC as F,e4 as D,h as M,e5 as N,e6 as P,e7 as L,e8 as z}from"./index-Dr4vUuxb.js";const B=(e,t)=>{if(e.state==="Expired")return"Expired";if(e.scope!=="Temporary"||!e.expiresAt)return"Active";const r=Date.parse(e.expiresAt);return Number.isNaN(r)?"Active":r<=t?"Expired":"Active"},K=e=>{if(!e)return;const t=Date.parse(e);if(!Number.isNaN(t))return new Date(t).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})},O=(e,t=new Date)=>{if(!e)return;const r=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e);if(!r)return;const[,a,i,n]=r,s=new Date(Number(a),Number(i)-1,Number(n),23,59,59,0);if(Number.isNaN(s.getTime()))return;const o=-t.getTimezoneOffset(),d=o>=0?"+":"-",l=Math.abs(o),c=String(Math.floor(l/60)).padStart(2,"0"),f=String(l%60).padStart(2,"0"),u=p=>String(p).padStart(2,"0");return`${s.getFullYear()}-${u(s.getMonth()+1)}-${u(s.getDate())}T${u(s.getHours())}:${u(s.getMinutes())}:${u(s.getSeconds())}${d}${c}:${f}`},h="None",V=e=>!e.literalClauses.some(t=>t.field==="HasWords"),y=e=>({...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h}),G=({mode:e,ruleScope:t})=>t==="standing"?"standing":t==="until"?"temporary":e==="selected"?"just-these":"all-like-these",X=({mode:e,ruleScope:t,anchorMessageId:r,clauses:a,matchOperator:i,moveMailboxId:n,until:s})=>({...e==="similar"&&r?{anchorMessageId:r}:{},matchOperator:i==="all"?"And":"Or",literalClauses:a.map(o=>({field:o.field,value:o.value})),moveMailboxId:n,expiresAt:t==="until"?O(s??""):void 0}),S=(e,t,r)=>({name:r,scope:t==="standing"?"Standing":"Temporary",...t==="temporary"&&e.expiresAt?{expiresAt:e.expiresAt}:{},matchOperator:e.matchOperator,literalClauses:e.literalClauses,actionLabelId:e.labelId??h,actionMailboxId:e.moveMailboxId??h,...e.anchorMessageId?{anchorMessageId:e.anchorMessageId}:{}}),T=new Set(["Complete","Failed"]),v=e=>e!==void 0&&T.has(e),w=1e3,J=15e3,_=e=>{const t=Math.max(0,e),r=w*2**t;return Math.min(r,J)},$=(e,t,r)=>{if(e)return{kind:r?"restartFailed":"startFailed",error:e};if(t)return{kind:"statusUnreadable",error:t}},Y=e=>{const[t,r]=m.useState(),a=b({...E(),onSuccess:g=>r(g.organizeJobId)}),{mutate:i}=a,n=C({...x({path:{accountId:e??"",organizeJobId:t??""}}),enabled:!!e&&!!t,refetchInterval:g=>{const I=g.state.data?.state;return v(I)?!1:_(g.state.dataUpdateCount)}}),s=m.useCallback(g=>{e&&i({path:{accountId:e},body:y(g)})},[e,i]),{refetch:o}=n,d=m.useCallback(()=>{o()},[o]),l=n.data,c=a.isPending?void 0:l,f=c?.state??a.data?.state,u=v(c?.state),p={state:f,matchedCount:c?.matchedCount??0,appliedCount:c?.appliedCount??0,failedCount:c?.failedCount??0,errorMessage:c?.errorMessage??""};return{start:s,refreshStatus:d,progress:p,isStarting:a.isPending,isRunning:!!t&&!u,isDone:u,failure:$(a.error,n.error,!!l)}},Z=["From","Subject","HasWords","ListId","FromDomain"],k=e=>{const t=e.trim(),r=t.match(/<([^>]+)>/);return(r?r[1]:t).trim().toLowerCase()},ee=(e,t)=>e==="ListId"?k(t):t.trim(),R=e=>e==="all"?"And":"Or",U=(e,t)=>{const r=e.widen!==void 0&&!e.widen.inactive,a=e.clauses.map(i=>({field:i.field,value:i.value}));return{...r&&t?{anchorMessageId:t}:{},matchOperator:R(e.matchOperator),literalClauses:a}},Q=e=>e.anchorMessageId!==void 0||!e.literalClauses.some(t=>t.field==="HasWords"),j=e=>JSON.stringify({anchor:e.anchorMessageId??null,operator:e.matchOperator,clauses:e.literalClauses.map(t=>`${t.field} ${t.value}`)}),te=(e,t)=>{const r=U(e,t);return{...r.anchorMessageId?{anchorMessageId:r.anchorMessageId}:{},matchOperator:r.matchOperator,literalClauses:r.literalClauses,moveMailboxId:e.moveMailboxId,labelId:e.labelId,expiresAt:e.scope==="until"?O(e.until??""):void 0}},q=(e,t)=>e.error!==void 0&&e.errorSignature===t?{status:"error",reason:e.error}:e.count===void 0?{status:"loading"}:e.previewedSignature===t?{status:"ready",count:e.count}:{status:"ready",count:e.count,stale:!0},H=350,re=(e,t,r)=>{const a=b(F()),{mutateAsync:i}=a,n=j(t),[s,o]=m.useState(()=>({})),d=m.useRef(t);d.current=t;const l=m.useRef(n),c=Q(t);return m.useEffect(()=>{if(!e||!c||n===s.previewedSignature||n===s.errorSignature)return;const f=setTimeout(()=>{const u=n;l.current=u,i({path:{accountId:e},body:y({...d.current})}).then(p=>{l.current===u&&o({count:p.matchedCount,matchedIds:p.messageIds,previewedSignature:u})}).catch(p=>{l.current===u&&o(g=>({...g,error:p instanceof Error?p.message:"Couldn't count matches.",errorSignature:u}))})},H);return()=>clearTimeout(f)},[e,c,n,s.previewedSignature,s.errorSignature,i]),c?{count:q(s,n),matchedIds:s.previewedSignature===n?s.matchedIds??[]:[]}:{count:{status:"error",reason:D},matchedIds:[]}},A=e=>P({path:{accountId:e}}),se=e=>{const t=C({...L({path:{accountId:e??""}}),enabled:!!e});return{filters:t.data?.items??[],isPending:t.isPending,isError:t.isError,error:t.error,refetch:t.refetch}},ae=e=>{const t=M(),r=b({...N(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a,mutateAsync:i}=r,n=m.useCallback((o,d,l)=>{e&&a({path:{accountId:e},body:S(o,d,l)})},[e,a]),s=m.useCallback(async(o,d,l)=>e?i({path:{accountId:e},body:S(o,d,l)}).then(()=>!0,()=>!1):!1,[e,i]);return{createFilter:n,createFilterAsync:s,isPending:r.isPending,isSuccess:r.isSuccess,isError:r.isError,error:r.error,reset:r.reset}},ne=e=>{const t=M(),r=b({...z(),onSuccess:()=>{e&&t.invalidateQueries({queryKey:A(e)})}}),{mutate:a}=r;return{deleteFilter:m.useCallback(n=>{e&&a({path:{accountId:e,filterId:n}})},[e,a]),isPending:r.isPending,deletingFilterId:r.isPending?r.variables?.path.filterId:void 0}};export{h as N,Z as S,Y as a,A as b,te as c,K as d,se as e,B as f,ne as g,y as h,ae as i,X as j,V as k,ee as n,G as o,O as p,U as r,re as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{c as d,dZ as L,h as n,i as l,d_ as p,r as o,d$ as y,e0 as c,e1 as g}from"./index-
|
|
1
|
+
import{c as d,dZ as L,h as n,i as l,d_ as p,r as o,d$ as y,e0 as c,e1 as g}from"./index-Dr4vUuxb.js";const u=e=>y({path:{accountId:e}}),f=e=>{const r=d({...L({path:{accountId:e??""}}),enabled:!!e});return{labels:r.data?.items??[],isPending:r.isPending,isError:r.isError,error:r.error,refetch:r.refetch}},h=e=>{const r=n(),t=l({...p(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutateAsync:s}=t;return{createLabel:o.useCallback((a,i="Default")=>e?s({path:{accountId:e},body:{name:a,color:i}}):Promise.reject(new Error("No account")),[e,s]),isPending:t.isPending,isError:t.isError,error:t.error,reset:t.reset}},m=e=>{const r=n(),t=l({...c(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutate:s}=t;return{updateLabel:o.useCallback((a,i)=>{e&&s({path:{accountId:e,labelId:a},body:i})},[e,s]),isPending:t.isPending,updatingLabelId:t.isPending?t.variables?.path.labelId:void 0}},C=e=>{const r=n(),t=l({...g(),onSuccess:()=>{e&&r.invalidateQueries({queryKey:u(e)})}}),{mutate:s}=t;return{deleteLabel:o.useCallback(a=>{e&&s({path:{accountId:e,labelId:a}})},[e,s]),isPending:t.isPending,deletingLabelId:t.isPending?t.variables?.path.labelId:void 0}};export{f as a,m as b,C as c,h as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{e as r,u as s,r as o,bU as t,bV as n}from"./index-
|
|
1
|
+
import{e as r,u as s,r as o,bU as t,bV as n}from"./index-Dr4vUuxb.js";const p=r("BellOff",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]]);function l(){const e=s();return o.useCallback(a=>{e({to:"/mail/brief",search:{q:a||void 0}})},[e])}function h(){const e=s();return o.useCallback((a,i)=>{e({to:"/mail/$mailboxId",params:{mailboxId:a},search:{q:i||void 0}})},[e])}const c=768,d=e=>e!=="desktop",b=()=>{const e=t(`(min-width: ${c}px)`);return t(n)?"desktop":e?"tablet":"phone"};export{p as B,l as a,h as b,d as i,b as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,u as S,ce as O,cf as B,a8 as h,cg as N,q as P,aa as U,h as D,c as $,cD as F,cE as v}from"./index-
|
|
1
|
+
import{r as c,u as S,ce as O,cf as B,a8 as h,cg as N,q as P,aa as U,h as D,c as $,cD as F,cE as v}from"./index-Dr4vUuxb.js";const R="/mail/brief/compose/{-$outboxMessageId}",w="/mail/flagged/compose/{-$outboxMessageId}",E="/mail/outbox/compose/{-$outboxMessageId}",k="/mail/$mailboxId/compose/{-$outboxMessageId}";function T(){const e=h({from:R,shouldThrow:!1}),t=h({from:w,shouldThrow:!1}),r=h({from:E,shouldThrow:!1}),s=h({from:k,shouldThrow:!1});return e??t??r??s}function Y(){return T()!==void 0}function j(){return T()?.outboxMessageId}function L(e,t,r){return e==="flagged"?{to:w,params:{outboxMessageId:r}}:e==="outbox"?{to:E,params:{outboxMessageId:r}}:e==="mailbox"&&t?{to:k,params:{mailboxId:t,outboxMessageId:r}}:{to:R,params:{outboxMessageId:r}}}function b(){const e=S(),t=O(),{list:r,mailboxId:s}=B();return c.useCallback((n,o)=>{e({...L(r,s,n),search:a=>a,hash:o?.keepPanels?!0:t,replace:o?.replace??!1})},[e,t,r,s])}function J(){const e=b();return c.useCallback(()=>e(void 0),[e])}function V(){const e=b();return c.useCallback(t=>e(t),[e])}function Z(){const e=b();return c.useCallback(t=>e(t,{replace:!0,keepPanels:!0}),[e])}function ee(){return N()}const _=e=>{const t=e.filter(n=>!n.isMultipart&&n.disposition!=="attachment"&&n.mediaType==="TEXT"&&n.contentUrl.length>0),r=t.find(n=>n.mediaSubtype.toUpperCase()==="HTML");if(r)return{kind:"html",contentUrl:r.contentUrl};const s=t.find(n=>n.mediaSubtype.toUpperCase()==="PLAIN");return s?{kind:"text",contentUrl:s.contentUrl}:null},g={all:["messages"],detail:e=>[...g.all,"detail",e],body:e=>[...g.detail(e),"body"]};class f extends Error{reason;status;retryAfterSeconds;constructor(t,r,s,n){super(r),this.name="BodyFetchError",this.reason=t,this.status=s,this.retryAfterSeconds=n}}const q=e=>{const t=Number.parseInt(e??"",10);return!Number.isFinite(t)||t<=0?1:Math.min(t,30)},K=8,Q="x-remit-403-reason",I=(e,t)=>{const r=t?.trim()??"";return e===401?"auth":e===403?r.length>0?"auth":"body-missing":e===404?"body-missing":"generic"},X=(e,t)=>(t??"").toLowerCase().startsWith("text/html")?/<div\s+id=["']root["']/i.test(e):!1,G=(e,t)=>{const r=(t??"").toLowerCase();return!!(e==="text"&&r.startsWith("text/html"))},H=async(e,t,r=async()=>null)=>{const s={},n=await r();n&&(s.Authorization=`Bearer ${n}`);const o=await v(e,{headers:s});if(o.status===202)throw new f("not-ready","Message body is still syncing",202,q(o.headers.get("Retry-After")));if(!o.ok){const l=o.headers.get(Q),y=I(o.status,l);throw new f(y,`Failed to load message body (${o.status} ${o.statusText})`,o.status)}const a=o.headers.get("content-type");if(G(t,a))throw new f("content-type-mismatch",`Refusing to render message body — expected ${t}, got Content-Type ${a}`);const m=await o.text();if(X(m,a))throw new f("spa-shell-leak","Refusing to render message body — response looks like the SPA shell (CloudFront 403/404 fallback leaked through to /content/*)");return m},W=async(e,t)=>(t.isRetryAfterNotReady&&await e.refetchDescribeMessage(),e.fetchContent(t.contentUrl,t.kind)),te=({messageId:e,bodyParts:t,enabled:r=!0})=>{const s=t?_(t):null,n=P(),{getToken:o}=U(),a=c.useRef(null),m=D(),l=c.useRef(!1),y=c.useRef(null),C=e&&s?`${e}:${s.contentUrl}`:null;y.current!==C&&(y.current=C,l.current=!1);const i=$({queryKey:e?[...g.body(e),s?.contentUrl??null]:["messages","body","noop"],queryFn:()=>{if(!s)throw new Error("No renderable body part");if(!e)throw new Error("No messageId");const d=l.current;return l.current=!1,W({fetchContent:(u,M)=>H(u,M,o),refetchDescribeMessage:()=>m.refetchQueries({queryKey:F({path:{messageId:e}})})},{contentUrl:s.contentUrl,kind:s.kind,isRetryAfterNotReady:d})},enabled:r&&!!e&&!!s,staleTime:300*1e3,gcTime:1800*1e3,retry:(d,u)=>u instanceof f&&u.reason==="not-ready"?d<K:d<1,retryDelay:(d,u)=>u instanceof f&&u.reason==="not-ready"?(l.current=!0,(u.retryAfterSeconds??1)*1e3):1e3,meta:{softError:!0}}),p=i.isLoading&&!!s,x=t!==void 0&&s===null;c.useEffect(()=>{p&&(a.current=performance.now())},[p]),c.useEffect(()=>{i.isSuccess&&a.current!==null&&(n.recordTiming("message.body.load",Math.round(performance.now()-a.current)),a.current=null)},[i.isSuccess,n]);const A=i.data&&s?{kind:s.kind,body:i.data}:void 0;return{picked:s,data:A,isLoading:p,hasNoRenderablePart:x,isError:i.isError,error:i.error,refetch:i.refetch}};export{f as B,Y as a,te as b,j as c,Z as d,ee as e,V as f,I as g,J as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{bW as Q,bX as y,bY as S,bZ as w,b_ as C,h as k,b$ as q,c0 as x,r as p,c1 as M,c2 as H,c3 as L,c4 as P,c5 as O,c6 as B,c7 as A}from"./index-
|
|
1
|
+
import{bW as Q,bX as y,bY as S,bZ as w,b_ as C,h as k,b$ as q,c0 as x,r as p,c1 as M,c2 as H,c3 as L,c4 as P,c5 as O,c6 as B,c7 as A}from"./index-Dr4vUuxb.js";function R(r,e){const s=new Set(e);return r.filter(t=>!s.has(t))}function T(r,e,s){const t=r.slice(0);return t[e]=s,t}var z=class extends Q{#i;#e;#n;#r;#s;#t;#o;#u;#h;#c=[];constructor(r,e,s){super(),this.#i=r,this.#r=s,this.#n=[],this.#s=[],this.#e=[],this.setQueries(e)}onSubscribe(){this.listeners.size===1&&this.#s.forEach(r=>{r.subscribe(e=>{this.#d(r,e)})})}onUnsubscribe(){this.listeners.size||this.destroy()}destroy(){this.listeners=new Set,this.#s.forEach(r=>{r.destroy()})}setQueries(r,e){this.#n=r,this.#r=e,y.batch(()=>{const s=this.#s,t=this.#f(this.#n);t.forEach(o=>o.observer.setOptions(o.defaultedQueryOptions));const i=t.map(o=>o.observer),n=i.map(o=>o.getCurrentResult()),u=s.length!==i.length,a=i.some((o,d)=>o!==s[d]),f=u||a,b=f?!0:n.some((o,d)=>{const g=this.#e[d];return!g||!S(o,g)});!f&&!b||(f&&(this.#c=t,this.#s=i),this.#e=n,this.hasListeners()&&(f&&(R(s,i).forEach(o=>{o.destroy()}),R(i,s).forEach(o=>{o.subscribe(d=>{this.#d(o,d)})})),this.#p()))})}getCurrentResult(){return this.#e}getQueries(){return this.#s.map(r=>r.getCurrentQuery())}getObservers(){return this.#s}getOptimisticResult(r,e){const s=this.#f(r),t=s.map(n=>n.observer.getOptimisticResult(n.defaultedQueryOptions)),i=s.map(n=>n.defaultedQueryOptions.queryHash);return[t,n=>this.#l(n??t,e,i),()=>this.#a(t,s)]}#a(r,e){return e.map((s,t)=>{const i=r[t];return s.defaultedQueryOptions.notifyOnChangeProps?i:s.observer.trackResult(i,n=>{e.forEach(u=>{u.observer.trackProp(n)})})})}#l(r,e,s){if(e){const t=this.#h,i=s!==void 0&&t!==void 0&&(t.length!==s.length||s.some((n,u)=>n!==t[u]));return(!this.#t||this.#e!==this.#u||i||e!==this.#o)&&(this.#o=e,this.#u=this.#e,s!==void 0&&(this.#h=s),this.#t=w(this.#t,e(r))),this.#t}return r}#b(){return this.#r?.combine!==void 0&&this.#s.some((r,e)=>r.options.suspense&&this.#e[e]?.data===void 0)}#f(r){const e=new Map;this.#s.forEach(t=>{const i=t.options.queryHash;if(!i)return;const n=e.get(i);n?n.push(t):e.set(i,[t])});const s=[];return r.forEach(t=>{const i=this.#i.defaultQueryOptions(t),u=e.get(i.queryHash)?.shift()??new C(this.#i,i);s.push({defaultedQueryOptions:i,observer:u})}),s}#d(r,e){const s=this.#s.indexOf(r);s!==-1&&(this.#e=T(this.#e,s,e),this.#p())}#p(){if(this.hasListeners()){const r=this.#a(this.#e,this.#c),e=this.#b(),s=this.#t,t=e?s:this.#l(r,this.#r?.combine);(e||s!==t)&&y.batch(()=>{this.listeners.forEach(i=>{i(this.#e)})})}}};function U({queries:r,...e},s){const t=k(),i=q(),n=x(),u=p.useMemo(()=>r.map(h=>{const c=t.defaultQueryOptions(h);return c._optimisticResults=i?"isRestoring":"optimistic",c}),[r,t,i]);u.forEach(h=>{M(h);const c=t.getQueryCache().get(h.queryHash);H(h,n,c)}),L(n);const[a]=p.useState(()=>new z(t,u,e)),[f,b,o]=a.getOptimisticResult(u,e.combine),d=!i&&e.subscribed!==!1;p.useSyncExternalStore(p.useCallback(h=>d?a.subscribe(y.batchCalls(h)):P,[a,d]),()=>a.getCurrentResult(),()=>a.getCurrentResult()),p.useEffect(()=>{a.setQueries(u,e)},[u,e,a]);const m=f.some((h,c)=>O(u[c],h))?f.flatMap((h,c)=>{const l=u[c];if(l&&O(l,h)){const E=new C(t,l);return B(l,E,n)}return[]}):[];if(m.length>0)throw Promise.all(m);const v=f.find((h,c)=>{const l=u[c];return l&&A({result:h,errorResetBoundary:n,throwOnError:l.throwOnError,query:t.getQueryCache().get(l.queryHash),suspense:l.suspense})});if(v?.error)throw v.error;return b(o())}export{U as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as E,_ as W,t as Q,f as U,r as o,aN as R,h as O,C as $,q as z,K as B,M as G,N as I,P as X}from"./index-
|
|
1
|
+
import{j as E,_ as W,t as Q,f as U,r as o,aN as R,h as O,C as $,q as z,K as B,M as G,N as I,P as X}from"./index-Dr4vUuxb.js";import{C as V}from"./circle-check-big-Cw87KEA5.js";import{R as J}from"./refresh-cw-TH6uhUPS.js";import{u as P}from"./useQueries-BFoWemke.js";import{i as Y,t as Z}from"./search-token-index-C_6xO745.js";function we({state:e,onRefresh:s,label:t,errorMessage:r,hasUpdate:a,size:u="sm",className:c}){const i=e==="refreshing",n=e==="error",h=e==="success",y=n?E.jsx(W,{className:"size-4 text-danger"}):h?E.jsx(V,{className:"size-4 text-positive"}):E.jsx(J,{className:Q("size-4",i&&"animate-spin")}),w=n?`${t} — failed: ${r??"try again"}`:i?`${t} — refreshing`:h?`${t} — up to date`:a?`${t} — new mail`:t;return E.jsxs("div",{className:"relative inline-flex",children:[E.jsx(U,{variant:"ghost",size:u,icon:y,onClick:s,disabled:i,"aria-label":w,"aria-busy":i||void 0,title:n?r:t,className:c}),e==="idle"&&a&&E.jsx("span",{"aria-hidden":"true",className:"absolute right-1 top-1 size-1.5 rounded-full bg-accent-2"})]})}const ee=new Set(["discovering_mailboxes","syncing_inbox","syncing_others"]);function L(e){return!!e&&ee.has(e)}const q=3e3,te=q*2,T={syncing:!1,resolved:!1,synced:0,total:0};function xe(e,s){const t=e.join(","),[r,a]=o.useState(!1),[u,c]=o.useState(!1);o.useEffect(()=>{a(!1),c(!1)},[t,s]),o.useEffect(()=>{if(!s)return;const m=setTimeout(()=>c(!0),te);return()=>clearTimeout(m)},[t,s]);const i=P({queries:e.map(m=>({...R({path:{accountId:m}}),enabled:s&&!r,refetchInterval:q,meta:{softError:!0}}))}),n=i.every(m=>m.isSuccess||m.isError),h=i.length===0||n||u;let y=!1,w=0,S=0;for(const m of i)if(L(m.data?.syncPhase)){y=!0;for(const l of m.data?.mailboxes??[])w+=l.messagesSynced,S+=l.messagesTotal}const x=s&&h&&!y;return o.useEffect(()=>{x&&a(!0)},[x]),!s||!h?T:{syncing:y,resolved:!0,synced:w,total:S}}const se=180*1e3,pe=30*1e3;let F=0;const M=new Set,ne=(e=Date.now())=>{F=e+se;for(const s of M)s()},Ee=(e=Date.now())=>e<F,be=e=>(M.add(e),()=>{M.delete(e)}),_=6e4,re=new Set(["sent","drafts","trash","archive"]),C=(e,s)=>{const t=new Map;for(const r of e){const a=s.get(r.mailboxId)?.role;a&&re.has(a)||t.set(r.mailboxId,r.messagesTotal)}return t},j=(e,s)=>{const t=[];for(const[r,a]of s)a>(e.get(r)??0)&&t.push(r);return t},oe=(e,s)=>j(e,s).length>0,D=o.createContext(null),ae=()=>{const e=o.useContext(D);if(!e)throw new Error("useMailFreshness must be used inside <MailFreshnessProvider>");return e};function Re({accountIds:e,children:s}){const t=O(),{resultFolderIndex:r}=$(),a=o.useRef(new Map),u=o.useRef(new Set),c=o.useRef(new Map),[i,n]=o.useState(new Set),h=P({queries:e.map(l=>({...R({path:{accountId:l}}),refetchInterval:_,staleTime:_,meta:{softError:!0}}))}),y=h.map(l=>l.dataUpdatedAt).join(","),w=e.join(",");o.useEffect(()=>{let l=!1;const f=new Set(i);e.forEach((d,p)=>{const b=h[p]?.data;if(!b)return;const g=C(b.mailboxes??[],r),k=c.current.get(d);if(c.current.set(d,g),k){const A=j(k,g);A.length>0&&Y(t,Z(A))}if(!u.current.has(d)){u.current.add(d),a.current.set(d,g);return}if(f.has(d))return;const K=a.current.get(d)??new Map;oe(K,g)&&(f.add(d),l=!0)}),l&&n(f)},[w,y]);const S=o.useCallback(l=>l.some(f=>i.has(f)),[i]),x=o.useCallback(l=>{n(f=>{if(l.every(p=>!f.has(p)))return f;const d=new Set(f);for(const p of l)d.delete(p);return d});for(const f of l){const d=t.getQueryData(R({path:{accountId:f}}).queryKey);a.current.set(f,C(d?.mailboxes??[],r)),u.current.add(f)}},[t,r]),m=o.useMemo(()=>({hasNewMail:S,acknowledge:x}),[S,x]);return E.jsx(D.Provider,{value:m,children:s})}const ie=2e3,ce=45e3,ue=e=>new Promise(s=>setTimeout(s,e)),v=e=>e instanceof Error&&e.message?e.message:"Something went wrong",le=e=>{I(e,{softError:!0},"user")&&X(e)},N=(e,s)=>e.fetchQuery({...R({path:{accountId:s}}),staleTime:0}),H=e=>e.mailboxes?.find(s=>s.fullPath?.toUpperCase()==="INBOX")?.lastSyncedAt??0,fe=async({accountId:e,readStatus:s,baselineLastSyncAt:t,baselineInboxSyncedAt:r=0,onInboxSynced:a,deadline:u,pollMs:c=ie})=>{let i=!1;for(;;){const n=await s().then(S=>({ok:!0,data:S})).catch(S=>({ok:!1,error:S}));if(!n.ok)return{accountId:e,message:v(n.error)};const{syncPhase:h,lastSyncAt:y}=n.data;if((y??0)>t&&!L(h))return h==="error"?{accountId:e,message:"Sync failed for this account"}:void 0;if(!i&&H(n.data)>r&&(i=!0,a?.()),Date.now()>=u)return{accountId:e,message:"Refresh is taking longer than usual"};await ue(c)}},de=async(e,s,t,r,a)=>{const u=await N(e,t).then(n=>({ok:!0,lastSyncAt:n.lastSyncAt??0,inboxSyncedAt:H(n)})).catch(n=>({ok:!1,error:n}));if(!u.ok)return{accountId:t,enqueued:!1,ok:!1,message:v(u.error)};const c=await B({path:{accountId:t},throwOnError:!0}).then(()=>({ok:!0})).catch(n=>({ok:!1,error:n}));if(!c.ok)return le(c.error),{accountId:t,enqueued:!1,ok:!1,message:v(c.error)};s.recordEvent("sync.triggered");const i=await fe({accountId:t,readStatus:()=>N(e,t),baselineLastSyncAt:u.lastSyncAt,baselineInboxSyncedAt:u.inboxSyncedAt,onInboxSynced:()=>a(t),deadline:r});return i?{accountId:t,enqueued:!0,ok:!1,message:i.message}:{accountId:t,enqueued:!0,ok:!0}},Me=(e,s={})=>{const t=O(),r=z(),{acknowledge:a}=ae(),[u,c]=o.useState("idle"),[i,n]=o.useState(),h=o.useRef(0),y=o.useRef(e);y.current=e;const w=o.useRef(s);w.current=s,o.useEffect(()=>{if(u!=="success")return;const x=setTimeout(()=>c("idle"),2e3);return()=>clearTimeout(x)},[u]);const S=o.useCallback(()=>{const x=y.current;if(x.length===0){c("error"),n("Nothing to refresh yet");return}const m=++h.current;c("refreshing"),n(void 0),ne();const l=f=>{h.current===m&&(t.invalidateQueries({queryKey:G({path:{accountId:f}})}),w.current.onSettled?.())};(async()=>{const f=Date.now()+ce,d=await Promise.all(x.map(g=>de(t,r,g,f,l)));if(h.current!==m)return;const p=d.filter(g=>g.enqueued).map(g=>g.accountId);for(const g of p)l(g);p.length>0&&a(p);const b=d.filter(g=>!g.ok);b.length===0?c("success"):(c("error"),n(b[0]?.message))})()},[a,t,r]);return{state:u,errorMessage:i,refresh:S}};export{pe as H,Re as M,we as R,Me as a,L as b,xe as c,Ee as i,be as s,ae as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{G as r,r as s,b3 as t}from"./index-
|
|
1
|
+
import{G as r,r as s,b3 as t}from"./index-Dr4vUuxb.js";import{u as m}from"./useQueries-BFoWemke.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{cn as V,r as g,j as a,t as b,I as Q,h as Y,as as q,i as X,au as Z,cD as J,bL as ee,aa as te,_ as se,X as re,cS as R,C as ne,cf as ae}from"./index-
|
|
1
|
+
import{cn as V,r as g,j as a,t as b,I as Q,h as Y,as as q,i as X,au as Z,cD as J,bL as ee,aa as te,_ as se,X as re,cS as R,C as ne,cf as ae}from"./index-Dr4vUuxb.js";import{K as k}from"./kbd-DPdY5I-P.js";import{B as oe,b as ie}from"./useMessageBodyContent-CzhcDnKQ.js";import{i as ce}from"./search-scope-B5-OK3Cq.js";const le=(e,t)=>{const r=e==="newsletter"||e==="marketing"||t;return{framed:r,isPlain:!r}},de=()=>`
|
|
2
2
|
/* Zero the UA default body margin and clamp the document to the iframe width so
|
|
3
3
|
wide author markup can't push the body (and the page) past the viewport. */
|
|
4
4
|
html, body {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as T,as as C,i as I,cz as k,dV as A,r as v,j as p,dW as h,dX as E,dY as j,C as w,cf as z,c as D,dv as Q,cS as R}from"./index-
|
|
1
|
+
import{h as T,as as C,i as I,cz as k,dV as A,r as v,j as p,dW as h,dX as E,dY as j,C as w,cf as z,c as D,dv as Q,cS as R}from"./index-Dr4vUuxb.js";import{P as O}from"./attachment-file-CJVQ54ld.js";import{ag as P,ah as _}from"./MailListHeader-BUkJWZ1q.js";import{i as N,t as q}from"./search-token-index-C_6xO745.js";import{a as B}from"./useLabels-DBJyfxWh.js";import{n as U}from"./search-query-Cr_ZXBCp.js";import{b as F}from"./search-scope-B5-OK3Cq.js";import{u as G,p as H}from"./useSearchTokenContext-CaBVFOAa.js";const ne=e=>{const t=new Set;for(const a of e)a&&t.add(a);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}},V=e=>{const{mailboxId:t,messages:a}=e,c=T(),{pushError:l}=C(),{mutateAsync:i,isPending:o}=I({...A(),onError:(n,d)=>{l({title:d.body.action==="Remove"?"Couldn't remove label":"Couldn't apply label",detail:k(n),error:n})},onSettled:(n,d,u)=>{N(c,q(P(u.body.messageIds??[],a??[],t)))}});return{applyLabel:v.useCallback((n,d,u)=>{n.length!==0&&_(n,m=>i({body:{messageIds:m,labelId:d,action:u}}))},[i]),isPending:o}};function re({accountId:e,mailboxId:t,messageIds:a}){const{labels:c}=B(e),{applyLabel:l}=V({mailboxId:t}),i=v.useMemo(()=>c.map(o=>({key:o.labelId,label:o.name,icon:p.jsx("span",{className:`size-2.5 rounded-full ${E(o.color)?h[o.color]:h.Default}`}),onSelect:()=>l(a,o.labelId,"Apply")})),[c,a,l]);return i.length===0?null:p.jsx(O,{triggerLabel:"Apply label to selected messages",triggerIcon:p.jsx(j,{className:"size-4 text-fg-subtle"}),triggerText:"Apply label",items:i,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 K=20,W=new Set(Object.values(R)),X=e=>e!==void 0&&W.has(e)?e:void 0,Y=e=>{if(e.some(t=>t.type==="isUnread"))return!1;if(e.some(t=>t.type==="isRead"))return!0};function ie({mailboxId:e,filterCategory:t}={}){const{searchQuery:a}=w(),c=G(),l=z(),i=U(a),{freeText:o,tokens:r}=H(i,c),n=o.length>0,d=r.find(s=>s.type==="category"),u=X(t)??d?.category,m=r.some(s=>s.type==="hasAttachment")?!0:void 0,f=r.some(s=>s.type==="isStarred")?!0:void 0,y=Y(r),b=r.find(s=>s.type==="after"),g=r.find(s=>s.type==="before"),S=r.find(s=>s.type==="in"),x=F({browsed:l,callerMailboxId:e,inTokenMailboxId:S?.mailboxId}),{data:L,isLoading:M}=D({...Q({query:{query:o,mailboxId:x,limit:K,...u!==void 0?{category:u}:{},...m!==void 0?{hasAttachment:m}:{},...f!==void 0?{hasStars:f}:{},...y!==void 0?{isRead:y}:{},...b?{sentDateFrom:b.epochSeconds}:{},...g?{sentDateTo:g.epochSeconds}:{}}}),enabled:n,staleTime:6e4});return{hits:L?.items??[],isLoading:n&&M}}export{re as L,ne as r,ie as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h as g,as as p,c as f,d as m,r,i as y,au as T,o as E,l as d}from"./index-
|
|
1
|
+
import{h as g,as as p,c as f,d as m,r,i as y,au as T,o as E,l as d}from"./index-Dr4vUuxb.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};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a8 as d,eg as g,r as u,eh as y,bQ as m,u as D,ce as b,ef as C}from"./index-
|
|
1
|
+
import{a8 as d,eg as g,r as u,eh as y,bQ as m,u as D,ce as b,ef as C}from"./index-Dr4vUuxb.js";const i="/calendar/$view/$date";function I(){const e=d({from:i,shouldThrow:!1}),a=g({from:i,shouldThrow:!1}),t=e?.view??"",n=e?.date??"",r=a?.calendarId;return u.useMemo(()=>({...y({view:t,date:n},m(new Date)),calendarIds:r??[]}),[t,n,r])}function z(){const e=d({from:"/calendar/$view/$date/$calendarObjectId",shouldThrow:!1}),a=d({from:"/calendar/$view/$date/$calendarObjectId/$recurrenceId",shouldThrow:!1}),t=e?.calendarObjectId,n=a?.recurrenceId;return u.useMemo(()=>t?{calendarObjectId:t,recurrenceId:n}:void 0,[t,n])}function j(){return d({from:"/calendar/$view/$date/new",shouldThrow:!1})!==void 0}function A(){const e=D(),a=b(),{view:t,date:n}=I(),r=u.useCallback(s=>{e({to:i,params:s,search:!0,hash:a})},[e,a]);return u.useMemo(()=>({goToView:s=>r({view:s,date:n}),step:s=>r({view:t,date:C(n,t,s)}),goToToday:()=>r({view:t,date:m(new Date)}),setAnchorDate:s=>e({to:i,params:{view:t,date:s},search:!0,hash:a,replace:!0}),zoomToDay:s=>r({view:"day",date:s}),openEvent:(s,o)=>e(o===void 0||o===""?{to:"/calendar/$view/$date/$calendarObjectId",params:{view:t,date:n,calendarObjectId:s},search:!0,hash:a}:{to:"/calendar/$view/$date/$calendarObjectId/$recurrenceId",params:{view:t,date:n,calendarObjectId:s,recurrenceId:o},search:!0,hash:a}),closeEvent:()=>r({view:t,date:n}),openComposer:()=>e({to:"/calendar/$view/$date/new",params:{view:t,date:n},search:!0,hash:a})}),[r,e,a,t,n])}const c=e=>String(e).padStart(2,"0"),N=e=>`${e.getUTCFullYear()}-${c(e.getUTCMonth()+1)}-${c(e.getUTCDate())}`,p=e=>{const a=e<0?"-":"+",t=Math.abs(e);return`${a}${c(Math.floor(t/60))}:${c(t%60)}`};function w(e,a){const t=new Date(`${e}T${a}:00`);return`${e}T${a}:00${p(-t.getTimezoneOffset())}`}const l=new Map;function O(e){if(l.has(e))return l.get(e);let a;try{a=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}catch{a=void 0}return l.set(e,a),a}function h(e,a){const t=O(e);if(!t)return Number.NaN;const n=t.formatToParts(new Date(a)),r=T=>Number(n.find(v=>v.type===T)?.value),s=r("hour")%24;return(Date.UTC(r("year"),r("month")-1,r("day"),s,r("minute"),r("second"))-a)/6e4}function P(e,a,t){if(t==="")return`${e}T${a}:00+00:00`;const n=Date.parse(`${e}T${a}:00Z`),r=h(t,n);if(Number.isNaN(r))return w(e,a);const s=h(t,n-r*6e4);return`${e}T${a}:00${p(Number.isNaN(s)?r:s)}`}const $=e=>w(e,"00:00");function f(e,a){const[t,n,r]=e.split("-").map(Number);return N(new Date(Date.UTC(t,n-1,r+a)))}function U(e){const[a,t,n]=e.split("-").map(Number),r=new Date(Date.UTC(a,t-1,n));return f(e,-((r.getUTCDay()+6)%7))}function E(e,a){const[t,n]=a.split("-").map(Number);if(e==="year")return[`${t}-01-01`,`${t+1}-01-01`];if(e==="month"){const s=`${t}-${c(n)}-01`,o=n===12?`${t+1}-01-01`:`${t}-${c(n+1)}-01`;return[s,o]}if(e==="day")return[a,f(a,1)];const r=U(a);return[r,f(r,7)]}function S(e,a){const[t,n]=E(e,a);return{from:$(t),to:$(n)}}export{f as a,A as b,S as c,z as d,j as e,P as i,I 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-Dr4vUuxb.js"></script>
|
|
42
42
|
<link rel="stylesheet" crossorigin href="/assets/index-SEZpqOSx.css">
|
|
43
43
|
</head>
|
|
44
44
|
<body>
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-4Qa4330_.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ai as m,j as o,O as p}from"./index-4Qa4330_.js";import{a}from"./MailShell-BLXdPOU0.js";import{M as r}from"./MailboxPane-BZG47AEE.js";import{d as e}from"./search-token-index-BMwa_Z3e.js";import{u as s}from"./search-mirror-DIDt96BP.js";import"./FullCompose-B4zxA29_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useQueries-DNrQQ492.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./EmptyState-DEwOy6vH.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./useLayoutTier-C39QtN4M.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./NavMenuButton-4CxHRrLT.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-B_i9APwj.js";import"./circle-help-EcA3IfXe.js";import"./circle-check-CpQMEllW.js";function oo(){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{oo as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{M as r}from"./MailboxPane-BZG47AEE.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useQueries-DNrQQ492.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./NavMenuButton-4CxHRrLT.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-B_i9APwj.js";import"./circle-help-EcA3IfXe.js";import"./circle-check-CpQMEllW.js";function S(){return o.jsx(r.Reading,{})}export{S as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-4Qa4330_.js";import{B as o}from"./BriefPane-CRw1C9B5.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-B1bng5Jq.js";function L(){return r.jsx(o.Reading,{})}export{L as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{F as r}from"./FlaggedPane-DZWubYUP.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./refresh-cw-bDnuQYhl.js";import"./wizard-selection-B1bng5Jq.js";function H(){return o.jsx(r.Reading,{})}export{H as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{O as t}from"./OutboxPane-DgU67WIZ.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-4h1hG4t6.js";import"./clock-BpnKTaTG.js";import"./row-actions-BNzffRGj.js";import"./rotate-ccw-DJR8wUFs.js";import"./NavMenuButton-4CxHRrLT.js";import"./menu-DNTK2lSq.js";import"./format-BncXl-_C.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{en as o,j as m}from"./index-4Qa4330_.js";import{O as e}from"./OpenCalendarEvent-2EGfgL5s.js";import"./CalendarComposePane-DjnpgECc.js";import"./window-D2_PzNJF.js";import"./ErrorState-CYdw-mIz.js";import"./calendar-color-Cwadf2k3.js";import"./attendee-row-Cegj9Dge.js";import"./avatar-D8paP2w2.js";import"./clock-BpnKTaTG.js";import"./map-pin-CluZVGCH.js";import"./mail-DgA4N8vw.js";import"./pencil-Bfqdtneb.js";import"./useCalendars-yWQBsqBy.js";import"./useCalendarData-B0qQiSlB.js";import"./useQueries-DNrQQ492.js";function E(){const{calendarObjectId:r,recurrenceId:t}=o.useParams();return m.jsx(e,{calendarObjectId:r,recurrenceId:t})}export{E as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-4Qa4330_.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-4Qa4330_.js";const n=o;export{n as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{O as o}from"./index-4Qa4330_.js";const n=o;export{n as component};
|
package/assets/brief-DMgsVLCK.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r,O as i}from"./index-4Qa4330_.js";import{a as m}from"./MailShell-BLXdPOU0.js";import{B as o}from"./BriefPane-CRw1C9B5.js";import{d as p}from"./search-token-index-BMwa_Z3e.js";import{u as e}from"./search-mirror-DIDt96BP.js";import"./FullCompose-B4zxA29_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./EmptyState-DEwOy6vH.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./useLayoutTier-C39QtN4M.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./useQueries-DNrQQ492.js";import"./menu-DNTK2lSq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-B1bng5Jq.js";function W(){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{W as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e}from"./index-4Qa4330_.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-B4zxA29_.js";import"./index-4Qa4330_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";const C=o;export{C as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-B4zxA29_.js";import"./index-4Qa4330_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";const C=o;export{C as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-B4zxA29_.js";import"./index-4Qa4330_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";const C=o;export{C as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as o}from"./FullCompose-B4zxA29_.js";import"./index-4Qa4330_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";const C=o;export{C as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{b1 as v,b2 as T}from"./index-4Qa4330_.js";const k=e=>new Promise(n=>{n(JSON.parse(e))}),l=["accounts","labels","filters","addressFlags","settings"],g={accounts:"Accounts",labels:"Labels",filters:"Rules & filters",addressFlags:"Senders",settings:"Folders & appearance"},S=["created","updated","unchanged","skipped","rejected"],$={created:"positive",updated:"accent",unchanged:"neutral",skipped:"warning",rejected:"danger"},m=e=>S.includes(e)?e:"rejected",h="unknown",p=e=>l.includes(e)?e:void 0,I=e=>{const n=new Map;return e.forEach((t,i)=>{const a=p(t.section)??h,r=n.get(a)??[];r.push({id:`${a}-${t.key}-${i}`,label:t.key,verdict:m(t.verdict),reason:a===h?t.reason??`This instance does not know the "${t.section}" section, so it cannot say what this entry does.`:t.reason}),n.set(a,r)}),[...l,h].filter(t=>n.has(t)).map(t=>({id:t,title:t===h?"Not recognised":g[t],entries:n.get(t)??[]}))},j=e=>{const n={created:0,updated:0,unchanged:0,skipped:0,rejected:0};for(const o of e)n[m(o.verdict)]+=1;return n},E={NotAnObject:()=>({title:"That is not a Reader config file",explanation:"The file was read, but it is not a configuration document — a Reader config is a JSON object carrying a kind and a schemaVersion.",fix:"Export one from Settings › Advanced on the instance you are moving from, or run remit config save on its host."}),WrongKind:()=>({title:"That is not a Reader config file",explanation:"The file parses as JSON but does not declare itself a Reader configuration, so nothing here can be trusted to mean what it looks like.",fix:"Export one from Settings › Advanced on the instance you are moving from, or run remit config save on its host."}),UnsupportedVersion:e=>({title:"This file was written by a newer Reader",explanation:e.message||"The file declares a schema version this instance does not read, so importing it would drop settings it cannot understand.",fix:"Update this Reader, then import again. The file is unchanged and safe to keep."}),UnknownKeys:e=>({title:"The file contains settings this version does not know",explanation:"An unknown key is refused rather than quietly dropped: losing configuration without saying so is exactly what this feature exists to prevent.",fix:`Update this Reader, or remove the named keys from the file and import again. ${e.message}`}),CredentialPresent:()=>({title:"The file carries a credential",explanation:"A configuration document describes which credential an account needs; it never carries one. Reader refuses the file rather than importing around it — the secret may now be in your backups, your chat history, or a pull request.",fix:"Delete the field from the file and import again, then change that mailbox's password. Exports written by Reader never contain one."}),Malformed:e=>({title:"The file does not match the configuration format",explanation:"Every part of the document has to validate before anything is written, and this one does not.",fix:`Re-export it from the instance you are moving from. ${e.message}`}),duplicate_key:e=>({title:"The file names something twice",explanation:"A configuration names each account, label and filter once, so a document with two of the same key has no single answer to import.",fix:`Remove the duplicate and import again. ${e.message}`}),unknown_label:e=>({title:"A rule points at a label that is not here",explanation:"The file applies a label neither it nor this instance carries, so the rule would land doing nothing.",fix:`Add the label to the file, or create it here first, then import again. ${e.message}`}),unknown_account:e=>({title:"A rule points at an account that is not here",explanation:"The file files mail into a folder on an account it does not carry, so the rule has no destination to bind to.",fix:`Export the configuration again from an instance that holds both, then import that file. ${e.message}`})},R=e=>({title:"The file could not be imported",explanation:e.message||"The import was refused and nothing was written.",fix:"Re-export the configuration from the instance you are moving from and try again. If it keeps failing, report it with the line below."}),x="import_write_failed",N="config_not_empty",F=e=>{const n=v(e);if(n!==void 0&&n!==409)return;const o=e instanceof T?e.body:e;if(typeof o!="object"||o===null)return;const t=o;if(t.code===N)return{message:typeof t.message=="string"?t.message:"",details:typeof t.details=="object"&&t.details!==null?t.details:void 0}},C=e=>{const n=e.errors.find(t=>t.code!==x);return n?{...(E[n.code]??R)(n),raw:`${n.code}: ${n.message}`}:void 0},O=e=>e.errors.find(n=>n.code===x),w="Nothing from this section was written.",D=e=>{const n=O(e),o=n?.details?.section,t=o?p(o):void 0,i=!e.applied,a=new Map;for(const s of e.items){if(m(s.verdict)==="rejected")continue;const c=p(s.section);c&&a.set(c,(a.get(c)??0)+1)}const r=(s,c)=>l.map(d=>({section:d,title:g[d],state:s,detail:c}));if(!t){if(i)return r("not-landed",w);const s=o?`The import stopped in "${o}", which this instance does not recognise, so it cannot say whether this section was written.`:"The import stopped without naming where, so it cannot say whether this section was written. Open Settings to see what is here.";return r("unknown",s)}const f=l.indexOf(t);return l.map((s,c)=>{const d=g[s];if(s===t)return{section:s,title:d,state:"failed",detail:n?.message??"This section could not be written."};if(c>f)return{section:s,title:d,state:"not-attempted",detail:"Not attempted — the import stopped before this section."};if(i)return{section:s,title:d,state:"not-landed",detail:w};const u=a.get(s)??0;return{section:s,title:d,state:"landed",detail:u===0?"Nothing in the file for this section.":`${u} ${u===1?"entry":"entries"} written.`}})},_="folder_not_found_yet",L=e=>{const n=new Set,o=[];for(const t of e.warnings){if(t.code!==_)continue;const i=t.details?.folderPath;if(!i)continue;const a=t.details?.filter,r=t.details?.accountId,f=`${r??""}:${i}:${a??""}`;n.has(f)||(n.add(f),o.push({path:i,accountId:r,waitingFor:a?`Rule “${a}”`:"A folder role or a folder's own settings"}))}return o},y=2*1024*1024,b=Symbol("not json"),J=async(e,n,o)=>{if(n>y)return{ok:!1,failure:{title:"That file is too large to be a config file",explanation:`${e} is ${Math.round(n/1024)} kB. A Reader configuration is tens of kilobytes; a file this size is something else.`,fix:"Pick the .json file written by Settings › Advanced, or by remit config save.",raw:`${n} bytes > ${y} byte limit`}};let t="";const i=await k(o).catch(a=>(t=a instanceof Error?a.message:String(a),b));return i===b?{ok:!1,failure:{title:"That file is not JSON",explanation:`${e} could not be read as JSON at all, so there is nothing in it to import.`,fix:"Pick the .json file written by Settings › Advanced, or by remit config save.",raw:t}}:typeof i!="object"||i===null||Array.isArray(i)?{ok:!1,failure:{title:"That is not a Reader config file",explanation:`${e} is valid JSON but not a configuration document — a Reader config is a JSON object carrying a kind and a schemaVersion.`,fix:"Export one from Settings › Advanced on the instance you are moving from, or run remit config save on its host.",raw:`expected a JSON object, found ${Array.isArray(i)?"an array":typeof i}`}}:{ok:!0,document:i}},P=e=>`reader-config.${e.toISOString().slice(0,10)}.json`,U=e=>e<1024?`${e} B`:`${Math.round(e/1024)} kB`;export{x as W,F as a,C as b,j as c,P as e,U as f,I as g,L as p,J as r,D as s,$ as v,O as w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o,O as i}from"./index-4Qa4330_.js";import{a as m}from"./MailShell-BLXdPOU0.js";import{F as r}from"./FlaggedPane-DZWubYUP.js";import{d as p}from"./search-token-index-BMwa_Z3e.js";import{u as e}from"./search-mirror-DIDt96BP.js";import"./FullCompose-B4zxA29_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./EmptyState-DEwOy6vH.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./useLayoutTier-C39QtN4M.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./useQueries-DNrQQ492.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./refresh-cw-bDnuQYhl.js";import"./wizard-selection-B1bng5Jq.js";function N(){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{N as component};
|
package/assets/index-BA92i_bz.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{el as o,j as r}from"./index-4Qa4330_.js";import{O as m}from"./OpenCalendarEvent-2EGfgL5s.js";import"./CalendarComposePane-DjnpgECc.js";import"./window-D2_PzNJF.js";import"./ErrorState-CYdw-mIz.js";import"./calendar-color-Cwadf2k3.js";import"./attendee-row-Cegj9Dge.js";import"./avatar-D8paP2w2.js";import"./clock-BpnKTaTG.js";import"./map-pin-CluZVGCH.js";import"./mail-DgA4N8vw.js";import"./pencil-Bfqdtneb.js";import"./useCalendars-yWQBsqBy.js";import"./useCalendarData-B0qQiSlB.js";import"./useQueries-DNrQQ492.js";function R(){const{calendarObjectId:t}=o.useParams();return r.jsx(m,{calendarObjectId:t})}export{R as component};
|
package/assets/index-B_BJ_kn9.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{M as i}from"./MailboxPane-BZG47AEE.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useQueries-DNrQQ492.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./NavMenuButton-4CxHRrLT.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-B_i9APwj.js";import"./circle-help-EcA3IfXe.js";import"./circle-check-CpQMEllW.js";function S(){return o.jsx(i.Reading,{})}export{S as component};
|
package/assets/index-Bv71e6fQ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{F as r}from"./FlaggedPane-DZWubYUP.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./refresh-cw-bDnuQYhl.js";import"./wizard-selection-B1bng5Jq.js";function I(){return o.jsx(r.Reading,{})}export{I as component};
|
package/assets/index-C719rmAy.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{M as r}from"./MailboxPane-BZG47AEE.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useQueries-DNrQQ492.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./MailListHeader-BBXPP_8i.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./NavMenuButton-4CxHRrLT.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./bottom-sheet-B_i9APwj.js";import"./circle-help-EcA3IfXe.js";import"./circle-check-CpQMEllW.js";function Q(){return o.jsx(r.Reading,{})}export{Q as component};
|
package/assets/index-CbZUkjB6.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-4Qa4330_.js";import{B as o}from"./BriefPane-CRw1C9B5.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-B1bng5Jq.js";function L(){return r.jsx(o.Reading,{})}export{L as component};
|
package/assets/index-De9gK1T-.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{O as t}from"./OutboxPane-DgU67WIZ.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-4h1hG4t6.js";import"./clock-BpnKTaTG.js";import"./row-actions-BNzffRGj.js";import"./rotate-ccw-DJR8wUFs.js";import"./NavMenuButton-4CxHRrLT.js";import"./menu-DNTK2lSq.js";import"./format-BncXl-_C.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-DeXs3Phj.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as r}from"./index-4Qa4330_.js";import{B as o}from"./BriefPane-CRw1C9B5.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./useRefreshControl-CvYNOvkv.js";import"./circle-check-big-4h1hG4t6.js";import"./refresh-cw-bDnuQYhl.js";import"./useLabels-Csu0jRrL.js";import"./useSemanticSearch-DFkEq0vQ.js";import"./search-query-Cr_ZXBCp.js";import"./wizard-selection-B1bng5Jq.js";function M(){return r.jsx(o.Reading,{})}export{M as component};
|
package/assets/index-PfkoyDzO.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as t,am as o}from"./index-4Qa4330_.js";const n=()=>t.jsx(o,{to:"/settings/accounts"});export{n as component};
|
package/assets/index-jeMVjxHB.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as o}from"./index-4Qa4330_.js";import{F as r}from"./FlaggedPane-DZWubYUP.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./search-scope-B5-OK3Cq.js";import"./MailListHeader-BBXPP_8i.js";import"./search-token-index-BMwa_Z3e.js";import"./useLayoutTier-C39QtN4M.js";import"./useQueries-DNrQQ492.js";import"./attachment-file-DQIgObpb.js";import"./mail-DgA4N8vw.js";import"./avatar-D8paP2w2.js";import"./index-DE1TsJN7.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./EmptyState-DEwOy6vH.js";import"./ErrorState-CYdw-mIz.js";import"./download-C0qjkDYj.js";import"./calendar-event-chip-DNFKxXZq.js";import"./calendar-color-Cwadf2k3.js";import"./map-pin-CluZVGCH.js";import"./attendee-row-Cegj9Dge.js";import"./clock-BpnKTaTG.js";import"./shield-check-PzpD6xQR.js";import"./useFilters-DETsTYkk.js";import"./confirm-dialog-DuVcxiku.js";import"./menu-DNTK2lSq.js";import"./MailViewChrome-DbJa-Xsl.js";import"./refresh-cw-bDnuQYhl.js";import"./wizard-selection-B1bng5Jq.js";function H(){return o.jsx(r.Reading,{})}export{H as component};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{q as n,h as i,u as a,r as m,j as s}from"./index-4Qa4330_.js";import{O as p}from"./OnboardingWizard-DOnsYkZz.js";import{c}from"./onboarding-completion-BHcMKM1Q.js";import"./kbd-DLH3W4dT.js";import"./credential-steps-CXT2Qyeb.js";import"./card-C1y_kjNe.js";import"./account-form-helpers-DhckT_PN.js";import"./mail-DgA4N8vw.js";import"./file-json-DoJijJnG.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-4Qa4330_.js";import{a as m}from"./MailShell-BLXdPOU0.js";import{u as p,O as t}from"./OutboxPane-DgU67WIZ.js";import{u as s}from"./search-mirror-DIDt96BP.js";import"./FullCompose-B4zxA29_.js";import"./ErrorState-CYdw-mIz.js";import"./index-DE1TsJN7.js";import"./useMessageBodyContent-zG1JTDGX.js";import"./useSignature-Rd4aiqH6.js";import"./account-form-helpers-DhckT_PN.js";import"./useDebouncedValue-Coj_yCGS.js";import"./sections-C8WG3waC.js";import"./format-BncXl-_C.js";import"./confirm-dialog-DuVcxiku.js";import"./useSearchTokenContext-BMdEz_tr.js";import"./kbd-DLH3W4dT.js";import"./search-scope-B5-OK3Cq.js";import"./circle-check-big-4h1hG4t6.js";import"./clock-BpnKTaTG.js";import"./row-actions-BNzffRGj.js";import"./rotate-ccw-DJR8wUFs.js";import"./NavMenuButton-4CxHRrLT.js";import"./menu-DNTK2lSq.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-4Qa4330_.js";const n=()=>t.jsx(o,{});export{n as component};
|