1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7037],{6456:(e,t,r)=>{"use strict";r.d(t,{O:()=>o});var a=r(95155);r(12115);var i=r(18460),s=r(67888),n=r(48846);let l=(0,i.F)("flex rounded-sm border bg-surface-info-soft hc:border-border-strong",{variants:{size:{default:"gap-2 px-3 py-2",md:"gap-2 p-3"},align:{start:"flex-col md:flex-row",center:"flex-col md:flex-row md:items-center"}},defaultVariants:{size:"default",align:"start"}});function o({className:e,size:t,align:r,iconName:i="ui:message-rounded-info",iconClassName:c,children:d,...u}){return(0,a.jsxs)("div",{"data-slot":"info-block",className:(0,s.cn)(l({size:t,align:r}),"border-muted",e),...u,children:[(0,a.jsx)(n.I,{name:i,"aria-hidden":"true",className:(0,s.cn)("shrink-0 size-6 text-surface-info",c)}),(0,a.jsx)("div",{className:"min-w-0 flex-1",children:d})]})}},15422:(e,t,r)=>{"use strict";r.d(t,{D:()=>a});let a=(0,r(93474).A)({locales:["ru","en"],defaultLocale:"ru",localePrefix:"as-needed",localeDetection:!1,localeCookie:!1})},31404:(e,t,r)=>{"use strict";r.d(t,{Xi:()=>u,av:()=>m,j7:()=>c,tU:()=>l,vl:()=>d});var a=r(95155),i=r(56440),s=r(18460);r(12115);var n=r(67888);function l({className:e,orientation:t="horizontal",...r}){return(0,a.jsx)(i.bL,{"data-slot":"tabs","data-orientation":t,className:(0,n.cn)("group/tabs flex gap-4 data-[orientation=horizontal]:flex-col data-[orientation=vertical]:flex-row",e),...r})}let o=(0,s.F)("inline-flex w-fit items-center rounded-full bg-soft p-0.5 hc:border hc:border-border-strong",{variants:{variant:{default:""},size:{default:"min-h-9"}},defaultVariants:{variant:"default",size:"default"}});function c({className:e,variant:t,size:r,...s}){return(0,a.jsx)(i.B8,{"data-slot":"tabs-list",className:(0,n.cn)(o({variant:t,size:r}),e),...s})}let d=(0,s.F)("inline-flex items-center justify-center rounded-full px-4 py-1 text-sm font-bold whitespace-nowrap text-text-primary transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-primary data-[state=active]:shadow-sm hover:text-text-primary hover:cursor-pointer sm:text-base hc:data-[state=active]:border hc:data-[state=active]:border-border-strong");function u({className:e,...t}){return(0,a.jsx)(i.l9,{"data-slot":"tabs-trigger",className:(0,n.cn)(d(),e),...t})}function m({className:e,...t}){return(0,a.jsx)(i.UC,{"data-slot":"tabs-content",className:(0,n.cn)("flex-1 outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",e),...t})}},31996:(e,t,r)=>{"use strict";r.d(t,{PressCenterTabs:()=>L});var a=r(95155),i=r(50910),s=r(12115),n=r(67888),l=r(31404),o=r(81534),c=r(26708),d=r(48846),u=r(19115),m=r(39458),f=r(95085),p=r(6130),h=r(41429),x=r(30143),v=r(94759);let b={page:1,limit:100,"order_by[sort]":"asc","filter[section_code]":"ru_press_service_materials","relation[links_items]":!0,"relation[attached_documents]":!0,"relation[file_doc]":!0,"relation[file_pdf]":!0},g={page:1,limit:100,"order_by[sort]":"asc","filter[section_code]":"press_service","relation[iblock_section_id]":!0,"relation[preview_picture]":!0,"relation[detail_picture]":!0},w={page:1,limit:100,"order_by[sort]":"asc","order_by[property_main_position.sort]":"asc","relation[preview_picture]":!0,"relation[detail_picture]":!0,"relation[iblock_section_id]":!0,"relation[main_position]":!0,"relation[additional_positions]":!0};var j=r(6456),y=r(56063),_=r(5772),N=r(83633);function k({person:e}){let t=(0,s.useId)(),r=(0,s.useId)(),i="female"===e.gender?{src:"/assets/female.svg",width:100,height:120}:{src:"/assets/male.svg",width:109,height:120};return(0,a.jsx)(N.q7,{asChild:!0,variant:"outline",className:"flex flex-col rounded-lg border-border-muted bg-surface-soft-alt p-4 sm:flex-row sm:items-center hc:border-border-strong",children:(0,a.jsxs)("div",{"aria-labelledby":t,children:[(0,a.jsx)(N.Qm,{className:"relative h-36 w-36 overflow-hidden rounded-lg bg-surface-info-muted sm:self-ce
1nter",children:e.imageSrc?(0,a.jsx)(_.default,{src:e.imageSrc,alt:e.imageAlt??"",fill:!0,className:"object-cover",sizes:"148px"}):(0,a.jsx)("div",{className:"mt-auto",children:(0,a.jsx)(_.default,{src:i,alt:"",width:i.width,height:i.height,className:"h-auto w-auto max-h-full max-w-28",sizes:"112px"})})}),(0,a.jsxs)(N.Vj,{className:"min-w-0 justify-center gap-2.5",children:[(0,a.jsx)(N.Et,{className:"w-full",children:(0,a.jsx)(y.o,{as:"h3",variant:"h3",id:t,className:"w-full text-text-secondary",children:e.fullName})}),(0,a.jsx)(N.gR,{className:"line-clamp-none text-text-primary",children:(0,a.jsx)(y.o,{as:"span",variant:"body",id:r,children:e.position})}),(e.phone||e.email)&&(0,a.jsxs)("div",{className:"flex flex-wrap gap-4",children:[e.phone&&(0,a.jsxs)("a",{href:`tel:${e.phone.replace(/[^+\d]/g,"")}`,"aria-describedby":`${t} ${r}`,className:"inline-flex items-center gap-2 rounded-md text-text-primary underline-offset-4 transition-colors hover:text-text-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[(0,a.jsx)(d.I,{name:"contacts:phone","aria-hidden":"true",className:"size-6 shrink-0"}),(0,a.jsx)("span",{className:"sr-only",children:"ТелеÑон"}),(0,a.jsx)(y.o,{as:"span",variant:"body2",children:e.phone})]}),e.email&&(0,a.jsxs)("a",{href:`mailto:${e.email}`,"aria-describedby":`${t} ${r}`,className:"inline-flex items-center gap-2 rounded-md text-text-primary underline-offset-4 transition-colors hover:text-text-secondary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",children:[(0,a.jsx)(d.I,{name:"contacts:mail","aria-hidden":"true",className:"size-6 shrink-0"}),(0,a.jsx)("span",{className:"sr-only",children:"ÐлекÑÑÐ¾Ð½Ð½Ð°Ñ Ð¿Ð¾ÑÑа"}),(0,a.jsx)(y.o,{as:"span",variant:"body2",children:e.email})]})]})]})]})})}function $(){let e=(0,i.c)(),{data:t}=(0,c.useQuery)((0,x.j)({queryKey:p.l.structures.list(g),queryFn:async()=>{let e=(await f.F.structures.getList(g,h.II)).items.map(e=>e.id);return(await f.F.persons.getPersons({...w,"filter[main_position_ids][]":e},h.II)).items.map(e=>({id:String(e.id),fullName:e.name??"",position:e.main_position?.name??"",department:e.iblock_section_id?.[0].name??"",gender:e.feminine_gender?"female":"male",phone:e.telephone??void 0,email:e.email??void 0,imageSrc:(0,v.aN)(e.detail_picture?.src,!1)}))}})),r=e("press-center-phone"),s=e("press-center-email");return(0,a.jsxs)("section",{className:"rounded-lg bg-background p-4 shadow-sm hc:border hc:border-border-strong md:p-6",children:[(0,a.jsx)(y.o,{as:"h2",variant:"titleLg2",className:"text-[length:var(--text-lg)] leading-[var(--text-lg-line-height)] md:text-[length:var(--text-lg2)] md:leading-[var(--text-lg2-line-height)]",children:e("press-center-management-title")}),(0,a.jsxs)("div",{className:"mt-4 space-y-1",children:[(0,a.jsxs)(y.o,{as:"p",variant:"body2",children:[e("press-center-phone-label"),":"," ",(0,a.jsx)("a",{href:`tel:${r.replace(/[^+\d]/g,"")}`,className:"underline-offset-4 hover:underline",children:r})]}),(0,a.jsxs)(y.o,{as:"p",variant:"body2",children:[e("press-center-email-label"),":"," ",(0,a.jsx)("a",{href:`mailto:${s}`,className:"underline-offset-4 hover:underline",children:s})]})]}),(0,a.jsx)("ul",{className:"mt-6 space-y-4",children:t?.map(e=>(0,a.jsx)("li",{children:(0,a.jsx)(k,{person:e})},e.id))}),(0,a.jsxs)(j.O,{size:"md",className:"mt-6",children:[(0,a.jsx)(y.o,{as:"p",variant:"body2",className:"font-medium text-text-secondary md:font-bold",children:e("press-center-contacts-note")}),(0,a.jsx)(y.o,{as:"p",variant:"body2",className:"mt-2 font-medium text-text-secondary md:font-bold",children:e("press-center-competence-note")})]})]})}let z="management",I=(0,m.x)("/press_center/accreditation"),A="min-h-10 py-0 focus-visible:ring-inset focus-visible:ring-offset-0";function L(){let e=(0,i.c)(),[t,r]=(0,s.useState)(z),{data:m}=(0,c.useQuery)(((e=b)=>(0,x.j)({queryKey:p.l.staticPages.list(e),queryFn:async()=>(await f.F.staticPages.getList({...b,...e},h.II)).items.map(e=>{let t,r="";if(e.attached_documents?.length){let a=e.attached_documents[0],i=a.file_pdf?.src??a.file_doc?.src??a.file_html?.src;r=(0,v.aN)(i),t="_blank"}else e.links_items?.length&&(r=e.links_items[0].link??"");return{id:String(e.id),label:e.name??"",href:r,targetHref:t}})}))()),g=(m??[]).map(e=>({id:e.id,title:e.label,href:e.href,isActive:e.isActive}));return(0,a.jsxs)(l.tU,{value:t,onValueChange:r,children:[(0,a.jsx)(o.m,{children:(0,a.jsx)("div",{className:"w-full overflow-x-auto [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",children:(0,a.jsxs)(l.j7,{"aria-label":e("press-center-tabs-label"),className:"min-w-max whitespace-nowrap",children:[(0,a.jsx)(l.Xi,{value:z,className:A,children:e("press-center-management-tab")}),(0,a.jsx)("a",{href:I,className:(0,n.cn)((0,l.vl)(),A),children:e("press-center-accreditation-tab")})]})})}),(0,a.jsx)(o.m,{className:"px-0 sm:px-4",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-5 xl:grid-cols-[minmax(0,1fr)_390px] xl:items-start",children:[(0,a.jsx)("div",{className:"min-w-0 order-2 xl:order-1",children:(0,a.jsx)(l.av,{value:z,className:"mt-0",children:(0,a.jsx)($,{})})}),(0,a.jsx)("div",{className:"min-w-0 order-1 xl:order-2",children:(0,a.jsx)(s.Suspense,{fallback:null,children:(0,a.jsx)(u.SectionNavigationAside,{ariaLabel:e("press-center-media-aside-title"),mobileTitle:e("press-center-media-aside-title"),items:g,hideHeaderDivider:!0,header:{node:(0,a.jsx)(d.I,{name:"brand:logo",className:"size-10 text-text-inverse","aria-hidden":"true"}),ariaLabel:e("press-center-media-aside-title")}})})})]})})]})}},39458:(e,t,r)=>{"use strict";r.d(t,{x:()=>i});var a=r(41463);function i(e){let t,r=e.startsWith("/")?e:`/${e}`;return`${((t=a.env.NEXT_PUBLIC_LK_URL?.trim())&&t.length>0?t:"https://www.vsrf.ru").replace(/\/$/,"")}${r}`}},39728:(e,t,r)=>{"use strict";r.d(t,{c:()=>i});var a=r(12115);function i(e){let t=a.useRef(e);return a.useEffect(()=>{t.current=e}),a.useMemo(()=>(...e)=>t.current?.(...e),[])}},41429:(e,t,r)=>{"use strict";r.d(t,{II:()=>a,Y0:()=>i});let a={next:{revalidate:60}},i={cache:"no-store"}},50333:(e,t,r)=>{"use strict";r.d(t,{Separator:()=>n});var a=r(95155);r(12115);var i=r(15763),s=r(67888);function n({className:e,orientation:t="horizontal",decorative:r=!0,...l}){return(0,a.jsx)(i.b,{"data-slot":"separator",decorative:r,orientation:t,className:(0,s.cn)("shrink-0 bg-border-muted data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",e),...l})}},59132:(e,t,r)=>{Promise.resolve().then(r.bind(r,26415)),Promise.resolve().then(r.bind(r,75539)),Promise.resolve().then(r.bind(r,35625)),Promise.resolve().then(r.bind(r,52284)),Promise.resolve().then(r.bind(r,84456)),Promise.resolve().then(r.bind(r,11180)),Promise.resolve().then(r.bind(r,48934)),Promise.resolve().then(r.bind(r,16136)),Promise.resolve().then(r.bind(r,88405)),Promise.resolve().then(r.bind(r,26708)),Promise.resolve().then(r.bind(r,77508)),Promise.resolve().then(r.bind(r,33184)),Promise.resolve().then(r.bind(r,61816)),Promise.resolve().then(r.bind(r,91930)),Promise.resolve().then(r.bind(r,31996))},81534:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});var a=r(95155);r(12115);var i=r(67888);function s({className:e,...t}){return(0,a.jsx)("div",{className:(0,i.cn)("mx-auto w-full max-w-360 px-4 sm:px-6 lg:px-20",e),...t})}},83633:(e,t,r)=>{"use strict";r.d(t,{Et:()=>m,Qm:()=>d,Vj:()=>u,gR:()=>f,q7:()=>o});var a=r(95155);r(12115);var i=r(18460),s=r(42442),n=r(67888);r(50333);let l=(0,i.F)("group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted",{variants:{variant:{default:"border-transparent",outline:"border-border",muted:"border-transparent bg-muted/50"},size:{default:"gap-2.5 px-3 py-2.5",sm:"gap-2.5 px-3 py-2.5",xs:"gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0"}},defaultVariants:{variant:"default",size:"default"}});function o({className:e,variant:t="default",size:r="default",asChild:i=!1,...c}){let d=i?s.bL:"div";return(0,a.jsx)(d,{"data-slot":"item","data-variant":t,"data-size":r,className:(0,n.cn)(l({variant:t,size:r,className:e})),...c})}let c=(0,i.F)("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none",{variants:{variant:{default:"bg-transparent",icon:"[&_svg:not([class*='size-'])]:size-4",image:"size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"}},defaultVariants:{variant:"default"}});function d({className:e,variant:t="default",...r}){return(0,a.jsx)("div",{"data-slot":"item-media","data-variant":t,className:(0,n.cn)(c({variant:t,className:e})),...r})}function u({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"item-content",className:(0,n.cn)("flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none",e),...t})}function m({className:e,...t}){return(0,a.jsx)("div",{"data-slot":"item-title",className:(0,n.cn)("font-heading line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4",e),...t})}function f({className:e,...t}){return(0,a.jsx)("p",{"data-slot":"item-description",className:(0,n.cn)("line-clamp-2 text-left text-sm leading-normal font-normal text-muted-foreground group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4 [&>
1a:hover]:text-primary",e),...t})}},89670:(e,t,r)=>{"use strict";r.d(t,{UC:()=>B,Y9:()=>Q,bL:()=>H,l9:()=>T,q7:()=>K});var a=r(12115),i=r(68599),s=r(76094),n=r(47527),l=r(70379),o=r(98979),c=r(55897),d=r(19820),u=r(89971),m=r(1933),f=r(95155),p="Accordion",h=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[x,v,b]=(0,s.N)(p),[g,w]=(0,i.A)(p,[b,d.z3]),j=(0,d.z3)(),y=a.forwardRef((e,t)=>{let{type:r,...a}=e;return(0,f.jsx)(x.Provider,{scope:e.__scopeAccordion,children:"multiple"===r?(0,f.jsx)(I,{...a,ref:t}):(0,f.jsx)(z,{...a,ref:t})})});y.displayName=p;var[_,N]=g(p),[k,$]=g(p,{collapsible:!1}),z=a.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:s=()=>{},collapsible:n=!1,...l}=e,[c,d]=(0,o.i)({prop:r,defaultProp:i??"",onChange:s,caller:p});return(0,f.jsx)(_,{scope:e.__scopeAccordion,value:a.useMemo(()=>c?[c]:[],[c]),onItemOpen:d,onItemClose:a.useCallback(()=>n&&d(""),[n,d]),children:(0,f.jsx)(k,{scope:e.__scopeAccordion,collapsible:n,children:(0,f.jsx)(P,{...l,ref:t})})})}),I=a.forwardRef((e,t)=>{let{value:r,defaultValue:i,onValueChange:s=()=>{},...n}=e,[l,c]=(0,o.i)({prop:r,defaultProp:i??[],onChange:s,caller:p}),d=a.useCallback(e=>c((t=[])=>[...t,e]),[c]),u=a.useCallback(e=>c((t=[])=>t.filter(t=>t!==e)),[c]);return(0,f.jsx)(_,{scope:e.__scopeAccordion,value:l,onItemOpen:d,onItemClose:u,children:(0,f.jsx)(k,{scope:e.__scopeAccordion,collapsible:!0,children:(0,f.jsx)(P,{...n,ref:t})})})}),[A,L]=g(p),P=a.forwardRef((e,t)=>{let{__scopeAccordion:r,disabled:i,dir:s,orientation:o="vertical",...d}=e,u=a.useRef(null),p=(0,n.s)(u,t),b=v(r),g="ltr"===(0,m.jH)(s),w=(0,l.mK)(e.onKeyDown,e=>{if(!h.includes(e.key))return;let t=e.target,r=b().filter(e=>!e.ref.current?.disabled),a=r.findIndex(e=>e.ref.current===t),i=r.length;if(-1===a)return;e.preventDefault();let s=a,n=i-1,l=()=>{(s=a+1)>n&&(s=0)},c=()=>{(s=a-1)<0&&(s=n)};switch(e.key){case"Home":s=0;break;case"End":s=n;break;case"ArrowRight":"horizontal"===o&&(g?l():c());break;case"ArrowDown":"vertical"===o&&l();break;case"ArrowLeft":"horizontal"===o&&(g?c():l());break;case"ArrowUp":"vertical"===o&&c()}let d=s%i;r[d].ref.current?.focus()});return(0,f.jsx)(A,{scope:r,disabled:i,direction:s,orientation:o,children:(0,f.jsx)(x.Slot,{scope:r,children:(0,f.jsx)(c.sG.div,{...d,"data-orientation":o,ref:p,onKeyDown:i?void 0:w})})})}),R="AccordionItem",[C,U]=g(R),S=a.forwardRef((e,t)=>{let{__scopeAccordion:r,value:a,...i}=e,s=L(R,r),n=N(R,r),l=j(r),o=(0,u.B)(),c=a&&n.value.includes(a)||!1,m=s.disabled||e.disabled;return(0,f.jsx)(C,{scope:r,open:c,disabled:m,triggerId:o,children:(0,f.jsx)(d.bL,{"data-orientation":s.orientation,"data-state":V(c),...l,...i,ref:t,disabled:m,open:c,onOpenChange:e=>{e?n.onItemOpen(a):n.onItemClose(a)}})})});S.displayName=R;var D="AccordionHeader",E=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,i=L(p,r),s=U(D,r);return(0,f.jsx)(c.sG.h3,{"data-orientation":i.orientation,"data-state":V(s.open),"data-disabled":s.disabled?"":void 0,...a,ref:t})});E.displayName=D;var F="AccordionTrigger",q=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,i=L(p,r),s=U(F,r),n=$(F,r),l=j(r);return(0,f.jsx)(x.ItemSlot,{scope:r,children:(0,f.jsx)(d.l9,{"aria-disabled":s.open&&!n.collapsible||void 0,"data-orientation":i.orientation,id:s.triggerId,...l,...a,ref:t})})});q.displayName=F;var O="AccordionContent",W=a.forwardRef((e,t)=>{let{__scopeAccordion:r,...a}=e,i=L(p,r),s=U(O,r),n=j(r);return(0,f.jsx)(d.UC,{role:"region","aria-labelledby":s.triggerId,"data-orientation":i.orientation,...n,...a,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});function V(e){return e?"open":"closed"}W.displayName=O;var H=y,K=S,Q=E,T=q,B=W},91930:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(55510),i=r(95155);function s({locale:e,...t}){if(!e)throw Error(void 0);return(0,i.jsx)(a.Dk,{locale:e,...t})}},94170:(e,t,r)=>{"use strict";r.d(t,{N_:()=>s,a8:()=>l,rd:()=>o});var a=r(82430),i=r(15422);let{Link:s,redirect:n,usePathname:l,useRouter:o,getPathname:c}=(0,a.A)(i.D)},94759:(e,t,r)=>{"use strict";r.d(t,{D9:()=>p,ex:()=>f,IL:()=>m,iQ:()=>d,aN:()=>c});let a=/^\/documents\/all\/(\d+)\/?$/i,i=/^(?:www\.)?vsrf\.ru$/i,s=/^siteadmin(?:\.|$)/i;function n(e){return/^https?:\/\//i.test(e)}function l(){let e="".trim();return e?`/${e.replace(/^\/+|\/+$/g,"")}`:""}function o(e){let t=l();return t&&e.startsWith("/upload/")?`${t}${e.slice(7)}`:e}function c(e,t="/assets/foreground.webp"){if(!e)return!1===t?void 0:t;if(n(e)){let t=l(),i="https://www.vsrf.ru";if(!t||!i||!n(i))return e;try{var r,a;let t=new URL(e),s=new URL(i);if(r=t,a=s,r.protocol!==a.protocol||r.hostname!==a.hostname||r.port!==a.port)return e;return t.pathname=o(t.pathname),t.toString()}catch{return e}}let i=function(){for(let e of["https://www.vsrf.ru","https://www.vsrf.ru/api/v1"])if(e&&n(e))try{return new URL(e)}catch{continue}return null}();return i?new URL(o(e),i).toString():e}function d(e){return e}function u(e,t){try{let r=n(e)?new URL(e):e.startsWith("/")?new URL(e,"http://media.local"):null;if(!r||!r.pathname||r.pathname.includes(".."))return null;
1let a=new URLSearchParams(r.search);t?.download&&a.set("__download","1"),t?.filename?.trim()&&a.set("__filename",t.filename.trim());let i=a.toString();return`/media-proxy${r.pathname}${i?`?${i}`:""}`}catch{return null}}function m(e,t=""){let r=e||t,a=r?u(r):null;if(a)return a;let i=c(e,t);return i?u(i)??i:""}function f(e,t="",r){let a=e||t,i=a?u(a,{download:!0,filename:r}):null;if(i)return i;let s=c(e,t);return s?u(s,{download:!0,filename:r})??s:""}function p(e){return e?e.replace(/<(div|blockquote)\b[^>]*>(?:\s| |<br\s*\/?>)*<\/\1>/gi,"").replace(/\b(src|href|poster)=("([^"]*)"|'([^']*)')/gi,(e,t,r,n,l)=>{let o=n??l??"",d=function(e){var t,r;let n=e.trim();if(!n)return n;let l=n.match(a);if(l)return`/documents/all/${l[1]}`;let o=function(e){try{return new URL(e)}catch{return null}}(n);return o?(t=o.hostname,s.test(t)&&o.pathname.startsWith("/upload/"))?`${o.pathname}${o.search}`:(r=o.hostname,(i.test(r)||function(e){let t="https://www.vsrf.ru";if(!t)return!1;try{return new URL(t).hostname===e}catch{return!1}}(o.hostname))&&o.pathname.startsWith("/upload/"))?`${o.pathname}${o.search}`:n:n}(o);if(!d.startsWith("/upload/")){if(d===o)return e;let a=r.startsWith("'")?"'":'"';return`${t}=${a}${d}${a}`}let u=c(d,d),m=r.startsWith("'")?"'":'"';return`${t}=${m}${u}${m}`}):""}}},e=>{e.O(0,[5510,6558,4200,707,6583,9854,9539,319,5772,9385,8846,9839,9115,8441,3794,7358],()=>e(e.s=59132)),_N_E=e.O()}]);
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.