1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,95187,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={callServer:function(){return a.callServer},createServerReference:function(){return s.createServerReference},findSourceMapURL:function(){return o.findSourceMapURL}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(132120),o=e.r(92245),s=e.r(235326)},203686,e=>{"use strict";let t={status:["status","status_description"],error:["error","error_description"]};e.s(["getCurrencySymbol",0,e=>{switch(e.toLowerCase()){case"usd":case"mxn":default:return"$";case"eur":return"â¬";case"gbp":return"£";case"jpy":case"cny":return"Â¥";case"cad":return"C$";case"aud":return"A$";case"chf":return"CHF";case"sek":case"nok":return"kr";case"sgd":return"S$";case"hkd":return"HK$";case"nzd":return"NZ$";case"inr":return"â¹";case"krw":return"â©";case"rub":return"â½";case"brl":return"R$";case"zar":return"R"}},"getErrorRedirect",0,(e,r,n="",i=!1,a="")=>((e,r,n,i="",a=!1,o="")=>{let[s,l]=t[r],c=`${e}?${s}=${encodeURIComponent(n)}`;return i&&(c+=`&${l}=${encodeURIComponent(i)}`),a&&(c+="&disable_button=true"),o&&(c+=`&${o}`),c})(e,"error",r,n,i,a),"isLifetimeSubscription",0,e=>!!e&&(e.metadata?.type==="lifetime"||e.metadata?.early_user==="true"||e.prices?.products?.metadata?.type==="lifetime")])},487486,e=>{"use strict";var t=e.i(843476),r=e.i(225913),n=e.i(709840),i=e.i(975157);let a=(0,r.cva)("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 [a]:hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 text-destructive dark:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline",positive:"bg-positive text-positive-foreground [a]:hover:bg-positive/80"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function({className:e,variant:r="default",asChild:o=!1,...s}){let l=o?n.Slot.Root:"span";return(0,t.jsx)(l,{"data-slot":"badge","data-variant":r,className:(0,i.cn)(a({variant:r}),e),...s})}])},409797,e=>{"use strict";var t=e.i(631171);e.s(["ChevronDownIcon",()=>t.default])},54131,399219,e=>{"use strict";let t=(0,e.i(475254).default)("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);e.s(["default",0,t],399219),e.s(["ChevronUpIcon",0,t],54131)},687607,e=>{"use strict";var t=e.i(271645),r=e.i(981140),n=e.i(30030),i=e.i(369340),a=e.i(934620),o=e.i(820783),s=e.i(248425),l=e.i(296626),c=e.i(610772),d=e.i(843476),u="Collapsible",[p,m]=(0,n.createContextScope)(u),[f,g]=p(u),h=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,open:a,defaultOpen:o,disabled:l,onOpenChange:p,...m}=e,[g,h]=(0,i.useControllableState)({prop:a,defaultProp:o??!1,onChange:p,caller:u});return(0,d.jsx)(f,{scope:n,disabled:l,contentId:(0,c.useId)(),open:g,onOpenToggle:t.useCallback(()=>h(e=>!e),[h]),children:(0,d.jsx)(s.Primitive.div,{"data-state":j(g),"data-disabled":l?"":void 0,...m,ref:r})})});h.displayName=u;var x="CollapsibleTrigger",v=t.forwardRef((e,t)=>{let{__scopeCollapsible:n,...i}=e,a=g(x,n);return(0,d.jsx)(s.Primitive.button,{type:"button","aria-controls":a.contentId,"aria-expanded":a.open||!1,"data-state":j(a.open),"data-disabled":a.disabled?"":void 0,disabled:a.disabled,...i,ref:t,onClick:(0,r.composeEventHandlers)(e.onClick,a.onOpenToggle)})});v.displayName=x;
1var b="CollapsibleContent",y=t.forwardRef((e,t)=>{let{forceMount:r,...n}=e,i=g(b,e.__scopeCollapsible);return(0,d.jsx)(l.Presence,{present:r||i.open,children:({present:e})=>(0,d.jsx)(C,{...n,ref:t,present:e})})});y.displayName=b;var C=t.forwardRef((e,r)=>{let{__scopeCollapsible:n,present:i,children:l,...c}=e,u=g(b,n),[p,m]=t.useState(i),f=t.useRef(null),h=(0,o.useComposedRefs)(r,f),x=t.useRef(0),v=x.current,y=t.useRef(0),C=y.current,w=u.open||p,k=t.useRef(w),N=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>k.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,a.useLayoutEffect)(()=>{let e=f.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();x.current=t.height,y.current=t.width,k.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),m(i)}},[u.open,i]),(0,d.jsx)(s.Primitive.div,{"data-state":j(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!w,...c,ref:h,style:{"--radix-collapsible-content-height":v?`${v}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:w&&l})});function j(e){return e?"open":"closed"}e.s(["Collapsible",0,h,"CollapsibleContent",0,y,"CollapsibleTrigger",0,v,"Content",0,y,"Root",0,h,"Trigger",0,v,"createCollapsibleScope",0,m])},273443,e=>{"use strict";var t=e.i(843476),r=e.i(409797),n=e.i(54131),i=e.i(271645),a=e.i(30030),o=e.i(75830),s=e.i(820783),l=e.i(981140),c=e.i(369340),d=e.i(248425),u=e.i(687607),p=e.i(610772),m=e.i(586318),f="Accordion",g=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[h,x,v]=(0,o.createCollection)(f),[b,y]=(0,a.createContextScope)(f,[v,u.createCollapsibleScope]),C=(0,u.createCollapsibleScope)(),j=i.default.forwardRef((e,r)=>{let{type:n,...i}=e;return(0,t.jsx)(h.Provider,{scope:e.__scopeAccordion,children:"multiple"===n?(0,t.jsx)(T,{...i,ref:r}):(0,t.jsx)(A,{...i,ref:r})})});j.displayName=f;var[w,k]=b(f),[N,S]=b(f,{collapsible:!1}),A=i.default.forwardRef((e,r)=>{let{value:n,defaultValue:a,onValueChange:o=()=>{},collapsible:s=!1,...l}=e,[d,u]=(0,c.useControllableState)({prop:n,defaultProp:a??"",onChange:o,caller:f});return(0,t.jsx)(w,{scope:e.__scopeAccordion,value:i.default.useMemo(()=>d?[d]:[],[d]),onItemOpen:u,onItemClose:i.default.useCallback(()=>s&&u(""),[s,u]),children:(0,t.jsx)(N,{scope:e.__scopeAccordion,collapsible:s,children:(0,t.jsx)(P,{...l,ref:r})})})}),T=i.default.forwardRef((e,r)=>{let{value:n,defaultValue:a,onValueChange:o=()=>{},...s}=e,[l,d]=(0,c.useControllableState)({prop:n,defaultProp:a??[],onChange:o,caller:f}),u=i.default.useCallback(e=>d((t=[])=>[...t,e]),[d]),p=i.default.useCallback(e=>d((t=[])=>t.filter(t=>t!==e)),[d]);return(0,t.jsx)(w,{scope:e.__scopeAccordion,value:l,onItemOpen:u,onItemClose:p,children:(0,t.jsx)(N,{scope:e.__scopeAccordion,collapsible:!0,children:(0,t.jsx)(P,{...s,ref:r})})})}),[I,R]=b(f),P=i.default.forwardRef((e,r)=>{let{__scopeAccordion:n,disabled:a,dir:o,orientation:c="vertical",...u}=e,p=i.default.useRef(null),f=(0,s.useComposedRefs)(p,r),v=x(n),b="ltr"===(0,m.useDirection)(o),y=(0,l.composeEventHandlers)(e.onKeyDown,e=>{if(!g.includes(e.key))return;let t=e.target,r=v().filter(e=>!e.ref.current?.disabled),n=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===n)return;e.preventDefault();let a=n,o=i-1,s=()=>{(a=n+1)>o&&(a=0)},l=()=>{(a=n-1)<0&&(a=o)};switch(e.key){case"Home":a=0;break;case"End":a=o;break;case"ArrowRight":"horizontal"===c&&(b?s():l());break;case"ArrowDown":"vertical"===c&&s();break;case"ArrowLeft":"horizontal"===c&&(b?l():s());break;case"ArrowUp":"vertical"===c&&l()}let d=a%i;r[d].ref.current?.focus()});return(0,t.jsx)(I,{scope:n,disabled:a,direction:o,orientation:c,children:(0,t.jsx)(h.Slot,{scope:n,children:(0,t.jsx)(d.Primitive.div,{...u,"data-orientation":c,ref:f,onKeyDown:a?void 0:y})})})}),E="AccordionItem",[L,_]=b(E),D=i.default.forwardRef((e,r)=>{let{__scopeAccordion:n,value:i,...a}=e,o=R(E,n),s=k(E,n),l=C(n),c=(0,p.useId)(),d=i&&s.value.includes(i)||!1,m=o.disabled||e.disabled;return(0,t.jsx)(L,{scope:n,open:d,disabled:m,triggerId:c,children:(0,t.jsx)(u.Root,{"data-orientation":o.orientation,"data-state":F(d),...l,...a,ref:r,disabled:m,open:d,onOpenChange:e=>{e?s.onItemOpen(i):s.onItemClose(i)}})})});D.displayName=E;var M="AccordionHeader",O=i.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,a=R(f,n),o=_(M,n);return(0,t.jsx)(d.Primitive.h3,{"data-orientation":a.orientation,"data-state":F(o.open),"data-disabled":o.disabled?"":void 0,...i,ref:r})});O.displayName=M;var U="AccordionTrigger",H=i.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,a=R(f,n),o=_(U,n),s=S(U,n),l=C(n);return(0,t.jsx)(h.ItemSlot,{scope:n,children:(0,t.jsx)(u.Trigger,{"aria-disabled":o.open&&!s.collapsible||void 0,"data-orientation":a.orientation,id:o.triggerId,...l,...i,ref:r})})});H.displayName=U;var $="AccordionContent",G=i.default.forwardRef((e,r)=>{let{__scopeAccordion:n,...i}=e,a=R(f,n),o=_($,n),s=C(n);return(0,t.jsx)(u.Content,{role:"region","aria-labelledby":o.triggerId,"data-orientation":a.orientation,...s,...i,ref:r,
1style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function F(e){return e?"open":"closed"}G.displayName=$,e.s(["Accordion",0,j,"AccordionContent",0,G,"AccordionHeader",0,O,"AccordionItem",0,D,"AccordionTrigger",0,H,"Content",0,G,"Header",0,O,"Item",0,D,"Root",0,j,"Trigger",0,H,"createAccordionScope",0,y],767660);var z=e.i(767660),z=z,B=e.i(975157);e.s(["Accordion",0,function({className:e,...r}){return(0,t.jsx)(z.Root,{"data-slot":"accordion",className:(0,B.cn)("flex w-full flex-col",e),...r})},"AccordionContent",0,function({className:e,children:r,...n}){return(0,t.jsx)(z.Content,{"data-slot":"accordion-content",className:"data-open:animate-accordion-down data-closed:animate-accordion-up overflow-hidden text-sm",...n,children:(0,t.jsx)("div",{className:(0,B.cn)("[&_a]:hover:text-foreground h-(--radix-accordion-content-height) pt-0 pb-4 [&_a]:underline [&_a]:underline-offset-3 [&_p:not(:last-child)]:mb-4",e),children:r})})},"AccordionItem",0,function({className:e,...r}){return(0,t.jsx)(z.Item,{"data-slot":"accordion-item",className:(0,B.cn)("not-last:border-b",e),...r})},"AccordionTrigger",0,function({className:e,children:i,...a}){return(0,t.jsx)(z.Header,{className:"flex",children:(0,t.jsxs)(z.Trigger,{"data-slot":"accordion-trigger",className:(0,B.cn)("focus-visible:ring-ring/50 focus-visible:border-ring focus-visible:after:border-ring **:data-[slot=accordion-trigger-icon]:text-muted-foreground group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-3 disabled:pointer-events-none disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4",e),...a,children:[i,(0,t.jsx)(r.ChevronDownIcon,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none shrink-0 group-aria-expanded/accordion-trigger:hidden"}),(0,t.jsx)(n.ChevronUpIcon,{"data-slot":"accordion-trigger-icon",className:"pointer-events-none hidden shrink-0 group-aria-expanded/accordion-trigger:inline"})]})})}],273443)},934537,e=>{"use strict";var t,r,n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRen
1dering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(t=function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)},r=Object.create(null),function(e){return void 0===r[e]&&(r[e]=t(e)),r[e]});e.s(["default",0,i],934537)},9524,e=>{"use strict";var t=e.i(95187);let r=(0,t.createServerReference)("40400767b639651d50a6d32a70c9eca502943eec06",t.callServer,void 0,t.findSourceMapURL,"createStripePortal");e.s(["createStripePortal",0,r])},608290,683639,e=>{"use strict";let t;e.i(247167);var r,n="https://js.stripe.com/v3",i=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,a=function(){for(var e=document.querySelectorAll('script[src^="'.concat(n,'"]')),t=0;t<e.length;t++){var r=e[t];if(i.test(r.src))return r}return null},o=function(e){var t=e&&!e.advancedFraudSignals?"?advancedFraudSignals=false":"",r=document.createElement("script");r.src="".concat(n).concat(t);var i=document.head||document.body;if(!i)throw Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(r),r},s=function(e,t){e&&e._registerWrapper&&e._registerWrapper({name:"stripe-js",version:"4.6.0",startTime:t})},l=null,c=null,d=null,u=function(e,t,r){if(null===e)return null;var n=e.apply(void 0,t);return s(n,r),n},p=!1,m=function(){return r||(r=(null!==l?l:(l=new Promise(function(e,t){if("u"<typeof window||"u"<typeof document)return void e(null);if(window.Stripe,window.Stripe)return void e(window.Stripe);try{var r,n=a();n?n&&null!==d&&null!==c&&(n.removeEventListener("load",d),n.removeEventListener("error",c),null==(r=n.parentNode)||r.removeChild(n),n=o(null)):n=o(null),d=function(){window.Stripe?e(window.Stripe):t(Error("Stripe.js not available"))},c=function(){t(Error("Failed to load Stripe.js"))},n.addEventListener("load",d),n.addEventListener("error",c)}catch(e){t(e);return}})).catch(function(e){return l=null,Promise.reject(e)})).catch(function(e){return r=null,Promise.reject(e)}))};Promise.resolve().then(function(){return m()}).catch(function(e){p||console.warn(e)});var f=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];p=!0;var n=Date.now();return m().then(function(e){return u(e,t,n)})};e.s(["getStripe",0,()=>(t||(t=f("pk_live_51NJDJFIRIUSO6sx2HxafiGIGHb7aji50o3f8OWHtFteGsYUC2PvpPGXmFDmzev5YQndeMjOxedX9XELioAUTZChx00MkoTI1gH")),t)],608290);var g=e.i(95187);
1let h=(0,g.createServerReference)("70af392a539df1720d082743135db34dd57e7919a0",g.callServer,void 0,g.findSourceMapURL,"checkoutWithStripe");e.s(["checkoutWithStripe",0,h],683639)},790597,e=>{"use strict";let t=(0,e.i(475254).default)("heart",[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]]);e.s(["Heart",0,t],790597)},59409,e=>{"use strict";var t=e.i(843476),r=e.i(948148),n=e.i(271645),i=e.i(273443),a=e.i(985562);e.s(["FAQSection",0,function(){let e=(0,r.useTranslations)("Landing.Pricing"),o=(0,a.useTracking)(),s=["freePlan","autopsy","cancel","security","differentJournal"],l=(0,n.useRef)(null);return(0,t.jsxs)("section",{id:"faq",className:"border-border mx-auto max-w-4xl px-6 py-16 md:px-12 md:py-32",children:[(0,t.jsxs)("div",{className:"mb-16",children:[(0,t.jsx)("h2",{className:"text-foreground mb-4 text-3xl font-medium tracking-tight md:text-4xl",children:e("faq.title")}),(0,t.jsx)("p",{className:"text-muted-foreground text-[15px]",children:e("faq.subtitle")})]}),(0,t.jsx)(i.Accordion,{type:"single",collapsible:!0,className:"w-full",onValueChange:t=>{if(t){let r=s.find(e=>`item-${e}`===t);r&&(l.current=r,o.trackEvent("LANDING_FAQ_TOGGLED",{question:e(`faq.items.${r}.q`),opened:!0}))}else l.current&&(o.trackEvent("LANDING_FAQ_TOGGLED",{question:e(`faq.items.${l.current}.q`),opened:!1}),l.current=null)},children:s.map(r=>(0,t.jsxs)(i.AccordionItem,{value:`item-${r}`,className:"border-border/50",children:[(0,t.jsx)(i.AccordionTrigger,{className:"text-foreground py-6 text-left text-[15px] font-medium hover:no-underline",children:e(`faq.items.${r}.q`)}),(0,t.jsx)(i.AccordionContent,{className:"text-muted-foreground pb-6 text-[14px] leading-relaxed",children:e(`faq.items.${r}.a`)})]},r))})]})}])},240678,e=>{"use strict";var t=e.i(843476),r=e.i(250909),n=e.i(948148),i=e.i(487486),a=e.i(519455),o=e.i(350103),s=e.i(985562);e.s(["CtaSection",0,function({userCount:e}){let l=(0,n.useTranslations)("Landing.CTA"),c=(0,s.useTracking)(),d=(0,o.useTrackedAuthHref)({href:"/auth/signup",intentSlug:"homepage"});return(0,t.jsxs)("section",{id:"pricing",className:"bg-background relative overflow-hidden py-16 md:py-32",children:[(0,t.jsx)("div",{className:"bg-primary/5 pointer-events-none absolute top-1/2 left-1/2 h-[300px] w-[600px] -translate-x-1/2 -translate-y-1/2 rounded-full blur-[100px]"}),(0,t.jsxs)("div",{className:"relative z-10 mx-auto max-w-3xl px-6 text-center",children:[(0,t.jsx)(i.Badge,{variant:"outline",asChild:!0,className:"border-primary/20 bg-primary/5 text-primary mb-6 px-3 py-1 text-xs font-medium sm:text-[13px]",children:(0,t.jsx)("h2",{children:l("eyebrow",{count:e})})}),(0,t.jsx)("h3",{className:"text-foreground mb-6 text-[2.5rem] leading-[1.1] font-medium tracking-tight whitespace-pre-line md:text-[3.5rem]",children:l("title")}),(0,t.jsx)("p",{className:"text-muted-foreground mx-auto mb-10 max-w-lg text-[15px]",children:l("description",{count:e})}),(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-4 sm:flex-row",children:[(0,t.jsx)(a.Button,{size:"lg",className:"text-primary-foreground bg-primary hover:bg-primary/90 shadow-primary/20 h-12 rounded-md px-8 text-[14px] font-medium shadow-lg transition-colors",asChild:!0,children:(0,t.jsx)(r.Link,{href:d,onClick:()=>(0,o.trackLandingCtaClick)({tracking:c,label:l("signup"),location:"bottom_primary",ctaLocation:"bottom",pageMode:"seo",intentFamily:"trading-journal",intentSlug:"homepage",heroVariant:"homepage-default",authAction:"register",sectionIds:o.HOMEPAGE_SECTION_IDS}),children:l("signup")})}),(0,t.jsx)(a.Button,{size:"lg",variant:"outline",className:"border-border bg-background hover:bg-muted text-foreground h-12 rounded-md px-8 text-[14px] font-medium transition-colors",asChild:!0,children:(0,t.jsx)(r.Link,{href:"/options",onClick:()=>(0,o.trackLandingCtaClick)({tracking:c,label:l("demo"),location:"bottom_demo",ctaLocation:"bottom",pageMode:"seo",intentFamily:"trading-journal",intentSlug:"homepage",heroVariant:"homepage-default",sectionIds:o.HOMEPAGE_SECTION_IDS}),children:l("demo")})})]}),(0,t.jsx)("p",{className:"text-muted-foreground mt-6 text-[13px]",children:l("trust")})]})]})}])},611056,e=>{"use strict";var t=e.i(618566),r=e.i(271645),n=e.i(846305),i=e.i(985562);
1e.s(["PricingPageTracker",0,function(){let e=(0,i.useTracking)(),a=(0,t.useSearchParams)();return(0,r.useEffect)(()=>{let t=(0,n.captureAttributionContext)({search:`?${a.toString()}`});e.trackEvent("PRICING_PAGE_VIEWED",{...t})},[]),null}])},908366,e=>{"use strict";var t=e.i(843476);e.i(247167);var r=e.i(271645),n=e.i(231178),i=e.i(947414),a=e.i(821476),o=r,s=e.i(369110);class l extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:r}){let n=(0,o.useId)(),i=(0,o.useRef)(null),a=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:d}=(0,o.useContext)(s.MotionConfigContext);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:o,left:s}=a.current;if(r||!i.current||!e||!t)return;i.current.dataset.motionPopId=n;let l=document.createElement("style");return d&&(l.nonce=d),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` 2 [data-motion-pop-id="${n}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 top: ${o}px !important; 7 left: ${s}px !important; 8 } 9 `),()=>{document.head.removeChild(l)}},[r]),(0,t.jsx)(l,{isPresent:r,childRef:i,sizeRef:a,children:o.cloneElement(e,{ref:i})})}let d=({children:e,initial:n,isPresent:o,onExitComplete:s,custom:l,presenceAffectsLayout:d,mode:p})=>{let m=(0,i.useConstant)(u),f=(0,r.useId)(),g=(0,r.useCallback)(e=>
9{for(let t of(m.set(e,!0),m.values()))if(!t)return;s&&s()},[m,s]),h=(0,r.useMemo)(()=>({id:f,initial:n,isPresent:o,custom:l,onExitComplete:g,register:e=>(m.set(e,!1),()=>m.delete(e))}),d?[Math.random(),g]:[o,g]);return(0,r.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[o]),r.useEffect(()=>{o||m.size||!s||s()},[o]),"popLayout"===p&&(e=(0,t.jsx)(c,{isPresent:o,children:e})),(0,t.jsx)(a.PresenceContext.Provider,{value:h,children:e})};function u(){return new Map}var p=e.i(464978);let m=e=>e.key||"";function f(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}var g=e.i(674008);let h=({children:e,custom:a,initial:o=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:u=!1})=>{let[h,x]=(0,p.usePresence)(u),v=(0,r.useMemo)(()=>f(e),[e]),b=u&&!h?[]:v.map(m),y=(0,r.useRef)(!0),C=(0,r.useRef)(v),j=(0,i.useConstant)(()=>new Map),[w,k]=(0,r.useState)(v),[N,S]=(0,r.useState)(v);(0,g.useIsomorphicLayoutEffect)(()=>{y.current=!1,C.current=v;for(let e=0;e<N.length;e++){let t=m(N[e]);b.includes(t)?j.delete(t):!0!==j.get(t)&&j.set(t,!1)}},[N,b.length,b.join("-")]);let A=[];if(v!==w){let e=[...v];for(let t=0;t<N.length;t++){let r=N[t],n=m(r);b.includes(n)||(e.splice(t,0,r),A.push(r))}"wait"===c&&A.length&&(e=A),S(f(e)),k(v);return}let{forceRender:T}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:N.map(e=>{let r=m(e),n=(!u||!!h)&&(v===N||b.includes(r));return(0,t.jsx)(d,{isPresent:n,initial:(!y.current||!!o)&&void 0,custom:n?void 0:a,presenceAffectsLayout:l,mode:c,onExitComplete:n?void 0:()=>{if(!j.has(r))return;j.set(r,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),S(C.current),u&&(null==x||x()),s&&s())},children:e},r)})})};var x=e.i(846932),v=e.i(643531),b=e.i(790597),y=e.i(717521),y=y,C=e.i(250909),j=e.i(948148),w=e.i(519455),k=e.i(975157),N=e.i(846305),S=e.i(985562),A=e.i(608290),T=e.i(683639),I=e.i(9524),R=e.i(307259),P=e.i(203686);function E({value:e,isAnnual:r}){let n=String(Math.round(e)).split("");return(0,t.jsx)("span",{className:"inline-flex overflow-hidden",style:{lineHeight:1},children:(0,t.jsx)(h,{mode:"popLayout",initial:!1,children:n.map((e,n)=>(0,t.jsx)(x.motion.span,{initial:{y:r?"-100%":"100%",opacity:0}
9,animate:{y:"0%",opacity:1},exit:{y:r?"100%":"-100%",opacity:0},transition:{duration:.25,delay:.04*n,ease:[.32,0,.67,0]},className:"inline-block",children:e},`${r?"a":"m"}-${n}-${e}`))})})}e.s(["PricingCards",0,function({offers:e,source:n="landing"}){let i=(0,j.useTranslations)("Landing.Pricing"),a=(0,C.useRouter)(),o=(0,C.usePathname)(),s=(0,S.useTracking)(),[l,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)([]),[p,m]=(0,r.useState)(!0),[f,g]=(0,r.useState)();(0,r.useEffect)(()=>{let e=!0;return async function(){let t=(0,R.createClientComponentClient)();try{let{data:{user:r}}=await t.auth.getUser();if(!r){e&&u([]);return}let{data:n}=await t.from("subscriptions").select("*, prices(*, products(*))").in("status",["trialing","active"]).eq("user_id",r.id);e&&u(n||[])}finally{e&&m(!1)}}(),()=>{e=!1}},[]);let h=d.some(e=>(0,P.isLifetimeSubscription)(e)),x=d.some(e=>e.prices?.products?.name==="Pro Plan Upgrade for Lifetime Users"),L=async e=>{let t=(0,R.createClientComponentClient)(),{data:{user:r}}=await t.auth.getUser();if(!r)return a.push("/auth/signup");if(x||d.length>0&&!h){g(e.priceId);try{let e=await (0,I.createStripePortal)(o);"string"==typeof e&&e.startsWith("http")?window.location.href=e:a.push(e)}catch(e){console.error("Error opening Stripe portal:",e)}finally{g(void 0)}return}if(!e.priceId)return void console.error("No priceId for offer:",e);g(e.priceId);let n=(0,N.captureAttributionContext)();s.trackEvent("SUBSCRIPTION_CHECKOUT_STARTED",{plan:e.planType,interval:"month"===e.interval?"monthly":"annual",source:"landing_pricing",price_id:e.priceId,...n});try{let{errorRedirect:t,sessionId:r}=await (0,T.checkoutWithStripe)({id:e.priceId,type:e.priceType},o,"landing_pricing");if(t)return g(void 0),a.push(t);if(!r)return void g(void 0);let n=await (0,A.getStripe)();n?.redirectToCheckout({sessionId:r})}catch(e){console.error("Error handling checkout:",e)}finally{g(void 0)}},_=e.find(e=>"basic"===e.planType&&"month"===e.interval),D=e.find(e=>"basic"===e.planType&&"year"===e.interval),M=e.find(e=>"pro"===e.planType&&"month"===e.interval),O=e.find(e=>"pro"===e.planType&&"year"===e.interval),U=e.find(e=>"lifetimeProUpgrade"===e.planType&&"month"===e.interval),H=e.find(e=>"lifetimeProUpgrade"===e.planType&&"year"===e.interval),$=_&&D&&_.price?12*Number(_.price)-Number(D.price):0,G=M&&O&&M.price?12*Number(M.price)-Number(O.price):0,F=U&&H&&U.price?12*Number(U.price)-Number(H.price):0,z=!p&&h&&(x||!!U||!!H),B=z&&!x&&!!U&&!!H,q=(B?l?H:U:void 0)??H??U,W=q?.interval==="year",V=e=>p||!!e&&f===e,K=i.has("lifetime.upgradeButton")?i("lifetime.upgradeButton"):"Get Pro upgrade",X=i.has("lifetime.manageButton")?i("lifetime.manageButton"):"Manage upgrade",Y=[{offer:l?D:_,name:(l?D:_)?.planType??"basic",target:i("plans.basic.target"),elevated:!1,buttonText:i("plans.basic.buttonText"),savings:$},{offer:l?O:M,name:(l?O:M)?.planType??"pro",target:i("plans.pro.target"),elevated:!0,buttonText:i("plans.pro.buttonText"),savings:G}];return(0,t.jsxs)(t.Fragment,{children:[(!z||B)&&(0,t.jsxs)("div",{className:"bg-muted mb-12 flex items-center gap-4 roun
9ded-full p-1.5",children:[(0,t.jsx)("button",{onClick:()=>{c(!1),s.trackEvent("LANDING_PRICING_TOGGLED",{interval:"monthly"})},className:(0,k.cn)("rounded-full px-6 py-2.5 text-sm font-medium transition-all",l?"text-muted-foreground hover:text-foreground":"bg-background text-foreground shadow-sm"),children:i("monthly")}),(0,t.jsx)("button",{onClick:()=>{c(!0),s.trackEvent("LANDING_PRICING_TOGGLED",{interval:"annual"})},className:(0,k.cn)("rounded-full px-6 py-2.5 text-sm font-medium transition-all",l?"bg-background text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"),children:i("annually")})]}),z?(0,t.jsx)("div",{className:"flex w-full max-w-5xl justify-center",children:(0,t.jsxs)("div",{className:"bg-card border-primary/30 shadow-primary/5 relative flex w-full max-w-2xl flex-col rounded-2xl border p-8 shadow-xl",children:[(0,t.jsxs)("div",{className:"bg-primary/10 text-primary mb-4 inline-flex w-fit items-center gap-2 rounded-full px-3 py-1 text-xs font-medium",children:[(0,t.jsx)(b.Heart,{className:"h-4 w-4"}),i("lifetime.badge")]}),(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsx)("h4",{className:"text-foreground text-2xl font-medium tracking-tight",children:x?i("lifetime.currentTitle"):i("lifetime.upgradeTitle")}),(0,t.jsx)("p",{className:"text-muted-foreground mt-2 text-sm leading-relaxed",children:x?i("lifetime.currentDescription"):i("lifetime.upgradeDescription")})]}),x?null:(0,t.jsxs)(t.Fragment,{children:[q&&(0,t.jsxs)("div",{className:"mb-6 flex items-baseline gap-1",children:[(0,t.jsxs)("span",{className:"text-foreground text-4xl font-medium tracking-tight",children:[(0,P.getCurrencySymbol)(q.priceCurrency||"EUR"),(0,t.jsx)(E,{value:Number(q.price),isAnnual:W})]}),(0,t.jsxs)("span",{className:"text-muted-foreground text-sm",children:["/",W?i("perYear"):i("perMonth")]})]}),W&&H&&F>0&&(0,t.jsx)("div",{className:"bg-primary/10 text-primary mb-6 inline-flex w-fit items-center rounded-full px-3 py-1 text-xs font-medium",children:i("saveBadge",{amount:F.toFixed(0)})})]}),(0,t.jsx)("ul",{className:"mb-8 flex-1 space-y-4",children:(U?.features||H?.features||[]).map((e,r)=>(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)(v.Check,{className:"text-primary mt-0.5 h-5 w-5 shrink-0"}),(0,t.jsx)("span",{className:"text-muted-foreground text-sm leading-relaxed",children:e})]},r))}),x?q&&(0,t.jsx)(w.Button,{onClick:()=>{s.trackEvent("LANDING_PLAN_CTA_CLICKED",{plan:q.planType,interval:"year"===q.interval?"annual":"monthly",source:n}),L(q)},disabled:p||void 0!==f,className:"bg-primary hover:bg-primary/90 text-primary-foreground w-full",children:V(q.priceId)?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(y.default,{className:"h-4 w-4 animate-spin"}),i("loading")]}):X}):q&&(0,t.jsx)(w.Button,{onClick:()=>{s.trackEvent("LANDING_PLAN_CTA_CLICKED",{plan:q.planType,interval:"year"===q.interval?"annual":"monthly",source:n}),L(q)},disabled:p||void 0!==f,className:"bg-primary hover:bg-primary/90 text-primary-foreground w-full",children:V(q.priceId)?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(y.default,{className:"h-4 w-4 animate-spin"}),i("loading")]}):K})]})}):(0,t.jsx)("div",{className:"flex w-full max-w-5xl flex-wrap justify-center gap-8",children:Y.map(e=>{let r=e.offer;return r?(0,t.jsxs)("div",{className:(0,k.cn)("bg-card relative flex w-full flex-col rounded-2xl border p-8 transition-all md:w-80 lg:max-w-sm lg:flex-1",e.elevated?"border-primary/30 shadow-primary/5 shadow-xl":"border-border"),children:[(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)("h4",{className:"text-foreground text-xl font-medium capitalize",children:e.name}),(0,t.jsx)("p",{className:"text-muted-foreground text-sm",children:e.target})]}),(0,t.jsxs)("div",{className:"mb-6 flex items-baseline gap-1",children:[(0,t.jsxs)("span",{className:"text-foreground text-4xl font-medium tracking-tight",children:[(0,P.getCurrencySymbol)(r.priceCurrency||"EUR"),(0,t.jsx)(E,{value:Number(r.price),isAnnual:l})]}),(0,t.jsxs)("span",{className:"text-muted-foreground text-sm",children:["/",l?i("perYear"):i("perMonth")]})]}),l&&e.savings>0&&(0,t.jsx)("div",{className:"bg-primary/10 text-primary mb-6 inline-flex w-fit items-center rounded-full px-3 py-1 text-xs font-medium",children:i("saveBadge",{amount:e.savings.toFixed(0)})}),(0,t.jsx)("ul",{className:"mb-8 flex-1 space-y-4",children:r.features.map((e,r)=>(0,t.jsxs)("li",{className:"flex items-start gap-3",children:[(0,t.jsx)(v.Check,{className:"text-primary mt-0.5 h-5 w-5 shrink-0"}),(0,t.jsx)("span",{className:"text-muted-foreground text-sm leading-relaxed",children:e})]},r))}),(0,t.jsx)(w.Button,{onClick:()=>{s.trackEvent("LANDING_PLAN_CTA_CLICKED",{plan:r.planType,interval:l?"annual"
9:"monthly",source:n}),L(r)},disabled:p||void 0!==f,className:(0,k.cn)("w-full",e.elevated?"bg-primary hover:bg-primary/90 text-primary-foreground":"bg-muted hover:bg-muted/80 text-foreground"),children:V(r.priceId)?(0,t.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,t.jsx)(y.default,{className:"h-4 w-4 animate-spin"}),i("loading")]}):e.buttonText})]},r.planType):null})})]})}],908366)}]);
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.