PageSourceSearch

https://megatop.by/_nuxt/DayxxaqP.js

js megatop.by collected 2026-09-24 09:33:26 UTC 1,794 bytes, 1 lines download raw bytes

1import{M as E}from"./eAEu-bs_.js";import{_ as S}from"./Bw6h1he4.js";import{S as A}from"./Bb7fWZ9z.js";import{_ as B}from"./gL4WoDzw.js";import{f as C,u as D,e as z,c as N,y as V,d as $}from"./CXmByAsd.js";import{A as F,ae as L,$ as e,P as l,W as M,a5 as a,z as r,G as o,a9 as _,a6 as p,X as P,ab as d,aa as f,S as G,c as h}from"./CLFN9GXV.js";function H(){return C().entity}const I={class:"mt-4"},R={class:"px-4 px-md-0"},T={key:0,class:"grid"},W={key:1,class:"grid mt-6"},X=["href"],j={class:"text-size--4 font-weight-medium mb-2"},q={class:"text-size--3"},J=F({__name:"index",async setup(K){let n,u;const y=D(),{isDesktop:g}=z(),x=[{title:"Юридические лица",link:y.path,isDisabled:!0}],{data:i,status:b}=([n,u]=L(async()=>N("getEntityPage",async()=>{const c=await H().getAllEntity();let s=!1;c.isSuccess()||(s=!0);const t=c.getData();return s&&k(),{entities:t,hasFatalError:s}})),n=await n,u(),n),k=()=>{V({statusCode:404,fatal:!0})},v=h(()=>b.value!=="success"),m=h(()=>i.value&&i.value.entities.length?i.value.entities:[]);return(c,s)=>(e(),l(S,null,{default:M(()=>[a("div",I,[r(g)?(e(),l(B,{key:1,items:x})):(e(),l(E,{key:0,title:"Юридические лица",class:"px-4"})),a("div",R,[r(v)?(e(),o("div",T,[(e(),o(_,null,p(4,t=>a("div",{key:t,class:"col-12"},[P(A,{width:"100%",height:100})])),64))])):r(m).length?(e(),o("div",W,[(e(!0),o(_,null,p(r(m),(t,w)=>(e(),o("a",{key:w,href:`https://${t.unp}.shop.megatop.by/`,target:"_blank",class:"col-12 col-md-3 mb-3 mb-md-0 entity-card bg-color--secondary pa-3 text-color--main"},[a("div",j,d(t.name),1),a("div",q,[f(" УНП: "+d(t.unp)+" ",1),s[0]||(s[0]=a("br",null,null,-1)),f(" Адрес: "+d(t.address),1)])],8,X))),128))])):G("",!0)])])]),_:1}))}}),et=$(J,[["__scopeId","data-v-5d215b3c"]]);export{et 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.