1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[t]=`ec4b7880-43c2-4ebc-b0bb-ff4d0e917806`)}catch{}})();import{t as e}from"./jsx-runtime-BN_2YB3D.js";import{t}from"./link-RpdsRBS9.js";import{t as n}from"./useRouter-B8jh9_Ku.js";import{n as r,r as i}from"./utils-Czoftbae.js";import{a}from"./google-tag-manager-DOB0XCSz.js";import{y as o}from"./index-BADCftZ4.js";import{t as s}from"./marketing-nav-icons-D4kyd1vT.js";var c=i();function l(e){return{assistantPrompt:e,prefillDescription:e}}var u=`/post`,d=e();function f(e){let i=(0,c.c)(38),{href:f,id:h,children:g,size:_,icon:v,className:y,submit:b,disabled:x,analyticsLocation:S,"data-figma-id":C,postPrompt:w}=e,T=_===void 0?`default`:_,E=v===void 0||v,D=b!==void 0&&b,O=x!==void 0&&x,k=n(),A=E&&T==="default",j=g,M=S===`cta`?`closing_cta`:S,N=T==="default"?`text-heading-6 h-14 px-6 md:px-10`:`text-body-5-bold h-10 px-5`,P;i[0]!==y||i[1]!==N?(P=r(`group btn-motion bg-primary text-foreground hover:bg-primary-deep hover:text-primary focus-visible:bg-primary-deep focus-visible:text-primary inline-flex shrink-0 cursor-pointer items-center justify-center rounded-full`,`hover:scale-[1.03] focus-visible:scale-[1.03] active:scale-[0.98]`,`disabled:pointer-events-none disabled:cursor-wait`,N,y),i[0]=y,i[1]=N,i[2]=P):P=i[2];let F=P,I;i[3]===A?I=i[4]:(I=A?(0,d.jsx)(s,{width:18,height:18,className:`ease-hover mr-2 w-[18px] shrink-0 transition-[width,margin,opacity] duration-300 group-hover:mr-0 group-hover:w-0 group-hover:opacity-0`}):null,i[3]=A,i[4]=I);let L;i[5]===g?L=i[6]:(L=(0,d.jsx)(`span`,{className:`whitespace-nowrap`,children:g}),i[5]=g,i[6]=L);let R;i[7]===A?R=i[8]:(R=A?(0,d.jsx)(s,{width:18,height:18,className:`ease-hover w-0 shrink-0 opacity-0 transition-[width,margin,opacity] duration-300 group-hover:ml-2 group-hover:w-[18px] group-hover:opacity-100`}):null,i[7]=A,i[8]=R);let z;i[9]!==I||i[10]!==L||i[11]!==R?(z=(0,d.jsxs)(d.Fragment,{children:[I,L,R]}),i[9]=I,i[10]=L,i[11]=R,i[12]=z):z=i[12];let B=z,V;i[13]!==f||i[14]!==j||i[15]!==M?(V=()=>{M&&a({location:M,label:j,href:f})},i[13]=f,i[14]=j,i[15]=M,i[16]=V):V=i[16];let H=V,U;i[17]!==f||i[18]!==k?(U=()=>{f===`/post`&&(o().catch(m),k.preloadRoute({to:u}).catch(p))},i[17]=f,i[18]=k,i[19]=U):U=i[19];let W=U;if(D){let e;return i[20]!==B||i[21]!==O||i[22]!==C||i[23]!==h||i[24]!==W||i[25]!==F?(e=(0,d.jsx)(`button`,{type:`submit`,id:h,disabled:O,"data-figma-id":C,className:F,onFocus:W,onPointerDown:W,onPointerEnter:W,children:B}),i[20]=B,i[21]=O,i[22]=C,i[23]=h,i[24]=W,i[25]=F,i[26]=e):e=i[26],e}let G;i[27]===w?G=i[28]:(G=w?l(w):void 0,i[27]=w,i[28]=G);let K;return i[29]!==B||i[30]!==C||i[31]!==f||i[32]!==h||i[33]!==W||i[34]!==F||i[35]!==G||i[36]!==H?(K=(0,d.jsx)(t,{to:f,state:G,preload:`intent`,id:h,"data-figma-id":C,className:F,onClick:H,onFocus:W,onPointerDown:W,onPointerEnter:W,children:B}),i[29]=B,i[30]=C,i[31]=f,i[32]=h,i[33]=W,i[34]=F,i[35]=G,i[36]=H,i[37]=K):K=i[37],K}function p(){}function m(){}export{u as n,l as r,f as t}; 2//# chunkId=ec4b7880-43c2-4ebc-b0bb-ff4d0e917806
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.