1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},5691:(e,t,r)=>{"use strict";r.d(t,{MarketingAnalyticsClient:()=>l});var n=r(20063),i=r(12115),a=r(88237),s=r(14428),o=r(49038);function l(){let e=(0,n.usePathname)(),t=(0,n.useSearchParams)(),r=(0,o.uC)(),l=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{if("accepted"!==r||!(0,s.jy)())return;let n={...(0,a.Du)(),path:e,url:(0,a.Dc)("".concat(window.location.origin).concat(e).concat(t.toString()?"?".concat(t.toString()):""))};l.current||(l.current=!0,(0,s.R)("marketing_site_viewed",n)),(0,s.R)("marketing_page_viewed",n)},[r,e,t]),(0,i.useEffect)(()=>{if("accepted"!==r)return;let e=(0,s.jy)();e&&((0,a.Du)(),e.register((0,a.Ir)()))},[r]),null}},9390:(e,t,r)=>{"use strict";r.d(t,{o:()=>i,w:()=>n});let n="open-sponsor-apply-modal";function i(){window.dispatchEvent(new CustomEvent(n))}},14428:(e,t,r)=>{"use strict";r.d(t,{R:()=>c,jy:()=>o,yy:()=>l});var n=r(26614),i=r(49038),a=r(95704);let s=!1;function o(){let e=a.env.NEXT_PUBLIC_POSTHOG_KEY;return e&&(0,i.vP)()?(s||(s=!0,n.Ay.init(e,{api_host:a.env.NEXT_PUBLIC_POSTHOG_HOST||"https://us.i.posthog.com",ui_host:a.env.NEXT_PUBLIC_POSTHOG_UI_HOST||"https://app.posthog.com",capture_pageview:!1,person_profiles:"identified_only"})),n.Ay):null}function l(e){if("accepted"===e){let e=o();(null==e?void 0:e.has_opted_out_capturing())&&e.opt_in_capturing();return}s&&!n.Ay.has_opted_out_capturing()&&n.Ay.opt_out_capturing()}function c(e,t){let r=a.env.NEXT_PUBLIC_POSTHOG_KEY;if(!r||!(0,i.vP)())return;let n=(a.env.NEXT_PUBLIC_POSTHOG_HOST||"https://us.i.posthog.com").replace(/\/$/,""),s=JSON.stringify({api_key:r,event:e,properties:{distinct_id:"string"==typeof t.visitor_id&&t.visitor_id?t.visitor_id:void 0,...t}});try{if(navigator.sendBeacon){let e=new Blob([s],{type:"application/json"});if(navigator.sendBeacon("".concat(n,"/e/"),e))return}fetch("".concat(n,"/e/"),{method:"POST",headers:{"Content-Type":"application/json"},body:s,keepalive:!0})}catch(e){}}},20063:(e,t,r)=>{"use strict";var n=r(47260);r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}})},24705:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_c29908",variable:"__variable_c29908"}},29001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return o},htmlEscapeJsonString:function(){return s}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,i={"&":"&",'"':""","'":"'","<":"<",">":">"},a=/[&"'<>]/g;function s(e){return e.replace(n,e=>r[e])}function o(e){return e.replace(a,e=>i[e])}},29445:(e,t,r)=>{Promise.resolve().then(r.bind(r,58522)),Promise.resolve().then(r.bind(r,77724)),Promise.resolve().then(r.bind(r,79800)),Promise.resolve().then(r.bind(r,5691)),Promise.resolve().then(r.bind(r,41873)),Promise.resolve().then(r.bind(r,85126)),Promise.resolve().then(r.t.bind(r,57832,23)),Promise.resolve().then(r.t.bind(r,24705,23)),Promise.resolve().then(r.t.bind(r,75468,23)),Promise.resolve().then(r.t.bind(r,41290,23))},41290:()=>{},41402:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return b},handleClientScriptLoad:function(){return x},initScriptLoader:function(){return m}});let n=r(28140),i=r(49417),a=r(95155),s=n._(r(47650)),o=i._(r(12115)),l=r(82073),c=r(94681),d=r(4853),u=r(29001),p=new Map,h=new Set,f=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:l="afterInteractive",onError:d,stylesheets:u}=e,f=r||t;if(f&&h.has(f))return;if(p.has(t)){h.add(f),p.get(t).then(n,d);return}let x=()=>{i&&i(),h.add(f)},m=document.createElement("script"),g=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),x()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){d&&d(e)});a?(m.innerHTML=a.__html||"",x()):o?(m.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",x()):t&&(m.src=t,p.set(t,g)),(0,c.setAttributesFromProps)(m,e),"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),u&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(u),document.body.appendChild(m)};function x(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(e))}):f(e)}function m(e){e.forEach(x),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:c="afterInteractive",onError:p,stylesheets:x,...m}=e,{updateScripts:g,scripts:b,getIsSsr:v,appDir:w,nonce:j}=(0,o.useContext)(l.HeadManagerContext);j=m.nonce||j;let y=(0,o.useRef)(!1);(0,o.useEffect)(()=>{let e=t||r;y.current||(i&&e&&h.has(e)&&i(),y.current=!0)},[i,t,r]);let _=(0,o.useRef)(!1);if((0,o.useEffect)(()=>{if(!_.current){if("afterInteractive"===c)f(e);else"lazyOnload"===c&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>f(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>f(e))}));_.current=!0}},[e,c]),("beforeInteractive"===c||"worker"===c)&&(g?(b[c]=(b[c]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:p,...m,nonce:j}]),g(b)):v&&v()?h.add(t||r):v&&!v()&&f({...e,nonce:j})),w){if(x&&x.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===c)if(!r)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,u.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))+")"}});else return s.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:j,crossOrigin:m.crossOrigin}:{as:"script",nonce:j,crossOrigin:m.crossOrigin}),(0,a.jsx)("script",{nonce:j,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,u.htmlEscapeJsonString)(JSON.stringify([r,{...m,id:t}]))+")"}});"afterInteractive"===c&&r&&s.default.preload(r,m.integrity?{as:"script",integrity:m.integrity,nonce:j,crossOrigin:m.crossOrigin}:{as:"script",nonce:j,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let b=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41873:(e,t,r)=>{"use strict";r.d(t,{PostHogProvider:()=>o});var n=r(95155),i=r(12115),a=r(49038),s=r(14428);function o(e){let{children:t}=e,r=(0,a.uC)();return(0,i.useEffect)(()=>{r&&(0,s.yy)(r)},[r]),(0,n.jsx)(n.Fragment,{children:t})}},49038:(e,t,r)=>{"use strict";r.d(t,{Tq:()=>l,XM:()=>h,Yt:()=>u,uC:()=>m,ug:()=>f,vP:()=>d});var n=r(12115);let i="actual_cookie_consent",a="actual:cookie-consent-change",s="actual:cookie-consent-open",o=["/decks"];function l(e){return!!e&&o.some(t=>e===t||e.startsWith("".concat(t,"/")))}function c(){if("undefined"==typeof document)return"pending";try{return function(e){if(!e)return"pending";for(let t of e.split(";")){let[e,...r]=t.split("=");if((null==e?void 0:e.trim())!==i)continue;let n=r.join("=").trim();return"accepted"===n||"declined"===n?n:"pending"}return"pending"}(document.cookie)}catch(e){return"pending"}}function d(){return"accepted"===c()}function u(e){if("undefined"==typeof document)return;let t="undefined"!=typeof location&&"https:"===location.protocol?"; Secure":"";try{document.cookie="".concat(i,"=").concat(e,"; max-age=").concat(15552e3,"; path=/; SameSite=Lax").concat(t)}catch(e){}window.dispatchEvent(new CustomEvent(a))}function p(e){return window.addEventListener(a,e),()=>window.removeEventListener(a,e)}function h(){window.dispatchEvent(new CustomEvent(s))}function f(e){return window.addEventListener(s,e),()=>window.removeEventListener(s,e)}function x(){return null}
1function m(){return(0,n.useSyncExternalStore)(p,c,x)}},57832:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_65c8f8",variable:"__variable_65c8f8"}},58522:(e,t,r)=>{"use strict";r.d(t,{ConditionalSiteChrome:()=>G});var n=r(95155),i=r(20063),a=r(15239),s=r(52619),o=r.n(s),l=r(70898),c=r(33828),d=r(45323);let u=[{id:"linkedin",url:"https://www.linkedin.com/company/actualai/",label:"LinkedIn",showInFooter:!0},{id:"twitter",url:"https://twitter.com/actual_ai_",label:"X",showInFooter:!0},{id:"discord",url:"https://discord.gg/b5vEUMq6CZ",label:"Discord",showInFooter:!0},{id:"slack",url:"https://join.slack.com/t/actualaiusercommunity/shared_invite/zt-3o7kogn46-ADqsWZCJwQLKylNyOJMgUA",label:"Slack",showInFooter:!0},{id:"github",url:"https://github.com/actual-software",label:"GitHub",showInFooter:!1}];var p=r(45902),h=r(49038);function f(e){let{className:t=""}=e;return(0,n.jsx)("button",{type:"button",onClick:h.XM,className:t,children:"Cookie preferences"})}let x={linkedin:l.QEs,twitter:c.TCj,discord:l.O4U,slack:l.iWS},m=[{title:"Company",links:[{label:"About",href:"/about"},{label:"Careers",href:"/careers"},{label:"Contact",href:d.k.contact}]},{title:"Product",links:[{label:"Pricing",href:"/pricing"},{label:"Security",href:"/security"},{label:"Developer resources",href:"/developers"},{label:"Book a Demo",href:d.k.demo,external:!0}]},{title:"Legal",links:[{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/terms"},{label:"EULA",href:"/eula"}]}];function g(){return(0,n.jsx)("footer",{className:"relative z-[2] bg-black pt-[100px] pb-[40px] w-full",children:(0,n.jsx)("div",{className:p.B_,children:(0,n.jsxs)("div",{className:"border-t border-[#2a2a2a] pt-[60px]",children:[(0,n.jsxs)("div",{className:"flex flex-col md:flex-row gap-[48px] md:gap-0 md:justify-between",children:[(0,n.jsxs)("div",{className:"flex flex-col gap-[20px] md:max-w-[280px]",children:[(0,n.jsx)(a.default,{src:"/images/version-2-website/actual-logo/nav-logo.png",alt:"Actual AI Logo",width:40,height:40}),(0,n.jsx)("p",{className:"text-[14px] leading-[22px] text-[rgba(255,255,255,0.5)]",children:"Guardrails for AI-powered software development."}),(0,n.jsx)("div",{className:"flex gap-[12px] items-center",children:u.filter(e=>e.showInFooter).map(e=>{let{id:t,url:r,label:i}=e,a=x[t];return(0,n.jsx)("a",{href:r,target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center text-[rgba(255,255,255,0.4)] hover:text-white transition-colors","aria-label":i,children:(0,n.jsx)(a,{size:20})},i)})})]}),(0,n.jsx)("div",{className:"grid grid-cols-2 gap-x-[60px] gap-y-[40px] sm:grid-cols-3 md:flex md:gap-[80px]",children:m.map(e=>(0,n.jsxs)("div",{className:"flex flex-col gap-[16px]",children:[(0,n.jsx)("p",{className:"text-[14px] font-medium uppercase tracking-[0.08em] text-[rgba(255,255,255,0.4)]",children:e.title}),(0,n.jsx)("div",{className:"flex flex-col gap-[10px]",children:e.links.map(e=>"external"in e&&e.external?(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",className:"text-[14px] leading-[22px] text-[rgba(255,255,255,0.6)] hover:text-white transition-colors",children:e.label},e.label):(0,n.jsx)(o(),{href:e.href,className:"text-[14px] leading-[22px] text-[rgba(255,255,255,0.6)] hover:text-white transition-colors",children:e.label},e.label))})]},e.title))})]}),(0,n.jsxs)("div",{className:"border-t border-[#2a2a2a] mt-[60px] pt-[24px] flex flex-col sm:flex-row items-center justify-between gap-[12px]",children:[(0,n.jsx)("p",{className:"text-[13px] text-[rgba(255,255,255,0.35)]",children:"\xa9 2026 Actual Software, Inc. All rights reserved."}),(0,n.jsxs)("div",{className:"flex gap-[24px]",children:[(0,n.jsx)(o(),{href:"/privacy",className:"text-[13px] text-[rgba(255,255,255,0.35)] hover:text-white transition-colors",children:"Privacy"}),(0,n.jsx)(o(),{href:"/terms",className:"text-[13px] text-[rgba(255,255,255,0.35)] hover:text-white transition-colors",children:"Terms"}),(0,n.jsx)(f,{className:"text-[13px] text-[rgba(255,255,255,0.35)] hover:text-white transition-colors"})]})]})]})})})}let b=[{id:"overview",label:"Overview",href:"/cli"},{id:"docs",label:"Docs",href:"/cli/docs"},{id:"feedback",label:"Feedback",href:"/cli/feedback"}],v={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",width:17,height:17,className:"shrink-0"};function w(e){let{id:t}=e;switch(t){case"overview":return(0,n.jsxs)("svg",{...v,"aria-hidden":!0,
1children:[(0,n.jsx)("path",{d:"M7 8l3 4-3 4"}),(0,n.jsx)("path",{d:"M13 16h4"}),(0,n.jsx)("rect",{x:"3",y:"4",width:"18",height:"16",rx:"2"})]});case"docs":return(0,n.jsxs)("svg",{...v,"aria-hidden":!0,children:[(0,n.jsx)("path",{d:"M4 5.5A2.5 2.5 0 0 1 6.5 3H19v15H6.5A2.5 2.5 0 0 0 4 20.5v-15z"}),(0,n.jsx)("path",{d:"M4 20.5A2.5 2.5 0 0 0 6.5 18H19v3H6.5A2.5 2.5 0 0 1 4 20.5z"})]});case"feedback":return(0,n.jsx)("svg",{...v,"aria-hidden":!0,children:(0,n.jsx)("path",{d:"M21 11.5a8.5 8.5 0 0 1-12.4 7.5L3 21l2-5.6A8.5 8.5 0 1 1 21 11.5z"})})}}function j(e,t){return"/cli"===t?"/cli"===e:"/cli/docs"===t?"/cli/docs"===e||e.startsWith("/cli/docs/"):"/cli/feedback"===t?e.startsWith("/cli/feedback"):e===t||e.startsWith("".concat(t,"/"))}function y(){let e=(0,i.usePathname)();return(0,n.jsx)("div",{className:"hidden md:flex w-full bg-[rgba(10,10,12,0.75)] backdrop-blur-[22px] backdrop-saturate-[170%] border-t border-b border-white/[0.09]",children:(0,n.jsx)("div",{className:"mx-auto w-full max-w-[1496px] px-6 lg:px-12 xl:px-[100px]",children:(0,n.jsxs)("nav",{"aria-label":"CLI sections",className:"flex items-stretch justify-between h-[56px]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-[10px] shrink-0 invisible pointer-events-none","aria-hidden":!0,children:[(0,n.jsx)("div",{className:"size-[40px]"}),(0,n.jsx)("span",{className:"text-[16px] font-semibold tracking-[-0.01em]",children:"Actual AI"})]}),(0,n.jsx)("div",{className:"flex items-stretch gap-1",children:b.map(t=>{let r=j(e,t.href);return(0,n.jsxs)(o(),{href:t.href,"aria-current":r?"page":void 0,className:["relative flex items-center gap-[9px] px-4 text-[14.5px] font-medium leading-none transition-colors duration-150 focus:outline-none focus-visible:outline-2 focus-visible:outline-[#4ade80] focus-visible:outline-offset-2 after:content-[''] after:absolute after:left-4 after:right-4 after:bottom-[-0.5px] after:h-0.5 after:bg-[#4ade80] after:rounded-t-[2px] after:origin-center after:scale-x-0 after:transition-transform after:duration-200 after:ease-out",r?"text-white after:scale-x-100 [&_svg]:opacity-100":"text-white/[0.42] hover:text-white/[0.62] [&_svg]:opacity-65"].join(" "),children:[(0,n.jsx)(w,{id:t.id}),t.label]},t.id)})}),(0,n.jsxs)("div",{className:"flex items-center gap-[8px] shrink-0 invisible pointer-events-none","aria-hidden":!0,children:[(0,n.jsx)("span",{className:"rounded-full px-[16px] py-[4px] text-[16px] font-medium border border-transparent",children:"Sign in"}),(0,n.jsx)("span",{className:"rounded-full px-[16px] py-[4px] text-[16px] font-medium",children:"Sign up"})]})]})})})}let _=[{id:"meet",label:"Meet our partners",href:"/partners"},{id:"apply",label:"Become a partner",href:"/partners/apply"}],k={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",width:17,height:17,className:"shrink-0"};function N(e){let{id:t}=e;switch(t){case"meet":return(0,n.jsxs)("svg",{...k,"aria-hidden":!0,children:[(0,n.jsx)("circle",{cx:"12",cy:"8",r:"3.5"}),(0,n.jsx)("path",{d:"M5 20c0-3.5 3-6 7-6s7 2.5 7 6"})]});case"apply":return(0,n.jsx)("svg",{...k,"aria-hidden":!0,children:(0,n.jsx)("path",{d:"M12 5v14M5 12h14"})})}}function C(e,t){return"/partners"===t?"/partners"===e:"/partners/apply"===t?"/partners/apply"===e:e===t||e.startsWith("".concat(t,"/"))}function P(){let e=(0,i.usePathname)();return(0,n.jsx)("div",{className:"hidden md:flex w-full bg-[rgba(10,10,12,0.75)] backdrop-blur-[22px] backdrop-saturate-[170%] border-t border-b border-white/[0.09]",children:(0,n.jsx)("div",{className:"mx-auto w-full max-w-[1496px] px-6 lg:px-12 xl:px-[100px]",children:(0,n.jsxs)("nav",{"aria-label":"Partner program sections",className:"flex items-stretch justify-between h-[56px]",children:[(0,n.jsxs)("div",{className:"flex items-center gap-[10px] shrink-0 invisible pointer-events-none","aria-hidden":!0,children:[(0,n.jsx)("div",{className:"size-[40px]"}),(0,n.jsx)("span",{className:"text-[16px] font-semibold tracking-[-0.01em]",children:"Actual AI"})]}),(0,n.jsx)("div",{className:"flex items-stretch gap-1",children:_.map(t=>{let r=C(e,t.href);return(0,n.jsxs)(o(),{href:t.href,"aria-current":r?"page":void 0,className:["relative flex items-center gap-[9px] px-4 text-[14.5px] font-medium leading-none transition-colors duration-150 focus:outline-none focus-visible:outline-2 focus-visible:outline-[#4ade80] focus-visible:outline-offset-2 after:content-[''] after:absolute after:left-4 after:right-4 after:bottom-[-0.5px] after:h-0.5 after:bg-[#4ade80] after:rounded-t-[2px] after:origin-center after:scale-x-0 after:transition-transform after:duration-200 after:ease-out",r?"text-white after:scale-x-100 [&_svg]:opacity-100":"text-white/[0.42] hover:text-white/[0.62] [&_svg]:opacity-65"].join(" "),children:[(0,n.jsx)(N,{id:t.id}),t.label]},t.id)})}),(0,n.jsxs)("div",{className:"flex items-center gap-[8px] shrink-0 invisible pointer-events-none","aria-hidden":!0,
1children:[(0,n.jsx)("span",{className:"rounded-full px-[16px] py-[4px] text-[16px] font-medium border border-transparent",children:"Sign in"}),(0,n.jsx)("span",{className:"rounded-full px-[16px] py-[4px] text-[16px] font-medium",children:"Sign up"})]})]})})})}var S=r(12115);let I=[{id:"products",label:"Products",wide:!0,items:[{title:"Architecture Agent",description:"Guardrails for AI-powered development",href:"/agents/architecture-agent",icon:"shield"},{title:"Management Agent",description:"Track velocity and team output",href:"/agents/management-agent",icon:"chart"},{title:"CLI",description:"Setup, docs, and feedback",href:"/cli",icon:"terminal"}]},{id:"resources",label:"Resources",items:[{title:"Blog",description:"Engineering updates and product news",href:"/blog",icon:"blog"},{title:"Documentation",description:"Installation and getting started with the CLI",href:"/cli/docs",icon:"book"},{title:"Developer resources",description:"API docs, OpenAPI, CLI, and auth",href:"/developers",icon:"code"}]},{id:"solutions",label:"Solutions",items:[{title:"Software Factory Pilot",description:"A six-week pilot: an AI software factory around your project",href:"/software-factory-pilot",icon:"factory"},{title:"Partner Finder",description:"Find a certified Actual AI partner",href:"/partners",icon:"users"}]}],L=[{label:"Workshop",href:"/softwarefactory"},{label:"Pricing",href:"/pricing"}],M={viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"w-full h-full",width:24,height:24};function E(e){let{id:t}=e;switch(t){case"shield":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M12 3l8 4v5c0 5-3.5 7.5-8 9-4.5-1.5-8-4-8-9V7l8-4z"}),(0,n.jsx)("path",{d:"M9 12l2 2 4-4"})]});case"chart":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M4 19V5"}),(0,n.jsx)("path",{d:"M4 19h16"}),(0,n.jsx)("path",{d:"M7 14l3.5-4 3 2.5L20 6"})]});case"terminal":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M7 8l3 4-3 4"}),(0,n.jsx)("path",{d:"M13 16h4"})]});case"blog":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M5 4h11a2 2 0 0 1 2 2v12a2 2 0 0 0 2 2H6a2 2 0 0 1-2-2V4z"}),(0,n.jsx)("path",{d:"M8 8h7M8 12h7M8 16h4"})]});case"book":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M4 5.5A2.5 2.5 0 0 1 6.5 3H19v15H6.5A2.5 2.5 0 0 0 4 20.5v-15z"}),(0,n.jsx)("path",{d:"M4 20.5A2.5 2.5 0 0 0 6.5 18H19v3H6.5A2.5 2.5 0 0 1 4 20.5z"})]});case"users":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("circle",{cx:"9",cy:"8",r:"3"}),(0,n.jsx)("path",{d:"M3 20c0-3 2.5-5 6-5s6 2 6 5"}),(0,n.jsx)("circle",{cx:"17",cy:"9",r:"2.2"}),(0,n.jsx)("path",{d:"M16 14c3 0 5 1.8 5 4.5"})]});case"factory":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M4 21V11l5 3.5V11l5 3.5V11l5 3.5V21z"}),(0,n.jsx)("path",{d:"M3 21h18"})]});case"code":return(0,n.jsxs)("svg",{...M,children:[(0,n.jsx)("path",{d:"M8 8l-4 4 4 4"}),(0,n.jsx)("path",{d:"M16 8l4 4-4 4"}),(0,n.jsx)("path",{d:"M14 4l-4 16"})]})}}function A(e,t){return t.items.some(t=>O(e,t.href))}function O(e,t){return"/"===t?"/"===e:"/blog"===t?"/blog"===e||e.startsWith("/blog/"):"/cli"===t?"/cli"===e:e===t||e.startsWith("".concat(t,"/"))}function T(e){let{id:t,size:r="md"}=e;return(0,n.jsx)("span",{className:["sm"===r?"size-9 rounded-[4px]":"size-10 rounded-[4px]","shrink-0 flex items-center justify-center bg-[#222226] border border-[#393939] text-[rgba(255,255,255,0.78)] transition-colors duration-150 group-hover/navitem:bg-[#2a2a2e] group-hover/navitem:text-[rgba(255,255,255,0.92)]"].join(" "),children:(0,n.jsx)("span",{className:"".concat("sm"===r?"size-[18px]":"size-[19px]"," flex items-center justify-center"),children:(0,n.jsx)(E,{id:t})})})}function z(e){let{item:t,onNavigate:r,compact:i}=e;return i?(0,n.jsxs)(o(),{href:t.href,onClick:r,className:"group/navitem flex items-start gap-3 rounded-[4px] px-3 py-2.5 hover:bg-white/[0.06] transition-colors",children:[(0,n.jsx)(T,{id:t.icon,size:"sm"}),(0,n.jsxs)("span",{className:"min-w-0 pt-0.5",children:[(0,n.jsx)("span",{className:"block text-[16px] font-medium text-white",children:t.title}),(0,n.jsx)("span",{className:"block text-[14px] text-[rgba(255,255,255,0.72)] leading-[1.45] mt-0.5",children:t.description})]})]}):(0,n.jsxs)(o(),{href:t.href,onClick:r,className:"group/navitem flex items-start gap-[13px] p-3 rounded-[4px] hover:bg-white/[0.06] transition-colors",children:[(0,n.jsx)(T,{id:t.icon}),(0,n.jsxs)("span",{className:"flex flex-col gap-0.5 pt-0.5",children:[(0,n.jsx)("span",{className:"text-[16px] font-medium text-white",children:t.title}),(0,n.jsx)("span",{className:"text-[14px] text-[rgba(255,255,255,0.72)] leading-[1.45]",children:t.description})]})]})}function H(e){let{group:t,onNavigate:r}=e;return(0,n.jsx)("div",{role:"menu",className:["absolute left-0 top-full z-[200] pt-1.5",t.wide?"min-w-[540px]":"min-w-[270px]"].join(" "),children:(0,n.jsx)("div",{className:"relative rounded-[4px] overflow-hidden border border-[#393939] bg-[rgba(10,10,12,0.97)] shadow-[0_20px_50px_rgba(0,0,0,0.5)]",children:(0,n.jsx)("div",{className:["relative z-10 p-2",t.wide?"grid grid-cols-2 gap-0.5":"flex flex-col gap-0.5"].join(" "),children:t.items.map(e=>(0,n.jsx)(z,{item:e,onNavigate:r},e.href))})})})}function W(e){let{label:t,active:r,expanded:i}=e;return(0,n.jsxs)("button",{type:"button","aria-haspopup":"menu","aria-expanded":i,className:["flex items-center gap-[4px] px-[12px] py-[6px] rounded-[4px] border-none text-[16px] font-normal whitespace-nowrap cursor-pointer transition-colors duration-150 focus:outline-none focus-visible:outline-2 focus-visible:outline-[#4ade80] focus-visible:outline-offset-2",r||i?"text-white bg-white/[0.06]":"text-[rgba(255,255,255,0.75)] bg-transparent hover:text-white hover:bg-white/[0.06]"].join(" "),children:[t,(0,n.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:["opacity-60 transition-transform duration-150",i?"rotate-180 opacity-90":""].join(" "),"aria-hidden":!0,
1children:(0,n.jsx)("path",{d:"M6 9l6 6 6-6"})})]})}var R=r(9390),D=r(82841);function F(e){let{pathname:t,className:r=""}=e,i="/softwarefactory/seattle-april-21-2026"===t,a="/softwarefactory/sponsor/apply"===t,s="flex items-center justify-center rounded-full px-[16px] py-[4px] text-[16px] font-medium bg-white text-black hover:bg-white/90 transition-colors ".concat(r);if("/softwarefactory/sponsor"===t)return(0,n.jsx)("button",{type:"button",onClick:()=>(0,R.o)(),className:s,children:(0,n.jsx)("span",{className:"leading-[1.5]",children:"Become a Sponsor"})});if(a||i||"/softwarefactory/new-york-may-11-2026"===t){let e=a?"/softwarefactory/sponsor":i?"https://seattle.aitinkerers.org/p/software-factory-intensive-two-day-practical-workshop-for-software-engineers":"https://nyc.aitinkerers.org/p/software-factory-intensive-building-autonomous-agentic-workflows",t=a?"Sponsorship details":"Reserve your spot",r=e.startsWith("http");return e.startsWith("/")?(0,n.jsx)(o(),{href:e,className:s,children:(0,n.jsx)("span",{className:"leading-[1.5]",children:t})}):(0,n.jsx)("a",{href:e,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,className:s,children:(0,n.jsx)("span",{className:"leading-[1.5]",children:t})})}return(0,n.jsxs)("div",{className:"flex items-center gap-[8px] ".concat(r),children:[(0,n.jsx)(D.TrackedMarketingLink,{href:d.k.login,className:"flex items-center justify-center rounded-full px-[16px] py-[4px] text-[16px] font-medium border border-white/20 text-white hover:bg-white/10 transition-colors",ctaId:"header_sign_in",ctaType:"login",ctaLocation:"site_header",children:(0,n.jsx)("span",{className:"leading-[1.5]",children:"Login"})}),(0,n.jsx)(D.TrackedMarketingLink,{href:d.k.onboarding,className:"flex items-center justify-center rounded-full px-[16px] py-[4px] text-[16px] font-medium bg-white text-black hover:bg-white/90 transition-colors",ctaId:"header_sign_up",ctaType:"signup",ctaLocation:"site_header",children:(0,n.jsx)("span",{className:"leading-[1.5]",children:"Sign Up"})})]})}function B(e){let{pathname:t,onLogoClick:r,onPricingClick:i}=e,s=t.startsWith("/cli")||t.startsWith("/partners"),[l,c]=(0,S.useState)(null),d=(0,S.useRef)(!1),u=(0,S.useRef)(null),p=(0,S.useCallback)(()=>{u.current&&(clearTimeout(u.current),u.current=null)},[]),h=(0,S.useCallback)(()=>{p(),c(null),d.current=!0},[p]),f=(0,S.useCallback)(e=>{d.current||(p(),c(e))},[p]),x=(0,S.useCallback)(()=>{p(),u.current=setTimeout(()=>{c(null),d.current=!1},120)},[p]),m=(0,S.useCallback)(()=>{d.current=!1,x()},[x]);(0,S.useEffect)(()=>{let e=e=>{"Escape"===e.key&&h()};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[h]);let g=(0,S.useRef)(t);return(0,S.useEffect)(()=>{g.current!==t&&(g.current=t,h())},[t,h]),(0,S.useEffect)(()=>p,[p]),(0,n.jsx)("div",{className:"hidden lg:flex w-full relative z-[10] ".concat(s?"bg-[rgba(10,10,12,0.75)] backdrop-blur-[22px] backdrop-saturate-[170%]":"bg-[rgba(10,10,12,0.75)] backdrop-blur-[22px] backdrop-saturate-[170%] border-b border-white/[0.09]"),children:(0,n.jsx)("div",{className:"mx-auto w-full max-w-[1496px] px-6 lg:px-12 xl:px-[100px]",children:(0,n.jsxs)("div",{className:"flex items-center justify-between h-[62px]",children:[(0,n.jsxs)(o(),{href:"/",className:"flex items-center gap-[10px] shrink-0",onClick:r,children:[(0,n.jsx)("div",{className:"relative size-[40px]",children:(0,n.jsx)(a.default,{src:"/images/version-2-website/actual-logo/nav-logo.png",alt:"Actual AI Logo",width:40,height:40,priority:!0})}),(0,n.jsx)("span",{className:"text-white text-[16px] font-semibold tracking-[-0.01em]",children:"Actual AI"})]}),(0,n.jsxs)("nav",{className:"flex items-center gap-[8px] overflow-visible text-[16px] font-normal text-[rgba(255,255,255,0.75)]",children:[I.map(e=>{let r=A(t,e),i=l===e.id;return(0,n.jsxs)("div",{className:"relative flex items-center h-[62px] overflow-visible",onMouseEnter:()=>f(e.id),onMouseLeave:m,onFocusCapture:()=>f(e.id),onBlurCapture:e=>{e.currentTarget.contains(e.relatedTarget)||m()},children:[(0,n.jsx)(W,{label:e.label,active:r,expanded:i}),i&&(0,n.jsx)(H,{group:e,onNavigate:h})]},e.id)}),L.map(e=>{let r=O(t,e.href),a="/pricing"===e.href;return(0,n.jsx)(o(),{href:e.href,onClick:a?i:void 0,className:["px-[12px] py-[6px] rounded-[4px] whitespace-nowrap transition-colors focus:outline-none focus-visible:outline-2 focus-visible:outline-[#4ade80] focus-visible:outline-offset-2",r?"text-white bg-white/[0.06]":"text-[rgba(255,255,255,0.75)] hover:text-white hover:bg-white/[0.06]"].join(" "),children:e.label},e.href)})]}),(0,n.jsx)(F,{pathname:t})]})})})}function U(e){let{pathname:t,onLogoClick:r,onPricingClick:i}=e,s=(0,S.useRef)(null),l=t.startsWith("/cli"),c=t.startsWith("/partners"),d=(0,S.useCallback)(()=>{let e=s.current;
1e&&(e.open=!1,e.querySelectorAll("details").forEach(e=>{e.open=!1}))},[]),u=(0,S.useCallback)(()=>{queueMicrotask(d)},[d]);(0,S.useEffect)(()=>{d()},[t,d]);let p=e=>{u(),i(e)};return(0,n.jsx)("div",{className:"flex lg:hidden w-full ".concat("bg-[rgba(10,10,12,0.75)] backdrop-blur-[22px] backdrop-saturate-[170%] border-b border-white/[0.09]"),children:(0,n.jsx)("div",{className:"mx-auto w-full px-4 py-3",children:(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsxs)(o(),{href:"/",className:"flex items-center gap-[8px] shrink-0",onClick:e=>{d(),r(e)},children:[(0,n.jsx)("div",{className:"relative size-[28px]",children:(0,n.jsx)(a.default,{src:"/images/version-2-website/actual-logo/nav-logo.png",alt:"Actual AI Logo",width:28,height:28,priority:!0})}),(0,n.jsx)("span",{className:"text-white text-[14px] font-semibold tracking-[-0.01em]",children:"Actual AI"})]}),(0,n.jsxs)("details",{ref:s,className:"group",children:[(0,n.jsxs)("summary",{className:"list-none cursor-pointer select-none rounded-[4px] p-2 hover:bg-white/[0.08] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#4ade80]/60",children:[(0,n.jsx)("span",{className:"sr-only",children:"Open menu"}),(0,n.jsxs)("div",{className:"flex flex-col gap-[5px]",children:[(0,n.jsx)("span",{className:"h-[1.5px] w-[20px] bg-white/80 rounded-full"}),(0,n.jsx)("span",{className:"h-[1.5px] w-[20px] bg-white/80 rounded-full"}),(0,n.jsx)("span",{className:"h-[1.5px] w-[20px] bg-white/80 rounded-full"})]})]}),(0,n.jsx)("div",{className:"absolute left-0 right-0 top-full border-b border-white/[0.09] bg-[rgba(10,10,12,0.99)] backdrop-blur-[28px] backdrop-saturate-[150%]",onClick:e=>{let t=e.target;(t.closest("a")||t.closest("button"))&&u()},children:(0,n.jsx)("div",{className:"px-4 py-4",children:(0,n.jsxs)("nav",{className:"flex flex-col gap-0.5 text-[16px]",children:[I.map(e=>{let r=A(t,e),i="products"===e.id?"products":"resources"===e.id?"resources":"solutions";return(0,n.jsxs)("details",{className:"products"===i?"group/products":"resources"===i?"group/resources":"group/solutions",children:[(0,n.jsxs)("summary",{className:["list-none cursor-pointer rounded-[4px] px-3 py-3 flex items-center justify-between transition-colors",r?"bg-white/[0.08] text-white":"text-[rgba(255,255,255,0.75)] hover:bg-white/[0.08] hover:text-white"].join(" "),children:[(0,n.jsx)("span",{children:e.label}),(0,n.jsx)("span",{className:["text-white/40 transition-transform","products"===i?"group-open/products:rotate-180":"resources"===i?"group-open/resources:rotate-180":"group-open/solutions:rotate-180"].join(" "),children:(0,n.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})})})]}),(0,n.jsx)("div",{className:"mt-1 ml-1 flex flex-col gap-0.5 pb-1",children:e.items.map(e=>(0,n.jsx)(z,{item:e,compact:!0,onNavigate:u},e.href))})]},e.id)}),L.map(e=>{let r=O(t,e.href),i="/pricing"===e.href;return(0,n.jsx)(o(),{href:e.href,onClick:i?p:u,className:["rounded-[4px] px-3 py-3 transition-colors",r?"bg-white/[0.08] text-white":"text-[rgba(255,255,255,0.75)] hover:bg-white/[0.08] hover:text-white"].join(" "),children:e.label},e.href)}),l&&(0,n.jsxs)("div",{className:"mt-1 pt-2 border-t border-white/[0.06]",children:[(0,n.jsx)("p",{className:"px-3 pb-2 text-[13px] uppercase tracking-[0.12em] text-white/40",children:"CLI"}),(0,n.jsx)("div",{className:"flex flex-col gap-0.5",children:b.map(e=>{let r=j(t,e.href);return(0,n.jsxs)(o(),{href:e.href,onClick:u,className:["flex items-center gap-3 rounded-[4px] px-3 py-3 transition-colors",r?"bg-white/[0.08] text-white":"text-[rgba(255,255,255,0.75)] hover:bg-white/[0.08] hover:text-white"].join(" "),children:[(0,n.jsx)("span",{className:r?"opacity-100":"opacity-65",children:(0,n.jsx)(w,{id:e.id})}),e.label]},e.id)})})]}),c&&(0,n.jsxs)("div",{className:"mt-1 pt-2 border-t border-white/[0.06]",children:[(0,n.jsx)("p",{className:"px-3 pb-2 text-[13px] uppercase tracking-[0.12em] text-white/40",children:"Partners"}),(0,n.jsx)("div",{className:"flex flex-col gap-0.5",children:_.map(e=>{let r=C(t,e.href);return(0,n.jsxs)(o(),{href:e.href,onClick:u,className:["flex items-center gap-3 rounded-[4px] px-3 py-3 transition-colors",r?"bg-white/[0.08] text-white":"text-[rgba(255,255,255,0.75)] hover:bg-white/[0.08] hover:text-white"].join(" "),children:[(0,n.jsx)("span",{className:r?"opacity-100":"opacity-65",children:(0,n.jsx)(N,{id:e.id})}),e.label]},e.id)})})]}),(0,n.jsx)("div",{className:"pt-3 mt-1 border-t border-white/[0.06]",children:(0,n.jsx)(F,{pathname:t,className:"w-full"})})]})})})]})]})})})}function q(){let e=(0,i.usePathname)(),t=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:800,r=window.pageYOffset,n=e-r,i=performance.now(),a=e=>{let s=Math.min((e-i)/t,1),o=1-Math.pow(1-s,4);window.scrollTo(0,r+n*o),s<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},r=r=>{if("/"===e){r.preventDefault();let e=document.getElementById("pricing");e&&t(e.offsetTop-62)}},a=r=>{"/"===e&&(r.preventDefault(),t(0))};return(0,n.jsxs)("header",{className:"sticky top-0 left-0 right-0 z-[100] w-full",children:[(0,n.jsx)(B,{pathname:e,onLogoClick:a,onPricingClick:r}),(0,n.jsx)(U,{pathname:e,onLogoClick:a,onPricingClick:r}),e.startsWith("/cli")&&(0,n.jsx)(y,{}),e.startsWith("/partners")&&(0,n.jsx)(P,{})]})}function G(e){let{children:t}=e,r=(0,i.usePathname)().startsWith("/cli/docs");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(q,{}),(0,n.jsxs)("div",{className:"min-h-screen flex flex-col relative text-white ".concat(r?"overflow-visible":"overflow-x-hidden"),style:{backgroundColor:"#000000"},children:[t,(0,n.jsx)(g,{})]})]})}},75468:e=>{e.exports={style:{fontFamily:"'Instrument Serif', 'Instrument Serif Fallback'",fontWeight:400},className:"__className_1f5468",variable:"__variable_1f5468"}},77724:(e,t,r)=>{"use strict";r.d(t,{CookieConsentBanner:()=>p});var n=r(95155),i=r(52619),a=r.n(i),s=r(20063),o=r(71408),l=r(42231),c=r(12115),d=r(49038);let u="rounded-[8px] px-4 py-2 text-[14px] font-medium transition-all duration-200 hover:-translate-y-0.5 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/60";function p(){let e=(0,s.usePathname)(),t=(0,d.uC)(),[r,i]=(0,c.useState)(!1);(0,c.useEffect)(()=>(0,d.ug)(()=>i(!0)),[]);let p="pending"===t&&!(0,d.Tq)(e)||r,h=e=>{(0,d.Yt)(e),i(!1)};return(0,n.jsx)(o.N,{children:p&&(0,n.jsxs)(l.P.section,{role:"dialog","aria-labelledby":"
1cookie-consent-title","aria-describedby":"cookie-consent-description","data-testid":"cookie-consent-banner",initial:{opacity:0,y:24},animate:{opacity:1,y:0},exit:{opacity:0,y:24},transition:{duration:.25,ease:"easeOut"},className:"fixed bottom-4 inset-x-4 z-[300] sm:inset-x-auto sm:right-6 sm:bottom-6 sm:max-w-[420px] rounded-[12px] border border-white/10 bg-[#0b0b0b]/95 backdrop-blur p-5 shadow-[0_20px_60px_rgba(0,0,0,0.6)] text-white",children:[(0,n.jsx)("h2",{id:"cookie-consent-title",className:"text-[16px] font-semibold leading-[24px]",children:"Cookies on actual.ai"}),(0,n.jsxs)("p",{id:"cookie-consent-description",className:"mt-2 text-[14px] leading-[22px] text-[rgba(255,255,255,0.65)]",children:["We use analytics cookies to understand how the site is used and to improve it. None are set until you accept. You can change your choice any time from the footer. See our"," ",(0,n.jsx)(a(),{href:"/privacy",className:"text-white underline underline-offset-2 hover:text-white/80",children:"Privacy Policy"}),"."]}),(0,n.jsxs)("div",{className:"mt-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",children:[(0,n.jsx)("button",{type:"button",onClick:()=>h("declined"),className:"".concat(u," border border-white/10 bg-white/10 text-white hover:bg-white/15 hover:border-white/20"),children:"Decline"}),(0,n.jsx)("button",{type:"button",onClick:()=>h("accepted"),className:"".concat(u," bg-white text-black hover:bg-white/90"),children:"Accept"})]})]},"cookie-consent")})}},79800:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var n=r(95155),i=r(41402),a=r.n(i),s=r(12115),o=r(49038);let l="G-Y6GMG9TSLG",c=["_ga","_ga_".concat(l.replace(/^G-/,"")),"_gid"];function d(){let e=(0,o.uC)(),t="accepted"===e;return((0,s.useEffect)(()=>{window["ga-disable-".concat(l)]=!t,"declined"===e&&function(){let e=location.hostname.split("."),t=[void 0,e.length>1?".".concat(e.slice(-2).join(".")):void 0];for(let e of c)for(let r of t)document.cookie="".concat(e,"=; max-age=0; path=/").concat(r?"; domain=".concat(r):"")}()},[e,t]),t)?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a(),{src:"https://www.googletagmanager.com/gtag/js?id=".concat(l),strategy:"afterInteractive"}),(0,n.jsx)(a(),{id:"google-analytics",strategy:"afterInteractive",children:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat(l,"');\n ")})]}):null}},82841:(e,t,r)=>{"use strict";r.d(t,{TrackedMarketingLink:()=>d});var n=r(95155),i=r(12115),a=r(88237),s=r(95704);let o={promo_code:["promo_code","promo"],partner_code:["partner_code","partner"]};function l(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,a.Yi)(),r=new URL(e,window.location.origin);if(!function(e){var t;let r=null!=(t=s.env.NEXT_PUBLIC_ACTUAL_APP_URL)?t:"https://app.actual.ai";try{return e.origin===new URL(r).origin}catch(t){return"app.actual.ai"===e.hostname}}(r))return e;for(let e of a.HS){var n;let i=t[e];if(i)for(let t of(r.searchParams.has(e)||r.searchParams.set(e,i),null!=(n=o[e])?n:[]))r.searchParams.has(t)||r.searchParams.set(t,i)}return r.toString()}var c=r(14428);function d(e){let{href:t,children:r,ctaId:s,ctaType:o="cta",ctaLocation:d,onClick:u,...p}=e,[h,f]=(0,i.useState)(t);return(0,i.useEffect)(()=>{(0,a.Du)(),f(l(t))},[t]),(0,n.jsx)("a",{href:h,onClick:e=>{(0,a.Du)();let r=l(t);f(r);let n=(0,a.Ir)({cta_id:s,cta_type:o,cta_location:null!=d?d:null,href:r});(0,c.R)("marketing_cta_clicked",n),"signup"===o&&(0,c.R)("marketing_signup_clicked",n),"login"===o&&(0,c.R)("marketing_login_clicked",n),r!==t&&(0,c.R)("marketing_handoff_to_app",n),e.currentTarget.href=r,null==u||u(e)},...p,children:r})}},85126:(e,t,r)=>{"use strict";r.d(t,{WebMCPProvider:()=>s});var n=r(12115),i=r(89021),a=r(98455);function s(){return(0,n.useEffect)(()=>{let e=(0,i.R)();if(e)return(0,i.v)(e,a.d_)},[]),null}},88237:(e,t,r)=>{"use strict";r.d(t,{Dc:()=>u,Du:()=>x,HS:()=>n,Ir:()=>g,Yi:()=>m});let n=["utm_source","utm_medium","utm_campaign","utm_content","landing_page","visitor_id","campaign_id","content_group","page_type","plan","promo_code","partner_co
1de"],i="actual_marketing_attribution",a="actual_marketing_visitor_id",s={utm_source:["utm_source"],utm_medium:["utm_medium"],utm_campaign:["utm_campaign"],utm_content:["utm_content"],landing_page:["landing_page"],visitor_id:["visitor_id"],campaign_id:["campaign_id"],content_group:["content_group"],page_type:["page_type"],plan:["plan"],promo_code:["promo_code","promo"],partner_code:["partner_code","partner"]},o=new Set(["email","user_email","name","company","phone","message","code","state","token","access_token","refresh_token","id_token","authorization","cookie","redirect","redirect_uri","redirect_to","error_description"]);function l(e){return(null==e?void 0:e.trim())||void 0}function c(e){for(let t of Array.from(e.searchParams.keys()))o.has(t.toLowerCase())&&e.searchParams.delete(t)}function d(e){try{let t=new URL(e,"https://actual.ai");return c(t),"".concat(t.pathname).concat(t.search).concat(t.hash)}catch(t){return e.split("?")[0]||"/"}}function u(e){try{let t=new URL(e,"https://actual.ai");return c(t),t.toString()}catch(t){return e.split("?")[0]||"/"}}function p(){try{let e=window.localStorage.getItem(i);if(!e)return{};let t=JSON.parse(e),r={};for(let e of n)if("string"==typeof t[e]&&t[e].trim()){let n=t[e].trim();r[e]="landing_page"===e?d(n):n}return r}catch(e){return{}}}function h(e){try{window.localStorage.setItem(i,JSON.stringify(e))}catch(e){}}function f(){try{var e,t,r;let n=l(window.localStorage.getItem(a));if(n)return n;let i=null!=(r=null==(t=globalThis.crypto)||null==(e=t.randomUUID)?void 0:e.call(t))?r:"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2));return window.localStorage.setItem(a,i),i}catch(e){return"".concat(Date.now(),"-").concat(Math.random().toString(36).slice(2))}}function x(){var e;let t=p(),r=function(e){let t={};for(let r of n)if("landing_page"!==r&&"visitor_id"!==r)for(let n of s[r]){let i=l(e.get(n));if(i){t[r]=i;break}}return t}(new URLSearchParams(window.location.search)),i=null!=(e=t.visitor_id)?e:f(),a={...r,...t,visitor_id:i};return t.landing_page||(a.landing_page=d("".concat(window.location.pathname).concat(window.location.search))),h(a),a}function m(){var e;let t=p(),r=null!=(e=t.visitor_id)?e:f(),n={...t,visitor_id:r};return t.visitor_id||h(n),n}function g(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{...m(),...e}}}},e=>{e.O(0,[5355,1741,6446,8229,6711,1356,2619,2231,6065,7602,8441,1255,7358],()=>e(e.s=29445)),_N_E=e.O()}]);
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.