PageSourceSearch

https://tstu.uz/assets/index-Dh8pJSIf.js

js tstu.uz collected 2026-09-24 19:46:08 UTC 1,977 bytes, 1 lines download raw bytes

1import{r as t,j as r}from"./react-s6noa07L.js";import{cy as x,A as c,B as m,T as f,w as j}from"./index-CK6lfr5g.js";import{u as y}from"./router-CwT0-KLY.js";import{C as d}from"./index-8NSzCpy6.js";import{L as R}from"./index-D8l9D9wi.js";import{R as S}from"./UserOutlined-BxRcFBau.js";import{R as b,a as k}from"./LinkOutlined-ahBB36Ja.js";import{R as I}from"./CalendarOutlined-CNpb6Bdo.js";import"./i18n-CzrDXj-t.js";import"./Pagination-CGOQO_J5.js";const{Text:e,Title:L}=f,O=()=>{const{request:h,loading:o}=x(),[s,u]=t.useState([]),[i,n]=t.useState(""),p=y(),g=async()=>{try{const a=await h("/scholar/getpersondatabyscholaruserid");a.articles.length>0&&u(a.articles)}catch(a){a?.response?.status===400?n("Ushbu xodim profiliga Google Scholar id kiritilmagan!"):n("Ma'lumot yuklashda xatolik yuz berdi.")}};return t.useEffect(()=>{g()},[]),i?r.jsx(c,{message:"Diqqat!",description:i,type:"warning",showIcon:!0,style:{marginTop:20},action:r.jsx(m,{type:"primary",size:"small",onClick:()=>p("/uz/admin/my-data"),children:"Google Scholar kiritish"})}):r.jsx(d,{loading:o,title:`GOOGLE SCHOLAR MAQOLALARI (${s.length} ta maqola)`,style:{borderRadius:12},children:s.length===0&&!o?r.jsx(c,{message:"Ma'lumot topilmadi",description:"Google Scholar bo'yicha maqolalar mavjud emas.",type:"info",showIcon:!0}):r.jsx(R,{itemLayout:"vertical",dataSource:s,renderItem:(a,l)=>r.jsxs(d,{style:{marginBottom:16,borderRadius:12,background:"#fafafa"},children:[r.jsxs(L,{level:5,style:{marginBottom:10},children:[l+1,". ",a.title]}),r.jsxs(j,{direction:"vertical",size:6,children:[r.jsxs(e,{children:[r.jsx(S,{})," ",r.jsx("strong",{children:"Authors:"})," ",a.authors]}),r.jsxs(e,{children:[r.jsx(b,{})," ",r.jsx("strong",{children:"Journal:"})," ",a.journal]}),a.year&&r.jsxs(e,{children:[r.jsx(I,{})," ",r.jsx("strong",{children:"Year:"})," ",a.year]}),r.jsx(m,{type:"primary",href:a.scholarLink,target:"_blank",icon:r.jsx(k,{}),children:"Google Scholar"})]})]},l)})})};export{O 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.