PageSourceSearch

https://enu.kz/_nuxt/BQsxa6ux.js

js enu.kz collected 2026-09-24 08:57:34 UTC 2,109 bytes, 1 lines download raw bytes

1import{_ as D,u as R,p as P,r as a,d as w,q as S,v as b,x as B,e as C,h as c,f as e,i as o,l as p,t as d,F as E,j as L,g as U,U as F,D as I,o as n,C as V,m as $,E as z,G as T}from"./DEPA4I7s.js";import{N as j}from"./CUDJdONR.js";import{f as q}from"./dCqWjeqi.js";import{f as y}from"./B30l6KTG.js";import{s as G}from"./qe_Srzdb.js";import"./BllMVXAq.js";const H={class:"container"},J={key:0,class:"loading"},M={class:"title"},O={class:"lists"},K={class:"title"},Q={class:"date"},W={key:0,class:"no_data"},X={class:"show_more"},Y={__name:"index",setup(Z){const v=R().public.smartEnuApi,{$host:g}=P();a(null),a([]),a([]);const t=a([]),{locale:x}=w(),r=a({page:0,rows:15,lang:x,searchText:null,filter:{},categoryId:null,slug:g});S(),a(!1);const _=a(!1),k=new j,N=b(),{t:f}=w();B();const u=a(0);C({title:f("newsArchive")});const h=async()=>{_.value=!0;const i=`news:archive:list:${g||"main"}:${JSON.stringify(r.value)}`,{data:l,error:m}=await I(i,()=>k.getArchiveNews(r.value),{default:()=>({items:[],total:0}),dedupe:"defer"});t.value=l.value,t.value&&t.value.items&&t.value.items.map(s=>{s.main_image_file?s.imageUrl=v+y+s.main_image_file.thumb:s.imageUrl=v+y+s.image1}),_.value=!1,m.value&&console.log(m.value)};h();const A=async i=>{r.value.page=i.page,r.value.rows=i.rows,u.value=i.first,await h()};return(i,l)=>{const m=T;return n(),c("div",H,[e(_)?(n(),c("div",J,l[1]||(l[1]=[o("img",{src:V,alt:"Loading..."},null,-1)]))):p("",!0),o("div",null,[o("h1",M,d(e(f)("newsArchive")),1),o("div",O,[(n(!0),c(E,null,L(e(t).items,s=>(n(),c("div",{class:"item",key:s},[$(m,{to:e(N)({name:"news-archive-id",params:{id:s.id}})},{default:z(()=>[o("div",K,d(s.title),1)]),_:2},1032,["to"]),o("div",Q,d(e(q)(s.publish_date)),1)]))),128))]),e(t).items?p("",!0):(n(),c("div",W,d(e(f)("noData")),1)),o("div",X,[e(t)&&e(t).items?(n(),U(e(G),{key:0,class:"search_paginator",first:e(u),"onUpdate:first":l[0]||(l[0]=s=>F(u)?u.value=s:null),rows:e(r).rows,totalRecords:e(t).total,onPage:A,pageLinkSize:"3"},null,8,["first","rows","totalRecords"])):p("",!0)])])])}}},le=D(Y,[["__scopeId","data-v-b73d35f6"]]);export{le 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.