1import{j as e,d as f,r}from"./vendor-react-Bq0AAjM7.js";import{A as g,D as p,r as h,d as u,a as b,P as w}from"./wizardConfig-Cl7JW9tR.js";import{a as x,I as l,ac as i,l as y,E as A,fk as N}from"./main-D49UUfSD.js";import"./vendor-runtime-DG-GlVKR.js";import"./vendor-misc-DMccS2Mw.js";import"./vendor-ui-HM9MEgw-.js";import"./index-Dl4pFCyo.js";import"./vendor-icons-DePtd98t.js";import"./vendor-analytics-DaFEZfd9.js";import"./vendor-sentry-BBJkNfRx.js";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="e2ae551d-f220-483f-9532-97e65e06974a",s._sentryDebugIdIdentifier="sentry-dbid-e2ae551d-f220-483f-9532-97e65e06974a")}catch{}const j="Approval needed for Fyxer AI",_=`mailto:?subject=${encodeURIComponent(j)}&body=${encodeURIComponent(g)}`,P=()=>{const{logButtonPress:s}=x();return e.jsxs("div",{className:"flex w-full max-w-[1065px] flex-col gap-3 rounded-lg border border-rb-gray-neutral bg-white p-4 sm:flex-row sm:items-start",children:[e.jsx(l,{name:"Envelope",size:24,className:"shrink-0 text-rb-ink"}),e.jsx("p",{className:"flex-1 text-body leading-[22px] text-rb-ink",children:"Meanwhile, your IT team needs to approve Fyxer before we can tidy your inbox. We've emailed you the next steps to help. Forward the email to your IT admin so they can approve access."}),e.jsxs("a",{href:_,onClick:()=>s(i.DESKTOP_APP_INSTALL_GO_TO_EMAIL,{channel:"mailto"}),className:"flex shrink-0 items-center justify-center gap-3 self-start rounded-sm border border-rb-gray-neutral px-3 py-2 text-body leading-[1.2] font-medium text-rb-ink hover:bg-rb-parchment-light",children:["Go to email",e.jsx(l,{name:"ArrowUpRight",size:16,className:"shrink-0 text-current"})]})]})},I="/assets/install-mac-drag-to-applications-bAYNx1iU.webp",D="/assets/install-mac-open-app-CI49UjT0.webp",S="/assets/install-mac-open-dmg-CQWscfmn.webp",T="/assets/install-windows-open-installer-2SLqUSR8.webp",E="/assets/install-windows-run-installer-D-6b1Fnw.webp",O={mac:[{image:S,alt:"A browser download list showing the Fyxer installer",caption:e.jsxs(e.Fragment,{children:["Open ",e.jsx("strong",{className:"font-semibold",children:p.mac})," from your"," ",e.jsx("strong",{className:"font-semibold",children:"Downloads"})," folder"]})},{image:I,alt:"The Fyxer icon being dragged into the Applications folder",caption:e.jsxs(e.Fragment,{children:["Drag the ",e.jsx("strong",{className:"font-semibold",children:"Fyxer icon"})," into your"," ",e.jsx("strong",{className:"font-semibold",children:"Applications"})," folder"]})},{image:D,alt:"The Fyxer app in the Applications folder",caption:e.jsxs(e.Fragment,{children:["Open the ",e.jsx("strong",{className:"font-semibold",children:"Fyxer app"})," from your"," ",e.jsx("strong",{className:"font-semibold",children:"Applications"})," folder"]})}],windows:[{image:T,alt:"A browser download list showing the Fyxer installer",caption:e.jsxs(e.Fragment,{children:["Open ",e.jsx("strong",{className:"font-semibold",children:p.windows})," from your"," ",e.jsx("strong",{className:"font-semibold",children:"Downloads"})," folder"]})},{image:E,alt:"The Fyxer installer window",caption:e.jsx(e.Fragment,{children:"Run the installer and follow the prompts"})}]},k=({step:s,position:t})=>e.jsxs("li",{className:"flex flex-col items-center gap-5",children:[e.jsx("span",{className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-rb-orange-neutral text-body font-semibold text-white",children:t}),e.jsx("div",{className:"aspect-374/201 w-full overflow-hidden rounded-xl bg-rb-parchment",children:e.jsx("img",{src:s.image,alt:s.alt,decoding:"async",className:"h-full w-full object-cover"})}),e.jsx("p",{className:"text-center text-body leading-[22px] text-rb-ink",children:s.caption})]}),v=({platform:s})=>{const t=O[s];return e.jsx("ol",{className:y("grid w-full grid-cols-1 gap-10 sm:grid-cols-2",{"max-w-[740px]":t.length===2,"max-w-[1200px] lg:grid-cols-3":t.length===3}),children:t.map((a,n)=>e.jsx(k,{step:a,position:n+1},a.image))})},L="https://support.fyxer.com/article/admin-setup-guide-how-to-approve-fyxer-in-microsoft-365",F=()=>e.jsxs("div",{className:"flex items-center gap-2 rounded-full bg-[#eff0fa] py-1.5 pr-4 pl-3",children:[e.jsx(l,{name:"Check",size:16,bold:!0,className:"shrink-0 text-rb-ink"}),e.jsx("span",{className:"text-[10px] leading-[1.4] font-medium text-rb-ink",children:"Download initiated"})]}),Y=()=>{const[s]=f(),{logEvent:t,logButtonPress:a}=x(),n=h(s.get("platform")),o=b[n],c=u.safeParse(s.get("source")),d=c.success?c.data:"direct",m=r.useRef(!1);return r.useEffect(()=>{t(A.VIEW_DESKTOP_APP_INSTALL_INSTRUCTIONS,{platform:n,source:d,requestedPlatform:s.get("platform"),operatingSystem:N.os.name})},[t,n,d,s]),r.useEffect(()=>{m.current||(m.current=!0,window.location.href=o)}
1,[o]),e.jsx(w,{children:e.jsxs("div",{className:"flex w-full max-w-[1280px] flex-col items-center gap-8",children:[e.jsx(F,{}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-3",children:[e.jsx("h1",{className:"text-center text-title-lg font-medium text-rb-ink sm:text-display",children:"Thank you for downloading, just a few more steps"}),e.jsxs("p",{className:"max-w-[1065px] text-center text-body leading-[22px] text-rb-ink",children:["Your download should begin automatically. If it hasn't started, please"," ",e.jsx("a",{href:o,onClick:()=>a(i.DESKTOP_APP_DOWNLOAD_MANUAL_RETRY,{action:n}),className:"text-rb-orange-neutral underline hover:text-rb-orange-hovered",children:"download the app manually"}),". Need help installing? Contact"," ",e.jsx("a",{href:L,target:"_blank",rel:"noopener noreferrer",onClick:()=>a(i.DESKTOP_APP_INSTALL_CONTACT_SUPPORT),className:"text-rb-orange-neutral underline hover:text-rb-orange-hovered",children:"Fyxer support"}),"."]})]}),e.jsx(v,{platform:n}),e.jsx(P,{})]})})};export{Y as DownloadPage};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.