1import{bq as m,r,S as p,j as e,bm as c,a as u}from"./index-BZRo-bYt.js";import{R as f}from"./ResponseForm-BfNsQe-9.js";import"./useServerFn-CLUwdsxf.js";import"./form-primitives-ZZ595W3O.js";import"./newsletter-opt-in-CX1xCrYr.js";import"./utils-DU6CvBgJ.js";import"./tslib.es6-eMSY344_.js";import"./createLucideIcon-Dw7kK9El.js";function k(){const t=m.useLoaderData(),[i,n]=r.useState(null),[a,s]=r.useState(!1),l=t.relatedShowSlug?p.find(o=>o.to===`/shows/${t.relatedShowSlug}`)?.name:void 0;function d(){typeof window>"u"||navigator.clipboard.writeText(window.location.href).then(()=>{s(!0),window.setTimeout(()=>s(!1),2e3)})}return e.jsxs("div",{className:"bg-bg",children:[e.jsxs("div",{className:"mx-auto max-w-[720px] px-5 py-14 md:px-10 md:py-24",children:[e.jsx("p",{className:"text-[13px] font-medium tracking-[0.06em] text-text-2",children:"Next move"}),e.jsx("div",{className:"mt-6",children:e.jsx(c,{move:t,relatedLabel:l,relatedHref:t.relatedShowSlug?`/shows/${t.relatedShowSlug}`:void 0,onRespond:t.status==="approved"?(o,x)=>n({move:o,kind:x}):void 0,variant:t.status==="connected"?"connected":"open"})}),e.jsxs("div",{className:"mt-8 flex flex-wrap items-center gap-5",children:[e.jsx("button",{type:"button",onClick:d,className:"tap-target inl
1ine-flex min-h-[44px] items-center rounded-full border border-border px-5 text-[14px] font-medium text-text transition-colors hover:border-text",children:a?"Link copied":"Copy link"}),e.jsx(u,{to:"/next/next-moves",className:"tap-target inline-flex min-h-[44px] items-center text-[14px] text-text-2 underline underline-offset-4 transition-colors hover:text-text",children:"All next moves"})]})]}),e.jsx(f,{target:i,onClose:()=>n(null)})]})}export{k as component};
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.