PageSourceSearch

https://www.guild.ai/_next/static/chunks/9021.e1551c780c48eeb4.js

js guild.ai collected 2026-10-03 19:56:40 UTC 10,317 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9021],{6809:e=>{e.exports={wizard:"WizardFormSimple_wizard__LjqcH",wizard__heading:"WizardFormSimple_wizard__heading___jy_W",wizard__subtext:"WizardFormSimple_wizard__subtext__O_KTl",wizardLogo:"WizardFormSimple_wizardLogo__9cHeO",wizardLottieLight:"WizardFormSimple_wizardLottieLight__7501u",wizardLottieDark:"WizardFormSimple_wizardLottieDark__ZVQzu",wizardBody:"WizardFormSimple_wizardBody__tqOd1",wizardContent:"WizardFormSimple_wizardContent__1Q8F5",wizardFields:"WizardFormSimple_wizardFields___IVgU",fieldRow:"WizardFormSimple_fieldRow__3HJzX",fieldWrap:"WizardFormSimple_fieldWrap__UtoXB",fieldError:"WizardFormSimple_fieldError__GQOQO",submitError:"WizardFormSimple_submitError__P2Qm_",textInput:"WizardFormSimple_textInput__B5cuy",textInputError:"WizardFormSimple_textInputError__rxlgH",textInputWithCheck:"WizardFormSimple_textInputWithCheck__1KtRr",textInputCheck:"WizardFormSimple_textInputCheck__1WAL4",submitWrap:"WizardFormSimple_submitWrap___Spnf",completion:"WizardFormSimple_completion__b78ur",completionLogo:"WizardFormSimple_completionLogo__58hXj",completionContent:"WizardFormSimple_completionContent__tPi1C",completionIcon:"WizardFormSimple_completionIcon__ALrXT",completionTitle:"WizardFormSimple_completionTitle__95CTi",completionText:"WizardFormSimple_completionText__C1z1X"}},80734:(e,i,t)=>{"use strict";t.d(i,{G:()=>r});let r=[{id:"email",label:"Work email",type:"email",required:!0,placeholder:"[email protected]"},{id:"firstname",label:"First name",type:"text",required:!0,placeholder:"First name",row:"name"},{id:"lastname",label:"Last name",type:"text",required:!0,placeholder:"Last name",row:"name"},{id:"role",label:"What's your role?",type:"dropdown",required:!0,options:[{label:"Executive / C-suite",value:"executive",score:20},{label:"VP / Head of Engineering",value:"vp_engineering",score:20},{label:"Engineering Manager",value:"engineering_manager",score:15},{label:"Staff / Principal Engineer",value:"staff_engineer",score:10},{label:"Platform / DevOps Lead",value:"platform_lead",score:10},{label:"Other",value:"other",score:5}]},{id:"team_size",label:"How large is your engineering team?",type:"dropdown",required:!0,options:[{label:"1–10 engineers",value:"1-10",score:5},{label:"11–50 engineers",value:"11-50",score:10},{label:"51–150 engineers",value:"51-150",score:20},{label:"151–500 engineers",value:"151-500",score:20},{label:"500+ engineers",value:"500+",score:15}]},{id:"agent_use",label:"What best describes your team's use of AI agents?",type:"dropdown",required:!0,options:[{label:"Running agents in production",value:"production",score:25},{label:"Piloting with a few teams",value:"piloting",score:20},{label:"Individual exploration",value:"individual",score:10},{label:"Evaluating / haven't started",value:"evaluating",score:5}]},{id:"challenge",label:"What's your biggest challenge scaling AI agents?",type:"dropdown",required:!0,options:[{label:"Visibility across the org",value:"visibility",score:10},{label:"Controlling agent access",value:"access_control",score:10},{label:"Quality & security of outputs",value:"quality_security",score:10},{label:"Compliance & audit requirements",value:"compliance",score:10},{label:"Managing cost / token spend",value:"cost",score:5},{label:"We're not scaling yet",value:"not_scaling",score:0}]},{id:"primary_use_case",label:"What's your primary use case?",type:"dropdown",required:!0,options:[{label:"Automated code review",value:"code_review"},{label:"Ticket triage",value:"ticket_triage"},{label:"Incident response",value:"incident_response"},{label:"Security scanning",value:"security_scanning"},{label:"Custom workflows",value:"custom_workflows"},{label:"Other",value:"other"}]},{id:"timeline",label:"What's your timeline?",type:"dropdown",required:!0,options:[{label:"Now — actively evaluating",value:"now",score:25},{label:"This quarter",value:"this_quarter",score:20},{label:"This year",value:"this_year",score:10},{label:"Just exploring",value:"exploring",score:5}]}]},84435:(e,i,t)=>{"use strict";t.d(i,{J:()=>l});var r=t(80734);let a=["role","team_size","agent_use","challenge","timeline"];function l(e){let i={},t=0;for(let l of a){let a=r.G.find(e=>e.id===l);if(!a?.options){i[l]=0;continue}let o=e[l],s=o?a.options.find(e=>e.value===o):void 0,n=s?.score??0;i[l]=n,t+=n}"now"===e.timeline&&e.role&&"other"!==e.role&&t<40&&(t=40),"1-10"===e.team_size&&"other"===e.role&&t>39&&(t=39);let l=t>=70?"Hot":t>=40?"Warm":"Nurture";return{total:t,tier:l,breakdown:i}}},89021:(e,i,t)=>{"use strict";t.r(i),t.d(i,{WizardFormSimple:()=>j});var r=t(37876),a=t(14232),l=t(54587),o=t.n(l),s=t(60196),n=t(33845),d=t.n(n),c=t(77260),u=t(97502),m=t(41484),p=t(2510),_=t(19754),h=t(10259),b=t(94065),g=t(16273),f=t(17056),v=t(80734),w=t(84435),x=t(6809),y=t.n(x);let z=new Set(v.G.map(e=>e.id)),W=e=>/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}$/i.test(e),S=e=>{let i=e.split("@")[1]?.toLowerCase();return!i||!m.A.includes(i)},j=e=>{let{onClose:i,prefillEmail:t,prefill:l}=e,[n,m]=(0,a.useState)(()=>((e,i)=>{let t={};for(let[i,r]of Object.entries(e||{}))z.has(i)&&"string"==typeof r&&r.trim()&&(t[i]=r.trim());return i&&(t.email=i),t})(l,t)),[x,j]=(0,a.useState)({}),[k,C]=(0,a.useState)(new Set),[F,N]=(0,a.useState)(!1),[I,E]=(0,a.useState)(!1),[L,q]=(0,a.useState)(!1),T=(0,a.useRef)(null);(0,a.useEffect)(()=>{let e=setTimeout(()=>{let e=T.current;if(!e)return;let i=e.querySelector('input, button[role="combobox"]');i?.focus()},200);return()=>clearTimeout(e)},[]);let P=(0,a.useCallback)(e=>{e&&e.addEventListener("wheel",e=>e.stopPropagation())},[]),$=(0,a.useCallback)((e,i)=>{m(t=>({...t,[e]:i})),j(i=>{let t={...i};return delete t[e],t})},[]),O=(0,a.useCallback)(()=>{let e={};for(let i of v.G){if(!i.required)continue;let t=n[i.id]||"";if("email"===i.type)if(t)if(W(t)){if(!S(t)){let r=t.split("@")[1];e[i.id]=`Please enter a business email (not ${r})`}}else e[i.id]="Please enter a valid email address";else e[i.id]="Required";else t.trim()||(e[i.id]="Required")}return j(e),0===Object.keys(e).length},[n]),G=(0,a.useCallback)(()=>
1{if(!T.current)return;let e=T.current.querySelector(`.${y().textInputError}, [class*="dropdownError"]`);if(e){e.scrollIntoView({behavior:"smooth",block:"center"});let i=e.querySelector('input, button[role="combobox"]');i&&setTimeout(()=>i.focus(),300)}},[]),A=(0,a.useCallback)(async()=>{if(!O())return void requestAnimationFrame(()=>G());N(!0),q(!1);let e=(0,w.J)(n),i={};for(let[e,t]of Object.entries(n))"string"==typeof t&&t.trim()&&(i[e]=t);for(let[t,r]of(i.lead_score=String(e.total),i.lead_tier=e.tier,i.form_version="simple",Object.entries((0,_.G)())))r&&(i[t]=r);try{await (0,p.r)(h.$.hubspotPortalId,"d18ff330-b7b0-4b46-ba0f-e07af1e8fbc1",i),N(!1),E(!0)}catch(e){console.error("HubSpot submission failed:",e),N(!1),q(!0)}},[n,O,G]),H=(0,a.useCallback)(e=>{if(!e)return;let i=e.closest('[class*="modal__window"]');i&&(i.style.setProperty("--modal-bg","#141414"),i.style.setProperty("--modal-close-bg","#2a2a2a"),i.style.setProperty("--color-font","#fff"))},[]),R=e=>{let i=n[e.id]||"",t=!!x[e.id],a=k.has(e.id)&&i.trim().length>0&&!t,l=()=>C(i=>new Set(i).add(e.id));return"email"===e.type?(0,r.jsxs)("div",{className:`${y().fieldWrap} ${a?y().textInputWithCheck:""}`,children:[(0,r.jsx)("input",{type:"email",className:`${y().textInput} ${t?y().textInputError:""}`,placeholder:e.placeholder||e.label,value:i,onChange:i=>$(e.id,i.target.value),onBlur:l}),a&&(0,r.jsx)(f.J,{className:y().textInputCheck}),t&&(0,r.jsx)("span",{className:y().fieldError,children:x[e.id]})]}):"text"===e.type?(0,r.jsxs)("div",{className:`${y().fieldWrap} ${a?y().textInputWithCheck:""}`,children:[(0,r.jsx)("input",{type:"text",className:`${y().textInput} ${t?y().textInputError:""}`,placeholder:e.placeholder||e.label,value:i,onChange:i=>$(e.id,i.target.value),onBlur:l}),a&&(0,r.jsx)(f.J,{className:y().textInputCheck}),t&&(0,r.jsx)("span",{className:y().fieldError,children:x[e.id]})]}):(0,r.jsx)("div",{className:y().fieldWrap,children:(0,r.jsx)(g.n,{label:e.label,options:e.options,value:i,onChange:i=>$(e.id,i),error:t})})};return I?(0,r.jsxs)(s.PY1.div,{ref:H,className:y().completion,initial:{backgroundColor:"rgba(20, 20, 20, 0)"},animate:{backgroundColor:"rgba(20, 20, 20, 1)"},transition:{duration:.5,ease:"easeInOut"},children:[(0,r.jsx)("div",{className:y().completionLogo,children:(0,r.jsx)(d(),{animationData:u,loop:!1,autoplay:!0,style:{width:155}})}),(0,r.jsxs)(s.PY1.div,{className:y().completionContent,initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.3,ease:"easeOut"},children:[(0,r.jsx)("h2",{className:y().completionTitle,children:"Thanks!"}),(0,r.jsx)(o(),{src:"/videos/key-dark.gif",alt:"Confirmation",width:120,height:120,className:y().completionIcon,unoptimized:!0}),(0,r.jsx)("p",{className:y().completionText,children:"We'll be in touch."}),(0,r.jsx)(b.$,{appearance:"primary-dark",onClick:i,children:"Explore Guild.ai"})]})]}):(0,r.jsx)("div",{className:y().wizard,children:(0,r.jsxs)("div",{ref:P,className:y().wizardBody,children:[(0,r.jsxs)("div",{className:y().wizardLogo,children:[(0,r.jsx)("div",{className:y().wizardLottieLight,children:(0,r.jsx)(d(),{animationData:c,loop:!1,autoplay:!0,style:{width:155}})}),(0,r.jsx)("div",{className:y().wizardLottieDark,children:(0,r.jsx)(d(),{animationData:u,loop:!1,autoplay:!0,style:{width:155}})})]}),(0,r.jsxs)("div",{className:y().wizardContent,children:[(0,r.jsx)("h1",{className:y().wizard__heading,children:"See How Guild Works"}),(0,r.jsx)("p",{className:y().wizard__subtext,children:"Tell us a bit about your team and we'll be in touch."}),(0,r.jsx)("div",{ref:T,className:y().wizardFields,children:(()=>{let e=[],i=0;for(;i<v.G.length;){let t=v.G[i];if(t.row){let l=[];for(;i<v.G.length&&v.G[i].row===t.row;)l.push(v.G[i]),i++;e.push((0,r.jsx)("div",{className:y().fieldRow,children:l.map(e=>(0,r.jsx)(a.Fragment,{children:R(e)},e.id))},`row-${t.row}`))}else e.push((0,r.jsx)(a.Fragment,{children:R(t)},t.id)),i++}return e})()}),L&&(0,r.jsx)("p",{className:y().submitError,children:"There was an error submitting the form. Please try again."}),(0,r.jsx)("div",{className:y().submitWrap,children:(0,r.jsx)(b.$,{appearance:"primary",size:"medium",disabled:F,onClick:A,children:F?"Submitting…":"Submit"})})]})]})})}}}]);

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.