PageSourceSearch

https://wilder21.win/assets/ProviderPage-83e875ab-v22.js

js wilder21.win collected 2026-10-10 02:29:37 UTC 1,166 bytes, 1 lines download raw bytes

1import{K as h,M as x,c,O as v,r as p,j as P,F as m,a as s,G as u,Q as E,U as G}from"./index-084a7f50-v22.js";const I=a=>Number(a.split("-")[0]),T=async(a,r,e)=>(await p({url:"/game/machine/find",method:"GET",params:{limit:r,skip:e,filters:`provider_id:${a}`}})).data,_=()=>{const{provider_key:a}=h(),r=x(),[e,n]=c.useState(r.state??null),[g,l]=c.useState(!0),{setError:d}=v();return c.useEffect(()=>{if(r.state){l(!1),n(r.state);return}else p({url:"/game/machine/providers",method:"GET"}).then(t=>{const o=t.data;if(o.success){const i=o.providers.find(f=>f.id===I(a));i?n(i):d("Провайдер не найден")}else d("Не удалось загрузить провайдеров")}).finally(()=>{l(!1)})},[]),P(m,{children:[s(u.Header,{showTotal:!0,totalTitle:"Количество игр",children:e&&s(m,{children:s("img",{src:e.image_url,alt:e.name})})}),!g&&e&&s(E,{placeholder:"Поиск",className:"mt-4",providerId:e.id}),e&&s(u.Wrapper,{deps:[e.id],rowCols:{xs:4,md:5,lg:6,xl:7,xxl:8},fetchRange:({limit:t,skip:o,page:i})=>T(e.id,t,o),selectItems:t=>t.machines,selectTotal:t=>t.games_count,renderItem:t=>s(G,{...t})},e.id)]})};export{_ 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.