PageSourceSearch

https://partners.meridianbet.pe/build/assets/FeedData-BNa5BgUM.js

js meridianbet.pe collected 2026-09-24 20:31:15 UTC 2,519 bytes, 1 lines download raw bytes

1import{j as o,r as O,L as P}from"./main-B85zqRjd.js";import{i as j,d as k,a as i}from"./vendor-react-Bjxsyr_G.js";import{u as S,a as _,b as C,f as D}from"./feedDataFilters-DvLqKn2P.js";import{T as N}from"./TableData-BQgdfr6d.js";import{F as A}from"./Filters-D_K0s731.js";import{u as L}from"./vendor-i18n-CmmgQqfv.js";import"./vendor-redux-CkTbKByD.js";import"./vendor-forms-Chlqk9RW.js";import"./useMediaQuery-Bzu3CIqR.js";import"./Checkbox-D6300evD.js";import"./filterStyles-Dc9vUaM-.js";import"./DateTimePicker-h9qPaIf5.js";import"./dateUtils-Cn8z919x.js";import"./formatDate-C6Vg3jtv.js";function V(){var f;const{t:a}=L(),[c,R]=j();k();const[d,h]=i.useState(null),[v,E]=i.useState(1),[p,{data:r,isLoading:m}]=S(),[T]=_(),u=(r==null?void 0:r.data)||[];(f=r==null?void 0:r.meta)!=null&&f.last_page;const b=i.useMemo(()=>[{key:"id",label:"ID"},{key:"feed_type",label:a("REPORTS.FEED_TYPE")},{key:"type",label:a("REPORTS.TYPE")},{key:"note",label:a("REPORTS.NOTE")},{key:"file_name",label:a("REPORTS.FILE_NAME")},{key:"creation_date",label:a("REPORTS.CREATION_DATE")},{key:"created_at",label:a("REPORTS.CREATED_AT")},{key:"actions",label:"",align:"right",render:e=>o.jsx("button",{type:"button",onClick:s=>{s.stopPropagation(),F("view",e)},className:"btn btn-primary px-3 py-1 text-sm",children:a("REPORTS.DOWNLOAD")})}],[a]),y=C(a),g=i.useMemo(()=>{const e=[...y],s=e[1].options,t=D(d,s);return e[1]={...e[1],options:t},e},[d,y]),x=[];i.useEffect(()=>{const e=parseInt(c.get("page"))||1;E(e);const s={};c.forEach((l,n)=>{s[n]=l});const t=O(s);p(t)},[c,p]);const w=e=>{const s={};for(const t in e)e.hasOwnProperty(t)&&e[t]!==null&&e[t]!==""&&(s[t]=e[t],t==="feedType"&&h(e[t]));R(s)},F=async(e,s)=>{try{const t=await T(s.id).unwrap(),l=window.URL.createObjectURL(t),n=document.createElement("a");n.href=l,n.download=`${s.file_name}.json`,document.body.appendChild(n),n.click(),document.body.removeChild(n),window.URL.revokeObjectURL(l)}catch{}};return m&&u.length===0?o.jsx(P,{}):o.jsx("div",{children:o.jsxs("div",{className:"affiliates",align:"start",children:[o.jsx("h3",{className:"text-start",children:a("REPORTS.FEED_DATA")}),o.jsx("div",{className:"flex justify-between items-start w-full",children:o.jsx("div",{className:"items-start pr-0 w-full md:w-2/3",children:o.jsx(A,{config:g,secConfig:x,onFiltersChanged:w})})}),o.jsx("div",{className:"marketing-links table-component__feed-data",children:o.jsx(N,{columns:b,items:u,loading:m,showIndex:!0,hideIndexOnMobile:!0,whiteRows:!0})})]})})}export{V 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.