PageSourceSearch

https://spawnlabs.ai/_next/static/chunks/19297-8021e8e19fc5e6ac.js

js spawnlabs.ai collected 2026-10-05 12:56:36 UTC 15,471 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[19297],{16067:(e,s,t)=>{"use strict";t.d(s,{default:()=>r});var a=t(95155),l=t(52619),n=t.n(l),i=t(46809);function r(){let{user:e,isAuthenticated:s,loading:t}=(0,i.A)();if(t)return(0,a.jsx)("div",{className:"slh-nav-cta","aria-hidden":"true"});if(s&&e){let s=e.profile_picture||e.avatar_url;return(0,a.jsx)("div",{className:"slh-nav-cta",children:(0,a.jsxs)(n(),{href:"/new",className:"slh-nav-open",title:e.email||"",children:[(0,a.jsx)("span",{className:"slh-nav-me","aria-hidden":"true",children:s?(0,a.jsx)("img",{src:s,alt:""}):function(e){var s,t;let a=([null==e?void 0:e.first_name,null==e?void 0:e.last_name].filter(Boolean).join(" ")||(null==e?void 0:e.name)||(null==e?void 0:e.email)||"").replace(/@.*/,"").split(/[\s._-]+/).filter(Boolean);return(((null==(s=a[0])?void 0:s[0])||"")+((null==(t=a[1])?void 0:t[0])||"")).toUpperCase()||"\xb7"}(e)}),"Dashboard",(0,a.jsx)("span",{className:"slh-sq","aria-hidden":"true"})]})})}return(0,a.jsxs)("div",{className:"slh-nav-cta",children:[(0,a.jsx)("a",{href:"https://auth.spawnlabs.ai/login",className:"slh-link-quiet",children:"Log in"}),(0,a.jsxs)(n(),{href:"/request-access",className:"slh-btn slh-btn-ink",children:["Request access ",(0,a.jsx)("span",{className:"slh-sq","aria-hidden":"true"})]})]})}},21007:()=>{},96745:(e,s,t)=>{"use strict";t.r(s),t.d(s,{HeroNodes:()=>d,Nav:()=>r,PixelField:()=>y,PixelMark:()=>m,Reveal:()=>i,StoryBlock:()=>b,VideoFacade:()=>x,WorkerFlow:()=>p});var a=t(95155),l=t(12115);function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.2,s=(0,l.useRef)(null),[t,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let t=s.current;if(!t)return;if("undefined"==typeof IntersectionObserver)return void a(!0);let l=new IntersectionObserver(e=>{let[s]=e;s.isIntersecting&&(a(!0),l.disconnect())},{threshold:Math.min(e,.1),rootMargin:"0px 0px 6% 0px"});return l.observe(t),()=>l.disconnect()},[e]),[s,t]}function i(e){let{as:s="div",delay:t=0,className:l="",style:i,children:r,...c}=e,[o,d]=n();return(0,a.jsx)(s,{ref:o,className:"slh-reveal ".concat(d?"is-in":""," ").concat(l),style:{...i,transitionDelay:"".concat(t,"ms")},...c,children:r})}function r(e){let{children:s}=e,[t,n]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>n(window.scrollY>24);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,a.jsx)("header",{className:"slh-nav ".concat(t?"is-scrolled":""),children:s})}let c=[{x:62,y:16,label:"Tender found",body:"Switchgear replacement for a water utility. Matches your scope and licences.",meta:"Closes in 24 days"},{x:86,y:24,label:"Invoice sent",body:"Pay application checked against the contract and sent to the client portal.",meta:"Due in 30 days"},{x:72,y:37,label:"Monthly report ready",body:"Margin, cash and pipeline for every job, pulled from the books and written up for the partners.",meta:"Reporting"},{x:93,y:46,label:"Licence renewed",body:"State registration renewed two weeks before it lapsed. Certificate filed.",meta:"Compliance"},{x:58,y:52,label:"Contract reviewed",body:"Payment terms, retainage and change-order clauses flagged before signing.",meta:"Contracts"},{x:81,y:58,label:"Daily report filed",body:"Crew hours, photos and one delay captured on site, linked to the next invoice.",meta:"Field records"},{x:66,y:70,label:"Bond letter requested",body:"Surety asked for a bid bond so the tender can go out on time.",meta:"Waiting on surety"},{x:91,y:75,label:"Timesheets reconciled",body:"Hours matched to jobs and cost codes, exceptions flagged, ready for payroll.",meta:"Payroll"},{x:57,y:84,label:"Permit submitted",body:"Application, drawings and fees lodged with the city. Inspection booked.",meta:"Permits"},{x:76,y:79,label:"Payment received",body:"Retainage released after two follow-ups. Matched to the job and closed.",meta:"Collections"},{x:76,y:9},{x:96,y:12},{x:54,y:32}],o=c.map((e,s)=>e.label?s:-1).filter(e=>e>=0);function d(){let e=(0,l.useRef)(null),[s,t]=(0,l.useState)({w:0,h:0}),[n,i]=(0,l.useState)(-1),[r,d]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let s=e.current;if(!s)return;let a=()=>t({w:s.clientWidth,h:s.clientHeight});if(a(),"undefined"==typeof ResizeObserver)return;let l=new ResizeObserver(a);return l.observe(s),()=>l.disconnect()},[]),(0,l.useEffect)(()=>{var e,s;let t,a,l=null==(e=(s=window).matchMedia)?void 0:e.call(s,"(prefers-reduced-motion: reduce)").matches,n=0,r=()=>{let e=o[n%o.length];n+=1,i(e),t=setTimeout(()=>d(!0),l?200:1400),a=setTimeout(()=>{d(!1),t=setTimeout(r,l?700:560)},l?5e3:4800)},c=setTimeout(r,900);return()=>
1[c,t,a].forEach(clearTimeout)},[]);let h=o.indexOf(n),u=h<0?[]:[2,1,0].map(e=>o[(h-e+o.length)%o.length]),m=e=>[c[e].x/100*s.w,c[e].y/100*s.h],p=u.map(e=>m(e).join(",")).join(" "),x=0;for(let e=1;e<u.length;e++){let[s,t]=m(u[e-1]),[a,l]=m(u[e]);x+=Math.hypot(a-s,l-t)}return(0,a.jsxs)("div",{ref:e,className:"slh-nodes","aria-hidden":"true",children:[s.w>0&&u.length>0&&(0,a.jsxs)("svg",{className:"slh-node-lines",viewBox:"0 0 ".concat(s.w," ").concat(s.h),style:{"--len":x},children:[(0,a.jsx)("polyline",{className:"slh-node-line",points:p},"l-".concat(n)),(0,a.jsx)("polyline",{className:"slh-node-pulse",points:p},"p-".concat(n))]}),c.map((e,s)=>{let t=s===n,l=u.includes(s),i=e.x>74,o=e.y>58;return(0,a.jsxs)("span",{className:"slh-node ".concat(e.label?"":"is-dot"," ").concat(l?"is-labelled":""," ").concat(t?"is-on":""," ").concat(t&&r?"is-open":""),style:{left:"".concat(e.x,"%"),top:"".concat(e.y,"%")},children:[(0,a.jsx)("span",{className:"slh-node-sq"}),e.label&&(0,a.jsx)("em",{className:(e=>{let s=u.indexOf(e);if(s<0)return c[e].x>74;let[t]=m(e);return[u[s-1],u[s+1]].filter(e=>null!=e).reduce((e,s)=>e+(m(s)[0]-t),0)>0})(s)?"is-left":"",children:e.label}),e.label&&(0,a.jsxs)("span",{className:"slh-node-card ".concat(t&&r?"is-open":""," ").concat(i?"fx":""," ").concat(o?"fy":""),style:{"--hold":"".concat(3400,"ms")},children:[(0,a.jsx)("b",{children:e.label}),(0,a.jsx)("span",{className:"slh-node-body",children:e.body}),(0,a.jsx)("i",{children:e.meta}),(0,a.jsx)("span",{className:"slh-node-hold"})]})]},s)})]})}let h=[{tab:"Tender",worker:"Bid worker",index:"01",days:"24d",title:"Switchgear replacement",buyer:"Water utility",where:"Public portal \xb7 pre-bid meeting in 6 days",money:"1.4",unit:"M",moneyCap:"Published",match:"92",matchCap:"Match",cautions:["Bid bond needed","Site visit mandatory"],stages:["Reading the notice","Checking eligibility","Sizing it","Writing the response","Ready to send"],needs:["Bond letter","Site-visit attendee","Signature"]},{tab:"Invoice",worker:"Billing worker",index:"08",days:"Oct",title:"Pay application 8",buyer:"Clinic fit-out, phase 2",where:"Client portal \xb7 contract 61% complete",money:"81,937",unit:"",moneyCap:"Due this period",match:"5%",matchCap:"Retainage",cautions:["Change order 3 included"],stages:["Reading the record","Checking the contract","Pricing the period","Writing the invoice","Ready to send"],needs:["Approve and send"]},{tab:"Report",worker:"Reporting worker",index:"10",days:"Oct",title:"Monthly report",buyer:"All active jobs",where:"14 jobs \xb7 3 divisions",money:"18.4%",unit:"",moneyCap:"Margin",match:"41",matchCap:"Days to paid",cautions:["2 jobs over on labour"],stages:["Closing the books","Reconciling jobs","Ageing receivables","Writing the summary","Ready to share"],needs:["Partner sign-off"]}],u={Tender:{steps:[["Notice","212 pages read \xb7 64 requirements"],["Licence","State electrical \xb7 current to 2028"],["Past work","Similar job, 2025 \xb7 reference ready"],["Pricing","38 lines \xb7 $1.38M"]],out:"Draft response",to:"to the buyer’s portal",text:"Technical volume drafted in the buyer’s order, section by section, with the priced schedule attached.",via:"via bids@yourf
1irm.com",done:"Ready for review"},Invoice:{steps:[["Site record","Daily reports and photos matched"],["Contract","Rates, 5% retainage, change order 3"],["Period","4 lines \xb7 $81,937 due"],["Portal","Client’s format and cover sheet"]],out:"Invoice",to:"to accounts payable",text:"Pay application 8 for the period to 31 October, backup attached. Follow-up set for day 30.",via:"via [email protected]",done:"Ready to send"},Report:{steps:[["Books","October closed"],["Jobs","14 reconciled \xb7 2 over on labour"],["Cash","Receivables aged \xb7 3 overdue"],["Pipeline","9 open bids \xb7 2 due this week"]],out:"Partner report",to:"to the partners",text:"Margin 18.4%, up 1.8 points. Two jobs over on labour, with the reasons. Three calls need a decision this week.",via:"via [email protected]",done:"Ready to share"}};function m(e){let{name:s}=e,t=0;for(let e of s)t=31*t+e.charCodeAt(0)>>>0;let l=[];for(let e=0;e<5;e++)for(let s=0;s<3;s++)t>>3*e+s&1&&(l.push([s,e]),s<2&&l.push([4-s,e]));return(0,a.jsx)("svg",{className:"slh-bd-mark",viewBox:"0 0 5 5",shapeRendering:"crispEdges","aria-hidden":"true",children:l.map(e=>{let[s,l]=e;return(0,a.jsx)("rect",{x:s,y:l,width:"1",height:"1",fill:"hsl(".concat(t%360," 28% 46%)")},"".concat(s,"-").concat(l))})})}function p(){let[e,s]=n(.35),[t,i]=(0,l.useState)(0),[r,c]=(0,l.useState)(0),[o,d]=(0,l.useState)(!1),p=h[t],x=p.stages.length;(0,l.useEffect)(()=>{var e,t;let a;if(!s)return;if(null==(e=(t=window).matchMedia)?void 0:e.call(t,"(prefers-reduced-motion: reduce)").matches)return void c(x);c(0);let l=0,n=setInterval(()=>{c(l+=1),l>=x&&(clearInterval(n),o||(a=setTimeout(()=>i(e=>(e+1)%h.length),3600)))},900);return()=>{clearInterval(n),clearTimeout(a)}},[s,t,o,x]);let b=r>=x,y=p.stages[Math.min(r,x-1)],f=u[p.tab],v=r>=x-2,j=r>=x-1,g=function(e,s){let t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:16,[a,n]=(0,l.useState)(0);return(0,l.useEffect)(()=>{var a,l;if(!s)return void n(0);if(null==(a=(l=window).matchMedia)?void 0:a.call(l,"(prefers-reduced-motion: reduce)").matches)return void n(e.length);let i=0,r=setInterval(()=>{n(Math.min(i+=2,e.length)),i>=e.length&&clearInterval(r)},t);return()=>clearInterval(r)},[e,s,t]),e.slice(0,a)}(f.text,s&&v);return(0,a.jsxs)("div",{ref:e,className:"slh-flow",children:[(0,a.jsx)("div",{className:"slh-bd-tabs",role:"tablist","aria-label":"Examples",children:h.map((e,s)=>(0,a.jsxs)("button",{type:"button",role:"tab","aria-selected":s===t,className:s===t?"is-on":"",onClick:()=>{d(!0),i(s)},children:[s===t&&(0,a.jsx)("i",{"aria-hidden":"true"}),e.tab]},e.tab))}),(0,a.jsxs)("article",{className:"slh-bd-card ".concat(b?"is-needs":"is-running"),children:[(0,a.jsx)("span",{className:"slh-bd-crown",children:(0,a.jsx)("i",{style:{width:"".concat(Math.min(r,x)/x*100,"%")}})}),(0,a.jsxs)("div",{className:"slh-bd-rubric",children:[(0,a.jsx)("span",{className:"slh-bd-index",children:p.index}),(0,a.jsx)("span",{className:"slh-bd-rule"}),(0,a.jsx)("span",{className:"slh-bd-days",children:p.days})]}),(0,a.jsx)("h4",{className:"slh-bd-title",children:p.title}),(0,a.jsxs)("div",{className:"slh-bd-buyer",children:[(0,a.jsx)(m,{name:p.buyer}),(0,a.jsx)("span",{children:p.buyer})]}),(0,a.jsx)("div",{className:"slh-bd-where",children:p.where}),(0,a.jsxs)("div",{className:"slh-bd-figures",children:[(0,a.jsxs)("div",{className:"slh-bd-money",children:[(0,a.jsxs)("b",{children:[!p.money.endsWith("%")&&(0,a.jsx)("sup",{children:"$"}),p.money,p.unit&&(0,a.jsx)("small",{children:p.unit})]}),(0,a.jsx)("span",{children:p.moneyCap})]}),(0,a.jsxs)("div",{className:"slh-bd-match",children:[(0,a.jsx)("b",{children:p.match}),(0,a.jsx)("span",{children:p.matchCap})]})]}),(0,a.jsx)("div",{className:"slh-bd-cautions",children:p.cautions.map(e=>(0,a.jsx)("span",{children:e},e))}),(0,a.jsx)("div",{className:"slh-bd-spine","aria-label":"Stage: ".concat(b?p.stages[x-1]:y),children:p.stages.map((e,s)=>(0,a.jsx)("i",{className:s<r?"is-done":s===r?"is-live":""},e))}),(0,a.jsxs)("div",{className:"slh-bd-stage",children:[(0,a.jsx)("span",{children:b?p.stages[x-1]:y},y),(0,a.jsxs)("em",{children:[Math.min(r+1,x)," / ",x]})]}),(0,a.jsx)("footer",{className:"slh-bd-foot",children:b?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"slh-bd-needs-label",children:"Needs you"}),(0,a.jsx)("span",{className:"slh-bd-needs",children:p.needs.map(e=>(0,a.jsx)("span",{children:e},e))})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"slh-bd-dot","aria-hidden":"true"}),(0,a.jsxs)("span",{children:[(0,a.jsx)("b",{children:p.worker})," \xb7 ",(0,a.jsx)("span",{className:"slh-bd-shimmer",children:y})]})]})})]},t),(0,a.jsxs)("div",{className:"slh-trail",children:[(0,a.jsx)("ol",{className:"slh-trail-steps",children:f.steps.map((e,s)=>{let[t,l]=e;return(0,a.jsxs)("li",{className:s<r||v&&s===f.steps.length-1?"is-on":"",children:[(0,a.jsx)("span",{className:"slh-trail-tick","aria-hidden":"true"}),(0,a.jsxs)("span",{className:"slh-trail-pill",children:[(0,a.jsx)("b",{children:t}),l]})]},t)})}),(0,a.jsxs)("div",{className:"slh-trail-out ".concat(v?"is-on":""),children:[(0,a.jsxs)("div",{className:"slh-trail-head",children:[(0,a.jsxs)("span",{children:[(0,a.jsx)("span",{className:"slh-trail-spark","aria-hidden":"true",children:"✦"})," Spawnlabs \xb7 ",f.out]}),(0,a.jsx)("span",{className:"slh-trail-to",children:f.to})]}),(0,a.jsxs)("p",{children:[g,v&&!j&&(0,a.jsx)("span",{className:"slh-caret","aria-hidden":"true"})]}),(0,a.jsxs)("div",{className:"slh-trail-foot",children:[(0,a.jsx)("span",{children:f.via}),(0,a.jsx)("span",{className:"slh-trail-state ".concat(j?"is-ready":""),children:j?f.done:"Drafting"})]})]})]},"trail-".concat(t))]})}function x(e){let{id:s,title:t,cover:l,playing:n,onPlay:i}=e;return(0,a.jsx)("div",{className:"slh-video",children:n?(0,a.jsx)("iframe",{src:"https://www.youtube-nocookie.com/embed/".concat(s,"?autoplay=1&rel=0&modestbranding=1"),title:t,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
1 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0}):(0,a.jsxs)("button",{type:"button",className:"slh-video-still",onClick:i,"aria-label":"Play: ".concat(t),children:[(0,a.jsx)("img",{src:l||"https://i.ytimg.com/vi/".concat(s,"/maxresdefault.jpg"),alt:"",loading:"lazy"}),(0,a.jsx)("span",{className:"slh-video-play","aria-hidden":"true",children:(0,a.jsx)("i",{})})]})})}function b(e){let{id:s,title:t,cover:n,statement:i,who:r,role:c,linkLabel:o="Watch the story"}=e,[d,h]=(0,l.useState)(!1);return(0,a.jsxs)("div",{className:"slh-story-grid",children:[(0,a.jsxs)("div",{className:"slh-story-text",children:[(0,a.jsx)("h2",{className:"slh-story-quote",children:i}),(0,a.jsx)("p",{className:"slh-story-who",children:r}),(0,a.jsxs)("button",{type:"button",className:"slh-story-link",onClick:()=>h(!0),children:[o," ",(0,a.jsx)("span",{"aria-hidden":"true",children:"›"})]})]}),(0,a.jsx)("div",{className:"slh-story-video",children:(0,a.jsx)(x,{id:s,title:t,cover:n,playing:d,onPlay:()=>h(!0)})})]})}function y(e){let{cols:s=56,rows:t=18,seed:l=7}=e,n=[],i=l>>>0,r=()=>(i=1664525*i+0x3c6ef35f>>>0)/0x100000000;for(let e=0;e<t;e++)for(let t=0;t<s;t++)if(.055>r()){let s=r();n.push({x:t,y:e,tone:s<.07?"c":s<.2?"k":s<.42?"d":"l",d:(9*r()).toFixed(2)})}return(0,a.jsx)("svg",{className:"slh-pixels",viewBox:"0 0 ".concat(s," ").concat(t),preserveAspectRatio:"xMidYMid slice","aria-hidden":"true",children:n.map(e=>(0,a.jsx)("rect",{x:e.x+.12,y:e.y+.12,width:"0.76",height:"0.76",className:"slh-px is-".concat(e.tone),style:{animationDelay:"".concat(e.d,"s")}},"".concat(e.x,"-").concat(e.y)))})}}}]);

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.