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:`798154dfe6f02312abe2ebb46dcac5b55267091e`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:listening-web":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8e61d31f-4852-4c5e-9cc0-7b8e3b42b576`,e._sentryDebugIdIdentifier=`sentry-dbid-8e61d31f-4852-4c5e-9cc0-7b8e3b42b576`)}catch{}})();import{a as e,n as t,t as n}from"./jsx-runtime-HLTtilDO.js";import{T as r,Y as i,b as a,j as o,l as s,p as c,t as l,x as u}from"./Schema-BiKO9Vds.js";import{t as d}from"./compiler-runtime-UO9gZYRt.js";import{n as f}from"./runtime-BcNrBUy8.js";import{n as ee,r as te,t as ne}from"./playbar_voice-BCQOANvw.js";import{t as re}from"./common_play-tGd98LV5.js";import{t as p}from"./react-helpers-EueCGTnS.js";import{t as m}from"./button-DPpMy2bk.js";import{t as h}from"./IconoirContext-O7wOKtlJ.js";import{t as ie}from"./Check-Dhrce4H9.js";import{t as ae}from"./Play-CAC33tw-.js";import{t as g}from"./voices-Dicpkf84.js";import{t as oe}from"./alignment-ors_3lQ0.js";var se=()=>`Change voice`,ce=()=>`Cambiar voz`,le=(e={},t={})=>(t.locale??f())===`es`?ce(e):se(e),ue=()=>`Email`,de=()=>`Correo electrónico`,fe=(e={},t={})=>(t.locale??f())===`es`?de(e):ue(e),pe=()=>`Next section`,me=()=>`Sección siguiente`,he=(e={},t={})=>(t.locale??f())===`es`?me(e):pe(e),ge=()=>`Previous section`,_e=()=>`Sección anterior`,ve=(e={},t={})=>(t.locale??f())===`es`?_e(e):ge(e),ye=()=>`Sample article`,be=()=>`ArtÃculo de ejemplo`,xe=(e={},t={})=>(t.locale??f())===`es`?be(e):ye(e),Se=()=>`Your article`,_=()=>`Tu artÃculo`,Ce=(e={},t={})=>(t.locale??f())===`es`?_(e):Se(e),we=()=>`Chapters`,Te=()=>`CapÃtulos`,Ee=(e={},t={})=>(t.locale??f())===`es`?Te(e):we(e),De=()=>`Hear a real paper, press play`,v=()=>`Escucha un artÃculo real, dale a reproducir`,Oe=(e={},t={})=>(t.locale??f())===`es`?v(e):De(e),ke=()=>`¹ See also Tversky & Kahneman (1992), pp. 297â323.`,Ae=()=>`¹ Véase también Tversky y Kahneman (1992), pp. 297â323.`,je=(e={},t={})=>(t.locale??f())===`es`?Ae(e):ke(e),Me=()=>`Sample paper · 12 pp`,Ne=()=>`ArtÃculo de ejemplo · 12 págs.`,Pe=(e={},t={})=>(t.locale??f())===`es`?Ne(e):Me(e),y=()=>`Prospect Theory`,Fe=()=>`TeorÃa prospectiva`,Ie=(e={},t={})=>(t.locale??f())===`es`?Fe(e):y(e),b=()=>`Discussion`,x=()=>`Discusión`,S=(e={},t={})=>(t.locale??f())===`es`?x(e):b(e),C=()=>`Done`,w=()=>`Listo`,Le=(e={},t={})=>(t.locale??f())===`es`?w(e):C(e),T=()=>`Introduction`,E=()=>`Introducción`,D=(e={},t={})=>(t.locale??f())===`es`?E(e):T(e),O=()=>`Methods`,k=()=>`Métodos`,A=(e={},t={})=>(t.locale??f())===`es`?k(e):O(e),j=()=>`Results`,M=()=>`Resultados`,N=(e={},t={})=>(t.locale??f())===`es`?M(e):j(e),Re=()=>`A natural, human voice, not a robot`,P=()=>`Una voz natural y humana, no un robot`,ze=(e={},t={})=>(t.locale??f())===`es`?P(e):Re(e),F=()=>`SKIPPED`,I=()=>`OMITIDO`,Be=(e={},t={})=>(t.locale??f())===`es`?I(e):F(e),Ve=()=>`Listen to any section. Skip the rest.`,L=()=>`Escucha la sección que quieras. Sáltate el resto.`,He=(e={},t={})=>(t.locale??f())===`es`?L(e):Ve(e),Ue=()=>`Saved to your notes`,We=()=>`Guardado en tus notas`,R=(e={},t={})=>(t.locale??f())===`es`?We(e):Ue(e),z=()=>`Skips citations & footnotes`,B=()=>`Omite citas y notas al pie`,Ge=(e={},t={})=>(t.locale??f())===`es`?B(e):z(e),Ke=()=>`Maya R.`,qe=()=>`Maya R.`,V=(e={},t={})=>(t.locale??f())===`es`?qe(e):Ke(e),Je=()=>`I get through my entire reading list on my commute now. I don't know how I studied without it.`,Ye=()=>`Ahora avanzo con toda mi lista de lectura en el trayecto al campus. No sé cómo estudiaba antes de esto.`,H=(e={},t={})=>(t.locale??f())===`es`?Ye(e):Je(e),U=()=>`PhD candidate`,Xe=()=>`Doctoranda`,W=(e={},t={})=>(t.locale??f())===`es`?Xe(e):U(e),G=()=>`Jordan C.`,K=()=>`Jordan C.`,q=(e={},t={})=>(t.locale??f())===`es`?K(e):G(e),J=()=>`EPUB`,Y=()=>`EPUB`,Ze=(e={},t={})=>(t.locale??f())===`es`?Y(e):J(e),X=()=>`Photo of a page`,Qe=()=>`Foto de una página`,$e=(e={},t={})=>(t.locale??f())===`es`?Qe(e):X(e),Z=()=>`Web page`,et=()=>`Página web`,tt=(e={},t={})=>(t.locale??f())===`es`?et(e):Z(e),nt=()=>`Abstract`,rt=()=>`Resumen`,it=(e={},t={})=>(t.locale??f())===`es`?rt(e):nt(e),Q=e(t(),1),at=Object.defineProperty,ot=Object.getOwnPropertySymbols,st=Object.prototype.hasOwnProperty,ct=Object.prototype.propertyIsEnumerable,lt=(e,t,n)=>t in e?at(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ut=(e,t)=>{for(var n in t||={})st.call(t,n)&<(e,n,t[n]);if(ot)for(var n of ot(t))ct.call(t,n)&<(e,n,t[n]);return e},dt=(0,Q.forwardRef)((e,t)=>{let n=ut(ut({},Q.useContext(h)),e);return Q.createElement(`svg`,ut({width:`1.5em`,height:`1.5em`,strokeWidth:1.5,viewBox:`0 0 24 24`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,color:`currentColor`,ref:t},n),Q.createElement(`path`,{d:`M12 16V19C12 20.1046 11.1046 21 10 21H9C7.89543 21 7 20.1046 7 19V18C7 16.8954 7.89543 16 9 16H12ZM12 16V8M12 8V4L17 3V7L12 8Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`}))}),ft=c([`faster`,`hard`,`eyes`,`focus`]),pt=c([`study`,`articles`,`work`,`else`]),mt=c([`15`,`30`,`60`]),ht=c([`signup-first`,`paywall-first`]),gt=`signup-first`,_t=c([`welcome`,`segment`,`demo`,`goals`,`proof`,`bring-anything`,`daily-goal`,`recap`,`signup`,`paywall`,`account`,`done`]),vt=r([`benef
1it-`,ft]),yt=o([_t,vt]);c([`open`,`anonymous`,`authenticated`]);function bt(e,t=gt){return e===`welcome`?`anonymous`:e===`paywall`?t===`paywall-first`?`open`:`authenticated`:`open`}var xt=i(ft),St=i(pt),Ct=i(mt),wt=i(vt),Tt=i(yt),Et=`academic`;function Dt(e,t=gt){let n=[`welcome`,`segment`,`demo`,`goals`,...e.length>0?e.map(Ot):[Ot(`faster`)],`proof`,`bring-anything`,`daily-goal`,`recap`];return t===`paywall-first`?[...n,`paywall`,`account`,`done`]:[...n,`signup`,`paywall`,`done`]}function Ot(e){return`benefit-${e}`}function kt(e,t,n=gt){return Dt(t,n).indexOf(e)}function At(e,t,n=gt){let r=Dt(t,n),i=r.indexOf(e);return i===-1?wt(e)?`proof`:void 0:r[i+1]}function jt(e,t,n=gt){let r=Dt(t,n),i=r.indexOf(e);return i===-1?wt(e)?`goals`:void 0:i>0?r[i-1]:void 0}var Mt=d(),$=e(n(),1);function Nt(e){let t=(0,Mt.c)(30),{status:n,name:r,meta:i}=e,a=n===`done`&&`bg-jade-250 text-jade-750`,o=n===`now`&&`bg-azure-595 text-white`,s=n===`up`&&`bg-steel-120 text-steel-700`,c;t[0]!==a||t[1]!==o||t[2]!==s?(c=p(`grid size-5 shrink-0 place-items-center rounded-full`,a,o,s),t[0]=a,t[1]=o,t[2]=s,t[3]=c):c=t[3];let l;t[4]===n?l=t[5]:(l=n===`done`&&(0,$.jsx)(ie,{"aria-hidden":!0,className:`size-3`,strokeWidth:3.5}),t[4]=n,t[5]=l);let u;t[6]===n?u=t[7]:(u=n===`now`&&(0,$.jsx)(dt,{"aria-hidden":!0,className:`size-3`,strokeWidth:2.5}),t[6]=n,t[7]=u);let d;t[8]===n?d=t[9]:(d=n===`up`&&(0,$.jsx)(ae,{"aria-hidden":!0,className:`size-3`,fill:`currentColor`}),t[8]=n,t[9]=d);let f;t[10]!==c||t[11]!==l||t[12]!==u||t[13]!==d?(f=(0,$.jsxs)(`span`,{className:c,children:[l,u,d]}),t[10]=c,t[11]=l,t[12]=u,t[13]=d,t[14]=f):f=t[14];let ee;t[15]===r?ee=t[16]:(ee=(0,$.jsx)(`span`,{className:`truncate text-[12.5px] leading-tight font-semibold`,children:r}),t[15]=r,t[16]=ee);let te=n===`done`&&`text-jade-750`,ne=n===`now`&&`text-azure-455`,re=n===`up`&&`text-steel-700`,m;t[17]!==te||t[18]!==ne||t[19]!==re?(m=p(`text-[11px] leading-tight font-semibold tabular-nums`,te,ne,re),t[17]=te,t[18]=ne,t[19]=re,t[20]=m):m=t[20];let h;t[21]!==i||t[22]!==m?(h=(0,$.jsx)(`span`,{className:m,children:i}),t[21]=i,t[22]=m,t[23]=h):h=t[23];let g;t[24]!==h||t[25]!==ee?(g=(0,$.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[ee,h]}),t[24]=h,t[25]=ee,t[26]=g):g=t[26];let oe;return t[27]!==g||t[28]!==f?(oe=(0,$.jsxs)($.Fragment,{children:[f,g]}),t[27]=g,t[28]=f,t[29]=oe):oe=t[29],oe}var Pt=c([`Scarlett`,`Hugh`,`Amy`,`Justin`]).literals;c([`research`,`general`]).literals;var Ft=`Prospect theory predicts that people weigh potential losses more heavily than equivalent gains.`,It=`(Kahneman & Tversky, 1979)¹`,Lt=`This asymmetry, known as loss aversion, reshapes how we model decisions under risk.`,Rt=`Most people don't have a reading problem. They have a time problem. Listening turns your reading list into something you get through while you walk, commute, or cook dinner.`;function zt(e){return e===`general`?Rt.split(` `):[...Ft.split(` `),...Lt.split(` `)]}function Bt({className:e,text:t}){return t.split(/\[(.*?)]/).map((t,n)=>n%2==1?(0,$.jsx)(`span`,{className:e,children:t},n):t)}function Vt(e){let t=g.find(t=>t.name===e);if(!t)throw Error(`Voice "${e}" is missing from the catalog`);return t.image_url}u({src:a,words:l(u({start:s,end:s}))});var Ht=new Map([[`research`,new Map([[`Scarlett`,{src:`/funnel-demo/research-scarlett.mp3`,words:[{start:250,end:800},{start:800,end:1338},{start:1338,end:1875},{start:1875,end:2025},{start:2025,end:2375},{start:2375,end:2575},{start:2575,end:3075},{start:3075,end:3675},{start:3675,end:3938},{start:3938,end:4400},{start:4400,end:4525},{start:4525,end:5e3},{start:5e3,end:6175},{start:6175,end:6438},{start:6438,end:7400},{start:7400,end:7650},{start:7650,end:7813},{start:7813,end:8150},{start:8150,end:9013},{start:9013,end:9550},{start:9550,end:9725},{start:9725,end:9888},{start:9888,end:10275},{start:10275,end:10875},{start:10875,end:11125},{start:11125,end:11925}]}],[`Hugh`,{src:`/funnel-demo/research-hugh.mp3`,words:[{start:325,end:813},{start:813,end:1288},{start:1288,end:1750},{start:1750,end:1900},{start:1900,end:2275},{start:2275,end:2475},{start:2475,end:3038},{start:3038,end:3463},{start:3463,end:3713},{start:3713,end:4425},{start:4425,end:4575},{start:4575,end:5188},{start:5188,end:6313},{start:6313,end:6550},{start:6550,end:7525},{start:7525,end:7775},{start:7775,end:7938},{start:7938,end:8250},{start:8250,end:9163},{start:9163,end:9775},{start:9775,end:9975},{start:9975,end:10113},{start:10113,end:10450},{start:10450,end:11100},{start:11100,end:11350},{start:11350,end:12325}]}],[`Amy`,{src:`/funnel-demo/research-amy.mp3`,words:[{start:225,end:700},{start:700,end:1025},{start:1025,end:1450},{start:1450,end:1575},{start:1575,end:1900},{start:1900,end:2100},{start:2100,end:2625},{start:2625,end:3e3},{start:3e3,end:3225},{start:3225,end:3675},{start:3675,end:3800},{start:3800,end:4300},{start:4300,end:5488},{start:5488,end:5713},{start:5713,end:6525},{start:6525,end:6738},{start:6738,end:6875},{start:6875,end:7100},{start:7100,end:7975},{start:7975,end:8500},{start:8500,end:8675},{start:8675,end:8800},{start:8800,end:9125},{start:9125,end:9638},{start:9638,end:9875},{start:9875,end:10950}]}],[`Justin`,{src:`/funnel-demo/research-justin.mp3`,words:[{start:225,end:713},{start:713,end:1138},{start:1138,end:1675},{start:1675,end:1825},{start:1825,end:2200},{start:2200,end:2400},{start:2400,end:3013},{start:3013,end:3438},{start:3438,end:3688},{start:3688,end:4388},{start:4388,end:4550},{start:4550,end:5163},{start:5163,end:6275},{start:6275,end:6500},{start:6500,end:7525},{start:7525,end:7775},{start:7775,end:7925},{start:7925,end:8200},{start:8200,end:9113},{start:9113,end:9725},{start:9725,end:9900},{start:9900,end:10025},{start:10025,end:10350},{start:10350,end:11113},{start:11113,end:11400},{start:11400,end:12300}]}]])],[`general`,new Map([[`Scarlett`,{src:`/funnel-demo/general-scarlett.mp3`,words:[{start:300,end:600},{start:600,end:950},{start:950,end:1150},{start:1150,end:1338},{start:1338,end:1400},{start:1400,end:1700},{start:1700,end:2525},{start:2525,end:2650},{start:2650,end:2813},{start:2813,end:2875},{start:2875,end:3200},{start:3200,end:4250},{start:4250,end:4763},{start:4763,end:5088},{start:5088,end:5200},{start:5200,end:5500},{start:5500,end:5850},{start:5850,end:6100},{start:6100,end:6375},{start:6375,end:6475},{start:6475,end:6675},{start:6675,end:6975},{start:6975,end:7175},{start:7175,end:7338},{start:7338,end:7900},{start:7900,end:8625},{start:8625,end:8788},{start:8788,end:9050},{start:9050,end:9800}]}],[`Hugh`,{src:`/funnel-demo/general-hugh.mp3`,words:[{start:400,end:700},{start:700,end:1050},{start:1050,end:1275},{start:1275,end:1438},{start:1438,end:1525},{start:1525,end:1875},{start:1875,end:2650},{start:2650,end:2775},{start:2775,end:2938},{start:2938,end:3038},{start:3038,end:3425},{start:3425,end:4400},{start:4400,end:4863},{start:4863,end:5325},{start:5325,end:5525},{start:5525,end:5875},{start:5875,end:6350},{start:6350,end:6575},{start:6575,end:6975},{start:6975,end:7100},{start:7100,end:7313},{start:7313,end:7600},{start:7600,end:7800},{start:7800,end:7975},{start:7975,end:8588},{start:8588,end:9363},{start:9363,end:9550},{start:9550,end:9888},{start:9888,end:10775}]}],[`Amy`,{src:`/funnel-demo/general-amy.mp3`,words:[{start:275,end:500},{start:500,end:850},{start:850,end:1100},{start:1100,end:1263},{start:1263,end:1325},{start:1325,end:1650},{start:1650,end:2525},{start:2525,end:2650},{start:2650,end:2813},{start:2813,end:2875},{start:2875,end:3200},{start:3200,end:4263}
1,{start:4263,end:4675},{start:4675,end:5013},{start:5013,end:5125},{start:5125,end:5450},{start:5450,end:5688},{start:5688,end:5900},{start:5900,end:6263},{start:6263,end:6375},{start:6375,end:6575},{start:6575,end:6825},{start:6825,end:7025},{start:7025,end:7188},{start:7188,end:7625},{start:7625,end:8100},{start:8100,end:8250},{start:8250,end:8475},{start:8475,end:9450}]}],[`Justin`,{src:`/funnel-demo/general-justin.mp3`,words:[{start:250,end:550},{start:550,end:900},{start:900,end:1150},{start:1150,end:1313},{start:1313,end:1375},{start:1375,end:1725},{start:1725,end:2550},{start:2550,end:2675},{start:2675,end:2838},{start:2838,end:2938},{start:2938,end:3325},{start:3325,end:4213},{start:4213,end:4688},{start:4688,end:5150},{start:5150,end:5350},{start:5350,end:5700},{start:5700,end:6238},{start:6238,end:6513},{start:6513,end:6925},{start:6925,end:7050},{start:7050,end:7263},{start:7263,end:7625},{start:7625,end:7825},{start:7825,end:7988},{start:7988,end:8575},{start:8575,end:9338},{start:9338,end:9513},{start:9513,end:9788},{start:9788,end:10600}]}]])]]);function Ut(e,t){let n=Ht.get(e)?.get(t);if(!n)throw Error(`Missing funnel demo clip: ${e}/${t}`);return n}var Wt=[.75,1,1.25,1.5,2,3],Gt=e=>`${Number.isInteger(e)?`${e.toString()}.0`:e.toString()}Ã`,Kt=()=>[{name:it(),time:`0:00`},{name:D(),time:`1:12`},{name:A(),time:`4:30`},{name:N(),time:`8:05`},{name:S(),time:`10:40`}],qt=`12:03`,Jt=e=>{let[t=0,n=0]=e.split(`:`).map(Number);return t*60+n};function Yt(e){let t=(0,Mt.c)(4),{variant:n,initialVoice:r,onPlay:i}=e,a=n===void 0?`research`:n,o=r===void 0?`Scarlett`:r,s;return t[0]!==o||t[1]!==i||t[2]!==a?(s=(0,$.jsx)(Zt,{initialVoice:o,layout:`full`,onPlay:i,variant:a}),t[0]=o,t[1]=i,t[2]=a,t[3]=s):s=t[3],s}function Xt(e){let t=(0,Mt.c)(4),{variant:n,initialVoice:r,onPlay:i}=e,a=n===void 0?`research`:n,o=r===void 0?`Scarlett`:r,s;return t[0]!==o||t[1]!==i||t[2]!==a?(s=(0,$.jsx)(Zt,{initialVoice:o,layout:`onboarding`,onPlay:i,variant:a}),t[0]=o,t[1]=i,t[2]=a,t[3]=s):s=t[3],s}function Zt(e){let t=(0,Mt.c)(142),{variant:n,layout:r,initialVoice:i,onPlay:a}=e,o=r===`onboarding`,[s,c]=(0,Q.useState)(i),[l,u]=(0,Q.useState)(1),[d,f]=(0,Q.useState)(!1),[h,ie]=(0,Q.useState)(-1),[ae,g]=(0,Q.useState)(1),se=(0,Q.useRef)(null),ce=(0,Q.useRef)(null),ue=(0,Q.useRef)(0),de;t[0]===n?de=t[1]:(de=zt(n),t[0]=n,t[1]=de);let fe=de,pe;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(pe=()=>{ce.current!==null&&(cancelAnimationFrame(ce.current),ce.current=null)},t[2]=pe):pe=t[2];let me=pe,ge;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(ge=()=>{ue.current+=1,me();let e=se.current;e&&(e.pause(),e.currentTime=0),f(!1),ie(-1)},t[3]=ge):ge=t[3];let _e=ge,ye,be;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(ye=()=>_e,be=[_e],t[4]=ye,t[5]=be):(ye=t[4],be=t[5]),(0,Q.useEffect)(ye,be);let Se;t[6]!==a||t[7]!==l?(Se=e=>{let t=se.current;if(!t)return;a?.(),me();let n=ue.current+=1;t.src.endsWith(e.src)?t.currentTime=0:t.src=e.src,t.playbackRate=Wt[l]??1,t.play().then(()=>{if(ue.current!==n)return;f(!0);let t=()=>{let n=se.current;n&&(ie(oe(e.words,n.currentTime*1e3)),ce.current=requestAnimationFrame(t))};ce.current=requestAnimationFrame(t)},()=>{ue.current===n&&_e()})},t[6]=a,t[7]=l,t[8]=Se):Se=t[8];let _=Se,we;t[9]!==_||t[10]!==d||t[11]!==n||t[12]!==s?(we=function(){d?_e():_(Ut(n,s))},t[9]=_,t[10]=d,t[11]=n,t[12]=s,t[13]=we):we=t[13];let Te=we,De;t[14]!==_||t[15]!==n?(De=function(e){c(e),_(Ut(n,e))},t[14]=_,t[15]=n,t[16]=De):De=t[16];let v=De,ke;t[17]!==v||t[18]!==s?(ke=function(){v(Pt[(Pt.indexOf(s)+1)%Pt.length]??`Scarlett`)},t[17]=v,t[18]=s,t[19]=ke):ke=t[19];let Ae=ke,Me;t[20]===l?Me=t[21]:(Me=function(){let e=(l+1)%Wt.length;u(e);let t=se.current;t&&(t.playbackRate=Wt[e]??1)},t[20]=l,t[21]=Me);let Ne=Me,y,Fe,b,x,S,C,w,T,E,D,O,k,A,j,M,N;if(t[22]!==o||t[23]!==ae||t[24]!==n||t[25]!==h||t[26]!==fe){y=Kt();let e=Math.round(Jt(y[ae]?.time??`0:00`)/Jt(qt)*100),r;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(r=Ft.split(` `),t[43]=r):r=t[43];let i=r.length,a;t[44]===h?a=t[45]:(a=(e,t)=>(0,$.jsx)(`span`,{className:p(`rounded-[3px] px-px transition-colors duration-100`,t===h&&`bg-azure-595 text-white`),children:e},t),t[44]=h,t[45]=a);let s=a;j=`w-full`,t[46]===Symbol.for(`react.memo_cache_sentinel`)?(M=(0,$.jsx)(`audio`,{onEnded:_e,preload:`none`,ref:se}),t[46]=M):M=t[46],t[47]===o?N=t[48]:(N=!o&&(0,$.jsxs)(`div`,{className:`mb-3 flex items-center gap-1.5 text-xs font-bold tracking-wide text-azure-455`,children:[`â¶ `,Oe()]}),t[47]=o,t[48]=N);let c=o&&`block`;t[49]===c?k=t[50]:(k=p(`flex flex-wrap items-start gap-4`,c),t[49]=c,t[50]=k),A=!o&&(0,$.jsxs)(`div`,{className:`order-2 hidden w-[162px] shrink-0 rounded-xl border border-steel-120 bg-white p-3.5 shadow-md md:block`,children:[(0,$.jsx)(`div`,{className:`px-2 pb-2 text-[10.5px] font-bold tracking-wider text-steel-700 uppercase`,children:Ee()}),(0,$.jsx)(`div`,{className:`flex flex-col gap-px`,children:y.map((e,t)=>{let n=t<ae?`done`:t===ae?`now`:`up`;return(0,$.jsx)(m,{className:p(`h-auto w-full justify-start gap-2 rounded-lg px-2 py-1.5 text-left font-normal hover:bg-mist-165`,n===`now`&&`bg-mist-385`),onClick:()=>g(t),type:`button`,variant:`ghost`,children:(0,$.jsx)(Nt,{meta:n===`done`?Le():e.time,name:e.name,status:n})},e.name)})}),(0,$.jsx)(`div`,{className:`mt-1.5 border-t border-steel-120 px-2 pt-2 text-[11px] leading-snug text-steel-700`,children:He()})]});let l=!o&&`rounded-xl border border-steel-120 bg-white p-[18px] shadow-md`;t[51]===l?T=t[52]:(T=p(`min-w-0 flex-1 sm:min-w-[280px]`,l),t[51]=l,t[52]=T),t[53]!==o||t[54]!==n?(E=!o&&(0,$.jsxs)(`div`,{className:`mb-3 flex items-center justify-between`,children:[(0,$.jsx)(`span`,{className:`text-[15px] font-extrabold`,children:n===`general`?Ce():Ie()}),(0,$.jsx)(`span`,{className:`text-xs text-steel-700`,children:n===`general`?xe():Pe()})]}),t[53]=o,t[54]=n,t[55]=E):E=t[55],t[56]!==s||t[57]!==n||t[58]!==fe?(D=(0,$.jsx)(`div`,{className:`rounded-[10px] border border-steel-120 bg-mist-330 px-[18px] py-4 text-base leading-relaxed`,children:n===`general`?(0,$.jsx)($.Fragment,{children:fe.map((e,t)=>(0,$.jsxs)(`span`,{children:[s(e,t),` `]},t))}):(0,$.jsxs)($.Fragment,{children:[Ft.split(` `).map((e,t)=>(0,$.jsxs)(`span`,{children:[s(e,t),` `]},t)),(0,$.jsx)(`span`,{className:`text-steel-260 line-through decoration-scarlet-400 decoration-[1.5px]`,children:It}),` `,Lt.split(` `).map((e,t)=>(0,$.jsxs)(`span`,{children:[s(e,t+i),` `]},t+i)),(0,$.jsxs)(`span`,{className:`mt-2.5 block border-t border-dashed border-steel-120 pt-2.5 font-sans text-[13px] text-steel-260`,children:[(0,$.jsx)(`span`,{className:`mr-1.5 inline-block rounded-[5px] bg-scarlet-200 px-1.5 py-px text-[10px] font-bold text-scarlet-400 no-underline`,children:Be()}),je()]})]})}),t[56]=s,t[57]=n,t[58]=fe,t[59]=D):D=t[59];let u;t[60]===n?u=t[61]:(u=n===`general`?ze():Ge(),t[60]=n,t[61]=u),t[62]===u?O=t[63]:(O=(0,$.jsxs)(`div`,{className:`mt-3 mb-1 flex items-center gap-1.5 px-0.5 text-[12.5px] font-semibold text-jade-750`,children:[`â`,` `,u]}),t[62]=u,t[63]=O),w=`mt-3 border-t border-steel-120 pt-3.5`,S=`flex items-center gap-2.5`;let d=y[ae]?.time??`0:00`;t[64]===d?C=t[65]:(C=(0,$.jsx)(`span`,{className:`text-[11.5px] text-steel-700 tabular-nums`,children:d}),t[64]=d,t[65]=C),x=`h-[5px] flex-1 overflow-hidden rounded-full bg-steel-120`,b=`block h-full rounded-full bg-azure-595`,Fe=e.toString(),t[22]=o,t[23]=ae,t[24]=n,t[25]=h,t[26]=fe,t[27]=y,t[28]=Fe,t[29]=b,t[30]=x,t[31]=S,t[32]=C,t[33]=w,t[34]=T,t[35]=E,t[36]=D,t[37]=O,t[38]=k,t[39]=A,t[40]=j,t[41]=M,t[42]=N}else y=t[27],Fe=t[28],b=t[29],x=t[30],S=t[31],C=t[32],w=t[33],T=t[34],E=t[35],D=t[36],O=t[37],k=t[38],A=t[39],j=t[40],M=t[41],N=t[42];let Re=`${Fe}%`,P;t[66]===Re?P=t[67]:(P={width:Re},t[66]=Re,t[67]=P);let F;t[68]!==b||t[69]!==P?(F=(0,$.jsx)(`i`,{className:b,style:P}),t[68]=b,t[69]=P,t[70]=F):F=t[70];let I;t[71]!==x||t[72]!==F?(I=(0,$.jsx)(`div`,{className:x,children:F}),t[71]=x,t[72]=F,t[73]=I):I=t[73];let Ve;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=(0,$.jsx)(`span`,{className:`text-[11.5px] text-steel-700 tabular-nums`,children:qt}),t[74]=Ve):Ve=t[74];let L;t[75]!==S||t[76]!==C||t[77]!==I?(L=(0,$.jsxs)(`div`,{className:S,children:[C,I,Ve]}),t[75]=S,t[76]=C,t[77]=I,t[78]=L):L=t[78];let Ue;t[79]===Symbol.for(`react.memo_cache_sentinel`)?(Ue=ve(),t[79]=Ue):Ue=t[79];let We;t[80]===Symbol.for(`react.memo_cache_sentinel`)?(We=(0,$.jsx)(m,{"aria-label":Ue,className:`size-8 rounded-full text-steel-880 hover:bg-mist-165`,onClick:()=>g(Qt),size:`icon`,type:`button`,variant:`ghost`,children:`â®`}),t[80]=We):We=t[80];let R;t[81]===d?R=t[82]:(R=d?te():re(),t[81]=d,t[82]=R);let z;t[83]===d?z=t[84]:(z=d?(0,$.jsx)(`span`,{className:`block size-3 rounded-[2px] bg-white`}):(0,$.jsx)(`span`,{className:`ml-1 block border-y-[9px] border-l-[14px] border-y-transparent border-l-white`}),t[83]=d,t[84]=z);let B;t[85]!==R||t[86]!==z||t[87]!==Te?(B=(0,$.jsx)(m,{"aria-label":R,className:`size-[46px] rounded-full bg-azure-595 text-white shadow-[0_6px_16px_rgba(5,135,251,0.35)] hover:bg-azure-700`,onClick:Te,size:`icon`,type:`button`,children:z}),t[85]=R,t[86]=z,t[87]=Te,t[88]=B):B=t[88];let Ke;t[89]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=he(),t[89]=Ke):Ke=t[89];let qe;t[90]===y?qe=t[91]:(qe=(0,$.jsx)(m,{"aria-label":Ke,className:`size-8 rounded-full text-steel-880 hover:bg-mist-165`,onClick:()=>g(e=>Math.min(y.length-1,e+1)),size:`icon`,type:`button`,variant:`ghost`,children:`â`}),t[90]=y,t[91]=qe);let V;t[92]!==B||t[93]!==qe?(V=(0,$.jsxs)(`div`,{className:`flex items-center gap-3`,children:[We,B,qe]}),t[92]=B,t[93]=qe,t[94]=V):V=t[94];let Je;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(Je=ee(),t[95]=Je):Je=t[95];let Ye=Wt[l]??1,H;t[96]===Ye?H=t[97]:(H=Gt(Ye),t[96]=Ye,t[97]=H);let U;t[98]!==Ne||t[99]!==H?(U=(0,$.jsx)(m,{"aria-label":Je,className:`h-auto rounded-full bg-mist-385 px-3 py-1.5 text-[12.5px] font-bold text-azure-455 tabular-nums hover:bg-mist-605`,onClick:Ne,type:`button`,variant:`secondary`,children:H}),t[98]=Ne,t[99]=H,t[100]=U):U=t[100];let Xe;t[101]===Symbol.for(`react.memo_cache_sentinel`)?(Xe=le(),t[101]=Xe):Xe=t[101];let W;t[102]===s?W=t[103]:(W=Vt(s),t[102]=s,t[103]=W);let G;t[104]!==W||t[105]!==s?(G=(0,$.jsx)(`img`,{alt:s,className:`block size-[34px] rounded-full border-2 border-azure-595`,src:W}),t[104]=W,t[105]=s,t[106]=G):G=t[106];let K;t[107]!==Ae||t[108]!==G?(K=(0,$.jsx)(m,{"aria-label":Xe,className:`size-[34px] rounded-full p-0`,onClick:Ae,size:`icon`,type:`button`,variant:`ghost`,children:G}),t[107]=Ae,t[108]=G,t[109]=K):K=t[109];let q;t[110]!==U||t[111]!==K?(q=(0,$.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[U,K]}),t[110]=U,t[111]=K,t[112]=q):q=t[112];let J;t[113]!==V||t[114]!==q?(J=(0,$.jsxs)(`div`,{className:`mt-3 flex flex-wrap items-center justify-center gap-x-3 gap-y-2 sm:justify-between`,children:[V,q]}),t[113]=V,t[114]=q,t[115]=J):J=t[115];let Y;t[116]!==w||t[117]!==L||t[118]!==J?(Y=(0,$.jsxs)(`div`,{className:w,children:[L,J]}),t[116]=w,t[117]=L,t[118]=J,t[119]=Y):Y=t[119];let Ze;t[120]===Symbol.for(`react.memo_cache_sentinel`)?(Ze=(0,$.jsx)(`span`,{className:`text-[11px] font-bold tracking-wider text-steel-700 uppercase`,children:ne()}),t[120]=Ze):Ze=t[120];let X;t[121]!==v||t[122]!==s?(X=Pt.map(e=>(0,$.jsxs)(m,{className:p(`h-auto gap-2 rounded-full border-[1.5px] py-1 pr-3.5 pl-1 text-[13.5px] font-semibold`,e===s?`border-azure-595 bg-mist-385`:`border-steel-120 bg-white hover:border-cloud-50`),onClick:()=>v(e),type:`button`,variant:`outline`,children:[(0,$.jsx)(`img`,{alt:``,className:`block size-7 rounded-full`,src:Vt(e)}
1),(0,$.jsx)(`span`,{children:e})]},e)),t[121]=v,t[122]=s,t[123]=X):X=t[123];let Qe;t[124]===X?Qe=t[125]:(Qe=(0,$.jsxs)(`div`,{className:`mt-3 flex flex-wrap items-center gap-3 border-t border-steel-120 pt-3`,children:[Ze,(0,$.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:X})]}),t[124]=X,t[125]=Qe);let $e;t[126]!==T||t[127]!==E||t[128]!==D||t[129]!==O||t[130]!==Y||t[131]!==Qe?($e=(0,$.jsxs)(`div`,{className:T,children:[E,D,O,Y,Qe]}),t[126]=T,t[127]=E,t[128]=D,t[129]=O,t[130]=Y,t[131]=Qe,t[132]=$e):$e=t[132];let Z;t[133]!==k||t[134]!==A||t[135]!==$e?(Z=(0,$.jsxs)(`div`,{className:k,children:[A,$e]}),t[133]=k,t[134]=A,t[135]=$e,t[136]=Z):Z=t[136];let et;return t[137]!==j||t[138]!==M||t[139]!==N||t[140]!==Z?(et=(0,$.jsxs)(`div`,{className:j,children:[M,N,Z]}),t[137]=j,t[138]=M,t[139]=N,t[140]=Z,t[141]=et):et=t[141],et}function Qt(e){return Math.max(0,e-1)}export{W as A,S as B,kt as C,$e as D,tt as E,He as F,Ee as H,N as I,A as L,V as M,Ge as N,Ze as O,R as P,D as R,jt as S,it as T,fe as U,Ie as V,Ct as _,Ft as a,Tt as b,Nt as c,mt as d,ht as f,wt as g,Dt as h,Bt as i,H as j,q as k,gt as l,pt as m,Yt as n,Lt as o,ft as p,Vt as r,It as s,Xt as t,Et as u,xt as v,bt as w,At as x,St as y,Le as z}; 2//# sourceMappingURL=reader-demo-CjS_7cHJ.js.map
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.