1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0c53e-a1e2-0000-a4ee-3b4f0c514a0c";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="1d763e2e-da9c-5059-961e-ea272a54f6bc")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,24359,763639,e=>{"use strict";var a=e.i(843476),s=e.i(63727),t=e.i(607486),l=e.i(463059);let r=(0,e.i(475254).default)("languages",[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]]);e.s(["Languages",0,r],763639);var i=e.i(522016),n=e.i(890538),o=e.i(167881),d=e.i(842709),c=e.i(127341);e.i(393475);var m=e.i(56428);let x="bg-transparent! shadow-none! rounded-none border-0 border-b-2 border-transparent px-0 pb-3 pt-0 text-base font-semibold text-zinc-400 transition-colors hover:text-zinc-700 data-[state=active]:border-rose-500 data-[state=active]:text-zinc-900";e.s(["JobContentTabs",0,function({job:e,company:h,companyName:p}){return(0,a.jsxs)(c.Tabs,{defaultValue:"job",className:"w-full",children:[(0,a.jsx)("div",{className:"mb-6 flex gap-7 border-b border-zinc-200",children:(0,a.jsxs)(c.TabsList,{className:"bg-transparent border-0 p-0 h-auto gap-7 -mb-px",children:[(0,a.jsx)(c.TabsTrigger,{value:"job",className:x,children:"Job Description"}),(0,a.jsxs)(c.TabsTrigger,{value:"company",className:x,children:["About ",p]})]})}),(0,a.jsx)(c.TabsContent,{value:"job",className:"mt-0 animate-in fade-in-0 slide-in-from-left-2 duration-300",children:(0,a.jsx)("div",{className:"relative",children:e.description?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(d.MarkdownProse,{variant:"job-page",highlightSchedule:!0,shiftHeadings:!0,children:e.description}),e.description_pretranslated&&e.description_pretranslated!==e.description&&(0,a.jsx)(n.Accordion,{type:"single",collapsible:!0,className:"mt-8 border-t border-border/80 pt-1",children:(0,a.jsxs)(n.AccordionItem,{value:"original-language",className:"border-b-0",children:[(0,a.jsx)(n.AccordionTrigger,{className:"text-brand-gray-500 hover:text-brand-gray-700 hover:no-underline",children:(0,a.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,a.jsx)(r,{className:"h-4 w-4"}),"Auto-translated from ",(0,m.languageDisplayName)(e.language)," · View original"]})}),(0,a.jsx)(n.AccordionContent,{children:(0,a.jsx)(d.MarkdownProse,{variant:"job-page",shiftHeadings:!0,children:e.description_pretranslated})})]})})]}):(0,a.jsxs)("div",{className:"rounded-2xl bg-gradient-to-br from-brand-gray-50 to-white p-10 text-center ring-1 ring-border/80",children:[(0,a.jsx)("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-xl bg-brand-gray-100",children:(0,a.jsx)(s.Briefcase,{className:"h-5 w-5 text-zinc-500"})}),(0,a.jsx)("p",{className:"text-zinc-600",children:"No description available for this role."})]})})}),(0,a.jsx)(c.TabsContent,{value:"company",className:"mt-0 animate-in fade-in-0 slide-in-from-right-2 duration-300",children:h?(0,a.jsxs)("div",{className:"relative",children:[h.description?(0,a.jsx)(d.MarkdownProse,{highlightSchedule:!0,shiftHeadings:!0,children:h.description}):h.short_description?(0,a.jsx)("p",{className:"text-base text-zinc-600 leading-relaxed",children:h.short_description}):(0,a.jsxs)("div",{className:"rounded-2xl bg-gradient-to-br from-brand-gray-50 to-white p-10 text-center ring-1 ring-border/80",children:[(0,a.jsx)("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-xl bg-brand-gray-100",children:(0,a.jsx)(t.Building2,{className:"h-5 w-5 text-zinc-500"})}),(0,a.jsx)("p",{className:"text-zinc-600",children:"No company description available yet."})]}),h.slug&&(0,a.jsx)("div",{className:"mt-10",children:(0,a.jsx)(o.Button,{size:"lg",className:"rounded-xl bg-zinc-900 text-white hover:bg-zinc-800 shadow-md shadow-zinc-900/20 px-6 py-6",asChild:!0,children:(0,a.jsxs)(i.default,{href:`/company/${h.slug}`,prefetch:!1,children:[(0,a.jsx)(t.Building2,{className:"mr-2 h-4 w-4"}),"View Full Company Profile",(0,a.jsx)(l.ChevronRight,{className:"ml-2 h-4 w-4"})]})})})]}):(0,a.jsxs)("div",{className:"rounded-2xl bg-gradient-to-br from-brand-gray-50 to-white p-10 text-center ring-1 ring-border/80",children:[(0,a.jsx)("div",{className:"mx-auto mb-3 flex h-12 w-12 items-center justify-center rounded-xl bg-brand-gray-100",children:(0,a.jsx)(t.Building2,{className:"h-5 w-5 text-zinc-500"})}),(0,a.jsx)("p",{className:"text-zinc-600",children:"No company information available."})]})})]})}],24359)},556910,e=>{"use strict";let a="4dayweek.io",s=[["utm_source",a],["utm_medium","job-board"],["utm_campaign",a],["utm_content",a],["ref",a],["source",a]],t=[{hosts:["greenhouse.io"],params:[["gh_src",a]]},{hosts:["lever.co"],params:[["lever-origin","applied"],["lever-source[]",a],["lever-requisition-name",a],["lever-posting-owner-name",a],["lever-source",a],["lever-referer",a]]},{hosts:["jobvite.com"],params:[["__jvst","Job Board"],["__jvsd",a]]},{hosts:["myworkday.com","myworkdayjobs.com"],params:[["source",a]]},{hosts:["icims.com"],params:[["iis","Job Board"],["iisn",a]]},{hosts:["jazzhr.com"],params:[["source",a]]},{hosts:["breezy.hr"],params:[["source",a]]},{hosts:["recruitee.com"],params:[["source",a]]},{hosts:["rippling.com"],params:[["source",a]]}];e.s(["addUtmParams",0,function(e){let a;if(!e)return"";try{a=new URL(e)}catch{return e}let l=a.searchParams;for(let[e,a]of s)l.set(e,a);for(let e of t)if(e.hosts.some(e=>{var s;return(s=a.hostname)===e||s.endsWith(`.${e}`)}))for(let[a,s]of e.params)l.has(a)||l.set(a,s);let r=l.toString().replace(/%5B/gi,"[").replace(/%5D/gi,"]");return`${a.origin}${a.pathname}${r?`?${r}`:""}${a.hash}`}])},261422,e=>{"use strict";var a=e.i(247167),s=e.i(843476),t=e.i(778917),l=e.i(39312),r=e.i(618566),i=e.i(271645),n=e.i(167881),o=e.i(697162);e.i(558486);var d=e.i(536552),c=e.i(267249),m=e.i(419060);e.i(393475);var x=e.i(556910),h=e.i(806908),p=e.i(63209),u=e.i(595468),f=e.i(178583),b=e.i(531278),g=e.i(569074),j=e.i(522016),y=e.i(625959),v=e.i(630374),N=e.i(23750),w=e.i(10708),k=e.i(416540),_=e.i(62870),S=e.i(671428),C=e.i(184762),L=e.i(611995);function A({job:e,open:a,onOpenChange:t}){return(0,s.jsx)(v.Dialog,{open:a,onOpenChange:t,children:(0,s.jsxs)(v.DialogContent,{className:"ph-no-capture max-h-[90vh] w-full max-w-2xl overflow-y-auto",onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),children:[(0,s.jsxs)(v.DialogHeader,{children:[(0,s.jsxs)(v.DialogTitle,{children:["Apply to ",e.title]}),(0,s.jsxs)(v.DialogDescription,{children:["at ",e.company?.name??"this company",". Your application is sent directly to the hiring team."]})]}),(0,s.jsx)(T,{job:e,onSuccess:()=>{}})]})})}function T({job:e}){let a=(0,i.useId)(),[l,r]=(0,i.useState)("loading"),[o,c]=(0,i.useState)(null),[m,x]=(0,i.useState)(null),[h,v]=(0,i.useState)(""),[A,z]=(0,i.useState)(""),[E,R]=(0,i.useState)(""),[P,D]=(0,i.useState)(""),[$,B]=(0,i.useState)({}),[I,M]=(0,i.useState)({}),[U,F]=(0,i.useState)(null),[O,q]=(0,i.useState)(null),[J,H]=(0,i.useState)(!1),[W,V]=(0,i.useState)(!1),Y=(0,i.useRef)(null),G=e.application_template,K=[...G?.fields??[],...e.application_extra_fields??[]],Q=[...G?.boolean_qualifiers??[],...e.application_extra_boolean_qualifiers??[]],X=[...G?.
1num_qualifiers??[],...e.application_extra_num_qualifiers??[]],Z=[...G?.select_qualifiers??[],...e.application_extra_select_qualifiers??[]];(0,i.useEffect)(()=>{let a=!1;return Promise.all([(0,d.getApplications)().catch(()=>({applications:[]})),(0,L.getCurrentUser)().catch(()=>null)]).then(([s,t])=>{a||((s.applications??[]).some(a=>a.job_id===e.id&&"clicked_external"!==a.status)?r("already_applied"):(t?.user&&(v(t.user.full_name??""),z(t.user.email??""),R(t.user.linkedin_url??"")),r("form")))}),()=>{a=!0}},[e.id]);let ee=(0,i.useCallback)(async e=>{let a=e.target.files?.[0];if(a){if(a.size>5242880)return void c("Resume must be 5 MB or smaller.");if(a.type&&"application/pdf"!==a.type)return void c("Resume must be a PDF.");c(null),H(!0);try{let e=await (0,d.uploadApplicationResume)(a);F(e.resume_url),q(a.name)}catch(e){c(e instanceof Error?e.message:"Failed to upload resume")}finally{H(!1),Y.current&&(Y.current.value="")}}},[]),ea=async a=>{if(a.preventDefault(),c(null),!h.trim()||!A.trim())return void c("Name and email are required.");let s=[];for(let e of K)"true"!==e.required||($[e.id]??"").trim()||s.push(e.label||"a required question");for(let e of[...Q,...X,...Z]){let a=I[e.id];(null==a||""===a)&&s.push(e.label||"a screening question")}if(s.length>0)return void c(`Please answer all required questions before submitting: ${s.join(", ")}`);V(!0);try{let a=await (0,d.submitApplication)({jobId:e.id,fullName:h.trim(),email:A.trim(),linkedinUrl:E.trim()||void 0,coverLetter:P.trim()||void 0,resumeUrl:U??void 0,customFields:Object.keys($).length>0?$:void 0,qualifierResponses:Object.keys(I).length>0?I:void 0});x(a.qualified),r("success")}catch(e){c(e instanceof Error?e.message:"Failed to submit application")}finally{V(!1)}};return"loading"===l?(0,s.jsxs)("div",{className:"space-y-3 py-6",children:[(0,s.jsx)(S.Skeleton,{className:"h-10 w-full"}),(0,s.jsx)(S.Skeleton,{className:"h-10 w-full"}),(0,s.jsx)(S.Skeleton,{className:"h-32 w-full"})]}):"already_applied"===l?(0,s.jsxs)("div",{className:"space-y-4 py-6 text-center",children:[(0,s.jsx)(u.CheckCircle2,{className:"mx-auto h-12 w-12 text-emerald-500"}),(0,s.jsx)("h3",{className:"text-lg font-semibold",children:"You've already applied to this job"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Track its status on your Job Tracker."}),(0,s.jsx)(n.Button,{asChild:!0,children:(0,s.jsx)(j.default,{href:"/dashboard/job-tracker",children:"Open Job Tracker"})})]}):"success"===l?(0,s.jsxs)("div",{className:"space-y-4 py-6 text-center",children:[(0,s.jsx)(u.CheckCircle2,{className:"mx-auto h-12 w-12 text-emerald-500"}),(0,s.jsx)("h3",{className:"text-lg font-semibold",children:"Application submitted"}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:!1===m?"Thanks for applying. Based on your answers, you may not meet every requirement â the hiring team will still see your application.":"Your application has been sent. The hiring team will reach out if there's a match."}),(0,s.jsx)(n.Button,{asChild:!0,variant:"outline",children:(0,s.jsx)(j.default,{href:"/dashboard/job-tracker",children:"View on Job Tracker"})})]}):(0,s.jsxs)("form",{onSubmit:ea,className:"space-y-6",children:[o&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-md border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive",children:[(0,s.jsx)(p.AlertCircle,{className:"mt-0.5 h-4 w-4 shrink-0"}),(0,s.jsx)("span",{children:o})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(w.Label,{htmlFor:"apply-fullName",children:"Full name *"}),(0,s.jsx)(N.Input,{id:"apply-fullName",value:h,onChange:e=>v(e.target.value),autoComplete:"name"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(w.Label,{htmlFor:"apply-email",children:"Email *"}),(0,s.jsx)(N.Input,{id:"apply-email",type:"email",value:A,onChange:e=>z(e.target.value),autoComplete:"email"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(w.Label,{htmlFor:"apply-linkedin",children:"LinkedIn (optional)"}),(0,s.jsx)(N.Input,{id:"apply-linkedin",value:E,onChange:e=>R(e.target.value),placeholder:"https://linkedin.com/in/your-profile"})]}),(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(w.Label,{htmlFor:"apply-cover-letter",children:"Cover letter (optional)"}),(0,s.jsx)(C.Textarea,{id:"apply-cover-letter",value:P,onChange:e=>D(e.target.value),placeholder:"A few sentences on why you're interested in this roleâ¦",rows:5})]})]}),(0,s.jsxs)("div",{className:"space-y-2 border-t pt-6",children:[(0,s.jsx)(w.Label,{children:"Resume (PDF, optional)"}),U?(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-md border bg-muted/30 px-3 py-2",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm",children:[(0,s.jsx)(f.FileText,{className:"h-4 w-4 text-muted-foreground"}),O]}),(0,s.jsx)(n.Button,{type:"button",variant:"ghost",size:"sm",onClick:()=>{F(null),q(null)},children:"Remove"})]}):(0,s.jsxs)("div",{children:[(0,s.jsx)("input",{ref:Y,id:a,type:"file",accept:"application/pdf",className:"hidden",onChange:ee}),(0,s.jsxs)(n.Button,{type:"button",variant:"outline",onClick:()=>Y.current?.click(),disabled:J,children:[J?(0,s.jsx)(b.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}):(0,s.jsx)(g.Upload,{className:"mr-2 h-4 w-4"}),J?"Uploadingâ¦":"Upload PDF"]}),(0,s.jsx)("p",{className:"mt-1 text-xs text-muted-foreground",children:"PDF only. Maximum 5 MB."})]})]}),K.length>0&&(0,s.jsxs)("div",{className:"space-y-4 border-t pt-6",children:[(0,s.jsx)("h4",{className:"font-medium",children:"Additional information"}),K.map(e=>{let a,t=Array.isArray(a=e.options)?a.filter(e=>"string"==typeof e&&e.length>0):[],l=$[e.id]??"",r=a=>B(s=>({...s,[e.id]:a}));return(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{htmlFor:`apply-cf-${e.id}`,children:[e.label,"true"===e.required&&" *"]}),"textarea"===e.type&&(0,s.jsx)(C.Textarea,{id:`apply-cf-${e.id}
1`,value:l,onChange:e=>r(e.target.value),placeholder:e.placeholder,rows:3}),"text"===e.type&&(0,s.jsx)(N.Input,{id:`apply-cf-${e.id}`,value:l,onChange:e=>r(e.target.value),placeholder:e.placeholder}),"select"===e.type&&(0,s.jsxs)(_.Select,{value:l,onValueChange:r,children:[(0,s.jsx)(_.SelectTrigger,{id:`apply-cf-${e.id}`,children:(0,s.jsx)(_.SelectValue,{placeholder:"Select an option"})}),(0,s.jsx)(_.SelectContent,{children:t.map(e=>(0,s.jsx)(_.SelectItem,{value:e,children:e},e))})]}),"radio"===e.type&&(0,s.jsx)(k.RadioGroup,{value:l,onValueChange:r,children:t.map(a=>(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k.RadioGroupItem,{value:a,id:`apply-cf-${e.id}-${a}`}),(0,s.jsx)(w.Label,{htmlFor:`apply-cf-${e.id}-${a}`,className:"font-normal",children:a})]},a))}),"checkbox"===e.type&&(0,s.jsx)("div",{className:"space-y-2",children:t.map(a=>{let t=l.split(", ").filter(Boolean).includes(a);return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(y.Checkbox,{id:`apply-cf-${e.id}-${a}`,checked:t,onCheckedChange:e=>
1{let s=l.split(", ").filter(Boolean);r((e?[...s,a]:s.filter(e=>e!==a)).join(", "))}}),(0,s.jsx)(w.Label,{htmlFor:`apply-cf-${e.id}-${a}`,className:"font-normal",children:a})]},a)})})]},e.id)})]}),(Q.length>0||X.length>0||Z.length>0)&&(0,s.jsxs)("div",{className:"space-y-4 border-t pt-6",children:[(0,s.jsx)("h4",{className:"font-medium",children:"Screening questions"}),Q.map(e=>(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{children:[e.label," *"]}),(0,s.jsxs)(k.RadioGroup,{value:I[e.id]??"",onValueChange:a=>M(s=>({...s,[e.id]:a})),children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k.RadioGroupItem,{value:"yes",id:`apply-bq-${e.id}-yes`}),(0,s.jsx)(w.Label,{htmlFor:`apply-bq-${e.id}-yes`,className:"font-normal",children:"Yes"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(k.RadioGroupItem,{value:"no",id:`apply-bq-${e.id}-no`}),(0,s.jsx)(w.Label,{htmlFor:`apply-bq-${e.id}-no`,className:"font-normal",children:"No"})]})]})]},e.id)),X.map(e=>(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{htmlFor:`apply-nq-${e.id}`,children:[e.label," *"]}),(0,s.jsx)(N.Input,{id:`apply-nq-${e.id}`,type:"number",value:I[e.id]??"",onChange:a=>{let s=""===a.target.value?"":Number(a.target.value);M(a=>({...a,[e.id]:s}))}})]},e.id)),Z.map(e=>(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{htmlFor:`apply-sq-${e.id}`,children:[e.label," *"]}),(0,s.jsxs)(_.Select,{value:I[e.id]??"",onValueChange:a=>M(s=>({...s,[e.id]:a})),children:[(0,s.jsx)(_.SelectTrigger,{id:`apply-sq-${e.id}`,children:(0,s.jsx)(_.SelectValue,{placeholder:"Select an option"})}),(0,s.jsx)(_.SelectContent,{children:(e.options??[]).map(e=>(0,s.jsx)(_.SelectItem,{value:e.slug??e.name,children:e.name},e.slug??e.name))})]})]},e.id))]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3 border-t pt-6",children:[e.apply_url?(0,s.jsx)(n.Button,{asChild:!0,variant:"ghost",size:"sm",children:(0,s.jsxs)("a",{href:e.apply_url,target:"_blank",rel:"noreferrer",children:["Apply on company site",(0,s.jsx)(t.ExternalLink,{className:"ml-1 h-3 w-3"})]})}):(0,s.jsx)("span",{}),(0,s.jsxs)(n.Button,{type:"submit",disabled:W||J,children:[W?(0,s.jsx)(b.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}):null,W?"Submittingâ¦":"Submit application"]})]})]})}var z=e.i(581418),E=e.i(283086),R=e.i(47405),P=e.i(221678),D=e.i(182534),$=e.i(513793),B=e.i(862311),I=e.i(497091),M=e.i(517224),U=e.i(699354),F=e.i(553031);function O({fields:e,values:a,onChange:t,idPrefix:l="qa",annotations:r,resumeOnFile:i,resumeFilename:n}){return(0,s.jsx)("div",{className:"space-y-4",children:e.map(e=>{let o=`${l}-${e.name}`,d=a[e.name],c="string"==typeof d?d:"",m=Array.isArray(d)?d:[],x=a=>t(e.name,a),h=r?.[e.name];return"file"===e.type?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{children:[e.label,e.required&&" *"]}),i?(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-slate-200 bg-slate-50 px-3 py-2 text-sm text-slate-600",children:[(0,s.jsx)(f.FileText,{className:"h-4 w-4 shrink-0 text-slate-400"}),(0,s.jsxs)("span",{children:[n?(0,s.jsxs)(s.Fragment,{children:["Your résumé"," ",(0,s.jsx)("span",{className:"font-medium text-slate-700",children:n})," will be attached."]}):"Your profile résumé will be attached."," ",(0,s.jsx)(j.default,{href:"/dashboard/profile/basic",className:"font-medium text-brand-pink hover:underline",children:"Manage"})]})]}):(0,s.jsxs)("div",{className:"flex items-center gap-3 rounded-lg border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-800",children:[(0,s.jsx)(f.FileText,{className:"h-4 w-4 shrink-0 text-amber-500"}),(0,s.jsxs)("span",{children:["No résumé on file",e.required?" â upload one to apply":"","."," ",(0,s.jsx)(j.default,{href:"/dashboard/profile/basic",className:"font-medium text-brand-pink hover:underline",children:"Upload résumé"})]})]})]},e.name):(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsxs)(w.Label,{htmlFor:o,className:"flex flex-wrap items-center gap-2",children:[(0,s.jsxs)("span",{children:[e.label,e.required&&" *"]}
1),"ai"===h&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 rounded-full bg-violet-100 px-2 py-0.5 text-sm font-medium text-violet-700","data-testid":`ai-drafted-${e.name}`,children:[(0,s.jsx)(E.Sparkles,{className:"h-3 w-3"})," AI-drafted · review"]}),"drafting"===h&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1 text-sm font-medium text-violet-500",children:[(0,s.jsx)(E.Sparkles,{className:"h-3 w-3 animate-pulse"})," Drafting a suggestionâ¦"]})]}),"textarea"===e.type&&(0,s.jsx)(C.Textarea,{id:o,value:c,onChange:e=>x(e.target.value),rows:3,className:"ai"===h?"border-violet-300":void 0}),"text"===e.type&&(0,s.jsx)(N.Input,{id:o,value:c,onChange:e=>x(e.target.value),className:"ai"===h?"border-violet-300":void 0}),"select"===e.type&&(0,s.jsxs)(_.Select,{value:c,onValueChange:x,children:[(0,s.jsx)(_.SelectTrigger,{id:o,children:(0,s.jsx)(_.SelectValue,{placeholder:"Select an option"})}),(0,s.jsx)(_.SelectContent,{children:(e.options??[]).map(e=>(0,s.jsx)(_.SelectItem,{value:e.label,children:e.label},e.value||e.label))})]}),"multiselect"===e.type&&(0,s.jsx)("div",{className:"space-y-2",children:(e.options??[]).map((e,a)=>{let t=m.includes(e.label),l=`${o}-${a}`;return(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(y.Checkbox,{id:l,checked:t,onCheckedChange:a=>{x(a?[...m,e.label]:m.filter(a=>a!==e.label))}}),(0,s.jsx)(w.Label,{htmlFor:l,className:"font-normal",children:e.label})]},e.value||e.label)})})]},e.name)})})}let q=I.FEATURED_AUTO_APPLY_PACK;function J(e){let[a,t]=(0,i.useState)(!1);return(0,s.jsx)(v.Dialog,{open:e.open,onOpenChange:s=>{(s||!a)&&e.onOpenChange(s)},children:(0,s.jsx)(v.DialogContent,{className:"ph-no-capture max-h-[90vh] w-full max-w-2xl overflow-y-auto",onPointerDownOutside:e=>e.preventDefault(),onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),children:e.open&&(0,s.jsx)(H,{...e,onBusyChange:t})})})}function H({onOpenChange:e,jobId:a,jobSlug:t,jobTitle:d,companyName:c,applyUrl:m,onBusyChange:x}){let h=(0,r.useRouter)(),{remaining:f,loading:g}=(0,o.useEntitlements)(),{startCheckout:y,loadingSlug:N}=(0,D.useCheckout)(),{start:w,attempts:k}=(0,P.useQuickApply)(),{user:_}=(0,R.useMarketingUser)(),C=_?.id??"",L=k.some(e=>e.jobId===a),[A,T]=(0,i.useState)(L?"in_progress":"loading"),[J,W]=(0,i.useState)(null),[V,Y]=(0,i.useState)(!1),[G,K]=(0,i.useState)([]),[Q,X]=(0,i.useState)([]),[Z,ee]=(0,i.useState)({}),[ea,es]=(0,i.useState)(""),[et,el]=(0,i.useState)(""),[er,ei]=(0,i.useState)(new Set),[en,eo]=(0,i.useState)(new Set),[ed,ec]=(0,i.useState)(!1),[em,ex]=(0,i.useState)(""),eh=f(U.SLUG_AUTO_APPLY_CREDITS);(0,i.useEffect)(()=>{if(L)return;let e=!1;return(async()=>{try{let s=await (0,B.getApplyForm)(a);if(e)return;el(s.relay_email??""),ec(s.resume_on_file??!1),ex(s.resume_filename??"");let t=!!s.relay_email;K(s.form.fields.filter(e=>!(0,F.isDemographicField)(e)&&!(t&&"email"===e.name))),X(s.form.fields.filter(F.isDemographicField));let l={...s.prefilled};for(let e of s.form.fields){if("multiselect"!==e.type)continue;let a=new Set((e.options??[]).map(e=>e.label));l[e.name]=(s.prefilled[e.name]??"").split(", ").filter(e=>a.has(e))}(0,M.applyRemembered)(s.form.fields,l,C),ee(l),T("form");let r=s.form.fields.filter(e=>"custom"===e.category&&("text"===e.type||"textarea"===e.type)&&!l[e.name]).map(e=>e.name);r.length>0&&(ei(new Set(r)),(0,B.getApplyFormAIAnswers)(a).then(a=>{if(e)return;let s=new Set;ee(e=>{let t={...e};for(let e of r){let l=a.answers[e];l&&!t[e]&&(t[e]=l,s.add(e))}return t}),eo(s)}).catch(()=>{}).finally(()=>{e||ei(new Set)}))}catch(a){if(e)return;if(a instanceof $.ApiError&&401===a.code)return void h.push("/login");if(a instanceof $.ApiError&&"ALREADY_APPLIED"===a.errorCode)return void T("applied");es(a instanceof $.ApiError&&"NOT_SERVICEABLE"===a.errorCode?"This job can't be applied to directly on 4dayweek.":"We couldn't load the application form right now. Please try again shortly."),T("unavailable")}})(),()=>{e=!0}},[L,a,h,C]);let ep=(0,i.useCallback)((e,a)=>{ee(s=>({...s,[e]:a})),eo(a=>{if(!a.has(e))return a;
1let s=new Set(a);return s.delete(e),s})},[]),eu=(0,i.useMemo)(()=>{let e={};for(let a of er)e[a]="drafting";for(let a of en)e[a]="ai";return e},[er,en]),ef=(0,i.useCallback)(e=>{if(!Array.isArray(e))return"";let a=[...G,...Q];return e.map(e=>a.find(a=>a.name===e)?.label??String(e)).filter(Boolean).join(", ")},[Q,G]),eb=(0,i.useCallback)(async s=>{s.preventDefault(),W(null),(0,M.saveAnswers)(G,Z,C);let t=G.filter(e=>e.required&&"file"!==e.type).filter(e=>{let a=Z[e.name];return Array.isArray(a)?0===a.length:!a}).map(e=>e.label);if(t.length>0)return void W(`Please fill in: ${t.join(", ")}`);if(G.some(e=>"file"===e.type&&e.required)&&!ed)return void W("Upload a résumé to your profile before applying.");Y(!0),x(!0);let l=new Set(Q.map(e=>e.name)),r={},i={},n={};for(let[e,a]of Object.entries(Z)){if(Array.isArray(a)){a.length>0&&(i[e]=a);continue}a&&((l.has(e)?n:r)[e]=a)}try{let s=await (0,B.quickApplySubmit)(a,r,i,n);if(x(!1),s.attempt_id){w({id:s.attempt_id,jobId:a,companyName:c,jobTitle:d,relayUsed:""!==et}),e(!1);return}W("Something went wrong starting your application. Please try again."),Y(!1)}catch(e){if(x(!1),Y(!1),e instanceof $.ApiError&&401===e.code)return void h.push("/login");if(e instanceof $.ApiError&&402===e.code)return void W("You're out of auto-apply credits.");if(e instanceof $.ApiError&&"ALREADY_APPLIED"===e.errorCode)return void T("applied");if(e instanceof $.ApiError&&"RESUME_REQUIRED"===e.errorCode)return void W("Upload a resume to your profile before applying.");if(e instanceof $.ApiError&&"RESUME_UNAVAILABLE"===e.errorCode)return void W("We couldn't attach your resume â please re-upload it in your profile.");if(e instanceof $.ApiError&&"RESUME_TOO_LARGE"===e.errorCode)return void W("Your stored resume is too large to auto-attach â please upload a smaller file.");if(e instanceof $.ApiError&&"INVALID_ANSWERS"===e.errorCode){let a=ef(e.data?.fields);W(a?`Please review: ${a} â those answers don't match the available options.`:"Some answers don't match the available options â please review and try again.");return}if(e instanceof $.ApiError&&"MISSING_REQUIRED"===e.errorCode){let a=ef(e.data?.fields);W(a?`Please fill in: ${a}`:"Please answer the required questions.");return}W("Something went wrong. You can finish on the company's site instead.")}},[Z,c,Q,ef,a,d,G,x,e,et,ed,h,w,C]);if("loading"===A)return(0,s.jsxs)("div",{className:"space-y-4 py-2",children:[(0,s.jsxs)(v.DialogHeader,{children:[(0,s.jsx)(v.DialogTitle,{children:"Quick Apply"}),(0,s.jsx)(v.DialogDescription,{children:"Loading the application formâ¦"})]}),(0,s.jsx)(S.Skeleton,{className:"h-10 w-full"}),(0,s.jsx)(S.Skeleton,{className:"h-10 w-full"}),(0,s.jsx)(S.Skeleton,{className:"h-24 w-full"})]});if("unavailable"===A)return(0,s.jsxs)("div",{className:"space-y-4 py-8 text-center",children:[(0,s.jsxs)(v.DialogHeader,{className:"items-center",children:[(0,s.jsx)(p.AlertCircle,{className:"mx-auto h-10 w-10 text-slate-400"}),(0,s.jsx)(v.DialogTitle,{className:"font-display",children:"Quick Apply isn't available here"}),(0,s.jsx)(v.DialogDescription,{children:ea})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:justify-center",children:[m&&(0,s.jsx)(n.Button,{asChild:!0,className:"rounded-xl bg-brand-pink hover:bg-rose-700",children:(0,s.jsxs)("a",{href:m,target:"_blank",rel:"noopener noreferrer",children:["Apply on ",c,"'s site"]})}),(0,s.jsx)(n.Button,{variant:"outline",className:"rounded-xl",onClick:()=>e(!1),children:"Close"})]})]});if("applied"===A)return(0,s.jsxs)("div",{className:"space-y-4 py-8 text-center",children:[(0,s.jsxs)(v.DialogHeader,{className:"items-center",children:[(0,s.jsx)(u.CheckCircle2,{className:"mx-auto h-10 w-10 text-emerald-500"}),(0,s.jsx)(v.DialogTitle,{className:"font-display",children:"You've already applied"}),(0,s.jsxs)(v.DialogDescription,{children:["Your application to ",c," was already submitted â applying twice would only use another credit and send the employer a duplicate."]})]}),(0,s.jsxs)("div",{className:"flex flex-col gap-2 sm:flex-row sm:justify-center",children:[(0,s.jsx)(n.Button,{asChild:!0,className:"rounded-xl bg-brand-pink hover:bg-rose-700",children:(0,s.jsx)(j.default,{href:"/dashboard/job-tracker",children:"View in Job Tracker"})}),(0,s.jsx)(n.Button,{variant:"outline",className:"rounded-xl",onClick:()=>e(!1),children:"Close"})]})]});if("in_progress"===A)return(0,s.jsxs)("div",{className:"space-y-4 py-8 text-center",children:[(0,s.jsxs)(v.DialogHeader,{className:"items-center",children:[(0,s.jsx)(b.Loader2,{className:"mx-auto h-10 w-10 animate-spin text-brand-pink"}),(0,s.jsxs)(v.DialogTitle,{className:"font-display",children:["Already applying to ",c]}),(0,s.jsx)(v.DialogDescription,{children:"This application is in progress â track it in the corner of your screen. We'll let you know the moment it's confirmed."})]}),(0,s.jsx)(n.Button,{variant:"outline",className:"rounded-xl",onClick:()=>e(!1),children:"Keep browsing"})]});let eg=eh>0||g;return(0,s.jsxs)("form",{onSubmit:eb,className:"space-y-6",children:[(0,s.jsxs)(v.DialogHeader,{children:[(0,s.jsxs)(v.DialogTitle,{className:"flex items-center gap-2 font-display",children:[(0,s.jsx)(l.Zap,{className:"h-5 w-5 text-brand-pink"}),"Quick Apply to ",c]}),(0,s.jsxs)(v.DialogDescription,{children:["Review your details â we'll fill in ",c,"'s application form and submit it for you while you keep browsing."]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between rounded-xl border border-slate-200 bg-slate-50 px-4 py-3 text-sm",children:[(0,s.jsx)("span",{className:"text-slate-600",children:"Auto-apply credits"}),(0,s.jsx)("span",{className:"font-semibold text-slate-900",children:g?"â":eh})]}),J&&(0,s.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-destructive/40 bg-destructive/5 p-3 text-sm text-destructive",children:[(0,s.jsx)(p.AlertCircle,{className:"mt-1 h-4 w-4 shrink-0"}),(0,s.jsx)("span",{children:J})]}),et&&(0,s.jsxs)("div",{className:"space-y-1.5 rounded-xl border border-slate-200 bg-slate-50/60 p-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)(z.ShieldCheck,{className:"h-4 w-4 shrink-0 text-brand-pink"}),(0,s.jsx)("span",{className:"text-sm font-semibold text-slate-900",children:"Your 4dayweek application email"})]}),(0,s.jsx)("p",{className:"break-all font-mono text-sm text-slate-700",children:et}),(0,s.jsx)("p",{className:"text-xs text-slate-500",children:"We apply with this address so any verification email is confirmed automatically â no code to chase. The employer'
1s replies are forwarded to your inbox instantly, and your replies go straight to them."})]}),(0,s.jsx)(O,{fields:G,values:Z,onChange:ep,annotations:eu,resumeOnFile:ed,resumeFilename:em}),Q.length>0&&(0,s.jsxs)("div",{className:"space-y-4 rounded-xl border border-slate-200 bg-slate-50/60 p-4",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h4",{className:"text-sm font-semibold text-slate-900",children:"Voluntary self-identification"}),(0,s.jsx)("p",{className:"text-xs text-slate-500",children:"Optional · sent to the employer · never stored by 4dayweek"})]}),(0,s.jsx)(O,{fields:Q,values:Z,onChange:ep,idPrefix:"qa-demo"})]}),eg?(0,s.jsxs)("div",{className:"space-y-2",children:[(0,s.jsx)(n.Button,{type:"submit",disabled:V,className:"h-12 w-full rounded-xl bg-brand-pink text-base hover:bg-rose-700",children:V?(0,s.jsx)(b.Loader2,{className:"h-4 w-4 animate-spin"}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(E.Sparkles,{className:"mr-2 h-4 w-4"}),"Submit application · 1 credit"]})}),(0,s.jsxs)("p",{className:"text-center text-xs text-slate-400",children:["Quick Apply uses one auto-apply credit, and only when your application is confirmed.",et?" Any verification is handled automatically.":" You may be asked for a verification code."]})]}):(0,s.jsxs)("div",{className:"space-y-3 rounded-xl border border-rose-100 bg-rose-50/60 p-4 text-center",children:[(0,s.jsx)("p",{className:"text-sm font-medium text-slate-900",children:"You're out of auto-apply credits"}),(0,s.jsx)("p",{className:"text-xs text-slate-500",children:"Grab a pack to keep applying in one click â credits never expire."}),(0,s.jsx)(n.Button,{type:"button",disabled:null!==N,onClick:()=>y(q.slug,{origin:"quick-apply",...t?{successPath:`/job/${t}`}:{}}),className:"h-11 w-full rounded-xl bg-gradient-to-r from-emerald-500 via-green-500 to-teal-500 text-base font-semibold hover:from-emerald-600 hover:via-green-600 hover:to-teal-600",children:N?(0,s.jsx)(b.Loader2,{className:"h-4 w-4 animate-spin"}):(0,I.packCtaLabel)(q)}),(0,s.jsx)(j.default,{href:"/dashboard/billing#credit-packs",className:"block text-center text-xs text-slate-500 underline hover:text-slate-700",children:"See all packs â"})]})]})}e.s(["ApplyButton",0,function({jobId:e,jobSlug:p,jobTitle:u,companyName:f,applyUrl:b,isExpired:g=!1,size:j="lg",className:y,job:v}){let N=(0,r.useRouter)(),[w,k]=(0,i.useState)(!1),[_,S]=(0,i.useState)(!1),[C,L]=(0,i.useState)(!1),{subscription:T}=(0,o.useEntitlements)(),z=T?.plan_slug==="pro",E="true"===a.default.env.NEXT_PUBLIC_QUICK_APPLY_ENABLED;(0,i.useEffect)(()=>{k(document.cookie.includes("logged_in=1"))},[]);let R=(0,i.useRef)(null),P=(0,i.useRef)(!0);(0,i.useEffect)(()=>(P.current=!0,()=>{P.current=!1,R.current?.(),R.current=null}),[]);let D=()=>{let e=new URLSearchParams({redirect:`/job/${p}`,reason:"apply",job_title:u,company_name:f});return`/signup?${e.toString()}`},$=()=>{N.push(D())};return g?(0,s.jsx)(n.Button,{className:y,size:j,disabled:!0,"data-testid":"apply-button",children:"Position Filled"}):E&&v?.quick_appliable?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(n.Button,{className:(0,h.cn)("bg-brand-pink text-white shadow-md shadow-rose-900/20 hover:bg-rose-700",y),size:j,onClick:()=>{w?L(!0):$()},"data-testid":"apply-button",children:[(0,s.jsx)(l.Zap,{className:"mr-2 h-4 w-4"}),"Quick Apply"]}),b&&(0,s.jsxs)("a",{href:(0,x.addUtmParams)(b),target:"_blank",rel:"noopener noreferrer",onClick:a=>{if(!w){a.preventDefault(),$();return}b&&(0,d.trackExternalApply)(e,(0,x.addUtmParams)(b)).catch(()=>{})},className:"mt-2 block w-full text-center text-xs text-slate-500 hover:text-slate-700 hover:underline",children:["or apply on ",f,"'s site"]}),(0,s.jsx)(J,{open:C,onOpenChange:L,jobId:e,jobSlug:p,jobTitle:u,companyName:f,applyUrl:b})]}):b?(0,s.jsx)(n.Button,{className:(0,h.cn)("bg-zinc-900 text-white hover:bg-zinc-800 shadow-md shadow-zinc-900/20",y),size:j,asChild:!0,"data-testid":"apply-button",children:(0,s.jsxs)("a",{href:w?(0,x.addUtmParams)(b):D(),...w?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:()=>{if(!w)return;let a=b?(0,x.addUtmParams)(b):void 0;(0,d.trackExternalApply)(e,a).then(e=>{e&&P.current&&(R.current?.(),R.current=function(e,a={}){let s,t,{graceMs:l=1e3,maxDeferMs:r=18e5}=a;if("u"<typeof document)return e(),()=>{};let i=!1,n="hidden"===document.visibilityState,o=()=>
1{if("hidden"===document.visibilityState){n=!0;return}n&&d(!0)};function d(a){!i&&(i=!0,void 0!==s&&clearTimeout(s),void 0!==t&&clearTimeout(t),document.removeEventListener("visibilitychange",o),a&&e())}return s=setTimeout(()=>{n||d(!0)},l),t=setTimeout(()=>d(!1),r),document.addEventListener("visibilitychange",o),()=>d(!1)}(()=>{1===e.total_applications?z?(0,c.dispatchAutoApplyUpsell)("first_application"):(0,m.dispatchProUpsell)("first_application"):3!==e.total_applications||z||(0,c.dispatchAutoApplyUpsell)("third_application")}))})},children:["Apply now",(0,s.jsx)(t.ExternalLink,{className:"ml-2 h-4 w-4"})]})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.Button,{className:(0,h.cn)("bg-zinc-900 text-white hover:bg-zinc-800 shadow-md shadow-zinc-900/20",y),size:j,onClick:()=>{w?v?S(!0):console.warn("ApplyButton: handleInternalApply called without a `job` prop"):$()},"data-testid":"apply-button",children:"Apply now"}),v&&(0,s.jsx)(A,{job:v,open:_,onOpenChange:S})]})}],261422)},97208,e=>{"use strict";var a=e.i(843476),s=e.i(271645);e.i(393475);var t=e.i(806908),l=e.i(261422),r=e.i(75022);let i="data-apply-anchor",n=(0,s.memo)(function({jobId:e,jobSlug:n,jobTitle:o,companyName:d,applyUrl:c,isExpired:m,job:x}
1){let[h,p]=(0,s.useState)(!1);return(0,s.useEffect)(()=>{let e=document.querySelector(`[${i}]`);if(!e)return;let a=new IntersectionObserver(([e])=>p(!e?.isIntersecting),{rootMargin:"-80px 0px 0px 0px"});return a.observe(e),()=>a.disconnect()},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{"data-testid":"section-job-mobile-bar",className:(0,t.cn)("fixed bottom-0 left-0 right-0 z-50 border-t bg-white/95 p-3 backdrop-blur",h?"lg:block":"lg:hidden"),children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-6xl items-center gap-3",children:[(0,a.jsxs)("div",{className:"hidden min-w-0 flex-1 lg:block",children:[(0,a.jsx)("p",{className:"truncate text-sm font-bold text-brand-gray-900",children:o}),(0,a.jsx)("p",{className:"truncate text-xs text-brand-gray-700",children:d})]}),(0,a.jsxs)("div",{className:"flex flex-1 items-stretch gap-2 lg:flex-none",children:[(0,a.jsx)(l.ApplyButton,{jobId:e,jobSlug:n,jobTitle:o,companyName:d,applyUrl:c,isExpired:m,className:"h-12 flex-1 rounded-xl lg:w-40 lg:flex-none",job:x}),(0,a.jsx)(r.SaveJobButton,{job:{id:e,slug:n,title:o,companyName:d},size:"lg",className:"h-12 rounded-xl px-4",variant:"outline",surface:"job_detail_mobile"})]})]})}),(0,a.jsx)("div",{className:"h-20 lg:hidden"})]})});e.s(["APPLY_ANCHOR_ATTR",0,i,"JobDetailMobileBar",0,n])},432236,941773,e=>{"use strict";e.i(753160);var a=e.i(843476);let s=(0,e.i(475254).default)("flag",[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]]);var t=e.i(522016);e.s(["ReportLink",0,function({type:e,slug:l,title:r,companySlug:i,companyName:n}){let o=new URLSearchParams;return"job"===e?(o.set("subject","report-job"),o.set("job",l),o.set("job_title",r),i&&o.set("company",i),n&&o.set("company_name",n)):(o.set("subject","report-company"),o.set("company",l),o.set("company_name",r)),(0,a.jsxs)(t.default,{href:`/contact?${o.toString()}`,rel:"nofollow",className:"inline-flex items-center gap-1 text-sm text-zinc-500 transition-colors hover:text-zinc-700 hover:underline",children:[(0,a.jsx)(s,{className:"h-4 w-4"}),"Report incorrect information"]})}],941773),e.s([],432236)},576838,e=>{"use strict";let a=(0,e.i(475254).default)("badge-check",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);e.s(["BadgeCheck",0,a],576838)},304225,e=>{"use strict";var a=e.i(843476),s=e.i(271645),t=e.i(806908),l=e.i(678606);let r=(0,s.memo)(function({job:e,company:s,variant:r="card",className:i}){let n=e.work_life_score;if(null==n||n<=0)return null;let o=(0,l.getScoreBreakdown)(e,s),d=[...o.positive.map(e=>({text:e,positive:!0})),...o.negative.map(e=>({text:e,positive:!1}))].slice(0,7);return(0,a.jsxs)("div",{className:(0,t.cn)("card"===r&&"rounded-xl bg-zinc-50 p-4",i),children:[(0,a.jsxs)("div",{className:"flex items-end justify-between gap-2.5",children:[(0,a.jsx)("span",{className:"text-md font-bold text-brand-gray-900",children:"Work-life balance"}),(0,a.jsxs)("span",{className:"flex items-baseline gap-[3px]",children:[(0,a.jsx)("span",{className:"text-[26px] font-extrabold leading-none tracking-tight tabular-nums text-brand-gray-900",children:n}),(0,a.jsx)("span",{className:"text-xs font-semibold text-brand-gray-600",children:"/100"})]})]}),(0,a.jsx)("div",{className:"mt-2.5 h-1.5 overflow-hidden rounded-full bg-zinc-100",children:(0,a.jsx)("div",{className:"h-full rounded-full bg-brand-pink transition-all duration-500",style:{width:`${n}%`}})}),(0,a.jsxs)("p",{className:"mt-2.5 text-sm leading-relaxed text-brand-gray-600 [text-wrap:pretty]",children:["Scored on hours, schedule, holiday, flexibility and remote policy."," ",(0,a.jsx)("a",{href:"/methodology",className:"font-semibold underline underline-offset-2",children:"How scoring works"})]}),d.length>0&&(0,a.jsx)("ul",{className:"mt-3.5 flex flex-col gap-[7px]",children:d.map(e=>(0,a.jsxs)("li",{className:"flex items-center gap-2.5 text-sm text-brand-gray-700",children:[(0,a.jsx)("span",{"aria-hidden":!0,
1className:(0,t.cn)("h-1.5 w-1.5 shrink-0 rounded-full",e.positive?"bg-emerald-400":"bg-zinc-300")}),e.text]},e.text))})]})});e.s(["WorkLifeScoreCard",0,r])},963266,e=>{"use strict";var a=e.i(843476);e.i(393475);var s=e.i(806908);e.s(["SidebarCard",0,function({children:e,className:t,...l}){return(0,a.jsx)("section",{className:(0,s.cn)("overflow-hidden rounded-2xl border border-zinc-200 bg-white shadow-sm shadow-zinc-900/[0.04]",t),...l,children:e})},"SidebarLabel",0,function({children:e,className:t}){return(0,a.jsx)("h3",{className:(0,s.cn)("text-sm font-bold text-brand-gray-700",t),children:e})},"SidebarSection",0,function({children:e,className:t,first:l=!1}){return(0,a.jsx)("div",{className:(0,s.cn)("px-[18px] py-4",!l&&"border-t border-zinc-100",t),children:e})}])},819170,e=>{"use strict";let a=(0,e.i(475254).default)("baby",[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]]);e.s(["Baby",0,a],819170)},342920,e=>{"use strict";let a=(0,e.i(475254).default)("building",[["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M9 22v-3a1 1 0 0 1 1-1h4a1 1 0 0 1 1 1v3",key:"cabbwy"}],["rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",key:"1uxh74"}]]);e.s(["Building",0,a],342920)},489499,557487,e=>{"use strict";var a=e.i(843476),s=e.i(819170),t=e.i(455711),l=e.i(342920),r=e.i(551804),i=e.i(475254);let n=(0,i.default)("coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);var o=e.i(286536),d=e.i(730699),c=e.i(248256),m=e.i(32095);let x=(0,i.default)("hand-coins",[["path",{d:"M11 15h2a2 2 0 1 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 17",key:"geh8rc"}],["path",{d:"m7 21 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a2 2 0 0 0-2.75-2.91l-4.2 3.9",key:"1fto5m"}],["path",{d:"m2 16 6 6",key:"1pfhp9"}],["circle",{cx:"16",cy:"9",r:"2.9",key:"1n0dlu"}],["circle",{cx:"6",cy:"5",r:"3",key:"151irh"}]]);var h=e.i(790597);let p=(0,i.default)("laptop",[["path",{d:"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2z",key:"1pdavp"}],["path",{d:"M20.054 15.987H3.946",key:"14rxg9"}]]);e.s(["Laptop",0,p],557487);let u=(0,i.default)("message-square-off",[["path",{d:"M19 19H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.7.7 0 0 1 2 21.286V5a2 2 0 0 1 1.184-1.826",key:"1wyg69"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v11.344",key:"mhl4k6"}]]);var f=e.i(319976);let b=(0,i.default)("piggy-bank",[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]]);var g=e.i(971757),j=e.i(98919),y=e.i(283086);let v=(0,i.default)("stethoscope",[["path",{d:"M11 2v2",key:"1539x4"}],["path",{d:"M5 2v2",key:"1yf1q8"}],["path",{d:"M5 3H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1",key:"rb5t3r"}],["path",{d:"M8 15a6 6 0 0 0 12 0v-3",key:"x18d4x"}],["circle",{cx:"20",cy:"10",r:"2",key:"ts1r5v"}]]);var N=e.i(25652),w=e.i(761911),k=e.i(271645),_=e.i(642438);let S=(0,i.default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]);var C=e.i(842009),L=e.i(576838);e.i(393475);var A=e.i(134629),T=e.i(806908);let z=(0,k.memo)(function({company:e}){let s=e.awards??[];return 0===s.length?null:(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-semibold text-brand-gray-900 mb-2",children:"Awards & recognition"}),(0,a.jsx)("ul",{className:"space-y-3",children:s.map(e=>{let s=(0,A.getAwardPresentation)(e.slug),t="badge-check"===(0,A.awardIconKind)(e)?L.BadgeCheck:C.Award,l=(0,A.getAwardVerifyLink)(e),r=[e.issuer,e.notes].filter(
1Boolean).join(" · ");return(0,a.jsxs)("li",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:(0,T.cn)("flex h-8 w-8 shrink-0 items-center justify-center rounded-lg",s.bg),children:(0,a.jsx)(t,{className:(0,T.cn)("h-4 w-4",s.text),"aria-hidden":"true"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-brand-gray-900",children:(0,A.formatAwardLabel)(e)}),r&&(0,a.jsx)("div",{className:"mt-1 text-xs text-brand-gray-500",children:r}),e.description&&(0,a.jsx)("div",{className:"mt-1 text-xs text-brand-gray-500",children:e.description}),l&&(0,a.jsxs)("a",{href:l.href,target:"_blank",rel:"noopener noreferrer",title:e.issuer?`${e.name} â ${e.issuer}`:e.name,className:(0,T.cn)("mt-1 inline-flex items-center gap-1 text-xs font-medium hover:underline",s.text),children:[l.label,(0,a.jsx)(S,{className:"h-3 w-3","aria-hidden":"true"})]})]})]},e.id)})})]})}),E={healthcare:{icon:h.Heart,defaultLabel:"Health Insurance"},dentalcare:{icon:v,defaultLabel:"Dental Insurance"},pension:{icon:b,defaultLabel:"401(k) / Pension"},equity:{icon:N.TrendingUp,defaultLabel:"Equity / Stock Options"},parental_leave:{icon:s.Baby,defaultLabel:"Parental Leave"},unlimited_pto:{icon:f.Palmtree,defaultLabel:"Unlimited PTO"},professional_development:{icon:m.GraduationCap,defaultLabel:"Learning & Development"},mental_health:{icon:t.Brain,defaultLabel:"Mental Health Support"},equipment:{icon:p,defaultLabel:"Equipment Budget"},work_from_anywhere:{icon:c.Globe,defaultLabel:"Work From Anywhere"},retreats:{icon:w.Users,defaultLabel:"Team Retreats"},sabbaticals:{icon:n,defaultLabel:"Sabbaticals"},bonuses:{icon:x,defaultLabel:"Performance Bonuses"},few_meetings:{icon:u,defaultLabel:"Few Meetings"},coworking_space:{icon:l.Building,defaultLabel:"Coworking Space"},childcare:{icon:h.Heart,defaultLabel:"Childcare Support"},life_disability_insurance:{icon:j.Shield,defaultLabel:"Life & Disability Insurance"},transparent_salaries:{icon:o.Eye,defaultLabel:"Transparent Salaries"},workations:{icon:g.Plane,defaultLabel:"Workations"},public_vacation_flexibility:{icon:r.CalendarCheck,defaultLabel:"Flexible Public Holidays"},adoption_or_fertility:{icon:y.Sparkles,defaultLabel:"Fertility & Adoption Support"},corporate_discounts:{icon:d.Gift,defaultLabel:"Corporate Discounts"}};function R(e){if(!e)return[];let a=[];for(let[s,t]of Object.entries(E)){if(!0!==e[s])continue;let l=e[`${s}_label`];a.push({key:s,icon:t.icon,displayLabel:"string"==typeof l&&l?l:t.defaultLabel})}return a}let P=(0,k.memo)(function({company:e}){let s=R(e.benefits),t=e.schedule_type?(0,_.getDaysOffPerYear)(e.schedule_type):null,l=!!e.vacation,r=null!==t,i=l||r,n=s.length>0,o=(e.awards?.length??0)>0;if(!i&&!n&&!o)return null;let d="";r&&e.schedule_type&&(d="half_day_fridays"===e.schedule_type?"26 half-days":"compressed_week"===e.schedule_type?"52 shorter weeks":`${t} days`);let c=l&&r&&"half_day_fridays"!==e.schedule_type&&"compressed_week"!==e.schedule_type?(e.vacation??0)+(t??0):null;return(0,a.jsx)("div",{className:"rounded-2xl border bg-white p-5 shadow-sm shadow-zinc-200/50",children:(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsx)(z,{company:e}),i&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-semibold text-brand-gray-900 mb-2",children:"Time Off"}),e.vacation_description&&(0,a.jsx)("p",{className:"text-sm text-zinc-500 mb-3 whitespace-pre-line",children:e.vacation_description}),(0,a.jsxs)("div",{className:"space-y-2",children:[l&&(0,a.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,a.jsx)("span",{className:"text-zinc-600",children:"Paid time off"}),(0,a.jsxs)("span",{className:"font-medium text-zinc-900",children:[e.vacation," days"]})]}),r&&(0,a.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,a.jsx)("span",{className:"text-zinc-600",children:"Schedule days off"}),(0,a.jsx)("span",{className:"font-medium text-zinc-900",children:d})]}),c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"border-t border-t-border-subtle"}),(0,a.jsxs)("div",{className:"flex justify-between text-sm font-semibold",children:[(0,a.jsx)("span",{className:"text-zinc-900",children:"Total time off"}),(0,a.jsxs)("span",{className:"text-zinc-900",children:[c," days/yr"]})]})]})]})]}),n&&(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"text-sm font-semibold text-brand-gray-900 mb-2",children:"Benefits"}),(0,a.jsx)("ul",{className:"space-y-1.5",children:s.map(e=>(0,a.jsx)("li",{className:"text-sm leading-snug text-zinc-700",children:e.displayLabel},e.key))})]})]})})});e.s(["BenefitsCard",0,P,"getBenefitEntries",0,R],489499)},494338,e=>{"use strict";var a=e.i(843476),s=e.i(271645);e.i(393475);var t=e.i(806908);let l={off:"OFF",half:"½ DAY",flex:"FLEX"};function r({model:e,className:s}){if("none"===e.kind)return e.caption?(0,a.jsx)(n,{className:s,children:e.caption}):null;if("hours"===e.kind){var t,l;return(0,a.jsxs)("div",{className:s,children:[(null!=e.min||null!=e.max)&&(0,a.jsxs)("p",{className:"flex items-baseline gap-1.5",children:[(0,a.jsx)("span",{className:"text-[22px] font-extrabold leading-none tracking-tight tabular-nums text-brand-gray-900",children:(t=e.min,l=e.max,null!=t&&null!=l&&t!==l?`${t}â${l}`:String(t??l))}),(0,a.jsx)("span",{className:"text-sm font-semibold text-brand-gray-700",children:"hours a week"})]}),e.caption&&(0,a.jsx)(n,{className:null!=e.min||null!=e.max?"mt-1.5":void 0,children:e.caption})]})}let o="fortnight"===e.kind;return(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)("div",{className:o?"flex flex-col gap-[5px]":void 0,"aria-hidden":"true",children:e.rows.map((e,s)=>(0,a.jsx)(i,{row:e,multi:o},e.label??s))}),e.caption&&(0,a.jsx)(n,{className:"mt-2.5",children:e.caption})]})}function i({row:e,multi:s}){let r=s?"h-[34px] rounded-[7px] text-sm":"h-10 rounded-lg text-sm";return(0,a.jsxs)("div",{className:s?"flex items-center gap-2":void 0,children:[s&&e.label&&(0,a.jsx)("span",{className:"w-10 shrink-0 text-sm font-bold text-brand-gray-600",children:e.label}),(0,a.jsx)("div",{className:(0,t.cn)("grid flex-1 grid-cols-5",s?"gap-1":"gap-[5px]"),children:e.days.map((e,s)=>(0,a.jsxs)("span",{className:(0,t.cn)("flex flex-col items-center justify-center gap-px font-bold",r,"work"===e.state?"bg-zinc-50 text-brand-gray-700 ring-1 ring-inset ring-zinc-200":"border border-dashed border-rose-300 bg-rose-50/60 text-rose-700"),children:[e.label,"work"!==e.state&&(0,a.jsx)("span",{className:(0,t.cn)("text-xs","font-extrabold tracking-wider"),children:l[e.state]})]},`${e.label??"day"}-${s}`))})]})}function n({children:e,className:s}){return(0,a.jsx)("p",{className:(0,t.cn)("text-sm leading-relaxed text-brand-gray-700 [text-wrap:pretty]",s),children:e})}var o=e.i(556910),d=e.i(642438);function c({info:e,description:s}){let t="standard"!==e.tier;return(0,a.jsxs)("div",{className:"mt-3 border-t border-zinc-200 pt-3",children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,a.jsxs)("span",{className:"text-xl font-bold tracking-tight text-zinc-900",children:[e.weeks," weeks"]}),e.months>=2&&(0,a.jsxs)("span",{className:"text-md text-zinc-500",children:["â ",e.months," months"]})]}),t&&(0,a.jsx)("span",{className:"rounded-full bg-rose-100 px-2 py-0.5 text-sm font-semibold text-rose-700",children:e.tierLabel})]}),(0,a.jsxs)("div",{className:"mt-0.5 text-sm font-semibold uppercase tracking-wide text-rose-600",children:["Fully paid",e.allParentsEqual?" · Equal for all parents":""]}),!e.allParentsEqual&&void 0!==e.secondaryWeeks&&(0,a.jsxs)("div",{className:"mt-1 text-md text-zinc-600",children:["Birthing parent ",e.weeks," wks · partner ",e.secondaryWeeks," wks"]}),"unknown"!==e.scope&&(0,a.jsx)("div",{className:"mt-1 text-sm text-zinc-400",children:"global"===e.scope?"Global policy":"Varies by country"}),s&&(0,a.jsx)("p",{className:"mt-2 text-md leading-relaxed text-zinc-500 whitespace-pre-line",children:s}),t&&(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-zinc-400",children:d.PARENTAL_LEAVE_OECD_ANCHOR})]})}let m=(0,s.memo)(function({scheduleType:e,fourDayOff:s,noMeetingDay:l,parentalLeaveWeeks:i,parentalLeaveSecondaryWeeks:n,parentalLeaveIsGlobal:m,hoursFullTime:x,scheduleTypeDescription:h,scheduleType
1ShortDescription:p,fourDayReferenceUrl:u,flexibilityDescription:f,hoursPerWeekMin:b,hoursPerWeekMax:g,companyFactsMismatched:j=!1,variant:y="card",className:v}){let N=(0,d.getWeekStripModel)({scheduleType:e,fourDayOff:s,hoursFullTime:x,hoursPerWeekMin:b,hoursPerWeekMax:g,companyFactsMismatched:j,shortDescription:p}),w=N.caption,k={...N,caption:""},_=h||f,S=(0,d.getParentalLeaveInfo)({parental_leave_weeks:i,parental_leave_secondary_weeks:n,parental_leave_is_global:m}),C="generous_parental_leave"===e;return(0,a.jsxs)("div",{className:(0,t.cn)("card"===y&&"rounded-xl bg-zinc-50 p-4",v),children:[(0,a.jsx)("div",{className:"text-sm font-semibold text-zinc-900",children:"Work schedule"}),(0,a.jsx)("div",{className:"mt-0.5 text-sm text-zinc-500",children:w}),"none"!==k.kind&&(0,a.jsx)(r,{model:k,className:"mt-3"}),l&&(0,a.jsx)("p",{className:"mt-3 text-md font-medium text-zinc-600",children:"any"===l?"A flexible no-meeting day each week":`No meetings on ${(0,d.formatDayOff)(l)}`}),S&&(0,a.jsx)(c,{info:S,description:C?_:void 0}),_&&!C&&(0,a.jsx)("p",{className:"mt-3 text-xs leading-relaxed text-zinc-500 whitespace-pre-line",children:_}),u&&("flush"===y?(0,a.jsxs)("a",{href:(0,o.addUtmParams)(u),target:"_blank",rel:"noopener noreferrer",className:"mt-3 flex h-9 items-center justify-center rounded-lg text-md font-medium text-zinc-700 ring-1 ring-inset ring-zinc-200 transition-colors hover:bg-zinc-50",children:["Read their policy â",(0,a.jsx)("span",{className:"sr-only",children:" (opens in new tab)"})]}):(0,a.jsxs)("a",{href:(0,o.addUtmParams)(u),target:"_blank",rel:"noopener noreferrer",className:"mt-2 inline-block text-md font-medium text-rose-700 underline underline-offset-2 hover:text-rose-800",children:["Read their policy â",(0,a.jsx)("span",{className:"sr-only",children:" (opens in new tab)"})]}))]})});e.s(["WorkScheduleWidget",0,m],494338)},679638,e=>{"use strict";var a=e.i(843476),s=e.i(271645);e.i(393475);var t=e.i(56428);let l=(0,s.memo)(function({salaryLower:e,salaryUpper:s,salaryCurrency:l,salaryPeriod:r}){let i=(0,t.formatSalaryDisplay)({salary_lower:e,salary_upper:s,salary_currency:l,salary_period:r});return i?(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)("p",{className:"text-2xl font-bold tracking-tight text-zinc-900",children:i.amount}),i.periodLong&&(0,a.jsx)("p",{className:"text-sm text-zinc-500",children:i.periodLong})]}):null});e.s(["CompensationSection",0,l])},989907,e=>{"use strict";var a=e.i(843476),s=e.i(607486),t=e.i(87316),l=e.i(503116),r=e.i(565157),i=e.i(694351),n=e.i(346897),o=e.i(271645),d=e.i(806908),c=e.i(182547);let m={onsite:n.MapPin,hybrid:s.Building2,remote:i.Home},x={onsite:"Onsite",hybrid:"Hybrid",remote:"Remote"};function h({locations:e}){let s=e.map(c.formatLocation).filter(Boolean);return 0===s.length?null:(0,a.jsx)("ul",{className:"mt-1 ml-7 space-y-1",children:s.map((e,s)=>(0,a.jsxs)("li",{className:"flex items-center gap-2 text-brand-gray-600",children:[(0,a.jsx)("span",{className:"h-1 w-1 shrink-0 rounded-full bg-brand-gray-300"}),e]},s))})}function p({remote:e,timezones:t,offices:i}){let n="Worldwide"===(0,c.getRemoteRestrictionsSummary)(e,t),o=(0,c.effectiveRemoteTuples)(e),d=o.map(c.formatLocation).filter(Boolean);return(0,a.jsxs)(a.Fragment,{children:[(n||d.length>0)&&(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(r.Globe2,{className:"h-4 w-4 shrink-0 text-brand-gray-400 mt-0.5"}),n?(0,a.jsx)("span",{className:"text-brand-gray-700",children:"Work from anywhere worldwide"}):1===d.length?(0,a.jsxs)("span",{className:"text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-medium",children:"Must be based in:"})," ",d[0]]}):(0,a.jsx)("span",{className:"text-brand-gray-700",children:(0,a.jsx)("span",{className:"font-medium",children:"Must be based in:"})})]}),!n&&d.length>1&&(0,a.jsx)(h,{locations:o}),t&&t.length>0&&(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(l.Clock,{className:"h-4 w-4 shrink-0 text-brand-gray-400"}),(0,a.jsxs)("span",{className:"text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-medium",children:"Timezones:"}
1)," ",t.join(", ")]})]}),i.length>0&&(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(s.Building2,{className:"h-4 w-4 shrink-0 text-brand-gray-400"}),(0,a.jsxs)("span",{className:"text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-medium",children:"Office available:"})," ",i.map(c.formatLocation).filter(Boolean).join(", ")]})]})]})}function u({offices:e,hybridDaysMin:l,hybridDaysMax:r}){let i=e.map(c.formatLocation).filter(Boolean);return(0,a.jsxs)(a.Fragment,{children:[i.length>0&&(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(s.Building2,{className:"h-4 w-4 shrink-0 text-brand-gray-400 mt-0.5"}),1===i.length?(0,a.jsxs)("span",{className:"text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-medium",children:"Office:"})," ",i[0]]}):(0,a.jsx)("span",{className:"text-brand-gray-700",children:(0,a.jsx)("span",{className:"font-medium",children:"Offices:"})})]}),i.length>1&&(0,a.jsx)(h,{locations:e}),(void 0!==l||void 0!==r)&&(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(t.Calendar,{className:"h-4 w-4 shrink-0 text-brand-gray-400"}),(0,a.jsx)("span",{className:"text-brand-gray-700",children:(0,c.formatHybridDays)(l,r)})]})]})}function f({offices:e}){let s=e.map(c.formatLocation).filter(Boolean);return 0===s.length?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)(n.MapPin,{className:"h-4 w-4 shrink-0 text-brand-gray-400 mt-0.5"}),1===s.length?(0,a.jsxs)("span",{className:"text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-medium",children:"Location:"})," ",s[0]]}):(0,a.jsx)("span",{className:"text-brand-gray-700",children:(0,a.jsx)("span",{className:"font-medium",children:"Locations:"})})]}),s.length>1&&(0,a.jsx)(h,{locations:e})]})}let b=(0,o.memo)(function({job:e,company:s,className:t}){let{work_arrangement:l,locations:r,timezones:i}=e,n=l||"remote",o=m[n],h=(0,c.officeTuples)(r),b=(0,c.remoteTuples)(r);return(0,a.jsx)("div",{className:(0,d.cn)("space-y-3",t),children:(0,a.jsxs)("div",{className:"space-y-3 text-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(o,{className:"h-4 w-4 shrink-0 text-brand-gray-400"}),(0,a.jsx)("span",{className:"font-medium text-brand-gray-700",children:x[n]})]}),"remote"===n&&(0,a.jsx)(p,{remote:b,timezones:i,offices:h}),"hybrid"===n&&(0,a.jsx)(u,{offices:h,hybridDaysMin:s?.hybrid_days_min,hybridDaysMax:s?.hybrid_days_max}),"onsite"===n&&(0,a.jsx)(f,{offices:h})]})})});e.s(["LocationSection",0,b])},114160,183773,e=>{"use strict";var a=e.i(843476),s=e.i(842009),t=e.i(576838),l=e.i(728231);e.i(393475);var r=e.i(134629),i=e.i(806908);function n({lines:e,children:s}){return 0===e.length?(0,a.jsx)(a.Fragment,{children:s}):(0,a.jsxs)(l.Tooltip,{children:[(0,a.jsx)(l.TooltipTrigger,{asChild:!0,children:s}),(0,a.jsx)(l.TooltipContent,{children:(0,a.jsx)("ul",{className:"space-y-1 text-xs",children:e.map(e=>(0,a.jsx)("li",{children:e},e))})})]})}function o({award:e,icon:l}){let d=(0,r.getAwardPresentation)(e.slug),c="badge-check"===(0,r.awardIconKind)(e)?t.BadgeCheck:s.Award;return(0,a.jsx)(n,{lines:(0,r.getAwardTooltipLines)(e),children:(0,a.jsxs)("span",{className:(0,i.cn)("inline-flex items-center gap-1 whitespace-nowrap rounded-full px-2 py-1 text-xs font-medium",d.bg,d.text),children:[l??(0,a.jsx)(c,{className:"h-3 w-3","aria-hidden":"true"}),(0,r.formatAwardShortLabel)(e)]})})}e.s(["AwardChip",0,o,"AwardTooltip",0,n,"RecognizedAwards",0,function({awards:e,excludeFirst:s=!1,max:t=2,className:l}){let r=(s?e?.slice(1):e)??[];return 0===r.length?null:(0,a.jsxs)("div",{className:l,children:[(0,a.jsx)("div",{className:"mb-2 text-xs font-medium text-brand-gray-500",children:"Recognized as"}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[r.slice(0,t).map(e=>(0,a.jsx)(o,{award:e},e.id)),r.length>t&&(0,a.jsxs)("span",{className:"text-xs text-brand-gray-500",children:["+",r.length-t," more"]})]})]})}],114160);var d=e.i(463059),c=e.i(657688),m=e.i(522016),x=e.i(182547);e.s(["SimilarJobRow",0,function({job:e}){let s=e.company?.name||e.company_name||"",t=e.company?.logo_url,l=[s,(0,x.getLocationBadgeInfo)(e).label].filter(
1Boolean).join(" · ");return(0,a.jsxs)(m.default,{href:`/job/${e.slug}`,prefetch:!1,className:"group -mx-2 flex items-center gap-3 rounded-lg px-2 py-1.5 transition-colors hover:bg-rose-50/40",children:[t?(0,a.jsx)("div",{className:"relative h-8 w-8 flex-shrink-0 overflow-hidden rounded-md bg-white ring-1 ring-zinc-200",children:(0,a.jsx)(c.default,{src:t,alt:`${s} logo`,fill:!0,sizes:"32px",className:"object-contain"})}):(0,a.jsx)("div",{className:"flex h-8 w-8 flex-shrink-0 items-center justify-center rounded-md bg-gradient-to-br from-rose-500 to-pink-600",children:(0,a.jsx)("span",{className:"text-xs font-bold text-white",children:s.charAt(0)||"C"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"truncate text-sm font-medium text-zinc-800 transition-colors group-hover:text-rose-700",children:e.title}),(0,a.jsx)("p",{className:"truncate text-xs text-zinc-500",children:l})]}),(0,a.jsx)(d.ChevronRight,{className:"h-4 w-4 flex-shrink-0 text-zinc-300 transition-transform group-hover:translate-x-1 group-hover:text-rose-500"})]})}],183773)},914582,930727,e=>{"use strict";var a=e.i(843476),s=e.i(271645),t=e.i(846696);e.i(44476);var l=e.i(333745);e.i(432236);var r=e.i(941773);e.i(393475);var i=e.i(56428),n=e.i(662031),o=e.i(114160),d=e.i(167881),c=e.i(261422),m=e.i(75022),x=e.i(304225),h=e.i(963266);function p({job:e,company:s,companyName:t,isExpired:l,onShare:r}){let u=null!=e.work_life_score&&e.work_life_score>0;return(0,a.jsxs)(h.SidebarCard,{"data-apply-anchor":"",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-2.5 p-4",children:[(0,a.jsx)(c.ApplyButton,{jobId:e.id,jobSlug:e.slug,jobTitle:e.title,companyName:t,applyUrl:e.apply_url,isExpired:l,className:"h-[46px] w-full rounded-xl text-[14.5px] font-bold",job:e}),!l&&(0,a.jsx)("div",{className:"flex items-center justify-between gap-2",children:(0,a.jsxs)("div",{className:"flex flex-1 gap-2",children:[(0,a.jsx)(m.SaveJobButton,{job:{id:e.id,slug:e.slug,title:e.title,companyName:t},className:"h-[34px] flex-1 rounded-[9px] border-zinc-300 text-sm font-bold text-brand-gray-700 hover:bg-zinc-50",variant:"outline",size:"sm"}),(0,a.jsxs)(d.Button,{variant:"outline",size:"sm",className:"h-[34px] flex-1 rounded-[9px] border-zinc-300 text-sm font-bold text-brand-gray-700 hover:bg-zinc-50",onClick:r,children:[(0,a.jsx)(n.Share2,{className:"mr-2 h-[13px] w-[13px]"}),"Share"]})]})}),!l&&(0,i.isPostedRecently)(e.posted)&&(0,a.jsxs)("span",{className:"flex items-center gap-1.5 pt-0.5",children:[(0,a.jsx)("span",{className:"relative flex h-1.5 w-1.5","aria-hidden":"true",children:(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full animate-breathe rounded-full bg-emerald-500"})}),(0,a.jsx)("span",{className:"text-sm font-semibold text-emerald-700",children:"Recently posted"})]})]}),u&&(0,a.jsx)(h.SidebarSection,{children:(0,a.jsx)(x.WorkLifeScoreCard,{job:e,company:s,variant:"flush"})}),(0,a.jsx)(o.RecognizedAwards,{awards:s?.awards,excludeFirst:"best_place_to_work"===e.schedule_type&&!s?.schedule_type_short_description,className:"border-t border-zinc-100 px-[18px] py-4"})]})}var u=e.i(643531),f=e.i(664659),b=e.i(489499),g=e.i(494338),j=e.i(642438),y=e.i(679638),v=e.i(989907);function N({job:e,company:t,scheduleType:l,companyFactsMismatched:r}){var i,n;let[o,d]=(0,s.useState)(!1),c=(0,b.getBenefitEntries)(t?.benefits),m=o?c:c.slice(0,5),x=l?(0,j.getDaysOffPerYear)(l):null,p=!!t?.vacation,k=null!==x,_=p||k||!!t?.vacation_description,S="";k&&l&&(S="half_day_fridays"===l?"26 half-days":"compressed_week"===l?"52 shorter weeks":`${x} days`);let C=p&&k&&"half_day_fridays"!==l&&"compressed_week"!==l?(t?.vacation??0)+(x??0):null,L=!!e.salary,A=!!e.work_arrangement,T=t?.hiring_process,z=(i=t,n=r,!i||n?null:i.four_day_reference_url?"Schedule checked against their published policy":i.verified?"Profile verified by the employer":null);return L||l||_||c.length>0||A?(0,a.jsxs)(h.SidebarCard,{children:[L&&(0,a.jsxs)(h.SidebarSection,{first:!0,children:[(0,a.jsx)(h.SidebarLabel,{children:"Salary"}),(0,a.jsx)("div",{className:"mt-1.5",children:(0,a.jsx)(y.CompensationSection,{salaryLower:e.salary_lower,salaryUpper:e.salary_upper,salaryCurrency:e.salary_currency,salaryPeriod:e.salary_period})})]}),l&&(0,a.jsx)(h.SidebarSection,{first:!L,children:(0,a.jsx)(g.WorkScheduleWidget,{scheduleType:l,fourDayOff:t?.four_day_off,noMeetingDay:t?.no_meeting_day,parentalLeaveWeeks:t?.parental_leave_weeks,parentalLeaveSecondaryWeeks:t?.parental_leave_secondary_weeks,parentalLeaveIsGlobal:t?.parental_leave_is_global,hoursFullTime:t?.hours_full_time,hoursPerWeekMin:e.hours_per_week_min,hoursPerWeekMax:e.hours_per_week_max,companyFactsMismatched:r,scheduleType
1ShortDescription:t?.schedule_type_short_description,scheduleTypeDescription:t?.schedule_type_description,fourDayReferenceUrl:t?.four_day_reference_url,flexibilityDescription:t?.flexibility_description,variant:"flush"})}),_&&(0,a.jsxs)(h.SidebarSection,{first:!L&&!l,children:[(0,a.jsx)(h.SidebarLabel,{children:"Time off"}),t?.vacation_description&&(0,a.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-brand-gray-700 [text-wrap:pretty]",children:t.vacation_description}),(p||k)&&(0,a.jsxs)("div",{className:"mt-2.5 flex flex-col gap-1.5",children:[p&&(0,a.jsx)(w,{label:"Paid time off",value:`${t?.vacation} days`}),k&&(0,a.jsx)(w,{label:"Schedule days off",value:S}),C&&(0,a.jsxs)("div",{className:"flex justify-between border-t border-zinc-100 pt-1.5 text-sm font-bold text-brand-gray-900",children:[(0,a.jsx)("span",{children:"Total time off"}),(0,a.jsxs)("span",{className:"tabular-nums",children:[C," days/yr"]})]})]})]}),c.length>0&&(0,a.jsxs)(h.SidebarSection,{children:[(0,a.jsx)(h.SidebarLabel,{children:"Benefits"}),(0,a.jsx)("ul",{className:"mt-2.5 flex flex-col gap-1.5",children:m.map(e=>(0,a.jsx)("li",{className:"text-sm leading-snug text-brand-gray-700",children:e.displayLabel},e.key))}),!o&&c.length>5&&(0,a.jsxs)("button",{type:"button",onClick:()=>d(!0),className:"mt-[11px] inline-flex items-center gap-1 text-sm font-bold text-brand-pink hover:text-rose-700",children:["Show all ",c.length,(0,a.jsx)(f.ChevronDown,{className:"h-3 w-3",strokeWidth:2.6,"aria-hidden":"true"})]})]}),A&&(0,a.jsxs)(h.SidebarSection,{children:[(0,a.jsx)(h.SidebarLabel,{children:"Location"}),(0,a.jsx)("div",{className:"mt-2",children:(0,a.jsx)(v.LocationSection,{job:e,company:t?{hybrid_days_min:t.hybrid_days_min,hybrid_days_max:t.hybrid_days_max}:void 0})})]}),T&&(0,a.jsxs)(h.SidebarSection,{children:[(0,a.jsx)(h.SidebarLabel,{children:"Interview"}),(0,a.jsx)("p",{className:"mt-[7px] text-sm leading-relaxed text-brand-gray-700 [text-wrap:pretty]",children:T})]}),z&&(0,a.jsxs)("div",{className:"flex items-center gap-[7px] border-t border-zinc-100 bg-zinc-50/60 px-[18px] py-[11px]",children:[(0,a.jsx)(u.Check,{className:"h-[11px] w-[11px] shrink-0 text-emerald-700",strokeWidth:3.5,"aria-hidden":"true"}),(0,a.jsx)("span",{className:"text-sm font-semibold text-emerald-700",children:z})]})]}):null}function w({label:e,value:s}){return(0,a.jsxs)("div",{className:"flex justify-between text-sm text-brand-gray-700",children:[(0,a.jsx)("span",{children:e}),(0,a.jsx)("span",{className:"tabular-nums",children:s})]})}var k=e.i(463059),_=e.i(657688),S=e.i(522016),C=e.i(71829),L=e.i(806908);function A({name:e,resolvedURL:s,className:t}){let l=(0,L.cn)(C.SKILL_TAG_CLASSES,s&&"cursor-pointer transition-colors hover:bg-rose-50 hover:text-rose-700",t);return s?(0,a.jsx)(S.default,{href:s.url,prefetch:!1,className:l,children:e}):(0,a.jsx)("span",{className:l,children:e})}e.s(["LinkableTag",0,A],930727);var T=e.i(183773);function z({company:e,companyName:s,resolvedURLs:t,similarJobs:l,linkContext:r,tags:i}){let n=!!l?.length,o=!!(e&&(e.short_description||e.slug)),d=function(e,a){if(!a)return[];let s=[];if(a.category){let t=e[`category:${a.category}`];if(t?.is_landing_page){let e=C.JOB_CATEGORIES.find(e=>e.value===a.category)?.label;e&&s.push({label:`${e} Jobs`,href:t.url})}}if(a.scheduleType){let t=e[`schedule:${a.scheduleType}`];if(t?.is_landing_page){let e=(0,j.formatScheduleTypeLabel)(a.scheduleType);e&&s.push({label:`${e} Jobs`,href:t.url})}}if(a.locationSlug&&a.locationName){let t=e[`location:${a.locationSlug}`];t?.is_landing_page&&s.push({label:`Jobs in ${a.locationName}`,href:t.url})}return a.isRemote&&s.push({label:"Remote Jobs",href:"/remote-jobs"}),s}(t,r),c=function(e,a){if(a?.category){let s=e[`category:${a.category}`],t=C.JOB_CATEGORIES.find(e=>e.value===a.category)?.label;if(s?.is_landing_page&&t)return{href:s.url,label:`Browse ${t} jobs`}}if(a?.scheduleType){let s=e[`schedule:${a.scheduleType}`],t=(0,j.formatScheduleTypeLabel)(a.scheduleType);if(s?.is_landing_page&&t)return{href:s.url,label:`Browse ${t} jobs`}}return{href:"/job-search",label:"Browse all jobs"}}(t,r);if(!o&&!n&&0===i.length&&0===d.length)return null;let m=[e?.employees?`${e.employees}
1 people`:null,e?.country].filter(Boolean).join(" · ");return(0,a.jsxs)(h.SidebarCard,{"data-testid":n?"section-similar-jobs":void 0,children:[o&&(0,a.jsxs)(h.SidebarSection,{first:!0,children:[(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(E,{url:e?.logo_url,name:s}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"truncate text-[15.5px] font-extrabold tracking-tight text-brand-gray-900",children:s}),m&&(0,a.jsx)("p",{className:"mt-0.5 truncate text-xs text-brand-gray-700",children:m})]})]}),e?.short_description&&(0,a.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-brand-gray-700 [text-wrap:pretty]",children:e.short_description}),e?.slug&&(0,a.jsxs)(S.default,{href:`/company/${e.slug}`,prefetch:!1,className:"mt-3.5 flex h-[38px] items-center justify-center gap-1.5 rounded-[10px] border border-zinc-300 bg-white text-sm font-bold text-brand-gray-700 transition-colors hover:border-zinc-400 hover:bg-zinc-50",children:["See all ",s," roles",(0,a.jsx)(k.ChevronRight,{className:"h-[13px] w-[13px]",strokeWidth:2.4,"aria-hidden":"true"})]})]}),n&&(0,a.jsxs)(h.SidebarSection,{first:!o,children:[(0,a.jsx)(h.SidebarLabel,{children:"Similar roles"}),(0,a.jsx)("div",{className:"mt-2.5 flex flex-col gap-0.5",children:l?.slice(0,3).map(e=>(0,a.jsx)(T.SimilarJobRow,{job:e},e.id))}),(0,a.jsxs)(S.default,{href:c.href,prefetch:!1,className:"mt-[11px] flex h-[38px] items-center justify-center gap-1.5 rounded-[10px] bg-zinc-50 text-sm font-bold text-brand-gray-700 transition-colors hover:bg-rose-50 hover:text-rose-700",children:[c.label,(0,a.jsx)(k.ChevronRight,{className:"h-[13px] w-[13px]",strokeWidth:2.4,"aria-hidden":"true"})]})]}),(i.length>0||d.length>0)&&(0,a.jsxs)(h.SidebarSection,{first:!o&&!n,children:[i.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(h.SidebarLabel,{children:"Skills in this role"}),(0,a.jsx)("div",{className:"mt-2.5 flex flex-wrap gap-1.5",children:i.slice(0,10).map(e=>(0,a.jsx)(A,{name:e.name,resolvedURL:e.slug?t[`skill:${e.slug}`]:void 0},e.id))})]}),d.length>0&&(0,a.jsxs)("div",{className:i.length>0?"mt-4":void 0,children:[(0,a.jsx)(h.SidebarLabel,{children:"Explore related"}),(0,a.jsx)("div",{className:"mt-1.5 flex flex-col",children:d.slice(0,4).map(e=>(0,a.jsxs)(S.default,{href:e.href,prefetch:!1,className:"group flex items-center gap-1 py-1.5 text-sm text-brand-gray-700 transition-colors hover:text-rose-700",children:[e.label,(0,a.jsx)(k.ChevronRight,{className:"h-3.5 w-3.5 text-zinc-400 transition-all group-hover:translate-x-0.5 group-hover:text-rose-500"})]},e.href))})]})]})]})}function E({url:e,name:s}){if(e)return(0,a.jsx)(_.default,{src:e,alt:`${s} logo`,width:44,height:44,className:"h-11 w-11 shrink-0 rounded-[11px] object-cover ring-1 ring-zinc-200"});let t=s.split(/\s+/).slice(0,2).map(e=>e[0]).join("").toUpperCase();return(0,a.jsx)("span",{"aria-hidden":"true",className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-[11px] bg-zinc-100 text-sm font-extrabold tracking-tight text-brand-gray-700 ring-1 ring-inset ring-zinc-200",children:t})}let R=(0,s.memo)(function({job:e,company:n,companyName:o,isExpired:d,resolvedURLs:c,similarJobs:m,linkContext:x}){let h=(0,s.useMemo)(()=>(0,i.getJobTags)(e),[e]),u=e.schedule_type||n?.schedule_type,f=!!(e.schedule_type&&n?.schedule_type&&e.schedule_type!==n.schedule_type),b=(0,s.useCallback)(async()=>{let a={title:`${e.title} at ${o}`,text:`Check out this job: ${e.title} at ${o}`,url:window.location.href};try{navigator.share?await navigator.share(a):(await navigator.clipboard.writeText(window.location.href),t.toast.success("Link copied to clipboard"))}catch(e){if(e instanceof Error&&"AbortError"!==e.name)try{await navigator.clipboard.writeText(window.location.href),t.toast.success("Link copied to clipboard")}catch{t.toast.error("Could not copy link")}}},[e.title,o]);return(0,a.jsxs)("div",{className:"relative z-10 flex flex-col gap-4 pt-8 lg:pt-0 lg:-mt-24",children:[(0,a.jsx)(p,{job:e,company:n,companyName:o,isExpired:d,onShare:b}),(0,a.jsx)(N,{job:e,company:n,scheduleType:u,companyFactsMismatched:f}),!d&&(0,a.jsx)(l.AutoApplyCTACard,{surface:"job-detail-sidebar",context:{category:x?.category,scheduleType:u,jobTitle:e.title}}
1),(0,a.jsx)(z,{company:n,companyName:o,resolvedURLs:c,similarJobs:m,linkContext:x,tags:h}),(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(r.ReportLink,{type:"job",slug:e.slug,title:e.title,companySlug:n?.slug,companyName:n?.name||e.company_name})})]})});e.s(["JobDetailSidebar",0,R],914582)},673844,e=>{"use strict";var a=e.i(271645);e.i(558486);var s=e.i(964556);e.s(["JobViewTracker",0,function({jobId:e}){let t=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{if(t.current)return;t.current=!0;let a="u">typeof document?document.referrer:void 0;(0,s.trackJobView)(e,a).catch(()=>{})},[e]),null}])},592250,324856,539261,e=>{"use strict";var a=e.i(843476),s=e.i(271645),t=e.i(671428),l=e.i(697162);e.i(558486);var r=e.i(980218),i=e.i(699354);e.i(393475);var n=e.i(182547),o=e.i(24359),d=e.i(401851),c=e.i(494913),m=e.i(281092),x=e.i(959208),h=e.i(643531),p=e.i(763639),u=e.i(283086),f=e.i(657688),b=e.i(522016),g=e.i(994179),j=e.i(71829),y=e.i(642438),v=e.i(56428),N=e.i(351314);function w({job:e,company:s,companyName:t,isExpired:l,postedDate:r,resolvedURLs:i}){var n;let o=(()=>{let a=e.category?i?.[`category:${e.category}`]:void 0;if(a?.is_landing_page){let s=j.JOB_CATEGORIES.find(a=>a.value===e.category)?.label;if(s)return{name:`${s} Jobs`,url:a.url}}let s=e.schedule_type?i?.[`schedule:${e.schedule_type}`]:void 0;if(s?.is_landing_page){let a=(0,y.formatScheduleTypeLabel)(e.schedule_type);if(a)return{name:`${a} Jobs`,url:s.url}}return{name:"Jobs",url:"/jobs"}})();return(0,a.jsxs)("section",{className:"relative overflow-hidden border-b border-b-border-strong/50 bg-gradient-to-br from-slate-100 via-slate-100 to-stone-100",children:[(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-0 opacity-30 sm:opacity-100",children:[(0,a.jsx)("div",{className:"absolute -top-20 right-1/4 h-[500px] w-[500px] rounded-full bg-gradient-to-br from-rose-100/70 via-pink-50/60 to-fuchsia-50/50 blur-3xl"}),(0,a.jsx)("div",{className:"absolute top-1/3 -right-32 h-[400px] w-[400px] rounded-full bg-gradient-to-br from-amber-300/60 via-orange-100/50 to-yellow-100/40 blur-3xl"}),(0,a.jsx)("div",{className:"absolute -bottom-32 left-1/6 h-[400px] w-[400px] rounded-full bg-gradient-to-tr from-sky-200/60 via-cyan-100/50 to-teal-100/40 blur-3xl"}),(0,a.jsx)("div",{className:"absolute top-0 left-1/2 h-[300px] w-[300px] rounded-full bg-gradient-to-br from-violet-200/50 via-purple-100/40 to-indigo-100/30 blur-3xl"}),(0,a.jsx)("div",{className:"absolute inset-0 opacity-[0.02]",style:{backgroundImage:"url(\"data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E\")"}})]}),(0,a.jsxs)("div",{className:"relative mx-auto max-w-6xl px-4 py-12",children:[(0,a.jsxs)("div",{className:"mb-8 flex flex-wrap items-center justify-between gap-2",children:[(0,a.jsxs)("nav",{className:"flex min-w-0 flex-1 items-center gap-2 text-sm text-zinc-500",children:[(0,a.jsx)(b.default,{href:o.url,className:"shrink-0 whitespace-nowrap transition-colors hover:text-zinc-900",children:o.name}),(0,a.jsx)("span",{className:"shrink-0 text-zinc-300",children:"/"}),(0,a.jsx)("span",{className:"min-w-0 flex-1 truncate font-medium text-zinc-700",children:e.title})]}),(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsxs)("span",{className:"hidden text-sm text-zinc-500 sm:inline",children:["Posted"," ",(0,a.jsx)("span",{suppressHydrationWarning:!0,children:(0,c.formatDistanceToNow)(r,{addSuffix:!0})})]}),e.application_closes_at?(0,a.jsxs)("span",{className:"text-sm text-zinc-700 inline-flex items-center gap-1",children:[(0,a.jsx)(x.CalendarClock,{className:"h-3.5 w-3.5","aria-hidden":!0}),(0,a.jsxs)("span",{children:["Applications close"," ",(0,a.jsx)("span",{className:"font-medium",children:(0,d.format)((n=e.application_closes_at,(0,m.toDate)(1e3*n,void 0)),"PPP")})]})]}):null]})]}),l&&(0,a.jsxs)("div",{className:"mb-6 rounded-2xl bg-gradient-to-r from-red-50 to-rose-50 border border-red-200/60 p-4 text-center backdrop-blur-sm",children:[(0,a.jsx)("p",{className:"font-semibold text-red-700",children:"This job posting has expired"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-red-600/80",children:"Check out similar jobs below or browse all open positions"})]}),(0,a.jsxs)("div",{className:"mb-4 flex items-center gap-3",children:[s?.logo_url?(0,a.jsx)("div",{className:"relative h-10 w-10 shrink-0 overflow-hidden rounded-xl bg-white ring-1 ring-zinc-200",children:(0,a.jsx)(f.default,{src:s.logo_url,alt:`${t} logo`,fill:!0,sizes:"40px",className:"object-contain p-0.5"})}):(0,a.jsx)("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-rose-500 to-pink-600",children:(0,a.jsx)("span",{className:"text-base font-bold text-white",children:t.charAt(0)})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-x-3 gap-y-1",children:[s?.slug?(0,a.jsx)(b.default,{href:`/company/${s.slug}`,prefetch:!1,className:"text-base font-semibold text-zinc-800 hover:text-rose-700 transition-colors",children:t}):(0,a.jsx)("span",{className:"text-base font-semibold text-zinc-800",children:t}),s?.verified&&(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 text-emerald-600",children:[(0,a.jsx)(h.Check,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"text-sm font-medium",children:"Verified"})]})]}),e.featured&&(0,a.jsxs)(g.Badge,{variant:`tier-${e.featured}`,className:"mt-2 uppercase text-xs",children:[(0,a.jsx)(u.Sparkles,{className:"mr-1 h-3 w-3"}),"Featured"]})]})]}),(0,a.jsx)("h1",{className:"heading-1 mt-4 max-w-3xl text-zinc-900 sm:text-4xl",children:e.title}),e.title_pretranslated&&e.title_pretranslated!==e.title&&(0,a.jsxs)("p",{className:"mt-2 inline-flex items-center gap-2 text-sm text-zinc-500",children:[(0,a.jsx)(p.Languages,{className:"h-4 w-4 shrink-0","aria-hidden":!0}),(0,a.jsxs)("span",{children:["Auto-translated from ",(0,v.languageDisplayName)(e.language)," · original:"," ",(0,a.jsx)("span",{lang:e.language,className:"italic text-zinc-600",children:e.title_pretranslated})]})]}),(0,a.jsxs)("div",{className:"mt-5 flex flex-wrap gap-1.5",children:[(0,a.jsx)(N.ScheduleTag,{job:e,company:s??void 0,size:"lg"}),(0,a.jsx)(N.SalaryTag,{job:e,size:"lg"}),(0,a.jsx)(N.LocationTag,{job:e,company:s?{hybrid_days_min:s.hybrid_days_min,hybrid_days_max:s.hybrid_days_max}:void 0,size:"lg"})]})]})]})}e.s(["JobDetailHeader",0,w],324856);var k=e.i(97208),_=e.i(914582),S=e.i(673844);function C({data:e,resolvedURLs:s,structuredData:t}){let{job:l,company:r,similar_jobs:i}=e,d=r?.name||l.company_name||"Company",c=new Date(1e3*l.posted),m=l.is_expired,x=(0,n.officeTuples)(l.locations),h=x.find(e=>e.is_primary)??x[0],p={category:l.category,scheduleType:l.schedule_type,locationSlug:h?.country?.toLowerCase(),locationName:h?.country,isRemote:"remote"===l.work_arrangement};return(0,a.jsxs)("div",{"data-testid":"page-job-detail",children:[(0,a.jsx)(S.JobViewTracker,{jobId:l.id}),t,(0,a.jsx)(w,{job:l,company:r,companyName:d,isExpired:m,postedDate:c,resolvedURLs:s}),(0,a.jsx)("div",{className:"mx-auto max-w-6xl px-4 pb-16",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,a.jsx)("main",{className:"pt-8 lg:col-span-2",children:(0,a.jsx)(o.JobContentTabs,{job:l,company:r,companyName:d})}),(0,a.jsx)("aside",{"data-testid":"section-job-sidebar","aria-label":"Job details",children:(0,a.jsx)(_.JobDetailSidebar,{job:l,company:r,companyName:d,isExpired:m,resolvedURLs:s,similarJobs:i,linkContext:p})})]})}),(0,a.jsx)(k.JobDetailMobileBar,{jobId:l.id,jobSlug:l.slug,jobTitle:l.title,companyName:d,applyUrl:l.apply_url,isExpired:m,job:l})]})}
1e.s(["JobDetailView",0,C],539261);var L=e.i(972520),A=e.i(607486),T=e.i(178583),z=e.i(531278),E=e.i(270756),R=e.i(514764),P=e.i(687043),D=e.i(806908),$=e.i(285588);let B=[{id:"avatar-1",src:"/images/avatars/user-1.jpg",alt:"Job seeker"},{id:"avatar-2",src:"/images/avatars/user-2.jpg",alt:"Job seeker"},{id:"avatar-3",src:"/images/avatars/user-3.jpg",alt:"Job seeker"},{id:"avatar-4",src:"/images/avatars/user-4.jpg",alt:"Job seeker"}];function I({className:e}){return(0,a.jsxs)("div",{className:(0,D.cn)("flex items-center justify-center gap-3",e),children:[(0,a.jsx)("div",{className:"flex -space-x-2",children:B.map(e=>(0,a.jsx)(f.default,{src:e.src,alt:e.alt,width:28,height:28,className:"h-7 w-7 rounded-full object-cover ring-2 ring-white"},e.id))}),(0,a.jsxs)("span",{className:"text-sm font-medium text-brand-gray-600",children:[$.TRUST_CLAIM_PREFIX," ",(0,a.jsx)("span",{className:"font-semibold text-brand-gray-900",children:$.TRUST_CLAIM_MAGNITUDE})," ",$.TRUST_CLAIM_SUFFIX]})]})}var M=e.i(167881),U=e.i(842709),F=e.i(182534),O=e.i(364059),q=e.i(482754),J=e.i(188084);let H=[{icon:A.Building2,title:"Who's hiring.",body:"The company name, its profile and its reduced-hours track record."},{icon:T.FileText,title:"The rest of the description.",body:"Requirements, benefits, and how the schedule actually works."},{icon:R.Send,title:"The apply link.",body:"Straight through to the employer, while the role is still fresh."}];function W({label:e,value:s}){return(0,a.jsxs)("div",{className:"rounded-xl bg-white/80 p-4 shadow-sm ring-1 ring-white/80 backdrop-blur-sm",children:[(0,a.jsx)("p",{className:"text-[13px] font-medium text-brand-gray-600",children:e}),(0,a.jsx)("p",{className:"mt-1 font-display text-lg font-bold tracking-tight text-brand-gray-900 sm:text-xl",children:s})]})}function V({job:e,slug:t}){let{startCheckout:l,loadingSlug:r}=(0,F.useCheckout)(),[o,d]=(0,s.useState)(!1);(0,s.useEffect)(()=>{d((0,O.isLoggedInClient)())},[]);
1let[c,m]=(0,s.useState)(null),[x,p]=(0,s.useState)(null);(0,s.useEffect)(()=>{if(!e.inserted)return;let a=Date.parse(e.inserted);if(Number.isNaN(a))return;let s=a+60*q.PRO_EARLY_ACCESS_HOURS*6e4,t=()=>{let e=s-Date.now();if(e<=0)return m(null),!1;if(e>=36e5){let a=Math.max(1,Math.round(e/36e5));m(`${a} hour${1===a?"":"s"}`)}else{let a=Math.max(1,Math.round(e/6e4));m(`${a} minute${1===a?"":"s"}`)}return!0};if(!t())return;try{p(new Intl.DateTimeFormat(void 0,{weekday:"long",hour:"numeric",minute:"2-digit"}).format(new Date(s)))}catch{}let l=setInterval(t,6e4);return()=>clearInterval(l)},[e.inserted]);let u=(0,n.getLocationBadgeInfo)(e),f=(0,v.getSalaryTagInfo)(e),g=(0,y.formatScheduleTypeLabel)(e.schedule_type),j=(0,y.formatHoursRange)(e.hours_per_week_min,e.hours_per_week_max,!0),N=[f?{label:"Salary",value:f.text}:j?{label:"Hours",value:j}:null,g?{label:"Schedule",value:g}:null,u.label?{label:"Location",value:u.label}:null].filter(e=>null!==e),w=N.length>=3?"sm:grid-cols-3":2===N.length?"sm:grid-cols-2":"sm:grid-cols-1",k=e.language&&"en"!==e.language?(0,v.languageDisplayName)(e.language):null,_=`/job/${t}`,S=`/pro?origin=${encodeURIComponent(_)}&unlock_id=${encodeURIComponent(e.id)}`,C="Unlock with Pro",A=o?(0,q.formatProCtaLabel)(i.PRODUCT_PRO_WEEKLY):C;(0,s.useEffect)(()=>{(0,O.trackPaywallImpression)({surface:"locked_job_detail",trigger:"locked_job",job_id:e.id,logged_in:(0,O.isLoggedInClient)()})},[]);let T=(a,s)=>{if(s.metaKey||s.ctrlKey||s.shiftKey||0!==s.button)return;s.preventDefault();let t=(0,q.cadenceForSlug)(a)??void 0;if(!(0,O.isLoggedInClient)()){(0,O.trackPaywallCtaClick)({surface:"locked_job_detail",trigger:"locked_job",job_id:e.id,destination:"express_signup",logged_in:!1,cadence:t}),window.location.href=(0,J.buildExpressSignupUrl)(a,{origin:_,unlockId:e.id,surface:"locked_job_detail",trigger:"locked_job"});return}(0,O.trackPaywallCtaClick)({surface:"locked_job_detail",trigger:"locked_job",job_id:e.id,destination:"checkout",logged_in:!0,cadence:t}),l(a,{origin:_,unlockId:e.id,surface:"locked_job_detail",trigger:"locked_job"})},R=null!==r?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(z.Loader2,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Redirectingâ¦"]}):(0,a.jsxs)(a.Fragment,{children:[A,(0,a.jsx)(L.ArrowRight,{className:"h-4 w-4","aria-hidden":"true"})]});return(0,a.jsxs)("div",{"data-testid":"page-job-detail-locked","data-
1paywall-active":"true",children:[(0,a.jsxs)("section",{className:"relative overflow-hidden border-b border-border-subtle bg-gradient-to-br from-rose-100 via-pink-50/50 to-indigo-50/60 pb-10 pt-8 sm:pb-12 sm:pt-12",children:[(0,a.jsxs)("div",{className:"pointer-events-none absolute inset-0 opacity-60 sm:opacity-100",children:[(0,a.jsx)("div",{className:"absolute -right-20 -top-24 h-[420px] w-[420px] rounded-full bg-gradient-to-br from-rose-300 via-pink-200 to-fuchsia-100 opacity-70 blur-3xl"}),(0,a.jsx)("div",{className:"absolute -bottom-32 -left-24 h-[360px] w-[360px] rounded-full bg-gradient-to-tr from-indigo-200 via-violet-100 to-purple-100 opacity-60 blur-3xl"}),(0,a.jsx)("div",{className:"absolute -left-10 top-6 h-[220px] w-[220px] rounded-full bg-gradient-to-br from-amber-200 to-orange-100 opacity-50 blur-3xl"})]}),(0,a.jsxs)("div",{className:"relative mx-auto max-w-6xl px-4 sm:px-6",children:[(0,a.jsxs)("nav",{"aria-label":"Breadcrumb",className:"flex items-center gap-2 text-sm",children:[(0,a.jsx)(b.default,{href:"/jobs",className:"shrink-0 whitespace-nowrap text-brand-gray-600 transition-colors hover:text-brand-gray-900",children:"Jobs"}),(0,a.jsx)("span",{className:"shrink-0 text-brand-gray-400","aria-hidden":"true",children:"/"}),(0,a.jsx)("span",{className:"min-w-0 flex-1 truncate font-medium text-brand-gray-700",children:e.title})]}),(0,a.jsxs)("div",{className:"mt-5 flex items-start gap-4",children:[(0,a.jsx)("div",{className:"flex h-14 w-14 shrink-0 items-center justify-center rounded-xl bg-white/70 shadow-sm ring-1 ring-white/80 backdrop-blur-sm",children:(0,a.jsx)(E.Lock,{className:"h-6 w-6 text-brand-gray-400","aria-hidden":"true"})}),(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("h1",{className:"heading-1 text-brand-gray-900",children:e.title}),(0,a.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2 text-[15px] text-brand-gray-700",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-lg bg-white/70 px-2.5 py-1 font-medium ring-1 ring-white/80 backdrop-blur-sm",children:[(0,a.jsx)(E.Lock,{className:"h-3.5 w-3.5 text-brand-gray-600","aria-hidden":"true"}),"Company hidden"]}),c&&(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-lg bg-white/70 px-2.5 py-1 font-medium text-brand-gray-700 ring-1 ring-white/80 backdrop-blur-sm",children:[(0,a.jsx)("span",{className:"relative flex h-1.5 w-1.5","aria-hidden":"true",children:(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full animate-breathe rounded-full bg-brand-pink"})}),"Public in ",c]})]})]})]}),N.length>0&&(0,a.jsx)("div",{className:`mt-6 grid gap-3 ${w}`,children:N.map(e=>(0,a.jsx)(W,{label:e.label,value:e.value},e.label))})]})]}),(0,a.jsx)("section",{className:"mx-auto max-w-6xl px-4 pb-20 pt-10 sm:px-6 sm:pt-12",children:(0,a.jsxs)("div",{className:"grid gap-8 lg:grid-cols-[1fr_380px] lg:gap-14",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"font-display text-xl font-extrabold tracking-tight text-brand-gray-900",children:"About this role"}),k&&(0,a.jsxs)("p",{className:"mt-2 text-sm text-brand-gray-600",children:["Auto-translated from ",k]}),(0,a.jsxs)("div",{className:"relative mt-4",children:[e.description_excerpt?(0,a.jsx)(U.MarkdownProse,{variant:"job-page",shiftHeadings:!0,children:e.description_excerpt}):(0,a.jsx)("p",{className:"text-[15px] leading-relaxed text-brand-gray-700",children:"The full description is available to Pro members while this role is in its early-access window."}),(0,a.jsxs)("div",{"aria-hidden":"true",className:"mt-5 select-none space-y-2.5",children:[(0,a.jsx)("div",{className:"h-3.5 w-full rounded-full bg-brand-gray-200/80"}),(0,a.jsx)("div",{className:"h-3.5 w-11/12 rounded-full bg-brand-gray-200/70"}),(0,a.jsx)("div",{className:"h-3.5 w-full rounded-full bg-brand-gray-200/65"}),(0,a.jsx)("div",{className:"h-3.5 w-4/5 rounded-full bg-brand-gray-200/55"}),(0,a.jsx)("div",{className:"h-3.5 w-10/12 rounded-full bg-brand-gray-200/45"}),(0,a.jsx)("div",{className:"h-3.5 w-2/3 rounded-full bg-brand-gray-200/35"})]}),(0,a.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-32 bg-gradient-to-t from-white via-white/90 to-transparent"})]}),(0,a.jsxs)("p",{className:"mt-3 flex items-center gap-1.5 text-xs font-medium text-brand-gray-600",children:[(0,a.jsx)(E.Lock,{className:"h-3.5 w-3.5","aria-hidden":"true"}),"Rest of the description locked"]}),(0,a.jsxs)("div",{className:"mt-6 rounded-2xl border border-border-subtle bg-brand-gray-50 p-5 sm:p-6",children:[(0,a.jsx)("p",{className:"text-sm font-bold text-brand-gray-900",children:"Three things Pro reveals on this page"}),(0,a.jsx)("div",{className:"mt-4 grid gap-3",children:H.map(({icon:e,title:s,body:t})=>(0,a.jsxs)("div",{className:"flex items-start gap-3",children:[(0,a.jsx)("span",{className:"mt-0.5 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-rose-100 text-brand-pink",children:(0,a.jsx)(e,{className:"h-3.5 w-3.5","aria-hidden":"true"})}),(0,a.jsxs)("p",{className:"text-[15px] leading-relaxed text-brand-gray-700",children:[(0,a.jsx)("span",{className:"font-semibold text-brand-gray-900",children:s})," ",t]})]},s))})]}),(0,a.jsxs)("div",{className:"mt-8 border-t border-border-subtle pt-6",children:[(0,a.jsx)("p",{className:"text-sm font-bold text-brand-gray-900",children:"Why the company is hidden"}),(0,a.jsxs)("p",{className:"mt-2 max-w-lg text-sm leading-relaxed text-brand-gray-600",children:["Pro members see new roles ",q.PRO_EARLY_ACCESS_HOURS," hours before they reach the free board."," ",x?`This one goes public on ${x}.`:"This one is still inside that window."]})]})]}),(0,a.jsxs)("aside",{className:"lg:sticky lg:top-24 lg:self-start",children:[(0,a.jsxs)("div",{"data-testid":"section-locked-pro-card",className:"overflow-hidden rounded-2xl border border-border-subtle bg-white shadow-xl shadow-rose-100/40",children:[(0,a.jsxs)("div",{className:"p-6",children:[(0,a.jsxs)("div",{className:"inline-flex items-center gap-2 rounded-full bg-rose-50 px-3 py-1 text-[13px] font-semibold text-rose-700 ring-1 ring-rose-100",children:[(0,a.jsx)("span",{className:"relative flex h-1.5 w-1.5","aria-hidden":"true",children:(0,a.jsx)("span",{className:"absolute inline-flex h-full w-full animate-breathe rounded-full bg-brand-pink"})}),"Pro early access"]}),(0,a.jsx)("h2",{className:"mt-4 font-display text-2xl font-black leading-tight tracking-tight text-brand-gray-900",children:"Unlock this role now"}),(0,a.jsxs)("p",{className:"mt-2 text-[15px] leading-relaxed text-brand-gray-600",children:["See whoâs hiring, read the full description and apply â plus a"," ",q.PRO_EARLY_ACCESS_HOURS,"-hour head start on new roles."]}),(0,a.jsx)(P.ProCadenceChoice,{className:"mt-5",loadingSlug:r,onSelect:T,href:S,ctaLabel:o?void 0:C,ctaAdornment:(0,a.jsx)(L.ArrowRight,{className:"h-4 w-4","aria-hidden":"true"}),ctaTestId:"btn-unlock-locked-job"}),(0,a.jsx)("p",{className:"mt-3 text-center text-[13px] leading-snug text-brand-gray-600",children:q.PRO_GUARANTEE_LINE}),(0,a.jsxs)("div",{className:"mt-6 border-t border-border-subtle pt-5",children:[(0,a.jsx)("p",{className:"text-[13px] font-semibold text-brand-gray-700",children:"Pro also includes"}),(0,a.jsx)("ul",{className:"mt-3 grid gap-2.5",children:q.PRO_CORE_BENEFITS.filter(e=>"full_listing"!==e.id).map(e=>(0,a.jsxs)("li",{className:"flex items-start gap-2.5 text-sm leading-relaxed text-brand-gray-700",children:[(0,a.jsx)(h.Check,{className:"mt-0.5 h-4 w-4 shrink-0 text-brand-gray-500",strokeWidth:2.5,"aria-hidden":"true"}),e.short]},e.id))}),(0,a.jsx)(b.default,{href:S,className:"mt-4 inline-block text-sm font-semibold text-brand-pink underline-offset-4 hover:underline",onClick:()=>
1(0,O.trackPaywallCtaClick)({surface:"locked_job_detail",trigger:"locked_job",job_id:e.id,destination:"pro_page",logged_in:(0,O.isLoggedInClient)()}),children:"Compare plans â"})]})]}),(0,a.jsx)("div",{className:"border-t border-border-subtle bg-brand-gray-50 px-6 py-5",children:(0,a.jsx)(I,{})})]}),(0,a.jsxs)("div",{className:"mt-5 text-center",children:[(0,a.jsx)(b.default,{href:"/job-search",className:"text-sm font-medium text-brand-gray-600 underline-offset-4 hover:text-brand-gray-900 hover:underline",onClick:()=>(0,O.trackPaywallDismissed)({surface:"locked_job_detail",trigger:"locked_job",logged_in:(0,O.isLoggedInClient)()}),children:"Keep browsing free jobs â"}),(0,a.jsxs)("p",{className:"mt-1.5 text-xs text-brand-gray-600",children:["Already Pro?"," ",(0,a.jsx)(b.default,{href:`/login?redirect=${encodeURIComponent(_)}`,className:"font-medium underline underline-offset-4 hover:text-brand-gray-900",children:"Sign in"})," ","to reveal this job."]})]})]})]})}),(0,a.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50 border-t border-border-subtle bg-white/95 px-4 py-3 backdrop-blur lg:hidden",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-6xl items-center gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,a.jsx)("p",{className:"truncate text-sm font-bold text-brand-gray-900",children:`${(0,q.formatProPrice)(q.PRO_PRICING.weekly)}/week`}),(0,a.jsx)("p",{className:"truncate text-xs text-brand-gray-600",children:`or ${(0,q.formatProPrice)(q.PRO_PRICING.quarterly)} every 3 months \xb7 cancel anytime`})]}),(0,a.jsx)(M.Button,{asChild:!0,variant:"brand",className:"h-11 shrink-0 gap-2 rounded-xl px-5 shadow-md shadow-rose-200/60","data-testid":"btn-unlock-locked-job-mobile",children:(0,a.jsx)(b.default,{href:S,onClick:e=>T(i.PRODUCT_PRO_WEEKLY,e),children:R})})]})}),(0,a.jsx)("div",{className:"h-20 lg:hidden"})]})}function Y(){return(0,a.jsxs)("div",{"data-testid":"job-reveal-skeleton",className:"mx-auto max-w-6xl px-4 py-12",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)(t.Skeleton,{className:"h-14 w-14 rounded-2xl"}),(0,a.jsxs)("div",{className:"flex-1 space-y-2",children:[(0,a.jsx)(t.Skeleton,{className:"h-8 w-2/3"}),(0,a.jsx)(t.Skeleton,{className:"h-4 w-40"})]})]}),(0,a.jsxs)("div",{className:"mt-6 flex flex-wrap gap-2",children:[(0,a.jsx)(t.Skeleton,{className:"h-8 w-28 rounded-full"}),(0,a.jsx)(t.Skeleton,{className:"h-8 w-24 rounded-full"}),(0,a.jsx)(t.Skeleton,{className:"h-8 w-32 rounded-full"})]}),(0,a.jsxs)("div",{className:"mt-10 grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,a.jsxs)("div",{className:"space-y-3 lg:col-span-2",children:[(0,a.jsx)(t.Skeleton,{className:"h-4 w-full"}),(0,a.jsx)(t.Skeleton,{className:"h-4 w-11/12"}),(0,a.jsx)(t.Skeleton,{className:"h-4 w-5/6"}),(0,a.jsx)(t.Skeleton,{className:"h-4 w-full"}),(0,a.jsx)(t.Skeleton,{className:"h-4 w-3/4"}),(0,a.jsx)(t.Skeleton,{className:"mt-4 h-64 w-full rounded-2xl"})]}),(0,a.jsx)(t.Skeleton,{className:"h-80 w-full rounded-2xl"})]})]})}e.s(["LockedJobGate",0,function({lockedJob:e,slug:t}){let{loading:n,loggedIn:o,has:d}=(0,l.useEntitlements)(),c=d(i.SLUG_EARLY_ACCESS),[m,x]=(0,s.use
1State)(null),[h,p]=(0,s.useState)(!0);return((0,s.useEffect)(()=>{if(!c)return;let e=!1;return p(!0),(0,r.fetchJobUncached)(t).then(a=>{e||a.job.locked||x(a)}).catch(()=>{}).finally(()=>{e||p(!1)}),()=>{e=!0}},[c,t]),m)?(0,a.jsx)(C,{data:m,resolvedURLs:{}}):o&&(n||c&&h)?(0,a.jsx)(Y,{}):(0,a.jsx)(V,{job:e,slug:t})}],592250)}]); 2 3//# chunkId=1d763e2e-da9c-5059-961e-ea272a54f6bc
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.