PageSourceSearch

https://app.ateliereonline.ro/assets/LucrareView-DxsWX8PW.js

js ateliereonline.ro collected 2026-09-25 03:33:02 UTC 1,956 bytes, 1 lines download raw bytes

1import{j as t}from"./vendor-data-BnAsYEPc.js";import{k as u,r as a}from"./vendor-react-BNJcskRT.js";import{S as o}from"./Seo-BumBq7P1.js";import"./index-P4Jm-5kS.js";import"./vendor-ui-vXhwLHr8.js";import"./vendor-date-BFEA4iDb.js";const l="https://jxqllucbmnuealllscuo.supabase.co";function g(){const{slug:s}=u(),[e,n]=a.useState({status:"loading"});return a.useEffect(()=>{s&&(async()=>{try{const i=await fetch(`${l}/functions/v1/pagina?slug=${encodeURIComponent(s)}`);if(i.status===404){n({status:"notfound"});return}if(!i.ok){n({status:"notfound"});return}const r=await i.json();n({status:"ok",html:r.html,name:r.name})}catch{n({status:"notfound"})}})()},[s]),a.useEffect(()=>{e.status==="ok"&&e.name&&(document.title=e.name)},[e]),e.status==="loading"?t.jsx("div",{style:{minHeight:"100vh",display:"flex",alignItems:"center",justifyContent:"center",fontFamily:"system-ui"},children:"Se încarcă…"}):e.status==="notfound"?t.jsxs(t.Fragment,{children:[t.jsx(o,{title:"Lucrare inexistentă — Web Quest",description:"Lucrarea căutată nu mai este disponibilă. Explorează celelalte pagini create de copii în atelierele Web Quest.",noindex:!0}),t.jsxs("div",{style:{minHeight:"100vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:"#33C7EC",color:"#fff",fontFamily:"system-ui",padding:24,textAlign:"center"},children:[t.jsx("div",{style:{fontSize:64},children:"🔍"}),t.jsx("h1",{style:{margin:"12px 0"},children:"Pagina nu a fost găsită"}),t.jsx("p",{children:"Poate a fost mutată sau linkul e greșit."})]})]}):t.jsxs(t.Fragment,{children:[t.jsx(o,{title:`${e.name??"Lucrare"} — Web Quest`,description:`„${e.name??"Lucrare"}" — pagină web creată de un copil în atelierele Web Quest de la AteliereOnline.`,ogType:"article"}),t.jsx("iframe",{title:e.name??"Lucrare",sandbox:"",srcDoc:e.html,style:{position:"fixed",inset:0,width:"100vw",height:"100vh",border:0}})]})}export{g 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.