PageSourceSearch

https://isready.ai/_next/static/immutable/chunks/19ubkr134g29b.js

js isready.ai collected 2026-10-05 13:59:33 UTC 10,150 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,403704,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(948148);e.i(457455);var a=e.i(924959),r=e.i(821592),l=e.i(554149),i=e.i(678698),o=e.i(308235),c=e.i(222245),d=e.i(151409);let u={NPM:"npm",BUN:"bun",PNPM:"pnpm",YARN:"yarn"},x={npm:"npx",bun:"bunx",pnpm:"pnpm dlx",yarn:"yarn dlx"};function p(e,t){return`${x[e]} isreadyai ${t}`}let m=[{host:"yourdomain.com",score:92,grade:"EXCELLENT",rows:[{label:"Crawler access",score:100},{label:"Rendering",score:96},{label:"Structured data",score:84},{label:"Trust & security",score:100}],findings:[{icon:"▲",text:"structured.author-eeat — no entity-identity signals (E-E-A-T)",fix:"add an Organization with logo and sameAs links"}]}],h=["⠋","⠙","⠹","⠸","⠼","⠴","⠦","⠧","⠇","⠏"],f={"✗":"text-score-poor","▲":"text-score-moderate","✓":"text-score-excellent"};function b(e,t,s,n,a=!1){let r={progress:0};return e.to(r,{progress:1,duration:Math.max(s.length/n,.2),ease:"none",onUpdate:()=>{let e=Math.round(r.progress*s.length);t.textContent=a?s.slice(0,s.length-e):s.slice(0,e)}})}e.s(["CliShowcase",0,function(){let e,x=(0,n.useTranslations)("cli"),[j,N]=(0,s.useState)(u.NPM),{copied:y,copy:g}=(0,o.useCopyToClipboard)(),[v,C]=(0,s.useState)(0),[S,E]=(0,s.useState)(m),w=(0,s.useRef)(null),T=(0,s.useRef)(void 0),R=(0,s.useRef)(null),M=(0,s.useRef)(!1),A=S[v%S.length]??m[0],k=i.GRADE_TEXT[(0,a.gradeOf)(A.score)],L=(e=Math.round(A.score/100*40),{filled:"█".repeat(e),rest:"░".repeat(40-e)});return(0,s.useEffect)(()=>{let e=!0;return fetch("/api/showcase").then(e=>e.ok?e.json():null).then(t=>{e&&null!==t&&t.entries.length>0&&E(t.entries)}).catch(()=>void 0),()=>{e=!1}},[]),(0,s.useEffect)(()=>{let e,t,s=w.current;if(null===s||(0,r.prefersReducedMotion)())return;let n=!0;return(0,l.loadGsap)().then(({gsap:a,ScrollTrigger:r})=>{if(!n)return;let l=()=>{let e=s.querySelector("[data-cmd]"),n=s.querySelector("[data-caret]"),r=s.querySelector("[data-spinner]"),l=s.querySelector("[data-spinner-icon]"),i=s.querySelector("[data-spinner-done]"),o=Array.from(s.querySelectorAll("[data-line]")),c=Array.from(s.querySelectorAll("[data-type]")),d=s.querySelector("[data-count]");if(null===e)return;let u=e.textContent??"",x=c.map(e=>e.textContent??"");t?.kill(),clearInterval(T.current),e.textContent="",n?.classList.remove("hidden"),l?.classList.remove("hidden"),i?.classList.add("hidden"),r?.classList.add("hidden"),a.set(o,{opacity:0}),c.forEach(e=>{e.textContent=""});let p=a.timeline();if(t=p,p.add(b(a,e,u,28),.2),p.call(()=>{n?.classList.add("hidden"),r?.classList.remove("hidden");let e=0;T.current=setInterval(()=>{e+=1,null!==l&&(l.textContent=h[e%h.length]??"⠋")},80)}),p.to({},{duration:1.3}),p.call(()=>{clearInterval(T.current),l?.classList.add("hidden"),i?.classList.remove("hidden")}),p.to(o,{opacity:1,duration:.2,stagger:.12,ease:"none"},"+=0.2"),c.forEach((e,t)=>{p.add(b(a,e,x[t]??"",70),0===t?"<+0.25":"<+0.08")}),null!==d){let e=Number(d.getAttribute("data-count")),t={value:0};p.to(t,{value:e,duration:1,ease:"power2.out",onUpdate:()=>{d.textContent=String(Math.round(t.value))}},"<")}p.call(()=>{M.current=!0,C(e=>e+1)},void 0,"+=6")};R.current=l,e=r.create({trigger:s,start:"top 75%",once:!0,onEnter:l})}),()=>{n=!1,R.current=null,clearInterval(T.current),t?.kill(),e?.kill()}},[]),(0,s.useEffect)(()=>{M.current&&(M.current=!1,R.current?.())},[v]),(0,t.jsxs)("div",{ref:w,className:"border-site-border bg-site-background overflow-hidden rounded-2xl border shadow-2xl",children:[(0,t.jsxs)("div",{className:"border-site-border/60 bg-site-surface/60 flex min-w-0 items-center gap-2 border-b px-3 py-3 sm:px-4",children:[(0,t.jsxs)("span",{className:"flex gap-1.5","aria-hidden":"true",children:[(0,t.jsx)("span",{className:"bg-score-poor/80 h-3 w-3 rounded-full"}),(0,t.jsx)("span",{className:"bg-score-moderate/80 h-3 w-3 rounded-full"}),(0,t.jsx)("span",{className:"bg-score-excellent/80 h-3 w-3 rounded-full"})]}),(0,t.jsx)("span",{className:"text-site-faint ml-2 hidden font-mono text-xs sm:inline",children:"isreadyai — terminal"}),(0,t.jsx)(d.SegmentedControl,{value:j,options:Object.values(u).map(e=>({value:e,label:e})),onChange:N,ariaLabel:x("runnerTabs"),className:"ml-auto min-w-0"})]}),(0,t.jsxs)("div",{className:"border-site-border/60 flex min-w-0 items-center gap-3 border-b px-4 py-4 sm:px-5",children:[(0,t.jsxs)("code",{className:"flex-1 truncate font-mono text-sm sm:text-base",children:[(0,t.jsx)("span",{className:"text-site-accent select-none",children:"$ "}),(0,t.jsx)("span",{"data-cmd":!0,className:"text-site-text",children:p(j,A.host)}),(0,t.jsx)("span",{"data-caret":!0,className:"text-site-accent hidden select-none",children:"▍"})]}
1),(0,t.jsx)(c.CopyButton,{copied:null!==y,onCopy:()=>void g(p(j,"yourdomain.com")),copyLabel:x("copy"),copiedLabel:x("copied")})]}),(0,t.jsxs)("div",{className:"h-[21rem] space-y-1 overflow-hidden px-4 py-5 font-mono text-xs leading-relaxed sm:h-[23rem] sm:px-5 sm:text-sm","aria-hidden":"true",children:[(0,t.jsxs)("p",{"data-spinner":!0,className:"hidden",children:[(0,t.jsx)("span",{"data-spinner-icon":!0,className:"text-site-accent",children:"⠋"}),(0,t.jsx)("span",{"data-spinner-done":!0,className:"text-score-excellent hidden",children:"✓"})," ",(0,t.jsxs)("span",{className:"text-site-muted",children:["Scanning ",A.host,"…"]})]}),(0,t.jsxs)("p",{"data-line":!0,children:[(0,t.jsx)("span",{className:"text-site-accent",children:"◆"})," ",(0,t.jsx)("span",{className:"font-bold",children:"isready"}),(0,t.jsx)("span",{className:"text-site-muted",children:".ai"}),(0,t.jsx)("span",{className:"text-site-faint",children:" — AI readiness report"})]}),(0,t.jsxs)("p",{"data-line":!0,className:"text-site-faint",children:["https://",A.host]}),(0,t.jsxs)("p",{"data-line":!0,className:"pt-2",children:[(0,t.jsx)("span",{"data-count":A.score,className:`${k} text-lg font-bold sm:text-xl`,children:A.score}),(0,t.jsx)("span",{className:"text-site-faint",children:"/100 "}),(0,t.jsxs)("span",{className:`${k} font-bold tracking-widest`,children:[" ",A.grade]})]}),(0,t.jsxs)("p",{"data-line":!0,className:k,children:[(0,t.jsx)("span",{"data-type":!0,children:L.filled}),(0,t.jsx)("span",{"data-type":!0,className:"text-site-raised",children:L.rest})]}),(0,t.jsx)("div",{className:"space-y-0.5 pt-2",children:A.rows.map(e=>{let s;return(0,t.jsxs)("p",{"data-line":!0,children:[(0,t.jsx)("span",{"data-type":!0,className:(0,i.textForScore)(e.score),children:(s=Math.round(e.score/10),"▰".repeat(s)+"▱".repeat(10-s))}),(0,t.jsxs)("span",{className:`${(0,i.textForScore)(e.score)} whitespace-pre`,children:[" ",String(e.score).padStart(3)]}),(0,t.jsxs)("span",{className:"text-site-muted",children:[" ",e.label]})]},e.label)})}),A.findings.map(e=>(0,t.jsxs)("span",{children:[(0,t.jsxs)("p",{"data-line":!0,className:"text-site-faint pt-2",children:[(0,t.jsx)("span",{className:f[e.icon],children:e.icon})," ",(0,t.jsx)("span",{className:"sm:inline",children:e.text})]}),void 0!==e.fix?(0,t.jsxs)("p",{"data-line":!0,className:"text-site-faint",children:[" ",(0,t.jsx)("span",{className:"text-site-accent",children:"→"})," ",e.fix]}):null]},e.text))]})]})},"ERunners",0,u,"HeroCommand",0,function(){let e=(0,n.useTranslations)("cli"),{copied:s,copy:a}=(0,o.useCopyToClipboard)();return(0,t.jsxs)("div",{className:"text-site-faint mt-6 flex flex-col items-center gap-2 text-xs sm:flex-row",children:[(0,t.jsx)("span",{children:e("heroOr")}),(0,t.jsxs)("button",{type:"button",onClick:()=>void a(p(u.NPM,"yourdomain.com")),"aria-label":`${p(u.NPM,"yourdomain.com")} — ${e("heroCopy")}`,className:"border-site-border bg-site-surface/70 hover:border-site-accent-dim group flex cursor-pointer items-center gap-2 rounded-lg border px-3 py-1.5 font-mono transition-colors",children:[(0,t.jsx)("span",{className:"text-site-accent select-none",children:"$"}),(0,t.jsx)("span",{className:"text-site-text",children:p(u.NPM,"yourdomain.com")}),(0,t.jsx)("span",{className:null!==s?"text-site-accent":"text-site-faint group-hover:text-site-text",children:null!==s?"✓":"⧉"})]})]})},"ROTATE_PAUSE_S",0,6,"commandFor",0,p,"typeInto",0,b])},431619,e=>{"use strict";var t=e.i(843476),s=e.i(271645),n=e.i(821592),a=e.i(554149),r=e.i(403704);let l="yourdomain.com",i=Object.values(r.ERunners),o=i.map(e=>(0,r.commandFor)(e,l)).toSorted((e,t)=>t.length-e.length)[0];e.s(["FooterCommand",0,function(){let e=(0,s.useRef)(null);return(0,s.useEffect)(()=>{let t,s=e.current;if(null===s||(0,n.prefersReducedMotion)())return;let o=!0;return(0,a.loadGsap)().then(({gsap:e})=>{if(!o)return;let n=e.timeline({repeat:-1});i.forEach((t,a)=>{let o=(0,r.commandFor)(t,l),c=(0,r.commandFor)(i[(a+1)%i.length],l);n.to({},{duration:2.4}),n.add((0,r.typeInto)(e,s,o,60,!0)),n.add((0,r.typeInto)(e,s,c,24))}),t=n}),()=>{o=!1,t?.kill()}},[]),(0,t.jsxs)("code",{className:"bg-site-surface inline-block rounded px-2 py-1 text-left font-mono text-xs",style:{minWidth:`${o.length}ch`},children:[(0,t.jsx)("span",{className:"sr-only",children:(0,r.commandFor)(r.ERunners.NPM,l)}),(0,t.jsxs)("span",{"aria-hidden":"true",children:[(0,t.jsx)("span",{ref:e,children:(0,r.commandFor)(r.ERunners.NPM,l)}),(0,t.jsx)("span",{className:"text-site-accent animate-pulse select-none",children:"▍"})]})]})}])},222245,e=>{"use strict";var t=e.i(843476);e.s(["CopyButton",0,function({copied:e,onCopy:s,copyLabel:n,copiedLabel:a}){return(0,t.jsx)("button",{type:"button",onClick:s,className:`shrink-0 cursor-pointer rounded-lg border px-3 py-1.5 font-mono text-xs transition-colors ${e?"border-site-accent text-site-accent":"border-site-border text-site-muted hover:border-site-accent-dim hover:text-site-text"}`,children:e?a:n})}])},308235,e=>{"use strict";var t=e.i(271645);e.s(["useCopyToClipboard",0,function(e=1800){let[s,n]=(0,t.useState)(null),a=(0,t.useRef)(void 0);return(0,t.useEffect)(()=>()=>{clearTimeout(a.current)},[]),{copied:s,copy:(0,t.useCallback)(async(t,s="default")=>{await navigator.clipboard.writeText(t),n(s),clearTimeout(a.current),a.current=setTimeout(()=>n(null),e)},[e])}}])}]);

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.