1import{_ as g}from"./AuthenticatedLayout-9j9LFCmx.js";import{c as d,a as i,u as m,h as f,w as a,b as e,t as r,l as b,e as o,o as u,F as c,r as h}from"./app-D2FrXdvt.js";import"./ThemeToggle-B8HNZj6c.js";import"./createLucideIcon-CyhxhQwU.js";import"./utils-DNSDl8UX.js";/* empty css */import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./chevron-right-DGob54-M.js";import"./briefcase-zkRSOpYS.js";import"./radar-DUJKgx2e.js";import"./file-text-Dt3X5F5C.js";import"./sparkles-DzZiz9kv.js";import"./shield-check-DBHiQzoS.js";import"./users-HGy346Sf.js";import"./SessionExpiredModal-C9mYjVvR.js";import"./Modal-DLIFMGFn.js";import"./useConfirm-D7DG8JQH.js";const y={class:"flex items-center justify-between gap-4"},w=["href"],v={class:"space-y-6 p-6 max-w-5xl mx-auto"},k={class:"rounded-2xl border border-border bg-card p-6"},_={class:"mt-4 grid gap-3 sm:grid-cols-2"},C={class:"rounded-lg border border-border bg-surface-2 p-3 text-sm"},P={class:"mt-1 font-semibold text-foreground"},I={class:"rounded-lg border border-border bg-surface-2 p-3 text-sm"},D={class:"mt-1 truncate font-semibold text-foreground"},L={class:"mt-4 flex flex-wrap gap-3"},N=["href"],S={class:"grid gap-6 md:grid-cols-3"},V={class:"text-xs font-semibold uppercase tracking-wide text-primary"},z={class:"mt-2 text-base font-semibold text-foreground"},E={class:"mt-2 text-sm text-muted-foreground"},Z=["src","alt"],Q={__name:"Install",props:{extensionVersion:{type:String,default:null},latestPackageName:{type:String,default:null}},setup(n){const p=[{title:"Download the extension package",detail:"Click the download button below to get the latest ZIP release from your account.",image:"/images/extension-install/step-1-download.svg"},{title:"Unzip the file on your computer",detail:"Extract the ZIP so you have a folder with extension files (manifest, scripts, icons).",image:"/images/extension-install/step-2-unzip.svg"},{title:"Load it in Chrome",detail:'Open chrome://extensions, enable Advanced features mode (to allow custom extensions), click "Load unpacked," and select the unzipped folder.',image:"/images/extension-install/step-3-load-unpacked.svg"}];return(l,t)=>(u(),d(c,null,[i(m(f),{title:"Chrome Extension"}),i(g,null,{header:a(()=>[e("div",y,[t[0]||(t[0]=e("h2",{class:"text-2xl font-bold text-foreground"},"Chrome Extension",-1)),e("a",{href:l.route("extension.download"),class:"inline-flex items-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-cyan-glow transition-colors glow-cyan"}," Download Extension ZIP ",8,w)])]),default:a(()=>[e("div",v,[e("div",k,[t[5]||(t[5]=e("h3",{class:"text-lg font-semibold text-foreground"},"Install without the Chrome Web Store",-1)),t[6]||(t[6]=e("p",{class:"mt-2 text-sm text-muted-foreground"}," This extension is currently private and available to logged-in Rapid Apply users only. You can install it manually in under 2 minutes. ",-1)),e("div",_,[e("div",C,[t[1]||(t[1]=e("p",{class:"text-xs uppercase tracking-wide text-muted-foreground"},"Current Version",-1)),e("p",P,r(n.extensionVersion?`v${n.extensionVersion}`:"Not available"),1)]),e("div",I,[t[2]||(t[2]=e("p",{class:"text-xs uppercase tracking-wide text-muted-foreground"},"Latest Package",-1)),e("p",D,r(n.latestPackageName||"No package published yet"),1)])]),e("div",L,[e("a",{href:l.route("extension.download"),class:"inline-flex items-center rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground hover:bg-cyan-glow transition-colors glow-cyan"}," Download Latest ZIP ",8,N),t[4]||(t[4]=e("a",{href:"chrome://extensions",class:"inline-flex items-center rounded-md border border-border bg-surface-2 px-4 py-2 text-sm font-medium text-foreground hover:bg-surface-3 transition-colors"}," Open Chrome Extensions ",-1)),i(m(b),{href:l.route("dashboard"),
1class:"inline-flex items-center rounded-md border border-border bg-surface-2 px-4 py-2 text-sm font-medium text-foreground hover:bg-surface-3 transition-colors"},{default:a(()=>[...t[3]||(t[3]=[o(" Back to Dashboard ",-1)])]),_:1},8,["href"])])]),e("div",S,[(u(),d(c,null,h(p,(s,x)=>e("article",{key:s.title,class:"rounded-2xl border border-border bg-card p-5"},[e("p",V,"Step "+r(x+1),1),e("h4",z,r(s.title),1),e("p",E,r(s.detail),1),e("img",{src:s.image,alt:s.title,class:"mt-4 w-full rounded-lg border border-border bg-background"},null,8,Z)])),64))]),t[7]||(t[7]=e("div",{class:"rounded-2xl border border-border bg-card p-6"},[e("h3",{class:"text-lg font-semibold text-foreground"},"Detailed instructions"),e("ol",{class:"mt-3 list-decimal space-y-2 pl-5 text-sm text-muted-foreground"},[e("li",null,[o("Click "),e("strong",{class:"text-foreground"},"Download Latest ZIP"),o(".")]),e("li",null,[o("Unzip the downloaded file into a folder you can keep (for example: "),e("span",{class:"text-foreground"},"Downloads/rapid-apply-extension"),o(").")]),e("li",null,[o("In Chrome, go to "),e("span",{class:"text-foreground"},"chrome://extensions"),o(".")]),e("li",null,[o("Turn on "),e("strong",{class:"text-foreground"},"Advanced features"),o(" in the top-right corner (this allows you to install custom extensions).")]),e("li",null,[o("Click "),e("strong",{class:"text-foreground"},"Load unpacked"),o(" and select the unzipped extension folder.")]),e("li",null,"Select the unzipped extension folder."),e("li",null,"Pin the extension from the Chrome toolbar if you want quick access.")]),e("div",{class:"mt-4 rounded-lg border border-amber-500/30 bg-amber-500/10 p-4"},[e("p",{class:"text-sm text-amber-200"},[o(" When a new extension version is released, download the latest ZIP here and re-load the updated folder in "),e("span",{class:"font-semibold"},"chrome://extensions"),o(". ")])])],-1))])]),_:1})],64))}};export{Q as default};
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.