1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,992183,e=>{"use strict";var t=e.i(853741);function n(e={}){let{threshold:r=0,triggerOnce:a=!0,rootMargin:s="0px"}=e,i=(0,t.useRef)(null),[o,l]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=i.current;if(!e||o&&a)return;let t=new IntersectionObserver(([e])=>{e?.isIntersecting?(l(!0),a&&t.disconnect()):a||l(!1)},{threshold:r,rootMargin:s});return t.observe(e),()=>t.disconnect()},[r,a,s,o]),[i,o]}e.s(["useInView",()=>n])},584086,529710,229258,e=>{"use strict";var t=e.i(898516),n=e.i(29744),r=e.i(814055);let a={USD:"$",EUR:"â¬",GBP:"£"};function s(e,t="USD"){let n=(e/100).toFixed(2),r=a[t]||"$";return`${r}${n}`}function i({title:e,description:n,seconds:a,priceCents:i,currency:o="USD",ctaText:l,onSelect:c,customCta:d,hideButton:x=!1,isLoading:m=!1,disabled:u=!1,context:p="settings",variant:h="plan",isCurrentPlan:f=!1,hasAccentStyling:g=!1,badge:b,timeContext:v="of video analysis",priceContext:_="",valueProp:y,footerText:j}){let w=(0,r.formatDurationHumanReadable)(a),N=s(i,o),$=` 2 relative rounded-lg border transition-all 3 grid grid-rows-[auto_auto_auto_minmax(2.5rem,auto)_auto] gap-4 4 p-6 5 ${f?"border-accent bg-accent/5":g?"border-accent/50 bg-gradient-to-br from-accent/10 to-accent/5 shadow-lg hover:shadow-xl hover:border-accent":"topup"===h?"border-border bg-bg-1 hover:border-accent/50 hover:shadow-md":"border-border hover:border-accent/50"} 6 `.trim(),C=` 7 btn-primary rounded-lg w-full min-h-[44px] 8 ${f?"!bg-bg-2 !text-text-3 cursor-not-allowed":""} 9 ${m||u?"opacity-50 cursor-wait":""} 10 `.trim();return(0,t.jsxs)("div",{className:$,children:[b&&!f&&(0,t.jsx)("div",{className:"absolute -top-3 left-1/2 -translate-x-1/2 z-10",children:(0,t.jsxs)("span",{className:"inline-flex items-center gap-1.5 bg-gradient-to-r from-accent/20 to-accent/10 border border-accent/30 px-3 py-1 rounded-full text-xs font-medium text-accent shadow-sm backdrop-blur-sm",children:[(0,t.jsx)("svg",{className:"h-3 w-3",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{d:"M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z"})}),b]})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h3",{className:"text-lg font-semibold text-text-1",children:e}),(0,t.jsx)("p",{className:"text-sm text-text-3 mt-1 line-clamp-2",children:n})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"text-3xl font-bold text-text-1 tabular-nums",children:w}),(0,t.jsx)("div",{className:"text-xs text-text-3 mt-1",children:v})]}),(0,t.jsx)("div",{children:(0,t.jsxs)("div",{className:"flex items-baseline gap-2",children:[(0,t.jsx)("span",{className:"text-2xl font-bold text-text-1 tabular-nums",children:N}),_&&(0,t.jsx)("span",{className:"text-sm text-text-3",children:_})]})}),(0,t.jsx)("div",{className:"flex items-start min-h-[2.5rem]",children:y&&(0,t.jsx)("p",{className:"text-xs text-text-3 leading-relaxed",children:y})}),!x&&(0,t.jsxs)("div",{children:[d?(0,t.jsx)("div",{children:d}):(0,t.jsx)("button",{onClick:c,disabled:u||f||m,className:C,children:m?"Loading...":l}),j&&(0,t.jsx)("p",{className:"mt-3 text-xs text-center text-text-3",children:j})]})]})}e.s(["formatPrice",()=>s],529710),e.s(["default",()=>i],229258);let o={free:"Free",smart:"Smart",pro:"Pro",max:"Max"};var l=e.i(712580),c=e.i(992183);function d({plans:e,currentPlanCode:a,context:s,onPlanSelect:d,isLoading:x=!1}){let m=(0,l.useAnalytics)(),u="landing"===s,[p,h]=(0,c.useInView)({triggerOnce:!0}),f=[...e].sort((e,t)=>e.price_cents-t.price_cents).filter(e=>"free"!==e.plan_code||!a||"free"===a),g=` 11 grid gap-6 transition-all duration-500 12 ${u?"grid-cols-1 sm:grid-cols-2 lg:grid-cols-4":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"} 13 ${u&&h?"opacity-100":u?"opacity-0":""} 14 `.trim();return(0,t.jsx)("div",{ref:u?p:void 0,className:g,children:f.map((e,l)=>{var c,p;let f,g=a===e.plan_code,b="pro"===e.plan_code?"Most Popular":void 0,v="pro"===e.plan_code,_=a?function(e,t){if(e===t)return"Current Plan";if("free"===e)return"Continue with Free";let n=o[e]||e;return`Upgrade to ${n}`}(e.plan_code,a):void 0,y=(e=>{let r="free"!==e.plan_code,a=r?"/settings?tab=plans":"/new";if(u){let s=r?`Get Started with ${e.name}`:"Get Started Free",i=` 15 w-full px-4 py-3 rounded-lg text-sm font-semibold transition min-h-[44px] btn-scale-hover 16 ${r?"btn-primary":"btn-secondary"} 17 `.trim(),o="/new"===a?"/sign-up":`/sign-up?redirect=${encodeURIComponent(a)}`;return(0,t.jsx)(n.default,{href:o,children:(0,t.jsx)("button",{"data-testid":"signup-button",onClick:()=>m.trackEvent("payment_action",{action:"view_plan",plan_code:e.plan_code,plan_name:e.name,plan_price_cents:e.price_cents,context:"landing"}),className:i,children:s})})}})(e);return(0,t.jsx)("div",{className:u?`transition-all duration-500 ${h?"opacity-100 translate-y-0":"opacity-0 translate-y-2"}`:"",style:u&&h?{transitionDelay:`${100*l}
17ms`}:void 0,children:(0,t.jsx)(i,{title:e.name,description:(c=e.plan_code,p=e.monthly_seconds,f=(0,r.formatDurationHumanReadable)(p),"free"===c?`Get started with ${f} of video analysis`:`Unlock ${f} of video analysis per month`),seconds:e.monthly_seconds,priceCents:e.price_cents,currency:e.currency,ctaText:_,onSelect:u||!d||g?void 0:()=>d(e.plan_code),customCta:y,hideButton:!1,isLoading:x,context:s,variant:"plan",isCurrentPlan:g,hasAccentStyling:v,badge:b,timeContext:"of video analysis per month",priceContext:e.price_cents>0?"/ month":"",valueProp:"free"===e.plan_code?"Perfect for trying out the service":"pro"===e.plan_code?"Analyze longer videos and have more conversations":void 0})},e.plan_code)})})}e.s(["default",()=>d],584086)}]);
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.