1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[11822,23436,29918],{1524:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},5917:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},6191:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},6613:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]])},7125:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},9358:(e,t,n)=>{n.d(t,{IO:()=>o,Rh:()=>i,bK:()=>l});var r=n(12115);function l(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/academy",r="".concat(n,"/").concat(encodeURIComponent(e));return{href(e){switch(e.to){case"twin":if(!t)return null;return"".concat(r,"/players/").concat(encodeURIComponent(t),"?tab=twin").concat(e.lens?"&lens=".concat(e.lens):"");case"reports":if(t)return"".concat(r,"/players/").concat(encodeURIComponent(t),"?tab=matches");return"".concat(r,"/reports");case"report":return"".concat(r,"/report/").concat(encodeURIComponent(e.id));case"matchup":return"".concat(r,"/scout");default:return null}}}}let a=(0,r.createContext)({href(e){switch(e.to){case"twin":return e.lens?"/twin?lens=".concat(e.lens):"/twin";case"reports":return"/matches";case"report":return"/report/".concat(encodeURIComponent(e.id));case"matchup":return"/matchup/".concat(encodeURIComponent(e.opponent));case"train":return e.zone?"/train?zone=".concat(e.zone):"/train";case"subscription":return"/you/subscription";case"settings":return"/you/settings";default:return null}}}),i=a.Provider;function o(){let e=(0,r.useContext)(a);return t=>e.href(t)}},21786:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]])},23436:(e,t,n)=>{n.d(t,{Ir:()=>y,Ru:()=>h,TN:()=>x,Z1:()=>b,Zk:()=>m,eN:()=>p,n$:()=>g,pp:()=>v,t5:()=>f});var r=n(95155),l=n(52619),a=n.n(l),i=n(52987),o=n(7125),s=n(1524),c=n(26921),u=n(25016),d=n(9358);function p(e){let{children:t,className:n}=e;return(0,r.jsx)("h2",{className:(0,u.cn)("text-[11px] font-bold uppercase tracking-[0.14em] text-muted-foreground",n),children:t})}function m(e){let{label:t,action:n,hint:l,children:a,className:i}=e;return(0,r.jsxs)("section",{className:(0,u.cn)("core-panel rounded-2xl border border-border/60 bg-card p-4 sm:p-5",i),children:[(t||n)&&(0,r.jsxs)("header",{className:"mb-1 flex items-baseline justify-between gap-3",children:[t?(0,r.jsx)(p,{children:t}):(0,r.jsx)("span",{}),n&&(0,r.jsx)(f,{...n})]}),l&&(0,r.jsx)("p",{className:"mb-4 max-w-prose break-words text-[11px] leading-relaxed text-muted-foreground",children:l}),!l&&(t||n)&&(0,r.jsx)("div",{className:"mb-3"}),a]})}function f(e){let{label:t,href:n,dest:l,onClick:o,className:s}=e,c=(0,d.IO)(),p=l?c(l):n;
1if(l&&!p&&!o)return null;n=null!=p?p:void 0;let m=(0,u.cn)("inline-flex items-center gap-1 text-xs font-semibold text-foreground/70 transition-colors hover:text-foreground",s),f=(0,r.jsxs)(r.Fragment,{children:[t,(0,r.jsx)(i.A,{className:"h-3.5 w-3.5"})]});return n?(0,r.jsx)(a(),{href:n,className:m,children:f}):(0,r.jsx)("button",{type:"button",onClick:o,className:m,children:f})}function h(e){let{value:t,suffix:n="",className:l}=e,a=t>0,i=0===t,d=i?o.A:a?s.A:c.A;return(0,r.jsxs)("span",{className:(0,u.cn)("inline-flex items-center gap-1 text-xs font-semibold tabular-nums",i?"text-muted-foreground":a?"text-level-strong":"text-level-weak",l),children:[(0,r.jsx)(d,{className:"h-3 w-3"}),a?"+":"",t,n]})}function y(e){let{level:t,className:n}=e;return(0,r.jsx)("span",{className:(0,u.cn)("inline-block h-1.5 w-1.5 shrink-0 rounded-full",{strong:"bg-level-strong",solid:"bg-level-solid",watch:"bg-level-watch",weak:"bg-level-weak"}[t],n)})}function g(e){var t;let{insight:n,className:l}=e,a=null!=(t=n.tone)?t:"neutral";return(0,r.jsxs)("article",{className:(0,u.cn)("core-panel rounded-2xl border border-border/60 bg-card p-4 sm:p-5","bad"===a&&"border-l-2 border-l-level-weak","good"===a&&"border-l-2 border-l-level-strong",l),children:[(0,r.jsx)(p,{children:n.kicker}),(0,r.jsx)("h3",{className:"mt-2.5 text-lg font-semibold leading-snug tracking-tight text-foreground",children:n.headline}),n.detail&&(0,r.jsx)("p",{className:"mt-1.5 text-sm leading-relaxed text-muted-foreground",children:n.detail}),n.evidence&&n.evidence.length>0&&(0,r.jsx)("dl",{className:"mt-3.5 flex flex-wrap gap-x-6 gap-y-2",children:n.evidence.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("dt",{className:"text-[10px] font-medium uppercase tracking-wider text-muted-foreground",children:e.label}),(0,r.jsx)("dd",{className:"text-sm font-semibold tabular-nums text-foreground",children:e.value})]},e.label))}),n.action&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(f,{...n.action})})]})}function v(e){let{title:t,body:n,action:l,className:a}=e;return(0,r.jsxs)("div",{className:(0,u.cn)("rounded-2xl border border-dashed border-border/70 bg-card/40 p-6 text-center",a),children:[(0,r.jsx)("h3",{className:"text-sm font-semibold text-foreground",children:t}),(0,r.jsx)("p",{className:"mx-auto mt-1.5 max-w-sm text-xs leading-relaxed text-muted-foreground",children:n}),l&&(0,r.jsx)("div",{className:"mt-4 flex justify-center",children:(0,r.jsx)(f,{...l})})]})}function b(e){let{className:t}=e;return(0,r.jsx)("div",{className:(0,u.cn)("animate-pulse rounded-2xl bg-muted/60",t)})}function x(e){let{className:t}=e;return(0,r.jsxs)("span",{className:(0,u.cn)("inline-flex items-center gap-1.5 rounded-md bg-muted/60 px-2 py-0.5 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",t),children:[(0,r.jsx)("span",{className:"h-1.5 w-1.5 animate-pulse rounded-full bg-foreground
1/50"}),"Updating"]})}},25016:(e,t,n)=>{n.d(t,{cn:()=>a});var r=n(2821),l=n(75889);function a(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,l.QP)((0,r.$)(t))}},26921:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},30814:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]])},32467:(e,t,n)=>{n.d(t,{DX:()=>d,TL:()=>u});var r,l=n(12115),a=n(94446),i=n(95155),o=Symbol.for("react.lazy"),s=(r||(r=n.t(l,2)))[" use ".trim().toString()];function c(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function u(e){let t=function(e){let t=l.forwardRef((e,t)=>{let{children:n,...r}=e;if(c(n)&&"function"==typeof s&&(n=s(n._payload)),l.isValidElement(n)){var i;let e,o,s=(i=n,(o=(e=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.ref:(o=(e=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?i.props.ref:i.props.ref||i.ref),c=function(e,t){let n={...t};for(let r in t){let l=e[r],a=t[r];/^on[A-Z]/.test(r)?l&&a?n[r]=(...e)=>{let t=a(...e);return l(...e),t}:l&&(n[r]=l):"style"===r?n[r]={...l,...a}:"className"===r&&(n[r]=[l,a].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props);return n.type!==l.Fragment&&(c.ref=t?(0,a.t)(t,s):s),l.cloneElement(n,c)}return l.Children.count(n)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}(e),n=l.forwardRef((e,n)=>{let{children:r,...a}=e;c(r)&&"function"==typeof s&&(r=s(r._payload));let o=l.Children.toArray(r),u=o.find(m);if(u){let e=u.props.children,r=o.map(t=>t!==u?t:l.Children.count(e)>1?l.Children.only(null):l.isValidElement(e)?e.props.children:null);return(0,i.jsx)(t,{...a,ref:n,children:l.isValidElement(e)?l.cloneElement(e,void 0,r):null})}return(0,i.jsx)(t,{...a,ref:n,children:r})});return n.displayName=`${e}.Slot`,n}var d=u("Slot"),p=Symbol("radix.slottable");function m(e){return l.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===p}},37397:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Swords",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]])},45791:(e,t,n)=>{n.d(t,{SportProvider:()=>p,Uw:()=>f,ft:()=>y,oU:()=>m});var r=n(95155),l=n(12115),a=n(33885),i=n(19708),o=n(87978),s=n(3619),c=n(83745);let u=c.dH,d=(0,l.createContext)(null);function p(e){let{children:t}=e,[n,p]=(0,l.useState)(c.$1),[m,f]=(0,l.useState)(!1),[h,y]=(0,l.useState)(!1),[g,v]=(0,l.useState)([]);(0,l.useEffect)(()=>{let e=!1,t=(0,a.hg)(o.auth,async t=>{if(!t){e||v([]);return}try{var n;let r=await (0,i.getDoc)((0,i.doc)(s.db,"users",t.uid)),l=r.exists()?r.data():{},a=(0,c.Jj)({...l,email:null!=(n=null==l?void 0:l.email)?n:t.email});e||v(a)}catch(n){e||v((0,c.Jj)({email:t.email}))}});return()=>{e=!0,t()}},[]),(0,l.useEffect)(()=>{(0,c.Vy)(n)},[n]),(0,l.useEffect)(()=>{if((0,c.pf)())return;let e=(0,c.HU)(n),t=document.documentElement;t.style.setProperty("--sport-from",e.accent.from),t.style.setProperty("--sport-to",e.accent.to),t.style.setProperty("--sport-solid",e.accent.solid),t.style.setProperty("--sport-gradient","linear-gradient(135deg, ".concat(e.accent.from,", ").concat(e.accent.to,")")),t.setAttribute("data-sport",n),document.querySelectorAll('link[rel~="icon"]').forEach(e=>{e.href="/icon-".concat(n,"-512.png")}),document.querySelectorAll('link[rel="apple-touch-icon"]').forEach(e
1=>{e.href="/apple-icon-".concat(n,".png")})},[n]),(0,l.useEffect)(()=>{try{let e=window.localStorage.getItem(u);(0,c.kT)(e)?((0,c.Vy)(e),p(e)):y(!0)}catch(e){}finally{f(!0)}},[]);let b=(0,l.useCallback)(e=>g.includes(e),[g]),[x,k]=(0,l.useState)(0),A=(0,l.useCallback)(e=>{(0,c.Vy)(e),p(t=>(t!==e&&o.auth.currentUser&&k(e=>e+1),e)),y(!1);try{window.localStorage.setItem(u,e)}catch(e){}},[]);(0,l.useEffect)(()=>{!m||!g.length||g.includes(n)||A(g.includes(c.$1)?c.$1:g[0])},[m,g,n,A]);let S=(0,l.useMemo)(()=>({sport:(0,c.HU)(n),sportId:n,setSport:A,hydrated:m,isFirstVisit:h,allowedSports:g,canAccess:b}),[n,A,m,h,g,b]);return(0,r.jsx)(d.Provider,{value:S,children:(0,r.jsx)(l.Fragment,{children:t},x)})}function m(){let e=(0,l.useContext)(d);if(!e)throw Error("useSport must be used inside <SportProvider>");return e}function f(){return(0,l.useContext)(d)}function h(e){if("undefined"==typeof document)return;let t=(0,c.HU)(e),n=document.documentElement;n.style.setProperty("--sport-from",t.accent.from),n.style.setProperty("--sport-to",t.accent.to),n.style.setProperty("--sport-solid",t.accent.solid),n.style.setProperty("--sport-gradient","linear-gradient(135deg, ".concat(t.accent.from,", ").concat(t.accent.to,")")),n.setAttribute("data-sport",e),document.querySelectorAll('link[rel~="icon"]').forEach(t=>{t.href="/icon-".concat(e,"-512.png")}),document.querySelectorAll('link[rel="apple-touch-icon"]').forEach(t=>{t.href="/apple-icon-".concat(e,".png")})}function y(e){let{sportId:t,children:n}=e,a=(0,l.useContext)(d),i=(0,l.useRef)(!1);i.current||((0,c.o3)(t),i.current=!0),(0,l.useEffect)(()=>((0,c.o3)(t),h(t),()=>{(0,c.o3)(null);let e=null==a?void 0:a.sportId;e&&((0,c.Vy)(e),h(e))}),[t,null==a?void 0:a.sportId]);let o=(0,l.useMemo)(()=>({sport:(0,c.HU)(t),sportId:t,setSport:()=>{},hydrated:!0,isFirstVisit:!1,allowedSports:[t],canAccess:e=>e===t}),[t]);return(0,r.jsx)(d.Provider,{value:o,children:n})}},52987:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},56154:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},63365:(e,t,n)=>{n.d(t,{R:()=>m});var r=n(12115),l=n(34801),a=n(19708),i=n(3619),o=n(87978),s=n(99947),c=n(85015);function u(e){if(!e||"none"===e)return{hasRealTime:!1,hasScout:!1,uploadMinutesLimit:0};let t="payg"===e?"basic_monthly":"".concat(e,"_monthly"),n=l.NB[t]?(0,l.NP)(t):l.NB.basic_monthly;return{hasRealTime:n.features.liveAnalysis,hasScout:!0,uploadMinutesLimit:n.unlimited?9999:n.minutes}}function d(e){if(!e)return 0;let t=s.q.get("available_minutes_".concat(e));return null!=t?t:0}function p(e,t){s.q.set("available_minutes_".concat(e),t,s.N.ONE_HOUR)}function m(){var e;let t=d(null==(e=o.auth.currentUser)?void 0:e.uid),[n,s]=(0,r.useState)({isActive:!1,isLoading:!0,error:null,capabilities:(0,l.eq)("none"),planTier:"none",hasRealTime:!1,hasScout:!1,uploadMinutesLimit:0,availableMinutes:t,usedMinutes:0,isPaused:!1,hasActiveAccess:t>0,pauseResumeDate:null,cancelAtPeriodEnd:!1,subscriptionData:t>0?{availableMinutes:t}:null});(0,r.useEffect)(()=>{let e=null,t=null,n=n=>{if(t===n.uid)return;e&&(e(),e=null),t=n.uid,s(e=>({...e,isLoading:!0,error:null}));let r=(0,a.doc)(i.db,"users",n.uid);e=(0,a.onSnapshot)(r,e=>{if(t!==n.uid)return;if(!e.exists())return void s({isActive:!1,isLoading:!1,error:"User profile not found",capabilities:(0,l.eq)("none"),planTier:"none",hasRealTime:!1,hasScout:!1,uploadMinutesLimit:0,availableMinutes:0,usedMinutes:0,isPaused:!1,hasActiveAccess:!1,pauseResumeDate:null,cancelAtPeriodEnd:!1,subscriptionData:null});let r=e.data();if((0,l.hZ)(r)){p(n.uid,9999),s({isActive:!0,isLoading:!1,error:null,capabilities:(0,l.eq)("pro"),planTier:"pro",hasRealTime:!0,hasScout:!0,uploadMinutesLimit:9999,availableMinutes:9999,usedMinutes:0,isPaused:!1,hasActiveAccess:!0,pauseResumeDate:null,cancelAtPeriodEnd:!1,subscriptionData:{subscriptionStatus:"active",selectedPlan:"unlimited",paymentStatus:"paid",billingCycle:"lifetime",availableCredits:9999,availableMinutes:9999,usedMinutes:0}});return}((e,t)=>{var n,r,a,i;
1if((0,l.hZ)(t)){p(e.uid,9999),s({isActive:!0,isLoading:!1,error:null,capabilities:(0,l.eq)("pro"),planTier:"pro",hasRealTime:!0,hasScout:!0,uploadMinutesLimit:9999,availableMinutes:9999,usedMinutes:0,isPaused:!1,hasActiveAccess:!0,pauseResumeDate:null,cancelAtPeriodEnd:!1,subscriptionData:{subscriptionStatus:"active",selectedPlan:"unlimited",paymentStatus:"paid",billingCycle:"lifetime",availableCredits:9999,availableMinutes:9999,usedMinutes:0}});return}let o=(null==t||null==(n=t.accountKinds)?void 0:n.academy)===!0||Array.isArray(null==t?void 0:t.academyIds)&&t.academyIds.length>0,c="active"===t.subscriptionStatus||o,d="active"===t.subscriptionStatus?function(e,t){let n=(0,l.V1)(e,t);return n?(0,l.LO)(n).tier:"none"}(t.selectedPlan,t.billingCycle):"none",m=u(d),f=null!=(a=null!=(r=t.availableMinutes)?r:t.availableCredits)?a:0,h=null!=(i=t.usedMinutes)?i:0;p(e.uid,f);let y=!!t.pausedAt,g=t.pausedAccessExpiresAt?new Date(t.pausedAccessExpiresAt):null,v=!!y&&!!g&&Date.now()>g.getTime(),b=c&&!v;s({isActive:c,isLoading:!1,error:null,capabilities:(0,l.eq)(b?t.selectedPlan:"basic",t.billingCycle),planTier:b?d:"none",hasRealTime:!!b&&m.hasRealTime,hasScout:!!b&&m.hasScout,uploadMinutesLimit:b?m.uploadMinutesLimit:0,availableMinutes:f,usedMinutes:h,isPaused:y,hasActiveAccess:b,pauseResumeDate:t.pauseResumeDate||null,cancelAtPeriodEnd:t.cancelAtPeriodEnd||!1,subscriptionData:{subscriptionStatus:t.subscriptionStatus,selectedPlan:t.selectedPlan,paymentStatus:t.paymentStatus,billingCycle:t.billingCycle,availableCredits:t.availableCredits,availableMinutes:f,usedMinutes:h}})})(n,r)},e=>{console.error("useSubscription onSnapshot error:",e),s(t=>({...t,isLoading:!1,error:e.message}))})};o.auth.currentUser&&n(o.auth.currentUser);let r=o.auth.onAuthStateChanged(r=>{if(!(null==r?void 0:r.uid)){e&&(e(),e=null),t=null;let n=d(void 0);s({isActive:!1,isLoading:!1,error:null,capabilities:(0,l.eq)("none"),planTier:"none",hasRealTime:!1,hasScout:!1,uploadMinutesLimit:0,availableMinutes:n,usedMinutes:0,isPaused:!1,hasActiveAccess:!1,pauseResumeDate:null,cancelAtPeriodEnd:!1,subscriptionData:n>0?{availableMinutes:n}:null});return}n(r)});return()=>{r(),e&&e()}},[]);let{loaded:m}=(0,c.w)();if(m&&n.hasActiveAccess&&"none"!==n.planTier&&9999!==n.uploadMinutesLimit){let e=u(n.planTier).uploadMinutesLimit;if(e!==n.uploadMinutesLimit)return{...n,uploadMinutesLimit:e}}return n}},65229:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},76907:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},83101:(e,t,n)=>{n.d(t,{F:()=>i});var r=n(2821);let l=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=r.$,i=(e,t)=>n=>{var r;if((null==t?void 0:t.variants)==null)return a(e,null==n?void 0:n.class,null==n?void 0:n.className);let{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(e=>{let t=null==n?void 0:n[e],r=null==o?void 0:o[e];if(null===t)return null;let a=l(t)||l(r);return i[e][a]}),c=n&&Object.entries(n).reduce((e,t)=>{let[n,r]=t;return void 0===r||(e[n]=r),e},{});return a(e,s,null==t||null==(r=t.compoundVariants)?void 0:r.reduce((e,t)=>{let{class:n,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,n]=e;return Array.isArray(n)?n.includes({...o,...c}[t]):({...o,...c})[t]===n})?[...e,n,r]:e},[]),null==n?void 0:n.class,null==n?void 0:n.className)}},85015:(e,t,n)=>{n.d(t,{w:()=>i});var r=n(12115),l=n(34801);let a=null;function i(){let[e,t]=(0,r.useState)(()=>null!=(0,l.ZT)());return(0,r.useEffect)(()=>{if(e)return;let n=!1;return(!a&&(a=fetch("/api/pricing").then(e=>e.ok?e.json():null).then(e=>{let t=function(e){if(!Array.isArray(null==e?void 0:e.tiers))return null;let t={},n={};for(let o of e.tiers){var r,l,a,i;let e=null==o?void 0:o.tier;if("basic"!==e&&"starter"!==e&&"pro"!==e)continue;let s=Number(null==(r=o.monthly)?void 0:r.listUsd),c=Number(null==(l=o.yearly)?void 0:l.listUsd),u=Number(o.minutes),d=Number(o.rolloverCap);[s,c,u,d].every(Number.isFinite)&&(t[e]={monthlyPriceUsd:s,yearlyPriceUsd:o.monthlyOnly?0:c,minutes:u,rolloverCap:d,unlimited:!0===o.unlimited},(null==(a=o.stripe)?void 0:a.monthlyPriceId)&&(n[o.stripe.monthlyPriceId]="".concat(e,"_monthly")),(null==(i=o.stripe)?void 0:i.yearlyPriceId)&&(n[o.stripe.yearlyPriceId]="".concat(e,"_yearly")))}return Object.keys(t).length?{plans:t,priceIds:n}:null}(e);return t&&(0,l.zQ)(t),t}).catch(()=>(a=null,null))),a).then(()=>{n||t(!0)}),()=>{n=!0}},[e]),{plan:e=>(0,l.NP)(e),loaded:e}}},86651:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},91169:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},94446:(e,t,n)=>{n.d(t,{s:()=>i,t:()=>a});var r=n(12115);function l(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let n=!1,r=e.map(e=>{let r=l(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():l(e[t],null)}}}}function i(...e){return r.useCallback(a(...e),e)}},97003:(e,t,n)=>{n.d(t,{$:()=>c});var r=n(95155),l=n(12115),a=n(32467),i=n(83101),o=n(25016);let s=(0,i.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),c=l.forwardRef((e,t)=>
1{let{className:n,variant:l,size:i,asChild:c=!1,...u}=e,d=c?a.DX:"button";return(0,r.jsx)(d,{className:(0,o.cn)(s({variant:l,size:i,className:n})),ref:t,...u})});c.displayName="Button"},99708:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(71847).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},99947:(e,t,n)=>{n.d(t,{N:()=>u,q:()=>c});let r="core_".concat("v4","_");function l(){try{return localStorage.setItem("__test__","1"),localStorage.removeItem("__test__"),!0}catch(e){return!1}}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(l())try{let t=Date.now(),n=[];for(let l=localStorage.length-1;l>=0;l--){let a=localStorage.key(l);if(a){if(a.startsWith("core_")&&!a.startsWith(r)){localStorage.removeItem(a);continue}if(a.startsWith(r))try{let r=localStorage.getItem(a);if(!r)continue;let l=JSON.parse(r);if(e.force||t-l.ts>l.ttl){localStorage.removeItem(a);continue}n.push({key:a,ts:l.ts})}catch(e){localStorage.removeItem(a)}}}n.length>80&&(n.sort((e,t)=>e.ts-t.ts),n.slice(0,n.length-80).forEach(e=>localStorage.removeItem(e.key)))}catch(e){}}let i=["cumulative-stats-","graph-analysis-","ai-response-","ai-assessment_","ai-report-","film-room-explanations","coaching-insights-","core-dominance-","movement-heatmap-","audience-","report-audience-"],o="core_cache_version",s=!1,c={get(e){if(s||(s=!0,setTimeout(()=>{!function(){if(l())try{if("v4"===localStorage.getItem(o))return;for(let e=localStorage.length-1;e>=0;e--){let t=localStorage.key(e);t&&i.some(e=>t.startsWith(e))&&localStorage.removeItem(t)}localStorage.setItem(o,"v4")}catch(e){}}(),a()},1500)),!l())return null;try{let t=localStorage.getItem(r+e);if(!t)return null;let n=JSON.parse(t);if(Date.now()-n.ts>n.ttl)return localStorage.removeItem(r+e),null;return n.data}catch(e){return null}},set(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:864e5;if(!l())return;let i={data:t,ts:Date.now(),ttl:n};try{localStorage.setItem(r+e,JSON.stringify(i))}catch(t){a({force:!1});try{localStorage.setItem(r+e,JSON.stringify(i))}catch(e){}}},remove(e){if(l())try{localStorage.removeItem(r+e)}catch(e){}},clearAll(){if(l())try{for(let e=localStorage.length-1;e>=0;e--){let t=localStorage.key(e);t&&t.startsWith("core_")&&localStorage.removeItem(t)}s=!1}catch(e){}},count(){if(!l())return 0;let e=0;try{for(let t=0;t<localStorage.length;t++){let n=localStorage.key(t);n&&n.startsWith(r)&&e++}}catch(e){}return e}},u={FIVE_MIN:3e5,ONE_HOUR:36e5,SIX_HOURS:216e5,ONE_DAY:864e5,THREE_DAYS:2592e5}}}]);
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.