PageSourceSearch

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

js 4dayweek.io collected 2026-10-02 06:14:08 UTC 33,670 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]="7b0d20d8-4232-5fb4-819e-c59ec483040e")}catch(e){}}();(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,551831,e=>{"use strict";var t=e.i(843476),s=e.i(63727),a=e.i(260289),r=e.i(263488),i=e.i(555436),n=e.i(522016),l=e.i(271645),o=e.i(167881),d=e.i(513793);e.i(64107);var c=e.i(806908),m=e.i(158795);function x(){return(0,t.jsx)("span",{className:"mr-3 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white",children:(0,t.jsxs)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})})}e.s(["AuthAwareCTA",0,function({leadLine:e,variant:u="card"}){let[h,p]=(0,l.useState)(!1),[b,g]=(0,l.useState)(!1),[f,j]=(0,l.useState)(null);(0,l.useEffect)(()=>{g(document.cookie.includes("logged_in=1")),j((0,d.getUserRoleFromCookie)()),p(!0)},[]);let y="inline"===u,w=(0,c.cn)("h-12 rounded-xl bg-brand-pink text-base font-semibold text-white shadow-md shadow-rose-200/60 transition-all hover:bg-rose-700 hover:shadow-lg",y?"w-full px-6 sm:w-auto":"w-full"),v=(0,c.cn)("h-12 rounded-xl border border-border-strong bg-white text-base font-semibold text-brand-gray-700 shadow-sm transition-all hover:border-border-emphasis hover:text-brand-gray-900 hover:shadow-md",y?"w-full px-6 sm:w-auto":"mt-3 w-full"),N=e=>y?(0,t.jsx)("div",{className:"mx-auto mt-7 flex max-w-md flex-col items-center justify-center gap-3 sm:flex-row",children:e}):(0,t.jsx)("div",{className:"mx-auto mt-8 max-w-sm",children:(0,t.jsx)("div",{className:"rounded-2xl border border-rose-200/80 bg-white/95 p-6 shadow-2xl shadow-rose-100/40 backdrop-blur-sm sm:p-7",children:e})});return N(h&&b?"company"===f?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{type:"button",asChild:!0,className:w,children:(0,t.jsxs)(n.default,{href:"/employer/jobs/new",children:[(0,t.jsx)(s.Briefcase,{className:"mr-3 h-5 w-5 shrink-0"}),"Post a Job"]})}),(0,t.jsx)(o.Button,{type:"button",asChild:!0,className:v,children:(0,t.jsxs)(n.default,{href:"/employer",children:[(0,t.jsx)(a.LayoutDashboard,{className:"mr-3 h-5 w-5 shrink-0"}),"Go to Dashboard"]})})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.Button,{type:"button",asChild:!0,className:w,children:(0,t.jsxs)(n.default,{href:"/job-search",children:[(0,t.jsx)(i.Search,{className:"mr-3 h-5 w-5 shrink-0"}),"Browse Jobs"]})}),(0,t.jsx)(o.Button,{type:"button",asChild:!0,className:v,children:(0,t.jsxs)(n.default,{href:"/dashboard",children:[(0,t.jsx)(a.LayoutDashboard,{className:"mr-3 h-5 w-5 shrink-0"}),"Go to Dashboard"]})})]}):(0,t.jsxs)(t.Fragment,{children:[!y&&e&&(0,t.jsx)("p",{className:"mb-4 text-sm font-medium text-brand-gray-600",children:e}),(0,t.jsxs)(o.Button,{type:"button",onClick:()=>(0,m.redirectToGoogleAuth)({prompt:"consent"}),className:w,children:[(0,t.jsx)(x,{}),(0,t.jsx)("span",{children:"Sign up with Google"})]}),(0,t.jsx)(o.Button,{type:"button",asChild:!0,className:v,children:(0,t.jsxs)(n.default,{href:"/signup",children:[(0,t.jsx)(r.Mail,{className:"mr-3 h-5 w-5 shrink-0"}),"Sign up with Email"]})}),!y&&(0,t.jsx)("p",{className:"mt-4 text-center text-sm text-brand-gray-600",children:"Free forever. No credit card required."})]}))}])},488300,e=>{"use strict";var t=e.i(843476),s=e.i(972520),a=e.i(657150),a=a,r=e.i(283086),i=e.i(620278),n=e.i(569074),l=e.i(522016),o=e.i(195716);let d=[{icon:i.Target,title:"Define your ideal role",desc:"Role type, location, salary, and the schedule you actually want."},{icon:n.Upload,title:"Upload your resume",desc:"Answer a handful of screening questions. You only do this once."},{icon:a.default,title:"Get daily applications",desc:"It finds matching roles and applies for you — review each one, or let it run hands-off."}];e.s(["AutoApplySection",0,function(){return(0,t.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-b from-white via-rose-50/50 to-white py-16 sm:py-20","data-testid":"home-auto-apply",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0","aria-hidden":"true",children:[(0,t.jsx)("div",{className:"absolute -left-24 top-1/4 h-[380px] w-[380px] rounded-full bg-rose-100/50 blur-3xl"}),(0,t.jsx)("div",{className:"absolute -right-24 bottom-0 h-[320px] w-[320px] rounded-full bg-indigo-100/40 blur-3xl"})]}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-5xl px-4 text-center sm:px-6",children:[(0,t.jsxs)("div",{className:"mb-4 inline-flex items-center gap-2 rounded-full bg-white px-4 py-1.5 text-sm font-medium text-brand-pink shadow-sm ring-1 ring-rose-100",children:[(0,t.jsx)(r.Sparkles,{className:"h-4 w-4","aria-hidden":"true"}),(0,t.jsx)("span",{children:"Auto Apply · JobCopilot"})]}),(0,t.jsxs)("h2",{className:"font-display text-3xl font-black leading-[1.1] tracking-tight text-brand-gray-900 sm:text-4xl",children:["Land"," ",(0,t.jsx)("span",{className:"bg-gradient-to-r from-brand-pink via-pink-500 to-fuchsia-500 bg-clip-text text-transparent",children:"10x more interviews"}),(0,t.jsx)("br",{className:"hidden sm:block"})," without the Sunday-night applying."]}),(0,t.jsxs)("p",{className:"mx-auto mt-4 max-w-2xl text-lg text-brand-gray-600 [text-wrap:pretty]",children:["JobCopilot auto-applies to"," ",(0,t.jsx)("span",{className:"font-semibold text-brand-gray-900",children:"500,000+ verified career pages"}),". Set it up once — it works the days you don’t."]}),(0,t.jsx)("div",{className:"mt-14 grid gap-8 sm:grid-cols-3",children:d.map((e,s)=>(0,t.jsxs)("div",{className:"relative text-center",children:[s<d.length-1&&(0,t.jsx)("div",{className:"absolute left-[calc(50%+44px)] top-8 hidden h-0.5 w-[calc(100%-88px)] bg-gradient-to-r from-rose-200 to-pink-200 sm:block","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative mx-auto mb-4 inline-flex",children:[(0,t.jsx)("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-white shadow-lg shadow-rose-100/60 ring-1 ring-rose-100",children:(0,t.jsx)(e.icon,{className:"h-7 w-7 text-brand-pink","aria-hidden":"true"})}),(0,t.jsx)("div",{className:"absolute -right-2 -top-2 flex h-7 w-7 items-center justify-center rounded-full bg-gradient-to-br from-rose-500 to-pink-500 text-xs font-bold text-white shadow-lg",children:s+1})]}),(0,t.jsx)("h3",{className:"text-[17px] font-black tracking-tight text-brand-gray-900",children:e.title}),(0,t.jsx)("p",{className:"mx-auto mt-1.5 max-w-[16rem] text-sm leading-relaxed text-brand-gray-600",children:e.desc})]},e.title))}),(0,t.jsxs)("p",{className:"mt-12 flex flex-wrap items-center justify-center gap-x-3 gap-y-1 text-sm text-brand-gray-600",children:[(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-semibold text-brand-gray-900",children:"50"})," applications a day"]}),(0,t.jsx)("span",{className:"text-brand-gray-300","aria-hidden":"true",children:"·"}),(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"font-semibold text-brand-gray-900",children:"500k+"})," career pages"]})]}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center gap-3",children:[(0,t.jsxs)(l.default,{href:"/auto-apply?ref=homepage-autoapply-section",onClick:()=>(0,o.fireEvent)(o.FathomEvents.AutoApplyCardClick),className:"flex h-14 items-center justify-center rounded-xl bg-gradient-to-r from-emerald-500 via-green-500 to-teal-500 px-8 text-base font-semibold text-white shadow-lg shadow-emerald-200/60 transition-all hover:from-emerald-600 hover:via-green-600 hover:to-teal-600 hover:shadow-xl focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-emerald-500 focus-visible:ring-offset-2",children:[(0,t.jsx)("span",{children:"Start Auto-Applying Today"}),(0,t.jsx)(s.ArrowRight,{className:"ml-2 h-5 w-5","aria-hidden":"true"})]}),(0,t.jsxs)("p",{className:"text-sm text-brand-gray-600",children:["From ",(0,t.jsx)("span",{className:"font-semibold text-brand-gray-900",children:"$0.93/day"})," · Cancel anytime"]})]})]})]})}],488300)},71642,e=>{"use strict";var t=e.i(843476),s=e.i(972520),a=e.i(522016),r=e.i(271645),i=e.i(513793),n=e.i(195716),l=e.i(551831);e.s(["BottomCTA",0,function(){let[e,o]=(0,r.useState)(!1),[d,c]=(0,r.useState)(!1),[m,x]=(0,r.useState)(null);(0,r.useEffect)(()=>{c(document.cookie.includes("logged_in=1")),x((0,i.getUserRoleFromCo
1okie)()),o(!0)},[]);let u="company"===m,{title:h,titlePrefix:p,subtitle:b}=e&&d?u?{title:"Work-Life Balance",titlePrefix:"Reach Top Talent Seeking ",subtitle:"Post your jobs and connect with professionals seeking 4-day week opportunities."}:{title:"4-Day Week Role",titlePrefix:"Find Your Next ",subtitle:"Browse roles at companies offering reduced work schedules."}:{title:"Work-Life Balance?",titlePrefix:"Ready for a Better ",subtitle:"Join professionals who found their dream job with a 4-day work week. Create your free account in seconds."};return(0,t.jsxs)("section",{className:"relative overflow-hidden bg-gradient-to-br from-rose-100 via-pink-50/50 via-50% to-indigo-50/60 py-16 sm:py-20",children:[(0,t.jsxs)("div",{className:"pointer-events-none absolute inset-0 opacity-70 sm:opacity-100","aria-hidden":"true",children:[(0,t.jsx)("div",{className:"absolute -left-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,t.jsx)("div",{className:"absolute -bottom-32 -right-24 h-[400px] w-[400px] rounded-full bg-gradient-to-tr from-indigo-300 via-violet-200 to-purple-100 opacity-60 blur-3xl"}),(0,t.jsx)("div",{className:"absolute left-1/2 top-1/3 h-[300px] w-[300px] -translate-x-1/2 rounded-full bg-gradient-to-br from-rose-200/60 to-violet-100/50 opacity-60 blur-3xl"})]}),(0,t.jsxs)("div",{className:"relative mx-auto max-w-2xl px-4 text-center sm:px-6",children:[(0,t.jsx)("h2",{className:"font-display text-3xl font-black tracking-tight text-brand-gray-900 sm:text-4xl",children:`${p}${h}`}),(0,t.jsx)("p",{className:"mx-auto mt-4 max-w-lg text-lg leading-relaxed text-brand-gray-700 [text-wrap:pretty]",children:b}),(0,t.jsx)(l.AuthAwareCTA,{variant:"inline"}),!(e&&d)&&(0,t.jsx)("p",{className:"mt-4 text-sm text-brand-gray-600",children:"Free forever. No credit card required."}),!u&&(0,t.jsx)("p",{className:"mt-5 text-sm text-brand-gray-700",children:(0,t.jsxs)(a.default,{href:"/auto-apply?ref=homepage-bottom-cta",onClick:()=>(0,n.fireEvent)(n.FathomEvents.AutoApplyCardClick),className:"inline-flex items-center gap-1.5 font-semibold underline-offset-4 transition-colors hover:text-brand-gray-900 hover:underline",children:[(0,t.jsx)("span",{children:"Or apply faster with Auto Apply"}),(0,t.jsx)(s.ArrowRight,{className:"h-4 w-4","aria-hidden":"true"})]})})]})]})}])},663030,e=>{"use strict";var t=e.i(843476),s=e.i(972520),a=e.i(37727),r=e.i(88653),i=e.i(532181),n=e.i(772328),l=e.i(522016),o=e.i(271645),d=e.i(715411);let c="countdown-widget-dismissed",m=[{key:"years",label:"yrs"},{key:"days",label:"days"},{key:"hours",label:"hrs"},{key:"minutes",label:"min"},{key:"seconds",label:"sec"}];e.s(["CountdownWidget",0,function(){let[e,x]=(0,o.useState)("hidden"),[u,h]=(0,o.useState)(null),p=(0,n.useReducedMotion)();return((0,o.useEffect)(()=>{!function(){try{return"1"===localStorage.getItem(c)}catch{return!1}}()&&(h((0,d.calculateElapsed)(Date.now())),x("visible"))},[]),(0,o.useEffect)(()=>{if("visible"!==e)return;let t=setInterval(()=>{h((0,d.calculateElapsed)(Date.now()))},1e3);return()=>clearInterval(t)},[e]),"hidden"!==e&&u)?(0,t.jsx)("div",{className:"fixed bottom-4 right-4 z-40 hidden md:block",children:(0,t.jsx)(r.AnimatePresence,{children:"visible"===e&&(0,t.jsxs)(i.motion.div,{"data-testid":"countdown-widget",initial:p?{opacity:0}:{opacity:0,y:16,scale:.97},animate:{opacity:1,y:0,scale:1},exit:p?{opacity:0,transition:{duration:.2,ease:"easeOut"}}:{opacity:0,y:8,scale:.97,transition:{duration:.2,ease:"easeOut"}},transition:{duration:.35,ease:"easeOut",delay:.6},className:"w-72 rounded-2xl border border-slate-200/80 bg-white/95 p-4 shadow-2xl shadow-slate-200/50 backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsxs)("span",{className:"relative flex h-1.5 w-1.5",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-ping rounded-full bg-rose-400 opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex h-1.5 w-1.5 rounded-full bg-brand-pink"})]}),(0,t.jsx)("span",{className:"text-xs font-semibold uppercase tracking-widest text-slate-700",children:"Since the 5-day week began"})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{try{localStorage.setItem(c,"1")}catch{}x("dismissed")},"data-testid":"countdown-widget-dismiss","aria-label":"Dismiss countdown",className:"-mr-1 -mt-1 shrink-0 rounded-md p-1 text-slate-400 transition-colors hover:bg-slate-100 hover:text-slate-600 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-pink",children:(0,t.jsx)(a.X,{className:"h-3.5 w-3.5"})})]}),(0,t.jsx)("div",{role:"timer","aria-label":"Time elapsed since the 5-day work week began",className:"mt-3 grid grid-cols-5 ga
1p-1.5",children:m.map(({key:e,label:s})=>(0,t.jsxs)("div",{className:"rounded-lg bg-slate-50 px-0.5 py-1.5 text-center ring-1 ring-slate-100",children:[(0,t.jsx)("span",{className:"block font-display text-sm font-bold tabular-nums text-slate-900",children:u[e]}),(0,t.jsx)("span",{className:"mt-0.5 block text-xs font-semibold uppercase tracking-wider text-slate-400",children:s})]},e))}),(0,t.jsx)("div",{className:"mt-3",children:(0,t.jsxs)(l.default,{href:"/40-hour-work-week",className:"group inline-flex items-center gap-1 text-sm font-semibold text-brand-pink transition-colors hover:text-rose-700",children:["Read the full story",(0,t.jsx)(s.ArrowRight,{className:"h-3.5 w-3.5 transition-transform group-hover:translate-x-0.5"})]})})]})})}):null}])},512834,e=>{"use strict";var t=e.i(843476),s=e.i(664659),a=e.i(522016),r=e.i(271645);e.i(64107);var i=e.i(806908);function n({faq:e,isOpen:l,onToggle:o}){let d=(0,r.useId)();return(0,t.jsxs)("div",{className:"border-b border-border-subtle last:border-b-0",children:[(0,t.jsxs)("button",{type:"button",onClick:o,"aria-expanded":l,"aria-controls":d,className:"flex w-full items-center justify-between gap-4 px-5 py-4 text-left transition-colors hover:bg-brand-gray-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-rose-500/40 sm:px-6",children:[(0,t.jsx)("span",{className:"font-bold text-brand-gray-900",children:e.question}),(0,t.jsx)(s.ChevronDown,{className:(0,i.cn)("h-4 w-4 shrink-0 text-brand-gray-600 transition-transform duration-200",l&&"rotate-180"),"aria-hidden":"true"})]}),(0,t.jsx)("div",{id:d,inert:!l||void 0,className:(0,i.cn)("grid transition-all duration-200 ease-in-out",l?"grid-rows-[1fr]":"grid-rows-[0fr]"),children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("p",{className:"px-5 pb-5 text-[15px] leading-relaxed text-brand-gray-600 sm:px-6",children:function(e){if(!e.links?.length)return e.text;let s=[],r=e.text;for(let{phrase:i,href:n}of e.links){let e=r.indexOf(i);-1!==e&&(e>0&&s.push(r.slice(0,e)),s.push((0,t.jsx)(a.default,{href:n,className:"font-medium text-brand-pink hover:text-rose-700 underline decoration-rose-200 hover:decoration-rose-400 transition-colors",children:i},`${n}-${i}`)),r=r.slice(e+i.length))}return s.push(r),s}(e)})})})]})}e.s(["FaqSection",0,function({faqs:e}){let[s,a]=(0,r.useState)(0);return(0,t.jsx)("section",{className:"bg-white py-16 sm:py-20",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"mb-10 text-center",children:[(0,t.jsx)("h2",{className:"font-display text-3xl font-black tracking-tight text-brand-gray-900 sm:text-4xl",children:"Frequently Asked Questions"}),(0,t.jsx)("p",{className:"mt-3 text-lg text-brand-gray-600",children:"The short version of everything people ask us"})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-brand-gray-200 bg-white shadow-sm",children:e.map((e,r)=>(0,t.jsx)(n,{faq:e,isOpen:s===r,onToggle:()=>a(s===r?-1:r)},e.question))})]})})}])},657453,e=>{"use strict";var t=e.i(843476),s=e.i(571930),a=e.i(271645),r=e.i(193872);e.i(64107);var i=e.i(158795);e.s(["SaveNudgeDialog",0,function({open:e,jobTitle:n,jobSlug:l,onKeepBrowsing:o}){let d=(0,a.useRef)(null),c=(0,a.useRef)(o);if(c.current=o,(0,a.useEffect)(()=>{if(!e)return;(0,r.track)("home_save_nudge_shown",{});let t=document.activeElement instanceof HTMLElement?document.activeElement:null,s=d.current;s?.querySelector("button")?.focus();let a=e=>{if("Escape"===e.key){e.preventDefault(),c.current();return}if("Tab"===e.key&&s){let t=Array.from(s.querySelectorAll("button")),a=t[0],r=t[t.length-1];if(!a||!r)return;e.shiftKey&&document.activeElement===a?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),a.focus())}};return document.addEventListener("keydown",a),()=>{document.removeEventListener("keydown",a),t?.focus()}},[e]),!e)return null;let m=()=>{(0,r.track)("home_save_nudge_dismissed",{}),o()};return(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"fixed inset-0 z-[60] bg-brand-gray-900/25 backdrop-blur-[2px]",onClick:m,"aria-hidden":"true"}),(0,t.jsxs)("div",{ref:d,role:"dialog","aria-modal":"true","aria-labelledby":"save-nudge-title","data-state":"open","data-testid":"home-save-nudge",className:"fixed inset-x-5 top-24 z-[70] mx-auto max-w-sm animate-pop rounded-2xl border border-rose-200/80 bg-white p-6 shadow-2xl shadow-rose-100/40",children:[(0,t.jsx)("span",{className:"flex h-11 w-11 items-center justify-center rounded-xl bg-rose-50 text-brand-pink",children:(0,t.jsx)(s.Bookmark,{className:"h-5 w-5",fill:"currentColor","aria-hidden":"true"})}),(0,t.jsx)("h2",{id:"save-nudge-title",className:"mt-4 font-display text-xl font-black tracking-tight text-brand-gray-900",children:"Nice pick. Keep it?"}),(0,t.jsxs)("p",{className:"mt-2 text-[15px] leading-relaxed text-brand-gray-600 [text-wrap:pretty]",children:[(0,t.jsx)("span",{children:"Sign up free and we’ll hold your shortlist, watch"})," ",n?(0,t.jsx)("span",{className:"font-medium",children:n}):(0,t.jsx)("span",{children:"this role"}),(0,t.jsx)("span",{children:", and match you with similar ones. Takes under 2 minutes."})]}),(0,t.jsxs)("div",{className:"mt-5 grid gap-2",children:[(0,t.jsxs)("button",{type:"button",onClick:()=>{(0,r.track)("home_save_nudge_signup_clicked",{}),(0,i.redirectToGoogleAuth)({prompt:"consent",redirect:l?`/job/${l}`:void 0})},className:"flex h-11 items-center justify-center rounded-xl bg-brand-pink text-base font-semibold text-white shadow-md shadow-rose-200/60 transition-all hover:bg-rose-700",children:[(0,t.jsx)("span",{className:"mr-3 flex h-6 w-6 shrink-0 items-center justify-center rounded-full bg-white",children:(0,t.jsxs)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24","aria-hidden":"true",children:[(0,t.jsx)("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})}),(0,t.jsx)("span",{children:"Sign up with Google"})]}),(0,t.jsx)("button",{type:"button",onClick:m,className:"h-11 rounded-xl text-sm font-semibold text-brand-gray-600 transition-colors hover:bg-brand-gray-100",children:"Keep browsing"})]})]})]})}])},169162,e=>{"use strict";var t=e.i(843476),s=e.i(972520),a=e.i(571930),r=e.i(270756),i=e.i(6
157688),n=e.i(522016),l=e.i(618566),o=e.i(271645),d=e.i(846696),c=e.i(657453),m=e.i(697162);e.i(371851);var x=e.i(636388);e.i(558486);var u=e.i(980218),h=e.i(12244),p=e.i(482754);let b={schedule_types:["4_day_week","4_day_week_pro_rata","compressed_week"],work_arrangements:["remote"],posted_after:60,sort:"work_life_score",limit:100};function g(e){return!0===e.locked}e.i(64107);var f=e.i(806908),j=e.i(642438),y=e.i(182547),w=e.i(56428),v=e.i(699354),N=e.i(510237),k=e.i(88852);function S(){let{has:e,loading:s}=(0,m.useEntitlements)(),a=e(v.SLUG_AD_FREE_BROWSING),[r,i]=(0,o.useState)(null);return((0,o.useEffect)(()=>{if(s||a)return void i(null);let e=!1;return(0,k.getActiveAdvert)().then(t=>{e||i(t)}).catch(()=>{e||i(null)}),()=>{e=!0}},[s,a]),r)?(0,t.jsx)(N.AdvertJobCard,{advert:r,size:"lg"}):null}var _=e.i(63112),C=e.i(364059),A=e.i(474419);function E({job:e,proViewer:s,position:a}){let i=(0,l.useRouter)(),o=(0,_.useImpression)(()=>{s||(0,C.trackPaywallImpression)({surface:"home_locked_row",trigger:"home_locked_job",job_id:e.id,position:a,logged_in:(0,C.isLoggedInClient)()})}),c=(0,A.proUpsellLinkProps)({surface:"home_locked_row",trigger:"home_locked_job",origin:"/",job:e,position:a}),m=(0,y.getLocationBadgeInfo)(e).label,x=e.schedule_type?(0,j.formatScheduleTypeLabel)(e.schedule_type):null;return(0,t.jsxs)(n.default,{ref:o,href:c.href,rel:c.rel,prefetch:!1,onClick:t=>{let a=t.metaKey||t.ctrlKey||t.shiftKey||0!==t.button;!s||a?c.onClick(t):(t.preventDefault(),(0,u.fetchUnlockSlug)(e.id).then(({slug:e})=>i.push(`/job/${e}`)).catch(e=>{(0,h.reportHandled)(e,{area:"home.latestJobs.unlockSlug"}),d.toast.error("Failed to open this job. Please try again.")}))},"aria-haspopup":"dialog","data-testid":"home-job-locked",className:"group block border-b border-border-subtle bg-rose-50/30 px-5 py-5 transition-colors last:border-b-0 hover:bg-rose-50/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-pink focus-visible:ring-inset",children:[(0,t.jsx)("span",{className:"sr-only",children:"Locked job. Opens the Pro upsell dialog."}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"mt-0.5 flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-lg bg-rose-100 text-rose-700 ring-1 ring-rose-200/60","aria-hidden":"true",children:(0,t.jsx)(r.Lock,{className:"h-4 w-4"})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h3",{className:"min-w-0 truncate text-lg font-bold text-brand-gray-900",children:e.title}),(0,t.jsx)("span",{className:"-mr-1.5 -mt-1 flex h-9 w-9 shrink-0 items-center justify-center text-rose-400","aria-hidden":"true",children:(0,t.jsx)(r.Lock,{className:"h-4 w-4"})})]}),(0,t.jsx)("p",{className:"text-sm font-medium italic text-brand-gray-600",children:"Company hidden · Pro early access"}),(0,t.jsxs)("div",{className:"mt-0.5 flex flex-wrap items-center gap-1 text-sm text-brand-gray-600",children:[(0,t.jsx)("span",{children:m}),e.posted>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-brand-gray-300","aria-hidden":"true",children:"·"}),(0,t.jsx)("time",{dateTime:new Date(1e3*e.posted).toISOString(),suppressHydrationWarning:!0,children:(0,w.formatCompactTime)(new Date(1e3*e.posted))})]})]}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-1.5",children:[x&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap rounded-full bg-emerald-50 px-3 py-1 text-sm font-medium text-emerald-800 ring-1 ring-inset ring-emerald-200",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-400","aria-hidden":"true"}),(0,t.jsx)("span",{children:x})]}),e.salary&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap rounded-full bg-emerald-50 px-3 py-1 text-sm font-medium tabular-nums text-emerald-800 ring-1 ring-inset ring-emerald-200",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-400","aria-hidden":"true"}),(0,t.jsx)("span",{children:e.salary})]}),(0,t.jsxs)("span",{className:"ml-auto inline-flex items-center gap-1 rounded-full bg-zinc-900 px-3 py-1 text-xs font-semibold text-white shadow-sm transition-opacity pointer-fine:opacity-0 pointer-fine:group-hover:opacity-100 pointer-fine:group-focus-visible:opacity-100",children:[(0,t.jsx)(r.Lock,{className:"h-3 w-3","aria-hidden":"true"}
1),(0,t.jsx)("span",{children:"Unlock with Pro"})]})]})]})]})]})}let B="homeSaveNudgeShown";function L({job:e,onAnonymousSave:s,proEarlyAccess:l=!1}){let{isJobSaved:o,toggleSaveJob:c}=(0,x.useSavedJobs)(),m=o(e.id),u=e.company?.name||e.company_name||"Unknown",h=e.company?.slug,p=e.company?.logo_url,b=(0,y.getLocationBadgeInfo)(e).label,g=e.schedule_type?(0,j.formatScheduleTypeLabel)(e.schedule_type):null,v=async t=>{if(t.preventDefault(),t.stopPropagation(),!s(e))try{await c({id:e.id,slug:e.slug,title:e.title,companyName:u},"homepage")}catch{d.toast.error("Failed to save job. Please try again.")}};return(0,t.jsx)("article",{"data-testid":"home-job",className:(0,f.cn)("relative border-b border-border-subtle px-5 py-5 transition-colors last:border-b-0",m?"bg-rose-50/40":"bg-white hover:bg-brand-gray-50/60"),children:(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("div",{className:"mt-0.5 flex-shrink-0",children:p?(0,t.jsx)(i.default,{src:p,alt:`${u} logo`,width:40,height:40,className:"h-10 w-10 rounded-lg object-cover ring-1 ring-border-subtle"}):(0,t.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-brand-gray-100 text-xs font-bold text-brand-gray-600 ring-1 ring-border-subtle",children:u.slice(0,2).toUpperCase()})}),(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,t.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,t.jsx)("h3",{className:"min-w-0 truncate text-lg font-bold text-brand-gray-900",children:(0,t.jsxs)(n.default,{href:`/job/${e.slug}`,prefetch:!1,className:"transition-colors hover:text-brand-pink",children:[(0,t.jsx)("span",{"aria-hidden":"true",className:"absolute inset-0 z-0"}),(0,t.jsx)("span",{children:e.title})]})}),(0,t.jsx)("button",{type:"button",onClick:v,"aria-label":m?"Remove saved job":"Save job","aria-pressed":m,"data-testid":"home-job-save",className:(0,f.cn)("relative z-10 -mr-1.5 -mt-1 flex h-9 w-9 shrink-0 items-center justify-center rounded-lg transition-all duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-rose-500/40",m?"text-brand-pink":"text-brand-gray-400 hover:bg-rose-50 hover:text-brand-pink"),children:(0,t.jsx)(a.Bookmark,{className:"h-[18px] w-[18px]",fill:m?"currentColor":"none","aria-hidden":"true"})})]}),(0,t.jsx)("p",{className:"text-sm font-medium text-brand-gray-600",children:h?(0,t.jsx)(n.default,{href:`/company/${h}`,prefetch:!1,"data-testid":"home-job-company",className:"relative z-10 hover:underline",children:u}):u}),(0,t.jsxs)("div",{className:"mt-0.5 flex flex-wrap items-center gap-1 text-sm text-brand-gray-600",children:[(0,t.jsx)("span",{children:b}),e.posted>0&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"text-brand-gray-300","aria-hidden":"true",children:"·"}),(0,t.jsx)("time",{dateTime:new Date(1e3*e.posted).toISOString(),suppressHydrationWarning:!0,children:(0,w.formatCompactTime)(new Date(1e3*e.posted))})]})]}),(0,t.jsxs)("div",{className:"mt-2 flex flex-wrap items-center gap-1.5",children:[g&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap rounded-full bg-emerald-50 px-3 py-1 text-sm font-medium text-emerald-800 ring-1 ring-inset ring-emerald-200",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-400","aria-hidden":"true"}),(0,t.jsx)("span",{children:g})]}),e.salary&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap rounded-full bg-emerald-50 px-3 py-1 text-sm font-medium tabular-nums text-emerald-800 ring-1 ring-inset ring-emerald-200",children:[(0,t.jsx)("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full bg-emerald-400","aria-hidden":"true"}),(0,t.jsx)("span",{children:e.salary})]}),l&&(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 whitespace-nowrap rounded-full bg-rose-50 px-3 py-1 text-sm font-medium text-rose-800 ring-1 ring-inset ring-rose-200","data-testid":"home-job-pro-badge",children:[(0,t.jsx)(r.Lock,{className:"h-3 w-3 shrink-0","aria-hidden":"true"}),"Pro early access"]})]})]})]})})}e.s(["LatestJobsSection",0,function({jobs:e,poolTotal:a,siteTotal:r}){let i=(0,l.useRouter)(),{isLoggedIn:d}=(0,x.useSavedJobs)(),[f,j]=(0,o.useState)(null),{proViewer:y,reveal:w}=function(e){let{resolved:t,has:s}=(0,m.useEntitlements)(),a=t&&s(v.SLUG_EARLY_ACCESS),r=e.some(g),[i,n]=(0,o.useState)(null);return(0,o.useEffect)(()=>
1{if(!a||!r)return;let e=new AbortController;return(0,u.fetchJobs)(b,!1,{signal:e.signal,gated:!0}).then(e=>n({byId:new Map(e.jobs.map(e=>[e.id,e])),cutoff:e.meta?.early_access_cutoff})).catch(e=>{e instanceof DOMException&&"AbortError"===e.name||(0,h.reportHandled)(e,{area:"home.latestJobs.proReveal",severity:"warning"})}),()=>e.abort()},[a,r]),{proViewer:a,reveal:i}}(e),N=a&&a>0?a.toLocaleString("en-GB"):null,k=r&&r>0?r.toLocaleString("en-GB"):null,_=e=>{if(d)return!1;if(function(){try{return"1"===sessionStorage.getItem(B)}catch{return!0}}()){let t=new URLSearchParams({redirect:`/job/${e.slug}`,reason:"save",job_title:e.title,company_name:e.company?.name||e.company_name||"Unknown"});return i.push(`/signup?${t.toString()}`),!0}try{sessionStorage.setItem(B,"1")}catch{}return j(e),!0};return 0===e.length?null:(0,t.jsxs)("section",{className:"bg-white py-16 sm:py-20","data-testid":"home-latest-jobs",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-3xl px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"mb-8 text-center",children:[(0,t.jsx)("h2",{className:"font-display text-3xl font-black tracking-tight text-brand-gray-900 sm:text-4xl",children:"Top Remote 4 Day Week Jobs"}),(0,t.jsxs)("p",{className:"mt-3 text-lg text-brand-gray-600",children:[(0,t.jsxs)("span",{className:"relative mr-1.5 inline-flex h-2.5 w-2.5 align-middle",children:[(0,t.jsx)("span",{className:"absolute inline-flex h-full w-full animate-breathe rounded-full bg-emerald-400"}),(0,t.jsx)("span",{className:"relative inline-flex h-2.5 w-2.5 rounded-full bg-emerald-500"})]}),N&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"font-semibold tabular-nums text-brand-gray-900",children:N})," ",(0,t.jsx)("span",{children:"live ·"})," "]}),(0,t.jsx)("span",{children:"schedules verified with every company"})]})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-brand-gray-200",children:e.map((e,s)=>(0,t.jsxs)(o.Fragment,{children:[((e,s)=>{if(!g(e))return(0,t.jsx)(L,{job:e,onAnonymousSave:_});let a=w?.byId.get(e.id);return a?(0,t.jsx)(L,{job:a,onAnonymousSave:_,proEarlyAccess:(0,p.isEarlyAccessJob)(a,w?.cutoff)}):(0,t.jsx)(E,{job:e,proViewer:y,position:s})})(e,s+1),3===s&&(0,t.jsx)(S,{})]},e.id))}),(0,t.jsxs)("div",{className:"mt-8 flex flex-col items-center justify-center gap-3 sm:flex-row",children:[(0,t.jsxs)(n.default,{href:"/job-search?schedule_types=4_day_week%2C4_day_week_pro_rata%2Ccompressed_week%2Crotating_4_day",className:"flex h-11 w-full max-w-xs items-center justify-center rounded-xl bg-brand-gray-900 px-5 text-sm font-semibold text-white shadow-sm transition-all hover:bg-brand-gray-700 sm:w-auto",children:["More 4-day week jobs",(0,t.jsx)(s.ArrowRight,{className:"ml-2 h-4 w-4","aria-hidden":"true"})]}),(0,t.jsx)(n.default,{href:"/job-search",className:"flex h-11 w-full max-w-xs items-center justify-center rounded-xl border border-border-strong bg-white px-5 text-sm font-semibold text-brand-gray-700 shadow-sm transition-colors hover:border-border-emphasis sm:w-auto",children:`Browse all ${k?`${k} `:""}jobs`})]})]}),(0,t.jsx)(c.SaveNudgeDialog,{open:null!==f,jobTitle:f?.title??null,jobSlug:f?.slug??null,onKeepBrowsing:()=>j(null)})]})},"LatestJobsSectionSkeleton",0,function(){return(0,t.jsx)("section",{className:"bg-white py-16 sm:py-20",children:(0,t.jsxs)("div",{className:"mx-auto max-w-3xl px-4 sm:px-6",children:[(0,t.jsxs)("div",{className:"mb-8 flex flex-col items-center",children:[(0,t.jsx)("div",{className:"h-9 w-72 animate-pulse rounded-lg bg-brand-gray-100"}),(0,t.jsx)("div",{className:"mt-3 h-6 w-64 animate-pulse rounded-lg bg-brand-gray-100"})]}),(0,t.jsx)("div",{className:"overflow-hidden rounded-2xl border border-brand-gray-200",children:[...Array(10)].map((e,s)=>(0,t.jsx)("div",{className:"h-[120px] animate-pulse border-b border-border-subtle bg-brand-gray-50/60 last:border-b-0"},s))})]})})}],169162)}]);
2
3//# chunkId=7b0d20d8-4232-5fb4-819e-c59ec483040e

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.