1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[803],{57232:function(e,t,r){r.d(t,{D1:function(){return getInitialAnnouncesSpecState},OG:function(){return setInitialAnnouncesSpecState},Ur:function(){return clearInitialAnnouncesSpecState}});var n=r(5723);let l="announceSpec";function setInitialAnnouncesSpecState(e){n.mM.set(l,e)}function getInitialAnnouncesSpecState(){return n.mM.get(l)}function clearInitialAnnouncesSpecState(){return n.mM.remove(l)}},82676:function(e,t,r){r.d(t,{P:function(){return LectorCard}});var n=r(85893),l=r(67294),s=r(7125),a=r(45586),i=r(75879),c=r(76003),o=r(64910),u=r(90788);let truncateText=(e,t)=>e.length>t?e.slice(0,t)+"...":e;function LectorCard(e){let{data:t,tagsSelected:r,showVotes:d,showName:h=!0,hasLink:p,awardsLimit:m=3,mod:f,onSelect:g,selected:x,disabled:v,truncated:y,winnerPlace:S,infoTruncateLimit:w=200}=e;if(!t)return null;let j=(0,i.XA)(),_=y&&!j,[N,C]=(0,l.useState)(!1),b=(0,l.useRef)(null),L=(0,l.useRef)(null),T=(0,l.useRef)(null),M=(0,l.useRef)(null),getRootFontSize=()=>parseFloat(getComputedStyle(document.documentElement).fontSize)||16,pxToRem=e=>e/getRootFontSize(),updateShadowHeight=()=>{if(!b.current||!N)return;let e=b.current,t=e.querySelector(".lector"),r=null==t?void 0:t.querySelector(".lector__wrap");if(r&&t){var n;let l=pxToRem(r.offsetHeight),s=pxToRem(r.scrollHeight)+2.4,a=Math.max(l,s),i=null!=T.current?Math.min(T.current,a):a,c=e.style.height||"",o=c?c.endsWith("rem")?parseFloat(c):pxToRem(parseFloat(c)):null!==(n=L.current)&&void 0!==n?n:0,u=Math.max(o,i);T.current=u,t.style.setProperty("--shadow-height","".concat(u,"rem"))}};(0,l.useLayoutEffect)(()=>{N&&b.current&&updateShadowHeight()},[N]),(0,l.useEffect)(()=>()=>{if(M.current&&clearTimeout(M.current),b.current){b.current.style.height="",b.current.style.minHeight="",b.current.style.overflow="",b.current.style.alignSelf="";let e=b.current.querySelector(".lector");e&&e.style.removeProperty("--shadow-height")}T.current=null},[]);let k=(0,l.useMemo)(()=>(!_||N)&&t.info?t.info:_&&t.info?truncateText(t.info,w):t.info,[_,N,t.info,w]),A=(0,n.jsxs)("div",{className:"lector__wrap",children:[t.img&&(0,n.jsx)("div",{className:"lector__image lector__image_".concat(t.died?"died":"default"),style:{backgroundImage:'url("'.concat(t.img,'")')}}),(0,n.jsxs)("div",{className:"lector__info",children:[t.name&&h&&(0,n.jsx)("div",{className:"lector__head",children:(0,n.jsx)("div",{className:"lector__name",children:t.name})}),(0,n.jsx)(o.$,{items:t.awards,limit:m,baseCls:"award"}),t.votes&&(0,n.jsx)("div",{className:"lector__votes",children:(0,c.Av)(t.votes,["голоÑ","голоÑа","голоÑов"])}),k&&(0,n.jsx)("div",{className:"lector__about text-markup",dangerouslySetInnerHTML:{__html:k}}),(0,n.jsx)(o.$,{items:t.tags,selectedItems:r,limit:j?1:3})]}),d&&(0,n.jsx)(u.u,{"data-voted":x,className:x?"btn_select btn_border-blue":"btn_select",onClick:e=>{e.preventDefault(),e.stopPropagation(),g(t.id)},disabled:v&&!x,children:x?"â":"ÐÑбÑаÑÑ"})]}),R=(0,s.aT)("lector",[f,t.img?"with-avatar":"no-avatar",_&&N?"hover-expanded":null]),I=_&&t.info?{onMouseEnter:e=>{if(_&&t.info){let t=e.currentTarget,r=t.querySelector(".lector");if(!r)return;let n=t.closest(".lectors-list_finished-contest");if(n){let e=Array.from(n.querySelectorAll(".lector-card-wrap")),r=e.indexOf(t);if(r>=0&&r<3)return}if(M.current&&(clearTimeout(M.current),M.current=null),b.current=t,t.removeAttribute("data-resetting"),t.style.alignSelf="",!t.style.height){r&&r.style.removeProperty("--shadow-height");let e=t.style.alignSelf;t.style.alignSelf="flex-start";let n=pxToRem(t.offsetHeight);t.style.alignSelf=e||"",null!=n&&(null==L.current||n<=L.current)&&(L.current=n)}null!=L.current&&(t.style.minHeight="0",t.style.height="".concat(L.current,"rem")),t.style.overflow="visible",r&&r.style.removeProperty("--shadow-transition");let l=t.closest(".experts-slider");if(l&&!l.classList.contains("experts-slider_has-expanded")){let e=l.offsetHeight/2;l.classList.add("experts-slider_has-expanded"),l.style.setProperty("--experts-slider-center","".concat(e,"px"))}C(!0)}},onMouseLeave:()=>{var e;
1C(!1),M.current&&(clearTimeout(M.current),M.current=null);let t=null===(e=b.current)||void 0===e?void 0:e.closest(".experts-slider");if(b.current){let e=b.current,r=e.querySelector(".lector");M.current=setTimeout(()=>{if(b.current){let e=b.current,t=null==r?void 0:r.querySelector(".lector__wrap");e.setAttribute("data-resetting","true"),r&&t&&(r.style.setProperty("--shadow-transition","0s"),r.style.setProperty("--shadow-height","".concat(pxToRem(t.offsetHeight),"rem"))),r&&r.style.removeProperty("--shadow-height"),e.style.alignSelf="flex-start",L.current=pxToRem(e.offsetHeight),e.style.height="",e.style.minHeight="",e.style.overflow=""}t&&!t.querySelector(".lector_hover-expanded")&&t.classList.remove("experts-slider_has-expanded"),M.current=null},300)}}}:{},H=S?{"data-place":S}:{},P=p?(0,n.jsx)(a.T,{className:R,href:"/speakers/".concat(t.slug||"need-slug","/"),...H,children:A}):(0,n.jsx)("div",{className:R,...H,children:A});return(0,n.jsx)("div",{ref:e=>{b.current=e},className:"lector-card-wrap",...I,...H,children:P})}},89470:function(e,t,r){r.d(t,{l:function(){return useSpecModal}});var n=r(85893),l=r(67294),s=r(57936),a=r(23882);let SpecsModalInner=e=>{let{selected:t,setSelected:r,items:l,isOpen:a,onClose:i}=e;return(0,n.jsx)(s.Z,{selected:t,setSelected:r,items:l,onClose:i,isOpen:a,modalName:"spec",title:"СпеÑиализаÑии",text:"ÐÐ»Ñ Ð´Ð¾Ð±Ð°Ð²Ð»ÐµÐ½Ð¸Ñ ÑпеÑиализаÑий вÑбеÑиÑе из ÑпиÑка или воÑполÑзÑйÑеÑÑ Ð¿Ð¾Ð¸Ñком"})};function useSpecModal(e,t,r){let s=(0,a.Q0)(),i=Array.isArray(r)?r:s,[c,o]=(0,l.useState)([]),[u,d]=(0,l.useState)(!1),h=Array.isArray(e)&&"function"==typeof t,p=h?e:c,m=(0,l.useMemo)(()=>i.filter(e=>p.includes(e.value)).map(e=>e.title),[i,p]),f=u?(0,n.jsx)(SpecsModalInner,{items:i,selected:p,setSelected:h?t:o,isOpen:u,onClose:()=>d(!1)}):null,g=(0,l.useCallback)(()=>d(!0),[]);return{specOptions:i,specsSelected:p,specsSelectedNames:m,SpecModal:f,openSpecsModal:g,isOpenedSpecsModal:u}}},42300:function(e,t,r){r.d(t,{t:function(){return Pagination}});var n=r(85893),l=r(67294),s=r(70872),a=r(6964),i=r(90788),c=r(58852),o=r(75879);let Pagination=e=>{let{total:t,limits:r="10-20-50",limit:u,setLimit:d,page:h,setPage:p}=e,m=(0,o.XA)(),f=Math.ceil(t/u),g=[],x=(0,l.useMemo)(()=>r.split("-").map(e=>({label:e,value:e})),[r]);for(let e=1;e<=f;e++)g.push({label:e,value:e});if(m)return h>=g.length?null:(0,n.jsx)("div",{className:"pagination",children:(0,n.jsx)(i.u,{onClick:()=>p(h+1),children:"ÐоказаÑÑ ÐµÑе"})});let v=Math.min(u,t-(h-1)*u);return(0,n.jsxs)("div",{className:"pagination",children:[(0,n.jsxs)("div",{className:"pagination-shown",children:["Ðоказано ",v," из ",t]}),(0,n.jsx)("div",{className:"pagination-pages","data-arrows":f>1,children:(0,n.jsx)(s.Z,{shape:"rounded",count:f,page:h,onChange:(e,t)=>
1p(t),renderItem:e=>(0,n.jsx)(a.Z,{slots:{previous:()=>(0,n.jsx)("svg",{className:"pagination-prev",width:"27",height:"32",viewBox:"0 0 27 32",fill:"none",xmlns:"http: /www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M25 3.87564L4 16L25 28.1244L25 3.87564Z",className:"stroke",strokeWidth:"4"})}),next:()=>(0,n.jsx)("svg",{className:"pagination-next",width:"27",height:"32",viewBox:"0 0 27 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("path",{d:"M2 3.87564L23 16L2 28.1244L2 3.87564Z",className:"stroke",strokeWidth:"4"})})},...e})})}),f>1&&(0,n.jsx)("div",{className:"pagination-page",children:(0,n.jsx)(c.Z,{value:h,setValue:p,items:g})}),(0,n.jsx)("div",{className:"pagination-limit",children:"function"==typeof d&&(0,n.jsx)(c.Z,{title:"ÐоказÑваÑÑ Ð¿Ð¾",value:u,setValue:e=>{d(e),p(1)},items:x})})]})}},64910:function(e,t,r){r.d(t,{$:function(){return Tags},Z:function(){return Specs}});var n=r(85893),l=r(11163),s=r(67294),a=r(83718),i=r(7125),c=r(57232),o=r(45586);function Tags(e){let{mod:t,items:r,selectedItems:l,limit:s=null,baseCls:c="tag",onItemClick:u}=e;if(!(0,a.Ft)(r))return null;let d="number"==typeof s&&s>0&&r.length>s;return(0,n.jsxs)("span",{className:(0,i.aT)("".concat(c,"s"),[t,1===r.length?"single":"many"]),children:[r.slice(0,null!=s?s:r.length).map(e=>{var t,r,s;let a=e.id||e,d={title:null==e?void 0:e.title,className:(0,i.aT)(c,[Array.isArray(l)&&l.includes(null!==(t=e.id)&&void 0!==t?t:e)||e.selected?"selected":"default",null!==(r=e.mod)&&void 0!==r?r:null]),children:null!==(s=e.text)&&void 0!==s?s:"string"==typeof e?e:"noname"};return e.url?(0,n.jsx)(o.T,{href:e.url,...d},a):"function"==typeof u?(0,n.jsx)("button",{type:"button",...d,"data-id":a,onClick:u},a):(0,n.jsx)("span",{...d},a)}),d&&(0,n.jsx)("span",{className:"".concat(c," ").concat(c,"_more"),children:"+".concat(r.length-s)})]})}function Specs(e){let t=(0,l.useRouter)(),r=(0,s.useCallback)(e=>{let r=e.currentTarget.dataset.id;(0,c.OG)(r),t.push("/announce/")},[]);return(0,n.jsx)(Tags,{...e,onItemClick:r})}},68256:function(e,t,r){var n=r(85893);t.Z=e=>{let{query:t,setQuery:r}=e;return(0,n.jsxs)("div",{className:"lectors-search string-search",children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",children:(0,n.jsx)("path",{d:"M25.419 24.1175L25.5957 23.9407L25.419 23.764L19.2006 17.5456C20.662 15.7707 21.5412 13.4983 21.5412 11.0245C21.5411 5.3589 16.9323 0.75 11.2667 0.75C5.60109 0.75 0.992188 5.3589 0.992188 11.0245C0.992188 16.6901 5.60109 21.299 11.2667 21.299C13.7404 21.299 16.0129 20.4198 17.7877 18.9584L24.0061 25.1768L24.1829 25.3536L24.3597 25.1768L25.419 24.1175ZM2.9903 11.0245C2.9903 6.4611 6.70329 2.74811 11.2667 2.74811C15.8301 2.74811 19.5431 6.4611 19.5431 11.0245C19.5431 15.5879 15.8301 19.3009 11.2667 19.3009C6.70329 19.3009 2.9903 15.5879 2.9903 11.0245Z"})}),(0,n.jsx)("input",{type:"text",placeholder:"ÐоиÑк по Ñамилии",value:t,onChange:e=>r(e.target.value.toLowerCase())})]})}},11678:function(e,t,r){r.d(t,{_:function(){return LetterSearch}});var n=r(85893),l=r(7125);let s=[..."абвгдежзиклмнопÑÑÑÑÑÑ
ÑÑÑÑÑÑÑabcdefghijklmnopqrstuvwxyz"],LetterSearch=e=>{let{query:t,setQuery:r,letters:a}=e;return(0,n.jsx)("div",{className:"lectors-letters",children:(a||s).map((e,s)=>(0,n.jsx)("button",{type:"button",className:(0,l.aT)("lectors-letter",[t.toLowerCase()===e?"active":""]),disabled:!a.includes(e),onClick:()=>r(t===e?"":e),children:e},s))})}}}]);
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.