PageSourceSearch

https://narxoz.edu.kz/assets/AnnouncementDetail-CBJ2BRwx.js

js narxoz.edu.kz collected 2026-09-25 04:32:28 UTC 3,574 bytes, 4 lines download raw bytes

1import{j as e}from"./vendor-radix-tooltip-DtHt63o5.js";import{d as j,N,L as b}from"./vendor-react-CNhiGvcp.js";import{S as m}from"./SubpageLayout-DtRA2maI.js";import{S as l}from"./SubpageVideoHero-DZFYQBSQ.js";import{L as w}from"./index-gtC5koA-.js";import{S as y}from"./ShareButtons-DZNQKpgV.js";import{f as v,d as D}from"./useDissertationCouncils-Drxklamy.js";import{u as L}from"./useFormatDate-CPKnprr5.js";import{C as S}from"./calendar-FRuJU69X.js";import"./Footer-CwuUvUMh.js";import"./vendor-query-BRviA5gZ.js";import"./vendor-i18n-CRx7hjqq.js";import"./HeroBreadcrumbs-cGljvZem.js";import"./SkipToContent-dC7mxZP-.js";import"./hero-campus-new-DBRdyO33.js";import"./vendor-radix-accordion-DuojDPud.js";import"./vendor-utils-D19diF5V.js";import"./vendor-radix-dialog-CS4kY7mA.js";import"./vendor-forms-mKLG5iAD.js";import"./research-C24HSmE4.js";import"./kk-DDECOt4y.js";import"./vendor-date-B_dQr5dX.js";const T=()=>{var a;const{formatDateNumeric:o}=L(),{id:d}=j(),n=Number(d),{data:s,isLoading:c,isError:x}=v(n),{data:p=[]}=D(),i=p.filter(t=>t.id!==n).slice(0,3),u=typeof window<"u"?window.location.href:"";return c?e.jsxs(m,{children:[e.jsx(l,{title:"Загрузка..."}),e.jsx("div",{className:"flex justify-center py-24",children:e.jsx(w,{className:"w-12 h-12 animate-spin text-primary"})})]}):x||!s?e.jsx(N,{to:"/dissertation-councils",replace:!0}):e.jsxs(m,{children:[e.jsx(l,{title:s.title}),e.jsx("section",{className:"py-12 md:py-16 lg:py-24",children:e.jsx("div",{className:"max-w-[1600px] mx-auto container-page",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsx("div",{className:"flex flex-wrap items-center gap-4 mb-8",children:e.jsxs("div",{className:"flex items-center gap-1.5 text-sm text-muted-foreground",children:[e.jsx(S,{className:"w-4 h-4"}),o(s.date)]})}),e.jsx("div",{className:"prose prose-lg max-w-none",children:(a=s.content)==null?void 0:a.split(`
2
3`).map((t,r)=>{if(t.startsWith("### "))return e.jsx("h3",{className:"text-xl font-heading font-bold text-foreground mt-8 mb-4",children:t.replace("### ","")},r);if(t.startsWith("• ")){const f=t.split(`
4`).filter(Boolean);return e.jsx("ul",{className:"space-y-2 my-4",children:f.map((h,g)=>e.jsxs("li",{className:"text-base text-muted-foreground flex items-start gap-2",children:[e.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary mt-2 shrink-0"}),h.replace("• ","")]},g))},r)}return e.jsx("p",{className:"text-base md:text-lg text-muted-foreground leading-relaxed mb-4",children:t},r)})}),e.jsxs("div",{className:"mt-10 pt-8 border-t border-border/50",children:[e.jsx("p",{className:"text-sm font-medium text-muted-foreground mb-4",children:"Поделиться:"}),e.jsx(y,{url:u,title:s.title})]})]})})}),i.length>0&&e.jsx("section",{className:"py-12 md:py-16 lg:py-24 bg-muted/30",children:e.jsxs("div",{className:"max-w-[1600px] mx-auto container-page",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-heading font-bold text-foreground mb-8",children:"Другие объявления"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:i.map(t=>e.jsxs(b,{to:`/dissertation-councils/announcement/${t.id}`,className:"group bg-card rounded-2xl p-6 shadow-sm border border-border hover:shadow-lg transition-shadow block",children:[e.jsx("p",{className:"text-xs text-muted-foreground mb-2",children:o(t.date)}),e.jsx("h3",{className:"text-base font-heading font-bold text-foreground leading-snug line-clamp-2 group-hover:text-primary transition-colors",children:t.title})]},t.id))})]})})]})};export{T 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.