PageSourceSearch

https://www.anything.com/_next/static/chunks/app/(main)/(header)/layout-d5228101925a46a3.js

js anything.com collected 2026-09-24 19:36:19 UTC 48,984 bytes, 16 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="22fdbe5c-75db-41a7-a59f-00cf45d9bdc0",e._sentryDebugIdIdentifier="sentry-dbid-22fdbe5c-75db-41a7-a59f-00cf45d9bdc0")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6504,30991],{75838:e=>{e.exports={content:"styles_content__2doRx","header-link":"styles_header-link__IPbOz",left:"styles_left__j5nJZ",right:"styles_right__rJX3A","sidebar-wrapper":"styles_sidebar-wrapper__D2i7w","logo-icon":"styles_logo-icon__RZpuR","organization-dropdown-container":"styles_organization-dropdown-container__qvxJF","organization-dropdown":"styles_organization-dropdown__pgXox","client-switch-button":"styles_client-switch-button__WxRac",svg:"styles_svg__f16GQ","is-hovered":"styles_is-hovered__wkrIj","is-pressed":"styles_is-pressed__YnFWe","is-focused":"styles_is-focused__9ImJY","client-switch-text":"styles_client-switch-text__Q9DW0",divider:"styles_divider__cp4oc","hamburger-icon-container":"styles_hamburger-icon-container__0Vpis","hamburger-icon":"styles_hamburger-icon__nyNML","hamburger-content":"styles_hamburger-content__Z40zG","search-icon-button":"styles_search-icon-button__yAqsY","mobile-menu":"styles_mobile-menu__0jj3z"}},96590:(e,t,r)=>{"use strict";function n(e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}r.d(t,{P:()=>n})},106504:(e,t,r)=>{"use strict";r.d(t,{BC:()=>ea,BR:()=>eD,Bv:()=>eT,CI:()=>eL,D7:()=>eA,Es:()=>b,FF:()=>W,H$:()=>et,H2:()=>ej,HJ:()=>Z,Hx:()=>ed,IC:()=>ek,IZ:()=>x,J1:()=>ep,JJ:()=>S,JP:()=>ex,LA:()=>eR,LD:()=>P,LL:()=>e$,M$:()=>T,MR:()=>eO,N:()=>ew,N8:()=>C,Nv:()=>eo,PX:()=>eb,Pw:()=>ey,Q:()=>eh,Rg:()=>eP,Ru:()=>m,S0:()=>u,Sj:()=>es,Sn:()=>M,Sz:()=>eC,T0:()=>z,T6:()=>I,TG:()=>J,Te:()=>N,U$:()=>L,VP:()=>h,WT:()=>eI,Z7:()=>d,_P:()=>ev,ac:()=>eg,bI:()=>ef,bp:()=>j,c:()=>er,cO:()=>Y,dP:()=>eS,dV:()=>g,du:()=>eM,eI:()=>f,fc:()=>A,fy:()=>H,g$:()=>w,iz:()=>_,l_:()=>e_,lx:()=>eu,m5:()=>v,mJ:()=>U,mn:()=>D,od:()=>B,pY:()=>ec,q5:()=>em,qL:()=>eE,qO:()=>y,qk:()=>ei,qn:()=>K,rG:()=>E,sw:()=>eB,tB:()=>eU,uB:()=>eG,uI:()=>q,v8:()=>R,vU:()=>p,vd:()=>eN,w4:()=>eF,wO:()=>ez,wt:()=>O,xY:()=>k,y8:()=>$,yu:()=>eV});var n,s=r(125695),a=r(207004),i=r(33031),o=r(904997),l=r(467105),c=r.n(l);let d="/",u="/login",m="/logout",h="/affiliates",p="/signup",f="/revision",g="/pricing",x="/help",_="/stripe-connect-dashboard",b="/careers",y="/community",v="/showcase",j="/help/functions",w="/help/user-accounts",I="/help/mobile",C="/help/publishing",N="/templates",E="/subscription",P="/custom-instructions",k="/memory",R="/invite",L="/databases",D="/analytics",S="/settings",A="/domains",O="/domains",$="/referrals",U="/templates",z="/credits",B="https://apps.apple.com/us/app/anything-ai-app-builder/id6751247034",T="/new",F="/admin",M=`${F}/design`,G="/share",V=`${G}/project`,X="/dashboard",H="/redirect/stripe",W="/stripe",J="/payments";var q=((n={}).PAGE="page",n.FILTER="filter",n.SORT="sort",n.QUERY="q",n.SEARCH="search",n.ORG="org",n.PROJECT_ID="project",n.APP_KIND="app",n.SLUG="slug",n.IS_COMPONENT="component",n.REVISION_ID="rev",n.ADMIN_REVISION_ID="revisionId",n.PROJECT_GROUP_ID="projectg",n.ADMIN_PROJECT_GROUP_ID="projectGroupId",n.DATA_STORE_ID="db",n.VIEWING_MODULE_ID="v",n.VIEWING_CODE_MODULE_ID="vc",n.VIEWING_DATABASE_ID="d",n.CODE="code",n.PRICE_ID="price_id",n.REFERRAL="referral",n.PATH="path",n.LOOKUP="lookup",n.THREAD_ID="t",n.PROMPT="prompt",n.AUTO_SUBMIT="autosubmit",n.RETURN_TO="return_to",n.DUB_ID="dub_id",n.PANEL="p",n.MODE="m",n.SETTINGS_TAB="tab",n.SORT_DIRECTION="dir",n.CREATOR="creator",n);function Y(e){let t=Array.isArray(e)?e[0]:e;return""===t||"1"===t||"true"===t}function Z({origin:e,prompt:t}){let r=new URLSearchParams;t&&(r.set("prompt",t),r.set("autosubmit","1"));let n=r.toString(),s=new URLSearchParams({return_to:`${e}${T}${n?`?${n}`:""}`});return`${g}?${s.toString()}`}let Q={v:"view",d:"view-db",vc:"view-code",t:"thread",rev:"revision",p:"panel",m:"mode",tab:"stab"};function K(e,t){let r=Q[t];return e.get(t)??(r?e.get(r):null)}function ee(e){return`${e.slice(0,8)}-${e.slice(8,12)}-${e.slice(12,16)}-${e.slice(16,20)}-${e.slice(20)}`}function et(e){let t=e.replace(/-/g,"");if(32!==t.length||!/^[\da-f]+$/i.test(t))return e;let r="";for(let e=0;e<16;e++)r+=String.fromCharCode(parseInt(t.slice(2*e,2*e+2),16));return btoa(r).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function er(e){if(e.includes("-")&&36===e.length)return e;if(32===e.length&&/^[\da-f]+$/i.test(e))return ee(e);if(22===e.length)try{let t=e.replace(/-/g,"+").replace(/_/g,"/")+"==",r=atob(t);if(16!==r.length)return e;let n="";for(let e=0;e<16;e++)n+=r.charCodeAt(e).toString(16).padStart(2,"0");return ee(n)}catch{}return e}let en="development"===s.Ay.NODE_ENV?"http":"https",es=e=>c()(["/build",et(e.projectGroupId),...e.viewingModuleId?[`?v=${et(e.viewingModuleId)}`]:[],...e.viewingDatabaseId?[`?d=${et(e.viewingDatabaseId)}`]:[]]),ea=e=>{let t=(0,a.r)(e?.redirectUrl??null);return`${u}${t?`?${i.REDIRECT_AFTER_LOGIN_QUERY_PARAM}=${encodeURIComponent(t)}`:""}`},ei=e=>{let t=(0,a.r)(e?.redirectUrl??null);return`${p}${t?`?${i.REDIRECT_AFTER_LOGIN_QUERY_PARAM}=${encodeURIComponent(t)}`:""}`},eo=e=>{let t=e.forGroup?`${V}/${e.projectId}`:`${G}/${e.projectId}`;return e.fullURL?`${el()}${t}`:t},el=()=>s.Ay.NEXT_PUBLIC_PREFERRED_URL??s.Ay.NEXT_PUBLIC_URL,ec=e=>{let t=s.Ay.NEXT_PUBLIC_HOSTED_DOMAIN;return c()([`${en}://${e.slug}.${t}`,e.pathSegment&&"/"!==e.pathSegment?e.pathSegment:""])},ed=e=>c()(["/projects/new",`?projectg=${e.projectGroupId}`]),eu=e=>{let t;return"team"===(t=c()([X,"team"]),e.includes(t)?"team":null)},em=e=>{let t=X;return e.organizationId&&(t=c()([t,`/team/${e.organizationId}`])),t},eh=({currentPathname:e,organizationId:t})=>{let r=em({organizationId:t}),n=e.split("/")[4];return n?c()([r,n]):r},ep=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,E])},ef=({organizationId:e})=>c()([ep({organizationId:e}),"/plans"]),eg=({dataStoreId:e})=>c()(["/database",e]),ex=({slug:e,pathSegment:t,projectId:r})=>{var n;let s,a;return e&&t?ec({slug:e,pathSegment:t}):(s="slug"in(n={fullURL:!0,projectId:r})?`/@${n.slug}`:`/app/${n.projectId}`,a=[],(n.hideIconOverlay&&a.push("hideIconOverlay=true"),n.includeUTM&&a.push("utm_source=share&utm_content=share_button"),a.length>0&&(s=c()(s,`?${a.join("&")}`)),n.fullURL)?c()(el(),s):s)},e_=({integration:e})=>`/images/integrations/${(0,o.k)(e)}.png`,eb=({projectGroupId:e,path:t,canvas:r,fullURL:n})=>{let a=new URLSearchParams().toString(),i=`${en}://${e}.${s.Ay.NEXT_PUBLIC_SANDBOX_DOMAIN}/`,o=c()([...n?[i]:[],...r?["/~~builder/canvas"]:[t],a?`?${a}`:""]);return o||"/"},ey=({projectGroupId:e,projectId:t,fullURL:r,canvas:n})=>{let a=new URLSearchParams,i=`${en}://${e}.${s.Ay.NEXT_PUBLIC_SANDBOX_DOMAIN}/`,o=a.toString();return c()([...r?[i]:[],...n?["/~~builder/canvas"]:["/~~builder/project/",t],o?`?${o}`:""])},ev=({templateId:e,slug:t})=>{let r=t??e;return r?c()([N,r]):N},ej=({page:e,organizationId:t})=>{let r=em({organizationId:t});return c()([r,W,e])},ew=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,J])},eI=({userDatabaseId:e,organizationId:t})=>{let r=em({organizationId:t});return c()([r,L,e])},eC=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,P])},eN=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,k])},eE=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,R])},eP=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,L])},ek=({organizationId:e,projectGroupId:t})=>{let r=em({organizationId:e}),n=c()([r,D]);return t?`${n}?projectg=${t}`:n},eR=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,S])},eL=({referralCode:e,fullURL:t=!1})=>{let r=c()(["/invite",e]);return t?c()(el(),r):r},eD=e=>c()([...e.fullURL?[el()]:[],"/mobile-preview",e.projectGroupId,e.pathSegment?`?path=${encodeURIComponent(e.pathSegment)}`:""]),eS=e=>c()([...e.fullURL?[el()]:[],"/app-image-upload/",e.uploadCareUUID]),eA=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,O])},eO=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,$])},e$=({organizationId:e})=>{let t=em({organizationId:e});return c()([t,U])},eU=({organizationId:e,domainId:t})=>{let r=eA({organizationId:e});return c()([r,t,"dns"])},ez=({projectGroupId:e,slug:t})=>{let r=s.Ay.NEXT_PUBLIC_HOSTED_DOMAIN.includes("localhost");return c()([r?"http://":"https://",t?`${t}.${s.Ay.NEXT_PUBLIC_HOSTED_DOMAIN}`:`${e}.${s.Ay.NEXT_PUBLIC_HOSTED_DOMAIN}`])},eB=({projectGroupId:e})=>c()([M,e]),eT=({revisionId:e})=>c()([F,`revision-data?revisionId=${e}`]),eF=({projectGroupId:e})=>c()([F,`project-groups?projectGroupId=${e}`]),eM=({goldenDesignId:e})=>c()([M,"golden",e]),eG=({projectGroupId:e,projectGroupRevisionId:t})=>{let r=c()([M,"rag",e]);return t?`${r}?projectGroupRevisionId=${encodeURIComponent(t)}`:r},eV=({projectGroupRevisionId:e})=>c()([M,"rag","tournament",e])},115565:(e,t,r)=>{"use strict";r.d(t,{A:()=>h}),r(976413),r(718881);
1var n=r(11241),s=r(917339),a=r(730238),i=r(496734),o=r(294799),l=r(834023),c=r(859144),d=r(747841),u=r(8411);let m=(0,s.F)("hidden rounded-[8px] border shadow-style-1 tablet:block",{variants:{variant:{default:"border-border bg-popover text-popover-foreground"}},defaultVariants:{variant:"default"}}),h=(0,l.forwardRef)(function(e,t){let r,h,g,x=(0,n.c)(23),{children:_,modal:b,open:y,onOpenChange:v,content:j,contentClassName:w,side:I,align:C,sideOffset:N,alignOffset:E,disableAutoFocus:P,nested:k,dismissible:R,snapPoints:L,activeSnapPoint:D,setActiveSnapPoint:S,className:A,animated:O}=e,$=void 0===P||P,[U,z]=(0,d.P)(y,!1,v),B=(0,a.OD)();return x[0]!==z?(r=()=>({open:()=>{z(!0)},close:()=>{z(!1)}}),h=[z],x[0]=z,x[1]=r,x[2]=h):(r=x[1],h=x[2]),(0,l.useImperativeHandle)(t,r,h),x[3]!==D||x[4]!==C||x[5]!==E||x[6]!==O||x[7]!==_||x[8]!==A||x[9]!==j||x[10]!==w||x[11]!==$||x[12]!==R||x[13]!==B||x[14]!==b||x[15]!==k||x[16]!==U||x[17]!==S||x[18]!==z||x[19]!==I||x[20]!==N||x[21]!==L?(g=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"hidden tablet:flex",children:(0,o.jsxs)(u.bL,{modal:b,open:U,onOpenChange:z,children:[(0,o.jsx)(u.l9,{asChild:!0,children:_}),B&&(0,o.jsx)(u.ZL,{children:(0,o.jsx)(u.UC,{className:(0,s.cn)("modal-content z-modal origin-[var(--radix-popover-content-transform-origin)] outline-none",w),sideOffset:N,side:I,align:C,alignOffset:E,...$?{onOpenAutoFocus:p,onCloseAutoFocus:f}:{},children:(0,o.jsx)(c.P.div,{...O?{initial:{opacity:0,scale:.96},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.96},transition:{duration:.18,ease:[.23,1,.32,1]}}:{},className:(0,s.cn)(m(),A),children:j})})})]})}),!B&&(0,o.jsx)("div",{className:"flex tablet:hidden",children:(0,o.jsx)(i._s,{open:U,modal:b,onOpenChange:z,dismissible:R,snapPoints:L,activeSnapPoint:D,setActiveSnapPoint:S,nested:k,content:j,children:_})})]}),x[3]=D,x[4]=C,x[5]=E,x[6]=O,x[7]=_,x[8]=A,x[9]=j,x[10]=w,x[11]=$,x[12]=R,x[13]=B,x[14]=b,x[15]=k,x[16]=U,x[17]=S,x[18]=z,x[19]=I,x[20]=N,x[21]=L,x[22]=g):g=x[22],g});function p(e){e.preventDefault()}function f(e){e.preventDefault()}},122744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={default:function(){return d},getImageProps:function(){return c}};for(var s in n)Object.defineProperty(t,s,{enumerable:!0,get:n[s]});let a=r(814184),i=r(376316),o=r(898064),l=a._(r(918136));function c(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let d=o.Image},207004:(e,t,r)=>{"use strict";r.d(t,{r:()=>s});let n=new Set(["/login","/signup"]);function s(e){if(!e||!e.startsWith("/")||e.startsWith("//"))return null;try{let t=new URL(e,"https://anything.local");if("https://anything.local"!==t.origin||n.has(t.pathname))return null;return`${t.pathname}${t.search}${t.hash}`}catch{return null}}},211387:(e,t,r)=>{"use strict";async function n(e,t={}){let{url:r="about:blank",target:s="_blank"}=t,a=window.open(r,s);if(!a){let t=await e();t&&(window.location.href=t);return}try{let t=await e();if(!t)return void a.close();a.location.href=t}catch(e){try{a.close()}catch(e){}throw e}}r.d(t,{a:()=>n})},276292:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(834023);let s=Error("No OrganizationContext available. You must use this hook in a component that's a descendent of OrganizationProvider"),a=(0,n.createContext)({actions:{refetch:()=>{throw s}},state:{organizations:[]}})},302978:(e,t,r)=>{"use strict";r.d(t,{H4:()=>y,_V:()=>b,bL:()=>_});var n=r(834023),s=r(703521),a=r(41824),i=r(626594),o=r(516693),l=r(292350),c=r(294799),d=Object.defineProperty,u=(e,t)=>d(e,"name",{value:t,configurable:!0}),m="Avatar",[h,p]=(0,a.A)(m),f=[0,()=>void 0],[g,x]=h(m),_=n.forwardRef(u(function(e,t){let{__scopeAvatar:r,...s}=e,[a,i]=n.useState("idle"),[o,d]=w();return(0,c.jsx)(g,{scope:r,imageLoadingStatus:a,setImageLoadingStatus:i,imageCount:o,setImageCount:d,children:(0,c.jsx)(l.sG.span,{...s,ref:t})})},"Avatar")),b=n.forwardRef(u(function(e,t){let{__scopeAvatar:r,src:s,onLoadingStatusChange:a,...d}=e,u=x("AvatarImage",r);I(u.setImageCount);let m=v(s,{referrerPolicy:d.referrerPolicy,crossOrigin:d.crossOrigin,loadingStatus:u.imageLoadingStatus,set
1LoadingStatus:u.setImageLoadingStatus}),h=(0,i.c)(e=>{a?.(e)}),p=n.useRef(m);return(0,o.N)(()=>{let e=p.current;p.current=m,m!==e&&h(m)},[m,h]),"loaded"===m?(0,c.jsx)(l.sG.img,{...d,ref:t,src:s}):null},"AvatarImage")),y=n.forwardRef(u(function(e,t){let{__scopeAvatar:r,delayMs:s,...a}=e,i=x("AvatarFallback",r),[o,d]=n.useState(void 0===s);return n.useEffect(()=>{if(void 0!==s){let e=window.setTimeout(()=>d(!0),s);return()=>window.clearTimeout(e)}},[s]),o&&"loaded"!==i.imageLoadingStatus?(0,c.jsx)(l.sG.span,{...a,ref:t}):null},"AvatarFallback"));function v(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:n,crossOrigin:s}){return(0,o.N)(()=>{if(!e)return void r("error");let t=new window.Image,a=u(e=>{r(j(e.currentTarget))},"handleLoad"),i=u(()=>r("error"),"handleError");return t.addEventListener("load",a),t.addEventListener("error",i),n&&(t.referrerPolicy=n),t.crossOrigin=s??null,t.src=e,r(j(t)),()=>{t.removeEventListener("load",a),t.removeEventListener("error",i),r("idle")}},[e,s,n,r]),t}function j(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}function w(){let e=f;if(s.D){let[t]=e=n.useState(0),r=n.useRef(!1);n.useEffect(()=>{t>1&&!r.current&&(r.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}function I(e){s.D&&n.useEffect(()=>(e(e=>e+1),()=>{e(e=>e-1)}),[e])}u(v,"useImageLoadingStatus"),u(j,"getImageLoadingStatus"),u(w,"useImageCount"),u(I,"useUpdateImageCount")},403174:(e,t,r)=>{"use strict";r.d(t,{_u:()=>u,m_:()=>d}),r(976413),r(718881);var n=r(917339),s=r(313822);r(103967);var a=r(294799),i=r(834023),o=r(97252);let l=(0,n.F)(["z-tooltip overflow-hidden","min-h-[20px] min-w-[40px] max-w-xs","origin-[var(--radix-tooltip-content-transform-origin)]","animate-in fade-in-0 zoom-in-95 duration-[140ms] ease-out-strong","data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:duration-[100ms]","data-[state=instant-open]:animate-none data-[state=instant-open]:duration-0","data-[side=bottom]:slide-in-from-top-[2px] data-[side=left]:slide-in-from-right-[2px] data-[side=right]:slide-in-from-left-[2px] data-[side=top]:slide-in-from-bottom-[2px]"],{variants:{variant:{default:"rounded-md bg-primary text-primary-foreground px-[10px] py-[6px] text-center",custom:""}},defaultVariants:{variant:"default"}}),c={side:"top",isInstant:!1,align:"center",variant:"default",asChild:!0,sideOffset:4,collisionPadding:4},d=e=>{let t={...c,...e},{open:r,defaultOpen:i,onOpenChange:d}=t;return(0,a.jsxs)(o.bL,{open:r,defaultOpen:i,onOpenChange:d,delayDuration:600*!t.isInstant,children:[(0,a.jsx)(o.l9,{asChild:t.asChild,children:t.children}),(0,a.jsx)(o.ZL,{children:(0,a.jsx)(o.UC,{side:t.side,align:t.align,sideOffset:t.sideOffset,collisionPadding:t.collisionPadding,className:(0,n.cn)(l({variant:t.variant}),t.className),children:"string"==typeof t.content?(0,a.jsx)(s.E,{type:"body-sm",children:t.content}):t.content})})]})};function u(e){return e.content?(0,a.jsx)(d,{...e}):(0,a.jsx)(a.Fragment,{children:e.children})}o.Kq,o.l9,(0,i.forwardRef)(({className:e,variant:t="default",sideOffset:r=4,...s},i)=>(0,a.jsx)(o.ZL,{children:(0,a.jsx)(o.UC,{ref:i,sideOffset:r,className:(0,n.cn)(l({variant:t}),e),...s})})).displayName=o.UC.displayName},448342:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(294799),s=r(11241),a=r(917339),i=r(71940),o=r(834023),l=r(96590);let c=o.forwardRef((e,t)=>{let r=o.Children.only(e.children);if(o.isValidElement(r)){let n=(0,i.v)(e,r.props);n.onPress=n.onClick,delete n.onClick;let s=r.ref,a=(0,l.P)(s?[t,s]:[t]);return o.cloneElement(r,{...n,ref:a})}return null});var d=r(480309),u=r(309894),m=r(910508),h=r.n(m),p=r(789545),f=r(577096);let g={position:"right"},x={hasCloseButton:!1},_={isPrimary:!1,isCloseButton:!1,isDisabled:!1},b={Root:function(e){let t,r,a,i=(0,s.c)(6);return i[0]!==e?({children:t,...r}=e,i[0]=e,i[1]=t,i[2]=r):(t=i[1],r=i[2]),i[3]!==t||i[4]!==r?(a=(0,n.jsx)(d.bL,{...r,children:t}),i[3]=t,i[4]=r,i[5]=a):a=i[5],a},Trigger:function(e){let t,r,a=(0,s.c)(5),{hasReactAriaChildren:i,children:o}=e;return a[0]!==o||a[1]!==i?(t=i?(0,n.jsx)(c,{children:o}):o,a[0]=o,a[1]=i,a[2]=t):t=a[2],a[3]!==t?(r=(0,n.jsx)(d.l9,{asChild:!0,className:h().trigger,children:t}),a[3]=t,a[4]=r):r=a[4],r},Content:function(e){let t,r,i,o,l,c,u,m,p,f,x=(0,s.c)(21);if(x[0]!==e){let{children:s,className:u,overlay:m,...p}=i={...g,...e};r=d.ZL,c=m?(0,n.jsx)(d.hJ,{asChild:!0,children:m}):(0,n.jsx)(d.hJ,{asChild:!0,className:h().overlay,children:(0,n.jsx)("div",{})}),t=d.UC,o=p,l=(0,a.cn)(h()["radix-content"],h()[`position-${i.position}`],i.className),x[0]=e,x[1]=t,x[2]=r,x[3]=i,x[4]=o,x[5]=l,x[6]=c}else t=x[1],r=x[2],i=x[3],o=x[4],l=x[5],c=x[6];let _=h()[`position-${i.position}`];return x[7]!==_?(u=(0,a.cn)(h().content,_),x[7]=_,x[8]=u):u=x[8],x[9]!==i.children||x[10]!==u?(m=(0,n.jsx)("div",{className:u,children:i.children}),x[9]=i.children,x[10]=u,x[11]=m):m=x[11],x[12]!==t||x[13]!==o||x[14]!==l||x[15]!==m?(p=(0,n.jsx)(t,{...o,className:l,children:m}),x[12]=t,x[13]=o,x[14]=l,x[15]=m,x[16]=p):p=x[16],x[17]!==r||x[18]!==c||x[19]!==p?(f=(0,n.jsxs)(r,{children:[c,p]}),x[17]=r,x[18]=c,x[19]=p,x[20]=f):f=x[20],f},Footer:function(e){let t,r,i=(0,s.c)(6);return i[0]!==e.className||i[1]!==e.isSticky?(t=(0,a.cn)(h().footer,e.className,{"is-sticky":e.isSticky}),i[0]=e.className,i[1]=e.isSticky,i[2]=t):t=i[2],i[3]!==e.children||i[4]!==t?(r=(0,n.jsx)("div",{className:t,children:e.children}),i[3]=e.children,i[4]=t,i[5]=r):r=i[5],r},Header:function(e){let t,r,i,o,l,m,g,_,b,y=(0,s.c)(22);
1return y[0]!==e?(t={...x,...e},r=(0,a.cn)(h()["header-wrapper"],t.className),y[0]=e,y[1]=t,y[2]=r):(t=y[1],r=y[2]),y[3]!==t.title?(i=(0,n.jsx)("div",{className:h()["header-title"],children:t.title}),y[3]=t.title,y[4]=i):i=y[4],y[5]!==t.subtitle?(o=t.subtitle&&(0,n.jsx)("p",{className:h()["header-subtitle"],children:t.subtitle}),y[5]=t.subtitle,y[6]=o):o=y[6],y[7]!==i||y[8]!==o?(l=(0,n.jsxs)(d.hE,{className:h()["header-titles"],children:[i,o]}),y[7]=i,y[8]=o,y[9]=l):l=y[9],y[10]!==t.hasCloseButton||y[11]!==t.onClose?(m=t.hasCloseButton&&(0,n.jsx)(d.bm,{asChild:!0,children:(0,n.jsx)(c,{children:(0,n.jsx)(u.Button,{color:"dark",onPress:t.onClose,"aria-label":"Close drawer",children:(0,n.jsx)(p.I,{content:(0,n.jsx)(f.X,{width:16,height:16})})})})}),y[10]=t.hasCloseButton,y[11]=t.onClose,y[12]=m):m=y[12],y[13]!==l||y[14]!==m?(g=(0,n.jsxs)("div",{className:h().header,children:[l,m]}),y[13]=l,y[14]=m,y[15]=g):g=y[15],y[16]!==t.children?(_=t.children&&(0,n.jsx)("div",{className:h()["header-actions"],children:t.children}),y[16]=t.children,y[17]=_):_=y[17],y[18]!==r||y[19]!==g||y[20]!==_?(b=(0,n.jsxs)("div",{className:r,children:[g,_]}),y[18]=r,y[19]=g,y[20]=_,y[21]=b):b=y[21],b},Action:function(e){let t,r,a=(0,s.c)(6),i=e["aria-label"];return a[0]!==e.icon?(t=(0,n.jsx)(p.I,{content:e.icon}),a[0]=e.icon,a[1]=t):t=a[1],a[2]!==e.onPress||a[3]!==i||a[4]!==t?(r=(0,n.jsx)(u.Button,{size:"sm",color:"dark",onPress:e.onPress,"aria-label":i,className:h()["header-action"],children:t}),a[2]=e.onPress,a[3]=i,a[4]=t,a[5]=r):r=a[5],r},FooterButton:function(e){let t,r,a=(0,s.c)(7);a[0]!==e?(t={..._,...e},a[0]=e,a[1]=t):t=a[1];let i=t;return a[2]!==i.children||a[3]!==i.isCloseButton||a[4]!==i.isPrimary||a[5]!==i.onPress?(r=i.isCloseButton?(0,n.jsx)(d.bm,{asChild:!0,children:(0,n.jsx)(c,{children:(0,n.jsx)(u.Button,{color:i.isPrimary?"dark":"light",children:i.children})})}):(0,n.jsx)(u.Button,{color:i.isPrimary?"dark":"light",onPress:i.onPress,children:i.children}),a[2]=i.children,a[3]=i.isCloseButton,a[4]=i.isPrimary,a[5]=i.onPress,a[6]=r):r=a[6],r}}},449259:(e,t,r)=>{"use strict";r.d(t,{_u:()=>n._u,m_:()=>n.m_}),r(976413),r(718881);var n=r(403174)},482515:(e,t,r)=>{"use strict";r.d(t,{default:()=>s.a});var n=r(122744),s=r.n(n)},486447:(e,t,r)=>{"use strict";r.d(t,{H:()=>u,default:()=>m});var n=r(294799),s=r(11241),a=r(917339),i=r(302978),o=r(921513),l=r(482515),c=r(716710);let d=e=>{switch(e){case"small":return 20;case"medium":return 30;case"large":return 40;case"xl":return 48;case"2xl":return 64;case"3xl":return 84;case"4xl":return 100}};function u(e){let t,r,u,m,h,p,f=(0,s.c)(30),{image:g,userId:x,name:_,size:b,Image:y,className:v}=e,j=void 0===b?"medium":b;f[0]!==_?.[0]||f[1]!==x?(t=_?.[0]?.toUpperCase()==="+"?`+${x}`:_?.[0]?.toUpperCase(),f[0]=_?.[0],f[1]=x,f[2]=t):t=f[2];let w=t;f[3]!==g||f[4]!==x?(r=g||x&&(0,c.s)(x).url,f[3]=g,f[4]=x,f[5]=r):r=f[5];let I=r,C="small"===j,N="medium"===j,E="large"===j,P="xl"===j,k="2xl"===j,R="3xl"===j,L="4xl"===j;return f[6]!==v||f[7]!==L||f[8]!==C||f[9]!==N||f[10]!==E||f[11]!==P||f[12]!==k||f[13]!==R?(u=(0,a.cn)("inline-flex items-center justify-center","select-none","relative","rounded-full","flex-shrink-0",{"h-[20px] w-[20px]":C,"h-[30px] w-[30px]":N,"h-[40px] w-[40px]":E,"h-[48px] w-[48px]":P,"h-[64px] w-[64px]":k,"h-[84px] w-[84px]":R,"h-[100px] w-[100px]":L},v),f[6]=v,f[7]=L,f[8]=C,f[9]=N,f[10]=E,f[11]=P,f[12]=k,f[13]=R,f[14]=u):u=f[14],f[15]!==y||f[16]!==g||f[17]!==I||f[18]!==w||f[19]!==j||f[20]!==x?(m=y?(0,n.jsx)(y,{image:I,className:"h-full w-full rounded-[inherit] object-cover"}):(0,n.jsx)(o.N,{children:I&&(0,n.jsx)(l.default,{className:(0,a.cn)("h-full w-full rounded-[inherit] object-cover"),style:{backgroundColor:g?"#ffffff"
1:x?(0,c.s)(x).hex:void 0},src:I,alt:`${w}'s avatar`,width:d(j),height:d(j),unoptimized:!0})}),f[15]=y,f[16]=g,f[17]=I,f[18]=w,f[19]=j,f[20]=x,f[21]=m):m=f[21],f[22]!==g||f[23]!==w||f[24]!==j?(h=!g&&(0,n.jsx)("span",{className:(0,a.cn)("absolute font-medium text-body-md text-white",{"text-[1.5rem]":"2xl"===j,"text-[2rem]":"3xl"===j,"text-[0.5rem]":"small"===j}),children:w}),f[22]=g,f[23]=w,f[24]=j,f[25]=h):h=f[25],f[26]!==u||f[27]!==m||f[28]!==h?(p=(0,n.jsxs)(i.bL,{className:u,children:[m,h]}),f[26]=u,f[27]=m,f[28]=h,f[29]=p):p=f[29],p}let m=u},496734:(e,t,r)=>{"use strict";r.d(t,{_s:()=>d,h7:()=>u});var n=r(11241);r(976413),r(718881);var s=r(917339),a=r(294799),i=r(834023),o=r(747841),l=r(142534),c=r(729725);let d=(0,i.forwardRef)(function(e,t){let r,d,u,m,h,p,f,g=(0,n.c)(24),{children:x,modal:_,open:b,blurBackground:y,onOpenChange:v,content:j,nested:w,dismissible:I,snapPoints:C,activeSnapPoint:N,setActiveSnapPoint:E,title:P,description:k}=e,R=void 0!==y&&y,[L]=(0,i.useState)(b),[D,S]=(0,o.P)(b,!1,v);g[0]!==S?(r=e=>{S(e)},g[0]=S,g[1]=r):r=g[1];let A=r;if(g[2]!==S?(d=()=>({open:()=>{S(!0)},close:()=>{S(!1)}}),u=[S],g[2]=S,g[3]=d,g[4]=u):(d=g[3],u=g[4]),(0,i.useImperativeHandle)(t,d,u),g[5]!==L||g[6]!==S?(m=()=>()=>{L||S(!1)},g[5]=L,g[6]=S,g[7]=m):m=g[7],g[8]===Symbol.for("react.memo_cache_sentinel")?(h=[],g[8]=h):h=g[8],(0,i.useEffect)(m,h),g[9]!==N||g[10]!==R||g[11]!==x||g[12]!==j||g[13]!==k||g[14]!==I||g[15]!==D||g[16]!==A||g[17]!==_||g[18]!==w||g[19]!==E||g[20]!==C||g[21]!==P){f=Symbol.for("react.early_return_sentinel");e:{let e=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c._s.Trigger,{asChild:!0,children:x}),(0,a.jsxs)(c._s.Portal,{children:[_&&(0,a.jsx)(c._s.Overlay,{className:(0,s.cn)("fixed inset-0 z-modal bg-black bg-opacity-50",R&&"backdrop-blur-sm"),onClick:()=>{A(!1)}}),(0,a.jsxs)(l.s,{children:[(0,a.jsx)(c._s.Title,{children:P}),(0,a.jsx)(c._s.Description,{children:k})]}),(0,a.jsx)(c._s.Content,{className:"fixed right-0 bottom-0 left-0 z-modal block h-fit w-full rounded-t-[10px] border-t border-comeback-gray-75 bg-background text-foreground shadow-md outline-none desktop:hidden",children:j})]})]});if(w){f=(0,a.jsx)(c._s.NestedRoot,{open:D,modal:_,onOpenChange:A,dismissible:I,snapPoints:C,activeSnapPoint:N,setActiveSnapPoint:E,children:e});break e}p=(0,a.jsx)(c._s.Root,{open:D,modal:_,onOpenChange:A,dismissible:I,snapPoints:C,activeSnapPoint:N,setActiveSnapPoint:E,children:e})}g[9]=N,g[10]=R,g[11]=x,g[12]=j,g[13]=k,g[14]=I,g[15]=D,g[16]=A,g[17]=_,g[18]=w,g[19]=E,g[20]=C,g[21]=P,g[22]=p,g[23]=f}else p=g[22],f=g[23];return f!==Symbol.for("react.early_return_sentinel")?f:p}),u=({className:e})=>(0,a.jsx)("div",{className:(0,s.cn)("mt-[12px] h-[4px] w-[120px] self-center rounded-full bg-comeback-gray-500",e)})},539672:(e,t,r)=>{"use strict";r.d(t,{default:()=>L});var n=r(294799),s=r(11241),a=r(106504),i=r(555246),o=r(917339),l=r(309894),c=r(510423),d=r.n(c),u=r(91976),m=r(834023),h=r(886287),p=r(688303),f=r(448342),g=r(445870),x=r(103967),_=r(807629),b=r(486447),y=r(544245),v=r(648692),j=r(33031),w=r(890292);let I={};function C(e){let t,r,a,i,o,l=(0,s.c)(16);l[0]!==e?(t={...I,...e},l[0]=e,l[1]=t):t=l[1];let c=t,[d,u]=(0,m.useState)(!1);l[2]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{u(!1)},l[2]=r):r=l[2];let h=r;return l[3]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.jsx)(f.A.Trigger,{children:(0,n.jsx)("div",{children:(0,n.jsx)(g.A,{content:w.qU,size:"large"})})}),l[3]=a):a=l[3],l[4]!==c.email||l[5]!==c.fullName||l[6]!==c.isLoggedIn||l[7]!==c.name||l[8]!==c.profilePhotoUrl||l[9]!==c.stripeLinkProps||l[10]!==c.userId||l[11]!==c.username?(i=(0,n.jsx)(f.A.Content,{position:"right",children:(0,n.jsx)("div",{className:"h-full w-full bg-white text-comeback-gray-900",children:c.isLoggedIn?(0,n.jsx)(N,{userId:c.userId,username:c.username,email:c.email,fullName:c.fullName,profilePhotoUrl:c.profilePhotoUrl,name:c.name,onCloseDrawer:h,str
1ipeLinkProps:c.stripeLinkProps}):(0,n.jsx)(P,{onCloseDrawer:h})})}),l[4]=c.email,l[5]=c.fullName,l[6]=c.isLoggedIn,l[7]=c.name,l[8]=c.profilePhotoUrl,l[9]=c.stripeLinkProps,l[10]=c.userId,l[11]=c.username,l[12]=i):i=l[12],l[13]!==d||l[14]!==i?(o=(0,n.jsxs)(f.A.Root,{modal:!0,open:d,onOpenChange:u,children:[a,i]}),l[13]=d,l[14]=i,l[15]=o):o=l[15],o}function N(e){let t,r,i,o,l,c,u,m,h,p,f,j,I,C,N,P,k,R,L,D,S,A,O,$,U=(0,s.c)(49),{state:z}=(0,v.A)(),{organizations:B}=z;U[0]!==B?(t=B.some(E),U[0]=B,U[1]=t):t=U[1];let T=t,F=e.userId??null,M=e.profilePhotoUrl??null,G=e.name??null;return U[2]!==F||U[3]!==M||U[4]!==G?(r=(0,n.jsx)(b.default,{userId:F,image:M,name:G}),U[2]=F,U[3]=M,U[4]=G,U[5]=r):r=U[5],U[6]!==e.fullName||U[7]!==e.username?(i=(e.fullName||e.username)&&(0,n.jsx)(x.E,{type:"body-lg",weight:"medium",children:e.fullName||e.username}),U[6]=e.fullName,U[7]=e.username,U[8]=i):i=U[8],U[9]!==e.username?(o=e.username&&(0,n.jsx)(x.E,{className:"text-comeback-gray-500",children:e.username}),U[9]=e.username,U[10]=o):o=U[10],U[11]!==i||U[12]!==o?(l=(0,n.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[i,o]}),U[11]=i,U[12]=o,U[13]=l):l=U[13],U[14]!==r||U[15]!==l?(c=(0,n.jsxs)("div",{className:"flex flex-col gap-[24px] pt-[56px] pb-[40px]",children:[r,l]}),U[14]=r,U[15]=l,U[16]=c):c=U[16],U[17]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.q5)({organizationId:null}),U[17]=u):u=U[17],U[18]===Symbol.for("react.memo_cache_sentinel")?(m=(0,n.jsx)(x.E,{children:"Projects"}),U[18]=m):m=U[18],U[19]!==e.onCloseDrawer?(h=(0,n.jsx)(d(),{href:u,onClick:e.onCloseDrawer,children:m}),U[19]=e.onCloseDrawer,U[20]=h):h=U[20],U[21]!==T||U[22]!==e.onCloseDrawer||U[23]!==e.stripeLinkProps?(p=!!e.stripeLinkProps&&(0,n.jsx)(_.x,{stripeLinkProps:e.stripeLinkProps,isRevenueCatProductId:!1,isPaidPlan:T,onClick:e.onCloseDrawer}),U[21]=T,U[22]=e.onCloseDrawer,U[23]=e.stripeLinkProps,U[24]=p):p=U[24],U[25]===Symbol.for("react.memo_cache_sentinel")?(f=(0,n.jsx)(x.E,{children:"Edit profile"}),U[25]=f):f=U[25],U[26]!==e.onCloseDrawer?(j=(0,n.jsx)(d(),{href:"/profile",onClick:e.onCloseDrawer,children:f}),U[26]=e.onCloseDrawer,U[27]=j):j=U[27],U[28]!==h||U[29]!==p||U[30]!==j?(I=(0,n.jsxs)("div",{className:"flex flex-col gap-[24px]",children:[h,p,j]}),U[28]=h,U[29]=p,U[30]=j,U[31]=I):I=U[31],U[32]!==I||U[33]!==c?(C=(0,n.jsxs)("div",{className:"pl-[60px]",children:[c,I]}),U[32]=I,U[33]=c,U[34]=C):C=U[34],U[35]===Symbol.for("react.memo_cache_sentinel")?(N=(0,n.jsx)(g.A,{content:w.JJ,viewBoxHeight:16,viewBoxWidth:16,size:"small"}),P=(0,n.jsx)(x.E,{as:"span",children:"Log out"}),U[35]=N,U[36]=P):(N=U[35],P=U[36]),U[37]!==e.onCloseDrawer?(k=(0,n.jsxs)(d(),{href:a.Ru,onClick:e.onCloseDrawer,className:"flex items-center gap-[10px] text-comeback-gray-500",children:[N,P]}),U[37]=e.onCloseDrawer,U[38]=k):k=U[38],U[39]===Symbol.for("react.memo_cache_sentinel")?(R=(0,n.jsx)("div",{className:"h-[1px] w-full bg-comeback-gray-50"}),U[39]=R):R=U[39],U[40]===Symbol.for("react.memo_cache_sentinel")?(L=(0,y.Ic)(),U[40]=L):L=U[40],U[41]===Symbol.for("react.memo_cache_sentinel")?(D=(0,n.jsx)(d(),{href:L,target:"_blank",children:(0,n.jsx)(g.A,{content:w.E$,viewBoxWidth:19,viewBoxHeight:18})}),U[41]=D):D=U[41],U[42]===Symbol.for("react.memo_cache_sentinel")?(S=(0,y.tu)(),U[42]=S):S=U[42],U[43]===Symbol.for("react.memo_cache_sentinel")?(A=(0,n.jsxs)("div",{className:"flex justify-center gap-[32px]",children:[D,(0,n.jsx)(d(),{href:S,target:"_blank",children:(0,n.jsx)(g.A,{content:w.UX,viewBoxWidth:18,viewBoxHeight:18})})]}),U[43]=A):A=U[43],U[44]!==k?(O=(0,n.jsx)("div",{className:"flex flex-col items-center justify-center pb-[28px]",children:(0,n.jsxs)("div",{className:"flex flex-col gap-[32px]",children:[k,R,A]})}),U[44]=k,U[45]=O):O=U[45],U[46]!==C||U[47]!==O?($=(0,n.jsxs)("div",{className:"flex h-full flex-col justify-between",children:[C,O]}),U[46]=C,U[47]=O,U[48]=$):$=U[48],$}function E(e){return(0,j.isPaidPlan)(e.plan)}function P(e){let t,r,i,o,c,u,m=(0,s.c)(10);return m[0]!==e.onCloseDrawer?(t=(0,n.jsx)(d(),{href:a.S0,onClick:e.onCloseDrawer,children:"Log in"}),m[0]=e.onCloseDrawer,m[1]=t):t=m[1],m[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)(d(),{href:"/pricing",children:"Pricing"}),i=(0,n.jsx)(d(),{href:a.Es,children:"Careers"}),o=(0,n.jsx)(d(),{href:"/docs",target:"_blank",children:"Docs"}),m[2]=r,m[3]=i,m[4]=o):(r=m[2],i=m[3],o=m[4]),m[5]!==e.onCloseDrawer?(c=(0,n.jsx)(l.ButtonLink,{href:a.vU,color:"dark",onClick:e.onCloseDrawer,children:"Get started"}),m[5]=e.onCloseDrawer,m[6]=c):c=m[6],m[7]!==t||m[8]!==c?(u=(0,n.jsxs)("div",{className:"flex flex-col gap-[32px] px-[32px] pt-[62px]",children:[t,r,i,o,c]}),m[7]=t,m[8]=c,m[9]=u):u=m[9],u}var k=r(75838),R=r.n(k);let L=function(e){let t,r,c,f,g,x,_,b,y,v,j,w,I,N,E=(0,s.c)(45),{isLoggedIn:P,profilePhotoUrl:k,fullName:L,username:D,email:S,userId:A,name:O,className:$}=e,U=(0,u.useSelectedLayoutSegments)(),z="auth"===U[0],B=!z&&P,T=!z&&!P,F=(0,i.jt)();E[0]!==U[0]?(t=U[0]&&!["mobile"].includes(U[0]),E[0]=U[0],E[1]=t):t=E[1];let M=t,[G,V]=(0,m.useState)(M);if(E[2]!==M?(r=()=>{let e=()=>{window.scrollY>0?V(!0):V(M)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},c=[M],E[2]=M,E[3]=r,E[4]=c):(r=E[3],c=E[4]),(0,m.useEffect)(r,c),!["pricing","experts","app-launcher","figmaconnect","text","abuse","profile","by-username","share","careers","community","feedback","templates","showcase"].some(e=>U[0]?.startsWith(e)))return null;let X="experts"===U[0];E[5]!==$?(f=(0,o.cn)("h-[46px]",$),E[5]=$,E[6]=f):f=E[6];let H=G?"border-opacity-100":"border-opacity-0",W=X?"bg-white/40 backdrop-blur-md":"border-b bg-white";return E[7]!==H||E[8]!==W?(g=(0,o.cn)("fixed z-nav w-full border-[#
1EAEAEA] transition-[background-color,border-color,box-shadow] duration-[200ms] ease-out",H,W),E[7]=H,E[8]=W,E[9]=g):g=E[9],E[10]===Symbol.for("react.memo_cache_sentinel")?(x=(0,n.jsx)(p.A,{className:"mr-[48px]"}),E[10]=x):x=E[10],E[11]!==T||E[12]!==F?(_=T&&(0,n.jsxs)("div",{className:"desktop:flex hidden w-full items-center justify-end gap-[20px]",children:[(0,n.jsx)(d(),{href:"/pricing",className:"inline-flex cursor-pointer items-center text-comeback-gray-700 text-body-sm hover:text-comeback-gray-900",children:"Pricing"}),(0,n.jsx)(d(),{href:"/docs",className:"inline-flex cursor-pointer items-center text-comeback-gray-700 text-body-sm hover:text-comeback-gray-900",target:"_blank",rel:"noreferrer",children:"Docs"}),(0,n.jsx)(d(),{href:a.Es,className:"inline-flex cursor-pointer items-center text-comeback-gray-700 text-body-sm hover:text-comeback-gray-900",children:"Careers"}),(0,n.jsx)(d(),{href:a.S0,className:"inline-flex cursor-pointer items-center text-comeback-gray-700 text-body-sm hover:text-comeback-gray-900",children:"Login"}),(0,n.jsx)(l.ButtonLink,{href:a.vU,color:"dark",size:"sm",onClick:()=>{F("Clicked homepage get-started")},children:"Get started"})]}),E[11]=T,E[12]=F,E[13]=_):_=E[13],E[14]!==_?(b=(0,n.jsxs)("div",{className:R().left,children:[x,_]}),E[14]=_,E[15]=b):b=E[15],E[16]!==S||E[17]!==L||E[18]!==O||E[19]!==k||E[20]!==B||E[21]!==A||E[22]!==D?(y=B&&(0,n.jsx)(h.A,{image:k,name:O,username:D,email:S,fullName:L,className:"desktop:block hidden",userId:A,stripeLinkProps:null,variant:"header",triggerDisplayName:null}),E[16]=S,E[17]=L,E[18]=O,E[19]=k,E[20]=B,E[21]=A,E[22]=D,E[23]=y):y=E[23],E[24]!==S||E[25]!==L||E[26]!==z||E[27]!==P||E[28]!==O||E[29]!==k||E[30]!==A||E[31]!==D?(v=!z&&(0,n.jsx)("div",{className:"desktop:hidden",children:(0,n.jsx)(C,{isLoggedIn:P,fullName:L,name:O,profilePhotoUrl:k,email:S,username:D,userId:A,stripeLinkProps:null})}),E[24]=S,E[25]=L,E[26]=z,E[27]=P,E[28]=O,E[29]=k,E[30]=A,E[31]=D,E[32]=v):v=E[32],E[33]!==y||E[34]!==v?(j=(0,n.jsxs)("div",{className:R().right,children:[y,v]}),E[33]=y,E[34]=v,E[35]=j):j=E[35],E[36]!==b||E[37]!==j?(w=(0,n.jsxs)("div",{className:R().content,children:[b,j]}),E[36]=b,E[37]=j,E[38]=w):w=E[38],E[39]!==w||E[40]!==g?(I=(0,n.jsx)("header",{className:g,children:w}),E[39]=w,E[40]=g,E[41]=I):I=E[41],E[42]!==I||E[43]!==f?(N=(0,n.jsx)("div",{className:f,children:I}),E[42]=I,E[43]=f,E[44]=N):N=E[44],N}},577096:(e,t,r)=>{"use strict";var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(834023));let s=({size:e=24,color:t="currentColor",...r})=>n.createElement("svg",{viewBox:"0 0 24 24",width:e,height:e,stroke:t,strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",...r},n.createElement("path",{d:"M17 7 7 17M7 7l10 10"}));s.displayName="X",t.X=s},648692:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(834023),s=r(276292);function a(){let e=(0,n.useContext)(s.A);if(!e)throw Error("No OrganizationContext available. You must use this hook in a component that's a descendent of OrganizationProvider");return e}},665237:(e,t,r)=>{"use strict";r.d(t,{_:()=>n._s,h:()=>n.h7}),r(976413),r(718881);var n=r(496734)},7e5:e=>{e.exports={button:"styles_button__lOaRn"}},706752:(e,t,r)=>{Promise.resolve().then(r.bind(r,539672))},716710:(e,t,r)=>{"use strict";function n(e){let t=Number.parseInt(e.replace(/-/g,"").slice(-12),16)%20+1;return{url:`/images/default-avatars/${t}.png`,hex:({1:"#FE565A",2:"#FFAD54",3:"#9A68CF",4:"#FF6888",5:"#F96F57",6:"#5DC171",7:"#8393F6",8:"#F098F1",9:"#C33F62",10:"#FF9043",11:"#F681C0",12:"#3156B0",13:"#20A47C",14:"#8186F4",15:"#929FF4",16:"#FB5F6C",17:"#898EEB",18:"#F9795B",19:"#FFB146",20:"#E05B70"})[t]}}r.d(t,{s:()=>n})},730238:(e,t,r)=>{"use strict";r.d(t,{GM:()=>a,OD:()=>i});var n=r(11241),s=r(756275);let a=e=>{let t,r,a=(0,n.c)(5);a[0]!==e?(t=void 0===e?{}:e,a[0]=e,a[1]=t):t=a[1];let{initializeWithValue:i,defaultValue:o}=t,l=void 0!==i&&i,c=void 0!==o&&o;return a[2]!==c||a[3]!==l?(r={defaultValue:c,initializeWithValue:l},a[2]=c,a[3]=l,a[4]=r):r=a[4],(0,s.Ub)("(min-width: 1232px)",r)},i=e=>{let t,r,a=(0,n.c)(5);a[0]!==e?(t=void 0===e?{}:e,a[0]=e,a[1]=t):t=a[1];let{initializeWithValue:i,defaultValue:o}=t,l=void 0!==i&&i,c=void 0!==o&&o;return a[2]!==c||a[3]!==l?(r={defaultValue:c,initializeWithValue:l},a[2]=c,a[3]=l,a[4]=r):r=a[4],(0,s.Ub)("(min-width: 640px)",r)}},807629:(e,t,r)=>{"use strict";r.d(t,{x:()=>u});var n=r(294799),s=r(309894),a=r(834023),i=r(211387),o=r(451286),l=r(751355),c=r(814121);let d=(0,l.U)(`
2  mutation CreateBillingPortalURL($input: CreateBillingPortalURLInput!) {
3    createBillingPortalURL(input: $input) {
4      url
5      success
6    }
7  }
8`),u=(0,a.forwardRef)(({stripeLinkProps:e,isRevenueCatProductId:t,isPaidPlan:r,onClick:l},u)=>{let[m]=(0,c.n)(d),h=(0,a.useCallback)(async()=>{let{data:t,error:r}=await m({variables:{input:{organizationId:e.organizationId,redirectURL:e.redirectURL}}}),n=t?.createBillingPortalURL.url;if(r||!n)throw r||Error("Could not create billing URL");return n},[m,e.organizationId,e.redirectURL]),p=(0,a.useCallback)(async()=>
8{if(/iPhone|iPad|iPod|Android/i.test(navigator.userAgent))(0,i.a)(h).catch(e=>{o.Cp(e)}),l?.();else try{let e=await h();window.location.href=e,l?.()}catch(e){o.Cp(e),l?.()}},[h,l]);if(r&&!t)return(0,n.jsx)(s.ButtonLink,{size:"md",color:"light",onClick:p,children:"Manage Subscription"})})},814121:(e,t,r)=>{"use strict";r.d(t,{n:()=>c});var n=r(837760),s=r(834023),a=r(191889),i=r(115421),o=r(910584),l=r(434666);function c(e,t){let r=(0,l.m)(t?.client),[c,u]=s.useState(()=>d(r)),m=s.useRef({result:c,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});(0,o.E)(()=>{Object.assign(m.current,{client:r,options:t,mutation:e})});let h=s.useCallback((e={})=>{let{options:t,mutation:r}=m.current,s={...t,mutation:r},o=e.client||m.current.client,l="function"==typeof e.context?e.context(t?.context):e.context;!m.current.result.loading&&m.current.isMounted&&u(m.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});let c=++m.current.mutationId,d=(0,a.l)(s,{...e,context:l});return(0,i.X)(o.mutate(d).then(t=>{let{data:r,error:s}=t,a=e.onError||m.current.options?.onError;if(s&&a&&a(s,d),c===m.current.mutationId){let e={called:!0,loading:!1,data:r,error:s,client:o};m.current.isMounted&&!(0,n.L)(m.current.result,e)&&u(m.current.result=e)}let i=e.onCompleted||m.current.options?.onCompleted;return s||i?.(t.data,d),t},t=>{if(c===m.current.mutationId&&m.current.isMounted){let e={loading:!1,error:t,data:void 0,called:!0,client:o};(0,n.L)(m.current.result,e)||u(m.current.result=e)}let r=e.onError||m.current.options?.onError;throw r&&r(t,d),t}))},[]),p=s.useCallback(()=>{if(m.current.isMounted){let e=d(m.current.client);Object.assign(m.current,{mutationId:0,result:e}),u(e)}},[]);return s.useEffect(()=>{let e=m.current;return e.isMounted=!0,()=>{e.isMounted=!1}},[]),[h,{reset:p,...c}]}function d(e){return{data:void 0,error:void 0,called:!1,loading:!1,client:e}}},886287:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var n=r(294799),s=r(11241),a=r(115565),i=r(106504),o=r(917339),l=r(890292),c=r(510423),d=r.n(c),u=r(834023),m=r(445870),h=r(103967),p=r(449259),f=r(486447),g=r(7e5),x=r.n(g),_=r(309894),b=r(665237);let y={hasChevron:!0},v=e=>{let t,r,a,i,l,c,d=(0,s.c)(16),{fullName:u,avatar:m,username:p,className:g}=e;d[0]!==g?(t=(0,o.cn)("flex flex-col items-center justify-center border-comeback-gray-75 border-b px-[14px] py-[12px]",g),d[0]=g,d[1]=t):t=d[1],d[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.jsx)(b.h,{className:"mt-[0px] mb-[12px] tablet:hidden"}),d[2]=r):r=d[2];let x=m.name??null,_=m.userId??null,y=m.image??null;return d[3]!==x||d[4]!==_||d[5]!==y?(a=(0,n.jsx)(f.default,{name:x,userId:_,image:y,size:"2xl"}),d[3]=x,d[4]=_,d[5]=y,d[6]=a):a=d[6],d[7]!==u?(i=u?(0,n.jsx)(h.E,{type:"body-sm",weight:"medium",className:"mt-[12px] max-w-[160px] truncate text-comeback-gray-900",children:u}):null,d[7]=u,d[8]=i):i=d[8],d[9]!==p?(l=p?(0,n.jsxs)(h.E,{type:"body-xs",className:"text-comeback-gray-500",children:["@",p]}):null,d[9]=p,d[10]=l):l=d[10],d[11]!==t||d[12]!==a||d[13]!==i||d[14]!==l?(c=(0,n.jsxs)("div",{className:t,children:[r,a,i,l]}),d[11]=t,d[12]=a,d[13]=i,d[14]=l,d[15]=c):c=d[15],c},j=e=>{let t,r,a,l,c,u,m,p=(0,s.c)(17),{onCloseDropdown:f,avatar:g,username:_,fullName:b,variant:y}=e;return p[0]!==g||p[1]!==b||p[2]!==_?(t=(0,n.jsx)(v,{username:_,avatar:g,fullName:b}),p[0]=g,p[1]=b,p[2]=_,p[3]=t):t=p[3],p[4]!==f||p[5]!==y?(r="header"===y?(0,n.jsx)(d(),{href:(0,i.q5)({organizationId:null}),onClick:f,className:x().button,children:(0,n.jsx)(h.E,{type:"body-sm",children:"Projects"})}):(0,n.jsx)(d(),{href:"/profile",className:x().button,onClick:f,children:(0,n.jsx)(h.E,{type:"body-sm",children:"Edit profile"})}),p[4]=f,p[5]=y,p[6]=r):r=p[6],p[7]===Symbol.for("react.memo_cache_sentinel")?(a=(0,o.cn)(x().button,"!rounded-t-none border-comeback-gray-75 border-t"),p[7]=a):a=p[7],p[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.jsx)(h.E,{type:"body-sm",children:"Log out"}),p[8]=l):l=p[8],p[9]!==f?(c=(0,n.jsx)(d(),{href:i.Ru,className:a,onClick:f,children:l}),p[9]=f,p[10]=c):c=p[10],p[11]!==r||p[12]!==c?(u=(0,n.jsxs)("div",{className:"min-w-[160px] text-comeback-gray-900",children:[r,c]}),p[11]=r,p[12]=c,p[13]=u):u=p[13],p[14]!==t||p[15]!==u?(m=(0,n.jsxs)("div",{className:"rounded-[8px] bg-white",children:[t,u]}),p[14]=t,p[15]=u,p[16]=m):m=p[16],m},w=function(e){let t,r,i,c,d,g=(0,s.c)(17),x={...y,...e},[b,v]=(0,u.useState)(!1);g[0]!==v?(t=()=>{v(!1)},g[0]=v,g[1]=t):t=g[1];let w=t;g[2]!==e.image||g[3]!==e.name||g[4]!==e.userId?(r={userId:e.userId,name:e.name,image:e.image},g[2]=e.image,g[3]=e.name,g[4]=e.userId,g[5]=r):r=g[5];
8let I=x.triggerDisplayName?null:"Account settings",C=x.userId??null,N=x.image??null,E=x.name??null;g[6]!==C||g[7]!==N||g[8]!==E?(i=(0,n.jsx)(f.default,{userId:C,image:N,name:E}),g[6]=C,g[7]=N,g[8]=E,g[9]=i):i=g[9];let P=x.triggerDisplayName&&(0,n.jsx)(h.E,{type:"body-md",weight:"regular",className:"truncate text-comeback-gray-500",children:x.triggerDisplayName}),k=x.hasChevron&&(0,n.jsx)(m.A,{content:l.In,className:"text-comeback-gray-500 transition-colors duration-300 ease-in-out group-hover:text-comeback-gray-500"});return g[10]!==i||g[11]!==P||g[12]!==k?(c=(0,n.jsxs)("div",{className:"flex flex-row items-center gap-[8px]",children:[i,P,k]}),g[10]=i,g[11]=P,g[12]=k,g[13]=c):c=g[13],g[14]!==I||g[15]!==c?(d=(0,n.jsx)(_.Button,{color:"light",transparent:!0,className:"flex flex-row items-center text-white",children:(0,n.jsx)(p._u,{content:I,children:c})}),g[14]=I,g[15]=c,g[16]=d):d=g[16],(0,n.jsx)("div",{className:(0,o.cn)("group z-raised",x.className),children:(0,n.jsx)(a.A,{open:b,onOpenChange:v,className:"mt-[10px] max-w-[280px] origin-bottom bg-white",animated:!0,modal:!0,content:(0,n.jsx)(j,{stripeLinkProps:e.stripeLinkProps,email:e.email,username:e.username,fullName:e.fullName,avatar:r,onCloseDropdown:w,variant:x.variant}),align:"header"===x.variant?"end":"start",side:"header"===x.variant?"bottom":"top",sideOffset:12,children:d})})}},910508:e=>{e.exports={trigger:"styles_trigger__DqyHs",overlay:"styles_overlay__3IV8_",fadeIn:"styles_fadeIn__DV5r2",fadeOut:"styles_fadeOut__gWUNX","close-icon":"styles_close-icon__WNn_R","radix-content":"styles_radix-content__2SByt","position-right":"styles_position-right__fa_JQ",translateInFromRight:"styles_translateInFromRight__f4Z0u",translateOutFromRight:"styles_translateOutFromRight__5yVDG","position-bottom":"styles_position-bottom__jyCOK",translateInFromBottom:"styles_translateInFromBottom__xvW__",translateOutFromBottom:"styles_translateOutFromBottom__z6mpr",content:"styles_content__1hww0","header-wrapper":"styles_header-wrapper__lcZe9",header:"styles_header___bEVs",title:"styles_title__TLBSc","header-titles":"styles_header-titles___CnCG","header-title":"styles_header-title__nwRI6","header-subtitle":"styles_header-subtitle__rrzjN","header-actions":"styles_header-actions__ZNfEi",footer:"styles_footer__GmoyX","is-sticky":"styles_is-sticky__85ykZ"}},910584:(e,t,r)=>{"use strict";r.d(t,{E:()=>s});var n=r(834023);let s=r(567430).S?n.useLayoutEffect:n.useEffect},921513:(e,t,r)=>{"use strict";r.d(t,{N:()=>b});var n=r(294799),s=r(834023),a=r(577148),i=r(934676),o=r(625989),l=r(704170),c=r(141118),d=r(286723);function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class m extends s.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,c.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,c.s)(e)&&e.offsetWidth||0,n=(0,c.s)(e)&&e.offsetHeight||0,s=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(s.height),a.width=parseFloat(s.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=r-a.width-a.left,a.bottom=n-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function h({children:e,isPresent:t,anchorX:r,anchorY:a,root:i,pop:o}){let l=(0,s.useId)(),c=(0,s.useRef)(null),p=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:f}=(0,s.useContext)(d.Q),g=function(...e){return s.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=u(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():u(e[t],null)}}}}(...e),e)}(c,e.props?.ref??e?.ref);return(0,s.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:d,right:u,bottom:m}=p.current;if(t||!1===o||!c.current||!e||!n)return;let h="left"===r?`left: ${d}`:`right: ${u}`,g="bottom"===a?`bottom: ${m}`:`top: ${s}`;c.current.dataset.motionPopId=l;let x=document.createElement("style");f&&(x.nonce=f);let _=i??document.head;return _.appendChild(x),x.sheet&&x.sheet.insertRule(`
9          [data-motion-pop-id="${l}"] {
10            position: absolute !important;
11            width: ${e}px !important;
12            height: ${n}px !important;
13            ${h}px !important;
14            ${g}px !important;
15          }
16        `),()=>{c.current?.removeAttribute("data-motion-pop-id"),_.contains(x)&&_.removeChild(x)}},[t]),(0,n.jsx)(m,{isPresent:t,childRef:c,sizeRef:p,pop:o,children:!1===o?e:s.cloneElement(e,{ref:g})})}let p=({children:e,initial:t,isPresent:r,onExitComplete:a,custom:o,presenceAffectsLayout:c,mode:d,anchorX:u,anchorY:m,root:p})=>{let g=(0,i.M)(f),x=(0,s.useId)(),_=!0,b=(0,s.useMemo)(()=>(_=!1,{id:x,initial:t,isPresent:r,custom:o,onExitComplete:e=>
16{for(let t of(g.set(e,!0),g.values()))if(!t)return;a&&a()},register:e=>(g.set(e,!1),()=>g.delete(e))}),[r,g,a]);return c&&_&&(b={...b}),(0,s.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[r]),s.useEffect(()=>{r||g.size||!a||a()},[r]),e=(0,n.jsx)(h,{pop:"popLayout"===d,isPresent:r,anchorX:u,anchorY:m,root:p,children:e}),(0,n.jsx)(l.t.Provider,{value:b,children:e})};function f(){return new Map}var g=r(305101);let x=e=>e.key||"";function _(e){let t=[];return s.Children.forEach(e,e=>{(0,s.isValidElement)(e)&&t.push(e)}),t}let b=({children:e,custom:t,initial:r=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:m="left",anchorY:h="top",root:f})=>{let[b,y]=(0,g.xQ)(u),v=(0,s.useMemo)(()=>_(e),[e]),j=u&&!b?[]:v.map(x),w=(0,s.useRef)(!0),I=(0,s.useRef)(v),C=(0,i.M)(()=>new Map),N=(0,s.useRef)(new Set),[E,P]=(0,s.useState)(v),[k,R]=(0,s.useState)(v);(0,o.E)(()=>{w.current=!1,I.current=v;for(let e=0;e<k.length;e++){let t=x(k[e]);j.includes(t)?(C.delete(t),N.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[k,j.length,j.join("-")]);let L=[];if(v!==E){let e=[...v];for(let t=0;t<k.length;t++){let r=k[t],n=x(r);j.includes(n)||(e.splice(t,0,r),L.push(r))}return"wait"===d&&L.length&&(e=L),R(_(e)),P(v),null}let{forceRender:D}=(0,s.useContext)(a.L);return(0,n.jsx)(n.Fragment,{children:k.map(e=>{let s=x(e),a=(!u||!!b)&&(v===k||j.includes(s));return(0,n.jsx)(p,{isPresent:a,initial:(!w.current||!!r)&&void 0,custom:t,presenceAffectsLayout:c,mode:d,root:f,onExitComplete:a?void 0:()=>{if(N.current.has(s)||!C.has(s))return;N.current.add(s),C.set(s,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(D?.(),R(I.current),u&&y?.(),l&&l())},anchorX:m,anchorY:h,children:e},s)})})}}},e=>{e.O(0,[86267,52136,99968,53665,10822,71940,56275,95223,10423,55904,59144,42955,89131,71389,59032,85107,98064,80309,71049,47049,97252,11096,8411,48318,51355,33031,21180,55505,95813,46819,89255,27408,60670,77358],()=>e(e.s=706752)),_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.