PageSourceSearch

https://rodrift.ro/assets/usePilots-D4bf-BoN.js

js rodrift.ro collected 2026-10-04 04:22:00 UTC 902 bytes, 1 lines download raw bytes

1import{r as t}from"./vendor-react-aro8yD9l.js";import{a as d}from"./index-CAwCAWZT.js";function a(e){const o=Number((e==null?void 0:e.data_nastere)||0);return o?(Date.now()/1e3-o)/(365.25*24*3600)<21:!1}function g(){const[e,o]=t.useState({pro:[],semipro:[],street_open:[],street_kids:[]}),[n,i]=t.useState(!0),[u,p]=t.useState(null);t.useEffect(()=>{let r=!0;return(async()=>{try{i(!0);const s=await d.getJSON({mode:"piloti",action:"get"});if(!r)return;o({pro:s.pro||[],semipro:s.semipro||[],street_open:s.street_open||[],street_kids:s.street_kids||[]})}catch(s){r&&p(s)}finally{r&&i(!1)}})(),()=>{r=!1}},[]);const c=t.useMemo(()=>[...e.pro,...e.semipro,...e.street_open,...e.street_kids].filter(r=>String(r.gen)==="1"),[e]),f=t.useMemo(()=>e.pro.filter(a),[e.pro]),m=t.useMemo(()=>e.semipro.filter(a),[e.semipro]);return{...e,girls:c,juniori_pro:f,juniori_semipro:m,loading:n,error:u}}export{g as u};

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.