PageSourceSearch

https://dataskeptic.com/assets/Invite-CvFsNaLD.js

js dataskeptic.com collected 2026-10-01 10:17:08 UTC 53,092 bytes, 1 lines download raw bytes

1import{r as h,j as e}from"./index-DN4Mwqf7.js";const O=new Set;let $=!1,ie=0;function xe(){document.documentElement.classList.contains("dsi-motion")||document.documentElement.classList.add("dsi-motion");const s=window.scrollY,t=window.innerHeight;O.forEach(i=>i(s,t)),ie=requestAnimationFrame(xe)}function fe(){$||($=!0,ie=requestAnimationFrame(xe))}function be(){$=!1,cancelAnimationFrame(ie)}function R(s,t=!0){const i=h.useRef(s);i.current=s,h.useEffect(()=>{if(!t)return;const a=(n,r)=>i.current(n,r);return O.add(a),fe(),()=>{O.delete(a),O.size===0&&be()}},[t])}function W(){const[s,t]=h.useState(()=>typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches);return h.useEffect(()=>{const i=window.matchMedia("(prefers-reduced-motion: reduce)"),a=()=>t(i.matches);return i.addEventListener("change",a),()=>i.removeEventListener("change",a)},[]),s}const I=s=>s<0?0:s>1?1:s;function je(s=!0){const t=h.useRef(null);return R((i,a)=>{const n=t.current;if(!n)return;const r=n.getBoundingClientRect(),o=r.height+a,l=a-r.top,u=I(l/o),c=(r.top+r.height/2-a/2)/(a/2);n.style.setProperty("--p",u.toFixed(4)),n.style.setProperty("--c",Math.max(-2,Math.min(2,c)).toFixed(4))},s),t}function ye(s=!0){const t=h.useRef(null),[i,a]=h.useState(0);return R((n,r)=>{const o=t.current;if(!o)return;const l=o.getBoundingClientRect(),u=l.height+r,c=I((r-l.top)/u);a(m=>Math.abs(m-c)>.002?c:m)},s),[t,i]}function L(s=.25){const t=h.useRef(null),[i,a]=h.useState(!1);return R((n,r)=>{const o=t.current;if(!o||i)return;const l=o.getBoundingClientRect(),u=Math.min(r*.92,l.bottom)-Math.max(0,l.top);u<=0||u>=Math.min(s*l.height,r*.33)&&a(!0)},!i),[t,i]}function ve(s){var t;const[i,a]=h.useState((t=s[0])!=null?t:"");return R((n,r)=>{var o;const l=r*.38;let u=(o=s[0])!=null?o:"";for(const c of s){const m=document.getElementById(c);m&&m.getBoundingClientRect().top<=l&&(u=c)}a(c=>c===u?c:u)}),i}const q={name:"Data Skeptic",years:13,tagline:"A podcast about data science, statistics, machine learning, and artificial intelligence."},ee={owner:"[email protected]",slugs:{preInterview:"",recording:"data-skeptic-interview"}};function ne(s){return s?"/book/".concat(encodeURIComponent(ee.owner),"/").concat(s):""}const S={riverside:"https://riverside.fm",preInterview:ne(ee.slugs.preInterview),recording:ne(ee.slugs.recording),store:"https://dataskeptic.com/store",site:"https://dataskeptic.com",micGuide:"https://dataskeptic.com/CHANGE-ME/recording-guide"},oe={rawExample:"/audio/edit-raw.mp3",cutExample:"/audio/edit-clean.mp3"},Y={logo:"/logo.svg",host:"/kyle.jpg",hostAlt:"Kyle Polich, host of Data Skeptic",hostCaption:"Kyle Polich — host since day one"},z={to:"[email protected]",subject:"Questions about Data Skeptic interview process",intro:"Anything you want to know before you answer? This goes straight to Kyle."},k={episodes:{value:640},downloadsMonthly:{value:118e3,label:"downloads / month"},countries:{value:147,label:"countries reached"},medianListenPct:{value:82,label:"% of a typical episode finished"}},G={roles:[{label:"Data scientist / ML engineer",value:34},{label:"Software engineer",value:21},{label:"Researcher / academic",value:16},{label:"Analyst",value:11},{label:"Founder / exec",value:9},{label:"Student",value:9}],geography:[{label:"United States",value:41},{label:"India",value:9},{label:"United Kingdom",value:7},{label:"Germany",value:6},{label:"Canada",value:5},{label:"Australia",value:4},{label:"Everywhere else",value:28}],seniority:[{label:"10+ years in field",value:38},{label:"5–10 years",value:29},{label:"2–5 years",value:22},{label:"Under 2 years",value:11}]},U={question:"Do you send the questions in advance?",answer:"It's more of a conversation than an interrogation.",body:["No script, no gotchas, and nothing you have to memorize. Kyle reads your work beforehand and comes in curious. If a tangent is more interesting than the plan, we take the tangent.","If there's a specific point you want to land, tell Kyle before we roll and he'll make sure there's a door for it. If there's a topic you'd rather not get into, tell him that too. Both are normal requests."]},M={platform:{name:"Riverside.fm",body:"We record on Riverside. It runs in your browser, records your audio locally at full quality, and uploads in the background, so a shaky connection makes the call sound bad but never the recording.",requirements:[{label:"Browser",detail:"Chrome or Edge, current version. Not Safari, not Firefox."}
1,{label:"Connection",detail:"Wired if you have it. Wi-Fi is fine, hotspots are not."},{label:"Permissions",detail:"Allow mic access when the browser asks. Nothing to install."},{label:"Quiet apps",detail:"Quit Slack, email, and anything that dings."},{label:"Power",detail:"Plugged in. Laptops throttle audio on low battery."}]},setup:{body:"You do not need a studio. You need a small, soft, boring room. Here is the whole setup.",callouts:[{title:"Mic close",text:"Four to eight inches from your mouth. Any USB or XLR mic beats a laptop."},{title:"Wired headphones",text:"So Kyle's voice never leaks into your mic. Bluetooth earbuds drop you to phone quality."},{title:"Plugged in",text:"Laptops throttle audio on low battery, and it always happens at minute forty."},{title:"Wired if you can",text:"Ethernet beats Wi-Fi, Wi-Fi beats a hotspot. A hotspot is the one to avoid."},{title:"Soft room",text:"A rug, curtains, a bed, a closet. Anything that stops sound bouncing off bare walls."},{title:"Door shut",text:"Quit Slack and email. Silence the phone. Warn whoever else is home."},{title:"Water, off the desk",text:"Room temperature, within reach, and somewhere it cannot get knocked into the mic."}],testOffer:"Optional: leave us a 30-second test recording and we'll listen and tell you exactly what to change. Most people need one small fix, and it's much easier to find now than on recording day."},kyleWillAsk:["if there is anything you want to plug, and when in the episode you want it mentioned","if there is a subject you would rather stay away from","how to pronounce your name, before we start rolling"]},E={clean:{title:"A clean edit, not a rebuild",body:"We cut the false starts, the long silences, and the run of ums that pile up when you're thinking. What you meant to say survives. What you actually said gets tidied."},content:{title:"The occasional content edit",body:"Sometimes Kyle asks a bad question. Sometimes a great answer arrives twenty minutes before the question that sets it up. When that happens we move things, and we do it so the seams don't show. This is uncommon, but it is not rare."},notes:{title:"Your notes go to the editor",body:"At the end of every recording Kyle asks whether you have notes for the editor. Flubbed a name, misquoted a paper, want a thirty-second stretch gone? Say so on the recording and it gets handled. You don't have to be diplomatic about it."}},Ne=[{kicker:"Notice",title:"We'll tell you before it's live",body:"Producing a podcast is more hectic than it looks from outside. Sometimes the heads-up is only 24 hours. We're actively working on making that window bigger, and we'll always give you what we have."},{kicker:"Promotion",title:"We promote it, and you can amplify",body:"The episode goes out to the feed, the newsletter, and our social accounts. If you want to share it, we'll send you the link, the pull quotes, and an audiogram you can post without making anything yourself."},{kicker:"Thanks",title:"A code for something from the store",body:"Every guest gets a code for a free item from the Data Skeptic store. It is a small thank-you and a decent mug."}],ae=[{id:"not-interested",label:"Just not interested"},{id:"too-busy",label:"Too busy right now"},{id:"better",label:"I'm better than this podcast"},{id:"not-my-topic",label:"Not my area"},{id:"other",label:"Something else"}],we={"too-busy":46,"not-interested":17,"not-my-topic":14,other:9,better:3},P={preInterview:{title:"A 15-minute pre-interview",body:"Not recorded, and not required. It's a chance to talk through what we'd cover, check that the angle is right, and get your mic sorted before it matters."},session:{title:"The recording",minutes:60,body:"We book 60 minutes. There's no hard limit on episode length, but we aim to come in under an hour — that's where the good conversations tend to land anyway."},overseasPrompt:"Nothing on the calendar works? Time zones are the usual culprit. Tell us roughly when you're free and we'll find something."},ke=[{title:"You do not need to prepare",body:"Seriously. The people who over-prepare tend to sound like they're reading a kidnapper's pre-written statement. Come as the person who knows this material, not the person who studied it last night."},{title:"Bring one thing you changed your mind about",body:"It's the single most reliable source of a great segment. A result that surprised you, an approach you abandoned, a belief the data took away from you."}
1,{title:"Have a number or two handy",body:"If your work has a headline figure — a benchmark, a sample size, a speedup — have it where you can see it. Listeners remember specifics."},{title:"Assume a smart listener who is not in your subfield",body:"Our audience can follow a technical argument. They just may not know your notation. Define the jargon once and then use it freely."},{title:"Water, not coffee",body:"Room temperature, within reach, and off the desk so it never gets bumped into the mic."}];async function F(s){const t={...s,at:new Date().toISOString(),page:typeof window<"u"?window.location.href:""};return console.log("[invite] no VITE_API_URL set — would submit:",t),{ok:!0,delivered:"console"}}const ge=h.createContext(null);function Se({children:s}){const[t,i]=h.useState("asking"),[a,n]=h.useState(null),[r,o]=h.useState(""),[l,u]=h.useState(null),c=h.useCallback(()=>{var b;(b=document.getElementById("ask"))==null||b.scrollIntoView({behavior:"smooth",block:"start"})},[]),m=h.useCallback(()=>{i("scheduling"),F({kind:"accept"}),requestAnimationFrame(c)},[c]),d=h.useCallback(()=>{i("declining"),requestAnimationFrame(c)},[c]),p=h.useCallback((b,j="")=>{n(b),o(j),i("polled"),F({kind:"decline",reason:b,note:j||void 0})},[]),g=h.useCallback(()=>{F({kind:"reconsider",previousReason:a??"unknown"}),n(null),o(""),i("asking"),requestAnimationFrame(c)},[a,c]),x=h.useCallback((b,j)=>{u(b),F({kind:"schedule",wantsPreInterview:j,scheduled:b})},[]),f=h.useCallback(()=>i("booked"),[]),N=h.useCallback(b=>{F({kind:"timezone-help",note:b})},[]),_=h.useMemo(()=>({stage:t,reason:a,note:r,booked:l,accept:m,decline:d,chooseReason:p,reconsider:g,markBooked:x,confirmBooked:f,sendTimezoneNote:N,goToAsk:c}),[t,a,r,l,m,d,p,g,x,f,N,c]);return e.jsx(ge.Provider,{value:_,children:s})}function T(){const s=h.useContext(ge);if(!s)throw new Error("useRsvp must be used inside <RsvpProvider>");return s}function Q(s,t){let i=s;const a=()=>(i=(i*1664525+1013904223)%4294967296,i/4294967296);return Array.from({length:t},()=>({x:a()*100,y:a()*100,r:.6+a()*1.5}))}function Me(){const s=W(),t=h.useRef(null),i=h.useMemo(()=>[{pts:Q(11,90),speed:.06,fill:"var(--line)",op:.5},{pts:Q(29,55),speed:.16,fill:"var(--probe)",op:.16},{pts:Q(97,22),speed:.32,fill:"var(--signal)",op:.16}],[]);return R(a=>{var n;(n=t.current)==null||n.style.setProperty("--y",String(a))},!s),e.jsxs("div",{ref:t,className:"dsi-backdrop","aria-hidden":"true",children:[i.map((a,n)=>e.jsx("svg",{className:"dsi-backdrop__layer",style:{"--speed":a.speed,opacity:a.op},viewBox:"0 0 100 100",preserveAspectRatio:"none",focusable:"false",children:a.pts.map((r,o)=>e.jsx("circle",{cx:r.x,cy:r.y,r:r.r/14,fill:a.fill},o))}
1,n)),e.jsx("div",{className:"dsi-backdrop__vignette"})]})}function Re(s){let t=s>>>0;return()=>{t|=0,t=t+1831565813|0;let i=Math.imul(t^t>>>15,1|t);return i=i+Math.imul(i^i>>>7,61|i)^i,((i^i>>>14)>>>0)/4294967296}}function K(s,t=7,i=1){const a=Re(t),n=[];let r=0,o=0,l=.6;for(let u=0;u<s;u++){r>=o&&(r=0,o=6+Math.floor(a()*22),l=a()<.16?.12+a()*.12:.45+a()*.55);const c=Math.sin(r/o*Math.PI)*.75+.25,m=.55+a()*.45;n.push(Math.max(.08,Math.min(1,l*c*m*i))),r++}return n}function Ce(s,t,i,a=.35){const n=t/s.length,r=i/2,o=n*(1-a);return s.map((l,u)=>{const c=u*n+(n-o)/2,m=Math.max(1,l*(i-2)),d=r-m/2,p=Math.min(o/2,1.6);return"M".concat(c.toFixed(2),",").concat((d+p).toFixed(2)," a").concat(p,",").concat(p," 0 0 1 ").concat(p,",").concat(-p," h").concat((o-2*p).toFixed(2)," a").concat(p,",").concat(p," 0 0 1 ").concat(p,",").concat(p," v").concat((m-2*p).toFixed(2)," a").concat(p,",").concat(p," 0 0 1 ").concat(-p,",").concat(p," h").concat(-(o-2*p).toFixed(2)," a").concat(p,",").concat(p," 0 0 1 ").concat(-p,",").concat(-p," Z")}).join(" ")}function qe(s,t=720){const i=Math.max(0,Math.round(s*t)),a=Math.floor(i/60);return"".concat(String(a).padStart(2,"0"),":").concat(String(i%60).padStart(2,"0"))}const V=150;function Ae({markers:s,active:t}){const i=h.useMemo(()=>K(V,42),[]),[a,n]=h.useState({}),r=h.useRef(null),o=h.useRef(null),l=h.useRef(null),u=h.useRef(null);return h.useEffect(()=>{var c;const m=()=>{const p=document.documentElement.scrollHeight-window.innerHeight;if(p<=0)return;const g=s.map(j=>{const A=document.getElementById(j.id);return A?(A.offsetTop-window.innerHeight*.3)/p:0}),x=.06,f=.93,N=.135,_=g.map(j=>Math.min(f,Math.max(x,j)));for(let j=1;j<_.length;j++)_[j]=Math.max(_[j],_[j-1]+N);for(let j=_.length-1;j>=0;j--){const A=j===_.length-1?f:_[j+1]-N;_[j]=Math.min(_[j],A)}const b={};s.forEach((j,A)=>{b[j.id]=_[A]}),n(b)};m();const d=new ResizeObserver(m);return d.observe(document.body),window.addEventListener("resize",m),(c=document.fonts)==null||c.ready.then(m).catch(()=>{}),()=>{d.disconnect(),window.removeEventListener("resize",m)}},[s]),R(c=>{const m=document.documentElement.scrollHeight-window.innerHeight,d=m>0?Math.min(1,Math.max(0,c/m)):0;r.current&&r.current.style.setProperty("--pos",String(d)),l.current&&l.current.style.setProperty("--pos",String(d)),u.current&&u.current.setAttribute("height",String(d*1e3)),o.current&&(o.current.textContent=qe(d))}),e.jsxs(e.Fragment,{children:[e.jsx("div",{ref:l,className:"dsi-railbar","aria-hidden":"true",children:e.jsx("span",{className:"dsi-railbar__fill"})}),e.jsxs("nav",{className:"dsi-rail","aria-label":"Page sections",children:[e.jsxs("div",{className:"dsi-rail__waveWrap","aria-hidden":"true",children:[e.jsxs("svg",{className:"dsi-rail__wave",viewBox:"0 0 44 1000",preserveAspectRatio:"none",focusable:"false",children:[e.jsx("defs",{children:e.jsx("clipPath",{id:"rail-played",children:e.jsx("rect",{ref:u,x:"0",y:"0",width:"44",height:"0"})})}),e.jsx("g",{fill:"var(--line)",children:i.map((c,m)=>{const d=1e3/V,p=Math.max(2,c*40);return e.jsx("rect",{x:22-p/2,y:m*d,width:p,height:d*.6,rx:"1"},m)})}),e.jsx("g",{fill:"var(--signal)",clipPath:"url(#rail-played)",children:i.map((c,m)=>{const d=1e3/V,p=Math.max(2,c*40);return e.jsx("rect",{x:22-p/2,y:m*d,width:p,height:d*.6,rx:"1"},m)})})]}),e.jsx("div",{ref:r,className:"dsi-rail__playhead",children:e.jsx("span",{ref:o,className:"dsi-rail__time dsi-mono",children:"00:00"})})]}),e.jsx("ol",{className:"dsi-rail__markers",children:s.map((c,m)=>{var d;return e.jsx("li",{className:"dsi-rail__marker".concat(t===c.id?" dsi-is-active":""),style:{top:"".concat(((d=a[c.id])!=null?d:m/s.length)*100,"%")},children:e.jsxs("a",{href:"#".concat(c.id),className:"dsi-rail__link",children:[e.jsx("span",{className:"dsi-rail__tick","aria-hidden":"true"}),e.jsx("span",{className:"dsi-rail__label",children:c.title})]})},c.id)})})]})]})}function _e({className:s=""}){const[t,i]=h.useState(!1);return t?e.jsx("span",{className:"dsi-logoslot ".concat(s).trim(),role:"img","aria-label":q.name,children:e.jsx("span",{className:"dsi-logoslot__hint dsi-mono","aria-hidden":"true",children:"add /public/logo.svg"})}):e.jsx("img",{className:"dsi-logo__file ".concat(s).trim(),src:Y.logo,alt:q.name,onError:()=>i(!0)})}function Ee(){const[s,t]=h.useState(!1);return e.jsxs("figure",{className:"dsi-portrait",children:[s?e.jsxs("div",{className:"dsi-portrait__empty",children:[e.jsxs("svg",{viewBox:"0 0 100 100",className:"dsi-portrait__silhouette","aria-hidden":"true",focusable:"false",children:[e.jsx("circle",{cx:"50",cy:"37",r:"17",fill:"currentColor"}),e.jsx("path",{d:"M14 100c0-21 16-34 36-34s36 13 36 34z",fill:"
1currentColor"})]}),e.jsx("p",{className:"dsi-portrait__hint dsi-mono",children:"add /public/kyle.jpg"})]}):e.jsx("img",{className:"dsi-portrait__img",src:Y.host,alt:Y.hostAlt,onError:()=>t(!0)}),e.jsx("figcaption",{className:"dsi-portrait__caption dsi-mono",children:Y.hostCaption})]})}function Pe(){const s=W(),t=je(!s);return e.jsxs("header",{ref:t,className:"dsi-hero",id:"top",children:[e.jsxs("div",{className:"dsi-hero__brand",children:[e.jsx(_e,{className:"dsi-hero__logo"}),e.jsx("span",{className:"dsi-hero__kicker dsi-mono",children:"guest invitation"})]}),e.jsxs("div",{className:"dsi-hero__inner",children:[e.jsxs("h1",{className:"dsi-hero__title",children:["We'd like you",e.jsx("span",{className:"dsi-hero__break",children:" "}),"on the show."]}),e.jsx("p",{className:"dsi-hero__lede dsi-lede",children:"Everything below is what saying yes actually involves — how we record, how we edit, and what happens when it goes out. It takes about four minutes to read. The question is at the bottom of your screen the whole time."}),e.jsxs("ul",{className:"dsi-hero__meta dsi-mono",children:[e.jsxs("li",{children:[e.jsx("b",{children:q.years})," years"]}),e.jsxs("li",{children:[e.jsx("b",{children:k.episodes.value.toLocaleString()})," episodes"]}),e.jsx("li",{children:"one conversation at a time"})]})]}),e.jsxs("a",{className:"dsi-hero__scroll dsi-mono",href:"#about",children:["scroll",e.jsx("span",{className:"dsi-hero__scrollLine","aria-hidden":"true"})]})]})}function B({id:s,index:t,title:i,kicker:a,active:n,children:r}){return e.jsxs("section",{id:s,className:"dsi-track".concat(n?" dsi-is-active":""),children:[e.jsxs("div",{className:"dsi-track__head",children:[e.jsx("span",{className:"dsi-track__num dsi-mono",children:String(t).padStart(2,"0")}),e.jsx("h2",{className:"dsi-track__title",children:i}),a&&e.jsx("p",{className:"dsi-track__kicker",children:a}),e.jsx("span",{className:"dsi-track__meter","aria-hidden":"true"})]}),e.jsx("div",{className:"dsi-track__clips",children:r})]})}function v({children:s,depth:t=1,wide:i=!1,className:a=""}){const[n,r]=L(.2),o=je();return e.jsx("div",{ref:n,className:"dsi-clip".concat(r?" dsi-is-in":"").concat(i?" dsi-clip--wide":""," ").concat(a).trim(),children:e.jsx("div",{ref:o,className:"dsi-clip__drift",style:{"--depth":t},children:s})})}function w({children:s}){return e.jsx("p",{className:"dsi-clip__label dsi-mono",children:s})}const le=["#CBF1F8","#A3E3EF","#7CD2E2","#57BDD2","#37A6BD","#218FA6","#158095"];function H({title:s,data:t,kind:i,unit:a="%",note:n,keepOrder:r=!1,compact:o=!1}){const[l,u]=L(.25),c=h.useId().replace(/:/g,""),m=h.useMemo(()=>r?t:[...t].sort((p,g)=>g.value-p.value),[t,r]),d=Math.max(...m.map(p=>p.value),1);return e.jsxs("figure",{ref:l,className:"dsi-chart".concat(u?" dsi-is-in":"").concat(o?" dsi-chart--compact":""),children:[e.jsx("figcaption",{className:"dsi-chart__head",children:e.jsx("h4",{className:"dsi-chart__title",children:s})}),i==="bar"&&e.jsx(Fe,{rows:m,max:d,unit:a}),i==="line"&&e.jsx(Ie,{rows:m,max:d,unit:a,uid:c,seen:u}),i==="pie"&&e.jsx(Le,{rows:m,unit:a}),n&&e.jsx("p",{className:"dsi-chart__note",children:n})]})}function Fe({rows:s,max:t,unit:i}){return e.jsx("div",{className:"dsi-chart__plot",children:s.map((a,n)=>e.jsxs("div",{className:"dsi-bar".concat(a.highlight?" dsi-bar--you":""),style:{"--i":n},children:[e.jsxs("span",{className:"dsi-bar__label",children:[a.label,a.tag&&e.jsx("span",{className:"dsi-bar__tag dsi-mono",children:a.tag})]}),e.jsxs("span",{className:"dsi-bar__track",children:[e.jsx("span",{className:"dsi-bar__fill",style:{"--w":"".concat(a.value/t*100,"%")}}),e.jsxs("span",{className:"dsi-bar__value dsi-mono",children:[a.value,i]})]})]},a.label))})}const X=320,re=150,y={l:6,r:6,t:14,b:26};function Ie({rows:s,max:t,unit:i,uid:a,seen:n}){const r=X-y.l-y.r,o=re-y.t-y.b,l=s.length>1?r/(s.length-1):0,u=s.map((d,p)=>({x:y.l+p*l,y:y.t+o-d.value/t*o,d})),c=u.map((d,p)=>"".concat(p?"L":"M").concat(d.x.toFixed(1),",").concat(d.y.toFixed(1))).join(" "),m="".concat(c," L").concat(u[u.length-1].x.toFixed(1),",").concat((y.t+o).toFixed(1)," L").concat(u[0].x.toFixed(1),",").concat((y.t+o).toFixed(1)," Z");return e.jsxs("div",{className:"dsi-chart__plot dsi-chart__plot--line",children:[e.jsxs("svg",{viewBox:"0 0 ".concat(X," ").concat(re),className:"dsi-linechart",role:"img","aria-label":"Line chart, ".concat(s.map(d=>"".concat(d.label," ").concat(d.value).concat(i)).join(", ")),children:[e.jsx("defs",{children:e.jsxs("linearGradient",{id:"g".concat(a),x1:"0",y1:"0",x2:"0",y2:"1",children:[e.jsx("stop",{offset:"0%",stopColor:"var(--probe-data)",stopOpacity:"0.28"}),e.jsx("stop",{offset:"100%",stopColor:"var(--probe-data)",stopOpacity:"0"})]})}),e.jsx("line",{x1:y.l,y1:y.t+o,x2:X-y.r,y2:y.t+o,className:"dsi-linechart__axis"}),e.jsx("path",{d:m,fill:"url(#g".concat(a,")")}),e.jsx("path",{d:c,className:"dsi-linechart__line".concat(n?" dsi-is-in":""),style:{"--len":14
100}}),u.map(d=>e.jsxs("g",{children:[e.jsx("circle",{cx:d.x,cy:d.y,r:"4.5",className:d.d.highlight?"dsi-linechart__dot dsi-is-you":"dsi-linechart__dot"}),e.jsxs("text",{x:d.x,y:d.y-10,className:"dsi-linechart__val",textAnchor:"middle",children:[d.d.value,i]})]},d.d.label))]}),e.jsx("ol",{className:"dsi-linechart__keys",children:s.map(d=>e.jsxs("li",{className:d.highlight?"dsi-is-you":void 0,children:[d.label,d.tag&&e.jsx("span",{className:"dsi-bar__tag dsi-mono",children:d.tag})]},d.label))})]})}function Le({rows:s,unit:t}){const i=s.reduce((l,u)=>l+u.value,0)||1,a=46,n=50;let r=-Math.PI/2;const o=s.map((l,u)=>{const c=l.value/i*Math.PI*2,m=r,d=r+c;r=d;const p=c>Math.PI?1:0,g=n+a*Math.cos(m),x=n+a*Math.sin(m),f=n+a*Math.cos(d),N=n+a*Math.sin(d);return{d:"M".concat(n,",").concat(n," L").concat(g.toFixed(2),",").concat(x.toFixed(2)," A").concat(a,",").concat(a," 0 ").concat(p," 1 ").concat(f.toFixed(2),",").concat(N.toFixed(2)," Z"),fill:l.highlight?"var(--signal-data)":le[Math.min(u,le.length-1)],row:l}});return e.jsxs("div",{className:"dsi-chart__plot dsi-chart__plot--pie",children:[e.jsx("svg",{viewBox:"0 0 100 100",className:"dsi-piechart",role:"img","aria-label":"Pie chart, ".concat(s.map(l=>"".concat(l.label," ").concat(l.value).concat(t)).join(", ")),children:o.map(l=>e.jsx("path",{d:l.d,fill:l.fill,className:"dsi-piechart__slice"},l.row.label))}),e.jsx("ol",{className:"dsi-piechart__keys",children:o.map(l=>e.jsxs("li",{className:l.row.highlight?"dsi-is-you":void 0,children:[e.jsx("span",{className:"dsi-piechart__swatch",style:{background:l.fill},"aria-hidden":"true"}),e.jsx("span",{className:"dsi-piechart__name",children:l.row.label}),l.row.tag&&e.jsx("span",{className:"dsi-bar__tag dsi-mono",children:l.row.tag}),e.jsxs("span",{className:"dsi-piechart__val dsi-mono",children:[l.row.value,t]})]},l.row.label))})]})}function Z({value:s,label:t,suffix:i=""}){const[a,n]=L(.4),r=W(),[o,l]=h.useState(s);return h.useEffect(()=>{if(!n||r)return;let u=0,c=0;const m=d=>{c||(c=d);const p=Math.min(1,Math.max(0,(d-c)/1100));l(Math.round(s*(1-Math.pow(1-p,4)))),p<1&&(u=requestAnimationFrame(m))};return u=requestAnimationFrame(m),()=>cancelAnimationFrame(u)},[n,r,s]),e.jsxs("div",{ref:a,className:"dsi-stat".concat(n?" dsi-is-in":""),children:[e.jsxs("span",{className:"dsi-stat__value",children:[o.toLocaleString(),i]}),e.jsx("span",{className:"dsi-stat__label dsi-mono",children:t})]})}const Te=[{id:"bar",label:"Bar"},{id:"line",label:"Line"},{id:"pie",label:"Pie"}];function Be(){const[s,t]=h.useState("bar");return e.jsxs("div",{className:"dsi-demo",children:[e.jsxs("div",{className:"dsi-demo__top",children:[e.jsxs("div",{className:"dsi-demo__stats",children:[e.jsx(Z,{value:k.downloadsMonthly.value,label:k.downloadsMonthly.label}),e.jsx(Z,{value:k.countries.value,label:k.countries.label}),e.jsx(Z,{value:k.medianListenPct.value,suffix:"%",label:k.medianListenPct.label})]}),e.jsx("div",{className:"dsi-switch",role:"group","aria-label":"Chart type",children:Te.map(i=>e.jsx("button",{type:"button",className:"dsi-switch__btn".concat(s===i.id?" dsi-is-on":""),"aria-pressed":s===i.id,onClick:()=>t(i.id),children:i.label},i.id))})]}),e.jsxs("div",{className:"dsi-demo__charts",children:[e.jsx(H,{title:"What listeners do",data:G.roles,kind:s,compact:!0}),e.jsx(H,{title:"Where they listen from",data:G.geography,kind:s,compact:!0}),e.jsx(H,{title:"Years in the field",data:G.seniority,kind:s,keepOrder:!0,compact:!0})]})]})}const J=1e3;function ce({values:s,height:t=120,progress:i=1,color:a="var(--signal)",dimColor:n="var(--line)",gap:r=.35,className:o,ariaLabel:l}){const u=h.useMemo(()=>Ce(s,J,t,r),[s,t,r]),c=Math.max(0,Math.min(1,i))*J,m=h.useMemo(()=>"wf-".concat(Math.random().toString(36).slice(2,9)),[]);return e.jsxs("svg",{className:o,viewBox:"0 0 ".concat(J," ").concat(t),preserveAspectRatio:"none",role:l?"img":"presentation","aria-label":l,"aria-hidden":l?void 0:!0,focusable:"false",children:[e.jsx("defs",{children:e.jsx("clipPath",{id:m,children:e.jsx("rect",{x:"0",y:"0",width:c,height:t})})}),e.jsx("path",{d:u,fill:n}),e.jsx("path",{d:u,fill:a,clipPath:"url(#".concat(m,")")})]})}const D=140;function We(){const s=K(D,1987),t=[],i=[];let a=0,n=!0;for(;a<D;){const o=n?4+a%3:12+a*7%13;for(let l=0;l<o&&a<D;l++,a++)t.push(n?s[a]*.62:.02),i.push(n?.02:s[a]);n=!n}const r=i.filter(o=>o>.05).length;return{host:t,guest:i,guestShare:Math.round(r/D*100)}}function ze(){const s=W(),[t,i]=ye(!s),{host:a,guest:n,guestShare:r}=h.useMemo(We,[]),o=s?1:Math.max(0,Math.min(1,(i-.15)/.45));return e.jsxs("div",{ref:t,className:"dsi-convo",children:[e.jsxs("p",{className:"dsi-convo__q dsi-mono",children:["Q. ",U.question]}),e.jsx("blockquote",{className:"dsi-convo__a",children:e.jsxs("p",{children:["“",U.answer,"”"]})}),e.jsxs("div",{className:"dsi-convo__lanes",children:[e.jsxs("div",{className:"dsi-convo__lane",children:[e.jsx("span",{className:"dsi-convo__laneName dsi-mono",children:"kyle"}),e.jsx(ce,{values:a,height:54,progress:o,color:"var(--probe)",dimColor:"rgba(79,209,224,.10)",gap:.4,ariaLabel:"Kyle's speaking time: short, infrequent bursts"})]}),e.jsxs("div",{className:"dsi-convo__lane dsi-convo__lane--you",children:[e.jsx("span",{className:"dsi-convo__laneName dsi-mono",children:"you"}),e.jsx(ce,{values:n,height:84,progress:o,color:"var(--signal)",dimColor:"rgba(255,176,32,.10)",gap:.4,ariaLabel:"Your speaking time: long, uninterrupted stretches"})]}),e.jsxs("p",{className:"dsi-convo__split dsi-mono",children:["typical talk time ",e.jsxs("b",{children:["you ",r,"%"]})," ",e.jsx("span",{"aria-hidden":"true",children:"·"})," kyle"," ",100-r,"%"]})]}),e.jsx("div",{className:"dsi-convo__body",children:U.body.map(l=>e.jsx("p",{children:l},l.slice(0,24)))})]})}const C={w:1e3,h:620},De=[{at:[612,300],top:36,side:"right"},{at:[508,244],top:1,side:"right"},{at:[214,486],top:50,side:"left"},{at:[150,540],top:75,side:"left"},{at:[176,176],top:0,side:"left"},{at:[872,250],top:70,side:"right"},{at:[318,452],top:25,side:"left"}];function Oe(){const s=M.setup.callouts.map((t,i)=>
1({...t,n:i+1,...De[i]}));return e.jsxs("div",{className:"dsi-setup",children:[e.jsxs("div",{className:"dsi-setup__figure",children:[e.jsxs("svg",{viewBox:"0 0 ".concat(C.w," ").concat(C.h),className:"dsi-setup__svg",role:"img","aria-label":"A desk setup: a person at a laptop with a microphone on a boom arm, wired headphones, curtains and a rug, a power cable to the wall, and a closed door.",children:[e.jsx("rect",{x:"0",y:"0",width:C.w,height:"520",className:"dsi-s-wall"}),e.jsx("rect",{x:"0",y:"520",width:C.w,height:"100",className:"dsi-s-floor"}),e.jsx("line",{x1:"0",y1:"520",x2:C.w,y2:"520",className:"dsi-s-line"}),e.jsx("rect",{x:"96",y:"96",width:"200",height:"180",rx:"4",className:"dsi-s-window"}),e.jsx("line",{x1:"196",y1:"96",x2:"196",y2:"276",className:"dsi-s-line"}),e.jsx("line",{x1:"96",y1:"186",x2:"296",y2:"186",className:"dsi-s-line"}),e.jsx("path",{d:"M96 88 h44 c-10 70 -10 130 0 196 h-44 z",className:"dsi-s-curtain"}),e.jsx("path",{d:"M296 88 h-44 c10 70 10 130 0 196 h44 z",className:"dsi-s-curtain"}),e.jsx("rect",{x:"80",y:"80",width:"232",height:"12",rx:"6",className:"dsi-s-rod"}),e.jsx("rect",{x:"822",y:"128",width:"132",height:"392",rx:"4",className:"dsi-s-door"}),e.jsx("circle",{cx:"842",cy:"330",r:"7",className:"dsi-s-knob"}),e.jsx("ellipse",{cx:"470",cy:"566",rx:"330",ry:"42",className:"dsi-s-rug"}),e.jsx("ellipse",{cx:"470",cy:"566",rx:"252",ry:"30",className:"dsi-s-rug-inner"}),e.jsx("rect",{x:"242",y:"392",width:"560",height:"16",rx:"4",className:"dsi-s-desk"}),e.jsx("rect",{x:"268",y:"408",width:"12",height:"118",className:"dsi-s-desk-leg"}),e.jsx("rect",{x:"764",y:"408",width:"12",height:"118",className:"dsi-s-desk-leg"}),e.jsx("rect",{x:"288",y:"470",width:"62",height:"8",rx:"4",className:"dsi-s-desk"}),e.jsx("rect",{x:"292",y:"478",width:"7",height:"48",className:"dsi-s-desk-leg"}),e.jsx("rect",{x:"339",y:"478",width:"7",height:"48",className:"dsi-s-desk-leg"}),e.jsx("path",{d:"M306 440 h26 l-4 30 h-18 z",className:"dsi-s-glass"}),e.jsx("rect",{x:"306",y:"446",width:"26",height:"24",className:"dsi-s-water"}),e.jsx("path",{d:"M432 392 c8 -74 42 -104 96 -104 s88 30 96 104 z",className:"dsi-s-body"}),e.jsx("rect",{x:"500",y:"248",width:"56",height:"34",rx:"14",className:"dsi-s-skin"}),e.jsx("ellipse",{cx:"528",cy:"212",rx:"46",ry:"52",className:"dsi-s-skin"}),e.jsx("path",{d:"M482 196 c14 -30 62 -38 88 -12 c6 6 8 14 8 22 c-24 -14 -66 -16 -96 6 z",className:"dsi-s-hair"}),e.jsx("path",{d:"M478 206 a50 54 0 0 1 100 0",className:"dsi-s-band"}),e.jsx("rect",{x:"466",y:"200",width:"20",height:"34",rx:"9",className:"dsi-s-cup"}),e.jsx("rect",{x:"570",y:"200",width:"20",height:"34",rx:"9",className:"dsi-s-cup"}),e.jsx("path",{d:"M476 234 c-6 40 -22 70 -46 96",className:"dsi-s-cable"}),e.jsx("path",{d:"M330 392 l22 -88 h124 l-8 88 z",className:"dsi-s-lid"}),e.jsx("path",{d:"M342 386 l18 -74 h108 l-6 74 z",className:"dsi-s-screen"}),e.jsx("rect",{x:"318",y:"386",width:"176",height:"10",rx:"4",className:"dsi-s-base"}),e.jsx("path",{d:"M330 396 c-40 24 -66 46 -92 78",className:"dsi-s-cable"}),e.jsx("rect",{x:"196",y:"470",width:"34",height:"30",rx:"4",className:"dsi-s-socket"}),e.jsx("circle",{cx:"206",cy:"482",r:"3",className:"dsi-s-knob"}),e.jsx("circle",{cx:"220",cy:"482",r:"3",className:"dsi-s-knob"}),e.jsx("path",{d:"M244 528 c-40 8 -70 12 -110 14",className:"dsi-s-cable"}),e.jsx("rect",{x:"96",y:"528",width:"52",height:"22",rx:"4",className:"dsi-s-router"}),e.jsx("line",{x1:"106",y1:"524",x2:"106",y2:"508",className:"dsi-s-line"}),e.jsx("line",{x1:"122",y1:"524",x2:"122",y2:"502",className:"dsi-s-line"}),e.jsx("path",{d:"M780 392 v-96 h-72",className:"dsi-s-boom"}),e.jsx("path",{d:"M708 296 l-46 8",className:"dsi-s-boom"}),e.jsx("rect",{x:"596",y:"272",width:"34",height:"72",rx:"17",className:"dsi-s-mic"}),e.jsx("rect",{x:"602",y:"280",width:"22",height:"46",rx:"11",className:"dsi-s-mic-grille"}),e.jsx("path",{d:"M613 344 v16",className:"dsi-s-boom"}),s.map(t=>{const[i,a]=t.at,n=t.side==="right"?C.w+14:-14,r=t.top/100*C.h+26;return e.jsxs("g",{className:"dsi-s-callout",children:[e.jsx("path",{d:"M".concat(i,",").concat(a," L").concat(n,",").concat(r),className:"dsi-s-leader"}),e.jsx("circle",{cx:i,cy:a,r:"15",className:"dsi-s-marker"}),e.jsx("text",{x:i,y:a+5,className:"dsi-s-marker-n",textAnchor:"middle",children:t.n})]},t.n)})]}),s.map(t=>e.jsxs("p",{className:"dsi-setup__tag setup__tag--".concat(t.side),style:{to
1p:"".concat(t.top,"%")},children:[e.jsx("b",{children:t.title}),e.jsx("span",{children:t.text})]},t.n))]}),e.jsx("ol",{className:"dsi-setup__list",children:s.map(t=>e.jsxs("li",{className:"dsi-setup__item",children:[e.jsx("span",{className:"dsi-setup__n dsi-mono",children:t.n}),e.jsxs("span",{children:[e.jsx("b",{children:t.title})," ",t.text]})]},t.n))})]})}function Ye(){const[s,t]=h.useState(null),i=h.useMemo(()=>K(28,5),[]);return s!==!1?e.jsx("img",{className:"dsi-studio__shot",src:"/riverside.png",alt:"The Riverside recording view: two video tiles side by side with a record button.",onLoad:()=>t(!0),onError:()=>t(!1),style:s?void 0:{display:"none"}}):e.jsxs("div",{className:"dsi-studio",role:"img","aria-label":"Illustration of the recording view: two video tiles side by side, a live level meter, and a record button.",children:[e.jsxs("div",{className:"dsi-studio__chrome",children:[e.jsx("span",{className:"dsi-studio__dot"}),e.jsx("span",{className:"dsi-studio__dot"}),e.jsx("span",{className:"dsi-studio__dot"}),e.jsx("span",{className:"dsi-studio__url dsi-mono",children:M.platform.name.toLowerCase()})]}),e.jsxs("div",{className:"dsi-studio__tiles",children:[e.jsx("div",{className:"dsi-studio__tile",children:e.jsx("span",{className:"dsi-studio__who dsi-mono",children:"kyle"})}),e.jsxs("div",{className:"dsi-studio__tile dsi-studio__tile--you",children:[e.jsx("span",{className:"dsi-studio__who dsi-mono",children:"you"}),e.jsx("div",{className:"dsi-studio__meter","aria-hidden":"true",children:i.map((a,n)=>e.jsx("span",{style:{"--h":"".concat(Math.round(a*100),"%"),"--i":n}},n))})]})]}),e.jsxs("div",{className:"dsi-studio__bar",children:[e.jsxs("span",{className:"dsi-studio__rec",children:[e.jsx("span",{className:"dsi-studio__recDot","aria-hidden":"true"}),e.jsx("span",{className:"dsi-mono",children:"recording locally"})]}),e.jsx("span",{className:"dsi-studio__time dsi-mono",children:"00:41:12"})]})]})}function He(){return e.jsxs("div",{className:"dsi-riverside",children:[e.jsx(Ye,{}),e.jsxs("div",{className:"dsi-riverside__copy",children:[e.jsx("p",{children:M.platform.body}),e.jsx("p",{className:"dsi-riverside__link",children:e.jsxs("a",{href:S.riverside,target:"_blank",rel:"noreferrer",children:[M.platform.name," ↗"]})})]}),e.jsx("ul",{className:"dsi-reqs",children:M.platform.requirements.map(s=>e.jsxs("li",{className:"dsi-req",children:[e.jsx("span",{className:"dsi-req__label dsi-mono",children:s.label}),e.jsx("span",{className:"dsi-req__detail",children:s.detail})]},s.label))})]})}function Ke(){const[s,t]=L(.2);return e.jsxs("div",{ref:s,className:"room".concat(t?" dsi-is-in":""),children:[e.jsx("p",{className:"dsi-room__lede dsi-lede",children:M.setup.body}),e.jsx(Oe,{}),e.jsxs("aside",{className:"dsi-offer",children:[e.jsx("p",{className:"dsi-offer__kicker dsi-mono",children:"optional"}),e.jsx("p",{children:M.setup.testOffer}),e.jsx("p",{className:"dsi-offer__link",children:e.jsx("a",{href:S.micGuide,target:"_blank",rel:"noreferrer",children:"How to send a test clip ↗"})})]})]})}function Ge(){return e.jsxs("div",{className:"dsi-willask",children:[e.jsx("p",{className:"dsi-willask__intro",children:"Before we roll, Kyle will ask…"}),e.jsx("ol",{className:"dsi-willask__list",children:M.kyleWillAsk.map((s,t)=>e.jsxs("li",{className:"dsi-willask__item",children:[e.jsx("span",{className:"dsi-willask__n dsi-mono",children:String(t+1).padStart(2,"0")}),e.jsx("span",{children:s})]},s))}),e.jsx("p",{className:"dsi-willask__after",children:"None of it is a test. It exists so nothing in the finished episode surprises you."})]})}const de=96,se=38,te=54,Ue=te-se,he=[{label:"raw take",note:"What actually came out of your mouth, ums and all."},{label:"region selected",note:"A false start: two seconds of “sorry, let me back up”."},{label:"region lifted",note:"Out it goes. Nothing you meant to say is in there."},{label:"clean edit",note:"The gap closes. You sound like you did on your best day."}];function ue({src:s,label:t}){const[i,a]=h.useState("loading");return h.useEffect(()=>{const n=new Audio,r=()=>a("ready"),o=()=>a("missing");n.addEventListener("loadedmetadata",r),n.addEventListener("error",o),n.preload="metadata",n.src=s;const l=window.setTimeout(()=>a(u=>u==="loading"?"missing":u),2500);return()=>{clearTimeout(l),n.removeEventListener("loadedmetadata",r),n.removeEventListener("error",o),n.src=""}},[s]),i==="missing"?e.jsxs("div",{className:"dsi-clipaudio dsi-clipaudio--missing",children:[e.jsx("span",{className:"dsi-clipaudio__label dsi-mono",children:t}),e.jsx("span",{className:"dsi-clipaudio__empty dsi-mono",children:"clip coming soon"})]}):e.jsxs("div",{className:"dsi-clipaudio",children:[e.jsx("span",{className:"dsi-clipaudio__label dsi-mono",children:t}),e.jsx("audio",{controls:!0,preload:"metadata",src:s,"aria-label":t})]})}function Qe(){const s=W(),t=h.useRef(null),i=h.useRef(null),[a,n]=h.useState(s?3:0),r=h.useMemo(()=>K(de,314),[]);R((l,u)=>{const c=t.current;if(!c)return;const m=c.getBoundingClientRect(),d=m.height-u,p=d>0?I(-m.top/d):0,g=I((p-.2)/.18),x=I((p-.44)/.22),f=I((p-.7)/.24);c.style.setProperty("--select",g.toFixed(3)),c.style.setProperty("--lift",x.toFixed(3)),i.current&&(i.current.style.flexGrow=String(Ue*(1-f)));const N=f>.85?3:x>.08?2:g>.5?1:0;n(_=>_===N?_:N)},!s);const o=(l,u,c)=>e.jsx("div",{ref:c==="cut"?i:void 0,className:"dsi-ed__group ed__group--".concat(c),style:{flexGrow:u-l},children:r.slice(l,u).map((m,d)=>e.jsx("span",{className:"dsi-ed__bar",style:{"--h":"".concat(Math.round(m*100),"%")}},d))});return e.jsx("div",{ref:t,className:"dsi-ed".concat(s?" dsi-is-static":""),children:e.jsxs("div",{className:"dsi-ed__pin",children:[e.jsxs("div",{className:"dsi-ed__head",children:[e.jsx("span",{className:"dsi-ed__stage dsi-mono",children:he[a].label}),e.jsx("span",{className:"dsi-ed__track dsi-mono",children:"track 01 — guest"})]}),e.jsxs("div",{className:"dsi-ed__wave",children:[o(0,se,"keep"),o(se,te,"cut"),o(te,de,"keep")]}),e.jsx("p",{className:"dsi-ed__note",children:he[a].note}),e.jsxs("div",{className:"dsi-ed__clips",children:[e.jsx(ue,{src:oe.rawExample,label:"before"}),e.jsx(ue,{src:oe.cutExample,label:"after"})]})]})})}function Ve(){const{accept:s,decline:t}=T();return e.jsxs("div",{className:"dsi-ask__gate",children:[e.jsxs("h2",{className:"dsi-ask__title",children:["So — 
1can we",e.jsx("span",{className:"dsi-ask__break",children:" "}),"interview you?"]}),e.jsx("p",{className:"dsi-ask__sub",children:"Nothing is locked in by answering. Yes just moves you to the calendar."}),e.jsxs("div",{className:"dsi-ask__buttons",children:[e.jsxs("button",{type:"button",className:"dsi-bigbtn dsi-bigbtn--yes",onClick:s,children:[e.jsx("span",{className:"dsi-bigbtn__word",children:"Yes"}),e.jsx("span",{className:"dsi-bigbtn__sub dsi-mono",children:"let's schedule it"})]}),e.jsxs("button",{type:"button",className:"dsi-bigbtn dsi-bigbtn--no",onClick:t,children:[e.jsx("span",{className:"dsi-bigbtn__word",children:"No thanks"}),e.jsx("span",{className:"dsi-bigbtn__sub dsi-mono",children:"tell us why in one click"})]})]})]})}function Xe(){const{chooseReason:s}=T(),[t,i]=h.useState(null),[a,n]=h.useState(""),r=t==="other";return e.jsxs("div",{className:"dsi-ask__decline",children:[e.jsx("h2",{className:"dsi-ask__title dsi-ask__title--sm",children:"Fair enough. Which one?"}),e.jsx("p",{className:"dsi-ask__sub",children:"Honest answers help more than polite ones. Pick the closest."}),e.jsx("div",{className:"dsi-chips",role:"group","aria-label":"Reason for declining",children:ae.map(o=>e.jsx("button",{type:"button",className:"dsi-chip".concat(t===o.id?" dsi-is-picked":""),"aria-pressed":t===o.id,onClick:()=>i(o.id),children:o.label},o.id))}),r&&e.jsxs("label",{className:"dsi-field",children:[e.jsx("span",{className:"dsi-field__label dsi-mono",children:"say more (optional)"}),e.jsx("textarea",{className:"dsi-field__input",rows:3,value:a,onChange:o=>n(o.target.value),placeholder:"What would have made this a yes?"})]}),e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--solid",disabled:!t,onClick:()=>t&&s(t,a),children:"Send it"})]})}function Ze(){const{reason:s,reconsider:t}=T(),i=h.useMemo(()=>{var a;const n={...we};s&&(n[s]=((a=n[s])!=null?a:0)+1);const r=Object.values(n).reduce((o,l)=>o+l,0)||1;return ae.map(o=>{var l;return{label:o.label,value:Math.round(((l=n[o.id])!=null?l:0)/r*100),highlight:o.id===s,tag:o.id===s?"you":void 0}})},[s]);return e.jsxs("div",{className:"dsi-ask__polled",children:[e.jsx("h2",{className:"dsi-ask__title dsi-ask__title--sm",children:"You're not the first."}),e.jsx("p",{className:"dsi-ask__sub",children:"Here's what everyone else who declined said, yours included."}),e.jsx(H,{title:"Why people say no",data:i,kind:"bar",note:"Prior counts are placeholders until the response store is wired up."}),e.jsxs("div",{className:"dsi-ask__again",children:[e.jsx("p",{children:"If the reason was timing rather than interest, the door doesn't close. We book months out and we are patient people."}),e.jsxs("button",{type:"button",className:"dsi-bigbtn dsi-bigbtn--yes dsi-bigbtn--wide",onClick:t,children:[e.jsx("span",{className:"dsi-bigbtn__word",children:"I reconsider"}),e.jsx("span",{className:"dsi-bigbtn__sub dsi-mono",children:"take me back to the question"})]})]})]})}function Je(){const{markBooked:s,confirmBooked:t,sendTimezoneNote:i,booked:a}=T(),[n,r]=h.useState(""),[o,l]=h.useState(!1),u=a==="pre-interview";return e.jsxs("div",{className:"dsi-ask__schedule",children:[e.jsx("h2",{className:"dsi-ask__title dsi-ask__title--sm",children:"Great. Now let's get it scheduled."}),e.jsx("p",{className:"dsi-ask__sub",children:S.preInterview?"One booking is required. The other is there if you want it.":"One booking, sixty minutes, and you are done."}),e.jsxs("div",{className:"dsi-book",children:[S.preInterview&&e.jsxs("article",{className:"dsi-book__card",children:[e.jsx("p",{className:"dsi-book__tag dsi-mono",children:"optional · not recorded"}),e.jsx("h3",{className:"dsi-book__title",children:P.preInterview.title}),e.jsx("p",{children:P.preInterview.body}),e.jsx("a",{className:"dsi-btn dsi-btn--solid dsi-book__btn",href:S.preInterview,target:"_blank",rel:"noreferrer",onClick:()=>s("pre-interview",!0),children:"Book 15 minutes ↗"}),u&&e.jsx("p",{className:"dsi-book__done dsi-mono",children:"✓ pre-interview calendar opened"})]}),e.jsxs("article",{className:"dsi-book__card dsi-book__card--primary",children:[e.jsxs("p",{className:"dsi-book__tag dsi-mono",children:["required · ",P.session.minutes," minutes"]}),e.jsx("h3",{className:"dsi-book__title",children:P.session.title}),e.jsx("p",{children:P.session.body}
1),e.jsx("a",{className:"dsi-btn dsi-btn--solid dsi-book__btn",href:S.recording,target:"_blank",rel:"noreferrer",onClick:()=>s("recording",u),children:"Book the recording ↗"}),a==="recording"&&e.jsxs("div",{className:"dsi-book__after",children:[e.jsx("p",{className:"dsi-book__done dsi-mono",children:"calendar opened — pick any slot that suits you"}),e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--solid",onClick:t,children:"I picked a time"})]})]})]}),e.jsxs("div",{className:"dsi-tz",children:[e.jsx("p",{children:P.overseasPrompt}),o?e.jsx("p",{className:"dsi-tz__done dsi-mono",children:"✓ sent — we'll email you with options"}):e.jsxs(e.Fragment,{children:[e.jsxs("label",{className:"dsi-field",children:[e.jsx("span",{className:"dsi-field__label dsi-mono",children:"your time zone and rough availability"}),e.jsx("textarea",{className:"dsi-field__input",rows:3,value:n,onChange:c=>r(c.target.value),placeholder:"e.g. CET, weekday evenings after 19:00, or Saturday mornings"})]}),e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--ghost",disabled:!n.trim(),onClick:()=>{i(n.trim()),l(!0)},children:"Send this instead"})]})]})]})}function $e(){return e.jsxs("div",{className:"dsi-ask__booked",children:[e.jsxs("h2",{className:"dsi-ask__title dsi-ask__title--sm",children:[e.jsx("span",{className:"dsi-ask__check","aria-hidden":"true",children:"✓"}),"That's everything."]}),e.jsx("p",{className:"dsi-ask__sub",children:"You'll get a calendar invite with the Riverside link in it. Kyle will read your work before the session."}),e.jsxs("p",{className:"dsi-ask__next",children:["Nothing else is required of you. If you like being over-prepared anyway, there's"," ",e.jsx("a",{href:"#preparing",children:"a short section on preparing"})," below."]})]})}function es(){const{stage:s}=T();return e.jsx("section",{id:"ask",className:"dsi-ask",children:e.jsxs("div",{className:"dsi-ask__inner","aria-live":"polite",children:[s==="asking"&&e.jsx(Ve,{}),s==="declining"&&e.jsx(Xe,{}),s==="polled"&&e.jsx(Ze,{}),s==="scheduling"&&e.jsx(Je,{}),s==="booked"&&e.jsx($e,{})]})})}function ss(){var s,t;const{stage:i,reason:a,accept:n,decline:r,reconsider:o,goToAsk:l}=T(),[u,c]=h.useState(()=>typeof window<"u"&&window.scrollY>window.innerHeight*.72);R((d,p)=>{const g=d>p*.72;c(x=>x===g?x:g)});const m=(t=(s=ae.find(d=>d.id===a))==null?void 0:s.label)!=null?t:"";return e.jsx("div",{className:"dsi-dock".concat(u?" dsi-is-shown":""),children:e.jsxs("div",{className:"dsi-dock__inner",children:[i==="asking"&&e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"dsi-dock__q",children:["So — ",e.jsx("b",{children:"can we interview you?"})]}),e.jsxs("div",{className:"dsi-dock__actions",children:[e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--yes",onClick:n,children:"Yes"}),e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--no",onClick:r,children:"No thanks"})]})]}),i==="declining"&&e.jsxs(e.Fragment,{children:[e.jsx("p",{className:"dsi-dock__q",children:"No problem. What's the reason?"}),e.jsx("div",{className:"dsi-dock__actions",children:e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--ghost",onClick:l,children:"Pick one ↓"})})]}),i==="polled"&&e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"dsi-dock__q",children:["You said: ",e.jsx("b",{children:m})]}),e.jsx("div",{className:"dsi-dock__actions",children:e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--yes",onClick:o,children:"I reconsider"})})]}),i==="scheduling"&&e.jsxs(e.Fragment,{children:[e.jsxs("p",{className:"dsi-dock__q",children:["You're in. ",e.jsx("b",{children:"Let's find a time."})]}),e.jsx("div",{className:"dsi-dock__actions",children:e.jsx("button",{type:"button",className:"dsi-btn dsi-btn--ghost",onClick:l,children:"Schedule ↓"})})]}),i==="booked"&&e.jsxs("p",{className:"dsi-dock__q dsi-dock__q--done",children:[e.jsx("span",{className:"dsi-dock__check","aria-hidden":"true",children:"✓"}),"Booked. Kyle will be in touch before the session."]})]})})}function ts(){const[s,t]=L(.15);return e.jsxs("div",{ref:s,className:"dsi-prep".concat(t?" dsi-is-in":""),children:[e.jsx("p",{className:"dsi-prep__lede dsi-lede",children:"Entirely optional. Most guests read none of this and do fine."}),e.jsx("div",{className:"dsi-prep__cards",children:ke.map((i,a)=>e.jsxs("article",{className:"dsi-prepcard",style:{"--i":a},children:[e.jsx("h3",{className:"dsi-prepcard__title",children:i.title}),e.jsx("p",{className:"dsi-prepcard__body",children:i.body})]},i.title))})]})}function is(){const[s,t]=L(.3),[i,a]=h.useState(""),[n,r]=h.useState(z.subject),[o,l]=h.useState(""),[u,c]=h.useState(!1),m=h.useRef(null),d=h.useRef(!1);h.useEffect(()=>{var x;if(!t||d.current)return;const f=document.activeElement;f&&f!==document.body||(d.current=!0,(x=m.current)==null||x.focus({preventScroll:!0}))},[t]);const p=o.trim().length>0&&i.trim().length>0,g="mailto:".concat(z.to,"?subject=").concat(encodeURIComponent(n),"&body=").concat(encodeURIComponent(o));return e.jsxs("div",{ref:s,className:"dsi-qform",children:[e.jsx("h3",{className:"dsi-qform__title",children:"Questions before you answer?"}),e.jsx("p",{className:"dsi-qform__intro",children:z.intro}),u?e.jsxs("p",{className:"dsi-qform__sent dsi-mono",children:["✓ sent — Kyle will reply to ",i]}):e.jsxs("form",{className:"dsi-qform__grid",onSubmit:x=>{x.preventDefault(),p&&(F({kind:"question",from:i,subject:n,body:o}),c(!0))},children:[e.jsxs("label",{className:"dsi-qfield",children:[e.jsx("span",{className:"dsi-qfield__label dsi-mono",children:"from"}),e.jsx("input",{className:"dsi-qfield__input",type:"email",required:!0,value:i,onChange:x=>a(x.target.value),placeholder:"[email protected]",autoComplete:"email"})]}),e.jsxs("label",{className:"dsi-qfield",children:[e.jsx("span",{className:"dsi-qfield__label dsi-mono",children:"to"}),e.jsx("input",{className:"dsi-qfield__input dsi-qfield__input--fi
1xed",type:"text",value:z.to,readOnly:!0,tabIndex:-1})]}),e.jsxs("label",{className:"dsi-qfield dsi-qfield--wide",children:[e.jsx("span",{className:"dsi-qfield__label dsi-mono",children:"subject"}),e.jsx("input",{className:"dsi-qfield__input",type:"text",value:n,onChange:x=>r(x.target.value)})]}),e.jsxs("label",{className:"dsi-qfield dsi-qfield--wide",children:[e.jsx("span",{className:"dsi-qfield__label dsi-mono",children:"message"}),e.jsx("textarea",{ref:m,className:"dsi-qfield__input dsi-qfield__area",rows:5,value:o,onChange:x=>l(x.target.value),placeholder:"Ask anything — about the format, the edit, the timing, or what we'd cover."})]}),e.jsxs("div",{className:"dsi-qform__actions",children:[e.jsx("button",{type:"submit",className:"dsi-btn dsi-btn--yes",disabled:!p,children:"Send to Kyle"}),e.jsx("a",{className:"dsi-qform__alt dsi-mono",href:g,children:"or open in your mail app"})]})]})]})}const me=[{id:"about",title:"About the show"},{id:"recording",title:"Recording"},{id:"editing",title:"The edit"},{id:"release",title:"Release"},{id:"ask",title:"The question"},{id:"preparing",title:"Preparing"}];function as(){const s=ve(me.map(t=>t.id));return e.jsxs(Se,{children:[e.jsx(Me,{}),e.jsx(Ae,{markers:me,active:s}),e.jsxs("main",{className:"dsi-page",children:[e.jsx(Pe,{}),e.jsxs(B,{id:"about",index:1,title:"About ".concat(q.name),kicker:q.tagline,active:s==="about",children:[e.jsxs(v,{depth:.6,wide:!0,children:[e.jsxs(w,{children:[q.years," years"]}),e.jsxs("div",{className:"dsi-intro",children:[e.jsx(Ee,{}),e.jsxs("div",{className:"dsi-intro__copy",children:[e.jsxs("p",{className:"dsi-big",children:["We started in ",new Date().getFullYear()-q.years," and have not missed a season since. That is ",k.episodes.value.toLocaleString()," episodes of asking people smarter than us to explain their work."]}),e.jsx("p",{children:"Longevity matters here for one practical reason: the back catalogue keeps working. Episodes from six years ago still get listened to every week, so your conversation does not have a shelf life of a news cycle."})]})]})]}),e.jsxs(v,{depth:.8,wide:!0,children:[e.jsx(w,{children:"who is listening"}),e.jsx(Be,{})]}),e.jsxs(v,{depth:1.4,children:[e.jsx(w,{children:"the interview style"}),e.jsx(ze,{})]})]}),e.jsxs(B,{id:"recording",index:2,title:"Our recording process",kicker:"Roughly an hour of your time, and no software to install.",active:s==="recording",children:[e.jsxs(v,{depth:.7,wide:!0,children:[e.jsx(w,{children:"the studio"}),e.jsx(He,{})]}),e.jsxs(v,{depth:1.1,children:[e.jsx(w,{children:"where to sit, what to use"}),e.jsx(Ke,{})]}),e.jsxs(v,{depth:1.3,children:[e.jsx(w,{children:"before we roll"}),e.jsx(Ge,{})]})]}),e.jsxs(B,{id:"editing",index:3,title:"Our editing process",kicker:"You will sound like yourself, on a good day.",active:s==="editing",children:[e.jsxs(v,{depth:.5,wide:!0,children:[e.jsx(w,{children:E.clean.title}),e.jsx("p",{className:"dsi-big",children:E.clean.body}),e.jsx(Qe,{})]}),e.jsxs(v,{depth:1.2,children:[e.jsx(w,{children:"content edits"}),e.jsx("h3",{className:"dsi-sub",children:E.content.title}),e.jsx("p",{children:E.content.body})]}),e.jsxs(v,{depth:1.4,children:[e.jsx(w,{children:"your say"}),e.jsx("h3",{className:"dsi-sub",children:E.notes.title}),e.jsx("p",{children:E.notes.body})]})]}),e.jsx(B,{id:"release",index:4,title:"The release",kicker:"What happens after the recording stops.",active:s==="release",children:Ne.map((t,i)=>e.jsxs(v,{depth:.7+i*.35,children:[e.jsx(w,{children:t.kicker}),e.jsx("h3",{className:"dsi-sub",children:t.title}),e.jsx("p",{children:t.body}),t.kicker==="Thanks"&&e.jsx("p",{children:e.jsx("a",{href:S.store,target:"_blank",rel:"noreferrer",children:"See what's in the store ↗"})})]},t.kicker))}),e.jsx(es,{}),e.jsx(B,{id:"preparing",index:5,title:"Preparing for the interview",kicker:"Read this only if you want to.",active:s==="preparing",children:e.jsx(v,{depth:.6,wide:!0,children:e.jsx(ts,{})})}),e.jsxs("footer",{className:"dsi-foot",children:[e.jsx(is,{}),e.jsxs("p",{className:"dsi-foot__brand dsi-mono",children:[e.jsx(_e,{className:"dsi-foot__logo"}),e.jsx("a",{href:S.site,target:"_blank",rel:"noreferrer",children:"dataskeptic.com"})]})]})]}),e.jsx(ss,{})]})}const ns="https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,[email protected],400;12..96,600;12..96,800&family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;1,6..72,400&family=JetBrains+Mono:wght@400;500;700&display=swap",pe="ds-invite-fonts";function ls(){return h.useEffect(()=>{if(document.documentElement.classList.add("ds-invite-page"),!document.getElementById(pe)){const s=document.createElement("link");s.id=pe,s.rel="stylesheet",s.href=ns,document.head.appendChild(s)}return()=>document.documentElement.classList.remove("ds-invite-page")},[]),e.jsx("div",{className:"ds-invite",children:e.jsx(as,{})})}
1export{ls as default};

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.