@react-email/ui 6.11.0 → 6.11.1
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/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/diagnostics/route-bundle-stats.json +4 -4
- package/.next/fallback-build-manifest.json +3 -3
- package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/bin/esbuild +0 -0
- package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/lib/main.d.ts +4 -0
- package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/lib/main.js +12 -8
- package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/node_modules/.bin/esbuild +1 -1
- package/.next/node_modules/esbuild-7414109b4a92ea96/package.json +74 -0
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/preview/[...slug]/page/server-reference-manifest.json +8 -8
- package/.next/server/app/preview/[...slug]/page.js +2 -2
- package/.next/server/app/preview/[...slug]/page.js.nft.json +1 -1
- package/.next/server/app/preview/[...slug]/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0qzmzxr._.js → [root-of-the-server]__1gbngpf._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__16pew7q._.js → [root-of-the-server]__1msi_cg._.js} +5 -5
- package/.next/server/chunks/ssr/[root-of-the-server]__1zo00bn._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1zo00bn._.js.map +1 -1
- package/.next/server/chunks/ssr/_06cxv27._.js +1 -1
- package/.next/server/chunks/ssr/_06cxv27._.js.map +1 -1
- package/.next/server/chunks/ssr/_14fryvc._.js +2 -2
- package/.next/server/chunks/ssr/_14fryvc._.js.map +1 -1
- package/.next/server/chunks/ssr/_1hvpqks._.js +1 -1
- package/.next/server/chunks/ssr/_1hvpqks._.js.map +1 -1
- package/.next/server/chunks/ssr/_1t-uii1._.js +1 -1
- package/.next/server/chunks/ssr/_1t-uii1._.js.map +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +9 -9
- package/.next/static/chunks/{01zp6331799hp.js → 12bg8513zglpu.js} +2 -2
- package/.next/static/chunks/{13863qoo60n8f.css → 2121nzyi2qc6y.css} +1 -1
- package/.next/static/chunks/{1ls1ukrsmy0rp.js → 2pibm961imh07.js} +1 -1
- package/.next/trace +1 -1
- package/.next/trace-build +1 -1
- package/package.json +3 -3
- package/.next/node_modules/esbuild-5ec11f68905375e1/package.json +0 -74
- /package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/LICENSE.md +0 -0
- /package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/README.md +0 -0
- /package/.next/node_modules/{esbuild-5ec11f68905375e1 → esbuild-7414109b4a92ea96}/install.js +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__0qzmzxr._.js.map → [root-of-the-server]__1gbngpf._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__16pew7q._.js.map → [root-of-the-server]__1msi_cg._.js.map} +0 -0
- /package/.next/static/{7WfOqHgCzBQgLlegytQBn → dtjrRYi8bjpMYkUeZfzt_}/_buildManifest.js +0 -0
- /package/.next/static/{7WfOqHgCzBQgLlegytQBn → dtjrRYi8bjpMYkUeZfzt_}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{7WfOqHgCzBQgLlegytQBn → dtjrRYi8bjpMYkUeZfzt_}/_ssgManifest.js +0 -0
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
${m}px !important;
|
|
7
7
|
${g}px !important;
|
|
8
8
|
}
|
|
9
|
-
`),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[r]),(0,e.jsx)(M,{isPresent:r,childRef:u,sizeRef:h,pop:a,children:!1===a?t:A.cloneElement(t,{ref:d})})}let j=({children:t,initial:r,isPresent:n,onExitComplete:s,custom:o,presenceAffectsLayout:a,mode:l,anchorX:u,anchorY:h,root:c})=>{let d=(0,E.useConstant)(V),p=(0,i.useId)(),f=!0,m=(0,i.useMemo)(()=>(f=!1,{id:p,initial:r,isPresent:n,custom:o,onExitComplete:t=>{for(let e of(d.set(t,!0),d.values()))if(!e)return;s&&s()},register:t=>(d.set(t,!1),()=>d.delete(t))}),[n,d,s]);return a&&f&&(m={...m}),(0,i.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[n]),i.useEffect(()=>{n||d.size||!s||s()},[n]),t=(0,e.jsx)(L,{pop:"popLayout"===l,isPresent:n,anchorX:u,anchorY:h,root:c,children:t}),(0,e.jsx)(S.PresenceContext.Provider,{value:m,children:t})};function V(){return new Map}var O=t.i(18015);let D=t=>t.key||"";function N(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:r,initial:n=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:a="sync",propagate:l=!1,anchorX:u="left",anchorY:h="top",root:c})=>{let[d,p]=(0,O.usePresence)(l),f=(0,i.useMemo)(()=>N(t),[t]),m=l&&!d?[]:f.map(D),g=(0,i.useRef)(!0),y=(0,i.useRef)(f),v=(0,E.useConstant)(()=>new Map),b=(0,i.useRef)(new Set),[x,w]=(0,i.useState)(f),[C,S]=(0,i.useState)(f);(0,T.useIsomorphicLayoutEffect)(()=>{g.current=!1,y.current=f;for(let t=0;t<C.length;t++){let e=D(C[t]);m.includes(e)?(v.delete(e),b.current.delete(e)):!0!==v.get(e)&&v.set(e,!1)}},[C,m.length,m.join("-")]);let P=[];if(f!==x){let t=[...f];for(let e=0;e<C.length;e++){let i=C[e],r=D(i);m.includes(r)||(t.splice(e,0,i),P.push(i))}return"wait"===a&&P.length&&(t=P),S(N(t)),w(f),null}let{forceRender:A}=(0,i.useContext)(k.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:C.map(t=>{let i=D(t),x=(!l||!!d)&&(f===C||m.includes(i));return(0,e.jsx)(j,{isPresent:x,initial:(!g.current||!!n)&&void 0,custom:r,presenceAffectsLayout:o,mode:a,root:c,onExitComplete:x?void 0:()=>{if(b.current.has(i)||!v.has(i))return;b.current.add(i),v.set(i,!0);let t=!0;v.forEach(e=>{e||(t=!1)}),t&&(A?.(),S(y.current),l&&p?.(),s&&s())},anchorX:u,anchorY:h,children:t},i)})})}],40802);var B=t.i(37289);let I=i.forwardRef(({...t},i)=>(0,e.jsx)(B.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M7.75 4C6.23122 4 5 5.23122 5 6.75V17.25C5 18.7688 6.23122 20 7.75 20H16.25C17.7688 20 19 18.7688 19 17.25V9C19 8.80109 18.921 8.61032 18.7803 8.46967L14.5303 4.21967C14.3897 4.07902 14.1989 4 14 4H7.75ZM6.5 6.75C6.5 6.05964 7.05964 5.5 7.75 5.5H13V9.25C13 9.66421 13.3358 10 13.75 10H17.5V17.25C17.5 17.9404 16.9404 18.5 16.25 18.5H7.75C7.05964 18.5 6.5 17.9404 6.5 17.25V6.75ZM16.6893 8.5L14.5 6.31066V8.5H16.6893Z",fill:"currentColor",fillOpacity:"0.927",fillRule:"evenodd"})}));I.displayName="IconFile",t.s(["IconFile",0,I],64369)},27818,39730,t=>{"use strict";var e=t.i(31317),i=t.i(62865),r=t.i(65289),n=t.i(64618),s=t.i(20764),o=t.i(68645);t.s([],39730);let a=r.createContext(void 0);t.s(["Shell",0,({children:t})=>{let[l,u]=r.useState(!0),h=(0,i.usePathname)();return r.useEffect(()=>{window.matchMedia("(min-width: 64rem)").matches||u(!0)},[h]),(0,e.jsxs)(a.Provider,{value:{toggleSidebar:()=>u(t=>!t),sidebarToggled:l},children:[(0,e.jsxs)("div",{className:"flex h-17.5 items-center justify-between border-slate-6 border-b px-6 lg:hidden",children:[(0,e.jsx)("div",{className:"flex h-17.5 items-center",children:(0,e.jsx)(s.Logo,{})}),(0,e.jsx)("button",{className:"flex h-6 w-6 items-center justify-center rounded-sm text-white",onClick:()=>{u(t=>!t)},type:"button",children:(0,e.jsxs)("svg",{fill:"none",height:"16",stroke:"white",viewBox:"0 0 15 15",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[(0,e.jsx)("title",{children:"Menu"}),(0,e.jsx)("path",{clipRule:"evenodd",d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:"currentColor",fillRule:"evenodd"})]})})]}),(0,e.jsxs)("div",{className:"w-dvw flex h-[calc(100dvh-4.375rem)] lg:h-dvh",children:[(0,e.jsx)(r.Suspense,{children:(0,e.jsx)(o.Sidebar,{className:(0,n.cn)("fixed top-17.5 left-0 z-9999 h-full max-h-full w-full max-w-full will-change-auto [transition:width_0.2s_ease-in-out]","lg:static lg:inline-block lg:z-auto lg:max-h-full lg:w-[16rem]",{"-translate-x-full lg:translate-x-0":l,"lg:w-0":!l})})}),(0,e.jsx)("main",{className:(0,n.cn)("inline-block relative overflow-hidden will-change-[width]","w-full h-full","[transition:width_0.2s_ease-in-out,transform_0.2s_ease-in-out]",{"lg:w-[calc(100%-16rem)]":l,"opacity-0 lg:opacity-100":!l}),children:t})]})]})},"ShellContext",0,a],27818)},68645,t=>{"use strict";var e=t.i(31317),i=t.i(7284),r=t.i(62865),n=t.i(60203),s=t.i(64618),o=t.i(20764),a=t.i(6470),l=t.i(65289),u=t.i(40802),h=t.i(66699),c=t.i(12086),d=t.i(4332),p=t.i(64369),f=t.i(2884),m=t.i(9334),g=t.i(37289);let y=l.forwardRef(({...t},i)=>(0,e.jsx)(g.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M6.75 4C5.23122 4 4 5.23122 4 6.75V7.75V8V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25V9.75C20 8.23122 18.7688 7 17.25 7H14.0816L13.227 5.43322C12.7451 4.54965 11.819 4 10.8127 4H6.75ZM12.3729 7L11.9101 6.15145L11.91 6.15138C11.6911 5.74989 11.2702 5.5 10.8127 5.5H6.75C6.05964 5.5 5.5 6.05964 5.5 6.75V7H12.3729ZM5.5 17.25V8.5H17.25C17.9404 8.5 18.5 9.05964 18.5 9.75V17.25C18.5 17.9404 17.9404 18.5 17.25 18.5H6.75C6.05964 18.5 5.5 17.9404 5.5 17.25Z",fill:"currentColor",fillRule:"evenodd"})}));y.displayName="IconFolder";let v=l.forwardRef(({...t},i)=>(0,e.jsx)(g.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M6.75 4C5.23122 4 4 5.23122 4 6.75V17.25V17.5C4 17.5933 4.01702 17.6825 4.04812 17.7649C4.28918 19.0376 5.4072 20 6.75 20H17.25C17.9905 20 18.6283 19.7404 19.111 19.2387C19.5681 18.7636 19.836 18.1241 19.9792 17.4279L21.4711 12.206C21.4903 12.139 21.5 12.0697 21.5 12C21.5 10.652 20.5301 9.53047 19.25 9.29534V8.5C19.25 7.5335 18.4665 6.75 17.5 6.75H13.9452L13.227 5.43322C12.7451 4.54965 11.819 4 10.8127 4H6.75ZM17.75 9.25V8.5C17.75 8.36193 17.6381 8.25 17.5 8.25H13.5C13.2255 8.25 12.973 8.10009 12.8416 7.85915L11.9101 6.15145L11.91 6.15138C11.6911 5.74989 11.2702 5.5 10.8127 5.5H6.75C6.05964 5.5 5.5 6.05964 5.5 6.75V13.158L6.79875 9.73401C6.90926 9.44267 7.1884 9.25 7.5 9.25H17.75ZM5.50587 17.372L8.01766 10.75H18.5H18.75C19.4091 10.75 19.949 11.26 19.9966 11.9069L18.5289 17.044C18.5233 17.0634 18.5185 17.0831 18.5146 17.1029C18.4062 17.6448 18.2275 17.9934 18.03 18.1988C17.8513 18.3846 17.6141 18.5 17.25 18.5H6.75C6.10079 18.5 5.56718 18.0051 5.50587 17.372Z",fill:"currentColor",fillRule:"evenodd"})}));v.displayName="IconFolderOpen";let b=new Set,x=({emailsDirectoryMetadata:t,className:i,currentEmailOpenSlug:r})=>{let n=!!r&&r.includes(t.relativePath),o=0===t.emailFilenames.length&&0===t.subDirectories.length,[u,h]=l.useState(b.has(t.absolutePath)||n);return l.useEffect(()=>{n&&(b.add(t.absolutePath),h(!0))},[n,t.absolutePath]),(0,e.jsxs)(a.Root,{className:(0,s.cn)("group",i),onOpenChange:e=>{e?b.add(t.absolutePath):b.delete(t.absolutePath),h(e)},open:u,children:[(0,e.jsxs)(a.Trigger,{className:(0,s.cn)("flex h-8 w-full items-center text-start justify-between gap-2 font-medium text-[14px]",{"cursor-pointer":!o}),children:[u?(0,e.jsx)(v,{className:"w-[20px]",height:"20",width:"20"}):(0,e.jsx)(y,{height:"20",width:"20"}),(0,e.jsx)(f.Heading,{as:"h3",className:"transition grow w-[calc(100%-40px)] truncate duration-200 ease-in-out hover:text-slate-12",color:"gray",size:"2",weight:"medium",children:t.directoryName}),o?null:(0,e.jsx)(m.IconArrowDown,{width:"20",height:"20",className:"ml-auto opacity-60 transition-transform data-[open=true]:rotate-180","data-open":u})]}),o?null:(0,e.jsx)(w,{currentEmailOpenSlug:r,emailsDirectoryMetadata:t,open:u})]})},w=t=>{let i=(0,r.useSearchParams)(),n=(0,r.useRouter)(),o=l.useId();return(0,e.jsx)(u.AnimatePresence,{initial:!1,children:t.open?(0,e.jsx)(a.Content,{asChild:!0,className:"relative overflow-y-hidden pl-1",forceMount:!0,children:(0,e.jsxs)(c.motion.div,{animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},initial:{opacity:0,height:0},children:[t.isRoot?null:(0,e.jsx)("div",{className:"line absolute left-2.5 h-full w-px bg-slate-6"}),(0,e.jsx)("div",{className:"flex flex-col truncate",children:(0,e.jsxs)(h.LayoutGroup,{id:`sidebar-${o}`,children:[t.emailsDirectoryMetadata.subDirectories.map(i=>(0,e.jsx)(x,{className:(0,s.cn)("data-[state=open]:mb-2",!t.isRoot&&"pl-3"),currentEmailOpenSlug:t.currentEmailOpenSlug,emailsDirectoryMetadata:i},i.absolutePath)),t.emailsDirectoryMetadata.emailFilenames.map((r,o)=>{var a;let l,u=t.isRoot?r:`${t.emailsDirectoryMetadata.relativePath}/${r}`,h=!!t.currentEmailOpenSlug&&("tsx"===(l=(a=t.currentEmailOpenSlug).split(".").pop())||"jsx"===l||"ts"===l||"js"===l||"html"===l?a.split(".").slice(0,-1).join("."):a)===u,f=r.endsWith(".html"),m=new URLSearchParams(i);f&&"compatibility"===m.get("toolbar-panel")&&m.set("toolbar-panel","linter");let g=m.toString();return(0,e.jsx)(d.default,{href:{pathname:`/preview/${u}`,search:g},onMouseOver:()=>{n.prefetch(`/preview/${u}${g?`?${g}`:""}`)},children:(0,e.jsxs)(c.motion.span,{animate:{x:0,opacity:1},className:(0,s.cn)("relative flex h-8 w-full items-center text-start gap-2 rounded-md align-middle text-slate-11 text-sm transition-colors duration-100 ease-[cubic-bezier(.6,.12,.34,.96)]",t.isRoot?void 0:"pl-3",{"text-cyan-11":h,"hover:text-slate-12":t.currentEmailOpenSlug!==u}),initial:{x:-10+-(1.5*o),opacity:0},transition:{x:{delay:.03*o,duration:.2},opacity:{delay:.03*o,duration:.2}},children:[h?(0,e.jsx)(c.motion.span,{animate:{opacity:1},className:"absolute inset-0 rounded-md bg-cyan-5 opacity-0 transition-all duration-200 ease-[cubic-bezier(.6,.12,.34,.96)]",exit:{opacity:0},initial:{opacity:0},children:t.isRoot?null:(0,e.jsx)(c.motion.div,{className:"absolute top-1 left-[0.4rem] inset-0 h-6 w-px rounded-xs bg-cyan-11",layoutId:"active-file",transition:{type:"spring",bounce:.2,duration:.6}})}):null,(0,e.jsx)(p.IconFile,{className:"h-5 w-5",height:"20",width:"20"}),(0,e.jsx)("span",{className:"truncate w-[calc(100%-1.25rem)]",children:r})]})},u)})]})})]})}):null})},C=({currentEmailOpenSlug:t,emailsDirectoryMetadata:i})=>(0,e.jsx)("div",{className:"flex w-full h-full flex-col lg:w-full lg:min-w-58",children:(0,e.jsx)("nav",{className:"flex grow flex-col p-4 pr-0 pl-0",children:(0,e.jsx)(a.Root,{open:!0,children:(0,e.jsx)(l.Suspense,{children:(0,e.jsx)(w,{currentEmailOpenSlug:t,emailsDirectoryMetadata:i,isRoot:!0,open:!0})})})})});t.s(["Sidebar",0,({className:t})=>{let{emailsDirectoryMetadata:a}=(0,n.useEmails)(),l=(0,r.useParams)(),u=Array.isArray(l.slug)?decodeURIComponent(l.slug.join("/")):void 0;return(0,e.jsx)("aside",{className:(0,s.cn)("overflow-hidden","lg:static lg:z-auto lg:max-h-screen lg:w-[16rem]",t),children:(0,e.jsxs)("div",{className:"flex w-full h-full overflow-hidden flex-col border-slate-6 border-r",children:[(0,e.jsx)("div",{className:(0,i.clsx)("hidden min-h-14 shrink items-center py-2 px-3 lg:flex border-b border-slate-4"),children:(0,e.jsx)("h2",{children:(0,e.jsx)(o.Logo,{})})}),(0,e.jsx)("div",{className:"relative grow w-full h-full overflow-y-auto overflow-x-hidden px-4 pb-3",children:(0,e.jsx)(C,{currentEmailOpenSlug:u,emailsDirectoryMetadata:a})})]})})}],68645)},60203,74805,54734,t=>{"use strict";let e,i,r;var n,s,o=t.i(31317),a=t.i(65289),l=t.i(74185);let u=(0,l.createServerReference)("00cd52c850be07fdee0c2e31cc6170c433fef5e2d9",l.callServer,void 0,l.findSourceMapURL,"getEmailsDirectoryMetadataAction");var h=t.i(21403);h.default.env.REACT_EMAIL_INTERNAL_USER_PROJECT_LOCATION,h.default.env.REACT_EMAIL_INTERNAL_PREVIEW_SERVER_LOCATION,h.default.env.REACT_EMAIL_INTERNAL_EMAILS_DIR_ABSOLUTE_PATH,h.default.env.REACT_EMAIL_INTERNAL_RESEND_API_KEY,h.default.env.REACT_EMAIL_INTERNAL_ESBUILD_PLUGINS_PATH;let c="true"===h.default.env.NEXT_PUBLIC_IS_BUILDING,d="true"===h.default.env.NEXT_PUBLIC_IS_PREVIEW_DEVELOPMENT;t.s(["isBuilding",0,c,"isPreviewDevelopment",0,d],74805);let p=Object.create(null);p.open="0",p.close="1",p.ping="2",p.pong="3",p.message="4",p.upgrade="5",p.noop="6";let f=Object.create(null);Object.keys(p).forEach(t=>{f[p[t]]=t});let m={type:"error",data:"parser error"},g="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),y="function"==typeof ArrayBuffer,v=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,b=({type:t,data:e},i,r)=>{if(g&&e instanceof Blob)if(i)return r(e);else return x(e,r);if(y&&(e instanceof ArrayBuffer||v(e)))if(i)return r(e);else return x(new Blob([e]),r);return r(p[t]+(e||""))},x=(t,e)=>{let i=new FileReader;return i.onload=function(){e("b"+(i.result.split(",")[1]||""))},i.readAsDataURL(t)};function w(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k="u"<typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<C.length;t++)k[C.charCodeAt(t)]=t;let E="function"==typeof ArrayBuffer,T=(t,e)=>{if("string"!=typeof t)return{type:"message",data:P(t,e)};let i=t.charAt(0);return"b"===i?{type:"message",data:S(t.substring(1),e)}:f[i]?t.length>1?{type:f[i],data:t.substring(1)}:{type:f[i]}:m},S=(t,e)=>E?P((t=>{let e=.75*t.length,i=t.length,r,n=0,s,o,a,l;"="===t[t.length-1]&&(e--,"="===t[t.length-2]&&e--);let u=new ArrayBuffer(e),h=new Uint8Array(u);for(r=0;r<i;r+=4)s=k[t.charCodeAt(r)],o=k[t.charCodeAt(r+1)],a=k[t.charCodeAt(r+2)],l=k[t.charCodeAt(r+3)],h[n++]=s<<2|o>>4,h[n++]=(15&o)<<4|a>>2,h[n++]=(3&a)<<6|63&l;return u})(t),e):{base64:!0,data:t},P=(t,e)=>"blob"===e?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer;function A(t){return t.reduce((t,e)=>t+e.length,0)}function R(t,e){if(t[0].length===e)return t.shift();let i=new Uint8Array(e),r=0;for(let n=0;n<e;n++)i[n]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),i}function _(t){if(t){var e=t;for(var i in _.prototype)e[i]=_.prototype[i];return e}}_.prototype.on=_.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},_.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},_.prototype.off=_.prototype.removeListener=_.prototype.removeAllListeners=_.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<r.length;n++)if((i=r[n])===e||i.fn===e){r.splice(n,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},_.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),i=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(i){i=i.slice(0);for(var r=0,n=i.length;r<n;++r)i[r].apply(this,e)}return this},_.prototype.emitReserved=_.prototype.emit,_.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},_.prototype.hasListeners=function(t){return!!this.listeners(t).length};let M="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),L="u">typeof self?self:"u">typeof window?window:Function("return this")();function j(t,...e){return e.reduce((e,i)=>(t.hasOwnProperty(i)&&(e[i]=t[i]),e),{})}let V=L.setTimeout,O=L.clearTimeout;function D(t,e){e.useNativeTimers?(t.setTimeoutFn=V.bind(L),t.clearTimeoutFn=O.bind(L)):(t.setTimeoutFn=L.setTimeout.bind(L),t.clearTimeoutFn=L.clearTimeout.bind(L))}function N(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class B extends Error{constructor(t,e,i){super(t),this.description=e,this.context=i,this.type="TransportError"}}class I extends _{constructor(t){super(),this.writable=!1,D(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,e,i){return super.emitReserved("error",new B(t,e,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let e=T(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let e=function(t){let e="";for(let i in t)t.hasOwnProperty(i)&&(e.length&&(e+="&"),e+=encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e}(t);return e.length?"?"+e:""}}class F extends I{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let e=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||e()})),this.writable||(t++,this.once("drain",function(){--t||e()}))}else e()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let e=t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)};((t,e)=>{let i=t.split("\x1e"),r=[];for(let t=0;t<i.length;t++){let n=T(i[t],e);if(r.push(n),"error"===n.type)break}return r})(t,this.socket.binaryType).forEach(e),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){var e;let i,r,n;this.writable=!1,e=t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})},r=Array(i=t.length),n=0,t.forEach((t,s)=>{b(t,!1,t=>{r[s]=t,++n===i&&e(r.join("\x1e"))})})}uri(){let t=this.opts.secure?"https":"http",e=this.query||{};return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=N()),this.supportsBinary||e.sid||(e.b64=1),this.createUri(t,e)}}let U=!1;try{U="u">typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let $=U;function z(){}class H extends F{constructor(t){if(super(t),"u">typeof location){const e="https:"===location.protocol;let i=location.port;i||(i=e?"443":"80"),this.xd="u">typeof location&&t.hostname!==location.hostname||i!==t.port}}doWrite(t,e){let i=this.request({method:"POST",data:t});i.on("success",e),i.on("error",(t,e)=>{this.onError("xhr post error",t,e)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=t}}class W extends _{constructor(t,e,i){super(),this.createRequest=t,D(this,i),this._opts=i,this._method=i.method||"GET",this._uri=e,this._data=void 0!==i.data?i.data:null,this._create()}_create(){var t;let e=j(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(e);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&i.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{i.setRequestHeader("Accept","*/*")}catch(t){}null==(t=this._opts.cookieJar)||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var t;3===i.readyState&&(null==(t=this._opts.cookieJar)||t.parseCookies(i.getResponseHeader("set-cookie"))),4===i.readyState&&(200===i.status||1223===i.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof i.status?i.status:0)},0))},i.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"u">typeof document&&(this._index=W.requestsCount++,W.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=z,t)try{this._xhr.abort()}catch(t){}"u">typeof document&&delete W.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function q(){for(let t in W.requests)W.requests.hasOwnProperty(t)&&W.requests[t].abort()}W.requestsCount=0,W.requests={},"u">typeof document&&("function"==typeof attachEvent?attachEvent("onunload",q):"function"==typeof addEventListener&&addEventListener("onpagehide"in L?"pagehide":"unload",q,!1));let Y=(r=K({xdomain:!1}))&&null!==r.responseType;function K(t){let e=t.xdomain;try{if("u">typeof XMLHttpRequest&&(!e||$))return new XMLHttpRequest}catch(t){}if(!e)try{return new L[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let X="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class Z extends I{get name(){return"websocket"}doOpen(){let t=this.uri(),e=this.opts.protocols,i=X?{}:j(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,e,i)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let i=t[e],r=e===t.length-1;b(i,this.supportsBinary,t=>{try{this.doWrite(i,t)}catch(t){}r&&M(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=N()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}}let G=L.WebSocket||L.MozWebSocket,J={websocket:class extends Z{createSocket(t,e,i){return X?new G(t,e,i):e?new G(t,e):new G(t)}doWrite(t,e){this.ws.send(e)}},webtransport:class extends I{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{var r,n;let s,o,a,l,u=(r=Number.MAX_SAFE_INTEGER,n=this.socket.binaryType,i||(i=new TextDecoder),s=[],o=0,a=-1,l=!1,new TransformStream({transform(t,e){for(s.push(t);;){if(0===o){if(1>A(s))break;let t=R(s,1);l=(128&t[0])==128,o=(a=127&t[0])<126?3:126===a?1:2}else if(1===o){if(2>A(s))break;let t=R(s,2);a=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),o=3}else if(2===o){if(8>A(s))break;let t=R(s,8),i=new DataView(t.buffer,t.byteOffset,t.length),r=i.getUint32(0);if(r>2097151){e.enqueue(m);break}a=0x100000000*r+i.getUint32(4),o=3}else{if(A(s)<a)break;let t=R(s,a);e.enqueue(T(l?t:i.decode(t),n)),o=0}if(0===a||a>r){e.enqueue(m);break}}}})),h=t.readable.pipeThrough(u).getReader(),c=new TransformStream({transform(t,i){var r;r=e=>{let r,n=e.length;if(n<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,n);else if(n<65536){let t=new DataView((r=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,n)}else{let t=new DataView((r=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(n))}t.data&&"string"!=typeof t.data&&(r[0]|=128),i.enqueue(r),i.enqueue(e)},g&&t.data instanceof Blob?t.data.arrayBuffer().then(w).then(r):y&&(t.data instanceof ArrayBuffer||v(t.data))?r(w(t.data)):b(t,!1,t=>{e||(e=new TextEncoder),r(e.encode(t))})}});c.readable.pipeTo(t.writable),this._writer=c.writable.getWriter();let d=()=>{h.read().then(({done:t,value:e})=>{t||(this.onPacket(e),d())}).catch(t=>{})};d();let p={type:"open"};this.query.sid&&(p.data=`{"sid":"${this.query.sid}"}`),this._writer.write(p).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let i=t[e],r=e===t.length-1;this._writer.write(i).then(()=>{r&&M(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null==(t=this._transport)||t.close()}},polling:class extends H{constructor(t){super(t);const e=t&&t.forceBase64;this.supportsBinary=Y&&!e}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new W(K,this.uri(),t)}}},Q=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,tt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function te(t){var e,i;let r,n;if(t.length>8e3)throw"URI too long";let s=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));let l=Q.exec(t||""),u={},h=14;for(;h--;)u[tt[h]]=l[h]||"";return -1!=o&&-1!=a&&(u.source=s,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),r=(e=u.path).replace(/\/{2,9}/g,"/").split("/"),("/"==e.slice(0,1)||0===e.length)&&r.splice(0,1),"/"==e.slice(-1)&&r.splice(r.length-1,1),u.pathNames=r,i=u.query,n={},i.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,i){e&&(n[e]=i)}),u.queryKey=n,u}let ti="function"==typeof addEventListener&&"function"==typeof removeEventListener,tr=[];ti&&addEventListener("offline",()=>{tr.forEach(t=>t())},!1);class tn extends _{constructor(t,e){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(e=t,t=null),t){const i=te(t);e.hostname=i.host,e.secure="https"===i.protocol||"wss"===i.protocol,e.port=i.port,i.query&&(e.query=i.query)}else e.host&&(e.hostname=te(e.host).host);D(this,e),this.secure=null!=e.secure?e.secure:"u">typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||("u">typeof location?location.hostname:"localhost"),this.port=e.port||("u">typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},e.transports.forEach(t=>{let e=t.prototype.name;this.transports.push(e),this._transportsByName[e]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let e={},i=t.split("&");for(let t=0,r=i.length;t<r;t++){let r=i[t].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}(this.opts.query)),ti&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},tr.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);let i=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let t=this.opts.rememberUpgrade&&tn.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let e=this.createTransport(t);e.open(),this.setTransport(e)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",tn.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let e=Error("server error");e.code=t.data,this._onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let e=0;e<this.writeBuffer.length;e++){let i=this.writeBuffer[e].data;if(i&&(t+="string"==typeof i?function(t){let e=0,i=0;for(let r=0,n=t.length;r<n;r++)(e=t.charCodeAt(r))<128?i+=1:e<2048?i+=2:e<55296||e>=57344?i+=3:(r++,i+=4);return i}(i):Math.ceil(1.33*(i.byteLength||i.size))),e>0&&t>this._maxPayload)return this.writeBuffer.slice(0,e);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,M(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,e,i){return this._sendPacket("message",t,e,i),this}send(t,e,i){return this._sendPacket("message",t,e,i),this}_sendPacket(t,e,i,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof i&&(r=i,i=null),"closing"===this.readyState||"closed"===this.readyState)return;(i=i||{}).compress=!1!==i.compress;let n={type:t,data:e,options:i};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),r&&this.once("flush",r),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},i=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(tn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),ti&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=tr.indexOf(this._offlineEventListener);-1!==t&&tr.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this._prevBufferLen=0}}}tn.protocol=4;class ts extends tn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let e=this.createTransport(t),i=!1;tn.priorWebsocketSuccess=!1;let r=()=>{i||(e.send([{type:"ping",data:"probe"}]),e.once("packet",t=>{if(!i)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;tn.priorWebsocketSuccess="websocket"===e.name,this.transport.pause(()=>{i||"closed"!==this.readyState&&(u(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{let t=Error("probe error");t.transport=e.name,this.emitReserved("upgradeError",t)}}))};function n(){i||(i=!0,u(),e.close(),e=null)}let s=t=>{let i=Error("probe error: "+t);i.transport=e.name,n(),this.emitReserved("upgradeError",i)};function o(){s("transport closed")}function a(){s("socket closed")}function l(t){e&&t.name!==e.name&&n()}let u=()=>{e.removeListener("open",r),e.removeListener("error",s),e.removeListener("close",o),this.off("close",a),this.off("upgrading",l)};e.once("open",r),e.once("error",s),e.once("close",o),this.once("close",a),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{i||e.open()},200):e.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let e=[];for(let i=0;i<t.length;i++)~this.transports.indexOf(t[i])&&e.push(t[i]);return e}}class to extends ts{constructor(t,e={}){const i="object"==typeof t?t:e;(!i.transports||i.transports&&"string"==typeof i.transports[0])&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(t=>J[t]).filter(t=>!!t)),super(t,i)}}to.protocol;let ta="function"==typeof ArrayBuffer,tl=Object.prototype.toString,tu="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===tl.call(Blob),th="function"==typeof File||"u">typeof File&&"[object FileConstructor]"===tl.call(File);function tc(t){return ta&&(t instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer))||tu&&t instanceof Blob||th&&t instanceof File}let td=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];(n=s||(s={}))[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK";class tp extends _{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof t?{reviver:t}:t)}add(t){let e;if("string"==typeof t){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let i=(e=this.decodeString(t)).type===s.BINARY_EVENT;i||e.type===s.BINARY_ACK?(e.type=i?s.EVENT:s.ACK,this.reconstructor=new tf(e),0===e.attachments&&super.emitReserved("decoded",e)):super.emitReserved("decoded",e)}else if(tc(t)||t.base64)if(this.reconstructor)(e=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,super.emitReserved("decoded",e));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+t)}decodeString(t){let e=0,i={type:Number(t.charAt(0))};if(void 0===s[i.type])throw Error("unknown packet type "+i.type);if(i.type===s.BINARY_EVENT||i.type===s.BINARY_ACK){let r=e+1;for(;"-"!==t.charAt(++e)&&e!=t.length;);let n=t.substring(r,e);if(n!=Number(n)||"-"!==t.charAt(e))throw Error("Illegal attachments");let s=Number(n);if(!tm(s)||s<0)throw Error("Illegal attachments");if(s>this.opts.maxAttachments)throw Error("too many attachments");i.attachments=s}if("/"===t.charAt(e+1)){let r=e+1;for(;++e&&","!==t.charAt(e)&&e!==t.length;);i.nsp=t.substring(r,e)}else i.nsp="/";let r=t.charAt(e+1);if(""!==r&&Number(r)==r){let r=e+1;for(;++e;){let i=t.charAt(e);if(null==i||Number(i)!=i){--e;break}if(e===t.length)break}i.id=Number(t.substring(r,e+1))}if(t.charAt(++e)){let r=this.tryParse(t.substr(e));if(tp.isPayloadValid(i.type,r))i.data=r;else throw Error("invalid payload")}return i}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch(t){return!1}}static isPayloadValid(t,e){switch(t){case s.CONNECT:return tg(e);case s.DISCONNECT:return void 0===e;case s.CONNECT_ERROR:return"string"==typeof e||tg(e);case s.EVENT:case s.BINARY_EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===td.indexOf(e[0]));case s.ACK:case s.BINARY_ACK:return Array.isArray(e)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class tf{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e,i;let t=(e=this.reconPack,i=this.buffers,e.data=function t(e,i){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<i.length)return i[e.num];throw Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=t(e[r],i);else if("object"==typeof e)for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=t(e[r],i));return e}(e.data,i),delete e.attachments,e);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let tm=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};function tg(t){return"[object Object]"===Object.prototype.toString.call(t)}function ty(t,e,i){return t.on(e,i),function(){t.off(e,i)}}t.s(["Decoder",0,tp,"Encoder",0,class{constructor(t){this.replacer=t}encode(t){return(t.type===s.EVENT||t.type===s.ACK)&&function t(e,i){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let i=0,r=e.length;i<r;i++)if(t(e[i]))return!0;return!1}if(tc(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1==arguments.length)return t(e.toJSON(),!0);for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return!0;return!1}(t)?this.encodeAsBinary({type:t.type===s.EVENT?s.BINARY_EVENT:s.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let e=""+t.type;return(t.type===s.BINARY_EVENT||t.type===s.BINARY_ACK)&&(e+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(e+=t.nsp+","),null!=t.id&&(e+=t.id),null!=t.data&&(e+=JSON.stringify(t.data,this.replacer)),e}encodeAsBinary(t){let e,i,r=(e=[],i=t.data,t.data=function t(e,i){if(!e)return e;if(tc(e)){let t={_placeholder:!0,num:i.length};return i.push(e),t}if(Array.isArray(e)){let r=Array(e.length);for(let n=0;n<e.length;n++)r[n]=t(e[n],i);return r}if("object"==typeof e&&!(e instanceof Date)){let r={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=t(e[n],i));return r}return e}(i,e),t.attachments=e.length,{packet:t,buffers:e}),n=this.encodeAsString(r.packet),s=r.buffers;return s.unshift(n),s}},"PacketType",0,s,"isPacketValid",0,function(t){var e;return"string"==typeof t.nsp&&(void 0===(e=t.id)||tm(e))&&function(t,e){switch(t){case s.CONNECT:return void 0===e||tg(e);case s.DISCONNECT:return void 0===e;case s.EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===td.indexOf(e[0]));case s.ACK:return Array.isArray(e);case s.CONNECT_ERROR:return"string"==typeof e||tg(e);default:return!1}}(t.type,t.data)},"protocol",0,5],53192);let tv=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tb extends _{constructor(t,e,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[ty(t,"open",this.onopen.bind(this)),ty(t,"packet",this.onpacket.bind(this)),ty(t,"error",this.onerror.bind(this)),ty(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){var i,r,n;if(tv.hasOwnProperty(t))throw Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;let o={type:s.EVENT,data:e};if(o.options={},o.options.compress=!1!==this.flags.compress,"function"==typeof e[e.length-1]){let t=this.ids++,i=e.pop();this._registerAckCallback(t,i),o.id=t}let a=null==(r=null==(i=this.io.engine)?void 0:i.transport)?void 0:r.writable,l=this.connected&&!(null==(n=this.io.engine)?void 0:n._hasPingExpired());return this.flags.volatile&&!a||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(t,e){var i;let r=null!=(i=this.flags.timeout)?i:this._opts.ackTimeout;if(void 0===r){this.acks[t]=e;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let e=0;e<this.sendBuffer.length;e++)this.sendBuffer[e].id===t&&this.sendBuffer.splice(e,1);e.call(this,Error("operation has timed out"))},r),s=(...t)=>{this.io.clearTimeoutFn(n),e.apply(this,t)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...e){return new Promise((i,r)=>{let n=(t,e)=>t?r(t):i(e);n.withError=!0,e.push(n),this.emit(t,...e)})}_addToQueue(t){let e;"function"==typeof t[t.length-1]&&(e=t.pop());let i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((t,...r)=>(this._queue[0],null!==t?i.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(t)):(this._queue.shift(),e&&e(null,...r)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||0===this._queue.length)return;let e=this._queue[0];(!e.pending||t)&&(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){"function"==typeof this.auth?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:s.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(e=>String(e.id)===t)){let e=this.acks[t];delete this.acks[t],e.withError&&e.call(this,Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case s.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.EVENT:case s.BINARY_EVENT:this.onevent(t);break;case s.ACK:case s.BINARY_ACK:this.onack(t);break;case s.DISCONNECT:this.ondisconnect();break;case s.CONNECT_ERROR:this.destroy();let e=Error(t.data.message);e.data=t.data.data,this.emitReserved("connect_error",e)}}onevent(t){let e=t.data||[];null!=t.id&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length)for(let e of this._anyListeners.slice())e.apply(this,t);super.emit.apply(this,t),this._pid&&t.length&&"string"==typeof t[t.length-1]&&(this._lastOffset=t[t.length-1])}ack(t){let e=this,i=!1;return function(...r){i||(i=!0,e.packet({type:s.ACK,id:t,data:r}))}}onack(t){let e=this.acks[t.id];"function"==typeof e&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:s.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let e=this._anyListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let e=this._anyOutgoingListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let e of this._anyOutgoingListeners.slice())e.apply(this,t.data)}}var tx=t.i(53192);function tw(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}tw.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),i=Math.floor(e*this.jitter*t);t=(1&Math.floor(10*e))==0?t-i:t+i}return 0|Math.min(t,this.max)},tw.prototype.reset=function(){this.attempts=0},tw.prototype.setMin=function(t){this.ms=t},tw.prototype.setMax=function(t){this.max=t},tw.prototype.setJitter=function(t){this.jitter=t};class tC extends _{constructor(t,e){var i;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.opts=e,D(this,e),this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(i=e.randomizationFactor)?i:.5),this.backoff=new tw({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this._readyState="closed",this.uri=t;const r=e.parser||tx;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==e.autoConnect,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null==(e=this.backoff)||e.setMin(t),this)}randomizationFactor(t){var e;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null==(e=this.backoff)||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null==(e=this.backoff)||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new to(this.uri,this.opts);let e=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;let r=ty(e,"open",function(){i.onopen(),t&&t()}),n=e=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",e),t?t(e):this.maybeReconnectOnOpen()},s=ty(e,"error",n);if(!1!==this._timeout){let t=this._timeout,i=this.setTimeoutFn(()=>{r(),n(Error("timeout")),e.close()},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}return this.subs.push(r),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push(ty(t,"ping",this.onping.bind(this)),ty(t,"data",this.ondata.bind(this)),ty(t,"error",this.onerror.bind(this)),ty(t,"close",this.onclose.bind(this)),ty(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("parse error",t)}}ondecoded(t){M(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let i=this.nsps[t];return i?this._autoConnect&&!i.active&&i.connect():(i=new tb(this,t,e),this.nsps[t]=i),i}_destroy(t){for(let t of Object.keys(this.nsps))if(this.nsps[t].active)return;this._close()}_packet(t){let e=this.encoder.encode(t);for(let i=0;i<e.length;i++)this.engine.write(e[i],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,e){var i;this.cleanup(),null==(i=this.engine)||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let e=this.backoff.duration();this._reconnecting=!0;let i=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open(e=>{e?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",e)):t.onreconnect()}))},e);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}let tk={};function tE(t,e){let i;"object"==typeof t&&(e=t,t=void 0);let r=function(t,e="",i){let r=t;i=i||"u">typeof location&&location,null==t&&(t=i.protocol+"//"+i.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?i.protocol+t:i.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==i?i.protocol+"//"+t:"https://"+t),r=te(t)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let n=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+n+":"+r.port+e,r.href=r.protocol+"://"+n+(i&&i.port===r.port?"":":"+r.port),r}(t,(e=e||{}).path||"/socket.io"),n=r.source,s=r.id,o=r.path,a=tk[s]&&o in tk[s].nsps;return e.forceNew||e["force new connection"]||!1===e.multiplex||a?i=new tC(n,e):(tk[s]||(tk[s]=new tC(n,e)),i=tk[s]),r.query&&!e.query&&(e.query=r.queryKey),i.socket(r.path,e)}Object.assign(tE,{Manager:tC,Socket:tb,io:tE,connect:tE});let tT=t=>{let e=(0,a.useRef)(t);e.current=t,(0,a.useEffect)(()=>{let t=tE(),i=t=>{console.debug("Reloading..."),e.current(t)};return t.on("reload",i),()=>{t.off("reload",i),t.disconnect()}},[])};t.s(["useHotreload",0,tT],54734);let tS=(0,a.createContext)(void 0);t.s(["EmailsProvider",0,t=>{let[e,i]=(0,a.useState)(t.initialEmailsDirectoryMetadata);return c||d||tT(async()=>{let t=await u();if(t)i(t);else throw Error("Hot reloading: unable to find the emails directory to update the sidebar")}),(0,o.jsx)(tS.Provider,{value:{emailsDirectoryMetadata:e},children:t.children})},"useEmails",0,()=>{let t=(0,a.useContext)(tS);if(void 0===t)throw Error("Cannot call `useEmails` outside of an `EmailsContext` provider.");return t}],60203)},64618,7284,t=>{"use strict";var e;let i,r,n,s,o;function a(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["clsx",0,a,"default",0,a],7284);let l=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),u=[],h=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=h(t,e+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===e?t.join("-"):t.slice(e).join("-"),a=s.length;for(let t=0;t<a;t++){let e=s[t];if(e.validator(o))return e.classGroupId}},c=(t,e)=>{let i=l();for(let r in t)d(t[r],i,r,e);return i},d=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)p(t[s],e,i,r)},p=(t,e,i,r)=>{"string"==typeof t?f(t,e,i):"function"==typeof t?m(t,e,i,r):g(t,e,i,r)},f=(t,e,i)=>{(""===t?e:y(e,t)).classGroupId=i},m=(t,e,i,r)=>{v(t)?d(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},g=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,o]=n[t];d(o,y(e,s),i,r)}},y=(t,e)=>{let i=t,r=e.split("-"),n=r.length;for(let t=0;t<n;t++){let e=r[t],n=i.nextPart.get(e);n||(n=l(),i.nextPart.set(e,n)),i=n}return i},v=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,b=[],x=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),w=/\s+/,C=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=C(t[r]))&&(i&&(i+=" "),i+=e);return i},k=[],E=t=>{let e=e=>e[t]||k;return e.isThemeGetter=!0,e},T=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,S=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=t=>P.test(t),V=t=>!!t&&!Number.isNaN(Number(t)),O=t=>!!t&&Number.isInteger(Number(t)),D=t=>t.endsWith("%")&&V(t.slice(0,-1)),N=t=>A.test(t),B=()=>!0,I=t=>R.test(t)&&!_.test(t),F=()=>!1,U=t=>M.test(t),$=t=>L.test(t),z=t=>!W(t)&&!Q(t),H=t=>ta(t,tc,F),W=t=>T.test(t),q=t=>ta(t,td,I),Y=t=>ta(t,tp,V),K=t=>ta(t,tm,B),X=t=>ta(t,tf,F),Z=t=>ta(t,tu,F),G=t=>ta(t,th,$),J=t=>ta(t,tg,U),Q=t=>S.test(t),tt=t=>tl(t,td),te=t=>tl(t,tf),ti=t=>tl(t,tu),tr=t=>tl(t,tc),tn=t=>tl(t,th),ts=t=>tl(t,tg,!0),to=t=>tl(t,tm,!0),ta=(t,e,i)=>{let r=T.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},tl=(t,e,i=!1)=>{let r=S.exec(t);return!!r&&(r[1]?e(r[1]):i)},tu=t=>"position"===t||"percentage"===t,th=t=>"image"===t||"url"===t,tc=t=>"length"===t||"size"===t||"bg-size"===t,td=t=>"length"===t,tp=t=>"number"===t,tf=t=>"family-name"===t,tm=t=>"number"===t||"weight"===t,tg=t=>"shadow"===t,ty=(e=()=>{let t=E("color"),e=E("font"),i=E("text"),r=E("font-weight"),n=E("tracking"),s=E("leading"),o=E("breakpoint"),a=E("container"),l=E("spacing"),u=E("radius"),h=E("shadow"),c=E("inset-shadow"),d=E("text-shadow"),p=E("drop-shadow"),f=E("blur"),m=E("perspective"),g=E("aspect"),y=E("ease"),v=E("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...x(),Q,W],C=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],T=()=>[Q,W,l],S=()=>[j,"full","auto",...T()],P=()=>[O,"none","subgrid",Q,W],A=()=>["auto",{span:["full",O,Q,W]},O,Q,W],R=()=>[O,"auto",Q,W],_=()=>["auto","min","max","fr",Q,W],M=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...T()],F=()=>[j,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],U=()=>[j,"screen","full","dvw","lvw","svw","min","max","fit",...T()],$=()=>[j,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],ta=()=>[t,Q,W],tl=()=>[...x(),ti,Z,{position:[Q,W]}],tu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],th=()=>["auto","cover","contain",tr,H,{size:[Q,W]}],tc=()=>[D,tt,q],td=()=>["","none","full",u,Q,W],tp=()=>["",V,tt,q],tf=()=>["solid","dashed","dotted","double"],tm=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tg=()=>[V,D,ti,Z],ty=()=>["","none",f,Q,W],tv=()=>["none",V,Q,W],tb=()=>["none",V,Q,W],tx=()=>[V,Q,W],tw=()=>[j,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[B],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",V],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j,W,Q,g]}],container:["container"],columns:[{columns:[V,W,Q,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",Q,W]}],basis:[{basis:[j,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[V,j,"auto","initial","none",W]}],grow:[{grow:["",V,Q,W]}],shrink:[{shrink:["",V,Q,W]}],order:[{order:[O,"first","last","none",Q,W]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...M(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...M()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":M()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...U()]}],"min-inline-size":[{"min-inline":["auto",...U()]}],"max-inline-size":[{"max-inline":["none",...U()]}],"block-size":[{block:["auto",...$()]}],"min-block-size":[{"min-block":["auto",...$()]}],"max-block-size":[{"max-block":["none",...$()]}],w:[{w:[a,"screen",...F()]}],"min-w":[{"min-w":[a,"screen","none",...F()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",i,tt,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,to,K]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",D,W]}],"font-family":[{font:[te,X,e]}],"font-features":[{"font-features":[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Q,W]}],"line-clamp":[{"line-clamp":[V,"none",Q,Y]}],leading:[{leading:[s,...T()]}],"list-image":[{"list-image":["none",Q,W]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q,W]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ta()}],"text-color":[{text:ta()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tf(),"wavy"]}],"text-decoration-thickness":[{decoration:[V,"from-font","auto",Q,q]}],"text-decoration-color":[{decoration:ta()}],"underline-offset":[{"underline-offset":[V,"auto",Q,W]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q,W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q,W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tl()}],"bg-repeat":[{bg:tu()}],"bg-size":[{bg:th()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,Q,W],radial:["",Q,W],conic:[O,Q,W]},tn,G]}],"bg-color":[{bg:ta()}],"gradient-from-pos":[{from:tc()}],"gradient-via-pos":[{via:tc()}],"gradient-to-pos":[{to:tc()}],"gradient-from":[{from:ta()}],"gradient-via":[{via:ta()}],"gradient-to":[{to:ta()}],rounded:[{rounded:td()}],"rounded-s":[{"rounded-s":td()}],"rounded-e":[{"rounded-e":td()}],"rounded-t":[{"rounded-t":td()}],"rounded-r":[{"rounded-r":td()}],"rounded-b":[{"rounded-b":td()}],"rounded-l":[{"rounded-l":td()}],"rounded-ss":[{"rounded-ss":td()}],"rounded-se":[{"rounded-se":td()}],"rounded-ee":[{"rounded-ee":td()}],"rounded-es":[{"rounded-es":td()}],"rounded-tl":[{"rounded-tl":td()}],"rounded-tr":[{"rounded-tr":td()}],"rounded-br":[{"rounded-br":td()}],"rounded-bl":[{"rounded-bl":td()}],"border-w":[{border:tp()}],"border-w-x":[{"border-x":tp()}],"border-w-y":[{"border-y":tp()}],"border-w-s":[{"border-s":tp()}],"border-w-e":[{"border-e":tp()}],"border-w-bs":[{"border-bs":tp()}],"border-w-be":[{"border-be":tp()}],"border-w-t":[{"border-t":tp()}],"border-w-r":[{"border-r":tp()}],"border-w-b":[{"border-b":tp()}],"border-w-l":[{"border-l":tp()}],"divide-x":[{"divide-x":tp()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tp()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tf(),"hidden","none"]}],"divide-style":[{divide:[...tf(),"hidden","none"]}],"border-color":[{border:ta()}],"border-color-x":[{"border-x":ta()}],"border-color-y":[{"border-y":ta()}],"border-color-s":[{"border-s":ta()}],"border-color-e":[{"border-e":ta()}],"border-color-bs":[{"border-bs":ta()}],"border-color-be":[{"border-be":ta()}],"border-color-t":[{"border-t":ta()}],"border-color-r":[{"border-r":ta()}],"border-color-b":[{"border-b":ta()}],"border-color-l":[{"border-l":ta()}],"divide-color":[{divide:ta()}],"outline-style":[{outline:[...tf(),"none","hidden"]}],"outline-offset":[{"outline-offset":[V,Q,W]}],"outline-w":[{outline:["",V,tt,q]}],"outline-color":[{outline:ta()}],shadow:[{shadow:["","none",h,ts,J]}],"shadow-color":[{shadow:ta()}],"inset-shadow":[{"inset-shadow":["none",c,ts,J]}],"inset-shadow-color":[{"inset-shadow":ta()}],"ring-w":[{ring:tp()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ta()}],"ring-offset-w":[{"ring-offset":[V,q]}],"ring-offset-color":[{"ring-offset":ta()}],"inset-ring-w":[{"inset-ring":tp()}],"inset-ring-color":[{"inset-ring":ta()}],"text-shadow":[{"text-shadow":["none",d,ts,J]}],"text-shadow-color":[{"text-shadow":ta()}],opacity:[{opacity:[V,Q,W]}],"mix-blend":[{"mix-blend":[...tm(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tm()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":tg()}],"mask-image-linear-to-pos":[{"mask-linear-to":tg()}],"mask-image-linear-from-color":[{"mask-linear-from":ta()}],"mask-image-linear-to-color":[{"mask-linear-to":ta()}],"mask-image-t-from-pos":[{"mask-t-from":tg()}],"mask-image-t-to-pos":[{"mask-t-to":tg()}],"mask-image-t-from-color":[{"mask-t-from":ta()}],"mask-image-t-to-color":[{"mask-t-to":ta()}],"mask-image-r-from-pos":[{"mask-r-from":tg()}],"mask-image-r-to-pos":[{"mask-r-to":tg()}],"mask-image-r-from-color":[{"mask-r-from":ta()}],"mask-image-r-to-color":[{"mask-r-to":ta()}],"mask-image-b-from-pos":[{"mask-b-from":tg()}],"mask-image-b-to-pos":[{"mask-b-to":tg()}],"mask-image-b-from-color":[{"mask-b-from":ta()}],"mask-image-b-to-color":[{"mask-b-to":ta()}],"mask-image-l-from-pos":[{"mask-l-from":tg()}],"mask-image-l-to-pos":[{"mask-l-to":tg()}],"mask-image-l-from-color":[{"mask-l-from":ta()}],"mask-image-l-to-color":[{"mask-l-to":ta()}],"mask-image-x-from-pos":[{"mask-x-from":tg()}],"mask-image-x-to-pos":[{"mask-x-to":tg()}],"mask-image-x-from-color":[{"mask-x-from":ta()}],"mask-image-x-to-color":[{"mask-x-to":ta()}],"mask-image-y-from-pos":[{"mask-y-from":tg()}],"mask-image-y-to-pos":[{"mask-y-to":tg()}],"mask-image-y-from-color":[{"mask-y-from":ta()}],"mask-image-y-to-color":[{"mask-y-to":ta()}],"mask-image-radial":[{"mask-radial":[Q,W]}],"mask-image-radial-from-pos":[{"mask-radial-from":tg()}],"mask-image-radial-to-pos":[{"mask-radial-to":tg()}],"mask-image-radial-from-color":[{"mask-radial-from":ta()}],"mask-image-radial-to-color":[{"mask-radial-to":ta()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":tg()}],"mask-image-conic-to-pos":[{"mask-conic-to":tg()}],"mask-image-conic-from-color":[{"mask-conic-from":ta()}],"mask-image-conic-to-color":[{"mask-conic-to":ta()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tl()}],"mask-repeat":[{mask:tu()}],"mask-size":[{mask:th()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Q,W]}],filter:[{filter:["","none",Q,W]}],blur:[{blur:ty()}],brightness:[{brightness:[V,Q,W]}],contrast:[{contrast:[V,Q,W]}],"drop-shadow":[{"drop-shadow":["","none",p,ts,J]}],"drop-shadow-color":[{"drop-shadow":ta()}],grayscale:[{grayscale:["",V,Q,W]}],"hue-rotate":[{"hue-rotate":[V,Q,W]}],invert:[{invert:["",V,Q,W]}],saturate:[{saturate:[V,Q,W]}],sepia:[{sepia:["",V,Q,W]}],"backdrop-filter":[{"backdrop-filter":["","none",Q,W]}],"backdrop-blur":[{"backdrop-blur":ty()}],"backdrop-brightness":[{"backdrop-brightness":[V,Q,W]}],"backdrop-contrast":[{"backdrop-contrast":[V,Q,W]}],"backdrop-grayscale":[{"backdrop-grayscale":["",V,Q,W]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,Q,W]}],"backdrop-invert":[{"backdrop-invert":["",V,Q,W]}],"backdrop-opacity":[{"backdrop-opacity":[V,Q,W]}],"backdrop-saturate":[{"backdrop-saturate":[V,Q,W]}],"backdrop-sepia":[{"backdrop-sepia":["",V,Q,W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q,W]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[V,"initial",Q,W]}],ease:[{ease:["linear","initial",y,Q,W]}],delay:[{delay:[V,Q,W]}],animate:[{animate:["none",v,Q,W]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Q,W]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:tv()}],"rotate-x":[{"rotate-x":tv()}],"rotate-y":[{"rotate-y":tv()}],"rotate-z":[{"rotate-z":tv()}],scale:[{scale:tb()}],"scale-x":[{"scale-x":tb()}],"scale-y":[{"scale-y":tb()}],"scale-z":[{"scale-z":tb()}],"scale-3d":["scale-3d"],skew:[{skew:tx()}],"skew-x":[{"skew-x":tx()}],"skew-y":[{"skew-y":tx()}],transform:[{transform:[Q,W,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tw()}],"translate-x":[{"translate-x":tw()}],"translate-y":[{"translate-y":tw()}],"translate-z":[{"translate-z":tw()}],"translate-none":["translate-none"],accent:[{accent:ta()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ta()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q,W]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q,W]}],fill:[{fill:["none",...ta()]}],"stroke-w":[{stroke:[V,tt,q,Y]}],stroke:[{stroke:["none",...ta()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o=t=>{let e=r(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(w),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:h,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:p}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let f=!!p,m=r(f?d.substring(0,p):d);if(!m){if(!f||!(m=r(d))){l=e+(l.length>0?" "+l:l);continue}f=!1}let g=0===h.length?"":1===h.length?h[0]:s(h).join(":"),y=c?g+"!":g,v=y+m;if(o.indexOf(v)>-1)continue;o.push(v);let b=n(m,f);for(let t=0;t<b.length;++t){let e=b[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return n(t,s),s},s=t=>{var a;let l;return r=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((a=[].reduce((t,e)=>e(t),e())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),x(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):x(b,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(a),sortModifiers:(l=new Map,a.orderSensitiveModifiers.forEach((t,e)=>{l.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=l.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return c(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let r=t.split("-"),n=+(""===r[0]&&r.length>1);return h(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;e<n.length;e++)t[e]=n[e];for(let i=0;i<e.length;i++)t[n.length+i]=e[i];return t}return e}return n||u}return i[t]||u}}})(a)}).cache.get,n=i.cache.set,s=o,o(t)},(...t)=>s(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=C(e))&&(n&&(n+=" "),n+=i);return n})(...t)));t.s(["cn",0,(...t)=>ty(a(t))],64618)}]);
|
|
9
|
+
`),()=>{u.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[r]),(0,e.jsx)(M,{isPresent:r,childRef:u,sizeRef:h,pop:a,children:!1===a?t:A.cloneElement(t,{ref:d})})}let j=({children:t,initial:r,isPresent:n,onExitComplete:s,custom:o,presenceAffectsLayout:a,mode:l,anchorX:u,anchorY:h,root:c})=>{let d=(0,E.useConstant)(V),p=(0,i.useId)(),f=!0,m=(0,i.useMemo)(()=>(f=!1,{id:p,initial:r,isPresent:n,custom:o,onExitComplete:t=>{for(let e of(d.set(t,!0),d.values()))if(!e)return;s&&s()},register:t=>(d.set(t,!1),()=>d.delete(t))}),[n,d,s]);return a&&f&&(m={...m}),(0,i.useMemo)(()=>{d.forEach((t,e)=>d.set(e,!1))},[n]),i.useEffect(()=>{n||d.size||!s||s()},[n]),t=(0,e.jsx)(L,{pop:"popLayout"===l,isPresent:n,anchorX:u,anchorY:h,root:c,children:t}),(0,e.jsx)(S.PresenceContext.Provider,{value:m,children:t})};function V(){return new Map}var O=t.i(18015);let D=t=>t.key||"";function N(t){let e=[];return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:r,initial:n=!0,onExitComplete:s,presenceAffectsLayout:o=!0,mode:a="sync",propagate:l=!1,anchorX:u="left",anchorY:h="top",root:c})=>{let[d,p]=(0,O.usePresence)(l),f=(0,i.useMemo)(()=>N(t),[t]),m=l&&!d?[]:f.map(D),g=(0,i.useRef)(!0),y=(0,i.useRef)(f),v=(0,E.useConstant)(()=>new Map),b=(0,i.useRef)(new Set),[x,w]=(0,i.useState)(f),[C,S]=(0,i.useState)(f);(0,T.useIsomorphicLayoutEffect)(()=>{g.current=!1,y.current=f;for(let t=0;t<C.length;t++){let e=D(C[t]);m.includes(e)?(v.delete(e),b.current.delete(e)):!0!==v.get(e)&&v.set(e,!1)}},[C,m.length,m.join("-")]);let P=[];if(f!==x){let t=[...f];for(let e=0;e<C.length;e++){let i=C[e],r=D(i);m.includes(r)||(t.splice(e,0,i),P.push(i))}return"wait"===a&&P.length&&(t=P),S(N(t)),w(f),null}let{forceRender:A}=(0,i.useContext)(k.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:C.map(t=>{let i=D(t),x=(!l||!!d)&&(f===C||m.includes(i));return(0,e.jsx)(j,{isPresent:x,initial:(!g.current||!!n)&&void 0,custom:r,presenceAffectsLayout:o,mode:a,root:c,onExitComplete:x?void 0:()=>{if(b.current.has(i)||!v.has(i))return;b.current.add(i),v.set(i,!0);let t=!0;v.forEach(e=>{e||(t=!1)}),t&&(A?.(),S(y.current),l&&p?.(),s&&s())},anchorX:u,anchorY:h,children:t},i)})})}],40802);var B=t.i(37289);let I=i.forwardRef(({...t},i)=>(0,e.jsx)(B.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M7.75 4C6.23122 4 5 5.23122 5 6.75V17.25C5 18.7688 6.23122 20 7.75 20H16.25C17.7688 20 19 18.7688 19 17.25V9C19 8.80109 18.921 8.61032 18.7803 8.46967L14.5303 4.21967C14.3897 4.07902 14.1989 4 14 4H7.75ZM6.5 6.75C6.5 6.05964 7.05964 5.5 7.75 5.5H13V9.25C13 9.66421 13.3358 10 13.75 10H17.5V17.25C17.5 17.9404 16.9404 18.5 16.25 18.5H7.75C7.05964 18.5 6.5 17.9404 6.5 17.25V6.75ZM16.6893 8.5L14.5 6.31066V8.5H16.6893Z",fill:"currentColor",fillOpacity:"0.927",fillRule:"evenodd"})}));I.displayName="IconFile",t.s(["IconFile",0,I],64369)},27818,39730,t=>{"use strict";var e=t.i(31317),i=t.i(62865),r=t.i(65289),n=t.i(64618),s=t.i(20764),o=t.i(68645);t.s([],39730);let a=r.createContext(void 0);t.s(["Shell",0,({children:t})=>{let[l,u]=r.useState(!0),h=(0,i.usePathname)();return r.useEffect(()=>{window.matchMedia("(min-width: 64rem)").matches||u(!0)},[h]),(0,e.jsxs)(a.Provider,{value:{toggleSidebar:()=>u(t=>!t),sidebarToggled:l},children:[(0,e.jsxs)("div",{className:"flex h-17.5 items-center justify-between border-slate-6 border-b px-6 lg:hidden",children:[(0,e.jsx)("div",{className:"flex h-17.5 items-center",children:(0,e.jsx)(s.Logo,{})}),(0,e.jsx)("button",{className:"flex h-6 w-6 items-center justify-center rounded-sm text-white",onClick:()=>{u(t=>!t)},type:"button",children:(0,e.jsxs)("svg",{fill:"none",height:"16",stroke:"white",viewBox:"0 0 15 15",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[(0,e.jsx)("title",{children:"Menu"}),(0,e.jsx)("path",{clipRule:"evenodd",d:"M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z",fill:"currentColor",fillRule:"evenodd"})]})})]}),(0,e.jsxs)("div",{className:"w-dvw flex h-[calc(100dvh-4.375rem)] lg:h-dvh",children:[(0,e.jsx)(r.Suspense,{children:(0,e.jsx)(o.Sidebar,{className:(0,n.cn)("fixed top-17.5 left-0 z-9999 h-full max-h-full w-full max-w-full will-change-auto [transition:width_0.2s_ease-in-out]","lg:static lg:inline-block lg:z-auto lg:max-h-full lg:w-[16rem]",{"-translate-x-full lg:translate-x-0":l,"lg:w-0":!l})})}),(0,e.jsx)("main",{className:(0,n.cn)("inline-block relative overflow-hidden will-change-[width]","w-full h-full","[transition:width_0.2s_ease-in-out,transform_0.2s_ease-in-out]",{"lg:w-[calc(100%-16rem)]":l,"opacity-0 lg:opacity-100":!l}),children:t})]})]})},"ShellContext",0,a],27818)},68645,t=>{"use strict";var e=t.i(31317),i=t.i(7284),r=t.i(62865),n=t.i(60203),s=t.i(64618),o=t.i(20764),a=t.i(6470),l=t.i(65289),u=t.i(40802),h=t.i(66699),c=t.i(12086),d=t.i(4332),p=t.i(64369),f=t.i(2884),m=t.i(9334),g=t.i(37289);let y=l.forwardRef(({...t},i)=>(0,e.jsx)(g.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M6.75 4C5.23122 4 4 5.23122 4 6.75V7.75V8V17.25C4 18.7688 5.23122 20 6.75 20H17.25C18.7688 20 20 18.7688 20 17.25V9.75C20 8.23122 18.7688 7 17.25 7H14.0816L13.227 5.43322C12.7451 4.54965 11.819 4 10.8127 4H6.75ZM12.3729 7L11.9101 6.15145L11.91 6.15138C11.6911 5.74989 11.2702 5.5 10.8127 5.5H6.75C6.05964 5.5 5.5 6.05964 5.5 6.75V7H12.3729ZM5.5 17.25V8.5H17.25C17.9404 8.5 18.5 9.05964 18.5 9.75V17.25C18.5 17.9404 17.9404 18.5 17.25 18.5H6.75C6.05964 18.5 5.5 17.9404 5.5 17.25Z",fill:"currentColor",fillRule:"evenodd"})}));y.displayName="IconFolder";let v=l.forwardRef(({...t},i)=>(0,e.jsx)(g.IconBase,{ref:i,...t,children:(0,e.jsx)("path",{clipRule:"evenodd",d:"M6.75 4C5.23122 4 4 5.23122 4 6.75V17.25V17.5C4 17.5933 4.01702 17.6825 4.04812 17.7649C4.28918 19.0376 5.4072 20 6.75 20H17.25C17.9905 20 18.6283 19.7404 19.111 19.2387C19.5681 18.7636 19.836 18.1241 19.9792 17.4279L21.4711 12.206C21.4903 12.139 21.5 12.0697 21.5 12C21.5 10.652 20.5301 9.53047 19.25 9.29534V8.5C19.25 7.5335 18.4665 6.75 17.5 6.75H13.9452L13.227 5.43322C12.7451 4.54965 11.819 4 10.8127 4H6.75ZM17.75 9.25V8.5C17.75 8.36193 17.6381 8.25 17.5 8.25H13.5C13.2255 8.25 12.973 8.10009 12.8416 7.85915L11.9101 6.15145L11.91 6.15138C11.6911 5.74989 11.2702 5.5 10.8127 5.5H6.75C6.05964 5.5 5.5 6.05964 5.5 6.75V13.158L6.79875 9.73401C6.90926 9.44267 7.1884 9.25 7.5 9.25H17.75ZM5.50587 17.372L8.01766 10.75H18.5H18.75C19.4091 10.75 19.949 11.26 19.9966 11.9069L18.5289 17.044C18.5233 17.0634 18.5185 17.0831 18.5146 17.1029C18.4062 17.6448 18.2275 17.9934 18.03 18.1988C17.8513 18.3846 17.6141 18.5 17.25 18.5H6.75C6.10079 18.5 5.56718 18.0051 5.50587 17.372Z",fill:"currentColor",fillRule:"evenodd"})}));v.displayName="IconFolderOpen";let b=new Set,x=({emailsDirectoryMetadata:t,className:i,currentEmailOpenSlug:r})=>{let n=!!r&&r.includes(t.relativePath),o=0===t.emailFilenames.length&&0===t.subDirectories.length,[u,h]=l.useState(b.has(t.absolutePath)||n);return l.useEffect(()=>{n&&(b.add(t.absolutePath),h(!0))},[n,t.absolutePath]),(0,e.jsxs)(a.Root,{className:(0,s.cn)("group",i),onOpenChange:e=>{e?b.add(t.absolutePath):b.delete(t.absolutePath),h(e)},open:u,children:[(0,e.jsxs)(a.Trigger,{className:(0,s.cn)("flex h-8 w-full items-center text-start justify-between gap-2 font-medium text-[14px]",{"cursor-pointer":!o}),children:[u?(0,e.jsx)(v,{className:"w-[20px]",height:"20",width:"20"}):(0,e.jsx)(y,{height:"20",width:"20"}),(0,e.jsx)(f.Heading,{as:"h3",className:"transition grow w-[calc(100%-40px)] truncate duration-200 ease-in-out hover:text-slate-12",color:"gray",size:"2",weight:"medium",children:t.directoryName}),o?null:(0,e.jsx)(m.IconArrowDown,{width:"20",height:"20",className:"ml-auto opacity-60 transition-transform data-[open=true]:rotate-180","data-open":u})]}),o?null:(0,e.jsx)(w,{currentEmailOpenSlug:r,emailsDirectoryMetadata:t,open:u})]})},w=t=>{let i=(0,r.useSearchParams)(),n=(0,r.useRouter)(),o=l.useId();return(0,e.jsx)(u.AnimatePresence,{initial:!1,children:t.open?(0,e.jsx)(a.Content,{asChild:!0,className:"relative overflow-y-hidden pl-1",forceMount:!0,children:(0,e.jsxs)(c.motion.div,{animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},initial:{opacity:0,height:0},children:[t.isRoot?null:(0,e.jsx)("div",{className:"line absolute left-2.5 h-full w-px bg-slate-6"}),(0,e.jsx)("div",{className:"flex flex-col truncate",children:(0,e.jsxs)(h.LayoutGroup,{id:`sidebar-${o}`,children:[t.emailsDirectoryMetadata.subDirectories.map(i=>(0,e.jsx)(x,{className:(0,s.cn)("data-[state=open]:mb-2",!t.isRoot&&"pl-3"),currentEmailOpenSlug:t.currentEmailOpenSlug,emailsDirectoryMetadata:i},i.absolutePath)),t.emailsDirectoryMetadata.emailFilenames.map((r,o)=>{var a;let l,u=t.isRoot?r:`${t.emailsDirectoryMetadata.relativePath}/${r}`,h=!!t.currentEmailOpenSlug&&("tsx"===(l=(a=t.currentEmailOpenSlug).split(".").pop())||"jsx"===l||"ts"===l||"js"===l||"html"===l?a.split(".").slice(0,-1).join("."):a)===u,f=r.endsWith(".html"),m=new URLSearchParams(i);f&&"compatibility"===m.get("toolbar-panel")&&m.set("toolbar-panel","linter");let g=m.toString();return(0,e.jsx)(d.default,{href:{pathname:`/preview/${u}`,search:g},onMouseOver:()=>{n.prefetch(`/preview/${u}${g?`?${g}`:""}`)},children:(0,e.jsxs)(c.motion.span,{animate:{x:0,opacity:1},className:(0,s.cn)("relative flex h-8 w-full items-center text-start gap-2 rounded-md align-middle text-slate-11 text-sm transition-colors duration-100 ease-[cubic-bezier(.6,.12,.34,.96)]",t.isRoot?void 0:"pl-3",{"text-cyan-11":h,"hover:text-slate-12":t.currentEmailOpenSlug!==u}),initial:{x:-10+-(1.5*o),opacity:0},transition:{x:{delay:.03*o,duration:.2},opacity:{delay:.03*o,duration:.2}},children:[h?(0,e.jsx)(c.motion.span,{animate:{opacity:1},className:"absolute inset-0 rounded-md bg-cyan-5 opacity-0 transition-all duration-200 ease-[cubic-bezier(.6,.12,.34,.96)]",exit:{opacity:0},initial:{opacity:0},children:t.isRoot?null:(0,e.jsx)(c.motion.div,{className:"absolute top-1 left-[0.4rem] inset-0 h-6 w-px rounded-xs bg-cyan-11",layoutId:"active-file",transition:{type:"spring",bounce:.2,duration:.6}})}):null,(0,e.jsx)(p.IconFile,{className:"h-5 w-5",height:"20",width:"20"}),(0,e.jsx)("span",{className:"truncate w-[calc(100%-1.25rem)]",children:r})]})},u)})]})})]})}):null})},C=({currentEmailOpenSlug:t,emailsDirectoryMetadata:i})=>(0,e.jsx)("div",{className:"flex w-full h-full flex-col lg:w-full lg:min-w-58",children:(0,e.jsx)("nav",{className:"flex grow flex-col p-4 pr-0 pl-0",children:(0,e.jsx)(a.Root,{open:!0,children:(0,e.jsx)(l.Suspense,{children:(0,e.jsx)(w,{currentEmailOpenSlug:t,emailsDirectoryMetadata:i,isRoot:!0,open:!0})})})})});t.s(["Sidebar",0,({className:t})=>{let{emailsDirectoryMetadata:a}=(0,n.useEmails)(),l=(0,r.useParams)(),u=Array.isArray(l.slug)?decodeURIComponent(l.slug.join("/")):void 0;return(0,e.jsx)("aside",{className:(0,s.cn)("overflow-hidden","lg:static lg:z-auto lg:max-h-screen lg:w-[16rem]",t),children:(0,e.jsxs)("div",{className:"flex w-full h-full overflow-hidden flex-col border-slate-6 border-r",children:[(0,e.jsx)("div",{className:(0,i.clsx)("hidden min-h-14 shrink items-center py-2 px-3 lg:flex border-b border-slate-4"),children:(0,e.jsx)("h2",{children:(0,e.jsx)(o.Logo,{})})}),(0,e.jsx)("div",{className:"relative grow w-full h-full overflow-y-auto overflow-x-hidden px-4 pb-3",children:(0,e.jsx)(C,{currentEmailOpenSlug:u,emailsDirectoryMetadata:a})})]})})}],68645)},60203,74805,54734,t=>{"use strict";let e,i,r;var n,s,o=t.i(31317),a=t.i(65289),l=t.i(74185);let u=(0,l.createServerReference)("00e653351492cac5b1d2223e4341a129264c2a02b9",l.callServer,void 0,l.findSourceMapURL,"getEmailsDirectoryMetadataAction");var h=t.i(21403);h.default.env.REACT_EMAIL_INTERNAL_USER_PROJECT_LOCATION,h.default.env.REACT_EMAIL_INTERNAL_PREVIEW_SERVER_LOCATION,h.default.env.REACT_EMAIL_INTERNAL_EMAILS_DIR_ABSOLUTE_PATH,h.default.env.REACT_EMAIL_INTERNAL_RESEND_API_KEY,h.default.env.REACT_EMAIL_INTERNAL_ESBUILD_PLUGINS_PATH;let c="true"===h.default.env.NEXT_PUBLIC_IS_BUILDING,d="true"===h.default.env.NEXT_PUBLIC_IS_PREVIEW_DEVELOPMENT;t.s(["isBuilding",0,c,"isPreviewDevelopment",0,d],74805);let p=Object.create(null);p.open="0",p.close="1",p.ping="2",p.pong="3",p.message="4",p.upgrade="5",p.noop="6";let f=Object.create(null);Object.keys(p).forEach(t=>{f[p[t]]=t});let m={type:"error",data:"parser error"},g="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),y="function"==typeof ArrayBuffer,v=t=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,b=({type:t,data:e},i,r)=>{if(g&&e instanceof Blob)if(i)return r(e);else return x(e,r);if(y&&(e instanceof ArrayBuffer||v(e)))if(i)return r(e);else return x(new Blob([e]),r);return r(p[t]+(e||""))},x=(t,e)=>{let i=new FileReader;return i.onload=function(){e("b"+(i.result.split(",")[1]||""))},i.readAsDataURL(t)};function w(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let C="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",k="u"<typeof Uint8Array?[]:new Uint8Array(256);for(let t=0;t<C.length;t++)k[C.charCodeAt(t)]=t;let E="function"==typeof ArrayBuffer,T=(t,e)=>{if("string"!=typeof t)return{type:"message",data:P(t,e)};let i=t.charAt(0);return"b"===i?{type:"message",data:S(t.substring(1),e)}:f[i]?t.length>1?{type:f[i],data:t.substring(1)}:{type:f[i]}:m},S=(t,e)=>E?P((t=>{let e=.75*t.length,i=t.length,r,n=0,s,o,a,l;"="===t[t.length-1]&&(e--,"="===t[t.length-2]&&e--);let u=new ArrayBuffer(e),h=new Uint8Array(u);for(r=0;r<i;r+=4)s=k[t.charCodeAt(r)],o=k[t.charCodeAt(r+1)],a=k[t.charCodeAt(r+2)],l=k[t.charCodeAt(r+3)],h[n++]=s<<2|o>>4,h[n++]=(15&o)<<4|a>>2,h[n++]=(3&a)<<6|63&l;return u})(t),e):{base64:!0,data:t},P=(t,e)=>"blob"===e?t instanceof Blob?t:new Blob([t]):t instanceof ArrayBuffer?t:t.buffer;function A(t){return t.reduce((t,e)=>t+e.length,0)}function R(t,e){if(t[0].length===e)return t.shift();let i=new Uint8Array(e),r=0;for(let n=0;n<e;n++)i[n]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),i}function _(t){if(t){var e=t;for(var i in _.prototype)e[i]=_.prototype[i];return e}}_.prototype.on=_.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this},_.prototype.once=function(t,e){function i(){this.off(t,i),e.apply(this,arguments)}return i.fn=e,this.on(t,i),this},_.prototype.off=_.prototype.removeListener=_.prototype.removeAllListeners=_.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i,r=this._callbacks["$"+t];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+t],this;for(var n=0;n<r.length;n++)if((i=r[n])===e||i.fn===e){r.splice(n,1);break}return 0===r.length&&delete this._callbacks["$"+t],this},_.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=Array(arguments.length-1),i=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(i){i=i.slice(0);for(var r=0,n=i.length;r<n;++r)i[r].apply(this,e)}return this},_.prototype.emitReserved=_.prototype.emit,_.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]},_.prototype.hasListeners=function(t){return!!this.listeners(t).length};let M="function"==typeof Promise&&"function"==typeof Promise.resolve?t=>Promise.resolve().then(t):(t,e)=>e(t,0),L="u">typeof self?self:"u">typeof window?window:Function("return this")();function j(t,...e){return e.reduce((e,i)=>(t.hasOwnProperty(i)&&(e[i]=t[i]),e),{})}let V=L.setTimeout,O=L.clearTimeout;function D(t,e){e.useNativeTimers?(t.setTimeoutFn=V.bind(L),t.clearTimeoutFn=O.bind(L)):(t.setTimeoutFn=L.setTimeout.bind(L),t.clearTimeoutFn=L.clearTimeout.bind(L))}function N(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class B extends Error{constructor(t,e,i){super(t),this.description=e,this.context=i,this.type="TransportError"}}class I extends _{constructor(t){super(),this.writable=!1,D(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,e,i){return super.emitReserved("error",new B(t,e,i)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(t){"open"===this.readyState&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){let e=T(t,this.socket.binaryType);this.onPacket(e)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,e={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(e)}_hostname(){let t=this.opts.hostname;return -1===t.indexOf(":")?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(t){let e=function(t){let e="";for(let i in t)t.hasOwnProperty(i)&&(e.length&&(e+="&"),e+=encodeURIComponent(i)+"="+encodeURIComponent(t[i]));return e}(t);return e.length?"?"+e:""}}class F extends I{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";let e=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let t=0;this._polling&&(t++,this.once("pollComplete",function(){--t||e()})),this.writable||(t++,this.once("drain",function(){--t||e()}))}else e()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){let e=t=>{if("opening"===this.readyState&&"open"===t.type&&this.onOpen(),"close"===t.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(t)};((t,e)=>{let i=t.split("\x1e"),r=[];for(let t=0;t<i.length;t++){let n=T(i[t],e);if(r.push(n),"error"===n.type)break}return r})(t,this.socket.binaryType).forEach(e),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let t=()=>{this.write([{type:"close"}])};"open"===this.readyState?t():this.once("open",t)}write(t){var e;let i,r,n;this.writable=!1,e=t=>{this.doWrite(t,()=>{this.writable=!0,this.emitReserved("drain")})},r=Array(i=t.length),n=0,t.forEach((t,s)=>{b(t,!1,t=>{r[s]=t,++n===i&&e(r.join("\x1e"))})})}uri(){let t=this.opts.secure?"https":"http",e=this.query||{};return!1!==this.opts.timestampRequests&&(e[this.opts.timestampParam]=N()),this.supportsBinary||e.sid||(e.b64=1),this.createUri(t,e)}}let U=!1;try{U="u">typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(t){}let $=U;function z(){}class H extends F{constructor(t){if(super(t),"u">typeof location){const e="https:"===location.protocol;let i=location.port;i||(i=e?"443":"80"),this.xd="u">typeof location&&t.hostname!==location.hostname||i!==t.port}}doWrite(t,e){let i=this.request({method:"POST",data:t});i.on("success",e),i.on("error",(t,e)=>{this.onError("xhr post error",t,e)})}doPoll(){let t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(t,e)=>{this.onError("xhr poll error",t,e)}),this.pollXhr=t}}class W extends _{constructor(t,e,i){super(),this.createRequest=t,D(this,i),this._opts=i,this._method=i.method||"GET",this._uri=e,this._data=void 0!==i.data?i.data:null,this._create()}_create(){var t;let e=j(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");e.xdomain=!!this._opts.xd;let i=this._xhr=this.createRequest(e);try{i.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let t in i.setDisableHeaderCheck&&i.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(t)&&i.setRequestHeader(t,this._opts.extraHeaders[t])}catch(t){}if("POST"===this._method)try{i.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(t){}try{i.setRequestHeader("Accept","*/*")}catch(t){}null==(t=this._opts.cookieJar)||t.addCookies(i),"withCredentials"in i&&(i.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(i.timeout=this._opts.requestTimeout),i.onreadystatechange=()=>{var t;3===i.readyState&&(null==(t=this._opts.cookieJar)||t.parseCookies(i.getResponseHeader("set-cookie"))),4===i.readyState&&(200===i.status||1223===i.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof i.status?i.status:0)},0))},i.send(this._data)}catch(t){this.setTimeoutFn(()=>{this._onError(t)},0);return}"u">typeof document&&(this._index=W.requestsCount++,W.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=z,t)try{this._xhr.abort()}catch(t){}"u">typeof document&&delete W.requests[this._index],this._xhr=null}}_onLoad(){let t=this._xhr.responseText;null!==t&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function q(){for(let t in W.requests)W.requests.hasOwnProperty(t)&&W.requests[t].abort()}W.requestsCount=0,W.requests={},"u">typeof document&&("function"==typeof attachEvent?attachEvent("onunload",q):"function"==typeof addEventListener&&addEventListener("onpagehide"in L?"pagehide":"unload",q,!1));let Y=(r=K({xdomain:!1}))&&null!==r.responseType;function K(t){let e=t.xdomain;try{if("u">typeof XMLHttpRequest&&(!e||$))return new XMLHttpRequest}catch(t){}if(!e)try{return new L[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(t){}}let X="u">typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class Z extends I{get name(){return"websocket"}doOpen(){let t=this.uri(),e=this.opts.protocols,i=X?{}:j(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(i.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,e,i)}catch(t){return this.emitReserved("error",t)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let i=t[e],r=e===t.length-1;b(i,this.supportsBinary,t=>{try{this.doWrite(i,t)}catch(t){}r&&M(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let t=this.opts.secure?"wss":"ws",e=this.query||{};return this.opts.timestampRequests&&(e[this.opts.timestampParam]=N()),this.supportsBinary||(e.b64=1),this.createUri(t,e)}}let G=L.WebSocket||L.MozWebSocket,J={websocket:class extends Z{createSocket(t,e,i){return X?new G(t,e,i):e?new G(t,e):new G(t)}doWrite(t,e){this.ws.send(e)}},webtransport:class extends I{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{var r,n;let s,o,a,l,u=(r=Number.MAX_SAFE_INTEGER,n=this.socket.binaryType,i||(i=new TextDecoder),s=[],o=0,a=-1,l=!1,new TransformStream({transform(t,e){for(s.push(t);;){if(0===o){if(1>A(s))break;let t=R(s,1);l=(128&t[0])==128,o=(a=127&t[0])<126?3:126===a?1:2}else if(1===o){if(2>A(s))break;let t=R(s,2);a=new DataView(t.buffer,t.byteOffset,t.length).getUint16(0),o=3}else if(2===o){if(8>A(s))break;let t=R(s,8),i=new DataView(t.buffer,t.byteOffset,t.length),r=i.getUint32(0);if(r>2097151){e.enqueue(m);break}a=0x100000000*r+i.getUint32(4),o=3}else{if(A(s)<a)break;let t=R(s,a);e.enqueue(T(l?t:i.decode(t),n)),o=0}if(0===a||a>r){e.enqueue(m);break}}}})),h=t.readable.pipeThrough(u).getReader(),c=new TransformStream({transform(t,i){var r;r=e=>{let r,n=e.length;if(n<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,n);else if(n<65536){let t=new DataView((r=new Uint8Array(3)).buffer);t.setUint8(0,126),t.setUint16(1,n)}else{let t=new DataView((r=new Uint8Array(9)).buffer);t.setUint8(0,127),t.setBigUint64(1,BigInt(n))}t.data&&"string"!=typeof t.data&&(r[0]|=128),i.enqueue(r),i.enqueue(e)},g&&t.data instanceof Blob?t.data.arrayBuffer().then(w).then(r):y&&(t.data instanceof ArrayBuffer||v(t.data))?r(w(t.data)):b(t,!1,t=>{e||(e=new TextEncoder),r(e.encode(t))})}});c.readable.pipeTo(t.writable),this._writer=c.writable.getWriter();let d=()=>{h.read().then(({done:t,value:e})=>{t||(this.onPacket(e),d())}).catch(t=>{})};d();let p={type:"open"};this.query.sid&&(p.data=`{"sid":"${this.query.sid}"}`),this._writer.write(p).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let e=0;e<t.length;e++){let i=t[e],r=e===t.length-1;this._writer.write(i).then(()=>{r&&M(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;null==(t=this._transport)||t.close()}},polling:class extends H{constructor(t){super(t);const e=t&&t.forceBase64;this.supportsBinary=Y&&!e}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new W(K,this.uri(),t)}}},Q=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,tt=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function te(t){var e,i;let r,n;if(t.length>8e3)throw"URI too long";let s=t,o=t.indexOf("["),a=t.indexOf("]");-1!=o&&-1!=a&&(t=t.substring(0,o)+t.substring(o,a).replace(/:/g,";")+t.substring(a,t.length));let l=Q.exec(t||""),u={},h=14;for(;h--;)u[tt[h]]=l[h]||"";return -1!=o&&-1!=a&&(u.source=s,u.host=u.host.substring(1,u.host.length-1).replace(/;/g,":"),u.authority=u.authority.replace("[","").replace("]","").replace(/;/g,":"),u.ipv6uri=!0),r=(e=u.path).replace(/\/{2,9}/g,"/").split("/"),("/"==e.slice(0,1)||0===e.length)&&r.splice(0,1),"/"==e.slice(-1)&&r.splice(r.length-1,1),u.pathNames=r,i=u.query,n={},i.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(t,e,i){e&&(n[e]=i)}),u.queryKey=n,u}let ti="function"==typeof addEventListener&&"function"==typeof removeEventListener,tr=[];ti&&addEventListener("offline",()=>{tr.forEach(t=>t())},!1);class tn extends _{constructor(t,e){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&"object"==typeof t&&(e=t,t=null),t){const i=te(t);e.hostname=i.host,e.secure="https"===i.protocol||"wss"===i.protocol,e.port=i.port,i.query&&(e.query=i.query)}else e.host&&(e.hostname=te(e.host).host);D(this,e),this.secure=null!=e.secure?e.secure:"u">typeof location&&"https:"===location.protocol,e.hostname&&!e.port&&(e.port=this.secure?"443":"80"),this.hostname=e.hostname||("u">typeof location?location.hostname:"localhost"),this.port=e.port||("u">typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},e.transports.forEach(t=>{let e=t.prototype.name;this.transports.push(e),this._transportsByName[e]=t}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},e),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(t){let e={},i=t.split("&");for(let t=0,r=i.length;t<r;t++){let r=i[t].split("=");e[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return e}(this.opts.query)),ti&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},tr.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){let e=Object.assign({},this.opts.query);e.EIO=4,e.transport=t,this.id&&(e.sid=this.id);let i=Object.assign({},this.opts,{query:e,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](i)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let t=this.opts.rememberUpgrade&&tn.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let e=this.createTransport(t);e.open(),this.setTransport(e)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",t=>this._onClose("transport close",t))}onOpen(){this.readyState="open",tn.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let e=Error("server error");e.code=t.data,this._onError(e);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data)}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let t=1;for(let e=0;e<this.writeBuffer.length;e++){let i=this.writeBuffer[e].data;if(i&&(t+="string"==typeof i?function(t){let e=0,i=0;for(let r=0,n=t.length;r<n;r++)(e=t.charCodeAt(r))<128?i+=1:e<2048?i+=2:e<55296||e>=57344?i+=3:(r++,i+=4);return i}(i):Math.ceil(1.33*(i.byteLength||i.size))),e>0&&t>this._maxPayload)return this.writeBuffer.slice(0,e);t+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,M(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,e,i){return this._sendPacket("message",t,e,i),this}send(t,e,i){return this._sendPacket("message",t,e,i),this}_sendPacket(t,e,i,r){if("function"==typeof e&&(r=e,e=void 0),"function"==typeof i&&(r=i,i=null),"closing"===this.readyState||"closed"===this.readyState)return;(i=i||{}).compress=!1!==i.compress;let n={type:t,data:e,options:i};this.emitReserved("packetCreate",n),this.writeBuffer.push(n),r&&this.once("flush",r),this.flush()}close(){let t=()=>{this._onClose("forced close"),this.transport.close()},e=()=>{this.off("upgrade",e),this.off("upgradeError",e),t()},i=()=>{this.once("upgrade",e),this.once("upgradeError",e)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?i():t()}):this.upgrading?i():t()),this}_onError(t){if(tn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),ti&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let t=tr.indexOf(this._offlineEventListener);-1!==t&&tr.splice(t,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,e),this.writeBuffer=[],this._prevBufferLen=0}}}tn.protocol=4;class ts extends tn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let e=this.createTransport(t),i=!1;tn.priorWebsocketSuccess=!1;let r=()=>{i||(e.send([{type:"ping",data:"probe"}]),e.once("packet",t=>{if(!i)if("pong"===t.type&&"probe"===t.data){if(this.upgrading=!0,this.emitReserved("upgrading",e),!e)return;tn.priorWebsocketSuccess="websocket"===e.name,this.transport.pause(()=>{i||"closed"!==this.readyState&&(u(),this.setTransport(e),e.send([{type:"upgrade"}]),this.emitReserved("upgrade",e),e=null,this.upgrading=!1,this.flush())})}else{let t=Error("probe error");t.transport=e.name,this.emitReserved("upgradeError",t)}}))};function n(){i||(i=!0,u(),e.close(),e=null)}let s=t=>{let i=Error("probe error: "+t);i.transport=e.name,n(),this.emitReserved("upgradeError",i)};function o(){s("transport closed")}function a(){s("socket closed")}function l(t){e&&t.name!==e.name&&n()}let u=()=>{e.removeListener("open",r),e.removeListener("error",s),e.removeListener("close",o),this.off("close",a),this.off("upgrading",l)};e.once("open",r),e.once("error",s),e.once("close",o),this.once("close",a),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==t?this.setTimeoutFn(()=>{i||e.open()},200):e.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){let e=[];for(let i=0;i<t.length;i++)~this.transports.indexOf(t[i])&&e.push(t[i]);return e}}class to extends ts{constructor(t,e={}){const i="object"==typeof t?t:e;(!i.transports||i.transports&&"string"==typeof i.transports[0])&&(i.transports=(i.transports||["polling","websocket","webtransport"]).map(t=>J[t]).filter(t=>!!t)),super(t,i)}}to.protocol;let ta="function"==typeof ArrayBuffer,tl=Object.prototype.toString,tu="function"==typeof Blob||"u">typeof Blob&&"[object BlobConstructor]"===tl.call(Blob),th="function"==typeof File||"u">typeof File&&"[object FileConstructor]"===tl.call(File);function tc(t){return ta&&(t instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer))||tu&&t instanceof Blob||th&&t instanceof File}let td=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];(n=s||(s={}))[n.CONNECT=0]="CONNECT",n[n.DISCONNECT=1]="DISCONNECT",n[n.EVENT=2]="EVENT",n[n.ACK=3]="ACK",n[n.CONNECT_ERROR=4]="CONNECT_ERROR",n[n.BINARY_EVENT=5]="BINARY_EVENT",n[n.BINARY_ACK=6]="BINARY_ACK";class tp extends _{constructor(t){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof t?{reviver:t}:t)}add(t){let e;if("string"==typeof t){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let i=(e=this.decodeString(t)).type===s.BINARY_EVENT;i||e.type===s.BINARY_ACK?(e.type=i?s.EVENT:s.ACK,this.reconstructor=new tf(e),0===e.attachments&&super.emitReserved("decoded",e)):super.emitReserved("decoded",e)}else if(tc(t)||t.base64)if(this.reconstructor)(e=this.reconstructor.takeBinaryData(t))&&(this.reconstructor=null,super.emitReserved("decoded",e));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+t)}decodeString(t){let e=0,i={type:Number(t.charAt(0))};if(void 0===s[i.type])throw Error("unknown packet type "+i.type);if(i.type===s.BINARY_EVENT||i.type===s.BINARY_ACK){let r=e+1;for(;"-"!==t.charAt(++e)&&e!=t.length;);let n=t.substring(r,e);if(n!=Number(n)||"-"!==t.charAt(e))throw Error("Illegal attachments");let s=Number(n);if(!tm(s)||s<0)throw Error("Illegal attachments");if(s>this.opts.maxAttachments)throw Error("too many attachments");i.attachments=s}if("/"===t.charAt(e+1)){let r=e+1;for(;++e&&","!==t.charAt(e)&&e!==t.length;);i.nsp=t.substring(r,e)}else i.nsp="/";let r=t.charAt(e+1);if(""!==r&&Number(r)==r){let r=e+1;for(;++e;){let i=t.charAt(e);if(null==i||Number(i)!=i){--e;break}if(e===t.length)break}i.id=Number(t.substring(r,e+1))}if(t.charAt(++e)){let r=this.tryParse(t.substr(e));if(tp.isPayloadValid(i.type,r))i.data=r;else throw Error("invalid payload")}return i}tryParse(t){try{return JSON.parse(t,this.opts.reviver)}catch(t){return!1}}static isPayloadValid(t,e){switch(t){case s.CONNECT:return tg(e);case s.DISCONNECT:return void 0===e;case s.CONNECT_ERROR:return"string"==typeof e||tg(e);case s.EVENT:case s.BINARY_EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===td.indexOf(e[0]));case s.ACK:case s.BINARY_ACK:return Array.isArray(e)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class tf{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){var e,i;let t=(e=this.reconPack,i=this.buffers,e.data=function t(e,i){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<i.length)return i[e.num];throw Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=t(e[r],i);else if("object"==typeof e)for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=t(e[r],i));return e}(e.data,i),delete e.attachments,e);return this.finishedReconstruction(),t}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let tm=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t};function tg(t){return"[object Object]"===Object.prototype.toString.call(t)}function ty(t,e,i){return t.on(e,i),function(){t.off(e,i)}}t.s(["Decoder",0,tp,"Encoder",0,class{constructor(t){this.replacer=t}encode(t){return(t.type===s.EVENT||t.type===s.ACK)&&function t(e,i){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let i=0,r=e.length;i<r;i++)if(t(e[i]))return!0;return!1}if(tc(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1==arguments.length)return t(e.toJSON(),!0);for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t(e[i]))return!0;return!1}(t)?this.encodeAsBinary({type:t.type===s.EVENT?s.BINARY_EVENT:s.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let e=""+t.type;return(t.type===s.BINARY_EVENT||t.type===s.BINARY_ACK)&&(e+=t.attachments+"-"),t.nsp&&"/"!==t.nsp&&(e+=t.nsp+","),null!=t.id&&(e+=t.id),null!=t.data&&(e+=JSON.stringify(t.data,this.replacer)),e}encodeAsBinary(t){let e,i,r=(e=[],i=t.data,t.data=function t(e,i){if(!e)return e;if(tc(e)){let t={_placeholder:!0,num:i.length};return i.push(e),t}if(Array.isArray(e)){let r=Array(e.length);for(let n=0;n<e.length;n++)r[n]=t(e[n],i);return r}if("object"==typeof e&&!(e instanceof Date)){let r={};for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=t(e[n],i));return r}return e}(i,e),t.attachments=e.length,{packet:t,buffers:e}),n=this.encodeAsString(r.packet),s=r.buffers;return s.unshift(n),s}},"PacketType",0,s,"isPacketValid",0,function(t){var e;return"string"==typeof t.nsp&&(void 0===(e=t.id)||tm(e))&&function(t,e){switch(t){case s.CONNECT:return void 0===e||tg(e);case s.DISCONNECT:return void 0===e;case s.EVENT:return Array.isArray(e)&&("number"==typeof e[0]||"string"==typeof e[0]&&-1===td.indexOf(e[0]));case s.ACK:return Array.isArray(e);case s.CONNECT_ERROR:return"string"==typeof e||tg(e);default:return!1}}(t.type,t.data)},"protocol",0,5],53192);let tv=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class tb extends _{constructor(t,e,i){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=t,this.nsp=e,i&&i.auth&&(this.auth=i.auth),this._opts=Object.assign({},i),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let t=this.io;this.subs=[ty(t,"open",this.onopen.bind(this)),ty(t,"packet",this.onpacket.bind(this)),ty(t,"error",this.onerror.bind(this)),ty(t,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...t){return t.unshift("message"),this.emit.apply(this,t),this}emit(t,...e){var i,r,n;if(tv.hasOwnProperty(t))throw Error('"'+t.toString()+'" is a reserved event name');if(e.unshift(t),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(e),this;let o={type:s.EVENT,data:e};if(o.options={},o.options.compress=!1!==this.flags.compress,"function"==typeof e[e.length-1]){let t=this.ids++,i=e.pop();this._registerAckCallback(t,i),o.id=t}let a=null==(r=null==(i=this.io.engine)?void 0:i.transport)?void 0:r.writable,l=this.connected&&!(null==(n=this.io.engine)?void 0:n._hasPingExpired());return this.flags.volatile&&!a||(l?(this.notifyOutgoingListeners(o),this.packet(o)):this.sendBuffer.push(o)),this.flags={},this}_registerAckCallback(t,e){var i;let r=null!=(i=this.flags.timeout)?i:this._opts.ackTimeout;if(void 0===r){this.acks[t]=e;return}let n=this.io.setTimeoutFn(()=>{delete this.acks[t];for(let e=0;e<this.sendBuffer.length;e++)this.sendBuffer[e].id===t&&this.sendBuffer.splice(e,1);e.call(this,Error("operation has timed out"))},r),s=(...t)=>{this.io.clearTimeoutFn(n),e.apply(this,t)};s.withError=!0,this.acks[t]=s}emitWithAck(t,...e){return new Promise((i,r)=>{let n=(t,e)=>t?r(t):i(e);n.withError=!0,e.push(n),this.emit(t,...e)})}_addToQueue(t){let e;"function"==typeof t[t.length-1]&&(e=t.pop());let i={id:this._queueSeq++,tryCount:0,pending:!1,args:t,flags:Object.assign({fromQueue:!0},this.flags)};t.push((t,...r)=>(this._queue[0],null!==t?i.tryCount>this._opts.retries&&(this._queue.shift(),e&&e(t)):(this._queue.shift(),e&&e(null,...r)),i.pending=!1,this._drainQueue())),this._queue.push(i),this._drainQueue()}_drainQueue(t=!1){if(!this.connected||0===this._queue.length)return;let e=this._queue[0];(!e.pending||t)&&(e.pending=!0,e.tryCount++,this.flags=e.flags,this.emit.apply(this,e.args))}packet(t){t.nsp=this.nsp,this.io._packet(t)}onopen(){"function"==typeof this.auth?this.auth(t=>{this._sendConnectPacket(t)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(t){this.packet({type:s.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},t):t})}onerror(t){this.connected||this.emitReserved("connect_error",t)}onclose(t,e){this.connected=!1,delete this.id,this.emitReserved("disconnect",t,e),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(t=>{if(!this.sendBuffer.some(e=>String(e.id)===t)){let e=this.acks[t];delete this.acks[t],e.withError&&e.call(this,Error("socket has been disconnected"))}})}onpacket(t){if(t.nsp===this.nsp)switch(t.type){case s.CONNECT:t.data&&t.data.sid?this.onconnect(t.data.sid,t.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case s.EVENT:case s.BINARY_EVENT:this.onevent(t);break;case s.ACK:case s.BINARY_ACK:this.onack(t);break;case s.DISCONNECT:this.ondisconnect();break;case s.CONNECT_ERROR:this.destroy();let e=Error(t.data.message);e.data=t.data.data,this.emitReserved("connect_error",e)}}onevent(t){let e=t.data||[];null!=t.id&&e.push(this.ack(t.id)),this.connected?this.emitEvent(e):this.receiveBuffer.push(Object.freeze(e))}emitEvent(t){if(this._anyListeners&&this._anyListeners.length)for(let e of this._anyListeners.slice())e.apply(this,t);super.emit.apply(this,t),this._pid&&t.length&&"string"==typeof t[t.length-1]&&(this._lastOffset=t[t.length-1])}ack(t){let e=this,i=!1;return function(...r){i||(i=!0,e.packet({type:s.ACK,id:t,data:r}))}}onack(t){let e=this.acks[t.id];"function"==typeof e&&(delete this.acks[t.id],e.withError&&t.data.unshift(null),e.apply(this,t.data))}onconnect(t,e){this.id=t,this.recovered=e&&this._pid===e,this._pid=e,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(t=>this.emitEvent(t)),this.receiveBuffer=[],this.sendBuffer.forEach(t=>{this.notifyOutgoingListeners(t),this.packet(t)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(t=>t()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:s.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(t){return this.flags.compress=t,this}get volatile(){return this.flags.volatile=!0,this}timeout(t){return this.flags.timeout=t,this}onAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(t),this}prependAny(t){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(t),this}offAny(t){if(!this._anyListeners)return this;if(t){let e=this._anyListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(t),this}prependAnyOutgoing(t){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(t),this}offAnyOutgoing(t){if(!this._anyOutgoingListeners)return this;if(t){let e=this._anyOutgoingListeners;for(let i=0;i<e.length;i++)if(t===e[i]){e.splice(i,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(t){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let e of this._anyOutgoingListeners.slice())e.apply(this,t.data)}}var tx=t.i(53192);function tw(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}tw.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),i=Math.floor(e*this.jitter*t);t=(1&Math.floor(10*e))==0?t-i:t+i}return 0|Math.min(t,this.max)},tw.prototype.reset=function(){this.attempts=0},tw.prototype.setMin=function(t){this.ms=t},tw.prototype.setMax=function(t){this.max=t},tw.prototype.setJitter=function(t){this.jitter=t};class tC extends _{constructor(t,e){var i;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(e=t,t=void 0),(e=e||{}).path=e.path||"/socket.io",this.opts=e,D(this,e),this.reconnection(!1!==e.reconnection),this.reconnectionAttempts(e.reconnectionAttempts||1/0),this.reconnectionDelay(e.reconnectionDelay||1e3),this.reconnectionDelayMax(e.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(i=e.randomizationFactor)?i:.5),this.backoff=new tw({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==e.timeout?2e4:e.timeout),this._readyState="closed",this.uri=t;const r=e.parser||tx;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==e.autoConnect,this._autoConnect&&this.open()}reconnection(t){return arguments.length?(this._reconnection=!!t,t||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(t){return void 0===t?this._reconnectionAttempts:(this._reconnectionAttempts=t,this)}reconnectionDelay(t){var e;return void 0===t?this._reconnectionDelay:(this._reconnectionDelay=t,null==(e=this.backoff)||e.setMin(t),this)}randomizationFactor(t){var e;return void 0===t?this._randomizationFactor:(this._randomizationFactor=t,null==(e=this.backoff)||e.setJitter(t),this)}reconnectionDelayMax(t){var e;return void 0===t?this._reconnectionDelayMax:(this._reconnectionDelayMax=t,null==(e=this.backoff)||e.setMax(t),this)}timeout(t){return arguments.length?(this._timeout=t,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(t){if(~this._readyState.indexOf("open"))return this;this.engine=new to(this.uri,this.opts);let e=this.engine,i=this;this._readyState="opening",this.skipReconnect=!1;let r=ty(e,"open",function(){i.onopen(),t&&t()}),n=e=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",e),t?t(e):this.maybeReconnectOnOpen()},s=ty(e,"error",n);if(!1!==this._timeout){let t=this._timeout,i=this.setTimeoutFn(()=>{r(),n(Error("timeout")),e.close()},t);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}return this.subs.push(r),this.subs.push(s),this}connect(t){return this.open(t)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let t=this.engine;this.subs.push(ty(t,"ping",this.onping.bind(this)),ty(t,"data",this.ondata.bind(this)),ty(t,"error",this.onerror.bind(this)),ty(t,"close",this.onclose.bind(this)),ty(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(t){try{this.decoder.add(t)}catch(t){this.onclose("parse error",t)}}ondecoded(t){M(()=>{this.emitReserved("packet",t)},this.setTimeoutFn)}onerror(t){this.emitReserved("error",t)}socket(t,e){let i=this.nsps[t];return i?this._autoConnect&&!i.active&&i.connect():(i=new tb(this,t,e),this.nsps[t]=i),i}_destroy(t){for(let t of Object.keys(this.nsps))if(this.nsps[t].active)return;this._close()}_packet(t){let e=this.encoder.encode(t);for(let i=0;i<e.length;i++)this.engine.write(e[i],t.options)}cleanup(){this.subs.forEach(t=>t()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(t,e){var i;this.cleanup(),null==(i=this.engine)||i.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",t,e),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let t=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let e=this.backoff.duration();this._reconnecting=!0;let i=this.setTimeoutFn(()=>{t.skipReconnect||(this.emitReserved("reconnect_attempt",t.backoff.attempts),t.skipReconnect||t.open(e=>{e?(t._reconnecting=!1,t.reconnect(),this.emitReserved("reconnect_error",e)):t.onreconnect()}))},e);this.opts.autoUnref&&i.unref(),this.subs.push(()=>{this.clearTimeoutFn(i)})}}onreconnect(){let t=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",t)}}let tk={};function tE(t,e){let i;"object"==typeof t&&(e=t,t=void 0);let r=function(t,e="",i){let r=t;i=i||"u">typeof location&&location,null==t&&(t=i.protocol+"//"+i.host),"string"==typeof t&&("/"===t.charAt(0)&&(t="/"===t.charAt(1)?i.protocol+t:i.host+t),/^(https?|wss?):\/\//.test(t)||(t=void 0!==i?i.protocol+"//"+t:"https://"+t),r=te(t)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let n=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+n+":"+r.port+e,r.href=r.protocol+"://"+n+(i&&i.port===r.port?"":":"+r.port),r}(t,(e=e||{}).path||"/socket.io"),n=r.source,s=r.id,o=r.path,a=tk[s]&&o in tk[s].nsps;return e.forceNew||e["force new connection"]||!1===e.multiplex||a?i=new tC(n,e):(tk[s]||(tk[s]=new tC(n,e)),i=tk[s]),r.query&&!e.query&&(e.query=r.queryKey),i.socket(r.path,e)}Object.assign(tE,{Manager:tC,Socket:tb,io:tE,connect:tE});let tT=t=>{let e=(0,a.useRef)(t);e.current=t,(0,a.useEffect)(()=>{let t=tE(),i=t=>{console.debug("Reloading..."),e.current(t)};return t.on("reload",i),()=>{t.off("reload",i),t.disconnect()}},[])};t.s(["useHotreload",0,tT],54734);let tS=(0,a.createContext)(void 0);t.s(["EmailsProvider",0,t=>{let[e,i]=(0,a.useState)(t.initialEmailsDirectoryMetadata);return c||d||tT(async()=>{let t=await u();if(t)i(t);else throw Error("Hot reloading: unable to find the emails directory to update the sidebar")}),(0,o.jsx)(tS.Provider,{value:{emailsDirectoryMetadata:e},children:t.children})},"useEmails",0,()=>{let t=(0,a.useContext)(tS);if(void 0===t)throw Error("Cannot call `useEmails` outside of an `EmailsContext` provider.");return t}],60203)},64618,7284,t=>{"use strict";var e;let i,r,n,s,o;function a(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}t.s(["clsx",0,a,"default",0,a],7284);let l=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),u=[],h=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=h(t,e+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===e?t.join("-"):t.slice(e).join("-"),a=s.length;for(let t=0;t<a;t++){let e=s[t];if(e.validator(o))return e.classGroupId}},c=(t,e)=>{let i=l();for(let r in t)d(t[r],i,r,e);return i},d=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)p(t[s],e,i,r)},p=(t,e,i,r)=>{"string"==typeof t?f(t,e,i):"function"==typeof t?m(t,e,i,r):g(t,e,i,r)},f=(t,e,i)=>{(""===t?e:y(e,t)).classGroupId=i},m=(t,e,i,r)=>{v(t)?d(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},g=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,o]=n[t];d(o,y(e,s),i,r)}},y=(t,e)=>{let i=t,r=e.split("-"),n=r.length;for(let t=0;t<n;t++){let e=r[t],n=i.nextPart.get(e);n||(n=l(),i.nextPart.set(e,n)),i=n}return i},v=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,b=[],x=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),w=/\s+/,C=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=C(t[r]))&&(i&&(i+=" "),i+=e);return i},k=[],E=t=>{let e=e=>e[t]||k;return e.isThemeGetter=!0,e},T=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,S=/^\((?:(\w[\w-]*):)?(.+)\)$/i,P=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,A=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,R=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j=t=>P.test(t),V=t=>!!t&&!Number.isNaN(Number(t)),O=t=>!!t&&Number.isInteger(Number(t)),D=t=>t.endsWith("%")&&V(t.slice(0,-1)),N=t=>A.test(t),B=()=>!0,I=t=>R.test(t)&&!_.test(t),F=()=>!1,U=t=>M.test(t),$=t=>L.test(t),z=t=>!W(t)&&!Q(t),H=t=>ta(t,tc,F),W=t=>T.test(t),q=t=>ta(t,td,I),Y=t=>ta(t,tp,V),K=t=>ta(t,tm,B),X=t=>ta(t,tf,F),Z=t=>ta(t,tu,F),G=t=>ta(t,th,$),J=t=>ta(t,tg,U),Q=t=>S.test(t),tt=t=>tl(t,td),te=t=>tl(t,tf),ti=t=>tl(t,tu),tr=t=>tl(t,tc),tn=t=>tl(t,th),ts=t=>tl(t,tg,!0),to=t=>tl(t,tm,!0),ta=(t,e,i)=>{let r=T.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},tl=(t,e,i=!1)=>{let r=S.exec(t);return!!r&&(r[1]?e(r[1]):i)},tu=t=>"position"===t||"percentage"===t,th=t=>"image"===t||"url"===t,tc=t=>"length"===t||"size"===t||"bg-size"===t,td=t=>"length"===t,tp=t=>"number"===t,tf=t=>"family-name"===t,tm=t=>"number"===t||"weight"===t,tg=t=>"shadow"===t,ty=(e=()=>{let t=E("color"),e=E("font"),i=E("text"),r=E("font-weight"),n=E("tracking"),s=E("leading"),o=E("breakpoint"),a=E("container"),l=E("spacing"),u=E("radius"),h=E("shadow"),c=E("inset-shadow"),d=E("text-shadow"),p=E("drop-shadow"),f=E("blur"),m=E("perspective"),g=E("aspect"),y=E("ease"),v=E("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...x(),Q,W],C=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto","contain","none"],T=()=>[Q,W,l],S=()=>[j,"full","auto",...T()],P=()=>[O,"none","subgrid",Q,W],A=()=>["auto",{span:["full",O,Q,W]},O,Q,W],R=()=>[O,"auto",Q,W],_=()=>["auto","min","max","fr",Q,W],M=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],I=()=>["auto",...T()],F=()=>[j,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...T()],U=()=>[j,"screen","full","dvw","lvw","svw","min","max","fit",...T()],$=()=>[j,"screen","full","lh","dvh","lvh","svh","min","max","fit",...T()],ta=()=>[t,Q,W],tl=()=>[...x(),ti,Z,{position:[Q,W]}],tu=()=>["no-repeat",{repeat:["","x","y","space","round"]}],th=()=>["auto","cover","contain",tr,H,{size:[Q,W]}],tc=()=>[D,tt,q],td=()=>["","none","full",u,Q,W],tp=()=>["",V,tt,q],tf=()=>["solid","dashed","dotted","double"],tm=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],tg=()=>[V,D,ti,Z],ty=()=>["","none",f,Q,W],tv=()=>["none",V,Q,W],tb=()=>["none",V,Q,W],tx=()=>[V,Q,W],tw=()=>[j,"full",...T()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[N],breakpoint:[N],color:[B],container:[N],"drop-shadow":[N],ease:["in","out","in-out"],font:[z],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[N],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[N],shadow:[N],spacing:["px",V],text:[N],"text-shadow":[N],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j,W,Q,g]}],container:["container"],columns:[{columns:[V,W,Q,a]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:C()}],"overflow-x":[{"overflow-x":C()}],"overflow-y":[{"overflow-y":C()}],overscroll:[{overscroll:k()}],"overscroll-x":[{"overscroll-x":k()}],"overscroll-y":[{"overscroll-y":k()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[O,"auto",Q,W]}],basis:[{basis:[j,"full","auto",a,...T()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[V,j,"auto","initial","none",W]}],grow:[{grow:["",V,Q,W]}],shrink:[{shrink:["",V,Q,W]}],order:[{order:[O,"first","last","none",Q,W]}],"grid-cols":[{"grid-cols":P()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":P()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":_()}],"auto-rows":[{"auto-rows":_()}],gap:[{gap:T()}],"gap-x":[{"gap-x":T()}],"gap-y":[{"gap-y":T()}],"justify-content":[{justify:[...M(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...M()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":M()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:T()}],px:[{px:T()}],py:[{py:T()}],ps:[{ps:T()}],pe:[{pe:T()}],pbs:[{pbs:T()}],pbe:[{pbe:T()}],pt:[{pt:T()}],pr:[{pr:T()}],pb:[{pb:T()}],pl:[{pl:T()}],m:[{m:I()}],mx:[{mx:I()}],my:[{my:I()}],ms:[{ms:I()}],me:[{me:I()}],mbs:[{mbs:I()}],mbe:[{mbe:I()}],mt:[{mt:I()}],mr:[{mr:I()}],mb:[{mb:I()}],ml:[{ml:I()}],"space-x":[{"space-x":T()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":T()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],"inline-size":[{inline:["auto",...U()]}],"min-inline-size":[{"min-inline":["auto",...U()]}],"max-inline-size":[{"max-inline":["none",...U()]}],"block-size":[{block:["auto",...$()]}],"min-block-size":[{"min-block":["auto",...$()]}],"max-block-size":[{"max-block":["none",...$()]}],w:[{w:[a,"screen",...F()]}],"min-w":[{"min-w":[a,"screen","none",...F()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",i,tt,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,to,K]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",D,W]}],"font-family":[{font:[te,X,e]}],"font-features":[{"font-features":[W]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,Q,W]}],"line-clamp":[{"line-clamp":[V,"none",Q,Y]}],leading:[{leading:[s,...T()]}],"list-image":[{"list-image":["none",Q,W]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q,W]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:ta()}],"text-color":[{text:ta()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...tf(),"wavy"]}],"text-decoration-thickness":[{decoration:[V,"from-font","auto",Q,q]}],"text-decoration-color":[{decoration:ta()}],"underline-offset":[{"underline-offset":[V,"auto",Q,W]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:T()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q,W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q,W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:tl()}],"bg-repeat":[{bg:tu()}],"bg-size":[{bg:th()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},O,Q,W],radial:["",Q,W],conic:[O,Q,W]},tn,G]}],"bg-color":[{bg:ta()}],"gradient-from-pos":[{from:tc()}],"gradient-via-pos":[{via:tc()}],"gradient-to-pos":[{to:tc()}],"gradient-from":[{from:ta()}],"gradient-via":[{via:ta()}],"gradient-to":[{to:ta()}],rounded:[{rounded:td()}],"rounded-s":[{"rounded-s":td()}],"rounded-e":[{"rounded-e":td()}],"rounded-t":[{"rounded-t":td()}],"rounded-r":[{"rounded-r":td()}],"rounded-b":[{"rounded-b":td()}],"rounded-l":[{"rounded-l":td()}],"rounded-ss":[{"rounded-ss":td()}],"rounded-se":[{"rounded-se":td()}],"rounded-ee":[{"rounded-ee":td()}],"rounded-es":[{"rounded-es":td()}],"rounded-tl":[{"rounded-tl":td()}],"rounded-tr":[{"rounded-tr":td()}],"rounded-br":[{"rounded-br":td()}],"rounded-bl":[{"rounded-bl":td()}],"border-w":[{border:tp()}],"border-w-x":[{"border-x":tp()}],"border-w-y":[{"border-y":tp()}],"border-w-s":[{"border-s":tp()}],"border-w-e":[{"border-e":tp()}],"border-w-bs":[{"border-bs":tp()}],"border-w-be":[{"border-be":tp()}],"border-w-t":[{"border-t":tp()}],"border-w-r":[{"border-r":tp()}],"border-w-b":[{"border-b":tp()}],"border-w-l":[{"border-l":tp()}],"divide-x":[{"divide-x":tp()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":tp()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...tf(),"hidden","none"]}],"divide-style":[{divide:[...tf(),"hidden","none"]}],"border-color":[{border:ta()}],"border-color-x":[{"border-x":ta()}],"border-color-y":[{"border-y":ta()}],"border-color-s":[{"border-s":ta()}],"border-color-e":[{"border-e":ta()}],"border-color-bs":[{"border-bs":ta()}],"border-color-be":[{"border-be":ta()}],"border-color-t":[{"border-t":ta()}],"border-color-r":[{"border-r":ta()}],"border-color-b":[{"border-b":ta()}],"border-color-l":[{"border-l":ta()}],"divide-color":[{divide:ta()}],"outline-style":[{outline:[...tf(),"none","hidden"]}],"outline-offset":[{"outline-offset":[V,Q,W]}],"outline-w":[{outline:["",V,tt,q]}],"outline-color":[{outline:ta()}],shadow:[{shadow:["","none",h,ts,J]}],"shadow-color":[{shadow:ta()}],"inset-shadow":[{"inset-shadow":["none",c,ts,J]}],"inset-shadow-color":[{"inset-shadow":ta()}],"ring-w":[{ring:tp()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:ta()}],"ring-offset-w":[{"ring-offset":[V,q]}],"ring-offset-color":[{"ring-offset":ta()}],"inset-ring-w":[{"inset-ring":tp()}],"inset-ring-color":[{"inset-ring":ta()}],"text-shadow":[{"text-shadow":["none",d,ts,J]}],"text-shadow-color":[{"text-shadow":ta()}],opacity:[{opacity:[V,Q,W]}],"mix-blend":[{"mix-blend":[...tm(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":tm()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[V]}],"mask-image-linear-from-pos":[{"mask-linear-from":tg()}],"mask-image-linear-to-pos":[{"mask-linear-to":tg()}],"mask-image-linear-from-color":[{"mask-linear-from":ta()}],"mask-image-linear-to-color":[{"mask-linear-to":ta()}],"mask-image-t-from-pos":[{"mask-t-from":tg()}],"mask-image-t-to-pos":[{"mask-t-to":tg()}],"mask-image-t-from-color":[{"mask-t-from":ta()}],"mask-image-t-to-color":[{"mask-t-to":ta()}],"mask-image-r-from-pos":[{"mask-r-from":tg()}],"mask-image-r-to-pos":[{"mask-r-to":tg()}],"mask-image-r-from-color":[{"mask-r-from":ta()}],"mask-image-r-to-color":[{"mask-r-to":ta()}],"mask-image-b-from-pos":[{"mask-b-from":tg()}],"mask-image-b-to-pos":[{"mask-b-to":tg()}],"mask-image-b-from-color":[{"mask-b-from":ta()}],"mask-image-b-to-color":[{"mask-b-to":ta()}],"mask-image-l-from-pos":[{"mask-l-from":tg()}],"mask-image-l-to-pos":[{"mask-l-to":tg()}],"mask-image-l-from-color":[{"mask-l-from":ta()}],"mask-image-l-to-color":[{"mask-l-to":ta()}],"mask-image-x-from-pos":[{"mask-x-from":tg()}],"mask-image-x-to-pos":[{"mask-x-to":tg()}],"mask-image-x-from-color":[{"mask-x-from":ta()}],"mask-image-x-to-color":[{"mask-x-to":ta()}],"mask-image-y-from-pos":[{"mask-y-from":tg()}],"mask-image-y-to-pos":[{"mask-y-to":tg()}],"mask-image-y-from-color":[{"mask-y-from":ta()}],"mask-image-y-to-color":[{"mask-y-to":ta()}],"mask-image-radial":[{"mask-radial":[Q,W]}],"mask-image-radial-from-pos":[{"mask-radial-from":tg()}],"mask-image-radial-to-pos":[{"mask-radial-to":tg()}],"mask-image-radial-from-color":[{"mask-radial-from":ta()}],"mask-image-radial-to-color":[{"mask-radial-to":ta()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":x()}],"mask-image-conic-pos":[{"mask-conic":[V]}],"mask-image-conic-from-pos":[{"mask-conic-from":tg()}],"mask-image-conic-to-pos":[{"mask-conic-to":tg()}],"mask-image-conic-from-color":[{"mask-conic-from":ta()}],"mask-image-conic-to-color":[{"mask-conic-to":ta()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:tl()}],"mask-repeat":[{mask:tu()}],"mask-size":[{mask:th()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",Q,W]}],filter:[{filter:["","none",Q,W]}],blur:[{blur:ty()}],brightness:[{brightness:[V,Q,W]}],contrast:[{contrast:[V,Q,W]}],"drop-shadow":[{"drop-shadow":["","none",p,ts,J]}],"drop-shadow-color":[{"drop-shadow":ta()}],grayscale:[{grayscale:["",V,Q,W]}],"hue-rotate":[{"hue-rotate":[V,Q,W]}],invert:[{invert:["",V,Q,W]}],saturate:[{saturate:[V,Q,W]}],sepia:[{sepia:["",V,Q,W]}],"backdrop-filter":[{"backdrop-filter":["","none",Q,W]}],"backdrop-blur":[{"backdrop-blur":ty()}],"backdrop-brightness":[{"backdrop-brightness":[V,Q,W]}],"backdrop-contrast":[{"backdrop-contrast":[V,Q,W]}],"backdrop-grayscale":[{"backdrop-grayscale":["",V,Q,W]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[V,Q,W]}],"backdrop-invert":[{"backdrop-invert":["",V,Q,W]}],"backdrop-opacity":[{"backdrop-opacity":[V,Q,W]}],"backdrop-saturate":[{"backdrop-saturate":[V,Q,W]}],"backdrop-sepia":[{"backdrop-sepia":["",V,Q,W]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":T()}],"border-spacing-x":[{"border-spacing-x":T()}],"border-spacing-y":[{"border-spacing-y":T()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q,W]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[V,"initial",Q,W]}],ease:[{ease:["linear","initial",y,Q,W]}],delay:[{delay:[V,Q,W]}],animate:[{animate:["none",v,Q,W]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,Q,W]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:tv()}],"rotate-x":[{"rotate-x":tv()}],"rotate-y":[{"rotate-y":tv()}],"rotate-z":[{"rotate-z":tv()}],scale:[{scale:tb()}],"scale-x":[{"scale-x":tb()}],"scale-y":[{"scale-y":tb()}],"scale-z":[{"scale-z":tb()}],"scale-3d":["scale-3d"],skew:[{skew:tx()}],"skew-x":[{"skew-x":tx()}],"skew-y":[{"skew-y":tx()}],transform:[{transform:[Q,W,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:tw()}],"translate-x":[{"translate-x":tw()}],"translate-y":[{"translate-y":tw()}],"translate-z":[{"translate-z":tw()}],"translate-none":["translate-none"],accent:[{accent:ta()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:ta()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q,W]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":T()}],"scroll-mx":[{"scroll-mx":T()}],"scroll-my":[{"scroll-my":T()}],"scroll-ms":[{"scroll-ms":T()}],"scroll-me":[{"scroll-me":T()}],"scroll-mbs":[{"scroll-mbs":T()}],"scroll-mbe":[{"scroll-mbe":T()}],"scroll-mt":[{"scroll-mt":T()}],"scroll-mr":[{"scroll-mr":T()}],"scroll-mb":[{"scroll-mb":T()}],"scroll-ml":[{"scroll-ml":T()}],"scroll-p":[{"scroll-p":T()}],"scroll-px":[{"scroll-px":T()}],"scroll-py":[{"scroll-py":T()}],"scroll-ps":[{"scroll-ps":T()}],"scroll-pe":[{"scroll-pe":T()}],"scroll-pbs":[{"scroll-pbs":T()}],"scroll-pbe":[{"scroll-pbe":T()}],"scroll-pt":[{"scroll-pt":T()}],"scroll-pr":[{"scroll-pr":T()}],"scroll-pb":[{"scroll-pb":T()}],"scroll-pl":[{"scroll-pl":T()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q,W]}],fill:[{fill:["none",...ta()]}],"stroke-w":[{stroke:[V,tt,q,Y]}],stroke:[{stroke:["none",...ta()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o=t=>{let e=r(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(w),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:h,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:p}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let f=!!p,m=r(f?d.substring(0,p):d);if(!m){if(!f||!(m=r(d))){l=e+(l.length>0?" "+l:l);continue}f=!1}let g=0===h.length?"":1===h.length?h[0]:s(h).join(":"),y=c?g+"!":g,v=y+m;if(o.indexOf(v)>-1)continue;o.push(v);let b=n(m,f);for(let t=0;t<b.length;++t){let e=b[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return n(t,s),s},s=t=>{var a;let l;return r=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((a=[].reduce((t,e)=>e(t),e())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),x(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):x(b,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r})(a),sortModifiers:(l=new Map,a.orderSensitiveModifiers.forEach((t,e)=>{l.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=l.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return c(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let r=t.split("-"),n=+(""===r[0]&&r.length>1);return h(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;e<n.length;e++)t[e]=n[e];for(let i=0;i<e.length;i++)t[n.length+i]=e[i];return t}return e}return n||u}return i[t]||u}}})(a)}).cache.get,n=i.cache.set,s=o,o(t)},(...t)=>s(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=C(e))&&(n&&(n+=" "),n+=i);return n})(...t)));t.s(["cn",0,(...t)=>ty(a(t))],64618)}]);
|
package/.next/trace
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"generate-buildid","duration":
|
|
1
|
+
[{"name":"generate-buildid","duration":472,"timestamp":105586295,"id":4,"parentId":1,"tags":{},"startTime":1791314930290,"traceId":"89e172f8c8c92645"},{"name":"load-custom-routes","duration":590,"timestamp":105586939,"id":5,"parentId":1,"tags":{},"startTime":1791314930290,"traceId":"89e172f8c8c92645"},{"name":"create-dist-dir","duration":611,"timestamp":105587561,"id":6,"parentId":1,"tags":{},"startTime":1791314930291,"traceId":"89e172f8c8c92645"},{"name":"clean","duration":319,"timestamp":105588743,"id":7,"parentId":1,"tags":{},"startTime":1791314930292,"traceId":"89e172f8c8c92645"},{"name":"discover-routes","duration":4440,"timestamp":105611102,"id":8,"parentId":1,"tags":{},"startTime":1791314930314,"traceId":"89e172f8c8c92645"},{"name":"create-root-mapping","duration":52,"timestamp":105615576,"id":9,"parentId":1,"tags":{},"startTime":1791314930319,"traceId":"89e172f8c8c92645"},{"name":"generate-route-types","duration":15469,"timestamp":105616969,"id":10,"parentId":1,"tags":{},"startTime":1791314930320,"traceId":"89e172f8c8c92645"},{"name":"public-dir-conflict-check","duration":80,"timestamp":105632472,"id":11,"parentId":1,"tags":{},"startTime":1791314930336,"traceId":"89e172f8c8c92645"},{"name":"generate-routes-manifest","duration":1920,"timestamp":105632724,"id":12,"parentId":1,"tags":{},"startTime":1791314930336,"traceId":"89e172f8c8c92645"},{"name":"run-turbopack","duration":11835408,"timestamp":105640945,"id":14,"parentId":1,"tags":{},"startTime":1791314930344,"traceId":"89e172f8c8c92645"},{"name":"turbopack-build-events","duration":60,"timestamp":105920136,"id":15,"parentId":1,"tags":{},"startTime":1791314930623,"traceId":"89e172f8c8c92645"},{"name":"turbopack-persistence","duration":746000,"timestamp":116955607,"id":16,"parentId":15,"tags":{"reason":"stop","snapshot_duration_ms":3.309099,"persist_duration_ms":742.038759,"task_count":256,"bytes_written":98961930,"bytes_deleted":0},"startTime":1791314942405,"traceId":"89e172f8c8c92645"},{"name":"run-typescript","duration":6898763,"timestamp":117488208,"id":16,"parentId":1,"tags":{},"startTime":1791314942192,"traceId":"89e172f8c8c92645"},{"name":"generate-required-server-files","duration":723,"timestamp":124387527,"id":18,"parentId":1,"tags":{},"startTime":1791314949091,"traceId":"89e172f8c8c92645"},{"name":"check-static-error-page","duration":4410,"timestamp":124416383,"id":20,"parentId":19,"tags":{},"startTime":1791314949120,"traceId":"89e172f8c8c92645"},{"name":"is-page-static","duration":304638,"timestamp":124421550,"id":27,"parentId":22,"tags":{},"startTime":1791314949125,"traceId":"89e172f8c8c92645"},{"name":"check-page","duration":307881,"timestamp":124418390,"id":22,"parentId":19,"tags":{"page":"/_global-error"},"startTime":1791314949122,"traceId":"89e172f8c8c92645"},{"name":"is-page-static","duration":464761,"timestamp":124425551,"id":29,"parentId":24,"tags":{},"startTime":1791314949129,"traceId":"89e172f8c8c92645"},{"name":"check-page","duration":471703,"timestamp":124418657,"id":24,"parentId":19,"tags":{"page":"/"},"startTime":1791314949122,"traceId":"89e172f8c8c92645"},{"name":"is-page-static","duration":468845,"timestamp":124421622,"id":28,"parentId":23,"tags":{},"startTime":1791314949125,"traceId":"89e172f8c8c92645"},{"name":"check-page","duration":471941,"timestamp":124418558,"id":23,"parentId":19,"tags":{"page":"/favicon.ico"},"startTime":1791314949122,"traceId":"89e172f8c8c92645"},{"name":"is-page-static","duration":489715,"timestamp":124421255,"id":26,"parentId":21,"tags":{},"startTime":1791314949125,"traceId":"89e172f8c8c92645"},{"name":"check-page","duration":493730,"timestamp":124417313,"id":21,"parentId":19,"tags":{"page":"/_not-found"},"startTime":1791314949121,"traceId":"89e172f8c8c92645"},{"name":"is-page-static","duration":792735,"timestamp":124425599,"id":30,"parentId":25,"tags":{},"startTime":1791314949129,"traceId":"89e172f8c8c92645"},{"name":"check-page","duration":799680,"timestamp":124418726,"id":25,"parentId":19,"tags":{"page":"/preview/[...slug]"},"startTime":1791314949122,"traceId":"89e172f8c8c92645"},{"name":"static-check","duration":803042,"timestamp":124415571,"id":19,"parentId":1,"tags":{},"startTime":1791314949119,"traceId":"89e172f8c8c92645"},{"name":"write-routes-manifest","duration":455,"timestamp":125219387,"id":32,"parentId":1,"tags":{},"startTime":1791314949923,"traceId":"89e172f8c8c92645"},{"name":"load-dotenv","duration":27,"timestamp":125228537,"id":35,"parentId":34,"tags":{},"startTime":1791314949932,"traceId":"89e172f8c8c92645"},{"name":"run-export-path-map","duration":323,"timestamp":125229594,"id":36,"parentId":34,"tags":{},"startTime":1791314949933,"traceId":"89e172f8c8c92645"},{"name":"next-export","duration":118164,"timestamp":125227603,"id":34,"parentId":1,"tags":{},"startTime":1791314949931,"traceId":"89e172f8c8c92645"},{"name":"move-exported-app-global-error-","duration":392,"timestamp":125347092,"id":37,"parentId":33,"tags":{},"startTime":1791314950050,"traceId":"89e172f8c8c92645"},{"name":"static-generation","duration":125300,"timestamp":125222406,"id":33,"parentId":1,"tags":{},"startTime":1791314949926,"traceId":"89e172f8c8c92645"},{"name":"write-routes-manifest","duration":224,"timestamp":125347847,"id":38,"parentId":1,"tags":{},"startTime":1791314950051,"traceId":"89e172f8c8c92645"},{"name":"print-tree-view","duration":3757,"timestamp":125354544,"id":39,"parentId":1,"tags":{},"startTime":1791314950058,"traceId":"89e172f8c8c92645"},{"name":"write-route-bundle-stats","duration":5888,"timestamp":125358319,"id":40,"parentId":1,"tags":{},"startTime":1791314950062,"traceId":"89e172f8c8c92645"},{"name":"telemetry-flush","duration":485641,"timestamp":125364225,"id":41,"parentId":1,"tags":{},"startTime":1791314950068,"traceId":"89e172f8c8c92645"},{"name":"next-build","duration":20348148,"timestamp":105501748,"id":1,"tags":{"buildMode":"default","version":"16.3.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1791314930205,"traceId":"89e172f8c8c92645"}]
|
package/.next/trace-build
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"name":"run-turbopack","duration":
|
|
1
|
+
[{"name":"run-turbopack","duration":11835408,"timestamp":105640945,"id":14,"parentId":1,"tags":{},"startTime":1791314930344,"traceId":"89e172f8c8c92645"},{"name":"turbopack-build-events","duration":60,"timestamp":105920136,"id":15,"parentId":1,"tags":{},"startTime":1791314930623,"traceId":"89e172f8c8c92645"},{"name":"turbopack-persistence","duration":746000,"timestamp":116955607,"id":16,"parentId":15,"tags":{"reason":"stop","snapshot_duration_ms":3.309099,"persist_duration_ms":742.038759,"task_count":256,"bytes_written":98961930,"bytes_deleted":0},"startTime":1791314942405,"traceId":"89e172f8c8c92645"},{"name":"run-typescript","duration":6898763,"timestamp":117488208,"id":16,"parentId":1,"tags":{},"startTime":1791314942192,"traceId":"89e172f8c8c92645"},{"name":"static-check","duration":803042,"timestamp":124415571,"id":19,"parentId":1,"tags":{},"startTime":1791314949119,"traceId":"89e172f8c8c92645"},{"name":"static-generation","duration":125300,"timestamp":125222406,"id":33,"parentId":1,"tags":{},"startTime":1791314949926,"traceId":"89e172f8c8c92645"},{"name":"telemetry-flush","duration":485641,"timestamp":125364225,"id":41,"parentId":1,"tags":{},"startTime":1791314950068,"traceId":"89e172f8c8c92645"},{"name":"next-build","duration":20348148,"timestamp":105501748,"id":1,"tags":{"buildMode":"default","version":"16.3.3","bundler":"turbopack","has-custom-webpack-config":"false","use-build-worker":"true"},"startTime":1791314930205,"traceId":"89e172f8c8c92645"}]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-email/ui",
|
|
3
|
-
"version": "6.11.
|
|
3
|
+
"version": "6.11.1",
|
|
4
4
|
"description": "A live preview of your emails right in your browser.",
|
|
5
5
|
"main": "./index.mjs",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
".next/**/*"
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"esbuild": "0.28.
|
|
20
|
+
"esbuild": "0.28.2",
|
|
21
21
|
"jiti": "2.6.1",
|
|
22
22
|
"next": "16.3.3"
|
|
23
23
|
},
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"typescript": "5.9.3",
|
|
75
75
|
"use-debounce": "10.1.1",
|
|
76
76
|
"zod": "4.3.6",
|
|
77
|
-
"react-email": "6.11.
|
|
77
|
+
"react-email": "6.11.1"
|
|
78
78
|
},
|
|
79
79
|
"license": "MIT",
|
|
80
80
|
"repository": {
|