PageSourceSearch

https://www.listening.com/assets/reader-demo-DN27H5dn.js

js listening.com collected 2026-09-24 08:54:04 UTC 25,097 bytes, 2 lines download raw bytes

1import{a as e,n as t,t as n}from"./jsx-runtime-D3jfb0Ew.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-CAUmIdFq.js";import{t as d}from"./compiler-runtime-DPI-XUKY.js";import{n as f}from"./runtime-DiOawCOS.js";import{n as p,r as ee,t as te}from"./playbar_voice-CuduWzLW.js";import{t as ne}from"./common_play-Xw1VWVxi.js";import{t as m}from"./react-helpers-C5OeIvDv.js";import{t as h}from"./button-Bc0xEbQM.js";import{t as g}from"./IconoirContext-CGJujWYv.js";import{t as re}from"./Check-YbN2NCke.js";import{t as _}from"./Play-F8MCFmFP.js";import{t as v}from"./voices-Clwddw2A.js";import{t as ie}from"./alignment-C7hzx6Ot.js";var ae=()=>`Change voice`,oe=()=>`Cambiar voz`,se=(e={},t={})=>(t.locale??f())===`es`?oe(e):ae(e),ce=()=>`Email`,le=()=>`Correo electrónico`,ue=(e={},t={})=>(t.locale??f())===`es`?le(e):ce(e),de=()=>`Next section`,fe=()=>`Sección siguiente`,pe=(e={},t={})=>(t.locale??f())===`es`?fe(e):de(e),me=()=>`Previous section`,he=()=>`Sección anterior`,ge=(e={},t={})=>(t.locale??f())===`es`?he(e):me(e),_e=()=>`Sample article`,ve=()=>`Artículo de ejemplo`,ye=(e={},t={})=>(t.locale??f())===`es`?ve(e):_e(e),be=()=>`Your article`,y=()=>`Tu artículo`,xe=(e={},t={})=>(t.locale??f())===`es`?y(e):be(e),Se=()=>`Chapters`,Ce=()=>`Capítulos`,we=(e={},t={})=>(t.locale??f())===`es`?Ce(e):Se(e),Te=()=>`Hear a real paper, press play`,b=()=>`Escucha un artículo real, dale a reproducir`,Ee=(e={},t={})=>(t.locale??f())===`es`?b(e):Te(e),De=()=>`¹ See also Tversky & Kahneman (1992), pp. 297–323.`,Oe=()=>`¹ Véase también Tversky y Kahneman (1992), pp. 297–323.`,ke=(e={},t={})=>(t.locale??f())===`es`?Oe(e):De(e),Ae=()=>`Sample paper · 12 pp`,je=()=>`Artículo de ejemplo · 12 págs.`,Me=(e={},t={})=>(t.locale??f())===`es`?je(e):Ae(e),x=()=>`Prospect Theory`,Ne=()=>`Teoría prospectiva`,Pe=(e={},t={})=>(t.locale??f())===`es`?Ne(e):x(e),S=()=>`Discussion`,C=()=>`Discusión`,w=(e={},t={})=>(t.locale??f())===`es`?C(e):S(e),T=()=>`Done`,E=()=>`Listo`,Fe=(e={},t={})=>(t.locale??f())===`es`?E(e):T(e),D=()=>`Introduction`,O=()=>`Introducción`,k=(e={},t={})=>(t.locale??f())===`es`?O(e):D(e),A=()=>`Methods`,j=()=>`Métodos`,M=(e={},t={})=>(t.locale??f())===`es`?j(e):A(e),N=()=>`Results`,P=()=>`Resultados`,F=(e={},t={})=>(t.locale??f())===`es`?P(e):N(e),Ie=()=>`A natural, human voice, not a robot`,I=()=>`Una voz natural y humana, no un robot`,Le=(e={},t={})=>(t.locale??f())===`es`?I(e):Ie(e),L=()=>`SKIPPED`,R=()=>`OMITIDO`,Re=(e={},t={})=>(t.locale??f())===`es`?R(e):L(e),ze=()=>`Listen to any section. Skip the rest.`,z=()=>`Escucha la sección que quieras. Sáltate el resto.`,Be=(e={},t={})=>(t.locale??f())===`es`?z(e):ze(e),Ve=()=>`Saved to your notes`,He=()=>`Guardado en tus notas`,Ue=(e={},t={})=>(t.locale??f())===`es`?He(e):Ve(e),B=()=>`Skips citations & footnotes`,V=()=>`Omite citas y notas al pie`,We=(e={},t={})=>(t.locale??f())===`es`?V(e):B(e),Ge=()=>`Maya R.`,H=()=>`Maya R.`,U=(e={},t={})=>(t.locale??f())===`es`?H(e):Ge(e),Ke=()=>`I get through my entire reading list on my commute now. I don't know how I studied without it.`,qe=()=>`Ahora avanzo con toda mi lista de lectura en el trayecto al campus. No sé cómo estudiaba antes de esto.`,W=(e={},t={})=>(t.locale??f())===`es`?qe(e):Ke(e),G=()=>`PhD candidate`,Je=()=>`Doctoranda`,K=(e={},t={})=>(t.locale??f())===`es`?Je(e):G(e),q=()=>`Jordan C.`,J=()=>`Jordan C.`,Y=(e={},t={})=>(t.locale??f())===`es`?J(e):q(e),X=()=>`EPUB`,Ye=()=>`EPUB`,Xe=(e={},t={})=>(t.locale??f())===`es`?Ye(e):X(e),Ze=()=>`Photo of a page`,Qe=()=>`Foto de una página`,$e=(e={},t={})=>(t.locale??f())===`es`?Qe(e):Ze(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)&&lt(e,n,t[n]);if(ot)for(var n of ot(t))ct.call(t,n)&&lt(e,n,t[n]);return e},dt=(0,Q.forwardRef)((e,t)=>{let n=ut(ut({},Q.useContext(g)),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([`welcome`,`segment`,`demo`,`goals`,`proof`,`bring-anything`,`daily-goal`,`recap`,`signup`,`paywall`,`done`]),gt=r([`benef
1it-`,ft]),_t=o([ht,gt]);c([`open`,`anonymous`,`authenticated`]);function vt(e){return e===`welcome`?`anonymous`:e===`paywall`?`authenticated`:`open`}var yt=i(ft),bt=i(pt),xt=i(mt),St=i(gt),Ct=i(_t),wt=`academic`;function Tt(e){return[`welcome`,`segment`,`demo`,`goals`,...e.length>0?e.map(Et):[Et(`faster`)],`proof`,`bring-anything`,`daily-goal`,`recap`,`signup`,`paywall`,`done`]}function Et(e){return`benefit-${e}`}function Dt(e,t){return Tt(t).indexOf(e)}function Ot(e,t){let n=Tt(t),r=n.indexOf(e);return r===-1?St(e)?`proof`:void 0:n[r+1]}function kt(e,t){let n=Tt(t),r=n.indexOf(e);return r===-1?St(e)?`goals`:void 0:r>0?n[r-1]:void 0}var At=d(),$=e(n(),1);function jt(e){let t=(0,At.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=m(`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)(re,{"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)(_,{"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 p;t[15]===r?p=t[16]:(p=(0,$.jsx)(`span`,{className:`truncate text-[12.5px] leading-tight font-semibold`,children:r}),t[15]=r,t[16]=p);let ee=n===`done`&&`text-jade-750`,te=n===`now`&&`text-azure-455`,ne=n===`up`&&`text-steel-700`,h;t[17]!==ee||t[18]!==te||t[19]!==ne?(h=m(`text-[11px] leading-tight font-semibold tabular-nums`,ee,te,ne),t[17]=ee,t[18]=te,t[19]=ne,t[20]=h):h=t[20];let g;t[21]!==i||t[22]!==h?(g=(0,$.jsx)(`span`,{className:h,children:i}),t[21]=i,t[22]=h,t[23]=g):g=t[23];let v;t[24]!==g||t[25]!==p?(v=(0,$.jsxs)(`span`,{className:`flex min-w-0 flex-col`,children:[p,g]}),t[24]=g,t[25]=p,t[26]=v):v=t[26];let ie;return t[27]!==v||t[28]!==f?(ie=(0,$.jsxs)($.Fragment,{children:[f,v]}),t[27]=v,t[28]=f,t[29]=ie):ie=t[29],ie}var Mt=c([`Scarlett`,`Hugh`,`Amy`,`Justin`]).literals;c([`research`,`general`]).literals;var Nt=`Prospect theory predicts that people weigh potential losses more heavily than equivalent gains.`,Pt=`(Kahneman & Tversky, 1979)¹`,Ft=`This asymmetry, known as loss aversion, reshapes how we model decisions under risk.`,It=`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 Lt(e){return e===`general`?It.split(` `):[...Nt.split(` `),...Ft.split(` `)]}function Rt({className:e,text:t}){return t.split(/\[(.*?)]/).map((t,n)=>n%2==1?(0,$.jsx)(`span`,{className:e,children:t},n):t)}function zt(e){let t=v.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 Bt=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 Vt(e,t){let n=Bt.get(e)?.get(t);if(!n)throw Error(`Missing funnel demo clip: ${e}/${t}`);return n}var Ht=[.75,1,1.25,1.5,2,3],Ut=e=>`${Number.isInteger(e)?`${e.toString()}.0`:e.toString()}×`,Wt=()=>[{name:it(),time:`0:00`},{name:k(),time:`1:12`},{name:M(),time:`4:30`},{name:F(),time:`8:05`},{name:w(),time:`10:40`}],Gt=`12:03`,Kt=e=>{let[t=0,n=0]=e.split(`:`).map(Number);return t*60+n};function qt(e){let t=(0,At.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)(Yt,{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 Jt(e){let t=(0,At.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)(Yt,{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 Yt(e){let t=(0,At.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),[g,re]=(0,Q.useState)(-1),[_,v]=(0,Q.useState)(1),ae=(0,Q.useRef)(null),oe=(0,Q.useRef)(null),ce=(0,Q.useRef)(0),le;t[0]===n?le=t[1]:(le=Lt(n),t[0]=n,t[1]=le);let ue=le,de;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(de=()=>{oe.current!==null&&(cancelAnimationFrame(oe.current),oe.current=null)},t[2]=de):de=t[2];let fe=de,me;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(me=()=>{ce.current+=1,fe();let e=ae.current;e&&(e.pause(),e.currentTime=0),f(!1),re(-1)},t[3]=me):me=t[3];let he=me,_e,ve;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(_e=()=>he,ve=[he],t[4]=_e,t[5]=ve):(_e=t[4],ve=t[5]),(0,Q.useEffect)(_e,ve);let be;t[6]!==a||t[7]!==l?(be=e=>{let t=ae.current;if(!t)return;a?.(),fe();let n=ce.current+=1;t.src.endsWith(e.src)?t.currentTime=0:t.src=e.src,t.playbackRate=Ht[l]??1,t.play().then(()=>{if(ce.current!==n)return;f(!0);let t=()=>{let n=ae.current;n&&(re(ie(e.words,n.currentTime*1e3)),oe.current=requestAnimationFrame(t))};oe.current=requestAnimationFrame(t)},()=>{ce.current===n&&he()})},t[6]=a,t[7]=l,t[8]=be):be=t[8];let y=be,Se;t[9]!==y||t[10]!==d||t[11]!==n||t[12]!==s?(Se=function(){d?he():y(Vt(n,s))},t[9]=y,t[10]=d,t[11]=n,t[12]=s,t[13]=Se):Se=t[13];let Ce=Se,Te;t[14]!==y||t[15]!==n?(Te=function(e){c(e),y(Vt(n,e))},t[14]=y,t[15]=n,t[16]=Te):Te=t[16];let b=Te,De;t[17]!==b||t[18]!==s?(De=function(){b(Mt[(Mt.indexOf(s)+1)%Mt.length]??`Scarlett`)},t[17]=b,t[18]=s,t[19]=De):De=t[19];let Oe=De,Ae;t[20]===l?Ae=t[21]:(Ae=function(){let e=(l+1)%Ht.length;u(e);let t=ae.current;t&&(t.playbackRate=Ht[e]??1)},t[20]=l,t[21]=Ae);let je=Ae,x,Ne,S,C,w,T,E,D,O,k,A,j,M,N,P,F;if(t[22]!==o||t[23]!==_||t[24]!==n||t[25]!==g||t[26]!==ue){x=Wt();let e=Math.round(Kt(x[_]?.time??`0:00`)/Kt(Gt)*100),r;t[43]===Symbol.for(`react.memo_cache_sentinel`)?(r=Nt.split(` `),t[43]=r):r=t[43];let i=r.length,a;t[44]===g?a=t[45]:(a=(e,t)=>(0,$.jsx)(`span`,{className:m(`rounded-[3px] px-px transition-colors duration-100`,t===g&&`bg-azure-595 text-white`),children:e},t),t[44]=g,t[45]=a);let s=a;N=`w-full`,t[46]===Symbol.for(`react.memo_cache_sentinel`)?(P=(0,$.jsx)(`audio`,{onEnded:he,preload:`none`,ref:ae}),t[46]=P):P=t[46],t[47]===o?F=t[48]:(F=!o&&(0,$.jsxs)(`div`,{className:`mb-3 flex items-center gap-1.5 text-xs font-bold tracking-wide text-azure-455`,children:[`▶ `,Ee()]}),t[47]=o,t[48]=F);let c=o&&`block`;t[49]===c?j=t[50]:(j=m(`flex flex-wrap items-start gap-4`,c),t[49]=c,t[50]=j),M=!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:we()}),(0,$.jsx)(`div`,{className:`flex flex-col gap-px`,children:x.map((e,t)=>{let n=t<_?`done`:t===_?`now`:`up`;return(0,$.jsx)(h,{className:m(`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:()=>v(t),type:`button`,variant:`ghost`,children:(0,$.jsx)(jt,{meta:n===`done`?Fe():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:Be()})]});let l=!o&&`rounded-xl border border-steel-120 bg-white p-[18px] shadow-md`;t[51]===l?D=t[52]:(D=m(`min-w-0 flex-1 sm:min-w-[280px]`,l),t[51]=l,t[52]=D),t[53]!==o||t[54]!==n?(O=!o&&(0,$.jsxs)(`div`,{className:`mb-3 flex items-center justify-between`,children:[(0,$.jsx)(`span`,{className:`text-[15px] font-extrabold`,children:n===`general`?xe():Pe()}),(0,$.jsx)(`span`,{className:`text-xs text-steel-700`,children:n===`general`?ye():Me()})]}),t[53]=o,t[54]=n,t[55]=O):O=t[55],t[56]!==s||t[57]!==n||t[58]!==ue?(k=(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:ue.map((e,t)=>(0,$.jsxs)(`span`,{children:[s(e,t),` `]},t))}):(0,$.jsxs)($.Fragment,{children:[Nt.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:Pt}),` `,Ft.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:Re()}),ke()]})]})}),t[56]=s,t[57]=n,t[58]=ue,t[59]=k):k=t[59];let u;t[60]===n?u=t[61]:(u=n===`general`?Le():We(),t[60]=n,t[61]=u),t[62]===u?A=t[63]:(A
1=(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]=A),E=`mt-3 border-t border-steel-120 pt-3.5`,w=`flex items-center gap-2.5`;let d=x[_]?.time??`0:00`;t[64]===d?T=t[65]:(T=(0,$.jsx)(`span`,{className:`text-[11.5px] text-steel-700 tabular-nums`,children:d}),t[64]=d,t[65]=T),C=`h-[5px] flex-1 overflow-hidden rounded-full bg-steel-120`,S=`block h-full rounded-full bg-azure-595`,Ne=e.toString(),t[22]=o,t[23]=_,t[24]=n,t[25]=g,t[26]=ue,t[27]=x,t[28]=Ne,t[29]=S,t[30]=C,t[31]=w,t[32]=T,t[33]=E,t[34]=D,t[35]=O,t[36]=k,t[37]=A,t[38]=j,t[39]=M,t[40]=N,t[41]=P,t[42]=F}else x=t[27],Ne=t[28],S=t[29],C=t[30],w=t[31],T=t[32],E=t[33],D=t[34],O=t[35],k=t[36],A=t[37],j=t[38],M=t[39],N=t[40],P=t[41],F=t[42];let Ie=`${Ne}%`,I;t[66]===Ie?I=t[67]:(I={width:Ie},t[66]=Ie,t[67]=I);let L;t[68]!==S||t[69]!==I?(L=(0,$.jsx)(`i`,{className:S,style:I}),t[68]=S,t[69]=I,t[70]=L):L=t[70];let R;t[71]!==C||t[72]!==L?(R=(0,$.jsx)(`div`,{className:C,children:L}),t[71]=C,t[72]=L,t[73]=R):R=t[73];let ze;t[74]===Symbol.for(`react.memo_cache_sentinel`)?(ze=(0,$.jsx)(`span`,{className:`text-[11.5px] text-steel-700 tabular-nums`,children:Gt}),t[74]=ze):ze=t[74];let z;t[75]!==w||t[76]!==T||t[77]!==R?(z=(0,$.jsxs)(`div`,{className:w,children:[T,R,ze]}),t[75]=w,t[76]=T,t[77]=R,t[78]=z):z=t[78];let Ve;t[79]===Symbol.for(`react.memo_cache_sentinel`)?(Ve=ge(),t[79]=Ve):Ve=t[79];let He;t[80]===Symbol.for(`react.memo_cache_sentinel`)?(He=(0,$.jsx)(h,{"aria-label":Ve,className:`size-8 rounded-full text-steel-880 hover:bg-mist-165`,onClick:()=>v(Xt),size:`icon`,type:`button`,variant:`ghost`,children:`⏮`}),t[80]=He):He=t[80];let Ue;t[81]===d?Ue=t[82]:(Ue=d?ee():ne(),t[81]=d,t[82]=Ue);let B;t[83]===d?B=t[84]:(B=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]=B);let V;t[85]!==Ue||t[86]!==B||t[87]!==Ce?(V=(0,$.jsx)(h,{"aria-label":Ue,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:Ce,size:`icon`,type:`button`,children:B}),t[85]=Ue,t[86]=B,t[87]=Ce,t[88]=V):V=t[88];let Ge;t[89]===Symbol.for(`react.memo_cache_sentinel`)?(Ge=pe(),t[89]=Ge):Ge=t[89];let H;t[90]===x?H=t[91]:(H=(0,$.jsx)(h,{"aria-label":Ge,className:`size-8 rounded-full text-steel-880 hover:bg-mist-165`,onClick:()=>v(e=>Math.min(x.length-1,e+1)),size:`icon`,type:`button`,variant:`ghost`,children:`⏭`}),t[90]=x,t[91]=H);let U;t[92]!==V||t[93]!==H?(U=(0,$.jsxs)(`div`,{className:`flex items-center gap-3`,children:[He,V,H]}),t[92]=V,t[93]=H,t[94]=U):U=t[94];let Ke;t[95]===Symbol.for(`react.memo_cache_sentinel`)?(Ke=p(),t[95]=Ke):Ke=t[95];let qe=Ht[l]??1,W;t[96]===qe?W=t[97]:(W=Ut(qe),t[96]=qe,t[97]=W);let G;t[98]!==je||t[99]!==W?(G=(0,$.jsx)(h,{"aria-label":Ke,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:je,type:`button`,variant:`secondary`,children:W}),t[98]=je,t[99]=W,t[100]=G):G=t[100];let Je;t[101]===Symbol.for(`react.memo_cache_sentinel`)?(Je=se(),t[101]=Je):Je=t[101];let K;t[102]===s?K=t[103]:(K=zt(s),t[102]=s,t[103]=K);let q;t[104]!==K||t[105]!==s?(q=(0,$.jsx)(`img`,{alt:s,className:`block size-[34px] rounded-full border-2 border-azure-595`,src:K}),t[104]=K,t[105]=s,t[106]=q):q=t[106];let J;t[107]!==Oe||t[108]!==q?(J=(0,$.jsx)(h,{"aria-label":Je,className:`size-[34px] rounded-full p-0`,onClick:Oe,size:`icon`,type:`button`,variant:`ghost`,children:q}),t[107]=Oe,t[108]=q,t[109]=J):J=t[109];let Y;t[110]!==G||t[111]!==J?(Y=(0,$.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[G,J]}),t[110]=G,t[111]=J,t[112]=Y):Y=t[112];let X;t[113]!==U||t[114]!==Y?(X=(0,$.jsxs)(`div`,{className:`mt-3 flex flex-wrap items-center justify-center gap-x-3 gap-y-2 sm:justify-between`,children:[U,Y]}),t[113]=U,t[114]=Y,t[115]=X):X=t[115];let Ye;t[116]!==E||t[117]!==z||t[118]!==X?(Ye=(0,$.jsxs)(`div`,{className:E,children:[z,X]}),t[116]=E,t[117]=z,t[118]=X,t[119]=Ye):Ye=t[119];let Xe;t[120]===Symbol.for(`react.memo_cache_sentinel`)?(Xe=(0,$.jsx)(`span`,{className:`text-[11px] font-bold tracking-wider text-steel-700 uppercase`,children:te()}),t[120]=Xe):Xe=t[120];let Ze;t[121]!==b||t[122]!==s?(Ze=Mt.map(e=>(0,$.jsxs)(h,{className:m(`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:()=>b(e),type:`button`,variant:`outline`,children:[(0,$.jsx)(`img`,{alt:``,className:`block size-7 rounded-full`,src:zt(e)}),(0,$.jsx)(`span`,{children:e})]},e)),t[121]=b,t[122]=s,t[123]=Ze):Ze=t[123];let Qe;t[124]===Ze?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:[Xe,(0,$.jsx)(`div`,{className:`flex flex-wrap gap-2`,children:Ze})]}),t[124]=Ze,t[125]=Qe);let $e;t[126]!==D||t[127]!==O||t[128]!==k||t[129]!==A||t[130]!==Ye||t[131]!==Qe?($e=(0,$.jsxs)(`div`,{className:D,children:[O,k,A,Ye,Qe]}),t[126]=D,t[127]=O,t[128]=k,t[129]=A,t[130]=Ye,t[131]=Qe,t[132]=$e):$e=t[132];let Z;t[133]!==j||t[134]!==M||t[135]!==$e?(Z=(0,$.jsxs)(`div`,{className:j,children:[M,$e]}),t[133]=j,t[134]=M,t[135]=$e,t[136]=Z):Z=t[136];let et;return t[137]!==N||t[138]!==P||t[139]!==F||t[140]!==Z?(et=(0,$.jsxs)(`div`,{className:N,children:[P,F,Z]}),t[137]=N,t[138]=P,t[139]=F,t[140]=Z,t[141]=et):et=t[141],et}function Xt(e){return Math.max(0,e-1)}export{U as A,we as B,it as C,Y as D,Xe as E,M as F,k as I,Fe as L,Ue as M,Be as N,K as O,F as P,w as R,vt as S,$e as T,ue as V,bt as _,Nt as a,kt as b,jt as c,ft as d,pt as f,yt as g,xt as h,Rt as i,We as j,W as k,wt as l,St as m,qt as n,Ft as o,Tt as p,zt as r,Pt as s,Jt as t,mt as u,Ct as v,tt as w,Dt as x,Ot as y,Pe as z};
2//# sourceMappingURL=reader-demo-DN27H5dn.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.