PageSourceSearch

https://4dayweek.io/_next/static/chunks/41ho7_dj_fiyq.js?dpl=19331a6d-1790690377

js 4dayweek.io collected 2026-10-02 06:14:39 UTC 81,533 bytes, 3 lines download raw bytes

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||"01a0ed7e-984b-0000-d32a-9ad2941af02f";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="91fd30ba-66ec-5e58-8678-44b94a5a9150")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,700565,e=>{"use strict";var s=e.i(843476),t=e.i(607486),a=e.i(269638),r=e.i(531278),l=e.i(263488),n=e.i(16715),i=e.i(618566),o=e.i(271645),d=e.i(167881),c=e.i(630374);e.i(558486);var m=e.i(216642),h=e.i(611995);e.s(["ClaimCompanyButton",0,function({companyId:e,companySlug:u,companyName:x,companyUrl:p,className:g,variant:f="default",wrapperClassName:b}){let y="subtle"===f,j=b??"border-t p-4 text-center",w=(0,i.useRouter)(),[v,N]=(0,o.useState)({status:"loading"}),[_,k]=(0,o.useState)(!1),[C,S]=(0,o.useState)(!1),[$,T]=(0,o.useState)(!1),[A,L]=(0,o.useState)(null),[B,F]=(0,o.useState)(!1),[z,R]=(0,o.useState)(!1),[E,P]=(0,o.useState)(null);(0,o.useEffect)(()=>{!async function(){try{let{user:s}=await (0,h.getCurrentUser)();if(!s)return void N({status:"not_logged_in"});let t=await (0,m.checkClaimEligibility)(e);t.eligible?N({status:"eligible",companyName:t.company_name||x}):N({status:"not_eligible",reason:t.reason||"unknown",message:t.message||"You cannot claim this company",redirect:t.redirect})}catch{N({status:"not_logged_in"})}}()},[e,x]);let D=async()=>{S(!0),P(null);try{let s=await (0,m.claimCompany)(e);s.success&&(s.verification_required?L({email:s.email,companyName:s.company_name}):(T(!0),setTimeout(()=>{w.push(s.redirect||"/employer/company/edit")},1500)))}catch(e){P(e instanceof Error?e.message:"Failed to claim company")}finally{S(!1)}},I=async()=>{F(!0);try{await (0,m.resendClaimVerification)(e),R(!0),setTimeout(()=>R(!1),6e4)}catch(e){P(e instanceof Error?e.message:"Failed to resend verification")}finally{F(!1)}};if("loading"===v.status)return null;if("not_eligible"===v.status&&"already_owns"===v.reason&&v.redirect){let e=(0,s.jsxs)(d.Button,{variant:"outline",className:g,onClick:()=>w.push(v.redirect),children:[(0,s.jsx)(t.Building2,{className:"mr-2 h-4 w-4"}),"Manage Company"]});return y?(0,s.jsx)("div",{className:j,children:e}):e}let M=()=>{"eligible"===v.status?k(!0):w.push(`/claim/${u}`)};return(0,s.jsxs)(s.Fragment,{children:[y?(0,s.jsx)("div",{className:j,children:(0,s.jsxs)("button",{type:"button",className:`inline-flex items-center gap-1 text-sm text-zinc-500 transition-colors hover:text-zinc-700 hover:underline ${g||""}`,onClick:M,children:[(0,s.jsx)(t.Building2,{className:"h-4 w-4"}),"Work here? Claim this profile"]})}):(0,s.jsxs)(d.Button,{variant:"default",className:g,onClick:M,children:[(0,s.jsx)(t.Building2,{className:"mr-2 h-4 w-4"}),"Claim this profile"]}),(0,s.jsx)(c.Dialog,{open:_,onOpenChange:k,children:(0,s.jsx)(c.DialogContent,{"data-ph-mask":!0,children:$?(0,s.jsxs)(c.DialogHeader,{children:[(0,s.jsx)("div",{className:"mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-success-muted",children:(0,s.jsx)(a.CheckCircle,{className:"h-6 w-6 text-success"})}),(0,s.jsx)(c.DialogTitle,{className:"text-center",children:"Successfully Claimed!"}),(0,s.jsx)(c.DialogDescription,{className:"text-center",children:`You now have access to manage ${"eligible"===v.status?v.companyName:x}'s profile and job postings. Redirecting to your dashboard...`})]}):A?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.DialogHeader,{children:[(0,s.jsx)("div",{className:"mx-auto mb-4 flex h-12 w-12 items-center justify-center rounded-full bg-info-muted",children:(0,s.jsx)(l.Mail,{className:"h-6 w-6 text-info"})}),(0,s.jsx)(c.DialogTitle,{className:"text-center",children:"Check Your Email"}),(0,s.jsxs)(c.DialogDescription,{className:"text-center",children:["We've sent a verification link to"," ",(0,s.jsx)("strong",{children:A.email})]})]}),(0,s.jsxs)("div",{className:"space-y-4",children:[(0,s.jsxs)("p",{className:"text-center text-sm text-muted-foreground",children:["Click the link in your email to verify your claim for"," ",(0,s.jsx)("strong",{children:A.companyName})," and access the employer dashboard."]}),E&&(0,s.jsx)("div",{className:"rounded-md bg-destructive/10 p-3 text-sm text-destructive",children:E}),(0,s.jsxs)("div",{className:"flex flex-col items-center gap-3",children:[(0,s.jsx)("p",{className:"text-sm text-muted-foreground",children:"Didn't receive the email?"}),(0,s.jsx)(d.Button,{variant:"outline",onClick:I,disabled:B||z,children:B?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.RefreshCw,{className:"mr-2 h-4 w-4 animate-spin"}),(0,s.jsx)("span",{children:"Sending..."})]}):z?"Email Sent!":(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(n.RefreshCw,{className:"mr-2 h-4 w-4"}),(0,s.jsx)("span",{children:"Resend Email"})]})})]}),(0,s.jsx)("p",{className:"text-center text-xs text-muted-foreground",children:"The link expires in 24 hours. Check your spam folder if you don't see it."})]}),(0,s.jsx)(c.DialogFooter,{children:(0,s.jsx)(d.Button,{variant:"outline",onClick:()=>k(!1),children:"Close"})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(c.DialogHeader,{children:[(0,s.jsx)(c.DialogTitle,{children:`Claim ${"eligible"===v.status?v.companyName:x}`}),(0,s.jsx)(c.DialogDescription,{children:"You're about to claim ownership of this company profile. This will give you access to:"})]}),(0,s.jsxs)("ul",{className:"my-4 space-y-2 text-sm",children:[(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.CheckCircle,{className:"mt-0.5 h-4 w-4 text-success shrink-0"}),(0,s.jsx)("span",{children:"Edit the company profile, description, and benefits"})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.CheckCircle,{className:"mt-0.5 h-4 w-4 text-success shrink-0"}),(0,s.jsx)("span",{children:"Post, edit, and manage job listings"})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.CheckCircle,{className:"mt-0.5 h-4 w-4 text-success shrink-0"}),(0,s.jsx)("span",{children:"View and manage job applications"})]}),(0,s.jsxs)("li",{className:"flex items-start gap-2",children:[(0,s.jsx)(a.CheckCircle,{className:"mt-0.5 h-4 w-4 text-success shrink-0"}),(0,s.jsx)("span",{children:"Access analytics and insights"})]})]}),E&&(0,s.jsx)("div",{className:"rounded-md bg-destructive/10 p-3 text-sm text-destructive",children:E}),(0,s.jsxs)(c.DialogFooter,{children:[(0,s.jsx)(d.Button,{variant:"outline",onClick:()=>k(!1),disabled:C,children:"Cancel"}),(0,s.jsx)(d.Button,{onClick:D,disabled:C,children:C?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(r.Loa
1der2,{className:"mr-2 h-4 w-4 animate-spin"}),(0,s.jsx)("span",{children:"Claiming..."})]}):"Confirm & Claim"})]})]})})})]})}])},124295,e=>{"use strict";var s=e.i(843476),t=e.i(63727),a=e.i(489853),r=e.i(643531),l=e.i(664659),n=e.i(346897),i=e.i(649582);let o=(0,e.i(475254).default)("wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);var d=e.i(37727),c=e.i(618566),m=e.i(271645),h=e.i(144226),u=e.i(753751),x=e.i(607486),p=e.i(555436);e.i(64107);var g=e.i(806908);function f({industries:e,basePath:t,className:a,size:r="default",embedded:l=!1}){let n=(0,c.useRouter)(),i=(0,c.useSearchParams)(),[o,h]=(0,m.useState)(""),[b,y]=(0,m.useState)(!1),j=(0,m.useRef)(null);(0,m.useEffect)(()=>{let e=e=>{j.current&&!j.current.contains(e.target)&&y(!1)},s=e=>{"Escape"===e.key&&y(!1)};return b&&(document.addEventListener("mousedown",e),document.addEventListener("keydown",s)),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",s)}},[b]);let w=i.get("category"),v=i.get("q"),N=(0,m.useMemo)(()=>{if(!o)return e.slice(0,8);let s=o.toLowerCase();return e.filter(e=>e.label.toLowerCase().includes(s)||e.value.toLowerCase().includes(s)).slice(0,8)},[o,e]),_=(0,m.useCallback)((e,s)=>{let a=new URLSearchParams(i.toString());switch(e){case"category":a.set("category",s);break;case"search":a.set("q",s)}n.push(`${t}?${a.toString()}`),h(""),y(!1)},[i,n,t]),k=(0,m.useCallback)(e=>{let s=new URLSearchParams(i.toString());s.delete(e),n.push(`${t}?${s.toString()}`)},[i,n,t]),C=w||v;return(0,s.jsxs)("div",{ref:j,className:(0,g.cn)(!l&&"space-y-3",a),children:[(0,s.jsxs)(u.Command,{className:(0,g.cn)("relative overflow-visible [&_[data-slot=command-input-wrapper]]:border-0",l?"border-0 bg-transparent shadow-none ring-0 [&_[data-slot=command-input-wrapper]]:rounded-l-2xl sm:[&_[data-slot=command-input-wrapper]]:rounded-l-full":"rounded-xl border-0 bg-white shadow-lg ring-1 ring-black/5","lg"===r?"[&_[data-slot=command-input-wrapper]]:h-14 [&_[data-slot=command-input]]:text-base [&_[data-slot=command-input-wrapper]_svg]:size-5":"[&_[data-slot=command-input-wrapper]]:h-12"),shouldFilter:!1,children:[(0,s.jsx)(u.CommandInput,{placeholder:"Search companies by industry or name...",value:o,onValueChange:h,onFocus:()=>y(!0)}),b&&(0,s.jsxs)(u.CommandList,{className:"absolute left-0 right-0 top-full z-50 mt-2 rounded-xl border-0 bg-white shadow-xl ring-1 ring-black/5",children:[o&&(0,s.jsx)(u.CommandGroup,{children:(0,s.jsxs)(u.CommandItem,{value:`search-${o}`,onSelect:()=>_("search",o),className:"ph-no-capture gap-2",children:[(0,s.jsx)(p.Search,{className:"h-4 w-4 text-muted-foreground"}),(0,s.jsx)("span",{children:`Search for “${o}”`})]})}),N.length>0&&(0,s.jsx)(u.CommandGroup,{heading:"Industries",children:N.map(e=>(0,s.jsxs)(u.CommandItem,{value:`industry-${e.value}`,onSelect:()=>_("category",e.value),className:"gap-2",children:[(0,s.jsx)(x.Building2,{className:"h-4 w-4 text-info"}),(0,s.jsx)("span",{children:e.label})]},`industry-${e.value}`))})]})]}),!l&&C&&(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[w&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-white py-1 pl-2.5 pr-1.5 text-sm font-medium text-foreground shadow-sm ring-1 ring-inset ring-info/20",children:[(0,s.jsx)(x.Building2,{className:"h-3.5 w-3.5 text-info"}),(0,s.jsx)("span",{children:e.find(e=>e.value===w)?.label||w}),(0,s.jsx)("button",{type:"button",onClick:()=>k("category"),className:"ml-0.5 rounded-full p-0.5 hover:bg-info/10 transition-colors",children:(0,s.jsx)(d.X,{className:"h-3.5 w-3.5 text-muted-foreground hover:text-foreground"})})]}),v&&(0,s.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-white py-1 pl-2.5 pr-1.5 text-sm font-medium text-foreground shadow-sm ring-1 ring-inset ring-black/10",children:[(0,s.jsx)(p.Search,{className:"h-3.5 w-3.5 text-muted-foreground"}),(0,s.jsx)("span",{children:`“${v}”`}),(0,s.jsx)("button",{type:"button",onClick:()=>k("q"),className:"ml-0.5 rounded-full p-0.5 hover:bg-muted transition-colors",children:(0,s.jsx)(d.X,{className:"h-3.5 w-3.5 text-muted-foreground hover:text-foreground"})})]}),w&&v&&(0,s.jsx)("button",{type:"button",onClick:()=>n.push(t),className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"Clear all"})]})]})}var b=e.i(59377),y=e.i(239134),j=e.i(610088),w=e.i(71829),v=e.i(827295),N=e.i(248256),_=e.i(430272),k=e.i(890538),C=e.i(167881),S=e.i(852917);function $({count:e}){return 0===e?null:(0,s.jsx)("span",{className:"ml-1 inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-emerald-100 px-1.5 text-xs font-semibold text-emerald-700",children:e})}let T=(0,m.memo)(function({open:e,onOpenChange:r,filters:l,scheduleTypes:i,remoteLevels:o,countries:d,onToggleSchedule:c,onToggleRemote:m,onToggleCountry:h,onToggleHiringNow:u,onSetSc
1hedules:x,onSetCountries:p,onClearAll:f}){let b=l.schedule_types?.length??0,y=[...l.remote_levels??[],...l.hires_worldwide?["worldwide"]:[]],j=y.length,w=l.countries??[],v=w.length,T=!!l.has_jobs,A=b+j+v+ +!!T;return(0,s.jsx)(S.Sheet,{open:e,onOpenChange:r,children:(0,s.jsxs)(S.SheetContent,{side:"bottom","data-testid":"company-all-filters-sheet",className:"max-h-[85vh] rounded-t-2xl pb-0",children:[(0,s.jsx)(S.SheetHeader,{className:"border-b",children:(0,s.jsx)(S.SheetTitle,{children:"Filters"})}),(0,s.jsxs)("div",{className:"flex-1 overflow-y-auto px-4",children:[(0,s.jsxs)("button",{type:"button",role:"switch","aria-checked":T,onClick:u,"data-testid":"company-filters-hiring-now",className:"flex w-full items-center justify-between gap-2 border-b py-4 text-left text-sm font-medium",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)(t.Briefcase,{className:"h-4 w-4 text-brand-gray-500"}),"Only companies hiring now"]}),(0,s.jsx)("span",{className:(0,g.cn)("flex h-6 w-10 shrink-0 items-center rounded-full p-0.5 transition-colors",T?"bg-emerald-600":"bg-brand-gray-300"),children:(0,s.jsx)("span",{className:(0,g.cn)("h-5 w-5 rounded-full bg-white shadow-sm transition-transform",T&&"translate-x-4")})})]}),(0,s.jsxs)(k.Accordion,{type:"multiple",className:"w-full",defaultValue:["schedule"],children:[(0,s.jsxs)(k.AccordionItem,{value:"schedule",children:[(0,s.jsx)(k.AccordionTrigger,{children:(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)(a.CalendarDays,{className:"h-4 w-4 text-brand-gray-500"}),(0,s.jsx)("span",{children:"Schedule"}),(0,s.jsx)($,{count:b})]})}),(0,s.jsx)(k.AccordionContent,{children:(0,s.jsx)(_.FilterOptionList,{options:i,selected:l.schedule_types??[],onToggle:c,onSetMany:x,searchable:!0,label:"Schedule",autoFocusSearch:!1,unbounded:!0})})]}),(0,s.jsxs)(k.AccordionItem,{value:"remote",children:[(0,s.jsx)(k.AccordionTrigger,{children:(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)(N.Globe,{className:"h-4 w-4 text-brand-gray-500"}),(0,s.jsx)("span",{children:"Remote"}),(0,s.jsx)($,{count:j})]})}),(0,s.jsx)(k.AccordionContent,{children:(0,s.jsx)(_.FilterOptionList,{options:o,selected:y,onToggle:m,label:"Remote",unbounded:!0})})]}),(0,s.jsxs)(k.AccordionItem,{value:"country",className:"border-b-0",children:[(0,s.jsx)(k.AccordionTrigger,{children:(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)(n.MapPin,{className:"h-4 w-4 text-brand-gray-500"}),(0,s.jsx)("span",{children:"Country"}),(0,s.jsx)($,{count:v})]})}),(0,s.jsx)(k.AccordionContent,{children:(0,s.jsx)(_.FilterOptionList,{options:d,selected:w,onToggle:h,onSetMany:p,searchable:!0,label:"Country",autoFocusSearch:!1,unbounded:!0})})]})]},e?"open":"closed")]}),(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3 border-t bg-background/95 px-4 py-4 backdrop-blur",children:[(0,s.jsx)("button",{type:"button",onClick:f,disabled:0===A,"data-testid":"company-all-filters-clear",className:(0,g.cn)("text-sm font-medium transition-colors",0===A?"cursor-not-allowed text-brand-gray-400":"text-rose-700 hover:text-rose-800"),children:"Clear all"}),(0,s.jsx)(C.Button,{type:"button",onClick:()=>r(!1),"data-testid":"company-all-filters-done",className:"min-h-11 px-6",children:"Done"})]})]})})}),A=w.SCHEDULE_TYPES.map(e=>({value:e.value,label:e.label})),L=[{value:"fully-remote",label:"Fully Remote"},{value:"worldwide",label:"Work from anywhere"},{value:"hybrid",label:"Hybrid"},{value:"onsite",label:"Onsite"}],B=[{value:"United States",label:"United States"},{value:"United Kingdom",label:"United Kingdom"},{value:"Europe",label:"Europe"},{value:"Canada",label:"Canada"},{value:"Australia",label:"Australia"},{value:"Germany",label:"Germany"},{value:"Netherlands",label:"Netherlands"},{value:"France",label:"France"},{value:"Ireland",label:"Ireland"},{value:"Spain",label:"Spain"},{value:"Sweden",label:"Sweden"}],F="border-blue-200/60 shadow-blue-950/5 text-blue-950/80 hover:border-emerald-300 hover:bg-emerald-50 hover:shadow-md";e.s(["CompanyFilters",0,function({filters:e,onFiltersChange:x,className:p,showSearch:w=!1,basePath:N="/company-search"}){let{industries:_,isLoading:k}=(0,j.useConfig)(),C=(0,c.usePathname)(),S=(0,c.useSearchParams)(),$=(0,y.useIsMobile)(),[z,R]=(0,m.useState)(!1),[E,P]=(0,m.useState)(!1),D=(0,m.useCallback)(s=>
1{let t={...e,...s};x&&x(t);let a=new URLSearchParams(S.toString());for(let[e,t]of Object.entries(s))null==t||""===t||Array.isArray(t)&&0===t.length?a.delete(e):Array.isArray(t)?a.set(e,t.join(",")):a.set(e,String(t));(0,v.shallowNavigate)(`?${a.toString()}`)},[e,x,S]),I=(0,m.useCallback)((s,t)=>{let a=e[s]||[];D({[s]:a.includes(t)?a.filter(e=>e!==t):[...a,t]})},[e,D]),M=(0,m.useCallback)(s=>{if("worldwide"===s)return void D({hires_worldwide:!e.hires_worldwide||void 0});let t=e.remote_levels||[];D({remote_levels:t.includes(s)?t.filter(e=>e!==s):[...t,s]})},[e.hires_worldwide,e.remote_levels,D]),U=(s,t)=>{let a=e[s];Array.isArray(a)&&t?D({[s]:a.filter(e=>e!==t)}):D({[s]:void 0})},O=e=>{let s=new URLSearchParams(S.toString());s.delete(e),(0,v.shallowNavigate)(`${N}?${s.toString()}`)},H=e.countries||[],G=0===H.length?"Any country":1===H.length?H[0]:`${H.length} countries`,W=S.get("category"),q=S.get("q"),V=[];if(q&&V.push({type:"q",value:q,label:`"${q}"`,colorClass:"bg-brand-gray-100 text-brand-gray-700 ring-1 ring-border"}),W){let e=_.find(e=>e.value===W);V.push({type:"category",value:W,label:e?.label||W,colorClass:"bg-rose-50 text-rose-700 ring-1 ring-rose-100"})}for(let s of e.schedule_types||[]){let e=A.find(e=>e.value===s);e&&V.push({type:"schedule_types",value:s,label:e.label,colorClass:"bg-rose-50 text-rose-700 ring-1 ring-rose-100"})}for(let s of e.remote_levels||[]){let e=L.find(e=>e.value===s);e&&V.push({type:"remote_levels",value:s,label:e.label,colorClass:"bg-indigo-50 text-indigo-700 ring-1 ring-indigo-100"})}for(let s of(e.hires_worldwide&&V.push({type:"remote_levels",value:"worldwide",label:"Work from anywhere",colorClass:"bg-indigo-50 text-indigo-700 ring-1 ring-indigo-100"}),H)){let e=B.find(e=>e.value===s);V.push({type:"countries",value:s,label:e?.label||s,colorClass:"bg-emerald-50 text-emerald-700 ring-1 ring-emerald-100"})}let J=(0,s.jsxs)(u.Command,{children:[(0,s.jsx)(u.CommandInput,{placeholder:"Search countries..."}),(0,s.jsxs)(u.CommandList,{className:"max-h-60",children:[(0,s.jsx)(u.CommandEmpty,{children:"No countries found"}),(0,s.jsx)(u.CommandGroup,{children:B.map(e=>{let t=H.includes(e.value);return(0,s.jsxs)(u.CommandItem,{value:e.value,onSelect:()=>I("countries",e.value),className:"gap-2",children:[(0,s.jsx)("div",{className:(0,g.cn)("flex h-4 w-4 shrink-0 items-center justify-center rounded border",t?"border-emerald-700 bg-emerald-700":"border-border-strong bg-white"),children:t&&(0,s.jsx)(r.Check,{className:"h-3 w-3 text-white",strokeWidth:3})}),(0,s.jsx)("span",{className:"flex-1",children:e.label})]},e.value)})})]})]}),Y=(0,s.jsxs)("button",{type:"button",onClick:()=>R(!z),className:(0,g.cn)("inline-flex h-full w-full items-center gap-2 px-4 text-sm transition-colors",H.length>0?"text-blue-950/80":"text-brand-gray-600"),children:[(0,s.jsx)(n.MapPin,{className:"h-4 w-4 shrink-0 text-brand-gray-600"}),(0,s.jsx)("span",{className:"truncate",children:G}),(0,s.jsx)(l.ChevronDown,{className:(0,g.cn)("ml-auto h-4 w-4 shrink-0 text-brand-gray-600 transition-transform",z&&"rotate-180")})]}),K=(e.schedule_types?.length??0)+(e.remote_levels?.length??0)+ +!!e.hires_worldwide+H.length+ +!!e.has_jobs;return(0,s.jsxs)("div",{className:(0,g.cn)(p),role:"search","aria-label":"Company filters",children:[w&&(0,s.jsxs)("div",{className:"mx-auto flex max-w-2xl items-stretch rounded-2xl border border-blue-200/60 bg-white shadow-lg shadow-blue-950/8 sm:rounded-full [&_input]:text-blue-950/80",children:[(0,s.jsx)("div",{className:"min-w-0 flex-1",children:k?(0,s.jsx)("div",{className:"flex h-12 items-center px-4",children:(0,s.jsx)("div",{className:"h-5 w-48 animate-pulse rounded bg-blue-100/50"})}):(0,s.jsx)(f,{industries:_,basePath:N,embedded:!0})}),(0,s.jsx)("div",{className:"hidden w-px self-center bg-blue-200/40 sm:block",style:{height:"32px"}}),(0,s.jsx)("div",{className:"hidden w-1/3 shrink-0 sm:flex sm:items-stretch",children:$?Y:(0,s.jsxs)(b.Popover,{open:z,onOpenChange:R,children:[(0,s.jsx)(b.PopoverTrigger,{asChild:!0,children:Y}),(0,s.jsx)(b.PopoverContent,{align:"end",className:"w-72 p-0",children:J})]})})]}),(0,s.jsxs)("div",{className:"mt-5 flex flex-wrap items-center justify-center gap-2",children:[(0,s.jsxs)("div",{className:"hidden flex-wrap items-center justify-center gap-2 sm:flex",children:[(0,s.jsx)(h.FilterPillButton,{label:"Schedule",icon:a.CalendarDays,options:A,selected:e.schedule_types||[],onToggle:e=>I("schedule_types",e),className:(0,g.cn)("flex",F)}),(0,s.jsx)(h.FilterPillButton,{label:"Remote",icon:o,options:L,selected:[...e.remote_levels||[],...e.hires_worldwide?["worldwide"]:[]],onToggle:M,className:(0,g.cn)("flex",F)}),(0,s.jsxs)("button",{type:"button",onClick:()=>D({has_jobs:!e.has_jobs}),className:(0,g.cn)("inline-flex items-center gap-1.5 rounded-full border px-3 py-2 text-sm font-medium shadow-sm transition-all",e.has_jobs?"border-emerald-300 bg-emerald-50 text-emerald-700 hover:bg-emerald-100":(0,g.cn)("bg-white",F)),children:[(0,s.jsx)(t.Briefcase,{className:"h-3.5 w-3.5 opacity-60"}),"Hiring now"]})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>P(!0),"data-testid":"company-filters-open",className:(0,g.cn)("inline-flex min-h-11 items-center gap-1.5 rounded-full border bg-white px-4 py-2 text-sm font-medium shadow-sm transition-all sm:hidden",F),children:[(0,s.jsx)(i.SlidersHorizontal,{className:"h-4 w-4 opacity-70"}),(0,s.jsx)("span",{children:"Filters"}),K>0&&(0,s.jsx)("span",{className:"ml-0.5 inline-flex h-5 min-w-5 items-center justify-center rounded-full bg-emerald-100 px-1.5 text-xs font-semibold text-emerald-700",children:K})]})]}),V.length>0&&(0,s.jsxs)("div",{className:"mt-3 flex flex-wrap items-center justify-center gap-2",children:[V.map(e=>(0,s.jsxs)("span",{className:(0,g.cn)("inline-flex items-center gap-1.5 rounded-full py-1.5 pl-3 pr-2 text-sm font-medium",e.colorClass),children:[(0,s.jsx)("span",{children:e.label}),(0,s.jsx)("button",{type:"button",onClick:()=>((e,s)=>{switch(e){case"q":O("q");break;case"category":O("category");break;case"schedule_types":U("schedule_types",s);break;case"remote_levels":"worldwide"===s?D({hires_worldwide:void 0}):U("remote_levels",s);break;case"countries":U("countries",s)}})(e.type,e.value),className:"rounded-full p-1 transition-colors hover:bg-black/10","aria-label":`Remove ${e.label} filter`,children:(0,s.jsx)(d.X,{className:"h-3.5 w-3.5"})})]},`${e.type}-${e.value}`)),V.length>=2&&(0,s.jsx)("button",{type:"button",onClick:()=>{x&&x({}),(0,v.shallowNavigate)(C)},className:"text-sm font-medium text-brand-gray-600 transition-colors hover:text-brand-gray-700","aria-label":"Clear all filters",children:"Clear all"})]}),(0,s.jsx)(T,{open:E,onOpenChange:P,filters:e,scheduleTypes:A,remoteLevels:L,countries:B,onToggleSchedule:e=>I("schedule_types",e),onToggleRemote:M,onToggleCountry:e=>I("countries",e),onToggleHiringNow:()=>D({has_jobs:!e.has_jobs}),onSetSchedules:e=>D({schedule_types:e}),onSetCountries:e=>D({countries:e}),onClearAll:()=>D({schedule_types:[],remote_levels:[],hires_worldwide:void 0,countries:[],has_jobs:void 0})})]})}],124295)},87515,e=>{"use strict";var s=e.i(843476),t=e.i(972520),a=e.i(63727),r=e.i(503116),l=e.i(248256),n=e.i(346897),i=e.i(664030),o=e.i(761911),d=e.i(657688),c=e.i(522016),m=e.i(271645);e.i(972396);var h=e.i(351314),u=e.i(114160);e.i(64107);var x=e.i(806908),p=e.i(134629),g=e.i(645720);let f=[{from:"from-rose-400",to:"to-pink-500"},{from:"from-indigo-400",to:"to-violet-500"},{from:"from-emerald-400",to:"to-teal-500"},{from:"from-amber-400",to:"to-orange-500"},{from:"from-violet-400",to:"to-purple-500"},{from:"from-teal-400",to:"to-cyan-500"}],b=[{from:"from-rose-100",to:"to-pink-200"},{from:"from-indigo-100",to:"to-violet-200"},{from:"from-emerald-100",to:"to-teal-200"},{from:"from-amber-100",to:"to-orange-200"},{from:"from-violet-100",to:"to-purple-200"},{from:"from-sky-100",to:"to-blue-200"},{from:"from-teal-100",to:"to-cyan-200"},{from:"from-slate-100",to:"to-zinc-200"}
1];function y(e){let s=0;for(let t=0;t<e.length;t++)s=e.charCodeAt(t)+((s<<5)-s);return b[Math.abs(s)%b.length]}function j(e){return e.split(/\s+/).slice(0,2).map(e=>e[0]).join("").toUpperCase()}function w(e){switch(e){case"fully-remote":return"Fully Remote";case"hybrid":return"Hybrid";case"onsite":return"Onsite";default:return e}}function v({company:e,size:t}){let[a,r]=(0,m.useState)(!1),l=function(e){let s=0;for(let t=0;t<e.length;t++)s=e.charCodeAt(t)+((s<<5)-s);return f[Math.abs(s)%f.length]}(e.name)??f[0],n="lg"===t?"h-14 w-14":"h-12 w-12",i="lg"===t?"rounded-xl":"rounded-lg";return e.logo_url&&!a?(0,s.jsx)("div",{className:(0,x.cn)("relative shrink-0 overflow-hidden ring-1 ring-border-subtle",n,i),children:(0,s.jsx)(d.default,{src:e.logo_url,alt:`${e.name} logo`,fill:!0,className:"object-contain",sizes:`${"lg"===t?56:48}px`,onError:()=>r(!0)})}):(0,s.jsx)("div",{className:(0,x.cn)("flex shrink-0 items-center justify-center bg-gradient-to-br font-semibold text-white",n,i,"lg"===t?"text-base":"text-sm",l.from,l.to),children:j(e.name)})}function N({score:e,className:t}){if(!e||e<=0)return null;let a=(0,g.getWorkLifeScoreInfo)(e);return a?(0,s.jsx)(h.BaseTag,{color:a.tagColor,size:"sm",className:(0,x.cn)("tabular-nums",t),testId:"score-badge",children:`${e} \xb7 ${a.label}`}):null}function _({company:e}){let t=e.awards??[],a=t[0];if(!a)return null;if(1===t.length)return(0,s.jsx)(u.AwardChip,{award:a,icon:(0,s.jsx)(i.Trophy,{className:"h-3 w-3","aria-hidden":"true"})});let r=(0,p.getAwardPresentation)(a.slug);return(0,s.jsx)(u.AwardTooltip,{lines:t.map(p.formatAwardLabel),children:(0,s.jsxs)("span",{className:(0,x.cn)("inline-flex items-center gap-1 whitespace-nowrap rounded-full px-2 py-1 text-xs font-medium",r.bg,r.text),children:[(0,s.jsx)(i.Trophy,{className:"h-3 w-3","aria-hidden":"true"}),(0,s.jsx)("span",{children:`${t.length} awards`})]})})}function k({company:e}){let[t,a]=(0,m.useState)(!1),r=y(e.name)??b[0];return(0,s.jsxs)("div",{className:(0,x.cn)("relative flex h-full w-full items-center justify-center bg-gradient-to-br",r.from,r.to),"data-testid":"gradient-placeholder",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/30 via-transparent to-black/5"}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-2",children:[e.logo_url&&!t?(0,s.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-xl bg-white/80 p-2 shadow-sm backdrop-blur-sm",children:(0,s.jsx)(d.default,{src:e.logo_url,alt:`${e.name} logo`,width:40,height:40,className:"object-contain rounded-md",onError:()=>a(!0)})}):(0,s.jsx)("span",{className:"text-2xl font-semibold text-white/70",children:j(e.name)}),e.country&&(0,s.jsx)("span",{className:"rounded-full bg-white/60 px-2 py-0.5 text-xs font-medium text-brand-gray-700 backdrop-blur-sm",children:e.country})]})]})}function C({company:e}){let[t,a]=(0,m.useState)(!1),r=y(e.name)??b[0];return t?(0,s.jsx)(k,{company:e}):(0,s.jsxs)("div",{className:"relative flex h-full w-full items-center justify-center",children:[(0,s.jsx)(d.default,{src:e.social_image_url,alt:"",fill:!0,className:"object-cover blur-[0px] brightness-70",sizes:"(min-width: 1024px) 224px, 192px",onError:()=>a(!0)}),(0,s.jsx)("div",{className:(0,x.cn)("absolute inset-0 bg-gradient-to-br opacity-55",r.from,r.to)}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/30 via-transparent to-black/15"}),(0,s.jsxs)("div",{className:"relative z-10 flex flex-col items-center gap-2",children:[e.logo_url?(0,s.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-xl bg-white/80 p-2 shadow-sm backdrop-blur-sm",children:(0,s.jsx)(d.default,{src:e.logo_url,alt:`${e.name} logo`,width:40,height:40,className:"object-contain rounded-md"})}):(0,s.jsx)("span",{className:"text-2xl font-semibold text-white/70",children:j(e.name)}),e.country&&(0,s.jsx)("span",{className:"rounded-full bg-white/60 px-2 py-0.5 text-xs font-medium text-brand-gray-700 backdrop-blur-sm",children:e.country})]})]})}function S({company:e,className:a}){var n;let i=void 0!==e.job_count&&e.job_count>0;return(0,s.jsxs)(c.default,{href:`/company/${e.slug}`,prefetch:!1,className:(0,x.cn)("group relative flex overflow-hidden rounded-2xl bg-white border border-brand-gray-200","transition-all duration-200 hover:-translate-y-
1px","hover:shadow-lg hover:shadow-rose-100/30",a),children:[(0,s.jsx)("div",{className:"pointer-events-none absolute -right-8 -top-8 h-32 w-32 rounded-full bg-gradient-to-br from-rose-200 to-pink-200 opacity-0 blur-2xl transition-opacity group-hover:opacity-30"}),(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 flex-col p-5 sm:p-6",children:[(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)(v,{company:e,size:"lg"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,s.jsx)("h3",{className:"font-display text-xl font-bold text-brand-gray-900 transition-colors group-hover:text-rose-700",children:e.name}),(0,s.jsx)(N,{score:e.work_life_score})]}),(e.short_description||e.description)&&(0,s.jsx)("p",{className:"mt-1 text-base leading-relaxed text-brand-gray-600 line-clamp-2",children:e.short_description||e.description}),(0,s.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-1.5",children:[(0,s.jsx)(h.ScheduleTagFromType,{scheduleType:e.schedule_type,label:e.schedule_type_short_description,vacation:e.vacation,hideAward:!0,size:"sm"}),(0,s.jsx)(_,{company:e}),e.remote_level&&(0,s.jsx)(h.MetadataTag,{icon:(0,s.jsx)(l.Globe,{className:"h-3 w-3"}),children:w(e.remote_level)}),e.hires_worldwide&&(0,s.jsx)(h.MetadataTag,{icon:(0,s.jsx)(l.Globe,{className:"h-3 w-3"}),children:"Hires from anywhere"}),null!=e.hours_full_time&&e.hours_full_time>0&&(0,s.jsx)(h.MetadataTag,{icon:(0,s.jsx)(r.Clock,{className:"h-3 w-3"}),children:`${e.hours_full_time}h/week`}),null!=e.employees&&e.employees>0&&(0,s.jsx)(h.MetadataTag,{icon:(0,s.jsx)(o.Users,{className:"h-3 w-3"}),children:`${(n=e.employees)>=1e4?`${Math.round(n/1e3)}K`:n>=1e3?`${(n/1e3).toFixed(1).replace(/\.0$/,"")}K`:`${n}`} employees`})]})]})]}),(0,s.jsxs)("div",{className:"flex items-center justify-between pt-5 sm:pt-6",children:[i?(0,s.jsxs)("span",{className:"flex items-center gap-2 text-sm text-brand-gray-600",children:[(0,s.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,s.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-emerald-400 opacity-75"}),(0,s.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-emerald-500"})]}),(0,s.jsx)("span",{children:`${e.job_count??""} open ${1===e.job_count?"position":"positions"}`})]}):(0,s.jsx)("span",{className:"text-sm text-brand-gray-400",children:"No open positions"}),(0,s.jsxs)("span",{className:"flex items-center gap-1 text-sm font-medium text-brand-pink opacity-0 transition-opacity group-hover:opacity-100",children:["View company"," ",(0,s.jsx)(t.ArrowRight,{className:"h-3 w-3 transition-transform group-hover:translate-x-1"})]})]})]}),(0,s.jsxs)("div",{className:"relative hidden w-48 shrink-0 overflow-hidden sm:block lg:w-56","data-testid":"side-panel",children:[e.social_image_url?(0,s.jsx)(C,{company:e}):(0,s.jsx)(k,{company:e}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-6 bg-gradient-to-r from-white/30 to-transparent"})]})]})}function $({company:e,className:i}){let o=e.country||"";return(0,s.jsxs)(c.default,{href:`/company/${e.slug}`,prefetch:!1,className:(0,x.cn)("group relative flex flex-col overflow-hidden rounded-2xl border bg-white p-5 transition-all duration-200 hover:border-rose-200 hover:shadow-lg hover:shadow-rose-100/30",i),children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)(v,{company:e,size:"sm"}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h3",{className:"font-semibold text-brand-gray-900 line-clamp-1",children:e.name}),(e.short_description||e.description)&&(0,s.jsx)("p",{className:"mt-1 text-sm text-brand-gray-600 line-clamp-2",children:e.short_description||e.description})]})]}),(e.schedule_type||e.awards&&e.awards.length>0)&&(0,s.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-2",children:[e.schedule_type&&(0,s.jsx)(h.ScheduleTagFromType,{scheduleType:e.schedule_type,label:e.schedule_type_short_description,vacation:e.vacation,hideAward:!0,size:"sm"}),(0,s.jsx)(_,{company:e})]}),(0,s.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-4 gap-y-1 text-sm text-brand-gray-600",children:[o&&(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(n.MapPin,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:o})]}),e.remote_level&&(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(l.Globe,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:w(e.remote_level)})]}),e.hires_worldwide&&(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(l.Globe,{className:"h-4 w-4"}),"Hires from anywhere"]}),null!=e.hours_full_time&&e.hours_full_time>0&&(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(r.Clock,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:`${e.hours_full_time}h/week`})]}),void 0!==e.job_count&&e.job_count>0&&(0,s.jsxs)("span",{className:"flex items-center gap-1",children:[(0,s.jsx)(a.Briefcase,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:`${e.job_count} ${1===e.job_count?"job":"jobs"}`})]})]}),(0,s.jsx)("div",{className:"absolute bottom-5 right-5 -translate-x-1 opacity-0 transition-all duration-200 group-hover:translate-x-0 group-hover:opacity-100",children:(0,s.jsx)(t.ArrowRight,{className:"h-4 w-4 text-rose-400"})})]})}let T=(0,m.memo)(function({company:e,variant:t="list",className:a}){return"grid"===t?(0,s.jsx)($,{company:e,className:a}):(0,s.jsx)(S,{company:e,className:a})});e.s(["CompanyCard",0,T])},527260,188081,e=>{"use strict";var s=e.i(843476),t=e.i(671428);function a(){return(0,s.jsxs)("div",{className:"flex min-h-[180px] overflow-hidden rounded-2xl border bg-white sm:min-h-[200px]",role:"status","aria-label":"Loading",children:[(0,s.jsxs)("div",{className:"flex flex-1 flex-col p-5 sm:p-6",children:[(0,s.jsxs)("div",{className:"flex gap-4",children:[(0,s.jsx)(t.Skeleton,{className:"h-14 w-14 shrink-0 rounded-xl"}),(0,s.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,s.jsx)(t.Skeleton,{className:"h-5 w-40"}),(0,s.jsx)(t.Skeleton,{className:"h-6 w-20 rounded-full"})]}),(0,s.jsx)(t.Skeleton,{className:"h-4 w-full"}),(0,s.jsx)(t.Skeleton,{className:"h-4 w-3/4"}),(0,s.jsxs)("div",{className:"flex gap-2",children:[(0,s.jsx)(t.Skeleton,{className:"h-6 w-24 rounded-full"}),(0,s.jsx)(t.Skeleton,{className:"h-6 w-20 rounded-full"}),(0,s.jsx)(t.Skeleton,{className:"h-6 w-20 rounded-full"})]})]})]}),(0,s.jsxs)("div",{className:"mt-4 flex justify-between border-t border-t-border-subtle pt-3",children:[(0,s.jsx)(t.Skeleton,{className:"h-4 w-28"}),(0,s.jsx)(t.Skeleton,{className:"h-4 w-24"})]})]}),(0,s.jsx)("div",{className:"hidden w-48 shrink-0 sm:block lg:w-56",children:(0,s.jsx)(t.Skeleton,{className:"h-full w-full rounded-none"})})]})}e.s(["CompanyCardSkeleton",0,a],527260);
1var r=e.i(886407),l=e.i(649582),n=e.i(271645),i=e.i(657688),o=e.i(351314);e.i(558486);var d=e.i(88852);e.i(64107);var c=e.i(806908);let m=[{from:"from-rose-100",to:"to-pink-200"},{from:"from-indigo-100",to:"to-violet-200"},{from:"from-emerald-100",to:"to-teal-200"},{from:"from-amber-100",to:"to-orange-200"},{from:"from-violet-100",to:"to-purple-200"},{from:"from-sky-100",to:"to-blue-200"},{from:"from-teal-100",to:"to-cyan-200"},{from:"from-slate-100",to:"to-zinc-200"}],h=[{from:"from-rose-400",to:"to-pink-500"},{from:"from-indigo-400",to:"to-violet-500"},{from:"from-emerald-400",to:"to-teal-500"},{from:"from-amber-400",to:"to-orange-500"},{from:"from-violet-400",to:"to-purple-500"},{from:"from-teal-400",to:"to-cyan-500"}];function u(e,s){let t=0;for(let s=0;s<e.length;s++)t=e.charCodeAt(s)+((t<<5)-t);return Math.abs(t)%s}let x=(0,n.memo)(function({advert:e}){let[t,a]=(0,n.useState)(!1),[r,l]=(0,n.useState)(!1),x=(0,n.useRef)(null),p=(0,n.useRef)(!1);(0,n.useEffect)(()=>{let s=x.current;if(!s||p.current)return;let t=new IntersectionObserver(([s])=>{s?.isIntersecting&&!p.current&&(p.current=!0,(0,d.trackAdvertImpression)(e.id),t.disconnect())},{threshold:.5});return t.observe(s),()=>t.disconnect()},[e.id]);let g=e.company_name.split(/\s+/).slice(0,2).map(e=>e[0]??"").join("").toUpperCase(),f=m[u(e.company_name,m.length)],b=h[u(e.company_name,h.length)],y=e.logo_url&&!t?(0,s.jsx)("div",{className:"relative h-14 w-14 shrink-0 overflow-hidden rounded-xl ring-1 ring-border-subtle",children:(0,s.jsx)(i.default,{src:e.logo_url,alt:`${e.company_name} logo`,fill:!0,sizes:"56px",className:"object-contain",onError:()=>a(!0)})}):(0,s.jsx)("div",{className:(0,c.cn)("flex h-14 w-14 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br text-base font-semibold text-white",b.from,b.to),children:g}),j=e.logo_url&&!r?(0,s.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-xl bg-white/80 p-2 shadow-sm backdrop-blur-sm",children:(0,s.jsx)(i.default,{src:e.logo_url,alt:`${e.company_name} logo`,width:40,height:40,className:"object-contain rounded-md",onError:()=>l(!0)})}):(0,s.jsx)("span",{className:"text-2xl font-semibold text-white/70",children:g});return(0,s.jsxs)("article",{ref:x,"data-testid":"advert-company-card",className:(0,c.cn)("group relative flex overflow-hidden rounded-2xl bg-white border border-brand-gray-200","transition-all duration-200 hover:-translate-y-px","hover:shadow-lg hover:shadow-rose-100/30"),children:[(0,s.jsx)("div",{className:"pointer-events-none absolute -right-8 -top-8 h-32 w-32 rounded-full bg-gradient-to-br from-rose-200 to-pink-200 opacity-0 blur-2xl transition-opacity group-hover:opacity-30"}),(0,s.jsx)("div",{className:"flex min-w-0 flex-1 flex-col p-5 sm:p-6",children:(0,s.jsxs)("div",{className:"flex gap-4",children:[y,(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,s.jsx)("h3",{className:"font-display text-xl font-bold text-brand-gray-900 transition-colors group-hover:text-rose-700",children:(0,s.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer sponsored",onClick:()=>{(0,d.trackAdvertClick)(e.id)},children:[(0,s.jsx)("span",{children:e.title}),(0,s.jsx)("span",{className:"absolute inset-0 z-0","aria-hidden":"true"})]})}),(0,s.jsx)("span",{className:"shrink-0 text-xs uppercase tracking-wider text-brand-gray-400",children:"Promoted"})]}),(0,s.jsx)("p",{className:"mt-1 text-sm text-brand-gray-600",children:e.company_name}),e.description&&(0,s.jsx)("p",{className:"mt-1 text-base leading-relaxed text-brand-gray-600 line-clamp-2",children:e.description}),e.cta&&(0,s.jsx)("div",{className:"relative z-10 mt-3 flex flex-wrap items-center gap-1.5",children:(0,s.jsx)(o.BaseTag,{color:"green",size:"sm",children:e.cta})})]})]})}),(0,s.jsxs)("div",{className:(0,c.cn)("relative hidden w-48 shrink-0 overflow-hidden sm:block lg:w-56","bg-gradient-to-br",f.from,f.to),"data-testid":"advert-side-panel",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-white/30 via-trans
1parent to-black/5"}),(0,s.jsxs)("div",{className:"relative z-10 flex h-full w-full flex-col items-center justify-center gap-2",children:[j,(0,s.jsx)("span",{className:"rounded-full bg-white/60 px-2 py-0.5 text-xs font-medium text-brand-gray-700 backdrop-blur-sm",children:"Sponsored"})]}),(0,s.jsx)("div",{className:"pointer-events-none absolute inset-y-0 left-0 w-6 bg-gradient-to-r from-white/30 to-transparent"})]})]})});var p=e.i(87515);e.s(["CompanyList",0,function({companies:e,advert:t,isLoading:i,hasMore:o,onLoadMore:d}){let c=(0,n.useRef)({hasMore:o,isLoading:i,onLoadMore:d});c.current={hasMore:o,isLoading:i,onLoadMore:d};let m=(0,n.useCallback)(e=>{if(!e)return;let s=new IntersectionObserver(e=>{let{hasMore:s,isLoading:t,onLoadMore:a}=c.current;e[0]?.isIntersecting&&s&&!t&&a&&a()},{threshold:.1,rootMargin:"100px"});return s.observe(e),()=>s.disconnect()},[]);return i||0!==e.length?(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[e.map((e,a)=>(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)(p.CompanyCard,{company:e}),t&&3===a&&(0,s.jsx)(x,{advert:t})]},e.id)),i&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a,{}),(0,s.jsx)(a,{})]})]}),o&&!i&&(0,s.jsx)("div",{ref:m,className:"h-4","aria-hidden":"true"}),!o&&e.length>0&&(0,s.jsx)("p",{className:"py-6 text-center text-sm text-brand-gray-600",children:"You've reached the end of the results."})]}):(0,s.jsxs)("div",{className:"flex flex-col items-center px-6 py-16 text-center",children:[(0,s.jsx)("div",{className:"mb-5 flex h-16 w-16 items-center justify-center rounded-2xl bg-gradient-to-br from-blue-100 to-indigo-100",children:(0,s.jsx)(r.SearchX,{className:"h-8 w-8 text-blue-500"})}),(0,s.jsx)("h3",{className:"text-lg font-semibold text-brand-gray-900",children:"No companies match your filters"}),(0,s.jsx)("p",{className:"mt-2 max-w-sm text-sm leading-relaxed text-brand-gray-600",children:"We couldn't find any companies with those criteria. Try broadening your search or removing some filters."}),(0,s.jsxs)("div",{className:"mt-5 flex items-center gap-2 text-xs text-brand-gray-400",children:[(0,s.jsx)(l.SlidersHorizontal,{className:"h-3.5 w-3.5"}),(0,s.jsx)("span",{children:"Tip: fewer filters = more results"})]})]})}],188081)},327889,e=>{"use strict";var s=e.i(843476),t=e.i(618566),a=e.i(271645),r=e.i(141120),l=e.i(697162);e.i(558486);var n=e.i(216642),i=e.i(88852);e.i(64107);var o=e.i(873447),d=e.i(827295),c=e.i(699354),m=e.i(527260),h=e.i(124295),u=e.i(188081);let x={};e.s(["CompaniesPageClient",0,function({initialCompanies:e,initialTotal:p,initialHasMore:g,defaultFilters:f=x}={}){let b=(0,t.useSearchParams)(),y=void 0!==e,[j,w]=(0,a.useState)(e??[]),[v,N]=(0,a.useState)(g??!1),[_,k]=(0,a.useState)(!1),[C,S]=(0,a.useState)(!y),$=(0,a.useRef)(!1),[T,A]=(0,a.useState)(1),[L,B]=(0,a.useState)(p??0),F=(0,a.useRef)(void 0),z=(0,a.useCallback)(()=>{let e={...f,...function(e){let s={},t=e.get("schedule_types")||e.get("schedule_type");t&&(s.schedule_types=(0,o.splitAndClamp)(t)),"true"===e.get("hires_worldwide")&&(s.hires_worldwide=!0);let a=e.get("remote_levels")||e.get("remote_level");if(a){let e=(0,o.splitAndClamp)(a),t=[];for(let a of e)switch(a){case"work-from-anywhere":s.hires_worldwide=!0;break;case"remote-first":t.push("fully-remote");break;case"":break;default:t.push(a)}t.length>0&&(s.remote_levels=t)}let r=e.get("countries")||e.get("country");r&&(s.countries=(0,o.splitAndClamp)(r));let l=e.get("size");l&&(s.size=l);let n=e.get("benefits");n&&(s.benefits=(0,o.splitAndClamp)(n));
1let i=e.get("category");i&&(s.category=i);let d=e.get("sort");d&&(s.sort=d);let c=e.get("has_jobs");"true"===c?s.has_jobs=!0:"false"===c&&(s.has_jobs=void 0);let m=e.get("q");return m&&(s.q=m),s}(b)};return e.sort||(e.sort="recommended"),e},[b,f]),[R,E]=(0,a.useState)(z),{has:P,loading:D}=(0,l.useEntitlements)(),I=P(c.SLUG_AD_FREE_BROWSING),[M,U]=(0,a.useState)(null);(0,a.useEffect)(()=>{if(D||I)return void U(null);let e=!1;return(0,i.getActiveAdvert)().then(s=>{e||U(s)}).catch(()=>{e||U(null)}),()=>{e=!0}},[D,I]),(0,a.useEffect)(()=>{let e=z();E(e),A(1);let s=!$.current;if($.current=!0,s&&y)return;S(!0),F.current=void 0;let t=new AbortController;return(async()=>{try{let s=await (0,n.fetchCompanies)({...e,page:1},!1,t.signal);if(t.signal.aborted)return;w(s.companies),N(s.has_more),B(s.total),F.current=s.rotation_seed}catch(e){if(e instanceof DOMException&&"AbortError"===e.name)return;console.error("Failed to fetch companies:",e)}finally{t.signal.aborted||S(!1)}})(),()=>t.abort()},[z,y]);let O=(0,a.useCallback)(e=>{E(e),$.current&&S(!0)},[]),H=(0,a.useCallback)(async()=>{if(_||!v)return;k(!0);let e=T+1;try{let s=await (0,n.fetchCompanies)({...R,page:e,rotation_seed:F.current});w(e=>[...e,...s.companies]),N(s.has_more),A(e)}catch(e){console.error("Failed to load more companies:",e)}finally{k(!1)}},[R,T,_,v]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"mx-auto mb-12 max-w-3xl",children:(0,s.jsx)(h.CompanyFilters,{filters:R,onFiltersChange:O,showSearch:!0,basePath:"/company-search"})}),(0,s.jsx)("div",{className:"mx-auto max-w-4xl",children:(0,s.jsx)(r.ResultsHeader,{total:L,entityLabel:"companies",sort:R.sort||"recommended",sortOptions:[{value:"recommended",label:"Recommended"},{value:"jobs",label:"Most Jobs"},{value:"score",label:"Work-Life Score"},{value:"newest",label:"Newest"},{value:"alphabetical",label:"A-Z"}],defaultSort:"recommended",onSortChange:e=>{let s=new URLSearchParams(b.toString());e?s.set("sort",e):s.delete("sort"),(0,d.shallowNavigate)(`?${s.toString()}`)},isLoading:C})}),(0,s.jsx)("div",{className:"mx-auto max-w-4xl",children:C?(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsx)(m.CompanyCardSkeleton,{}),(0,s.jsx)(m.CompanyCardSkeleton,{}),(0,s.jsx)(m.CompanyCardSkeleton,{}),(0,s.jsx)(m.CompanyCardSkeleton,{})]}):(0,s.jsx)(u.CompanyList,{companies:j,advert:M,isLoading:_,hasMore:v,onLoadMore:H})})]})}],327889)},685570,e=>{"use strict";var s=e.i(843476),t=e.i(657688),a=e.i(271645);e.s(["CompanyDetailLogo",0,function({name:e,logoUrl:r}){let[l,n]=(0,a.useState)(!1);return r&&!l?(0,s.jsx)("div",{className:"relative flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-slate-50 p-2 shadow-sm ring-1 ring-border",children:(0,s.jsx)(t.default,{src:r,alt:`${e} logo`,fill:!0,sizes:"48px",className:"object-contain",onError:()=>n(!0)})}):(0,s.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-white shadow-sm ring-1 ring-border",children:(0,s.jsx)("span",{className:"text-lg font-bold text-brand-pink",children:e.charAt(0)})})}])},508625,e=>{"use strict";var s=e.i(843476),t=e.i(342920),a=e.i(87316),r=e.i(778917),l=e.i(248256),n=e.i(557487),i=e.i(271645);e.i(44476);var o=e.i(333745);e.i(432236);var d=e.i(941773),c=e.i(963266),m=e.i(304225),h=e.i(167881);e.i(64107);var u=e.i(556910),x=e.i(134629),p=e.i(489499),g=e.i(700565),f=e.i(494338);let b={"fully-remote":"remote",hybrid:"hybrid",onsite:"onsite"},y=(0,i.memo)(function({company:e,jobCount:i,workLifeScore:y}){var j;let w,v,N,_=!!e.remote_level,k=e.employee_locations&&e.employee_locations.length>0||e.remote_team_description,C=e.stack&&e.stack.length>0,S=!!e.funding_stage||null!=e.total_raised&&e.total_raised>0,$=!!e.founded_year,T=e.hiring_process,A=e.category,L=_||k||C||S||$||T||A;return(0,s.jsxs)("aside",{className:"relative z-10 lg:col-span-1",children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 lg:-mt-48",children:[(0,s.jsxs)(c.SidebarCard,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-3 p-4",children:[i>0&&(0,s.jsx)(h.Button,{className:"h-12 w-full rounded-xl bg-zinc-900 text-white shadow-md shadow-zinc-900/20 hover:bg-zinc-800",asChild:!0,children:(0,s.jsx)("a",{href:"#open-positions",children:`View ${i} Open ${1===i?"Position":"Positions"}`})}),e.company_url&&(0,s.jsx)(h.Button,{variant:"outline",className:"h-11 w-full rounded-xl text-zinc-700 hover:bg-brand-blue/5",asChild:!0,children:(0,s.jsxs)("a",{href:(0,u.addUtmParams)(e.company_url),target:"_blank",rel:"noopener noreferrer",children:["Visit Website",(0,s.jsx)(r.ExternalLink,{className:"ml-2 h-4 w-4"}),(0,s.jsx)("span",{className:"sr-only",children:" (opens in new tab)"})]})})]}),y>0&&(0,s.jsx)(c.SidebarSection,{children:(0,s.jsx)(m.WorkLifeScoreCard,{job:{work_life_score:y,schedule_type:e.schedule_type,hours_per_week_min:e.hours_full_time,hours_per_week_max:e.hours_full_time,work_arrangement:b[e.remote_level??""]},company:e,variant:"flush"})}),e.schedule_type&&(0,s.jsx)(c.SidebarSection,{children:(0,s.jsx)(f.WorkScheduleWidget,{scheduleType:e.schedule_type,fourDayOff:e.four_day_off,noMeetingDay:e.no_meeting_day,parentalLeaveWeeks:e.parental_leave_weeks,parentalLeaveSecondaryWeeks:e.parental_leave_secondary_weeks,parentalLeaveIsGlobal:e.parental_leave_is_global,hoursFullTime:e.hours_full_time,scheduleTypeDescription:e.schedule_type_description,scheduleType
1ShortDescription:e.schedule_type_short_description,fourDayReferenceUrl:e.four_day_reference_url,flexibilityDescription:e.flexibility_description,variant:"flush"})})]}),(0,s.jsx)(o.AutoApplyCTACard,{surface:"company-detail-sidebar",context:{companyName:e.name,scheduleType:e.schedule_type}}),(0,s.jsx)(p.BenefitsCard,{company:e}),L&&(0,s.jsx)(c.SidebarCard,{className:"p-[18px]",children:(0,s.jsxs)("div",{className:"space-y-6",children:[_&&e.remote_level&&(w=function(e){switch(e){case"fully-remote":default:return l.Globe;case"hybrid":return n.Laptop;case"onsite":return t.Building}}(e.remote_level),(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-3 block",children:"Remote Policy"}),(0,s.jsxs)("div",{className:"flex items-start gap-3 rounded-xl bg-brand-blue/5 p-3 ring-1 ring-border-subtle",children:[(0,s.jsx)("div",{className:"flex h-9 w-9 shrink-0 items-center justify-center rounded-lg bg-white ring-1 ring-border",children:(0,s.jsx)(w,{className:"h-4 w-4 text-brand-pink"})}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("div",{className:"text-sm font-medium text-zinc-900",children:[(0,s.jsx)("span",{children:{"fully-remote":"Fully Remote",hybrid:"Hybrid Remote",onsite:"Onsite"}[j=e.remote_level]||j}),e.hires_worldwide&&(0,s.jsx)("span",{className:"ml-2 inline-flex items-center rounded-full bg-emerald-100 px-2 py-0.5 text-xs font-medium text-emerald-700",children:"Hires from anywhere"})]}),(0,s.jsx)("p",{className:"text-xs text-zinc-500 mt-0.5 leading-relaxed whitespace-pre-line",children:e.remote_team_description||function(e,s,t){switch(e){case"fully-remote":return"Team works 100% remotely.";case"hybrid":{if(void 0===s&&void 0===t)return"Team splits time between office and remote working.";if(void 0!==s&&void 0!==t&&s!==t)return`Team splits time between office and remote — ${s}-${t} office days per week.`;let e=s??t;return`Team splits time between office and remote — ${e} office day${1!==e?"s":""} per week.`}case"onsite":return"Team works on-site at company locations.";default:return""}}(e.remote_level,e.hybrid_days_min,e.hybrid_days_max)})]})]})]})),e.employee_locations&&e.employee_locations.length>0&&(v=[...e.employee_locations].map(e=>({...e,count:parseInt(e.num,10)||0})).sort((e,s)=>s.count-e.count).slice(0,5),N=v[0]?.count??0,(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Team Distribution"}),(0,s.jsxs)("div",{className:"space-y-3",children:[v.map(e=>{let t=N>0?e.count/N*100:0;return(0,s.jsxs)("div",{className:"space-y-1",children:[(0,s.jsxs)("div",{className:"flex items-center justify-between text-xs",children:[(0,s.jsx)("span",{className:"text-zinc-700 font-medium",children:e.title}),(0,s.jsx)("span",{className:"text-zinc-500",children:e.num})]}),(0,s.jsx)("div",{className:"h-2 w-full rounded-full bg-brand-gray-100",children:(0,s.jsx)("div",{className:"h-full rounded-full bg-brand-pink transition-all",style:{width:`${t}%`}})})]},e.title)}),e.employee_locations.length>5&&(0,s.jsx)("p",{className:"text-xs text-zinc-400",children:`+${e.employee_locations.length-5} more locations`})]})]})),C&&(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Tech Stack"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:e.stack.map(e=>(0,s.jsx)("span",{className:"rounded-full bg-brand-gray-100 px-2.5 py-1 text-xs font-medium text-zinc-700 ring-1 ring-border",children:e.name},e.id))})]}),S&&(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Funding"}),(0,s.jsxs)("div",{className:"text-sm text-zinc-700",children:[e.funding_stage&&(0,s.jsx)("span",{children:(0,x.formatFundingStage)(e.funding_stage)}),null!=e.total_raised&&e.total_raised>0&&(0,s.jsx)("span",{children:`${e.funding_stage?" · ":""}${(0,x.formatRaisedAmount)(e.total_raised)} raised`})]})]}),$&&(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Founded"}),(0,s.jsxs)("div",{className:"flex items-center gap-2 text-sm text-zinc-700",children:[(0,s.jsx)(a.Calendar,{className:"h-4 w-4 text-zinc-400"}),(0,s.jsx)("span",{children:e.founded_year})]})]}),T&&(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Hiring Process"}),(0,s.jsx)("p",{className:"text-sm text-zinc-600 leading-relaxed",children:e.hiring_process}
1)]}),A&&(0,s.jsxs)("div",{children:[(0,s.jsx)(c.SidebarLabel,{className:"mb-2 block",children:"Industry"}),(0,s.jsx)("div",{className:"text-sm",children:(0,s.jsx)("span",{className:"font-medium text-zinc-900",children:e.category})})]})]})})]}),(0,s.jsxs)("div",{className:"mt-4 space-y-2 text-center",children:[(0,s.jsx)(g.ClaimCompanyButton,{companyId:e.id,companySlug:e.slug,companyName:e.name,companyUrl:e.company_url,variant:"subtle",wrapperClassName:"text-center"}),(0,s.jsx)(d.ReportLink,{type:"company",slug:e.slug,title:e.name})]})]})});e.s(["CompanyDetailSidebar",0,y])},376373,e=>{"use strict";var s=e.i(843476),t=e.i(63209),a=e.i(531278),r=e.i(271645);e.i(972396);var l=e.i(409687),n=e.i(167881);e.i(558486);var i=e.i(216642),o=e.i(71829),d=e.i(394580);let c="other";function m(e){let s=o.JOB_CATEGORIES.find(s=>s.value===e);return s?s.label:e===c?"Other":e.replace(/-/g," ").replace(/\b\w/g,e=>e.toUpperCase())}e.s(["CompanyJobsList",0,function({initialJobs:e,categoryCounts:o,companySlug:h,company:u,loadMoreDisabled:x=!1}){let p=(0,r.useMemo)(()=>(function(e){let s={};for(let t of e){let e=t.category??c;s[e]||(s[e]=[]),s[e].push(t)}return s})(e),[e]),g=(0,r.useMemo)(()=>Object.entries(o).filter(([,e])=>e>0).sort(([,e],[,s])=>s-e).map(([e])=>e),[o]),[f,b]=(0,r.useState)(()=>{let e={};for(let s of g)e[s]={jobs:p[s]??[],loadedPages:0,loading:!1,error:null};return e}),y=async e=>{let s=f[e];if(!s||s.loading||x)return;b(t=>({...t,[e]:{...s,loading:!0,error:null}}));let t=s.loadedPages+1;try{let s=await (0,i.fetchCompanyJobs)(h,{category:e,page:t,limit:100});b(a=>{let r=a[e];if(!r)return a;let l=0===r.loadedPages;return{...a,[e]:{jobs:l?s.jobs:[...r.jobs,...s.jobs],loadedPages:t,loading:!1,error:null}}})}catch(s){d.logger.error("Failed to load more company jobs",s,{context:"CompanyJobsList",companySlug:h,category:e}),b(s=>{let t=s[e];return t?{...s,[e]:{...t,loading:!1,error:"Could not load more jobs. Please try again."}}:s})}};return 0===g.length?null:(0,s.jsx)("div",{className:"space-y-10",children:g.map(e=>{let r=f[e];if(!r)return null;let i=o[e]??r.jobs.length,d=r.jobs.length,c=0===r.loadedPages?`Show all ${i} ${m(e)} ${1===i?"job":"jobs"}`:`Show ${i-d} more`;return(0,s.jsxs)("section",{"aria-labelledby":`category-${e}`,children:[(0,s.jsxs)("div",{className:"mb-4 flex items-baseline justify-between gap-3",children:[(0,s.jsx)("h3",{id:`category-${e}`,className:"font-display text-xl font-semibold tracking-tight text-zinc-900 sm:text-2xl",children:m(e)}),(0,s.jsx)("span",{className:"text-sm text-brand-gray-600",children:d===i?`${i}`:`${d} of ${i}`})]}),(0,s.jsx)("div",{className:"overflow-hidden rounded-xl border bg-white",children:r.jobs.map(e=>(0,s.jsx)(l.JobCard,{job:{...e,company:e.company||u},size:"lg"},e.id))}),r.error&&(0,s.jsxs)("div",{className:"mt-3 flex items-center gap-2 text-sm text-red-600",children:[(0,s.jsx)(t.AlertCircle,{className:"h-4 w-4"}),(0,s.jsx)("span",{children:r.error})]}),d<i&&(0,s.jsx)("div",{className:"mt-4 flex justify-center",children:(0,s.jsx)(n.Button,{variant:"outline",onClick:()=>y(e),disabled:r.loading||x,children:r.loading?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a.Loader2,{className:"mr-2 h-4 w-4 animate-spin"}),(0,s.jsx)("span",{children:"Loading…"})]}):c})})]},e)})})}])},444818,e=>{"use strict";var s=e.i(843476),t=e.i(271645),a=e.i(428776),r=e.i(697162);e.i(558486);var l=e.i(216642),n=e.i(12244),i=e.i(699354),o=e.i(376373);e.s(["CompanyJobsReveal",0,function({initialJobs:e,categoryCounts:d,hiddenFreshCount:c,companySlug:m,company:h}){let{resolved:u,has:x}=(0,r.useEntitlements)(),p=u&&x(i.SLUG_EARLY_ACCESS)&&c>0,[g,f]=(0,t.useState)(null),[b,y]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(!p)return;let e=new AbortController;return(0,l.fetchCompanyUncached)(m,e.signal).then(f).catch(e=>{e instanceof DOMException&&"AbortError"===e.name||((0,n.reportHandled)(e,{area:"company.jobsReveal",severity:"warning"}),y(!0))}),()=>e.abort()},[p,m]);let j=p&&null===g&&!b;return(0,s.jsxs)("div",{className:"space-y-10",children:[(0,s.jsx)(a.EarlyAccessTeaser,{placement:"company",count:c,origin:`/company/${m}`,framed:!0}),(0,s.jsx)(o.CompanyJobsList,{initialJobs:g?.jobs??e,categoryCounts:g?.category_counts??d,companySlug:m,company:h,loadMoreDisabled:j},g?"member":"public")]})}])},74108,190025,83251,e=>{"use strict";var s=e.i(843476),t=e.i(607486),a=e.i(522016),r=e.i(271645),l=e.i(87515),n=e.i(63727);let i=(0,e.i(475254).default)("compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
1y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);var o=e.i(657688);e.i(44476);var d=e.i(333745);e.i(64107);var c=e.i(54135);let m="rounded-2xl border border-slate-200/80 bg-white p-5 shadow-sm shadow-slate-200/30",h="flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-gradient-to-br from-rose-50 to-pink-50";function u({page:e,companies:t,relatedPages:r}){let l=[...t].sort((e,s)=>(s.job_count??0)-(e.job_count??0)).slice(0,7),x=[...r?.siblings||[],...r?.children||[]].slice(0,7),p=e.updated_at?(0,c.formatUtcDate)(e.updated_at,{dateStyle:"long"}):null;return(0,s.jsxs)(s.Fragment,{children:[l.length>0&&(0,s.jsxs)("div",{className:m,children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:h,children:(0,s.jsx)(n.Briefcase,{className:"h-4 w-4 text-rose-500","aria-hidden":"true"})}),(0,s.jsx)("h3",{className:"font-semibold text-slate-900",children:"Top Hiring Companies"})]}),(0,s.jsx)("ul",{className:"space-y-1",children:l.map(e=>(0,s.jsx)("li",{children:(0,s.jsxs)(a.default,{href:`/company/${e.slug}`,prefetch:!1,className:"group -mx-2 flex items-center gap-3 rounded-lg px-2 py-2 transition-colors hover:bg-slate-50",children:[e.logo_url?(0,s.jsx)(o.default,{src:e.logo_url,alt:e.name,width:32,height:32,className:"h-8 w-8 shrink-0 rounded object-contain ring-1 ring-slate-200/60"}):(0,s.jsx)("div",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded bg-slate-100 text-xs font-medium text-slate-500",children:e.name.charAt(0)}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"truncate text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e.name}),null!=e.job_count&&e.job_count>0&&(0,s.jsx)("p",{className:"text-xs text-slate-500",children:`${e.job_count} ${1===e.job_count?"job":"jobs"}`})]})]})},e.id))})]}),x.length>0&&(0,s.jsxs)("div",{className:m,children:[(0,s.jsxs)("div",{className:"mb-4 flex items-center gap-2.5",children:[(0,s.jsx)("div",{className:h,children:(0,s.jsx)(i,{className:"h-4 w-4 text-rose-500","aria-hidden":"true"})}),(0,s.jsx)("h3",{className:"font-semibold text-slate-900",children:"Related Searches"})]}),(0,s.jsx)("ul",{className:"space-y-1",children:x.map(e=>(0,s.jsx)("li",{children:(0,s.jsxs)(a.default,{href:`/${e.slug}`,prefetch:!1,className:"group -mx-2 flex items-center justify-between gap-2 rounded-lg px-2 py-2 transition-colors hover:bg-slate-50",children:[(0,s.jsx)("span",{className:"flex-1 truncate text-sm font-medium text-slate-700 group-hover:text-slate-900",children:e.h1_title}),(0,s.jsx)("span",{className:"text-xs text-slate-400",children:e.company_count})]})},e.slug))})]}),(0,s.jsx)(d.AutoApplyCTACard,{surface:"company-landing-sidebar",context:{scheduleType:e.filters.schedule_type,location:e.filters.country}}),p&&(0,s.jsxs)("p",{className:"text-center text-xs text-slate-500",children:[(0,s.jsx)("span",{children:`Updated ${p} \xb7`})," ",(0,s.jsx)(a.default,{href:"/about",className:"underline hover:text-slate-700",children:"How we curate"})]})]})}e.s(["CompanyLandingSidebar",0,u],190025);var x=e.i(972520),p=e.i(489853),g=e.i(248256),f=e.i(557487);let b={schedule:{Icon:p.CalendarDays,iconColor:"text-brand-pink",iconBg:"bg-gradient-to-br from-rose-50 to-pink-50 group-hover:from-rose-100 group-hover:to-pink-100",headerIconBg:"bg-rose-50",headerIconColor:"text-rose-500",cardHover:"hover:border-rose-200 hover:shadow-md hover:shadow-rose-100/40",arrowHover:"group-hover:text-rose-500",orbGradient:"from-rose-200 to-pink-200",countColor:"text-brand-pink/70"},location:{Icon:g.Globe,iconColor:"text-emerald-600",iconBg:"bg-gradient-to-br from-emerald-50 to-green-50 group-hover:from-emerald-100 group-hover:to-green-100",headerIconBg:"bg-emerald-50",headerIconColor:"text-emerald-500",cardHover:"hover:border-emerald-200 hover:shadow-md hover:shadow-emerald-100/40",arrowHover:"group-hover:text-emerald-500",orbGradient:"from-emerald-200 to-green-200",countColor:"text-emerald-600/70"},workStyle:{Icon:f.Laptop,iconColor:"text-sky-600",iconBg:"bg-gradient-to-br from-sky-50 to-blue-50 group-hover:from-sky-100 group-hover:to-blue-100",headerIconBg:"bg-sky-50",headerIconColor:"text-sky-500",cardHover:"hover:border-sky-200 hover:shadow-md hover:shadow-sky-100/40",arrowHover:"group-hover:text-sky-500",orbGradient:"from-sky-200 to-blue-200",countColor:"text-sky-600/70"}};function y({page:e,category:t}){let r=b[t],{Icon:l}=r;return(0,s.jsxs)(a.default,{href:`/${e.slug}`,prefetch:!1,className:`group relative overflow-hidden rounded-xl border border-border-subtle bg-white p-3 shadow-sm transition-all duration-200 ${r.cardHover}`,children:[(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("div",{className:`shrink-0 rounded-lg p-2 ${r.iconBg}`,children:(0,s.jsx)(l,{className:`h-4 w-4 ${r.iconColor}`})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"text-sm font-medium leading-tight text-brand-gray-700 group-hover:text-brand-gray-900",children:e.h1_title}),(0,s.jsx)("p",{className:`mt-1 text-xs ${r.countColor}
1`,children:`${e.company_count.toLocaleString("en-US")} ${1===e.company_count?"company":"companies"}`})]}),(0,s.jsx)(x.ArrowRight,{className:`h-4 w-4 shrink-0 text-brand-gray-300 transition-all group-hover:translate-x-1 ${r.arrowHover}`})]}),(0,s.jsx)("div",{className:`pointer-events-none absolute -right-4 -top-4 h-16 w-16 rounded-full bg-gradient-to-br ${r.orbGradient} opacity-0 blur-2xl transition-opacity group-hover:opacity-40`})]})}function j({directory:e,currentPageType:t,isRootPage:a=!1}){let r,l,n,o,d=(r=[],l=()=>{e.schedule_types.length>0&&r.push({heading:"By Schedule Type",category:"schedule",pages:e.schedule_types})},n=()=>{e.remote_levels.length>0&&r.push({heading:"By Work Style",category:"workStyle",pages:e.remote_levels})},o=s=>{e.countries.length>0&&r.push({heading:"By Location",category:"location",pages:s?e.countries.slice(0,s):e.countries})},a||"compound"===t?(l(),n(),o(8)):"schedule_type"===t?(o(8),n()):"country"===t?(l(),n()):"remote_level"===t&&(l(),o(8)),r);return 0===d.length?null:(0,s.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-b from-white via-brand-gray-50/50 to-white py-16 sm:py-20",children:[(0,s.jsxs)("div",{className:"pointer-events-none absolute inset-0",children:[(0,s.jsx)("div",{className:"absolute left-1/4 top-0 h-[300px] w-[300px] -translate-x-1/2 rounded-full bg-rose-100/30 blur-3xl"}),(0,s.jsx)("div",{className:"absolute bottom-0 right-1/4 h-[300px] w-[300px] translate-x-1/2 rounded-full bg-indigo-100/30 blur-3xl"})]}),(0,s.jsxs)("div",{className:"relative mx-auto max-w-7xl px-4 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"mb-12 text-center",children:[(0,s.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-rose-50 px-4 py-1.5 text-sm font-medium text-rose-700",children:[(0,s.jsx)(i,{className:"h-4 w-4","aria-hidden":"true"}),"Browse"]}),(0,s.jsx)("h2",{className:"font-display text-3xl font-bold tracking-tight text-brand-gray-900 sm:text-4xl",children:a?"Browse companies by category":"Discover more companies"}),(0,s.jsx)("p",{className:"subheading mt-3",children:"Find companies that match your perfect work schedule"})]}),(0,s.jsx)("div",{className:"space-y-12",children:d.map(e=>{let t=b[e.category],{Icon:a}=t;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-3",children:[(0,s.jsx)("div",{className:`rounded-lg p-2 ${t.headerIconBg}`,children:(0,s.jsx)(a,{className:`h-5 w-5 ${t.headerIconColor}`,"aria-hidden":"true"})}),(0,s.jsx)("h3",{className:"font-display text-xl font-semibold tracking-tight text-brand-gray-900",children:e.heading})]}),(0,s.jsx)("div",{className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-3",children:e.pages.map(t=>(0,s.jsx)(y,{page:t,category:e.category},t.slug))})]},e.heading)})})]})]})}e.s(["CompanyPageDirectory",0,j],83251);var w=e.i(217923);function v({avgScore:e,companyCount:t}){return null==e||e<=0?null:(0,s.jsxs)("section",{className:"mt-12 rounded-2xl border border-brand-gray-200/80 bg-gradient-to-br from-brand-gray-50/60 via-white to-white p-6 shadow-sm shadow-brand-gray-200/40 sm:p-8",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-brand-gray-100 to-brand-gray-50 ring-1 ring-brand-gray-200/60",children:(0,s.jsx)(w.BarChart3,{className:"h-6 w-6 text-brand-gray-600","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h2",{className:"font-display text-xl font-bold tracking-tight text-brand-gray-900",children:"How we rank these companies"}),(0,s.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-brand-gray-600",children:["These companies are ordered by their ",(0,s.jsx)("strong",{children:"work-life score"}),"— a 0–100 rating we calculate from each employer’s published policies, averaging"," ",(0,s.jsx)("strong",{children:e.toFixed(0)})," ",(0,s.jsx)("span",{children:`across the ${t.toLocaleString("en-US")} ${1===t?"company":"companies"} on this page.`})]})]})]}),(0,s.jsxs)("ul",{className:"mt-6 space-y-3 text-sm text-brand-gray-700",children:[(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-brand-gray-400","aria-hidden":"true"}),(0,s.jsxs)("span",{className:"leading-relaxed",children:[(0,s.jsx)("strong",{children:"Contracted hours"})," carry the most weight — the fewer hours a full-time week actually is, the higher the score. A 40-hour week earns nothing here."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-brand-gray-400","aria-hidden":"true"}),(0,s.jsxs)("span",{className:"leading-relaxed",children:[(0,s.jsx)("strong",{children:"Remote and schedule flexibility"})," comes next: whether the role is genuinely remote, how much say you have over your hours, and whether core hours are fixed."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-brand-gray-400","aria-hidden":"true"}),(0,s.jsxs)("span",{className:"leading-relaxed",children:[(0,s.jsx)("strong",{children:"Paid leave"})," is scored above a 15-day baseline, so a statutory minimum adds nothing and a genuinely generous allowance does."]})]}),(0,s.jsxs)("li",{className:"flex items-start gap-3",children:[(0,s.jsx)("span",{className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full bg-brand-gray-400","aria-hidden":"true"}),(0,s.jsxs)("span",{className:"leading-relaxed",children:[(0,s.jsx)("strong",{children:"The schedule itself"})," can add or subtract. A genuine reduced-day week scores positively; a full-week perk such as unlimited PTO scores ",(0,s.jsx)("em",{children:"negatively"}),", because it is not a reduction in hours."]})]})]}),(0,s.jsxs)("p",{className:"mt-6 rounded-xl bg-brand-gray-50 px-4 py-3 text-sm leading-relaxed text-brand-gray-800",children:["Every company starts from the same baseline and is scored on the policies recorded in its profile, so a company that publishes more detail is scored more precisely. The same score appears on that company’s own page."," ",(0,s.jsx)(a.default,{href:"/methodology",className:"font-medium text-brand-pink hover:text-rose-800",children:"Read the full scoring rubric →"})]})]})}var N=e.i(581418);function _({lastUpdated:e}){let t=e?(0,c.formatUtcDate)(e,{dateStyle:"long"}):null;return(0,s.jsx)("section",{className:"mt-12 rounded-2xl border border-emerald-100/60 bg-gradient-to-br from-emerald-50/40 via-white to-w
1hite p-6 shadow-sm shadow-emerald-100/30 sm:p-8",children:(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-emerald-100 to-green-100 ring-1 ring-emerald-200/60",children:(0,s.jsx)(N.ShieldCheck,{className:"h-6 w-6 text-emerald-600","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h2",{className:"font-display text-xl font-bold tracking-tight text-zinc-900",children:"How we curate this list"}),(0,s.jsxs)("p",{className:"mt-3 text-sm leading-relaxed text-zinc-600",children:["We track companies that publicly offer reduced-hours schedules — 4-day weeks, 9-day fortnights, half-day Fridays, and more. This page refreshes daily; companies that drop the policy are removed."," ",(0,s.jsx)(a.default,{href:"/about",className:"font-medium text-rose-700 hover:text-rose-900",children:"Read about our editorial standards →"})]}),t&&(0,s.jsx)("p",{className:"mt-3 text-xs text-zinc-500",children:`Last reviewed: ${t}`})]})]})})}var k=e.i(201027),C=e.i(595468),S=e.i(283086);let $={"4_day_week":"4-day-week","4_day_week_pro_rata":"4-day-week-pro-rata",compressed_week:"compressed-week",half_day_fridays:"half-day-fridays","9_day_fortnight":"9-day-fortnight",summer_fridays:"summer-fridays",rotating_4_day:"rotating-4-day",flex_fridays:"flex-fridays",flexible_hours:"flexible-hours",unlimited_pto:"unlimited-pto",generous_pto:"generous-pto",part_time:"part-time",no_meeting_days:"no-meeting-days",generous_parental_leave:"generous-parental-leave",best_place_to_work:"best-place-to-work"},T={"4_day_week":["Work 32 hours over 4 days, with the 5th day off","Salary stays at 100% — no pay cut for fewer hours","Most companies pick Friday as the day off; some rotate","Productivity studies show output stays flat or rises"],"4_day_week_pro_rata":["Work 4 days a week at 80% of a standard salary","Best fit for roles where the workload genuinely shrinks","Often used as a stepping stone to a full 4-day-week trial"],compressed_week:["Work standard 40-ish hours but compressed into 4 days","Each working day is 9-10 hours instead of 8","No pay cut — same total hours, just reorganised","Suits people who want one extra weekend day without earning less"],half_day_fridays:["Friday afternoons are off — typically half-day from noon","Total weekly hours land around 36","Common at agencies and consultancies where Fridays are quieter"],"9_day_fortnight":["Work 9 days every 2 weeks instead of 10","Every other Friday (or Monday) is off","Same total hours per fortnight — just rearranged","Popular in engineering, science, and government roles"],summer_fridays:["Fridays off (or half-day) from late May through early September","Standard 5-day week the rest of the year","Common at US-based marketing and creative agencies"],rotating_4_day:["Alternate weeks — 4 days one week, 5 the next","Total hours average out to roughly 36 per week","Used where staffing must be constant (clinics, support teams)"],flex_fridays:["Fridays are flexible — wind down, catch up, or finish early","Standard 40-hour week, but Friday is yours to use as you see fit","Many people use the day to leave early or take a half-day"],flexible_hours:["No set start or end time — work when you produce best","Outcome-based: deadlines and quality, not hours logged","Common at fully-remote and async-first companies"],unlimited_pto:["No fixed cap on vacation days","Rest is encouraged, not just permitted — many companies set a 3-week minimum","Standard at US tech firms and progressive scale-ups"],generous_pto:["30+ days of paid vacation per year, plus public holidays","Often paired with extended parental leave and sabbatical policies","Standard across Northern Europe and at progressive global firms"],part_time:["Three days a week or fewer, at pro-rata pay","Suits caregivers, semi-retirees, and freelancers blending roles","All other benefits typically pro-rata too"],no_meeting_days:["One or more days a week are protected from internal meetings","Standard 40-hour week — the headline perk is focus time, not fewer hours","Async updates replace status meetings on the no-meeting day","Great for engineers, designers, and writers who need deep-work blocks"],generous_parental_leave:["Extended paid parental leave well beyond the statutory minimum","Typically equal for all parents — birth, adoptive, and partners","Standard 40-hour week the rest of the time, at full pay","Often paired with phased return-to-work options"],best_place_to_work:["A standard 5-day week, but recognised by a credible work-life / best-place-to-work award","Verified on the awarding body’s official list (Great Place to Work, Glassdoor, Built In, and others)","Always paired with at least one flexibility or work-life benefit (remote, flexible PTO, etc.)","For people who want a proven culture, not just a formally shorter week"]},A={"4_day_week":"Best for: anyone who wants a real three-day weekend without taking a pay cut.","4_day_week_pro_rata":"Best for: people whose role can genuinely shrink to 4 days, who value time over money.",compressed_week:"Best for: people who w
1ould rather work longer days for an extra weekend day.",half_day_fridays:"Best for: people who want to ease into the weekend without losing salary.","9_day_fortnight":"Best for: people who want a long weekend every other week without restructuring their pay.",summer_fridays:"Best for: people who value seasonal flexibility — full-on the rest of the year, lighter in summer.",rotating_4_day:"Best for: people whose team must keep coverage but still want regular long weekends.",flex_fridays:"Best for: people who want a lighter, flexible Friday to ease into the weekend.",flexible_hours:"Best for: caregivers, parents, and anyone whose best work happens on a non-standard schedule.",best_place_to_work:"Best for: people who prize a proven, award-winning culture and flexibility over a formally shorter week.",unlimited_pto:"Best for: senior individual contributors and parents who need elasticity around school holidays.",generous_pto:"Best for: anyone who values long contiguous vacations over a 4-day weekly rhythm.",part_time:"Best for: caregivers, semi-retirees, and people deliberately blending paid work with other priorities.",no_meeting_days:"Best for: deep-work roles — engineers, designers, writers — who lose momentum to meeting-fragmented days.",generous_parental_leave:"Best for: people planning a family who want real paid time with a new child without a career penalty."};var L=e.i(642438);function B({scheduleType:e}){let t=(0,L.formatScheduleTypeLabel)(e),a=(0,L.getScheduleTypeDescription)(e),r=T[e],l=A[e];return r&&0!==r.length?(0,s.jsxs)("section",{className:"mt-12 rounded-2xl border border-rose-100/60 bg-gradient-to-br from-rose-50/40 via-white to-white p-6 shadow-sm shadow-rose-100/30 sm:p-8",children:[(0,s.jsxs)("div",{className:"flex items-start gap-4",children:[(0,s.jsx)("div",{className:"flex h-12 w-12 shrink-0 items-center justify-center rounded-xl bg-gradient-to-br from-rose-100 to-pink-100 ring-1 ring-rose-200/60",children:(0,s.jsx)(p.CalendarDays,{className:"h-6 w-6 text-rose-600","aria-hidden":"true"})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("h2",{className:"font-display text-2xl font-bold tracking-tight text-zinc-900",children:`How a ${t.toLowerCase()} works`}),a&&(0,s.jsx)("p",{className:"mt-2 text-sm leading-relaxed text-zinc-600",children:a})]})]}),(0,s.jsx)("ul",{className:"mt-6 space-y-3",children:r.map(e=>(0,s.jsxs)("li",{className:"flex items-start gap-3 text-sm text-zinc-700",children:[(0,s.jsx)(C.CheckCircle2,{className:"mt-0.5 h-4 w-4 shrink-0 text-emerald-500","aria-hidden":"true"}),(0,s.jsx)("span",{className:"leading-relaxed",children:e})]},e))}),l&&(0,s.jsxs)("div",{className:"mt-6 rounded-xl bg-rose-50/60 px-4 py-3 text-sm font-medium text-rose-900",children:[(0,s.jsx)(S.Sparkles,{className:"-mt-0.5 mr-1.5 inline h-4 w-4 align-middle text-rose-600","aria-hidden":"true"}),(0,s.jsx)("span",{children:l})]})]}):null}function F({scheduleType:e,canonicalSlug:t}){let r=(0,L.formatScheduleTypeLabel)(e);return(0,s.jsxs)(a.default,{href:`/${t}`,className:"mt-12 flex items-center gap-3 rounded-2xl border border-border/60 bg-white p-4 transition-shadow hover:shadow-md sm:p-5",children:[(0,s.jsx)(p.CalendarDays,{className:"h-5 w-5 flex-shrink-0 text-rose-600","aria-hidden":"true"}),(0,s.jsx)("span",{className:"flex-1 text-sm font-medium text-zinc-900",children:`Learn how a ${r.toLowerCase()} works`}),(0,s.jsx)(x.ArrowRight,{className:"h-4 w-4 text-zinc-400","aria-hidden":"true"})]})}var z=e.i(141974),R=e.i(167881),E=e.i(62870);e.i(558486);var P=e.i(216642),D=e.i(806908);let I=[{value:"score",label:"Work-Life Score"},{value:"jobs",label:"Most Jobs"},{value:"newest",label:"Newest"},{value:"alphabetical",label:"A-Z"}];e.s(["CompanyLandingPageBody",0,function({data:e,companySearchUrl:n,isRootPage:i,directory:o}){let{page:d}=e,[c,m]=(0,r.useState)(e.companies),[h,x]=(0,r.useState)(e.total),[p,g]=(0,r.useState)("score"),[f,b]=(0,r.useState)(!1),y=(0,r.useRef)(null),w=d.filters.schedule_type,N="schedule_type"===d.page_type&&!!w,C="compound"===d.page_type&&!!w,S=(0,r.useCallback)(async e=>{g(e),b(!0);try{let s=await (0,P.fetchCompanyLandingPage)(d.slug,{page:1,sort:e});m(s.companies),x(s.total),y.current?.scrollIntoView({behavior:"smooth",block:"start"})}catch{}finally{b(!1)}},[d.slug]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mx-auto max-w-7xl px-4 py-8 sm:px-6 lg:px-8",children:[(0,s.jsxs)("div",{className:"grid grid-cols-1 gap-8 lg:grid-cols-3",children:[(0,s.jsx)("main",{className:"min-w-0 space-y-4 lg:col-span-2",children:c.length>0||f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{ref:y,className:"mb-6 flex items-center justify-between",children:[(0,s.jsx)("p",{className:"text-sm text-slate-600",children:`${h.toLocaleStr
1ing("en-US")} ${1===h?"company":"companies"}`}),(0,s.jsxs)(E.Select,{value:p,onValueChange:S,children:[(0,s.jsx)(E.SelectTrigger,{className:"w-[180px]","data-testid":"select-company-sort",children:(0,s.jsx)(E.SelectValue,{placeholder:"Sort by"})}),(0,s.jsx)(E.SelectContent,{children:I.map(e=>(0,s.jsx)(E.SelectItem,{value:e.value,children:e.label},e.value))})]})]}),(0,s.jsx)("div",{"data-testid":"list-landing-companies",className:(0,D.cn)("flex flex-col gap-4 transition-opacity",f&&"pointer-events-none opacity-50"),children:c.map(e=>(0,s.jsx)(l.CompanyCard,{company:e,variant:"list"},e.id))}),h>c.length&&!f&&(0,s.jsx)("div",{className:"mt-8 text-center",children:(0,s.jsx)(R.Button,{variant:"outline",className:"min-w-[200px]",asChild:!0,children:(0,s.jsx)(a.default,{href:n,rel:"nofollow",children:`See all ${h.toLocaleString("en-US")} companies`})})})]}):(0,s.jsxs)("div",{className:"rounded-2xl border p-12 text-center",children:[(0,s.jsx)(t.Building2,{className:"mx-auto h-12 w-12 text-slate-300"}),(0,s.jsx)("h3",{className:"mt-4 font-semibold text-slate-900",children:"No companies available right now"}),(0,s.jsx)("p",{className:"mt-2 text-sm text-slate-500",children:"Check back soon or browse all companies to find what you are looking for."}),(0,s.jsx)(R.Button,{className:"mt-6",variant:"brand",asChild:!0,children:(0,s.jsx)(a.default,{href:"/company-search",children:"Browse All Companies"})})]})}),(0,s.jsx)("aside",{className:"lg:col-span-1",children:(0,s.jsx)("div",{className:"sticky top-24 space-y-6",children:(0,s.jsx)(u,{page:d,companies:c,relatedPages:e.related_pages})})})]}),N&&w&&(0,s.jsx)(B,{scheduleType:w}),C&&w&&(0,s.jsx)(F,{scheduleType:w,canonicalSlug:`${$[w]}-companies`}),(0,s.jsx)(v,{avgScore:d.stats?.avg_work_life_score,companyCount:h}),(0,s.jsx)(_,{lastUpdated:d.updated_at})]}),o&&(0,s.jsx)(j,{directory:o,currentPageType:i?void 0:d.page_type,isRootPage:i}),d.faqs&&d.faqs.length>0&&(0,s.jsx)(k.LandingPageFAQs,{faqs:d.faqs}),h>c.length&&(0,s.jsx)(z.StickyMobileCta,{label:`Browse all ${h.toLocaleString("en-US")} companies`,href:n,testId:"company-landing-sticky-cta",surface:"companies_landing",slug:d.slug,nofollow:!0})]})}],74108)},162558,e=>{"use strict";var s=e.i(271645);e.i(558486);var t=e.i(964556);e.s(["CompanyViewTracker",0,function({companySlug:e}){let a=(0,s.useRef)(!1);return(0,s.useEffect)(()=>{if(a.current)return;a.current=!0;let s="u">typeof document?document.referrer:void 0;(0,t.trackCompanyView)(e,s).catch(()=>{})},[e]),null}])}]);
2
3//# chunkId=91fd30ba-66ec-5e58-8678-44b94a5a9150

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.