1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,818581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(271645);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=s(e,n)),t&&(a.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},284508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},522016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return b},useLinkStatus:function(){return w}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(190809),l=e.r(843476),i=s._(e.r(271645)),c=e.r(195057),o=e.r(8372),d=e.r(818581),u=e.r(718967),h=e.r(405550);e.r(233525);let p=e.r(388540),f=e.r(769688),m=e.r(573668),g=e.r(509396);function b(t){var r,n;let a,s,b,[w,y]=(0,i.useOptimistic)(f.IDLE_LINK_STATUS),k=(0,i.useRef)(null),{href:j,as:v,children:N,prefetch:C=null,passHref:S,replace:F,shallow:M,scroll:$,onClick:R,onMouseEnter:E,onTouchStart:P,legacyBehavior:_=!1,onNavigate:T,transitionTypes:L,ref:A,unstable_dynamicOnHover:O,...I}=t;a=N,_&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let U=i.default.useContext(o.AppRouterContext),B=!1!==C,D=!1!==C?null===(n=C)||"auto"===n?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,G="string"==typeof(r=v||j)?r:(0,c.formatUrl)(r);if(_){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=i.default.Children.only(a)}let K=_?s&&"object"==typeof s&&s.ref:A,H=i.default.useCallback(e=>(null!==U&&(k.current=(0,f.mountLinkInstance)(e,G,U,D,B,y)),()=>{k.current&&((0,f.unmountLinkForCurrentNavigation)(k.current),k.current=null),(0,f.unmountPrefetchableInstance)(e)}),[B,G,U,D,y]),q={ref:(0,d.useMergedRef)(H,K),onClick(t){_||"function"!=typeof R||R(t),_&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!U||t.defaultPrevented||function(t,r,n,a,s,l,c){if("u">typeof window){let o,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((o=t.currentTarget.getAttribute("target"))&&"_self"!==o||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,m.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(699781);i.default.startTransition(()=>{u(r,a?"replace":"push",!1===s?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,c)})}}(t,G,k,F,$,T,L)},onMouseEnter(e){_||"function"!=typeof E||E(e),_&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),U&&B&&(0,f.onNavigationIntent)(e.currentTarget,!0===O)},onTouchStart:function(e){_||"function"!=typeof P||P(e),_&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),U&&B&&(0,f.onNavigationIntent)(e.currentTarget,!0===O)}};return(0,u.isAbsoluteUrl)(G)?q.href=G:_&&!S&&("a"!==s.type||"href"in s.props)||(q.href=(0,h.addBasePath)(G)),b=_?i.default.cloneElement(s,q):(0,l.jsx)("a",{...I,...q,children:a}),(0,l.jsx)(x.Provider,{value:w,children:b})}e.r(284508);let x=(0,i.createContext)(f.IDLE_LINK_STATUS),w=()=>(0,i.useContext)(x);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},103327,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(271645),a=e.i(174080);e.s(["NavMenu",0,function({items:e,active:s}){let[l,i]=(0,n.useState)(null),c=null!==l,o=(0,n.useRef)(null),d=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if(!c)return;d.current?.querySelector("a")?.focus();let e=e=>{"Escape"===e.key&&(i(null),o.current?.focus())},t=()=>i(null);return document.addEventListener("keydown",e),window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t),()=>{document.removeEventListener("keydown",e),window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[c]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{ref:o,type:"button",className:"cnw-nav-burger","aria-expanded":c,"aria-controls":"cnw-nav-sheet","aria-label":c?"Close menu":"Menu",onClick:function(){if(c)return void i(null);let e=o.current?.closest(".cnw-nav"),t=e?.getBoundingClientRect();i(t?{top:t.bottom+8,left:t.left,width:t.width}:{top:72,left:16,width:window.innerWidth-32})},children:c?(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M6 6l12 12M18 6L6 18"})}):(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M4 7h16M4 12h16M4 17h16"})})}),c&&l&&(0,a.createPortal)((0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"cnw-nav-scrim","aria-hidden":"true",onClick:()=>i(null)}),(0,t.jsx)("div",{id:"cnw-nav-sheet",ref:d,className:"cnw-nav-sheet",style:{top:l.top,left:l.left,width:l.width},children:e.map(e=>(0,t.jsx)(r.default,{href:e.href,className:"cnw-nav-sheet-link","data-group":e.group,"aria-current":s===e.key?"page":void 0,onClick:()=>i(null),children:e.label},e.key))})]}),document.body)]})}])},879148,e=>{"use strict";var t=e.i(843476),r=e.i(522016),n=e.i(271645);let a=[{key:"library",label:"Library",href:"/library",guestHref:"/free",group:"product"},{key:"ai-stock-research",label:"AI stock research",href:"/ai-stock-research",group:"product"},{key:"methodology",label:"Methodology",href:"/methodology",group:"product"},{key:"about",label:"About",href:"/about",group:"company"},{key:"pricing",label:"Pricing",href:"/pricing",group:"company",guestOnly:!0},{key:"contact",label:"Contact",href:"/contact",group:"company"},{key:"referrals",label:"Referrals",href:"/referrals",authOnly:!0,group:"company"}];function s(e){return a.filter(t=>e?!t.guestOnly:!t.authOnly).map(({key:t,label:r,href:n,guestHref:a,group:s})=>({key:t,label:r,group:s,href:e?n:a??n}))}let l=s(!1);var i=e.i(103327);function c(e){return e.split(";").some(e=>{let t=e.indexOf("=");if(t<0)return!1;let r=e.slice(0,t).trim(),n=e.slice(t+1).trim();return r.startsWith("__client_uat")&&Number(n)>0})}let o=()=>()=>{};e.s(["PublicNavLinks",0,function({active:e}){let a=(0,n.useSyncExternalStore)(o,()=>c(document.cookie),()=>!1),d=a?s(!0):l;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"cnw-nav-menu",children:d.map(n=>(0,t.jsx)(r.default,{href:n.href,className:"cnw-nav-link","data-group":n.group,"aria-current":e===n.key?"page":void 0,children:n.label},n.key))}),(0,t.jsx)("span",{className:"cnw-nav-links",children:(0,t.jsx)(r.default,{href:"/library",className:"cnw-nav-signin",children:a?"Your library":"Sign in"})}),(0,t.jsx)(i.NavMenu,{items:d,active:e})]})},"hasClerkSessionHint",0,c],879148)},165704,e=>{"use strict";let t=[{credits:1,cents:2500,label:"Single"},{credits:5,cents:7500,label:"Research pack"},{credits:20,cents:24e3,label:"Power",modalOnly:!0}],r=t.filter(e=>!e.modalOnly);function n(e,t){return t&&1===e.credits?1500:e.cents}let a={starter:{key:"starter",label:"Starter",priceCents:3900,monthlyCredits:3},analyst:{key:"analyst",label:"Analyst",priceCents:9900,monthlyCredits:10}},s=Object.keys(a),l=a.analyst.priceCents-a.starter.priceCents,i=a.analyst.monthlyCredits-a.starter.monthlyCredits;e.s(["DEFAULT_SUBSCRIPTION_PLAN",0,"starter","HOMEPAGE_PACKS",0,r,"PACKS",0,t,"REFERRAL_REFERRER_CREDITS",0,2,"SUBSCRIPTION_PLANS",0,a,"SUBSCRIPTION_PLAN_KEYS",0,s,"SUB_UPGRADE_CREDITS",0,i,"SUB_UPGRADE_PRICE_CENTS",0,l,"formatBps",0,function(e){let t=e/100;return`${t.toFixed(2*!Number.isInteger(t))}%`},"formatCents",0,function(e){return`$${(e/100).toFixed(2*(e%100!=0))}`},"packByCredits",0,function(e){return t.find(t=>t.credits===e)},"pctOffPerReport",0,function(e){let r=t[0].cents;return Math.round((1-e.cents/e.credits/r)*100)},"perReportCents",0,function(e,t){return Math.round(n(e,t)/e.credits)},"planPerReportCents",0,function(e){return Math.round(e.priceCents/e.monthlyCredits)},"priceCents",0,n,"subscriptionPlanByKey",0,function(e){return"starter"===e||"analyst"===e?a[e]:null}])},361305,e=>{"use strict";var t=e.i(843476),r=e.i(271645);let n=new Map;
1e.s(["TickerCombobox",0,function({value:e,onChange:a,inputClassName:s,wrapClassName:l,placeholder:i,maxLength:c=8,autoFocus:o=!1,disabled:d=!1,name:u,"aria-label":h="Stock ticker",localItems:p}){let f=(0,r.useId)(),[m,g]=(0,r.useState)({q:"",items:[]}),[b,x]=(0,r.useState)(-1),[w,y]=(0,r.useState)(!1),[k,j]=(0,r.useState)(!1),v=e.trim().toUpperCase(),N=null!=p,C=p&&v.length>0?function(e,t,r=8){let n=[],a=[],s=[],l=t.length>=2;for(let r of e)r.ticker===t?n.push(r):r.ticker.startsWith(t)?a.push(r):l&&function(e,t){let r=0;for(;;){let n=e.indexOf(t,r);if(n<0)return!1;if(0===n||!/[A-Z0-9]/.test(e[n-1]))return!0;r=n+1}}(r.name.toUpperCase(),t)&&s.push(r);return[...n,...a,...s].slice(0,r)}(p,v):m.items,S=w&&!k&&v.length>0&&(N||m.q===v)&&C.length>0,[F,M]=(0,r.useState)(v);function $(e){a(e.ticker),j(!0),x(-1)}return v!==F&&(M(v),x(-1)),(0,r.useEffect)(()=>{if(N||!w||0===v.length)return;let e=new AbortController,t=setTimeout(async()=>{let t=n.get(v);if(t){g({q:v,items:t}),x(-1);return}try{let t=await fetch(`/api/tickers?q=${encodeURIComponent(v)}`,{signal:e.signal});if(!t.ok)return;let r=await t.json();n.set(v,r.suggestions),g({q:v,items:r.suggestions}),x(-1)}catch{}},150*!n.has(v));return()=>{clearTimeout(t),e.abort()}},[v,w,N]),(0,t.jsxs)("span",{className:`cnw-tsug ${l??""}`,children:[(0,t.jsx)("input",{name:u,value:e,onChange:e=>{y(!0),j(!1),a(e.target.value)},onFocus:()=>y(!0),onBlur:()=>{y(!1),x(-1)},onKeyDown:function(e){S&&("ArrowDown"===e.key?(e.preventDefault(),x(e=>(e+1)%C.length)):"ArrowUp"===e.key?(e.preventDefault(),x(e=>e<=0?C.length-1:e-1)):"Enter"===e.key&&b>=0&&C[b]?(e.preventDefault(),$(C[b])):"Escape"===e.key&&(j(!0),x(-1)))},placeholder:i,maxLength:c,autoFocus:o,disabled:d,"aria-label":h,role:"combobox","aria-expanded":S,"aria-controls":f,"aria-activedescendant":S&&b>=0?`${f}-${b}`:void 0,"aria-autocomplete":"list",autoComplete:"off",autoCorrect:"off",autoCapitalize:"characters",spellCheck:!1,className:s}),S&&(0,t.jsx)("ul",{className:"cnw-tsug-list",role:"listbox",id:f,children:C.map((e,r)=>(0,t.jsxs)("li",{id:`${f}-${r}`,role:"option","aria-selected":r===b,className:"cnw-tsug-opt",onMouseDown:t=>{t.preventDefault(),$(e)},onMouseEnter:()=>x(r),children:[(0,t.jsx)("b",{className:"cnw-tsug-tk",children:e.ticker}),(0,t.jsx)("span",{className:"cnw-tsug-nm",children:e.name})]},e.ticker))})]})}])},489415,e=>{"use strict";let t=(e,t,r)=>
1Math.max(t,Math.min(r,e)),r=(e,t,r)=>e+(t-e)*r;function n({risk:e,reward:a}){let s=t(e,0,1),l=t(a,0,1);return{L:r(.55,.84,l),C:r(.045,.165,l),H:r(150,25,s)}}e.s(["describeFingerprint",0,function({risk:e,reward:t}){return`${e<.34?"Low risk":e<.67?"Moderate risk":"High risk"} \xb7 ${t<.34?"thin reward":t<.67?"fair reward":"strong reward"}`},"encodeGradient",0,function(e){let{L:a,C:s,H:l}=n(e),i=`oklch(${(a-.06).toFixed(3)} ${(.9*s).toFixed(3)} ${t(l-18,15,160).toFixed(1)})`,c=`oklch(${a.toFixed(3)} ${s.toFixed(3)} ${l.toFixed(1)})`,o=`oklch(${t(a+.07,0,.92).toFixed(3)} ${(1.05*s).toFixed(3)} ${r(l,95,.5).toFixed(1)})`;return`linear-gradient(135deg in oklch, ${i}, ${c} 48%, ${o})`},"encodeGradientFallback",0,function(e){let{L:a,C:s,H:l}=n(e),i=`oklch(${(a-.06).toFixed(3)} ${(.9*s).toFixed(3)} ${t(l-18,15,160).toFixed(1)})`,c=`oklch(${a.toFixed(3)} ${s.toFixed(3)} ${l.toFixed(1)})`,o=`oklch(${t(a+.07,0,.92).toFixed(3)} ${(1.05*s).toFixed(3)} ${r(l,95,.5).toFixed(1)})`;return`linear-gradient(135deg, ${i}, ${c} 48%, ${o})`}])},181271,20331,e=>{"use strict";var t=e.i(843476),r=e.i(489415);function n(e){let t=Math.max(0,Math.min(1,e));
1return t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055}function a(e){return e.replace(/oklch\(\s*([\d.]+)\s+([\d.]+)\s+([\d.]+)\s*\)/g,(e,t,r,a)=>{var s,l;let i,c,o,d,u,h,p,f,m,g;return s=Number(t),l=Number(r),c=l*Math.cos(i=Number(a)*Math.PI/180),d=Math.pow(s+.3963377774*c+.2158037573*(o=l*Math.sin(i)),3),p=n(4.0767416621*d-3.3077115913*(u=Math.pow(s-.1055613458*c-.0638541728*o,3))+.2309699292*(h=Math.pow(s-.0894841775*c-1.291485548*o,3))),f=n(-1.2684380046*d+2.6097574011*u-.3413193965*h),m=n(-.0041960863*d-.7034186147*u+1.707614701*h),g=e=>Math.round(255*e).toString(16).padStart(2,"0"),`#${g(p)}${g(f)}${g(m)}`})}e.s(["oklchCssToHex",0,a],20331),e.s(["Fingerprint",0,function({risk:e,reward:n,size:s=64,radius:l,className:i,readTooltip:c}){let o=l??Math.round(.12*s),d={risk:e,reward:n},u=(0,r.describeFingerprint)(d),h={width:s,height:s,borderRadius:o,position:"relative",boxShadow:"inset 0 0 0 1px rgba(255,255,255,.12), 0 1px 3px rgba(23,40,35,.12)",background:(0,r.encodeGradientFallback)(d),backgroundImage:(0,r.encodeGradient)(d),"--cnw-fp-print":a((0,r.encodeGradientFallback)(d))};return(0,t.jsx)("div",{role:"img","aria-label":u,title:c?void 0:u,"data-read":c?u:void 0,className:i?`cnw-fp ${i}`:"cnw-fp",style:h,children:(0,t.jsx)("span",{"aria-hidden":!0,style:{position:"absolute",inset:0,borderRadius:o,background:"radial-gradient(circle at 28% 22%, rgba(255,255,255,.34), transparent 60%)",pointerEvents:"none"}})})}],181271)},133794,508292,e=>{"use strict";var t=e.i(843476),r=e.i(489415),n=e.i(20331);let a=[{at:"top-left",label:"The dream",sub:"low risk · high reward"},{at:"top-right",label:"Priced to move",sub:"high risk · high reward"},{at:"bottom-left",label:"Calm but quiet",sub:"low risk · low reward"},{at:"bottom-right",label:"Handle with care",sub:"high risk · low reward"}];function s({reward:e,cols:a,density:l,highlightCol:i=null}){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"fpk-rowh",children:e.toFixed("reference"===l?2:1)}),a.map((a,s)=>{let l={risk:a,reward:e};return(0,t.jsx)("span",{className:s===i?"cnw-fp fpk-cube lo-hl":"cnw-fp fpk-cube","data-read":(0,r.describeFingerprint)(l),style:{background:(0,r.encodeGradientFallback)(l),backgroundImage:(0,r.encodeGradient)(l),"--cnw-fp-print":(0,n.oklchCssToHex)((0,r.encodeGradientFallback)(l))},children:(0,t.jsx)("span",{className:"fpk-glow","aria-hidden":!0})},`${a}-${e}`)})]})}function l(e){return Math.min(1,Math.abs(e)/50)}e.s(["FingerprintKey",0,function({density:e="key",annotations:r=!0,className:n,highlight:l}){let i="reference"===e?7:5,c=Array.from({length:i},(e,t)=>(i-1-t)/(i-1)),o=Array.from({length:i},(e,t)=>t/(i-1));return(0,t.jsxs)("figure",{className:n,"data-density":e,children:[(0,t.jsxs)("div",{className:"fpk-grid",role:"img","aria-label":"Fingerprint key: color encodes risk by hue (green safe to red risky) and reward by brightness.",style:{"--n":i},children:[(0,t.jsx)("span",{className:"fpk-corner","aria-hidden":!0}),o.map(r=>(0,t.jsx)("span",{className:"fpk-colh",children:r.toFixed("reference"===e?2:1)},`c${r}`)),c.map((r,n)=>(0,t.jsx)(s,{reward:r,cols:o,density:e,highlightCol:l&&l.row===n?l.col:null},`r${r}`))]}),(0,t.jsxs)("div",{className:"fpk-axes","aria-hidden":!0,children:[(0,t.jsx)("span",{className:"fpk-axis-x",children:"Risk â"}),(0,t.jsx)("span",{className:"fpk-axis-y",children:"Reward â"})]}),r&&(0,t.jsx)("figcaption",{className:"fpk-legend",children:a.map(e=>(0,t.jsxs)("span",{className:"fpk-leg",children:[(0,t.jsx)("b",{children:e.label})," â ",e.sub]},e.at))})]})}],133794),e.s(["FINGERPRINT_PENDING_CSS",0,"linear-gradient(135deg in oklch, #e8e5da, #dbd7c8)","fingerprintScores",0,function(e,t){return null!=e&&null!=t&&Number.isFinite(e)&&Number.isFinite(t)?{risk:l(e),reward:l(t)}:null}],508292)},756919,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),a=e.i(618566),s=e.i(181271),l=e.i(133794),i=e.i(361305),c=e.i(165704),o=e.i(508292);let d=/^[A-Z][A-Z.\-]{0,7}$/,u={BUY:"cnw-chip--buy",HOLD:"cnw-chip--hold",SELL:"cnw-chip--sell"};function h({filled:e}){return(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),(0,t.jsx)("path",{d:"M13.7 21a2 2 0 0 1-3.4 0"})]})}function p(){let e=(0,c.packByCredits)(1),r=(0,c.packByCredits)(5);return(0,t.jsxs)("aside",{className:"cnw-side",style:{order:2},children:[(0,t.jsxs)("div",{className:"cnw-scard",children:[(0,t.jsx)("span",{className:"cnw-klabel",children:"Credits"}),(0,t.jsxs)("div",{className:"cnw-balance",children:[(0,t.jsx)("span",{className:"cnw-bignum tnum",children:"0"}),(0,t.jsxs)("span",{className:"cnw-biglabel",children:["Monsaics",(0,t.jsx)("br",{}),"remaining"]})]}),(0,t.jsx)("p",{className:"cnw-fine",children:"One credit unlocks one full Monsaic â both voices, saved to your library forever. Credits never expire."}),e&&(0,t.jsxs)("div",{className:"cnw-krow",children:[(0,t.jsx)("span",{children:"Your first Monsaic"}),(0,t.jsx)("b",{className:"tnum",children:(0,c.formatCents)((0,c.priceCents)(e,!0))})]}),e&&(0,t.jsxs)("div",{className:"cnw-krow",children:[(0,t.jsx)("span",{children:"Single"}),(0,t.jsx)("b",{className:"tnum",children:(0,c.formatCents)((0,c.priceCents)(e,!1))})]}),r&&(0,t.jsxs)("div",{className:"cnw-krow",children:[(0,t.jsxs)("span",{children:[r.credits," credits"]}),(0,t.jsx)("b",{className:"tnum",children:(0,c.formatCents)((0,c.priceCents)(r,!1))})]}),(0,t.jsxs)("div",{className:"cnw-krow",children:[(0,t.jsx)("span",{children:"Monthly from"}),(0,t.jsxs)("b",{className:"tnum",children:[(0,c.formatCents)(c.SUBSCRIPTION_PLANS.starter.priceCents),"/mo"]})]}),(0,t.jsx)(n.default,{href:"/pricing",className:"cnw-cta cnw-cta--block mt-3.5",children:"Get credits"})]}),(0,t.jsxs)("div",{className:"cnw-scard",children:[(0,t.jsx)("span",{className:"cnw-klabel",children:"How to read a fingerprint"}),(0,t.jsx)(l.FingerprintKey,{density:"key",className:"mt-3"})]}),(0,t.jsx)("p",{className:"cnw-sidefoot",children:"Monsaics stay in your library. Both voices, export to PDF anytime."})]})}function f(){let e=(0,a.useRouter)(),[n,s]=(0,r.useState)("");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("form",{className:"cnw-composer",onSubmit:function(t){t.preventDefault(),d.test(n)&&e.push(`/library?generate=${encodeURIComponent(n)}`)},children:[(0,t.jsx)(i.TickerCombobox,{inputClassName:"cnw-tickfield",wrapClassName:"cnw-tsug--grow",value:n,onChange:e=>s(e.toUpperCase().replace(/[^A-Z.\-]/g,"").slice(0,8)),placeholder:"Type a ticker â e.g. PYPL",maxLength:8,"aria-label":"Ticker symbol"}),(0,t.jsx)("button",{type:"submit",className:"cnw-cta cnw-composer-go",disabled:!d.test(n),children:"Generate Monsaic"})]}),(0,t.jsx)("p",{className:"cnw-fine cnw-composer-note",children:"Full Monsaic in ~5 minutes · every claim validated against its sources. Generating uses an account; reading the library below never does."})]})}e.s(["FreeLibrary",0,function({rows:e,composer:a=!1}){let[l,i]=(0,r.useState)("all"),[c,d]=(0,r.useState)(new Set),[m,g]=(0,r.useState)(""),b=(0,r.useMemo)(()=>{let t=m.trim().toUpperCase(),r=e;return"alerts"===l&&(r=r.filter(e=>c.has(e.ticker))),t&&(r=r.filter(e=>e.ticker.startsWith(t)||e.company.toUpperCase().includes(t))),r},[e,l,c,m]),x="alerts"===l?`${b.length} alert${1===b.length?"":"s"}`:`${b.length} Monsaic${1===b.length?"":"s"}`,w=(0,t.jsxs)("div",{className:"cnw-btabs",role:"tablist","aria-label":"Library filters",style:{margin:"16px 0 12px"},children:[(0,t.jsx)("button",{type:"button",role:"tab",className:"cnw-btab","aria-selected":"all"===l,onClick:()=>i("all"),children:"All"}),(0,t.jsxs)("button",{type:"button",role:"tab",className:"cnw-btab","aria-selected":"alerts"===l,onClick:()=>i("alerts"),children:["Alerts (",c.size,")"]})]}),y=(0,t.jsxs)("div",{className:"flex min-w-0 flex-col",style:a?{order:1}:void 0,children:[(0,t.jsxs)("div",{className:"cnw-paper cnw-paper--elevated",children:[(0,t.jsxs)("div",{className:"cnw-ph",children:[(0,t.jsx)("input",{className:"cnw-filterfield cnw-filterfield--wide",value:m,onChange:e=>g(e.target.value),placeholder:"Filter by ticker or company","aria-label":"Filter library"}),(0,t.jsx)("span",{className:"cnw-cnt tnum",children:x})]}),(0,t.jsxs)("div",{className:"cnw-lghead cnw-lghead--bell cnw-lhead","aria-hidden":"true",children:[(0,t.jsx)("span",{"aria-hidden":"true"}),(0,t.jsxs)("div",{className:"cnw-lhead-cells",children:[(0,t.jsx)("span",{className:"cnw-lhead-co",children:"Fingerprint · Company"}),(0,t.jsx)("span",{className:"cnw-lrating",children:"Rating"}),(0,t.jsx)("span",{className:"cnw-ldt","data-hide-sm":!0,children:"Updated"})]}),(0,t.jsx)("span",{className:"cnw-lhead-bell",children:"Add Alert"})]}),0===b.length&&"alerts"===l&&(0,t.jsx)("p",{className:"cnw-alertsempty",children:"No alerts yet â tap a bell on any row to watch that ticker."}),b.map(e=>(0,t.jsx)("div",{className:"cnw-lgroup",children:(0,t.jsxs)("div",{className:"cnw-lghead cnw-lghead--bell",children:[(0,t.jsx)("span",{className:"cnw-lexp-slot","aria-hidden":"true"}),(0,t.jsxs)(n.default,{href:e.href,className:"cnw-lrow",children:[e.scores?(0,t.jsx)(s.Fingerprint,{...e.scores,size:38,className:"cnw-lpip",readTooltip:!0}):(0,t.jsx)("span",{className:"cnw-fingerprint cnw-lpip cnw-lpip--pending",style:{background:o.FINGERPRINT_PENDING_CSS},"aria-hidden":"true"}),(0,t.jsxs)("span",{className:"cnw-lco",children:[(0,t.jsx)("span",{className:"cnw-ltk",children:e.ticker}),(0,t.jsx)("span",{className:"cnw-lnm",children:e.company})]}),(0,t.jsx)("span",{className:"cnw-lrating",children:(0,t.jsx)("span",{className:`cnw-chip ${u[e.rating]??"cnw-chip--muted"}`,children:e.rating})}),(0,t.jsx)("span",{className:"cnw-ldt","data-hide-sm":!0,children:e.date??"â"})]}),(0,t.jsx)("button",{type:"button",className:`cnw-lbell${c.has(e.ticker)?" cnw-lbell--on":""}`,"aria-pressed":c.has(e.ticker),"aria-label":`Toggle alert for ${e.ticker}`,onClick:()=>{var t;return t=e.ticker,void d(e=>{let r=new Set(e);return r.has(t)?r.delete(t):r.add(t),r})},children:(0,t.jsx)(h,{filled:c.has(e.ticker)})})]})}
1,e.ticker))]}),(0,t.jsx)("p",{className:"cnw-fine",style:{marginTop:12},children:"These Monsaics are free examples, open in full â generate your first and your own library takes their place."})]});return a?(0,t.jsxs)("div",{children:[(0,t.jsx)(f,{}),w,(0,t.jsxs)("div",{className:"cnw-grid",children:[y,(0,t.jsx)(p,{})]})]}):y}])}]);
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.