1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dd0fe55d-0c48-4197-be8a-8c0b4b4f614b",e._sentryDebugIdIdentifier="sentry-dbid-dd0fe55d-0c48-4197-be8a-8c0b4b4f614b")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8359],{2304:(e,t,r)=>{"use strict";r.d(t,{G:()=>p});var a=r(95956),n=r(38964),s=r(62264),i=r(73165),l=r(83143),o=r(53125),c=r(33619);let d={stiffness:280,damping:18,mass:.3};function u(e){let t,r,l,o,c=(0,n.c)(7),{value:u,place:p}=e,h=Math.floor(u/p)%10,x=(0,i.z)(h,d);return c[0]!==x||c[1]!==h?(t=()=>{x.set(h)},r=[x,h],c[0]=x,c[1]=h,c[2]=t,c[3]=r):(t=c[2],r=c[3]),(0,s.useEffect)(t,r),c[4]===Symbol.for("react.memo_cache_sentinel")?(l=(0,a.jsx)("div",{className:"invisible",children:"0"}),c[4]=l):l=c[4],c[5]!==x?(o=(0,a.jsxs)("div",{className:"relative inline-block w-[1ch] overflow-x-visible overflow-y-clip leading-none tabular-nums",children:[l,Array.from({length:10},(e,t)=>(0,a.jsx)(m,{mv:x,number:t},t))]}),c[5]=x,c[6]=o):o=c[6],o}function m(e){let t,r,i,d,u=(0,n.c)(14),{mv:m,number:p}=e,h=(0,s.useId)(),[x,g]=(0,c.A)();u[0]!==g.height||u[1]!==p?(t=e=>{if(!g.height)return 0;let t=(10+p-e%10)%10,r=t*g.height;return t>5&&(r-=10*g.height),r},u[0]=g.height,u[1]=p,u[2]=t):t=u[2];let f=(0,l.G)(m,t);if(!g.height){let e;return u[3]!==p||u[4]!==x?(e=(0,a.jsx)("span",{ref:x,className:"invisible absolute",children:p}),u[3]=p,u[4]=x,u[5]=e):e=u[5],e}u[6]!==f?(r={y:f},u[6]=f,u[7]=r):r=u[7];let y=`${h}-${p}`;return u[8]===Symbol.for("react.memo_cache_sentinel")?(i={type:"spring",stiffness:280,damping:18,mass:.3},u[8]=i):i=u[8],u[9]!==p||u[10]!==x||u[11]!==r||u[12]!==y?(d=(0,a.jsx)(o.P.span,{style:r,layoutId:y,className:"absolute inset-0 flex items-center justify-center",transition:i,ref:x,children:p}),u[9]=p,u[10]=x,u[11]=r,u[12]=y,u[13]=d):d=u[13],d}function p(e){let t,r,s,i,l,o=(0,n.c)(15),{value:c,padStart:d,decimalSeparator:m}=e,p=void 0!==d&&d,h=void 0===m?".":m;if(o[0]!==h||o[1]!==p||o[2]!==c){let e,[n,l]=Math.abs(c).toString().split("."),d=parseInt(n,10),m=(p&&d<10?`0${n}`:n).split(""),x=m.map((e,t)=>Math.pow(10,m.length-t-1));t="flex items-center",r=c<0&&"-",o[7]!==x||o[8]!==d?(e=(e,t)=>(0,a.jsx)(u,{value:d,place:x[t]},`pos-${x[t]}`),o[7]=x,o[8]=d,o[9]=e):e=o[9],s=m.map(e),i=l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:h}),l.split("").map((e,t)=>(0,a.jsx)(u,{value:parseInt(l,10),place:Math.pow(10,l.length-t-1)},`decimal-${t}`))]}),o[0]=h,o[1]=p,o[2]=c,o[3]=t,o[4]=r,o[5]=s,o[6]=i}else t=o[3],r=o[4],s=o[5],i=o[6];return o[10]!==t||o[11]!==r||o[12]!==s||o[13]!==i?(l=(0,a.jsxs)("div",{className:t,children:[r,s,i]}),o[10]=t,o[11]=r,o[12]=s,o[13]=i,o[14]=l):l=o[14],l}},5648:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(85453),n=r(19485);function s(...e){return(0,n.QP)((0,a.$)(e))}},8155:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,97895,23)),Promise.resolve().then(r.bind(r,15196)),Promise.resolve().then(r.t.bind(r,47617,23)),Promise.resolve().then(r.t.bind(r,36352,23)),Promise.resolve().then(r.bind(r,51245))},15196:(e,t,r)=>{"use strict";r.d(t,{HomeFragmentScripts:()=>i});var a=r(38964),n=r(62264);let s="data-home-fragment-script";function i(e){let t,r,i,o=(0,a.c)(5),{files:c}=e;o[0]!==c?(t=c.join(","),o[0]=c,o[1]=t):t=o[1];let d=t,u=(0,n.useRef)(null);return o[2]!==d?(r=()=>{if(d&&u.current!==d)for(let e of(u.current=d,document.querySelectorAll(`script[${s}]`).forEach(l),d.split(","))){let t=document.createElement("script");t.src=`/home/js/${e}`,t.async=!1,t.setAttribute(s,e),document.body.appendChild(t)}},i=[d],o[2]=d,o[3]=r,o[4]=i):(r=o[3],i=o[4]),(0,n.useEffect)(r,i),null}function l(e){return e.remove()}},18989:(e,t,r)=>{"use strict";r.d(t,{DX:()=>l,Dc:()=>c,TL:()=>i});var a=r(62264),n=r(43573),s=r(95956);function i(e){let t=function(e){let t=a.forwardRef((e,t)=>{let{children:r,...s}=e;if(a.isValidElement(r)){var i;let e,l,o=(i=r,(l=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.
1isReactWarning)?i.ref:(l=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,t){let r={...t};for(let a in t){let n=e[a],s=t[a];/^on[A-Z]/.test(a)?n&&s?r[a]=(...e)=>{let t=s(...e);return n(...e),t}:n&&(r[a]=n):"style"===a?r[a]={...n,...s}:"className"===a&&(r[a]=[n,s].filter(Boolean).join(" "))}return{...e,...r}}(s,r.props);return r.type!==a.Fragment&&(c.ref=t?(0,n.t)(t,o):o),a.cloneElement(r,c)}return a.Children.count(r)>1?a.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),r=a.forwardRef((e,r)=>{let{children:n,...i}=e,l=a.Children.toArray(n),o=l.find(d);if(o){let e=o.props.children,n=l.map(t=>t!==o?t:a.Children.count(e)>1?a.Children.only(null):a.isValidElement(e)?e.props.children:null);return(0,s.jsx)(t,{...i,ref:r,children:a.isValidElement(e)?a.cloneElement(e,void 0,n):null})}return(0,s.jsx)(t,{...i,ref:r,children:n})});return r.displayName=`${e}.Slot`,r}var l=i("Slot"),o=Symbol("radix.slottable");function c(e){let t=({children:e})=>(0,s.jsx)(s.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=o,t}function d(e){return a.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===o}},19714:(e,t,r)=>{"use strict";var a=r(52918);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},24473:(e,t,r)=>{"use strict";r.d(t,{cn:()=>s});var a=r(85453),n=r(19485);function s(...e){return(0,n.QP)((0,a.$)(e))}},24630:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,O:()=>o});var a=r(74626),n=r(73494);function s(e,t){if(!e)return t;try{return new URL(e).origin}catch{return t}}let i={web:s("https://copythief.ai","http://localhost:3000"),app:s("https://app.copythief.ai","http://localhost:3001"),cookieDomain:n.env.COOKIE_DOMAIN||void 0},l=a.Ik({auth:a.Ik({signIn:a.Yj().min(1),signUp:a.Yj().min(1),verifyMfa:a.Yj().min(1),callback:a.Yj().min(1),passwordReset:a.Yj().min(1),passwordUpdate:a.Yj().min(1)}),app:a.Ik({home:a.Yj().min(1),magic:a.Yj().min(1),personalAccountSettings:a.Yj().min(1),personalAccountBilling:a.Yj().min(1),personalAccountBillingReturn:a.Yj().min(1),accountHome:a.Yj().min(1),accountSettings:a.Yj().min(1),accountBilling:a.Yj().min(1),accountMembers:a.Yj().min(1),accountBillingReturn:a.Yj().min(1),joinTeam:a.Yj().min(1)})}).parse({auth:{signIn:"/auth/sign-in",signUp:"/auth/sign-up",verifyMfa:"/auth/verify",callback:"/auth/callback",passwordReset:"/auth/password-reset",passwordUpdate:"/update-password"},app:{home:"/dashboard",magic:"/dashboard/magic",personalAccountSettings:"/dashboard/settings",personalAccountBilling:"/dashboard/billing",personalAccountBillingReturn:"/dashboard/billing/return",accountHome:"/dashboard/[account]",accountSettings:"/dashboard/[account]/settings",accountBilling:"/dashboard/[account]/billing",accountMembers:"/dashboard/[account]/members",accountBillingReturn:"/dashboard/[account]/billing/return",joinTeam:"/join"}}),o={auth:e=>`${i.web}${e}`,app:e=>`${i.app}${e}`},c=l},24662:(e,t,r)=>{"use strict";r.d(t,{X:()=>s});var a=r(62264),n=r(27238);function s(e){let[t,r]=a.useState(void 0);return(0,n.N)(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let a,n;if(!Array.isArray(t)||!t.length)return;let s=t[0];if("borderBoxSize"in s){let e=s.borderBoxSize,t=Array.isArray(e)?e[0]:e;a=t.inlineSize,n=t.blockSize}else a=e.offsetWidth,n=e.offsetHeight;r({width:a,height:n})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}},24794:(e,t,r)=>{"use strict";r.d(t,{I:()=>l});var a=r(95956),n=r(38964),s=r(80771),i=r(24473);let l=e=>{let t,r,l,o,c,d,u,m,p,h,x,g,f,y,v,b,j=(0,n.c)(42),{label:S,value:w,onChange:N,min:_,max:k,step:M,formatValue:C,className:P}=e;return j[0]!==P?(t=(0,i.cn)("flex flex-col gap-3",P),j[0]=P,j[1]=t):t=j[1],j[2]!==S?(r=(0,a.jsx)("label",{className:"text-sm font-medium text-muted-foreground",children:S}),j[2]=S,j[3]=r):r=j[3],j[4]!==C||j[5]!==w?(l=C(w),j[4]=C,j[5]=w,j[6]=l):l=j[6],j[7]!==l?(o=(0,a.jsx)("div",{className:"font-sora text-foreground text-xl font-bold tabular-nums",children:l}),j[7]=l,j[8]=o):o=j[8],j[9]!==r||j[10]!==o?(c=(0,a.jsxs)("div",{className:"flex items-center justify-between mb-4",children:[r,o]}),j[9]=r,j[10]=o,j[11]=c):c=j[11],j[12]!==w?(d=[w],j[12]=w,j[13]=d):d=j[13],j[14]!==N?(u=e=>{let[t]=e;return void 0!==t&&N(t)},j[14]=N,j[15]=u):u=j[15],j[16]===Symbol.for("react.memo_cache_sentinel")?(m=(0,a.jsx)(s.CC,{className:"relative h-1.5 w-full grow overflow-hidden rounded-full bg-[var(--ct-surface-border-strong)]",children:(0,a.jsx)(s.Q6,{className:"absolute h-full rounded-full bg-[var(--ct-brand)]"})}),p=(0,a.jsx)(s.zi,{className:"block size-5 cursor-grab rounded-full border-2 border-[var(--ct-page-bg)] bg-[var(--ct-brand)] shadow-[0_1px_4px_rgba(10,10,10,0.25)] transition-transform duration-150 hover:scale-110 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ct-text)] focu
1s-visible:ring-offset-2 focus-visible:ring-offset-[var(--ct-page-bg)] active:scale-110 active:cursor-grabbing"}),j[16]=m,j[17]=p):(m=j[16],p=j[17]),j[18]!==k||j[19]!==_||j[20]!==M||j[21]!==d||j[22]!==u?(h=(0,a.jsxs)(s.bL,{className:"relative flex h-5 w-full touch-none select-none items-center",value:d,onValueChange:u,min:_,max:k,step:M,children:[m,p]}),j[18]=k,j[19]=_,j[20]=M,j[21]=d,j[22]=u,j[23]=h):h=j[23],j[24]!==C||j[25]!==_?(x=C(_),j[24]=C,j[25]=_,j[26]=x):x=j[26],j[27]!==x?(g=(0,a.jsx)("span",{children:x}),j[27]=x,j[28]=g):g=j[28],j[29]!==C||j[30]!==k?(f=C(k),j[29]=C,j[30]=k,j[31]=f):f=j[31],j[32]!==f?(y=(0,a.jsx)("span",{children:f}),j[32]=f,j[33]=y):y=j[33],j[34]!==g||j[35]!==y?(v=(0,a.jsxs)("div",{className:"flex justify-between mt-2 text-muted-foreground text-xs font-medium",children:[g,y]}),j[34]=g,j[35]=y,j[36]=v):v=j[36],j[37]!==t||j[38]!==h||j[39]!==v||j[40]!==c?(b=(0,a.jsxs)("div",{className:t,children:[c,h,v]}),j[37]=t,j[38]=h,j[39]=v,j[40]=c,j[41]=b):b=j[41],b}},27238:(e,t,r)=>{"use strict";r.d(t,{N:()=>n});var a=r(62264),n=globalThis?.document?a.useLayoutEffect:()=>{}},33718:(e,t,r)=>{"use strict";r.d(t,{i:()=>l});var a,n=r(62264),s=r(27238),i=(a||(a=r.t(n,2)))[" useInsertionEffect ".trim().toString()]||s.N;function l({prop:e,defaultProp:t,onChange:r=()=>{},caller:a}){let[s,l,o]=function({defaultProp:e,onChange:t}){let[r,a]=n.useState(e),s=n.useRef(r),l=n.useRef(t);return i(()=>{l.current=t},[t]),n.useEffect(()=>{s.current!==r&&(l.current?.(r),s.current=r)},[r,s]),[r,a,l]}({defaultProp:t,onChange:r}),c=void 0!==e,d=c?e:s;{let t=n.useRef(void 0!==e);n.useEffect(()=>{let e=t.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${a} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=c},[c,a])}return[d,n.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&o.current?.(r)}else l(t)},[c,e,l,o])]}Symbol("RADIX:SYNC_STATE")},36352:()=>{},43573:(e,t,r)=>{"use strict";r.d(t,{s:()=>i,t:()=>s});var a=r(62264);function n(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...e){return t=>{let r=!1,a=e.map(e=>{let a=n(e,t);return r||"function"!=typeof a||(r=!0),a});if(r)return()=>{for(let t=0;t<a.length;t++){let r=a[t];"function"==typeof r?r():n(e[t],null)}}}}function i(...e){return a.useCallback(s(...e),e)}},47617:()=>{},51245:(e,t,r)=>{"use strict";r.d(t,{PricingPageClient:()=>ep});var a=r(95956),n=r(38964),s=r(62264),i=r(95134),l=r(24473);let o=e=>{let t,r,s=(0,n.c)(6),{children:i,className:o,as:c}=e,d=c||"div";return s[0]!==o?(t=(0,l.cn)("max-w-7xl mx-auto",o),s[0]=o,s[1]=t):t=s[1],s[2]!==d||s[3]!==i||s[4]!==t?(r=(0,a.jsx)(d,{className:t,children:i}),s[2]=d,s[3]=i,s[4]=t,s[5]=r):r=s[5],r},c=e=>{let t,r,s=(0,n.c)(5),{children:i,className:o}=e;return s[0]!==o?(t=(0,l.cn)("ct-h2 text-center",o),s[0]=o,s[1]=t):t=s[1],s[2]!==i||s[3]!==t?(r=(0,a.jsx)("h2",{className:t,children:i}),s[2]=i,s[3]=t,s[4]=r):r=s[4],r},d=e=>{let t,r,s=(0,n.c)(6),{children:i,className:o,as:c}=e,d=void 0===c?"h2":c;return s[0]!==o?(t=(0,l.cn)("ct-sub text-center",o),s[0]=o,s[1]=t):t=s[1],s[2]!==d||s[3]!==i||s[4]!==t?(r=(0,a.jsx)(d,{className:t,children:i}),s[2]=d,s[3]=i,s[4]=t,s[5]=r):r=s[5],r},u=e=>{let t,r,s=(0,n.c)(4),{founding:l}=e,u=void 0!==l&&l,{t:m}=(0,i.Bd)("marketing");return s[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)("div",{className:"pointer-events-none absolute inset-0",style:{background:"radial-gradient(ellipse at center top, rgba(255,221,87,0.04) 0%, transparent 60%)"}}),s[0]=t):t=s[0],s[1]!==u||s[2]!==m?(r=(0,a.jsxs)("section",{className:"relative",children:[t,(0,a.jsx)(o,{className:"relative flex flex-col items-center px-6 pt-10 pb-6 text-center",children:u?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c,{className:"lg:text-6xl xl:text-7xl",children:[m("pricingHeroFoundingHeading","Join early. Pay the Godfather rate")," ",(0,a.jsx)("span",{className:"box-decoration-clone rounded-[0.15em] bg-[var(--ct-brand)] px-[0.18em] pb-[0.06em] text-[var(--ct-on-brand)]",children:m("pricingHeroFoundingHeadingAccent","for life.")})]}),(0,a.jsx)(d,{as:"p",className:"mx-auto mt-4 max-w-2xl",children:m("pricingHeroFoundingSubheading","The first 1,000 CopyThief subscribers get founding-member pricing locked to their account. Your rate stays the same while your subscription stays active, even as standard pricing goes up.")})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c,{className:"lg:text-6xl xl:text-7xl",children:[m("pricingHeroHeading","Time is money."),
1(0,a.jsx)("br",{}),m("pricingHeroHeadingLine2","Save both with CopyThief.")]}),(0,a.jsx)(d,{as:"p",className:"mx-auto mt-4 max-w-xl",children:m("pricingHeroSubheading","Your competitors spend $100K/month testing. See the results. Ship the winners without the waste.")})]})})]}),s[1]=u,s[2]=m,s[3]=r):r=s[3],r};var m=r(5648);let p=e=>{let t,r,s=(0,n.c)(6),{children:i,className:l,as:o}=e,c=o||"div";return s[0]!==l?(t=(0,m.cn)("max-w-7xl mx-auto",l),s[0]=l,s[1]=t):t=s[1],s[2]!==c||s[3]!==i||s[4]!==t?(r=(0,a.jsx)(c,{className:t,children:i}),s[2]=c,s[3]=i,s[4]=t,s[5]=r):r=s[5],r};var h=r(53125);let x=e=>{let t,r,s=(0,n.c)(4),{className:i}=e;return s[0]!==i?(t=(0,m.cn)("bg-divide h-[1px] w-full",i),s[0]=i,s[1]=t):t=s[1],s[2]!==t?(r=(0,a.jsx)("div",{className:t}),s[2]=t,s[3]=r):r=s[3],r},g=e=>{let t,r,s,i,l,o,c,d=(0,n.c)(14);d[0]!==e?({children:r,variant:l,className:s,as:t,...i}=e,d[0]=e,d[1]=t,d[2]=r,d[3]=s,d[4]=i,d[5]=l):(t=d[1],r=d[2],s=d[3],i=d[4],l=d[5]);let u=void 0===l?"primary":l,p=t||"button",h="brand"===u?"btn-primary":"secondary"===u?"btn-secondary":"ghost"===u?"btn-ghost":"bg-foreground text-background border-transparent shadow-[0_1px_1px_0_hsla(0,0%,0%,0.30),0_2px_4px_-1px_hsla(0,0%,0%,0.20)] hover:opacity-90";return d[6]!==s||d[7]!==h?(o=(0,m.cn)("btn btn-md active:scale-[0.98]",h,s),d[6]=s,d[7]=h,d[8]=o):o=d[8],d[9]!==p||d[10]!==r||d[11]!==i||d[12]!==o?(c=(0,a.jsx)(p,{...i,className:o,children:r}),d[9]=p,d[10]=r,d[11]=i,d[12]=o,d[13]=c):c=d[13],c};var f=r(73165),y=r(83143),v=r(33619);let b={stiffness:280,damping:18,mass:.3};function j(e){let t,r,i,l,o=(0,n.c)(7),{value:c,place:d}=e,u=Math.floor(c/d)%10,m=(0,f.z)(u,b);return o[0]!==m||o[1]!==u?(t=()=>{m.set(u)},r=[m,u],o[0]=m,o[1]=u,o[2]=t,o[3]=r):(t=o[2],r=o[3]),(0,s.useEffect)(t,r),o[4]===Symbol.for("react.memo_cache_sentinel")?(i=(0,a.jsx)("div",{className:"invisible",children:"0"}),o[4]=i):i=o[4],o[5]!==m?(l=(0,a.jsxs)("div",{className:"relative inline-block w-[1ch] overflow-x-visible overflow-y-clip leading-none tabular-nums",children:[i,Array.from({length:10},(e,t)=>(0,a.jsx)(S,{mv:m,number:t},t))]}),o[5]=m,o[6]=l):l=o[6],l}function S(e){let t,r,i,l,o=(0,n.c)(14),{mv:c,number:d}=e,u=(0,s.useId)(),[m,p]=(0,v.A)();o[0]!==p.height||o[1]!==d?(t=e=>{if(!p.height)return 0;let t=(10+d-e%10)%10,r=t*p.height;return t>5&&(r-=10*p.height),r},o[0]=p.height,o[1]=d,o[2]=t):t=o[2];let x=(0,y.G)(c,t);if(!p.height){let e;return o[3]!==d||o[4]!==m?(e=(0,a.jsx)("span",{ref:m,className:"invisible absolute",children:d}),o[3]=d,o[4]=m,o[5]=e):e=o[5],e}o[6]!==x?(r={y:x},o[6]=x,o[7]=r):r=o[7];let g=`${u}-${d}`;return o[8]===Symbol.for("react.memo_cache_sentinel")?(i={type:"spring",stiffness:280,damping:18,mass:.3},o[8]=i):i=o[8],o[9]!==d||o[10]!==m||o[11]!==r||o[12]!==g?(l=(0,a.jsx)(h.P.span,{style:r,layoutId:g,className:"absolute inset-0 flex items-center justify-center",transition:i,ref:m,children:d}),o[9]=d,o[10]=m,o[11]=r,o[12]=g,o[13]=l):l=o[13],l}function w(e){let t,r,s,i,l,o=(0,n.c)(15),{value:c,padStart:d,decimalSeparator:u}=e,m=void 0!==d&&d,p=void 0===u?".":u;if(o[0]!==p||o[1]!==m||o[2]!==c){let e,[n,l]=Math.abs(c).toString().split("."),d=parseInt(n,10),u=(m&&d<10?`0${n}`:n).split(""),h=u.map((e,t)=>Math.pow(10,u.length-t-1));t="flex items-center",r=c<0&&"-",o[7]!==h||o[8]!==d?(e=(e,t)=>(0,a.jsx)(j,{value:d,place:h[t]},`pos-${h[t]}`),o[7]=h,o[8]=d,o[9]=e):e=o[9],s=u.map(e),i=l&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:p}),l.split("").map((e,t)=>(0,a.jsx)(j,{value:parseInt(l,10),place:Math.pow(10,l.length-t-1)},`decimal-${t}`))]}),o[0]=p,o[1]=m,o[2]=c,o[3]=t,o[4]=r,o[5]=s,o[6]=i}else t=o[3],r=o[4],s=o[5],i=o[6];return o[10]!==t||o[11]!==r||o[12]!==s||o[13]!==i?(l=(0,a.jsxs)("div",{className:t,children:[r,s,i]}),o[10]=t,o[11]=r,o[12]=s,o[13]=i,o[14]=l):l=o[14],l}let N=e=>{let t,r,s,i,l=(0,n.c)(5);return l[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsx)("path",{stroke:"none",d:"M0 0h24v24H0z",fill:"none"}),r=(0,a.jsx)("path",{d:"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0"}),s=(0,a.jsx)("path",{d:"M9 12l2 2l4 -4"}),l[0]=t,l[1]=r,l[2]=s):(t=l[0],r=l[1],s=l[2]),l[3]!==e?(i=(0,a.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...e,children:[t,r,s]}),l[3]=e,l[4]=i):i=l[4],i};var _=r(73289);let k=function(e){return e.STARTER="Starter",e.PRO="Pro",e.MAX="Max",e.ENTERPRISE="Enterprise",e}({}),M=[{title:k.STARTER,subtitle:"Solo buyers & affiliates",monthly:79,yearly:758.4,founding:{monthly:37,yearly:355.2},ctaText:"Start Free Trial",seats:"1",stats:[{value:"20,000",label:"AI credits / month",icon:"bolt"},{value:"25 GB",label:"asset storage",icon:"database"}],features:[{label:"Swipes: unlimited saved ads",included:!0},{label:"Discovery: full ad library search",included:!0},{label:"Raven: 10 tracked + 5 untracked brands",included:!0},{label:"Image Lab: generate & clone creatives",included:!1},{label:"Copilot: connect ad accounts",included:!1},{label:"3 Brand profiles",included:!0},{label:"Chrome extension",included:!0},{label:"Mobile app: iOS & Android",included:!0}]},{title:k.PRO,subtitle:"Growing teams",monthly:179,yearly:1718.4,founding:{monthly:97,yearly:931.2},ctaText:"Start Free Trial",seats:"5",extraSeatPrice:"$39/seat/mo",featured:!0,stats:[{value:"60,000",label:"AI credits / month",icon:"bolt"},{value:"100 GB",label:"asset storage",icon:"database"}],features:[{label:"Swipes: unlimited saved ads",included:!0},{label:"Discovery: full ad library search",included:!0},{label:"Raven: 30 tracked + 20 untracked brands",included:!0},{label:"Image Lab: generate & clone creatives",included:!0},{label:"Copilot: 5 ad accounts",included:!0},{label:"10 Brand profiles",included:!0},{label:"Chrome extension",included:!0},{label:"Mobile app: iOS & Android",included:!0}]},{title:k.MAX,subtitle:"Agencies & power users",monthly:389,yearly:3734.4,founding:{monthly:187,yearly:1795.2},ctaText:"Start Free Trial",seats:"15",extraSeatPrice:"$29/seat/mo",stats:[{value:"120,000",label:"AI credits / month",icon:"bolt"},{value:"500 GB",label:"asset storage",icon:"database"}],features:[{label:"Swipes: unlimited saved ads",included:!0},{label:"Discovery: full ad library search",included:!0},{label:"Raven: 150 tracked + 50 untracked brands",included:!0},{label:"Image Lab: generate & clone creatives",included:!0},{label:"Copilot: 15 ad accounts",included:!0},{label:"25 Brand profiles",included:!0},{label:"Chrome extension",included:!0},{label:"Mobile app: iOS & Android",included:!0}]},{title:k.ENTERPRISE,subtitle:"Custom solutions for large organizations",monthly:null,yearly:null,ctaText:"Talk to Sales",seats:"Custom",extraSeatPrice:"Custom",isEnterprise:!0,features:[{label:"Unlimited AI Credits",included:!0},{label:"Unlimited watchlist brands",included:!0},{label:"Real-time refresh",included:!0},{label:"End-to-end creative delivery",included:!0},{label:"Unlimited ad accounts",included:!0},{label:"Custom integrations + API access",included:!0},{label:"Enterprise-grade security",included:!0},{label:"Dedicated support + SLA",included:!0}]}],C={[k.STARTER]:{monthly:147,yearly:1470,founding:{monthly:67,yearly:667}},[k.PRO]:{monthly:347,yearly:3470,founding:{monthly:187,yearly:1867}},[k.MAX]:{monthly:697,yearly:6997,founding:{monthly:337,yearly:3367}}};function P(e){if("brazil"!==e)return{market:"international",currency:"USD",symbol:"$",tiers:M,yearlySavingsLabel:"Save 20%"};let t=M.map(e=>{let t=C[e.title];return t?{...e,...t}:e}),r=C[k.PRO],a=Math.round((1-r.yearly/(12*r.monthly))*100);return{market:"brazil",currency:"BRL",symbol:"R$",tiers:t,yearlySavingsLabel:`Save ${a}%`}}k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX,k.STARTER,k.PRO,k.MAX;var E=r(34721),A=r.n(E);function T(e){let t,r=(0,n.c)(2),{tier:s}=e,i=s===k.STARTER?_.User:s===k.PRO?_.Users:s===k.MAX?_.Building2:null;return i?(r[0]!==i?(t=(0,a.jsx)(i,{size:17,strokeWidth:1.7,"aria-hidden":!0,
1className:"shrink-0 text-[var(--text-tertiary)]"}),r[0]=i,r[1]=t):t=r[1],t):null}function R(e){let t,r,s,i,l,o,c=(0,n.c)(15),{stat:d,compact:u}=e,p=u?"px-3 py-2":"px-3.5 py-2.5";return c[0]!==p?(t=(0,m.cn)("rounded-[var(--radius-md)] border border-[var(--border-subtle)] bg-[var(--bg-layer-2)]",p),c[0]=p,c[1]=t):t=c[1],c[2]!==d.icon?(r=(0,a.jsx)(_.MaterialSymbol,{name:d.icon,size:16,"aria-hidden":!0,className:"shrink-0 text-[var(--text-secondary)]"}),c[2]=d.icon,c[3]=r):r=c[3],c[4]!==d.value?(s=(0,a.jsx)("span",{className:"font-sora text-base font-[var(--font-semibold)] leading-tight text-foreground",children:d.value}),c[4]=d.value,c[5]=s):s=c[5],c[6]!==r||c[7]!==s?(i=(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[r,s]}),c[6]=r,c[7]=s,c[8]=i):i=c[8],c[9]!==d.label?(l=(0,a.jsx)("div",{className:"mt-1 text-xs leading-tight text-muted-foreground",children:d.label}),c[9]=d.label,c[10]=l):l=c[10],c[11]!==t||c[12]!==i||c[13]!==l?(o=(0,a.jsxs)("div",{className:t,children:[i,l]}),c[11]=t,c[12]=i,c[13]=l,c[14]=o):o=c[14],o}function F(e){let t,r,s,i=(0,n.c)(15),{included:l,className:o,appearance:c}=e;if("glyph"===(void 0===c?"disc":c)){let e,t,r;return i[0]!==o?(e=(0,m.cn)("flex h-[22px] w-[22px] shrink-0 items-center justify-center",o),i[0]=o,i[1]=e):e=i[1],i[2]!==l?(t=l?(0,a.jsx)(_.Check,{size:22,strokeWidth:3.75}):(0,a.jsx)(_.X,{size:21,strokeWidth:3.75}),i[2]=l,i[3]=t):t=i[3],i[4]!==e||i[5]!==t?(r=(0,a.jsx)("span",{"aria-hidden":!0,className:e,children:t}),i[4]=e,i[5]=t,i[6]=r):r=i[6],r}let d=l?"bg-[var(--color-success-strong)]":"bg-[var(--color-danger)]";return i[7]!==o||i[8]!==d?(t=(0,m.cn)("flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full",d,o),i[7]=o,i[8]=d,i[9]=t):t=i[9],i[10]!==l?(r=l?(0,a.jsx)(_.Check,{size:13,strokeWidth:3.2,className:"text-[var(--text-on-semantic)]"}):(0,a.jsx)(_.X,{size:13,strokeWidth:3.2,className:"text-[var(--text-on-semantic)]"}),i[10]=l,i[11]=r):r=i[11],i[12]!==t||i[13]!==r?(s=(0,a.jsx)("span",{"aria-hidden":!0,className:t,children:r}),i[12]=t,i[13]=r,i[14]=s):s=i[14],s}function $(e){let t,r,s,i,l,o,c,d,u,p,h,x,g,f=(0,n.c)(38),{tier:y,cycle:v,compact:b,founding:j,symbol:S}=e,N="monthly"===v?y.monthly:y.yearly,_=y.founding?"monthly"===v?y.founding.monthly:y.founding.yearly:null,k=j&&null!==_,M=k?_:N,C=b?"mt-4":"mt-6";f[0]!==C?(t=(0,m.cn)("flex flex-nowrap items-baseline gap-x-2 whitespace-nowrap",C),f[0]=C,f[1]=t):t=f[1],f[2]!==b||f[3]!==N||f[4]!==k||f[5]!==S?(r=k&&(0,a.jsxs)("span",{className:(0,m.cn)("font-sora font-[var(--font-medium)] text-[var(--text-tertiary)] line-through decoration-[1.5px]",b?"text-lg":"text-xl"),children:[(0,a.jsxs)("span",{"aria-hidden":!0,children:[S,N]}),(0,a.jsxs)("span",{className:"sr-only",children:["Regular price ",S,N,", now"," "]})]}),f[2]=b,f[3]=N,f[4]=k,f[5]=S,f[6]=r):r=f[6],f[7]!==S?(s=(0,a.jsx)("span",{className:"text-lg font-normal text-muted-foreground",children:S}),f[7]=S,f[8]=s):s=f[8];let P=k?b?"text-3xl":"text-4xl":b?"text-4xl":"text-5xl";f[9]!==P?(i=(0,m.cn)("font-sora font-bold tracking-tight text-foreground",P),f[9]=P,f[10]=i):i=f[10],f[11]!==M?(l=(0,a.jsx)(w,{value:M}),f[11]=M,f[12]=l):l=f[12],f[13]!==i||f[14]!==l?(o=(0,a.jsx)("span",{className:i,children:l}),f[13]=i,f[14]=l,f[15]=o):o=f[15];let E="monthly"===v?"mo":"yr";f[16]!==E?(c=(0,a.jsxs)("span",{className:"ml-1 text-lg font-normal text-muted-foreground",children:["/",E]}),f[16]=E,f[17]=c):c=f[17],f[18]!==c||f[19]!==s||f[20]!==o?(d=(0,a.jsxs)("span",{className:"flex items-baseline gap-1",children:[s,o,c]}),f[18]=c,f[19]=s,f[20]=o,f[21]=d):d=f[21],f[22]!==d||f[23]!==t||f[24]!==r?(u=(0,a.jsxs)("div",{className:t,children:[r,d]}),f[22]=d,f[23]=t,f[24]=r,f[25]=u):u=f[25];let A=b?"mt-1":"mt-2";f[26]!==A?(p=(0,m.cn)("text-sm text-muted-foreground",A),f[26]=A,f[27]=p):p=f[27];let T="monthly"===v?"monthly":"yearly";return f[28]!==p||f[29]!==T?(h=(0,a.jsxs)("p",{className:p,children:["Billed ",T]}),f[28]=p,f[29]=T,f[30]=h):h=f[30],f[31]!==b||f[32]!==k?(x=k&&(0,a.jsx)("p",{className:(0,m.cn)("text-sm font-[var(--font-semibold)] text-[var(--color-success-strong)]",b?"mt-1":"mt-1.5"),children:"Godfather rate \xb7 locked for life"}),f[31]=b,f[32]=k,f[33]=x):x=f[33],f[34]!==u||f[35]!==h||f[36]!==x?(g=(0,a.jsxs)(a.Fragment,{children:[u,h,x]}),f[34]=u,f[35]=h,f[36]=x,f[37]=g):g=f[37],g}let K=[{title:"Monthly",value:"monthly"},{title:"Yearly",value:"yearly"}];function I(e){let t,r,s,i,l,o,c=(0,n.c)(17),{feature:d}=e,u=d.label.indexOf(": ");c[0]!==d.label||c[1]!==u?(t=-1===u?d.label:d.label.slice(0,u),c[0]=d.label,c[1]=u,c[2]=t):t=c[2];let p=t;c[3]!==d.label||c[4]!==u?(r=-1===u?null:d.label.slice(u+1),c[3]=d.label,c[4]=u,c[5]=r):r=c[5];let h=r,x=d.included?"Included: ":"Not included: ";c[6]!==x?(s=(0,a.jsx)("span",{className:"sr-only",children:x}),c[6]=x,c[7]=s):s=c[7];let g=d.included&&"text-foreground";return c[8]!==g?(i=(0,m.cn)("font-[var(--font-semibold)]",g),c[8]=g,c[9]=i):i=c[9],c[10]!==p||c[11]!==i?(l=(0,a.jsx)("strong",{className:i,children:p}),c[10]=p,c[11]=i,c[12]=l):l=c[12],c[13]!==h||c[14]!==s||c[15]!==l?(o=(0,a.jsxs)("span",{children:[s,l,h]}),c[13]=h,c[14]=s,c[15]=l,c[16]=o):o=c[16],o}let O=e=>{let t,r=(0,n.c)(33),{cycle:s,setCycle:i,onSelectPlan:l,loadingTier:o,getButtonText:c,getButtonVariant:d,isButtonDisabled:u,showEnterprise:f,layoutIdSuffix:y,compact:v,hideCta:b,market:j,show
1Frame:S,roomyToggle:w,founding:N}=e,_=void 0===f||f,k=void 0===y?"":y,M=void 0!==v&&v,C=void 0!==b&&b,E=void 0===j?null:j,O=void 0===S||S,U=void 0!==w&&w,D=void 0!==N&&N;if(r[0]!==M||r[1]!==s||r[2]!==D||r[3]!==c||r[4]!==d||r[5]!==C||r[6]!==u||r[7]!==k||r[8]!==o||r[9]!==E||r[10]!==l||r[11]!==U||r[12]!==i||r[13]!==_||r[14]!==O){let e,n,f,y,v,b,j=P(E),S=K.map(e=>({...e,badge:"yearly"===e.value?j.yearlySavingsLabel:""})),w=j.tiers.filter(L),N=j.tiers.find(B);r[16]!==s||r[17]!==l?(e=e=>{l?.(e,{planId:function(e,t){return({Starter:"monthly"===t?"starter-monthly":"starter-yearly",Pro:"monthly"===t?"pro-monthly":"pro-yearly",Max:"monthly"===t?"max-monthly":"max-yearly"})[e]??""}(e,s),cycle:s})},r[16]=s,r[17]=l,r[18]=e):e=r[18];let q=e,W=O&&"border-divide border-x",H=M?"pt-0 pb-14":U?"pt-10 pb-16 lg:pb-24":"pt-10 pb-14";r[19]!==W||r[20]!==H?(n=(0,m.cn)("flex flex-col items-center justify-center",W,H),r[19]=W,r[20]=H,r[21]=n):n=r[21],r[22]!==s||r[23]!==k||r[24]!==i?(f=e=>(0,a.jsxs)("button",{onClick:()=>i(e.value),className:"relative z-20 flex min-w-32 justify-center px-3 py-1 text-center sm:min-w-40",children:[s===e.value&&(0,a.jsx)(h.P.div,{layoutId:`pricing-toggle${k}`,className:"absolute inset-0 h-full w-full rounded-[5px] bg-[var(--bg-layer-1)] shadow-[var(--shadow-elevate-sm)]"}),(0,a.jsxs)("span",{className:"relative z-20 flex items-center gap-2 whitespace-nowrap text-sm text-foreground font-medium sm:text-base",children:[e.title,e.badge&&(0,a.jsx)("span",{className:"whitespace-nowrap rounded-full bg-[var(--bg-layer-2)] border border-[var(--border-subtle)] px-2 py-1 text-xs font-[var(--font-medium)] text-[var(--text-secondary)]",children:e.badge})]})]},e.value),r[22]=s,r[23]=k,r[24]=i,r[25]=f):f=r[25];let G=(0,a.jsx)("div",{className:"relative inline-flex gap-1 bg-[var(--bg-base)] border border-[var(--border-subtle)] rounded-md shadow-[var(--shadow-1)] p-[3px]",children:S.map(f)});r[26]!==n||r[27]!==G?(y=(0,a.jsx)(p,{className:n,children:G}),r[26]=n,r[27]=G,r[28]=y):y=r[28],r[29]!==O?(v=O&&(0,a.jsx)(x,{}),r[29]=O,r[30]=v):v=r[30];let Y=(0,a.jsx)("div",{className:"grid grid-cols-1 overflow-visible md:grid-cols-2 lg:grid-cols-3",children:w.map(e=>{let t=u?.(e.title)??!1,r=o===e.title,n=c?.(e.title)??(D?e.featured?"Become a Godfather Member":"Lock in my price":e.ctaText);return(0,a.jsxs)("div",{className:(0,m.cn)("relative",M?"p-5 md:p-6":"p-6 md:p-8",e.featured?(0,m.cn)("z-10 rounded-[var(--radius-xl)] ct-plan-glow-border","lg:scale-[1.08]",M?"lg:py-9":"lg:py-12"):(0,m.cn)("rounded-[var(--radius-xl)] border border-[var(--border-subtle)] bg-[var(--bg-layer-1)] shadow-none",M?"lg:px-8":"lg:px-11")),style:e.featured?{boxShadow:"0 24px 48px -16px var(--brand-primary-glow), 0 8px 24px -12px hsla(0, 0%, 0%, 0.20)"}:void 0,children:[e.featured&&(0,a.jsx)("div",{className:"absolute -top-3 left-1/2 z-20 -translate-x-1/2",children:(0,a.jsx)("span",{className:"whitespace-nowrap rounded-full bg-[var(--brand-primary)] px-4 py-1 text-xs font-bold text-[var(--action-primary-text)] shadow-[0_4px_12px_-2px_var(--brand-primary-glow)]",children:D?"Most Popular \xb7 Godfather Member":"Most Popular"})}),(0,a.jsxs)("h3",{className:"font-sora flex items-center gap-2 text-lg font-semibold text-foreground",children:[(0,a.jsx)(T,{tier:e.title}),e.title]}),(0,a.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:e.subt
1itle}),(0,a.jsx)($,{tier:e,cycle:s,compact:M,founding:D,symbol:j.symbol}),!C&&(0,a.jsx)(g,{className:(0,m.cn)("w-full",M?"mt-4":"mt-6",t&&"opacity-50 cursor-not-allowed",r&&"opacity-70 pointer-events-none"),variant:d?d(e.title):e.featured?"brand":"primary",type:"button",disabled:t||r,onClick:()=>q(e.title),children:r?"Processing...":n}),e.stats&&e.stats.length>0&&(0,a.jsx)("div",{className:(0,m.cn)("grid grid-cols-2 gap-2",M?"mt-4":"mt-6"),children:e.stats.map(e=>(0,a.jsx)(R,{stat:e,compact:M},e.label))}),(0,a.jsxs)("div",{className:(0,m.cn)("text-sm",M?"mt-4":"mt-6"),children:[(0,a.jsxs)("span",{className:"font-[var(--font-semibold)] text-foreground",children:[e.seats," seat","1"!==e.seats&&"Custom"!==e.seats?"s":""," included"]}),e.extraSeatPrice&&(0,a.jsxs)("span",{className:"mt-0.5 block text-muted-foreground",children:[e.extraSeatPrice," per extra seat"]})]}),(0,a.jsx)("p",{className:(0,m.cn)("text-sm font-[var(--font-semibold)] text-foreground",M?"mt-4":"mt-6"),children:"What's included:"}),(0,a.jsx)("div",{className:(0,m.cn)("flex flex-col",M?"mt-3 gap-1.5":"mt-4 gap-2.5"),children:e.features.map(e=>(0,a.jsxs)("div",{className:(0,m.cn)("flex items-start gap-2.5",M?"text-xs":"text-sm",e.included?"text-muted-foreground":"text-[var(--text-tertiary)]"),children:[(0,a.jsx)(F,{included:e.included,className:"mt-0.5"}),(0,a.jsx)(I,{feature:e})]},e.label))})]},e.title)})});r[31]!==Y?(b=(0,a.jsx)(p,{children:Y}),r[31]=Y,r[32]=b):b=r[32],t=(0,a.jsxs)("section",{children:[y,v,b,_&&N&&(0,a.jsx)(p,{className:(0,m.cn)(O&&"border-divide border-x"),children:(0,a.jsxs)("div",{className:"flex flex-col items-start gap-6 border-t border-border bg-[var(--bg-layer-1)] px-8 py-8 md:flex-row md:items-center md:justify-between",children:[(0,a.jsxs)("div",{className:"flex shrink-0 flex-col gap-1",children:[(0,a.jsx)("h3",{className:"font-sora text-lg font-semibold text-foreground",children:N.title}),(0,a.jsx)("p",{className:"text-sm text-muted-foreground",children:N.subtitle}),(0,a.jsx)("span",{className:"font-sora mt-2 text-3xl font-bold text-foreground",children:"Custom"})]}),(0,a.jsx)("div",{className:"flex flex-wrap gap-x-6 gap-y-2",children:N.features.slice(0,4).map(z)}),(0,a.jsx)(g,{as:A(),href:"/contact",variant:"ghost",className:"shrink-0",children:N.ctaText})]})})]}),r[0]=M,r[1]=s,r[2]=D,r[3]=c,r[4]=d,r[5]=C,r[6]=u,r[7]=k,r[8]=o,r[9]=E,r[10]=l,r[11]=U,r[12]=i,r[13]=_,r[14]=O,r[15]=t}else t=r[15];return t};function L(e){return!e.isEnterprise}function B(e){return e.isEnterprise}function z(e){return(0,a.jsxs)("span",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[(0,a.jsx)(N,{"aria-hidden":!0,className:"h-4 w-4 shrink-0 text-[var(--color-success)]"}),e.label]},e.label)}var U=r(19714),D=r(76268),q=r(24630);let W="international",H=new Set(["America/Sao_Paulo","America/Bahia","America/Fortaleza","America/Recife","America/Belem","America/Maceio","America/Araguaina","America/Santarem","America/Campo_Grande","America/Cuiaba","America/Manaus","America/Porto_Velho","America/Boa_Vista","America/Rio_Branco","America/Eirunepe","America/Noronha","Brazil/East","Brazil/West","Brazil/Acre","Brazil/DeNoronha"].map(e=>e.toLowerCase()));function G(e){try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).resolvedOptions().timeZone??null}catch{return null}}let Y=()=>{let e,t,r=(0,n.c)(4),{t:s}=(0,i.Bd)("marketing");return r[0]!==s?(e=s("pricingHeroFoundingScarcity","Only the first 1,000 subscribers get Godfather pricing. Once those spots are gone, this rate disappears."),r[0]=s,r[1]=e):e=r[1],r[2]!==e?(t=(0,a.jsx)(o,{className:"px-6 pb-12 text-center lg:-mt-5",children:(0,a.jsx)("p",{className:"text-[15px] font-[var(--font-semibold)] text-[var(--ct-text)]",children:e})}),r[2]=e,r[3]=t):t=r[3],t},X=()=>{let e,t,r,s,l,c,d=(0,n.c)(15),{t:u}=(0,i.Bd)("marketing");d[0]!==u?(e=u("pricingTrustStrip1","7-day free trial"),d[0]=u,d[1]=e):e=d[1],d[2]!==u?(t=u("pricingTrustStrip2","Cancel anytime"),d[2]=u,d[3]=t):t=d[3],d[4]!==u?(r=u("pricingTrustStrip3","30-day money-back guarantee"),d[4]=u,d[5]=r):r=d[5],d[6]!==u?(s=u("pricingTrustStrip4","No credit card required"),d[6]=u,d[7]=s):s=d[7],d[8]!==e||d[9]!==t||d[10]!==r||d[11]!==s?(l=[e,t,r,s],d[8]=e,d[9]=t,d[10]=r,d[11]=s,d[12]=l):l=d[12];let m=l;return d[13]!==m?(c=(0,a.jsx)(o,{className:"bg-[var(--ct-surface)]",children:(0,a.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-x-8 gap-y-3 py-8 text-sm text-[var(--ct-text-muted)]",children:m.map((e,t)=>(0,a.jsxs)("div",{className:"flex items-center gap-x-8",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("svg",{className:"size-3.5 text-[var(--ct-brand-ink)]",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:(0,a.jsx)("polyline",{points:"20 6 9 17 4 12"})}),(0,a.jsx)("span",{children:e})]}),t<m.length-1&&(0,a.jsx)("span",{className:"hidden text-[var(--ct-text)] md:inline",children:"|"})]},e))})}),d[13]=m,d[14]=c):c=d[14],c};var V=r(73843);let J=e=>{let t,r=(0,n.c)(2),{text:s}=e;return r[0]!==s?(t=(0,a.jsx)(V.ShimmerText,{duration:1.2,className:"text-sm font-normal [--base-color:var(--ct-brand-ink)] [--base-gradient-color:var(--ct-shimmer-glow)]",children:s}),r[0]=s,r[1]=t):t=r[1],t};var Z=r(24794),Q=r(2304);let ee={solo:{hourlyCost:50,hoursPerWeek:5},"small-team":{hourlyCost:75,hoursPerWeek:10},agency:{hourlyCost:125,hoursPerWeek:20}},et={monthlyAdSpend:5e4,teamSize:"small-team"},er=e=>e>=1e3?`$${Math.round(e/1e3)}K`:`$${e}`,ea=()=>{let e,t,r,l,u,m,p,h,x,g,f,y,v,b,j,S,w,N,_,k,M,C,P,E,A,T,R,F,$,K,I,O,L,B,z,U,D,q,W,H,G,Y,X,V,ea,en,es=(0,n.c)(101),{t:ei}=(0,i.Bd)("marketing"),{inputs:el,setAdSpend:eo,setTeamSize:ec,outputs:ed}
1=function(){let[e,t]=(0,s.useState)(et),r=(0,s.useMemo)(()=>(function(e){{let t=ee[e.teamSize],r=Math.round(500*Math.min(Math.round(5e5/1500),Math.max(10,Math.round(Math.min(5e5,Math.max(5e3,e.monthlyAdSpend))/1500)))*.22499999999999998),a=Math.round(4.3*t.hoursPerWeek*.8*t.hourlyCost),n=Math.round(38.7*t.hourlyCost),s=r+a+n,i=Math.round(s/179);return{wastedAdSpendRecovered:Math.max(0,r),adLaunchTimeSaved:Math.max(0,a),researchTimeEliminated:Math.max(0,n),totalMonthlySavings:Math.max(0,s),roi:Math.max(0,i)}}})(e),[e]);return{inputs:e,setAdSpend:e=>{t(t=>({...t,monthlyAdSpend:e}))},setTeamSize:e=>{t(t=>({...t,teamSize:e}))},outputs:r}}();es[0]!==ei?(e=ei("pricingCalculatorSolo","Solo"),es[0]=ei,es[1]=e):e=es[1],es[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,a.jsxs)("svg",{className:"size-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}),(0,a.jsx)("circle",{cx:"12",cy:"7",r:"4"})]}),es[2]=t):t=es[2],es[3]!==e?(r={value:"solo",label:e,icon:t},es[3]=e,es[4]=r):r=es[4],es[5]!==ei?(l=ei("pricingCalculatorSmallTeam","Small Team"),es[5]=ei,es[6]=l):l=es[6],es[7]===Symbol.for("react.memo_cache_sentinel")?(u=(0,a.jsxs)("svg",{className:"size-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),(0,a.jsx)("circle",{cx:"9",cy:"7",r:"4"}),(0,a.jsx)("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),(0,a.jsx)("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})]}),es[7]=u):u=es[7],es[8]!==l?(m={value:"small-team",label:l,icon:u},es[8]=l,es[9]=m):m=es[9],es[10]!==ei?(p=ei("pricingCalculatorAgency","Agency"),es[10]=ei,es[11]=p):p=es[11],es[12]===Symbol.for("react.memo_cache_sentinel")?(h=(0,a.jsxs)("svg",{className:"size-4",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("rect",{x:"4",y:"2",width:"16",height:"20",rx:"2",ry:"2"}),(0,a.jsx)("path",{d:"M9 22v-4h6v4"}),(0,a.jsx)("path",{d:"M8 6h.01"}),(0,a.jsx)("path",{d:"M16 6h.01"}),(0,a.jsx)("path",{d:"M12 6h.01"}),(0,a.jsx)("path",{d:"M12 10h.01"}),(0,a.jsx)("path",{d:"M12 14h.01"}),(0,a.jsx)("path",{d:"M16 10h.01"}),(0,a.jsx)("path",{d:"M16 14h.01"}),(0,a.jsx)("path",{d:"M8 10h.01"}),(0,a.jsx)("path",{d:"M8 14h.01"})]}),es[12]=h):h=es[12],es[13]!==p?(x={value:"agency",label:p,icon:h},es[13]=p,es[14]=x):x=es[14],es[15]!==r||es[16]!==m||es[17]!==x?(g=[r,m,x],es[15]=r,es[16]=m,es[17]=x,es[18]=g):g=es[18];let eu=g;es[19]!==ei?(f=ei("pricingCalculatorAdSpendRecovered","Ad spend recovered"),es[19]=ei,es[20]=f):f=es[20],es[21]===Symbol.for("react.memo_cache_sentinel")?(y=(0,a.jsxs)("svg",{className:"size-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("line",{x1:"12",y1:"1",x2:"12",y2:"23"}),(0,a.jsx)("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})]}),es[21]=y):y=es[21],es[22]!==f?(v={key:"wastedAdSpendRecovered",title:f,icon:y},es[22]=f,es[23]=v):v=es[23],es[24]!==ei?(b=ei("pricingCalculatorLaunchTimeSaved","Launch time saved"),es[24]=ei,es[25]=b):b=es[25],es[26]===Symbol.for("react.memo_cache_sentinel")?(j=(0,a.jsxs)("svg",{className:"size-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,a.jsx)("polyline",{points:"12 6 12 12 16 14"})]}),es[26]=j):j=es[26],es[27]!==b?(S={key:"adLaunchTimeSaved",title:b,icon:j},es[27]=b,es[28]=S):S=es[28],es[29]!==ei?(w=ei("pricingCalculatorResearchEliminated","Research eliminated"),es[29]=ei,es[30]=w):w=es[30],es[31]===Symbol.for("react.memo_cache_sentinel")?(N=(0,a.jsxs)("svg",{className:"size-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,a.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,a.jsx)("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})]}),es[31]=N):N=es[31],es[32]!==w?(_={key:"researchTimeEliminated",title:w,icon:N},es[32]=w,es[33]=_):_=es[33],es[34]!==v||es[35]!==S||es[36]!==_?(k=[v,S,_],es[34]=v,es[35]=S,es[36]=_,es[37]=k):k=es[37];let em=k;return es[38]!==ei?(M=ei("pricingCalculatorBadge","ROI Calculator"),es[38]=ei,es[39]=M):M=es[39],es[40]!==M?(C=(0,a.jsx)(J,{text:M}),es[40]=M,es[41]=C):C=es[41],es[42]!==ei?(P=ei("pricingCalculatorHeading","See How Much You'll Save"),es[42]=ei,es[43]=P):P=es[43],es[44]!==P?(E=(0,a.jsx)(c,{className:"!text-left",children:P}),es[44]=P,es[45]=E):E=es[45],es[46]!==ei?(A=ei("pricingCalculatorSubheading","Adjust your monthly ad spend and team size. We handle the math."),es[46]=ei,es[47]=A):A=es[47],es[48]!==A?(T=(0,a.jsx)(d,{as:"p",className:"!text-left",children:A}),es[48]=A,es[49]=T):T=es[49],es[50]!==C||es[51]!==E||es[52]!==T?(R=(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[C,E,T]}),es[50]=C,es[51]=E,es[52]=T,es[53]=R):R=es[53],es[54]!==ei?(F=ei("pricingCalculatorAdSpend","Monthly Ad Spend"),es[54]=ei,es[55]=F):F=es[55],es[56]!==el.monthlyAdSpend||es[57]!==eo||es[58]!==F?($=(0,a.jsx)(Z.I,{label:F,value:el.monthlyAdSpend,onChange:eo,min:5e3,max:5e5,step:5e3,formatValue:er}),es[56]=el.monthlyAdSpend,es[57]=eo,es[58]=F,es[59]=$):$=es[59],es[60]!==el.teamSize||es[61]!==ec||es[62]!==eu?(K=(0,a.jsx)("div",{className:"inline-flex self-start gap-1 rounded-md border border-[var(--ct-surface-border)] bg-[var(--ct-surface)] p-[3px] shadow-[0_1px_2px_0_rgba(10,10,10,0.06)]",children:eu.map(e=>{let t=el.teamSize===e.value;return(0,a.jsxs)("button",{type:"button",onClick:()=>ec(e.value),"aria-pressed":t,className:`flex w-28 items-center justify-center gap-2 rounded-[5px] py-1.5 text-sm font-medium transition-colors duration-200 sm:w-32 ${t?"bg-[var(--ct-page-bg)] text-[var(--ct-text)] shadow-[0_1px_2px_0_rgba(10,10,10,0.08)]":"text-[var(--ct-text-muted)] hover:text-[var(--ct-text)]"}`,children:[e.icon,e.label]},e.value)})}),es[60]=el.teamSize,es[61]=ec,es[62]=eu,es[63]=K):K=es[63],es[64]!==R||es[65]!==$||es[66]!==K?(I=(0,a.jsxs)("div",{className:"flex flex-col gap-8 lg:col-span-5",children:[R,$,K]}),es[64]=R,es[65]=$,es[66]=K,es[67]=I):I=es[67],es[68]!==ei?(O=ei("pricingCalculatorSaveLabel","You'll save every month"),es[68]=ei,es[69]=O):O=es[69],es[70]!==O?(L=(0,a.jsx)("p",{className:"text-sm font-medium tracking-wide text-[var(--ct-text-muted)]",children:O}),es[70]=O,es[71]=L):L=es[71],es[72]===Symbol.for("react.memo_cache_sentinel")?(B=(0,a.jsx)("span",{className:"text-4xl md:text-5xl",children:"$"}),es[72]=B):B=es[72],es[73]!==ed.totalMonthlySavings?(z=(0,a.jsxs)("div",{className:"font-sora mt-3 flex items-baseline justify-center gap-1 text-[var(--ct-text)] text-7xl font-extrabold tracking-tighter tabular-nums transition-all duration-300 ease-in-out",children:[B,(0,a.jsx)(Q.G,{value:ed.totalMonthlySavings})]}),es[73]=ed.totalMonthlySavings,es[74]=z):z=es[74],es[75]!==ed.roi?(U=(0,a.jsx)(Q.G,{value:ed.roi}),es[75]=ed.roi,es[76]=U):U=es[76],es[77]===Symbol.for("react.memo_cache_sentinel")?(D=(0,a.jsx)("span",{children:"x"}),es[77]=D):D=es[77],es[78]!==U?(q=(0,a.jsxs)("span",{className:"font-sora flex items-baseline gap-0.5 text-sm font-semibold text-[var(--ct-text)]",children:[U,D]}),es[78]=U,es[79]=q):q=es[79],es[80]!==ei?(W=ei("pricingCalculatorRoiSuffix","return on your CopyThief subscription"),es[80]=ei,es[81]=W):W=es[81],es[82]!==W?(H=(0,a.jsx)("span",{className:"text-xs text-[var(--ct-text-muted)]",children:W}),es[82]=W,es[83]=H):H=es[83],es[84]!==q||es[85]!==H?(G=(0,a.jsxs)("div",{className:"mt-4 inline-flex items-center gap-2 rounded-full border border-[var(--ct-surface-border-strong)] bg-[var(--ct-page-bg)] px-4 py-1.5",children:[q,H]}),es[84]=q,es[85]=H,es[86]=G):G=es[86],es[87]!==L||es[88]!==z||es[89]!==G?(Y=(0,a.jsxs)("div",{className:"text-center",children:[L,z,G]}),es[87]=L,es[88]=z,es[89]=G,es[90]=Y):Y=es[90],es[91]===Symbol.for("react.memo_cache_sentinel")?(X=(0,a.jsx)("div",{className:"my-8 h-px w-full bg-[var(--ct-surface-border-strong)]"}),es[91]=X):X=es[91],es[92]!==em||es[93]!==ed?(V=(0,a.jsx)("div",{className:"grid w-full grid-cols-1 gap-4 sm:grid-cols-3",children:em.map(e=>(0,a.jsxs)("div",{className:"flex flex-col items-center py-2 text-center transition-all duration-300 ease-in-out",children:[(0,a.jsx)("div",{className:"text-[var(--ct-text-subtle)] w-5 h-5 mb-2",children:e.icon}),(0,a.jsxs)("div",{className:"font-sora flex items-baseline gap-0.5 text-[var(--ct-text)] text-2xl font-bold tracking-tight tabular-nums transition-all duration-300 ease-in-out",children:[(0,a.jsx)("span",{className:"text-lg",children:"$"}),(0,a.jsx)(Q.G,{value:ed[e.key]})]}),(0,a.jsx)("p",{className:"mt-1 text-[var(--ct-text-subtle)] text-xs uppercase tracking-wider",children:e.title})]},e.key))}),es[92]=em,es[93]=ed,es[94]=V):V=es[94],es[95]!==Y||es[96]!==V?(ea=(0,a.jsx)("div",{className:"w-full lg:col-span-7",children:(0,a.jsxs)("div",{className:"flex flex-col rounded-2xl border border-[var(--ct-surface-border)] bg-[var(--ct-surface)] p-8 shadow-[var(--ct-surface-shadow)] transition-all duration-300 ease-in-out lg:p-12",children:[Y,X,V]})}),es[95]=Y,es[96]=V,es[97]=ea):ea=es[97],es[98]!==I||es[99]!==ea?(en=(0,a.jsx)("section",{children:(0,a.jsx)(o,{className:"px-6 pt-12 pb-12",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 items-start gap-8 lg:grid-cols-12 lg:gap-12",children:[I,ea]})})}),es[98]=I,es[99]=ea,es[100]=en):en=es[100],en}
1,en=[{name:"Access & Usage",translationKey:"pricingCatAccessTeam",features:[{name:"Users included",translationKey:"pricingFeat_includedSeats",values:{Starter:"1",Pro:"5",Max:"15",Enterprise:"Custom"}},{name:"Team roles & permissions",translationKey:"pricingFeat_roleBasedPermissions",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"AI credits per month",translationKey:"pricingFeat_aiCreditsPerMonth",values:{Starter:"20,000",Pro:"60,000",Max:"120,000",Enterprise:"Custom"}},{name:"Storage",translationKey:"pricingFeat_storage",values:{Starter:"25 GB",Pro:"100 GB",Max:"500 GB",Enterprise:"Custom"}},{name:"Public share links (password & expiry)",translationKey:"pricingFeat_publicShareableLinks",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Swipes",translationKey:"pricingCatSwipeLibrary",features:[{name:"Saved ads",translationKey:"pricingFeat_unlimitedSavedAds",values:{Starter:"Unlimited",Pro:"Unlimited",Max:"Unlimited",Enterprise:"Unlimited"}},{name:"Chrome extension",translationKey:"pricingFeat_saveAdsFromChrome",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Mobile app",translationKey:"pricingFeat_saveAdsFromMobile",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Folders & boards",translationKey:"pricingFeat_foldersAndTags",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Custom tags & ratings",translationKey:"pricingFeat_tagsAndRatings",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Comments",translationKey:"pricingFeat_comments",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Manual upload",translationKey:"pricingFeat_manualUpload",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Landing page screenshots",translationKey:"pricingFeat_landingPageScreenshots",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Video transcription & translation",translationKey:"pricingFeat_videoTranscription",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Filters by platform, format, tag & rating",translationKey:"pricingFeat_swipeFilters",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Raven",translationKey:"pricingCatCompetitorIntelligence",features:[{name:"Tracked accounts (Meta, Instagram, TikTok)",translationKey:"pricingFeat_brandsInWatchlist",values:{Starter:"15",Pro:"50",Max:"200",Enterprise:"Custom"},isCopyThiefOnly:!0},{name:"Track competitor brands and creators in one watchlist that refreshes automatically",translationKey:"pricingFeat_ravenDailyWatchlists",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Monitor active ads and creative history over time",translationKey:"pricingFeat_ravenCreativeHistory",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Track each brand's Spend Momentum: scaling or pulling back active ads",translationKey:"pricingFeat_ravenSpendMomentum",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"See each brand's Testing Velocity: how fast it launches new creatives",translationKey:"pricingFeat_ravenTestingVelocity",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"See each brand's Survival Rate and its longest-running ads",translationKey:"pricingFeat_ravenSurvivalRate",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"See each brand's format mix and the landing pages its ads send traffic to",translationKey:"pricingFeat_ravenRepeatedPatterns",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Discover related brands in the same niche and add them to your watchlist",translationKey:"pricingFeat_ravenComparePatterns",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Separate short-lived tests from ads that keep running",translationKey:"pricingFeat_ravenTestsVsRunning",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Pull tracked ads and brand metrics into Playground to shape your next test",translationKey:"pricingFeat_ravenToPlayground",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Discovery",translationKey:"pricingCatDiscovery",features:[{name:"Search brands, niches, and categories in one place",translationKey:"pricingFeat_discoverySearchAll",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Find live Meta ads",translationKey:"pricingFeat_discoveryLiveAds",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Trending organic content from TikTok and Instagram",translationKey:"pricingFeat_discoveryOrganicTrending",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"Search by niche, brand, or keyword across ad copy and transcripts",translationKey:"pricingFeat_discoverySearchBy",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Find the references worth modeling",translationKey:"pricingFeat_discoveryReferences",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Save discoveries directly to your swipe",translationKey:"pricingFeat_discoverySaveToSwipe",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Pull Discovery ads, templates, and saved swipes into Playground",translationKey:"pricingFeat_discoveryToPlayground",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Save your best filters for your next research session",translationKey:"pricingFeat_discoveryResearchList",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Go from research to saved swipes, tracked brands, and generation in one workspace",translationKey:"pricingFeat_discoveryResearchToExecution",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Playground",translationKey:"pricingCatPlayground",features:[{name:"AI agent on an infinite visual canvas",translationKey:"pricingFeat_pgCanvas",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Use Swipes, Discovery, Raven and your brand as context",translationKey:"pricingFeat_pgResearchInputs",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Add websites, social posts, PDFs and videos",translationKey:"pricingFeat_pgWebCrawl",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Write ad copy, hooks, scripts and new ads",translationKey:"pricingFeat_pgCopy",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Critique ads, plan funnels and analyze videos",translationKey:"pricingFeat_pgReview",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Standard and Max AI models (Max uses 5x credits)",translationKey:"pricingFeat_pgModels",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Save boards as templates and share public links",translationKey:"pricingFeat_pgTemplates",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Share boards and templates with your team",translationKey:"pricingFeat_pgTeamTemplates",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Image Lab",translationKey:"pricingCatImageLab",features:[{name:"Clone winning ads with your brand, personas and products",translationKey:"pricingFeat_ilClone",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Up to 10 ads per batch, 4 variations each",translationKey:"pricingFeat_ilBatch",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"Pick references from Discovery, Swipes, Raven, templates or upload",translationKey:"pricingFeat_ilReferences",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"Edit any result with a prompt or reuse it as a reference",translationKey:"pricingFeat_ilEdit",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"Download and remix images from your history",translationKey:"pricingFeat_ilHistory",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}}]},{name:"Copilot",translationKey:"pricingCatBatchAds",features:[{name:"Meta ad accounts",translationKey:"pricingFeat_multiAdAccountSupport",values:{Starter:!1,Pro:"5",Max:"15",Enterprise:"Custom"},isCopyThiefOnly:!0},{name:"Build campaigns, ad sets, and ads in one workflow",translationKey:"pricingFeat_copilotOneWorkflow",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Add multiple creatives across multiple ad sets",translationKey:"pricingFeat_copilotMultiCreatives",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Pull images and videos from your Media Library and reuse saved copy templates",translationKey:"pricingFeat_copilotFromLibrary",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0}},{name:"Add assets without downloading or reopening Ads Manager",translationKey:"pricingFeat_copilotNoDownload",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Create new ads or clone existing ads and ad sets",translationKey:"pricingFeat_copilotPostIds",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Choose placements and let Advantage+ adapt your assets to each format",translationKey:"pricingFeat_copilotPlacements",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Apply naming, settings, and copy in bulk",translationKey:"pricingFeat_copilotBulkApply",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Review your campaign before publishing",translationKey:"pricingFeat_copilotReview",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Launch directly to Meta",translationKey:"pricingFeat_copilotLaunch",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Track performance across campaigns, ad sets, and ads",translationKey:"pricingFeat_copilotPerformance",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0},{name:"Identify winning creatives and underperforming ads",translationKey:"pricingFeat_copilotWinners",values:{Starter:!1,Pro:!0,Max:!0,Enterprise:!0},isCopyThiefOnly:!0}]},{name:"Brand",translationKey:"pricingCatBrand",features:[{name:"Create separate brand profiles",translationKey:"pricingFeat_brandProfiles",values:{Starter:"3",Pro:"10",Max:"25",Enterprise:"Custom"}},{name:"Store brand descriptions, USPs, target audiences, and personas",translationKey:"pricingFeat_brandStoreDetails",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Save brand guidelines, colors, fonts, and tone of voice",translationKey:"pricingFeat_brandGuidelines",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Keep brand assets organized in each brand profile",translationKey:"pricingFeat_brandOrganizedAssets",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}},{name:"Reuse brand context in Playground and Image Lab before creating",translationKey:"pricingFeat_brandAgentContext",values:{Starter:!0,Pro:!0,Max:!0,Enterprise:!0}}]}],es=e=>{let t,r,s,o,c=(0,n.c)(8),{className:d}=e,{t:u}=(0,i.Bd)("marketing");return c[0]!==d?(t=(0,l.cn)("group/badge relative inline-flex items-center",d),c[0]=d,c[1]=t):t=c[1],c[2]!==u?(r=u("pricingExclusiveBadgeTitle","Exclusive to CopyThief"),c[2]=u,c[3]=r):r=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,a.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 14 14",fill:"none",className:"text-[var(--ct-brand)] drop-shadow-[0_0_6px_rgba(255,221,87,0.6)]",children:(0,a.jsx)("path",{d:"M7 0L9.1 4.9L14 7L9.1 9.1L7 14L4.9 9.1L0 7L4.9 4.9L7 0Z",fill:"currentColor",stroke:"var(--ct-brand-strong)",strokeWidth:.8,strokeLinejoin:"round"})}),c[4]=s):s=c[4],c[5]!==t||c[6]!==r?(o=(0,a.jsx)("span",{className:t,t
1itle:r,children:s}),c[5]=t,c[6]=r,c[7]=o):o=c[7],o},ei=()=>{let e,t,r,s=(0,n.c)(5),{t:l}=(0,i.Bd)("marketing");return s[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,a.jsx)(es,{}),s[0]=e):e=s[0],s[1]!==l?(t=l("pricingTableExclusiveLegend","= CopyThief exclusive feature"),s[1]=l,s[2]=t):t=s[2],s[3]!==t?(r=(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[e,(0,a.jsx)("span",{children:t})]}),s[3]=t,s[4]=r):r=s[4],r},el={"Access & Usage":"group",Swipes:"cards",Discovery:"track_changes",Raven:"raven",Playground:"rebase_edit","Image Lab":"compare",Copilot:"rocket_launch",Brand:"storefront"},eo={Custom:"pricingTableCustom",Unlimited:"pricingValueUnlimited","Real-time":"pricingValueRealtime"},ec=e=>{let t,r,s,l,o,c,d,u,m,p,h=(0,n.c)(35),{category:x,orderedTierNames:g}=e,{t:f}=(0,i.Bd)("marketing"),y=el[x.name],v=`minmax(220px, 2fr) repeat(${g.length}, minmax(100px, 1fr))`;h[0]!==f?(t=e=>{if(!0===e)return(0,a.jsx)(F,{included:!0,appearance:"glyph",className:"mx-auto"});if(!1===e)return(0,a.jsx)(F,{included:!1,appearance:"glyph",className:"mx-auto"});let t=eo[e],r=t?f(t,e):e;return(0,a.jsx)("span",{className:"text-[15px] font-medium text-[var(--ct-text)]",children:r})},h[0]=f,h[1]=t):t=h[1];let b=t;if(h[2]!==v?(r={gridTemplateColumns:v},h[2]=v,h[3]=r):r=h[3],h[4]!==y?(s=y&&(0,a.jsx)(_.MaterialSymbol,{name:y,size:20,className:"text-[var(--ct-text)]"}),h[4]=y,h[5]=s):s=h[5],h[6]!==x.name||h[7]!==x.translationKey||h[8]!==f?(l=x.translationKey?f(x.translationKey,x.name):x.name,h[6]=x.name,h[7]=x.translationKey,h[8]=f,h[9]=l):l=h[9],h[10]!==l?(o=(0,a.jsx)("h3",{className:"font-sora text-base font-semibold text-[var(--ct-text)]",children:l}),h[10]=l,h[11]=o):o=h[11],h[12]!==s||h[13]!==o?(c=(0,a.jsxs)("div",{className:"flex items-center gap-2.5 px-6 py-3.5",children:[s,o]}),h[12]=s,h[13]=o,h[14]=c):c=h[14],h[15]!==g?(d=g.map(ed),h[15]=g,h[16]=d):d=h[16],h[17]!==r||h[18]!==c||h[19]!==d?(u=(0,a.jsxs)("div",{className:"grid border-b border-[var(--ct-surface-border)] bg-[var(--ct-tint-strong)]",style:r,children:[c,d]}),h[17]=r,h[18]=c,h[19]=d,h[20]=u):u=h[20],h[21]!==x.features||h[22]!==v||h[23]!==g||h[24]!==b||h[25]!==f){let e;h[27]!==v||h[28]!==g||h[29]!==b||h[30]!==f?(e=e=>(0,a.jsxs)("div",{className:"grid border-b border-[var(--ct-hairline)] bg-[var(--ct-page-bg)] last:border-b-0",style:{gridTemplateColumns:v},children:[(0,a.jsxs)("div",{className:"sticky left-0 z-10 flex items-center gap-2 bg-inherit px-6 py-3.5",children:[e.isCopyThiefOnly&&(0,a.jsx)(es,{className:"shrink-0"}),(0,a.jsx)("span",{className:"text-[15px] leading-snug text-[var(--ct-text)]",children:e.translationKey?f(e.translationKey,e.name):e.name})]}),g.map(t=>(0,a.jsx)("div",{className:"flex items-center justify-center px-3 py-3.5 text-center text-[var(--ct-text)]",children:b(e.values[t])},t))]},e.name),h[27]=v,h[28]=g,h[29]=b,h[30]=f,h[31]=e):e=h[31],m=x.features.map(e),h[21]=x.features,h[22]=v,h[23]=g,h[24]=b,h[25]=f,h[26]=m}else m=h[26];return h[32]!==u||h[33]!==m?(p=(0,a.jsxs)("div",{className:"border-b border-[var(--ct-surface-border)] last:border-b-0",children:[u,m]}),h[32]=u,h[33]=m,h[34]=p):p=h[34],p};function ed(e){return(0,a.jsx)("div",{className:"flex items-center justify-center px-3 py-3.5 text-[15px] font-medium text-[var(--ct-text-muted)]",children:e},e)}let eu=[k.STARTER,k.PRO,k.MAX],em=({cycle:e,setCycle:t,founding:r=!1,market:n=null})=>{let{t:d}=(0,i.Bd)("marketing"),u=(0,s.useMemo)(()=>P(n),[n]),m=(0,s.useMemo)(()=>{let e={};return u.tiers.forEach(t=>{e[t.title]={monthly:t.monthly,yearly:t.yearly,founding:t.founding}}),e},[u]),p=en.reduce((e,t)=>e+t.features.length,0),h=en.reduce((e,t)=>e+t.features.filter(e=>e.isCopyThiefOnly).length,0);return(0,a.jsxs)("section",{children:[(0,a.jsxs)(o,{className:"flex flex-col items-center px-6 pt-14 pb-8",children:[(0,a.jsx)(J,{text:d("pricingCompareBadge","Compare Features")}),(0,a.jsx)(c,{className:"mt-4",children:d("pricingCompareHeading","Everything You Get")}),(0,a.jsxs)("p",{className:"mt-4 text-center text-sm text-[var(--ct-text-muted)]",children:[p," ",d("pricingCompareFeaturesText","features across {{categories}} categories.",{categories:en.length})," ",(0,a.jsxs)("span",{className:"font-semibold text-[var(--ct-brand-ink)]",children:[h," ",d("pricingCompareExclusiveText","exclusive")]})," ",d("pricingCompareExclusiveSuffix","to CopyThief.")]}),(0,a.jsx)("div",{className:"mt-4",children:(0,a.jsx)(ei,{})})]}),(0,a.jsx)(o,{children:(0,a.jsxs)("div",{className:"overflow-x-auto",children:[(0,a.jsxs)("div",{className:"sticky top-0 z-40 grid bg-[var(--ct-page-bg)]/90 backdrop-blur-md",style:{gridTemplateColumns:`minmax(220px, 2fr) repeat(${eu.length}, minmax(100px, 1fr))`},children:[(0,a.jsx)("div",{className:"px-4 py-5 md:px-6"}),eu.map(t=>{let n=m[t],s=u.tiers.find(e=>e.title===t);return(0,a.jsxs)("div",{className:(0,l.cn)("flex flex-col items-center justify-center px-3 py-5 text-center transition-colors",s?.featured&&"bg-[var(--ct-tint)]"),children:[(0,a.jsx)("span",{className:"font-sora text-base font-semibold text-[var(--ct-text)]",children:t}),(()=>{let t=("monthly"===e?n?.monthly:n?.yearly)??0,i=s?.founding?"monthly"===e?s.founding.monthly:s.founding.yearly:null,o=r&&null!==i;return(0,a.jsxs)(a.Fragment,{children:[o&&(0,a.jsxs)("span",{className:"mt-1.5 font-sora text-base font-medium text-[var(--ct-text-subtle)] line-through",children:[(0,a.jsxs)("span",{"aria-hidden":!0,
1children:[u.symbol,t]}),(0,a.jsxs)("span",{className:"sr-only",children:["Regular price ",u.symbol,t,", now"," "]})]}),(0,a.jsxs)("div",{className:(0,l.cn)("flex items-baseline justify-center",o?"mt-0.5":"mt-1.5"),children:[(0,a.jsx)("span",{className:"text-[var(--ct-text-subtle)] text-lg font-medium",children:u.symbol}),(0,a.jsx)("span",{className:"text-[var(--ct-text)] text-5xl font-bold tracking-tighter mx-1",children:(0,a.jsx)(Q.G,{value:o?i:t})}),(0,a.jsxs)("span",{className:"text-[var(--ct-text-subtle)] text-lg font-medium",children:["/","monthly"===e?"mo":"yr"]})]})]})})()]},t)})]}),(0,a.jsx)("div",{className:"mt-4 overflow-hidden rounded-xl border border-[var(--ct-surface-border)]",children:en.map(e=>(0,a.jsx)(ec,{category:e,orderedTierNames:eu},e.name))})]})})]})};function ep(e){let t,r,i,l,o,c,d,m,p=(0,n.c)(22),{founding:h}=e,[x,g]=(0,s.useState)("monthly"),{checkAuthAndRedirect:f}=function(){let e=(0,U.useRouter)(),t=(0,s.useRef)(!1);return{checkAuthAndRedirect:(0,s.useCallback)(async r=>{if(t.current)return!1;let{planId:a}=r;try{t.current=!0;let{user:r}=await D.FH.getSession(),n=!!r,s=encodeURIComponent(a);if("free"===a){if(n)return window.location.href=q.O.app(q.A.app.home),!0;return e.push("/sign-up?plan=free&redirectToCheckout=true"),!0}if(n)return window.location.href=q.O.app(`/dashboard/billing/checkout?plan=${s}`),!0;return e.push(`/sign-up?plan=${s}&redirectToCheckout=true`),!0}catch(e){return!1}finally{t.current=!1}},[e])}}(),y=function(){let[e,t]=(0,s.useState)(W);return(0,s.useEffect)(()=>{try{let e=Intl.DateTimeFormat().resolvedOptions().timeZone,r=function(e){if("string"!=typeof e||0===e.trim().length)return{market:"international",currency:"USD",timezone:null,reason:"missing_timezone"};let t=function(e){if("string"!=typeof e)return null;let t=e.trim();return 0===t.length||t.length>64?null:null!==G(t)?t:null}(e);return null===t?{market:"international",currency:"USD",timezone:null,reason:"invalid_timezone"}:!function(e){if(H.has(e.toLowerCase()))return!0;let t=G(e);return null!==t&&H.has(t.toLowerCase())}(t)?{market:"international",currency:"USD",timezone:t,reason:"non_brazil_timezone"}:{market:"brazil",currency:"BRL",timezone:t,reason:"brazil_timezone"}}(e);r.market!==W&&t(r.market)}catch{}},[]),e}
1(),v=function(e,t){let[r,a]=(0,s.useState)(e);return(0,s.useEffect)(()=>{if(t===W)return void a(e);let r=new AbortController;return(async()=>{try{let e=await fetch(`https://api.copythief.ai/api/billing/founding-offer?market=${encodeURIComponent(t)}`,{signal:r.signal});if(!e.ok)return;let n=await e.json();"object"==typeof n&&null!==n&&a(!0===n.open)}catch{}})(),()=>r.abort()},[t,e]),r}(h,y);return p[0]!==v?(t=(0,a.jsx)(u,{founding:v}),p[0]=v,p[1]=t):t=p[1],p[2]!==f?(r=(e,t)=>{let{planId:r}=t;f({planId:r,isFromPricingPage:!0})},p[2]=f,p[3]=r):r=p[3],p[4]!==x||p[5]!==v||p[6]!==y||p[7]!==r?(i=(0,a.jsx)("div",{className:"ct-plan-cards",children:(0,a.jsx)(O,{cycle:x,setCycle:g,showFrame:!1,roomyToggle:!0,onSelectPlan:r,showEnterprise:!1,founding:v,market:y})}),p[4]=x,p[5]=v,p[6]=y,p[7]=r,p[8]=i):i=p[8],p[9]!==v?(l=v&&(0,a.jsx)(Y,{}),p[9]=v,p[10]=l):l=p[10],p[11]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.jsx)(X,{}),c=(0,a.jsx)(ea,{}),p[11]=o,p[12]=c):(o=p[11],c=p[12]),p[13]!==x||p[14]!==v||p[15]!==y?(d=(0,a.jsx)(em,{cycle:x,setCycle:g,founding:v,market:y}),p[13]=x,p[14]=v,p[15]=y,p[16]=d):d=p[16],p[17]!==t||p[18]!==i||p[19]!==l||p[20]!==d?(m=(0,a.jsx)("div",{children:(0,a.jsxs)("main",{children:[t,i,l,o,c,d]})}),p[17]=t,p[18]=i,p[19]=l,p[20]=d,p[21]=m):m=p[21],m}},66063:(e,t,r)=>{"use strict";r.d(t,{A:()=>i,q:()=>s});var a=r(62264),n=r(95956);function s(e,t){let r=a.createContext(t),s=e=>{let{children:t,...s}=e,i=a.useMemo(()=>s,Object.values(s));return(0,n.jsx)(r.Provider,{value:i,children:t})};return s.displayName=e+"Provider",[s,function(n){let s=a.useContext(r);if(s)return s;if(void 0!==t)return t;throw Error(`\`${n}\` must be used within \`${e}\``)}]}function i(e,t=[]){let r=[],s=()=>{let t=r.map(e=>a.createContext(e));return function(r){let n=r?.[e]||t;return a.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return s.scopeName=e,[function(t,s){let i=a.createContext(s),l=r.length;r=[...r,s];let o=t=>{let{scope:r,children:s,...o}=t,c=r?.[e]?.[l]||i,d=a.useMemo(()=>o,Object.values(o));return(0,n.jsx)(c.Provider,{value:d,children:s})};return o.displayName=t+"Provider",[o,function(r,n){let o=n?.[e]?.[l]||i,c=a.useContext(o);if(c)return c;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let n=r.reduce((t,{useScope:r,scopeName:a})=>{let n=r(e)[`__scope${a}`];return{...t,...n}},{});return a.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}(s,...t)]}},73843:(e,t,r)=>{"use strict";r.d(t,{ShimmerText:()=>o});var a=r(95956),n=r(38964),s=r(62264),i=r(53125),l=r(24473);let o=s.memo(function(e){let t,r,s,o,c,d,u,m,p=(0,n.c)(16),{children:h,as:x,className:g,duration:f,spread:y}=e,v=void 0===x?"p":x,b=void 0===f?2:f;p[0]!==v?(t=i.P.create(v),p[0]=v,p[1]=t):t=p[1];let j=t;r=h.length*(void 0===y?2:y),p[2]!==g?(s=(0,l.cn)("relative inline-block bg-[length:250%_100%,auto] bg-clip-text","text-transparent [--base-color:var(--ct-shimmer-base)] [--base-gradient-color:var(--ct-shimmer-glow)]","[background-repeat:no-repeat,padding-box] [--bg:linear-gradient(90deg,#0000_calc(50%-var(--spread)),var(--base-gradient-color),#0000_calc(50%+var(--spread)))]",g),p[2]=g,p[3]=s):s=p[3],p[4]===Symbol.for("react.memo_cache_sentinel")?(o={backgroundPosition:"100% center"},c={backgroundPosition:"0% center"},p[4]=o,p[5]=c):(o=p[4],c=p[5]),p[6]!==b?(d={repeat:1/0,duration:b,ease:"linear",repeatDelay:2},p[6]=b,p[7]=d):d=p[7];let S=`${r}px`;p[8]!==S?(u={"--spread":S,backgroundImage:"var(--bg), linear-gradient(var(--base-color), var(--base-color))"},p[8]=S,p[9]=u):u=p[9];let w=u;return p[10]!==j||p[11]!==h||p[12]!==w||p[13]!==s||p[14]!==d?(m=(0,a.jsx)(j,{className:s,initial:o,animate:c,transition:d,style:w,children:h}),p[10]=j,p[11]=h,p[12]=w,p[13]=s,p[14]=d,p[15]=m):m=p[15],m})},73999:(e,t,r)=>{"use strict";r.d(t,{hO:()=>o,sG:()=>l});var a=r(62264),n=r(409),s=r(18989),i=r(95956),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>
1{let r=(0,s.TL)(`Primitive.${t}`),n=a.forwardRef((e,a)=>{let{asChild:n,...s}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(n?r:t,{...s,ref:a})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function o(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}},76268:(e,t,r)=>{"use strict";r.d(t,{E6:()=>n,FH:()=>s});class a{constructor(e="https://api.copythief.ai"){this.backendUrl=e}async request(e,t={}){let r=`${this.backendUrl}${e}`,a=await fetch(r,{...t,credentials:"include",headers:{"Content-Type":"application/json",...function(){let e=function(){let e;if("undefined"==typeof document)return null;let t="https://hkjiafvofsckqqcmatdf.supabase.co".match(/https?:\/\/([^.]+)\.supabase/),r=t?.[1];if(!r)return null;let a=Object.fromEntries(document.cookie.split(";").map(e=>{let[t,...r]=e.trim().split("=");return[t,r.join("=")]})),n=`sb-${r}-auth-token`,s=a[n];if(!s){let e=[],t=0;for(;void 0!==a[`${n}.${t}`];)e.push(a[`${n}.${t}`]),t++;e.length>0&&(s=e.join(""))}if(!s)return null;try{e=decodeURIComponent(s)}catch{e=s}if(e.startsWith("base64-")){let t=e.slice(7).replace(/-/g,"+").replace(/_/g,"/"),r=t+"=".repeat((4-t.length%4)%4);try{let e=atob(r),t=JSON.parse(e);if(t?.access_token)return t.access_token}catch{}return null}try{let t=JSON.parse(e);if(Array.isArray(t))return"string"==typeof t[0]?t[0]:null;if(t?.access_token)return t.access_token}catch{try{let t=atob(e),r=JSON.parse(t);if(Array.isArray(r))return"string"==typeof r[0]?r[0]:null;if(r?.access_token)return r.access_token}catch{}}return null}();return e?{Authorization:`Bearer ${e}`}:{}}(),...t.headers}}),s=await a.json().catch(()=>null);if(!a.ok)throw new n(s?.error||`Request failed with status ${a.status}`,a.status,s,{retryAfterSeconds:function(e){if(!e)return null;let t=Number(e);if(Number.isFinite(t)&&t>=0)return t;let r=Date.parse(e);return Number.isNaN(r)?null:Math.max(0,Math.round((r-Date.now())/1e3))}(a.headers.get("retry-after")),requestId:a.headers.get("x-request-id")});return s}async getSession(){try{return{user:(await this.request("/api/auth/check-session")).user}}catch{return{user:null}}}async getUser(){try{return await this.request("/api/auth/user")}catch{return{user:null,subscription:null}}}async getMfaFactors(){return this.request("/api/auth/mfa/factors")}async getProfile(){try{return(await this.request("/api/me")).user}catch{return null}}async getCredits(e){return(await this.request(`/api/me/credits?organization_id=${encodeURIComponent(e)}`)).credits}async getSubscription(e){return(await this.request(`/api/me/subscription?organization_id=${encodeURIComponent(e)}`)).subscription}async updateProfile(e){return this.request("/api/me/update",{method:"PATCH",body:JSON.stringify(e)})}async listProducts(e=50){return this.request(`/api/products/list?limit=${e}`)}async getProduct(e){return this.request(`/api/products/${e}`)}async createProduct(e){return this.request("/api/products/create",{method:"POST",body:JSON.stringify(e)})}async listOffers(e,t=50){return this.request(`/api/offers/list?product_id=${encodeURIComponent(e)}&limit=${t}`)}async getOffer(e,t){return this.request(`/api/offers/${e}?product_id=${encodeURIComponent(t)}`)}async listAvatars(e,t=50){return this.request(`/api/avatars/list?product_id=${encodeURIComponent(e)}&limit=${t}`)}async getAvatar(e,t){return this.request(`/api/avatars/${e}?product_id=${encodeURIComponent(t)}`)}async listCreatives(e,t=50){return this.request(`/api/creatives/list?product_id=${encodeURIComponent(e)}&limit=${t}`)}async getCreative(e,t){return this.request(`/api/creatives/${e}?product_id=${encodeURIComponent(t)}`)}async getSwipes(e){return this.request(`/api/swipes?product_id=${encodeURIComponent(e)}`)}async saveSwipe(e){return this.request("/api/swipes",{method:"POST",body:JSON.stringify(e)})}async deleteSwipe(e){await this.request(`/api/swipes/${e}`,{method:"DELETE"})}async getDiscoveryItems(e){let t=new URLSearchParams;e?.category&&t.set("category",e.category),e?.limit&&t.set("limit",String(e.limit));let r=t.toString();return this.request(`/api/discovery${r?`?${r}`:""}`)}async getTrendingFocusPresets(e){return(await this.request(`/api/discovery/trending-focus-presets?mode=${encodeURIComponent(e)}`)).presets}async getChatSettings(e){return(await this.request(`/api/chats/${encodeURIComponent(e)}/settings`)).settings}async getCreditsBalance(e){try{return(await this.getCredits(e)).balance_credits}catch{return 0}}}
1class n extends Error{constructor(e,t,r,a){super(e),this.name="ApiClientError",this.status=t,this.data=r,this.retryAfterSeconds=a?.retryAfterSeconds??null,this.requestId=a?.requestId??null}}let s=new a},97895:()=>{}},e=>{var t=t=>e(e.s=t);e.O(0,[6442,7932,1061,7900,4721,5134,3125,4626,4179,3273,3289,7092,9275,7791,7358],()=>t(8155)),_N_E=e.O()}]); 2//# sourceMappingURL=page-3c80f22186379828.js.map
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.