1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`39a90ee50529071c06a2b35e448ee7a4d9a7e3d8`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`159f1d79-185d-4ed1-bd84-d9c8ec04aa43`,e._sentryDebugIdIdentifier=`sentry-dbid-159f1d79-185d-4ed1-bd84-d9c8ec04aa43`)}catch{}})();import{r as e}from"./rolldown-runtime-C9YNbkg1.js";import{c as t,n,p as r,u as i}from"./react-B2A6uw6M.js";import{n as a}from"./dist-CWM8cDLb.js";import{r as o}from"./primitives-BKzqT5Z5.js";import{t as s}from"./TickerMark-Blg5vAw3.js";var c=e(r(),1),l=i(),u=1024;function d(){return typeof window>`u`||typeof window.matchMedia!=`function`?!1:window.innerWidth<u}function f(){let[e,t]=(0,c.useState)(d);return(0,c.useEffect)(()=>{if(typeof window>`u`||typeof window.matchMedia!=`function`)return;let e=window.matchMedia(`(max-width: ${u-1}px)`),n=()=>t(window.innerWidth<u);return e.addEventListener(`change`,n),n(),()=>e.removeEventListener(`change`,n)},[]),e}function p({children:e,disabled:t=!1,body:n,backLink:r,action:i}){let a=f();return t||!a?(0,l.jsx)(l.Fragment,{children:e}):(0,l.jsx)(g,{body:n,backLink:r,action:i})}var m=`The live draft HUD packs a lot of information â the experience is much better at 1024px+. Your draft state is saved, so you can finish from a desktop.`,h={to:`/setup`,label:`Back to setup`};function g({body:e=m,backLink:r=h,action:i}){let u=typeof window<`u`&&typeof window.history.state?.idx==`number`&&window.history.state.idx>0,d=t(),f=typeof window<`u`?window.location.href:``,p=(0,c.useCallback)(async()=>{try{await navigator.clipboard.writeText(f),a.success(`Link copied â open it on your laptop`)}catch{a.error(`Couldn't copy â long-press the URL bar instead`)}},[f]),g=`mailto:?subject=Continue%20on%20desktop&body=${encodeURIComponent(`Open this on your computer: `+f)}`;return(0,l.jsx)(`div`,{style:{minHeight:`100vh`,display:`grid`,placeItems:`center`,background:`var(--paper)`,color:`var(--ink)`,padding:24,fontFamily:`var(--f-display)`},children:(0,l.jsxs)(`div`,{style:{maxWidth:420,textAlign:`center`},children:[(0,l.jsx)(s,{size:48,light:`var(--ink)`,mid:`var(--ink-soft)`,accent:`var(--st-target-paper)`,decorative:!0}),(0,l.jsx)(`div`,{style:{fontSize:11,letterSpacing:`0.18em`,color:`var(--ink-soft)`,marginBottom:12,marginTop:16,fontFamily:`var(--f-mono)`},children:`DESKTOP REQUIRED`}),(0,l.jsx)(`h1`,{style:{fontSize:24,margin:`0 0 12px`},children:`TickerTape works best on a larger screen.`}),(0,l.jsx)(`p`,{style:{color:`var(--ink-soft)`,fontSize:14,lineHeight:1.6,marginBottom:i?12:20},children:e}),i&&(0,l.jsx)(n,{to:i.to,style:{display:`inline-block`,marginBottom:20,fontSize:14,fontWeight:600,color:`var(--ink)`,textDecoration:`underline`},children:i.label}),(0,l.jsxs)(`div`,{style:{display:`flex`,gap:8,justifyContent:`center`,flexWrap:`wrap`,marginBottom:16},children:[(0,l.jsx)(o,{kind:`primary`,onClick:p,children:`Copy this link`}),(0,l.jsx)(o,{asChild:!0,children:(0,l.jsx)(`a`,{href:g,children:`Email me this link`})})]}),(0,l.jsx)(`div`,{children:u?(0,l.jsx)(`button`,{type:`button`,onClick:()=>d(-1),style:{display:`inline-block`,color:`var(--ink-soft)`,fontSize:13,textDecoration:`underline`,background:`none`,border:`none`,padding:0,cursor:`pointer`,font:`inherit`},children:`â Go back`}):(0,l.jsx)(n,{to:r.to,style:{display:`inline-block`,color:`var(--ink-soft)`,fontSize:13,textDecoration:`underline`},children:r.label})})]})})}export{f as n,p as t};
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.