1import{k as Q,u as d2,bc as u2,A as M,G as Y,r as _,B as C2,b7 as e2,ax as f2,c as C,m as E,e as o,i as d,t as S,q as j,aw as U,bd as q,o as D,S as t2,z as J,J as h2,N as m2,d as e,l as g2,$ as p2,aj as v2,an as x2,f as I,n as b2,M as _2,F as y2}from"#entry";import w2 from"./CWlDAoHA.js";import{_ as k2}from"./COmUhawQ.js";import"./Dj2NRA5t.js";import"./hpj_60Wn.js";import"./7sJ2nx5a.js";const A2=["disabled"],L2={width:"20",height:"21",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor"},B2={key:0,d:"M3.33333 18.167L3.33333 5.66699C3.33333 4.28628 4.45262 3.16699 5.83333 3.16699L14.1667 3.16699C15.5474 3.16699 16.6667 4.28628 16.6667 5.66699L16.6667 18.167C16.6667 18.8537 15.8827 19.2457 15.3333 18.8337L11 15.5837C10.4074 15.1392 9.59259 15.1392 9 15.5837L4.66666 18.8337C4.1173 19.2457 3.33333 18.8537 3.33333 18.167Z"},S2={key:1,"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.58333 17.3337L8.25 14.5837C9.28703 13.8059 10.713 13.8059 11.75 14.5837L15.4167 17.3337L15.4167 5.66699C15.4167 4.97664 14.857 4.41699 14.1667 4.41699L5.83333 4.41699C5.14297 4.41699 4.58333 4.97664 4.58333 5.66699L4.58333 17.3337ZM3.33333 18.167L3.33333 5.66699C3.33333 4.28628 4.45262 3.16699 5.83333 3.16699L14.1667 3.16699C15.5474 3.16699 16.6667 4.28628 16.6667 5.66699L16.6667 18.167C16.6667 18.8537 15.8827 19.2457 15.3333 18.8337L11 15.5837C10.4074 15.1392 9.59259 15.1392 9 15.5837L4.66666 18.8337C4.1173 19.2457 3.33333 18.8537 3.33333 18.167Z"},M2={key:0},E2={__name:"BookmarkButton",props:{article:Object,isIconOnly:{type:Boolean,default:!1}},setup(l){const r=l,{t:f}=Q(),{PORTA_MODELS_API_URL:u,PORTA_MODELS_ORGANIZATION:n}=d2().public,{bookmarkedArticles:s,disableBookmarkButton:v}=u2(),c=M("userData"),{isBr:A}=Y(),x=_(!1),{hasAccessFor:h}=C2(),i=_(!1),{openRegisterModal:L}=e2(),m=async a=>{try{const w=a.authors?.items?.map($=>({...$,longBio:""}))??[],B={user_id:c.value?.profile?.email,id:`${a?.id}-${c.value?.profile?.sub}`,article_id:a?.id,url:`${a?.slug2}`,title:a?.title,subtitre:a?.surtitre,subtitle:a?.subtitle,category:a?.category?.url,theme:a?.section_v2?.section?.url,image:a?.thumbnail?.url,created_date:a?.system?.publishedAt,author:JSON.stringify({items:w||{}})},Z=`${u}/${n}/${U.workbookModelAlias}`;await $fetch(Z,{method:"POST",body:B,headers:{Authorization:`Bearer ${c.value.access_token}`}}),s.value.push(a?.id),q("bookmark",{id:a?.id,name:a?.title})}catch(w){console.error("Failed to bookmark article:",w)}},y=async a=>{const w=`${u}/${n}/${U.workbookModelAlias}`;try{await $fetch(w,{method:"DELETE",params:{id:`${a.id}-${c.value?.profile?.sub}`},headers:{Authorization:`Bearer ${c.value.access_token}`}});const B=s.value.indexOf(a?.id);s.value.splice(B,1),q("unbookmark",{id:a?.id,name:a?.title})}catch(B){console.error("Failed to remove bookmark:",B)}},H=async()=>{if(!(v.value||i.value)){if(!h("classify-articles")){L();return}i.value=!0;try{x.value?await y(r.article):await m(r.article)}catch(a){console.error(a)}finally{i.value=!1}}};return f2(()=>{x.value=s.value?.includes(r.article?.id)}),(a,w)=>o(A)?E("",!0):(d(),C("button",{key:0,disabled:o(v)||o(i),class:j(l.isIconOnly?"":"flex w-full items-center justify-center gap-1.5 rounded-full bg-blueLight px-4 py-1.5 text-xs uppercase text-brand9 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm lg:w-auto xl:px-12"),onClick:w[0]||(w[0]=B=>H())},[(d(),C("svg",L2,[o(x)?(d(),C("path",B2)):(d(),C("path",S2))])),l.isIconOnly?E("",!0):(d(),C("span",M2,S(o(f)("Classer")),1))],10,A2))}},$2="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.913%201.66797C4.61182%201.66797%202.74634%203.53345%202.74634%205.83464V6.56431C3.60895%206.78633%204.24634%207.56938%204.24634%208.5013V10.5013C4.24634%2011.6059%203.35091%2012.5013%202.24634%2012.5013C1.14177%2012.5013%200.246338%2011.6059%200.246338%2010.5013V8.5013C0.246338%207.56938%200.883724%206.78633%201.74634%206.56431V5.83464C1.74634%202.98116%204.05953%200.667969%206.913%200.667969C9.76648%200.667969%2012.0797%202.98116%2012.0797%205.83464V6.56431C12.9423%206.78633%2013.5797%207.56938%2013.5797%208.5013V10.5013C13.5797%2011.6059%2012.6842%2012.5013%2011.5797%2012.5013C10.4751%2012.5013%209.57967%2011.6059%209.57967%2010.5013V8.5013C9.57967%207.56938%2010.2171%206.78633%2011.0797%206.56431V5.83464C11.0797%203.53345%209.21419%201.66797%206.913%201.66797ZM12.5797%2010.5013V8.5013C12.5797%207.94902%2012.132%207.5013%2011.5797%207.5013C11.0274%207.5013%2010.5797%207.94902%2010.5797%208.5013V10.5013C10.5797%2011.0536%2011.0274%2011.5013%2011.5797%2011.5013C12.132%2011.5013%2012.5797%2011.0536%2012.5797%2010.5013ZM3.24634%208.5013V10.5013C3.24634%2011.0536%202.79862%2011.5013%202.24634%2011.5013C1.69405%2011.5013%201.24634%2011.0536%201.24634%2010.5013V8.5013C1.24634%207.94902%201.69405%207.5013%202.24634%207.5013C2.79862%207.5013%203.24634%207.94902%203.24634%208.5013Z'%20fill='black'/%3e%3c/svg%3e",s2="data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%200%2020%2021'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.9534%209.871C18.2067%2010.2262%2018.3334%2010.4039%2018.3334%2010.6668C18.3334%2010.9297%2018.2067%2011.1074%2017.9534%2011.4627C16.8149%2013.059%2013.9077%2016.5002%2010%2016.5002C6.09234%2016.5002%203.1851%2013.059%202.04672%2011.4627C1.79336%2011.1074%201.66669%2010.9297%201.66669%2010.6668C1.66669%2010.4039%201.79336%2010.2262%202.04672%209.871C3.1851%208.2747%206.09234%204.8335%2010%204.8335C13.9077%204.8335%2016.8149%208.2747%2017.9534%209.871Z'%20stroke='%231C1E22'%20stroke-width='1.5'/%3e%3cpath%20d='M12.5%2010.667C12.5%209.28624%2011.3807%208.16699%2010%208.16699C8.61925%208.16699%207.5%209.28624%207.5%2010.667C7.5%2012.0477%208.61925%2013.167%2010%2013.167C11.3807%2013.167%2012.5%2012.0477%2012.5%2010.667Z'%20stroke='%231C1E22'%20stroke-width='1.5'/%3e%3c/svg%3e",o2="data:image/svg+xml,%3csvg%20width='18'%20height='17'%20viewBox='0%200%2018%2017'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.0581%200.72505C1.30218%200.480973%201.69781%200.480973%201.94189%200.72505L5.05631%203.83947C5.06045%203.84346%205.06448%203.84756%205.06852%203.85168L16.9419%2015.7251C17.186%2015.9691%2017.186%2016.3648%2016.9419%2016.6088C16.6978%2016.8529%2016.3022%2016.8529%2016.0581%2016.
16088L13.2895%2013.8403C12.0675%2014.5829%2010.6218%2015.1253%209%2015.1253C6.85793%2015.1253%205.02177%2014.1825%203.60042%2013.0729C2.17789%2011.9623%201.12633%2010.6507%200.538083%209.8258C0.318132%209.51739%200.0416641%209.16866%200.0416641%208.66695C0.0416641%208.16524%200.318132%207.8165%200.538083%207.50809C1.13282%206.67414%202.20606%205.33535%203.66227%204.21301L1.0581%201.60884C0.814025%201.36476%200.814025%200.969128%201.0581%200.72505ZM16.7083%208.66695C16.7083%208.65357%2016.7098%208.64172%2016.6839%208.59208C16.6646%208.55505%2016.6388%208.51327%2016.6009%208.45699L16.4447%208.234C15.8945%207.46254%2014.923%206.25556%2013.6305%205.24654C12.3368%204.23651%2010.7655%203.45861%209%203.45861C8.31557%203.45861%207.6619%203.57544%207.04199%203.77681C6.71381%203.88342%206.36101%203.70369%206.25423%203.3756C6.14758%203.04733%206.32717%202.69451%206.65543%202.58784C7.38733%202.35007%208.17151%202.20861%209%202.20861C11.1421%202.20861%2012.9782%203.15142%2014.3996%204.26102C15.8221%205.37157%2016.8737%206.68326%2017.4619%207.50809C17.6818%207.8165%2017.9583%208.16526%2017.9583%208.66695C17.9583%209.16864%2017.6818%209.51739%2017.4619%209.8258C17.0586%2010.3913%2016.4417%2011.1807%2015.6398%2011.9767C15.3948%2012.2199%2014.9984%2012.2184%2014.7552%2011.9734C14.5121%2011.7284%2014.5135%2011.332%2014.7585%2011.0888C15.4975%2010.3552%2016.0705%209.62457%2016.4447%209.09989L16.6009%208.87691C16.6388%208.82062%2016.6646%208.77884%2016.6839%208.74182C16.7098%208.69217%2016.7083%208.68033%2016.7083%208.66695ZM7.125%208.72635C7.12508%209.72905%207.93789%2010.5419%208.94059%2010.5419C9.24504%2010.5419%209.53102%2010.4659%209.78288%2010.3336L7.33252%207.88326C7.20015%208.13519%207.125%208.42179%207.125%208.72635ZM1.29166%208.66695C1.29166%208.68032%201.29024%208.69218%201.31608%208.74182C1.35469%208.81597%201.41936%208.90923%201.55534%209.09989L1.78157%209.40832C2.3537%2010.17%203.23859%2011.2045%204.36946%2012.0874C5.66322%2013.0974%207.23445%2013.8753%209%2013.8753C10.2288%2013.8753%2011.3626%2013.4978%2012.3765%2012.9272L10.6911%2011.2418C10.1948%2011.5876%209.59132%2011.7919%208.94059%2011.7919C7.24754%2011.7919%205.87508%2010.4194%205.875%208.72635C5.875%208.07553%206.07844%207.47139%206.42431%206.97505L4.55501%205.10575C3.36233%205.99747%202.42573%207.0752%201.81982%207.87512L1.55534%208.234C1.41936%208.42466%201.35469%208.51793%201.31608%208.59208C1.29024%208.64172%201.29166%208.65357%201.29166%208.66695Z'%20fill='%231C1E22'/%3e%3c/svg%3e",W="data:image/svg+xml,%3csvg%20width='15'%20height='15'%20viewBox='0%200%2015%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.75846%209.2522V3.06453C6.48778%203.34046%206.17919%203.68304%205.90226%204.00334C5.70057%204.23662%205.52045%204.45132%205.39071%204.60775C5.32588%204.68591%205.27387%204.74964%205.23804%204.79346C5.22019%204.81528%205.20631%204.83216%205.19702%204.84359C5.19237%204.84931%205.18852%204.85382%205.1862%204.85669C5.1852%204.85792%205.18445%204.85888%205.18392%204.85954L5.18335%204.86068C5.03145%205.04858%204.75545%205.07752%204.56755%204.92562C4.37976%204.77369%204.35073%204.49824%204.50261%204.31038V4.30981L4.50374%204.30925C4.50442%204.30841%204.50531%204.30684%204.50659%204.30526C4.50916%204.3021%204.51317%204.29751%204.51799%204.29159C4.52779%204.27952%204.5423%204.2617%204.56071%204.23918C4.59767%204.19398%204.65121%204.12868%204.71737%204.04891C4.8498%203.88924%205.03381%203.66968%205.24032%203.43083C5.64691%202.96056%206.16277%202.38917%206.54256%202.06079C6.72886%201.89972%206.96222%201.80459%207.21419%201.81527C7.43862%201.82479%207.64312%201.91699%207.80949%202.06079H7.81006C8.18969%202.3892%208.70519%202.96066%209.11174%203.43083C9.31824%203.66965%209.50225%203.88926%209.63468%204.04891C9.70086%204.12868%209.75438%204.19398%209.79134%204.23918C9.80977%204.26171%209.82426%204.27952%209.83407%204.29159C9.8389%204.29753%209.8429%204.30209%209.84546%204.30526C9.84674%204.30684%209.84763%204.30841%209.84831%204.30925L9.84945%204.30981V4.31038C10.0013%204.49824%209.97231%204.77368%209.78451%204.92562C9.59665%205.07752%209.32121%205.04848%209.16927%204.86068L9.16813%204.85954C9.16759%204.85887%209.16684%204.85791%209.16585%204.85669C9.16355%204.85385%209.16019%204.84924%209.1556%204.84359C9.1463%204.83215%209.13193%204.81536%209.11401%204.79346C9.07818%204.74964%209.02617%204.6859%208.96135%204.60775C8.8316%204.45134%208.65147%204.23659%208.44979%204.00334C8.18639%203.69871%207.89418%203.374
109%207.63346%203.10555V9.2522C7.63346%209.49373%207.43746%209.68955%207.19596%209.6897C6.95434%209.6897%206.75847%209.49382%206.75846%209.2522Z'%20fill='%23000044'/%3e%3cpath%20d='M2.07715%209.83464V9.2513C2.07715%208.85016%202.07657%208.52295%202.09823%208.25781C2.12031%207.98758%202.16781%207.74348%202.28394%207.51555C2.4657%207.15889%202.75561%206.869%203.11222%206.68726C3.34016%206.57111%203.58426%206.52363%203.85449%206.50155C4.11962%206.47988%204.44683%206.48047%204.84798%206.48047C5.08961%206.48047%205.28548%206.67635%205.28548%206.91797C5.28548%207.15959%205.08961%207.35547%204.84798%207.35547C4.43239%207.35547%204.14693%207.35562%203.9257%207.3737C3.70962%207.39136%203.59329%207.42375%203.50928%207.46655C3.31728%207.56443%203.16108%207.72064%203.06323%207.9126C3.02042%207.99662%202.98804%208.11293%202.97038%208.32902C2.9523%208.55026%202.95215%208.83572%202.95215%209.2513V9.83464C2.95215%2010.5345%202.95315%2011.0155%203.00171%2011.3767C3.04858%2011.7252%203.13251%2011.896%203.25122%2012.0147C3.36993%2012.1334%203.54075%2012.2174%203.88924%2012.2642C4.25044%2012.3128%204.73148%2012.3138%205.43132%2012.3138H8.93132C9.63114%2012.3138%2010.1122%2012.3128%2010.4734%2012.2642C10.8219%2012.2174%2010.9927%2012.1334%2011.1114%2012.0147C11.2301%2011.896%2011.3141%2011.7252%2011.3609%2011.3767C11.4095%2011.0155%2011.4105%2010.5345%2011.4105%209.83464V9.2513C11.4105%208.83572%2011.4103%208.55026%2011.3923%208.32902C11.3746%208.11294%2011.3422%207.99662%2011.2994%207.9126C11.2015%207.72061%2011.0453%207.56442%2010.8534%207.46655C10.7693%207.42374%2010.653%207.39136%2010.4369%207.3737C10.2157%207.35562%209.93023%207.35547%209.51465%207.35547C9.27303%207.35547%209.07715%207.15959%209.07715%206.91797C9.07715%206.67635%209.27303%206.48047%209.51465%206.48047C9.91579%206.48047%2010.243%206.47988%2010.5081%206.50155C10.7784%206.52363%2011.0225%206.57112%2011.2504%206.68726C11.607%206.86901%2011.8969%207.1589%2012.0787%207.51555C12.1948%207.74348%2012.2423%207.98758%2012.2644%208.25781C12.2861%208.52295%2012.2855%208.85016%2012.2855%209.2513V9.83464C12.2855%2010.5096%2012.2861%2011.0599%2012.2279%2011.4929C12.168%2011.9386%2012.0384%2012.325%2011.7301%2012.6334C11.4216%2012.9418%2011.0352%2013.0714%2010.5896%2013.1313C10.1566%2013.1895%209.60633%2013.1888%208.93132%2013.1888H5.43132C4.7563%2013.1888%204.20606%2013.1895%203.77303%2013.1313C3.3274%2013.0714%202.94098%2012.9418%202.63257%2012.6334C2.32418%2012.325%202.1946%2011.9386%202.13469%2011.4929C2.07648%2011.0599%202.07715%2010.5096%202.07715%209.83464Z'%20fill='%23000044'/%3e%3c/svg%3e",T2=(l,r=200)=>{const f=[],u=l.match(/[^\.!\?]+[\.!\?]+|[^\.!\?]+$/g)||[l];let n="";return u.forEach(s=>{for(s=s.trim();s.length>0;){if(n.length+s.length+1<=r){n+=(n?" ":"")+s;break}const v=r-n.length-1;let c=s.lastIndexOf(" ",v);c===-1&&(c=v);const A=s.slice(0,c).trim();n+=(n?" ":"")+A,f.push(n.trim()),n="",s=s.slice(c).trim()}}),n&&f.push(n.trim()),f};function V2(){if(typeof window>"u")return{isReading:_(!1),isPaused:_(!1),canReadAloud:_(!1),readAloud:()=>{},cancel:()=>{}};const l=_(!1),r=_(!1),f=_(!1);let u=[],n=0;const s=window.speechSynthesis,v=()=>{const h=s.getVoices();if(h.length>0){const i=h.some(L=>L.lang.startsWith("fr"));f.value=i,i||console.warn("Speech Synthesis: No French (fr) voice found on this browser.")}},c=h=>{if(n>=u.length||!l.value){l.value=!1;return}const i=new SpeechSynthesisUtterance(u[n]),L=s.getVoices(),m=L.find(y=>y.lang===h)||L.find(y=>y.lang.startsWith("fr"));m&&(i.voice=m),i.lang=m?m.lang:h,i.onend=()=>{l.value&&(n++,c(h))},i.onerror=y=>{console.error("SpeechSynthesisUtterance.onerror:",y),x()},s.speak(i)},A=(h,i={lang:"fr-FR"})=>{!h||!f.value||s.speaking||(u=T2(h),n=0,l.value=!0,r.value=!1,c(i.lang))},x=()=>{s.cancel(),l.value=!1,r.value=!1,n=0,u=[]};return D(()=>{s.getVoices().length>0?v():s.onvoiceschanged=v}),t2(x),{isReading:l,isPaused:r,readAloud:A,cancel:x,canReadAloud:f}}function Z2(l,r=165){if(!l||l.trim()==="")return{minutes:0,seconds:0,formatted:"0:00"};const u=l.trim().split(/\s+/).length/r,n=Math.floor(u),s=Math.floor(u*60%60),v=`${n}:${s.toString().padStart(2,"0")}`;return{minutes:n,seconds:s,formatted:v}}const N2={class:"print:hidden"},R2={class:"flex flex-col-reverse flex-wrap items-center justify-center gap-4 md:flex-row md:border-b md:border-t md:px-3 md:py-6 md:pb-4 lg:justify-between"},F2={class:"w-full flex-wrap items-center justify-between gap-3 md:flex lg:w-auto lg:justify-start"},O2={class:"flex items-center gap-1"},H2=["disabled"],z2={key:0,src:$2,alt:"Play icon",width:"20",height:"20"},P2={key:1,xmlns:"http://www.w3.org/2000/svg",class:"h-5 w-5",viewBox:"0 0 20 20",fill:"currentColor"},I2={key:2},j2={key:3},D2={key:0,class:"text-sm text-gray8"},G2={key:0,src:s2,alt:"Zen reading icon",width:"20",height:"20"},U2={key:1,src:o2,alt:"Zen reading icon",width:"20",height:"20"},q2={class:"hidden max-h-9 items-center rounded-full border border-gray2 md:flex"},J2=["disabled"],W2={class:"border-l border-r border-gray2 px-5 py-1.5"},X2={class:"text-base font-semibold tabular-nums text-gray10"},K2=["disabled"],Q2={class:"flex w-full flex-col gap-2 lg:w-auto"},Y2={class:"flex w-full items-center gap-2"},e0={class:"flex w-full items-center justify-between px-2"},t0={class:"flex max-h-6 items-center justify-center"},s0={class:"flex items-center text-center"},o0=["disabled"],n0={class:"px-5 py-1.5"},a0={class:"text-base font-semibold tabular-nums text-gray-800"},l0=["disabled"],i0={class:"flex items-center gap-4"},r0={key:0,src:s2,alt:"Zen reading icon",width:"22",height:"22"}
1,c0={key:1,src:o2,alt:"Zen reading icon",width:"22",height:"22"},V=18,X=31.5,K=.2,g0={__name:"ArticleActionBar",props:{article:{type:Object,required:!0}},setup(l){const r=l,{t:f}=Q(),{openRegisterModal:u}=e2(),{isBr:n}=Y(),s=M("hasTonosAccess"),v=M("unlockBannerHeight",()=>0),c=M("actionBarHeight",()=>0),A=_(null),{isReading:x,readAloud:h,cancel:i,canReadAloud:L}=V2(),m=_(""),y=J(()=>Z2(m.value)),H=b=>{if(!b)return"";try{return new DOMParser().parseFromString(b,"text/html").body.textContent||""}catch(t){return console.error("Could not parse HTML",t),""}},a=()=>{s.value||n?a2():u()};D(()=>{if(!r.article)return;let b=`${r.article.title||""} 2 3`;(r.article.articleContent_v2?.blocks||[]).filter(k=>k.type!=="codex_media").forEach(k=>{k.content&&k.content.forEach(p=>{const P=p.text||H(p.contentHTML)||"";b+=`${P.trim()} 4`})}),m.value=b});const w=()=>{s.value||n?x.value?i():m.value&&h(m.value):u()},B=V*K,Z=X*K,$=V*.8,z=V*2,g=M("fontSize",()=>V),T=M("lineHeight",()=>X),n2=b=>{const t=document.querySelectorAll(".rich-content__text");b==="increase"&&g.value<z?(g.value+=B,T.value+=Z):b==="decrease"&&g.value>$&&(g.value-=B,T.value-=Z),g.value=parseFloat(g.value.toFixed(1)),T.value=parseFloat(T.value.toFixed(1));const k=p=>{p.nodeType===Node.TEXT_NODE&&p.textContent.trim()!==""?(p.parentNode.style.fontSize=`${g.value}px`,p.parentNode.style.lineHeight=`${T.value}px`):p.nodeType===Node.ELEMENT_NODE&&Array.from(p.childNodes).forEach(k)};t.forEach(p=>{k(p)})},N=b=>{n2(b)},G=J(()=>Math.round(g.value/18*100)),{toggleZenMode:a2,isZenModeActive:R}=v2(),{lock:l2,unlock:i2}=h2(),F=_(!1),r2=()=>{F.value=!0,l2()},c2=()=>{F.value=!1,i2()};return D(()=>{g.value=V,m2(()=>{A.value&&(c.value=A.value.offsetHeight)})}),t2(()=>{c.value=0}),(b,t)=>{const k=E2,p=w2,P=k2;return d(),C(y2,null,[e("div",N2,[e("div",R2,[e("div",F2,[e("div",O2,[e("button",{class:j(["flex items-center gap-2 text-sm font-medium text-gray10",{"cursor-not-allowed opacity-50":!o(L)||!o(m)}]),disabled:!o(L)||!o(m),onClick:w},[o(x)?(d(),C("svg",P2,[...t[5]||(t[5]=[e("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8 7a1 1 0 00-1 1v4a1 1 0 001 1h4a1 1 0 001-1V8a1 1 0 00-1-1H8z","clip-rule":"evenodd"},null,-1)])])):(d(),C("img",z2)),o(x)?(d(),C("span",j2,S(o(f)("Arrêter la lecture")),1)):(d(),C("span",I2,S(o(f)("Ãcoutez cet article")),1))],10,H2),o(y).formatted!=="0:00min"?(d(),C("span",D2,S(o(y).formatted)+"min ",1)):E("",!0)]),e("button",{class:j(["relative hidden h-9 w-9 items-center justify-center rounded-full border border-solid border-gray-200 p-2 after:absolute after:left-1/2 after:top-full after:mt-1 after:-translate-x-1/2 after:whitespace-nowrap after:rounded-md after:bg-[#4B4B5F] after:px-2 after:py-1 after:text-sm after:text-white after:opacity-0 after:transition hover:after:opacity-100 md:flex",o(R)?"after:content-['Lecture_zen']":"after:content-['Lecture_normale']"]),onClick:a},[o(R)?(d(),C("img",U2)):(d(),C("img",G2))],2),p2(e("div",q2,[e("button",{disabled:o(g)<=$,class:"rounded-l-full px-4 py-2 hover:bg-gray-100 disabled:opacity-50",onClick:t[0]||(t[0]=O=>N("decrease"))},[...t[6]||(t[6]=[e("span",{class:"text-sm font-semibold text-gray10"},"Aa",-1)])],8,J2),e("div",W2,[e("span",X2,S(o(G))+"%",1)]),e("button",{disabled:o(g)>=z,class:"rounded-r-full px-4 py-2 hover:bg-gray-100 disabled:opacity-50",onClick:t[1]||(t[1]=O=>N("increase"))},[...t[7]||(t[7]=[e("span",{class:"text-lg font-semibold text-gray10"},"Aa",-1)])],8,K2)],512),[[x2,!0]])]),e("div",Q2,[e("div",Y2,[e("button",{class:"flex w-full items-center justify-center gap-1.5 rounded-full bg-blueLight px-4 py-1.5 text-xs uppercase text-brand9 md:text-sm lg:w-auto xl:px-12",onClick:r2},[t[8]||(t[8]=e("img",{src:W,alt:"Share icon",width:"20",height:"20"},null,-1)),b2(" "+S(o(f)("Partager")),1)]),I(k,{article:l.article},null,8,["article"])]),I(p)])]),e("div",{ref_key:"mobileActionBarRef",ref:A,class:"shadow-t-lg fixed left-0 z-20 w-full border-t border-gray-200 bg-white p-3 md:hidden",style:_2({bottom:o(v)+"px"})},[e("div",e0,[e("div",t0,[e("div",s0,[e("button",{disabled:o(g)<=$,class:"py-2 disabled:opacity-50",onClick:t[2]||(t[2]=O=>N("decrease"))},[...t[9]||(t[9]=[e("span",{class:"text-sm font-semibold text-gray-800"},"Aa",-1)])],8,o0),e("div",n0,[e("span",a0,S(o(G))+"%",1)]),e("button",{disabled:o(g)>=z,class:"py-2 disabled:opacity-50",onClick:t[3]||(t[3]=O=>N("increase"))},[...t[10]||(t[10]=[e("span",{class:"text-lg font-semibold text-gray-800"},"Aa",-1)])],8,l0)])]),e("div",i0,[e("button",{onClick:a},[o(R)?E("",!0):(d(),C("img",r0)),o(R)?(d(),C("img",c0)):E("",!0)]),e("button",{onClick:t[4]||(t[4]=O=>F.value=!0)},[...t[11]||(t[11]=[e("img",{src:W,alt:"Zen reading icon",width:"22",height:"22"},null,-1)])]),I(k,{article:l.article,"is-icon-only":!0},null,8,["article"])])])],4)]),o(F)?(d(),g2(P,{key:0,article:l.article,onClose:c2},null,8,["article"])):E("",!0)],64)}}};export{g0 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.