PageSourceSearch

https://bacomathiqu.es/_nuxt/CeGSA9ZD.js

js bacomathiqu.es collected 2026-10-02 00:36:03 UTC 2,514 bytes, 5 lines download raw bytes

1import{_ as A,P as L}from"./CiLr5I_u.js";import{_ as S}from"./Dtk5y8tL.js";import{A as w,bf as B,bb as N,aA as s,v as x,y as c,g as T,br as o,s as n,x as l,aV as v,a_ as t,t as r,e as V,aI as $,c as D,j as R,r as _,ad as M,h as P,ao as z,l as E}from"./B_2EpgYt.js";import{_ as H}from"./P8iL7USG.js";import{L as I}from"./BXE95AkW.js";import{q as j}from"./Ck9dkcJ7.js";import"./DkLcDVJw.js";const F={class:"mb-0"},J=["textContent"],G=["textContent"],K={class:"d-block mt-4 mb-4"},O=["innerHTML"],Q=w({__name:"recherche",setup(U){const h=B(),a=_(()=>h.query.requete?.toString()),k=_(()=>a.value?z(a.value.toString()):".*"),{error:C,pending:b,data:p}=N(h.path,()=>j("lessons").order("chapter","ASC").all(),"$kv3iN81upJ"),y=d=>{const e=[];if(!d.value)return e;for(const f of d.value){const u=RegExp(k.value,"ig"),i=f;u.test(i["title-search"])&&e.push(i)}return e},q=_(()=>M.renderToString(`\\begin{align*}
2  \\&frac{1}{3} = 0,3333\\times \\\\
3  &\\iff 3 \\times frac{1}{3} &= 0,9999\\times \\\\
4  &\\iff 1 &= 0,9999\\times
5\\end{align*}`,{displayMode:!0})),m=_(()=>y(p));return(d,e)=>{const f=A,u=S,i=P;return s(),x("div",null,[c(T,{title:"Résultat de la recherche"}),c(H,null,{default:o(()=>[c(f,{image:"/img/search.svg"},{default:o(()=>[e[3]||(e[3]=n("h3",null,"Résultat de la recherche",-1)),n("p",F,[e[0]||(e[0]=l(" Votre recherche ",-1)),n("q",{textContent:v(t(a)&&t(a).length>0?t(a):"Tout")},null,8,J),e[1]||(e[1]=l(" a retourné ",-1)),n("strong",{textContent:v(t(p)?t(m).length:0)},null,8,G),e[2]||(e[2]=l(" résultat(s). ",-1))])]),_:1})]),_:1}),t(b)?(s(),r(L,{key:0})):t(p)?(s(),r(R,{key:1},{default:o(()=>[t(m).length>0?(s(),r(u,{key:0},{default:o(()=>[(s(!0),x(V,null,$(t(m),g=>(s(),r(I,{key:`${g.level}-${g.slug}`,class:"col-lg-5 col-xl-4 col-12 mb-xl-5",lesson:g,"show-level":!0},null,8,["lesson"]))),128))]),_:1})):(s(),r(u,{key:1,class:"pb-5"},{default:o(()=>[c(D,{class:"text-center"},{default:o(()=>[e[4]||(e[4]=n("p",null," Nous n'avons aucun résultat de recherche à vous afficher. À la place, voici un petit résultat mathématique qui peut sembler surprenant : ",-1)),n("span",K,[n("span",{innerHTML:t(q)},null,8,O)]),e[5]||(e[5]=n("p",{class:"mb-0"},[l(" Cette identité est connue sous le nom de "),n("a",{href:"https://fr.wikipedia.org/wiki/D%C3%A9veloppement_d%C3%A9cimal_de_l%27unit%C3%A9"},"Développement décimal de l'unité"),l(". ")],-1))]),_:1})]),_:1}))]),_:1})):(s(),r(i,{key:2,error:t(C)},null,8,["error"]))])}}}),se=E(Q,[["__scopeId","data-v-db851503"]]);export{se 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.