1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,933599,e=>{"use strict";var t=e.i(456420);let s={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};s.node;let a=(0,t.default)(s);e.s(["__iconData",0,s,"default",0,a])},96892,e=>{"use strict";var t=e.i(933599);e.s(["ArrowUp",()=>t.default])},334780,e=>{"use strict";var t=e.i(456420);let s={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]};s.node;let a=(0,t.default)(s);e.s(["__iconData",0,s,"default",0,a])},91511,e=>{"use strict";var t=e.i(334780);e.s(["Globe",()=>t.default])},217878,e=>{"use strict";var t=e.i(456420);let s={name:"smartphone",size:24,node:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]]};s.node;let a=(0,t.default)(s);e.s(["__iconData",0,s,"default",0,a])},814387,e=>{"use strict";var t=e.i(456420);let s={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};s.node;let a=(0,t.default)(s);e.s(["__iconData",0,s,"default",0,a])},263676,e=>{"use strict";var t=e.i(814387);e.s(["X",()=>t.default])},693742,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(307472);let r={listStyleType:"none",fontSize:18,marginBottom:12,backgroundImage:"url('https://static-data.chakrahq.com/assets/images/whatsapp/icons/check-50.png')",backgroundRepeat:"no-repeat",backgroundPosition:"0px 4px",backgroundSize:20,paddingLeft:32};function i({item:e}){let[a,l]=(0,s.useState)(!1);return(0,t.jsxs)("li",{style:r,className:"text-md font-normal cursor-pointer",onClick:()=>l(!a),children:[e.highlight&&(0,t.jsx)("span",{className:"underline font-semibold text-gray-700",children:e.highlight}),a&&(0,t.jsx)("p",{className:"text-sm mt-1",children:e.description})]})}function l({items:e}){let[a,n]=(0,s.useState)(!1);return((0,s.useLayoutEffect)(()=>{let e=()=>n(window.innerWidth<480);return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),a)?(0,t.jsx)("ul",{className:"pl-1.5 mb-1.5",children:e.map((e,s)=>(0,t.jsx)(i,{item:e},s))}):(0,t.jsx)("ul",{className:"pl-1.5",children:e.map((e,s)=>(0,t.jsxs)("li",{style:r,className:"text-md font-normal",children:[e.highlight&&(0,t.jsxs)("span",{children:[(0,t.jsx)("span",{className:"underline font-semibold text-gray-700",children:e.highlight})," - "]}),e.description]},s))})}e.s(["default",0,function({backgroundColorClass:e,title:r,description:i,imageUrl:n,imageAlt:o,imageAlign:c="left",knowMoreText:d="Know More",knowMoreUrl:m}){let x=function(){let[e,t]=(0,s.useState)(!1);return(0,s.useLayoutEffect)(()=>{function e(){t(window.innerWidth<480)}return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),e}(),u="md:flex gap-8 items-center py-8 px-4 sm:px-12 sm:py-12 max-w-screen-xl xl:gap-16 rounded-2xl mx-4 sm:mx-auto mb-8 sm:mb-12";u+="right"===c?" md:flex-row":" md:flex-row-reverse",e&&(u+=` ${e}`);let p=Array.isArray(i);return(0,t.jsxs)("div",{className:u,children:[(0,t.jsxs)("div",{className:"mt-4 md:mt-0 flex-1",children:[(0,t.jsx)("h2",{className:"mb-4 text-2xl text-center sm:text-left sm:text-4xl tracking-tight font-extrabold text-gray-900 px-2 sm:px-0",children:r}),"string"==typeof i&&(0,t.jsx)("p",{className:"mb-6 font-light text-gray-500 md:text-lg",children:i}),p&&(0,t.jsx)(l,{items:i}),!x&&m&&(0,t.jsxs)("div",{className:"text-purple-500",children:[(0,t.jsx)("a",{className:"text-lg text-purple-500 pl-6 underline",href:m,children:d})," ","â"]})]}),n&&(0,t.jsx)("div",{className:"flex justify-center items-center flex-1",children:(0,t.jsx)(a.default,{src:n,alt:o??"",className:"max-w-full"})}),x&&m&&(0,t.jsxs)("div",{className:"text-purple-500 mt-4 text-left",children:[(0,t.jsx)("a",{className:"text-lg text-purple-500 underline",href:m,children:d})," ","â"]})]})}],693742)},57676,e=>{"use strict";var t=e.i(423897);e.s(["Button",()=>t.default])},833404,e=>{"use strict";var t=e.i(973471);e.s(["NavbarSpacer",()=>t.default])},806095,e=>{"use strict";var t=e.i(843476),s=e.i(488679);e.s(["default",0,function(){return(0,t.jsx)("section",{className:"bg-white",children:(0,t.jsx)("div",{className:"py-12 sm:py-20 px-4 sm:px-6 mx-auto max-w-screen-xl",children:(0,t.jsxs)("div",{className:"mx-auto max-w-screen-sm text-center",children:[(0,t.jsx)("h2",{className:"mb-4 text-4xl tracking-tight font-extrabold leading-tight text-gray-900",children:"Start your free trial today"}),(0,t.jsx)("p",{className:"mb-6 font-light text-gray-500 md:text-lg",children:"Try Chakra Sales for 21 days. No credit card required."}),(0,t.jsx)("button",{className:"inline-flex items-center justify-center rounded-lg font-semibold cursor-pointer transition-colors duration-200 border-0 bg-purple-600 hover:bg-purple-800 text-white px-10 py-3 text-lg",onClick:()=>window.open(s.CALENDLY_URL,"_blank"),children:"Free trial for 21 days"})]})})})}])},397268,e=>{"use strict";var t=e.i(843476),s=e.i(271645);e.s(["default",0,function(){return(0,s.useEffect)(()=>
1{if(document.querySelector('script[src="https://static.senja.io/dist/platform.js"]'))return;let e=document.createElement("script");return e.src="https://static.senja.io/dist/platform.js",e.async=!0,e.type="text/javascript",document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]),(0,t.jsx)("section",{className:"bg-white",children:(0,t.jsxs)("div",{className:"py-12 sm:py-20 px-4 sm:px-6 mx-auto max-w-screen-xl",children:[(0,t.jsx)("div",{className:"text-center mb-6",children:(0,t.jsx)("h2",{className:"mb-4 text-3xl sm:text-4xl font-extrabold tracking-tight leading-tight text-center text-gray-900",children:"Few words of â¤ï¸ from our customers"})}),(0,t.jsx)("div",{className:"senja-embed block w-full","data-id":"50e9e46c-e55d-46d3-ae3a-bf9b694a1722","data-mode":"shadow","data-lazyload":"false"})]})})}],397268)},476951,e=>{"use strict";var t=e.i(843476);e.i(130228);var s=e.i(115715),a=e.i(833404);e.i(879121);var r=e.i(115863);e.s(["default",0,function({title:e,description:i,heroImgUrlDesktop:l,heroImgAltDesktop:n,heroImgUrlMobile:o,heroImgAltMobile:c,heroImgDesktopScale:d=!0,signupUrl:m,pricingPath:x,scheduleDemoUrl:u}){return(0,t.jsxs)("section",{className:"bg-white",children:[(0,t.jsx)(a.NavbarSpacer,{}),(0,t.jsxs)("div",{className:"gap-8 xl:gap-16 items-center pb-8 pt-4 sm:py-16 px-4 sm:px-6 mx-auto max-w-screen-xl md:grid md:grid-cols-2",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("div",{className:"relative flex rounded-full py-2 text-xs sm:text-base text-purple-600 ring-gray-900/30 hover:ring-gray-900/50 gap-3 items-center justify-center sm:justify-start",children:[(0,t.jsx)(s.Image,{src:"https://static-data.chakrahq.com/assets/images/whatsapp/whatsapp-logo.png",alt:"Whatsapp logo",className:"w-5 h-5"}),"Official WhatsApp API"]}),(0,t.jsx)("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold leading-tight sm:leading-normal md:leading-none tracking-tighter sm:mb-4 sm:mt-4 text-center sm:text-left",children:e}),o&&(0,t.jsx)("div",{className:"flex justify-center items-center sm:hidden",children:(0,t.jsx)(s.Image,{src:o,alt:c,className:"xl:scale-125 lg:scale-110 block sm:hidden max-h-[400px]"})}),(0,t.jsx)("div",{className:"max-w-2xl mb-6 lg:mb-8 md:text-lg lg:text-xl mt-4 sm:mt-0 mx-auto sm:mx-none",children:i}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start gap-4 sm:gap-0",children:[m&&(0,t.jsxs)("div",{children:[(0,t.jsx)("button",{className:"inline-flex items-center justify-center rounded-lg font-semibold cursor-pointer transition-colors duration-200 border-0 bg-purple-600 hover:bg-purple-800 text-white w-full mb-4 sm:w-auto sm:mb-0 px-10 py-2 mt-4 text-lg whitespace-nowrap",onClick:()=>window.open(m,"_blank"),children:"Start Free Trial"}),(0,t.jsxs)("div",{className:"text-sm text-gray-800 sm:mt-4 pl-1 justify-center sm:justify-start flex gap-1.5 items-center",children:[(0,t.jsx)(s.Image,{className:"h-6",src:"https://static-data.chakrahq.com/assets/images/whatsapp/icons/no-credit-cards-48.png",alt:"No Credit Card Required"}),(0,t.jsx)("span",{children:"No Credit Card Required"})]})]}),u&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"text-center sm:pt-6 hidden sm:block",children:(0,t.jsx)("span",{className:"text-lg text-gray-600 ml-3.5",children:"Or"})}),(0,t.jsxs)("div",{className:"flex justify-center mt-4 sm:mt-0",children:[(0,t.jsx)("div",{className:"text-center sm:pt-6",children:(0,t.jsx)("a",{href:"#",className:"text-bold items-center justify-center pl-2.5 pr-5 py-3 border border-transparent text-lg font-medium rounded-md hover:text-blue-600 text-blue-500 underline",onClick:e=>{e.preventDefault(),(0,r.openCalendlyModal)(u)},children:"Schedule A Demo"})}),x&&(0,t.jsx)("div",{className:"text-center sm:pt-6 sm:hidden",children:(0,t.jsx)("a",{href:x,className:"text-bold items-center justify-center px-5 py-3 border border-transparent text-lg font-medium rounded-md hover:text-blue-600 text-blue-500 underline",children:"Pricing & Plans"})})]})]})]})]}),l&&(0,t.jsx)("div",{className:"flex justify-center items-center mt-8",children:(0,t.jsx)(s.Image,{src:l,alt:n,className:`${d?"xl:scale-125 lg:scale-110":""} hidden sm:block max-w-full`})})]})]})}])},792295,e=>{"use strict";var t=e.i(843476),s=e.i(271645),a=e.i(96892),r=e.i(91511),i=e.i(217878),i=i,l=e.i(263676);e.i(130228);var n=e.i(57676),o=e.i(833404),c=e.i(488679);let d=["Build a CRM for my agency","Create a recipe sharing app","Make an internal inventory tracker","Build a booking app for my salon"],m=[{value:"web",label:"Web app",icon:r.Globe},{value:"mobile",label:"Mobile app",icon:i.default}];function x({onClick:e}){return(0,t.jsxs)("button",{type:"button",className:"gsi-material-button",onClick:e,children:[(0,t.jsx)("div",{className:"gsi-material-button-state"}),(0,t.jsxs)("div",{className:"gsi-material-button-content-wrapper",children:[(0,t.jsx)("div",{className:"gsi-material-button-icon",children:(0,t.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48 48",style:{display:"block"},children:[(0,t.jsx)("path",{fill:"#EA4335",d:"M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"}),(0,t.jsx)("path",{fill:"#4285F4",d:"M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"}),(0,t.jsx)("path",{fill:"#FBBC05",d:"M10.53 28.59c-.48-1.45-.76-2.99-.76-4.59s.27-3.14.76-4.59l-7.98-6.19C.92 16.46 0 20.12 0 24c0 3.88.92 7.54 2.56 10.78l7.97-6.19z"}),(0,t.jsx)("path",{fill:"#34A853",d:"M24 48c6.48 0 11.93-2.13 15.89-5.81l-7.73-6c-2.15 1.45-4.92 2.3-8.16 2.3-6.26 0-11.57-4.22-13.47-9.91l-7.98 6.19C6.51 42.62 14.62 48 24 48z"}),(0,t.jsx)("path",{fill:"none",d:"M0 0h48v48H0z"})]})}),(0,t.jsx)("span",{className:"gsi-material-button-contents",children:"Continue with Google"})]})]})}e.s(["default",0,function({title:e,description:r}
1){let[i,u]=(0,s.useState)(""),[p,h]=(0,s.useState)("web"),[g,f]=(0,s.useState)(!1),[b,w]=(0,s.useState)("checking"),[y,j]=(0,s.useState)(""),[v,N]=(0,s.useState)(0),k=(0,s.useRef)(null),C=(0,s.useRef)(null),A=(0,s.useRef)(""),S=(0,s.useRef)("web");function M(e){e.style.height="auto",e.style.height=`${Math.min(e.scrollHeight,240)}px`}let R=(0,s.useCallback)(()=>{let e=C.current?.contentWindow;e&&e.postMessage({type:"chakra-session-init",prompt:A.current,appType:S.current},c.CHAKRA_APP_URL)},[]);function z(){let e=i.trim().slice(0,4e3);e&&(A.current=e,S.current=p,j(""),w("checking"),N(e=>e+1),f(!0))}function _(){let e=new URLSearchParams({prompt:A.current,type:S.current,popup:"1",returnOrigin:window.location.origin}),t=`${c.CHAKRA_APP_URL}/user/app-builder-google-start?${e.toString()}`,s=Math.max(0,Math.round(window.screenX+(window.outerWidth-520)/2)),a=Math.max(0,Math.round(window.screenY+(window.outerHeight-680)/2)),r=window.open(t,"chakra-app-builder-google",`popup=yes,width=520,height=680,left=${s},top=${a}`);if(!r){window.location.href=t;return}w("awaitingGoogle"),j("");let i=window.setInterval(()=>{r.closed&&(window.clearInterval(i),w(e=>"awaitingGoogle"===e?(j("Google sign-in was cancelled. You can try again."),"error"):e))},500)}return(0,s.useEffect)(()=>{if(!g)return;let e=e=>{if(e.origin!==c.CHAKRA_APP_URL)return;let t=e.data;if(t&&"chakra-session"===t.type){if("ready"===t.status)return void R();if("auth-success"===t.status){w("creating"),t.webappUrl&&(window.location.href=t.webappUrl);return}"unauthenticated"===t.status?w("needsAuth"):"creating"===t.status?w("creating"):"error"===t.status&&(w("error"),j(t.error||"Something went wrong. Please try again."))}};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[g,R]),(0,t.jsxs)("section",{className:"bg-gradient-to-b from-purple-50 via-purple-50/40 to-white px-4 sm:px-6 pb-12 sm:pb-16",children:[(0,t.jsx)(o.NavbarSpacer,{}),(0,t.jsxs)("div",{className:"mx-auto max-w-screen-md text-center pt-4 sm:pt-16 pb-8 sm:pb-10",children:[e&&(0,t.jsx)("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold leading-tight sm:leading-normal md:leading-none tracking-tighter mb-4",children:e}),r&&(0,t.jsx)("div",{className:"max-w-2xl mx-auto text-lg sm:text-xl text-gray-600",children:r})]}),(0,t.jsxs)("div",{className:"mx-auto max-w-screen-md",children:[(0,t.jsxs)("div",{className:"rounded-3xl border border-gray-200 shadow-xl shadow-purple-100/70 bg-white p-4 sm:p-5 transition-shadow focus-within:border-purple-300 focus-within:ring-4 focus-within:ring-purple-100",children:[(0,t.jsx)("textarea",{ref:k,value:i,onChange:e=>{u(e.target.value),M(e.target)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||(e.preventDefault(),z())},placeholder:"Describe the app you want to buildâ¦",rows:2,className:"w-full resize-none border-0 outline-none text-base sm:text-lg placeholder:text-gray-400 max-h-60"}),(0,t.jsxs)("div",{className:"flex items-center justify-between mt-3 pt-3 border-t border-gray-100",children:[(0,t.jsx)("div",{className:"flex items-center gap-1 rounded-full bg-gray-100 p-1",children:m.map(({value:e,label:s,icon:a})=>(0,t.jsxs)("button",{type:"button",onClick:()=>h(e),className:`inline-flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs sm:text-sm font-medium transition-colors cursor-pointer ${p===e?"bg-white text-purple-600 shadow-sm":"text-gray-500 hover:text-gray-700"}`,children:[(0,t.jsx)(a,{className:"w-3.5 h-3.5"}),s]},e))}),(0,t.jsx)(n.Button,{color:"purple",onClick:z,isDisabled:!i.trim(),"aria-label":"Generate my app",className:"rounded-full disabled:bg-gray-200 disabled:cursor-not-allowed w-10 h-10 p-0 shrink-0",children:(0,t.jsx)(a.ArrowUp,{className:"w-5 h-5"})})]})]}),(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mt-4",children:d.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>{u(e),requestAnimationFrame(()=>{k.current&&M(k.current)})},className:"text-sm rounded-full border border-gray-200 px-3 py-1.5 text-gray-600 hover:border-purple-300 hover:text-purple-600 transition-colors cursor-pointer",children:e},e))}),(0,t.jsx)("div",{className:"text-center text-sm text-gray-500 mt-4",children:"No credit card required · Free to start"})]}),g&&(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/40 px-4",role:"dialog","aria-modal":"true","aria-labelledby":"prompt-auth-title",children:(0,t.jsxs)("div",{className:"relative w-full max-w-md rounded-2xl bg-white p-6 shadow-2xl",children:[(0,t.jsx)("button",{type:"button",onClick:function(){f(!1),w("checking"),j("")},className:"absolute right-3 top-3 rounded-full p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600","aria-label":"Close",children:(0,t.jsx)(l.X,{className:"h-5 w-5"})}),(0,t.jsx)("h2",{id:"prompt-auth-title",className:"text-xl font-semibold text-gray-900 pr-8",children:"needsAuth"===b||"awaitingGoogle"===b?"Sign in to continue":"Building your app"}),("checking"===b||"creating"===b||"awaitingGoogle"===b)&&(0,t.jsx)("p",{className:"mt-3 text-sm text-gray-600",children:"checking"===b?"Checking if you are already signed inâ¦":"awaitingGoogle"===b?"Finis
1h signing in with Google in the popup windowâ¦":"Creating your webappâ¦"}),"needsAuth"===b&&(0,t.jsxs)("div",{className:"mt-5 flex flex-col items-center gap-3",children:[(0,t.jsx)("p",{className:"text-sm text-gray-600 text-center",children:"Continue with Google to create your app and open the builder."}),(0,t.jsx)(x,{onClick:_})]}),"error"===b&&(0,t.jsxs)("div",{className:"mt-4 space-y-3",children:[(0,t.jsx)("p",{className:"text-sm text-red-600",children:y}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(n.Button,{color:"purple",onClick:function(){j(""),w("checking"),N(e=>e+1)},className:"py-2 px-4 text-sm",children:"Try again"}),(0,t.jsx)(n.Button,{color:"white",onClick:_,className:"py-2 px-4 text-sm",children:"Continue with Google"})]})]}),("checking"===b||"creating"===b)&&(0,t.jsx)("iframe",{ref:C,title:"Session bridge",src:`${c.CHAKRA_APP_URL}/user/session-bridge`,onLoad:function(){R(),window.setTimeout(R,150),window.setTimeout(R,500)},className:"pointer-events-none absolute h-px w-px opacity-0",sandbox:"allow-scripts allow-same-origin allow-forms allow-top-navigation"},v)]})})]})}],792295)}]);
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.