PageSourceSearch

https://rqc.ru/_next/static/chunks/pages/event/[mnemo_code]-729e43fcc4f60ff1.js

js rqc.ru collected 2026-10-02 04:12:13 UTC 11,703 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[91],{66656:function(e,t,n){"use strict";n(67294);var r=n(85893);t.Z=function(e){var t=e.active,n=e.click;return(0,r.jsxs)("div",{className:t?"modal is-active":"modal",children:[(0,r.jsx)("div",{className:"modal-background"}),(0,r.jsxs)("div",{className:"modal-content",style:{background:"white",padding:"3rem"},children:[(0,r.jsxs)("p",{style:{fontFamily:"DIN Pro",fontSize:"1.6rem",color:"black"},children:["Sorry, translation of this article is not available at the moment.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"Check other news."]}),(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),(0,r.jsx)("button",{className:"button is-warning is-large",onClick:n,children:"Check"})]}),(0,r.jsx)("button",{className:"modal-close is-large","aria-label":"close"})]})}},13834:function(e,t,n){"use strict";n(67294);var r=n(45697),i=n.n(r),a=n(32943),l=n(51189),s=n(4324),o=n(38168),c=n(44276),d=n(85893),u=a.ZP.div.withConfig({displayName:"Socials__StyledSocialButtons",componentId:"sc-gfy4e5-0"})([".article-socials{p{text-transform:uppercase;font-size:1.4rem;color:#040303;display:inline-block;margin-right:2rem;}.SocialMediaShareButton{display:inline-block;margin-right:3rem;vertical-align:top;top:-5px;position:relative;.social-icon{circle{fill:#818181;}}.social-icon:hover{circle{fill:#3998d1;}}div{display:inline-block;}}}@media screen and (max-width:415px){.article-socials{p{display:block;margin-bottom:2rem;}.SocialMediaShareButton{margin-right:2rem;}}}"]),p=function(e,t){var n=e.url,r=e.quote,i=e.image;return(0,d.jsx)(u,{children:(0,d.jsxs)("div",{className:"article-socials",children:[(0,d.jsx)("p",{children:t.t("\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f")}),(0,d.jsx)(l.Z,{url:n,title:r,image:i,children:(0,d.jsx)(s.Z,{size:30,round:!0})}),(0,d.jsx)(o.Z,{url:n,title:r,children:(0,d.jsx)(c.Z,{size:30,round:!0})})]})})};p.contextTypes={t:i().func},t.Z=p},30099:function(e,t,n){"use strict";n.d(t,{VM:function(){return u},ju:function(){return d},zW:function(){return c}});var r,i,a,l=n(71383),s=n(75063),o='\nfragment EventFields on Event {\n  localizations {\n    mnemo_code\n  }\n  locale\n  mnemo_code\n  important\n  wallpaper(sort: "width:DESC") {\n    url\n    height\n    width\n  }\n  color_cover\n  title\n  additional\n  description\n  more_info\n  place\n  show_time\n  start_date_time\n  end_date\n  place_link\n  place_details\n  fee\n  ps\n  partner_logo {\n    url\n  }\n  lecturer\n  lecturer_position\n  lecturer_photo {\n    url\n  }\n  tags {\n    name\n  }\n}\n',c=(0,s.ZP)(r||(r=(0,l.Z)(['\n  query EventsQuery($locale: String!) {\n    events(locale: $locale, sort: "start_date_time:DESC,important:DESC") {\n      ...EventFields\n    }\n  }\n  ',"\n"])),o),d=(0,s.ZP)(i||(i=(0,l.Z)(['\n  query EventsQuery($mnemo_code: String!) {\n    events(locale: "all", where: { mnemo_code: $mnemo_code }) {\n      ...EventFields\n    }\n  }\n  ',"\n"])),o),u=(0,s.ZP)(a||(a=(0,l.Z)(['\n  query EventsByTagQuery($tag: String!) {\n    events(\n      locale: "all"\n      where: { tags: { name: $tag } }\n      sort: "start_date_time:DESC,important:DESC"\n    ) {\n      ...EventFields\n    }\n  }\n  ',"\n"])),o)},32752:function(e,t){"use strict";t.Z="https://rqc.ru"},13014:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return O}});var r={};n.r(r),n.d(r,{fetchEventByUid:function(){return D},fetchEventByUidFailure:function(){return C},fetchEventByUidRequest:function(){return E},fetchEventByUidSuccess:function(){return S}});var i=n(50029),a=n(92777),l=n(82262),s=n(10748),o=n(45959),c=n(63553),d=n(37247),u=n(59499),p=n(87794),h=n.n(p),m=n(67294),v=n(2664),g=n(14890),f=n(45697),x=n.n(f),j=n(55615),_=n(11163),w=n.n(_),y=n(9008),k=n.n(y),b=n(45507),Z=n(5979),N=n(30099),E=function(e){return{type:b.kw,mnemo_code:e}},S=function(e,t){return{type:b.a8,mnemo_code:e,response:t}},C=function(e,t){return{type:b.un,mnemo_code:e,error:t}},D=function(){var e=(0,i.Z)(h().mark((function e(t){var n;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Z.eT)({query:N.ju,variables:{mnemo_code:t}});case 2:return n=e.sent,e.abrupt("return",n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),q=n(6030),B=n(13834),M=n(85893),P=function(e){var t=e.backImage,n=e.tags,r=e.title,i=e.additional,a=e.description,l=!!t;return(0,M.jsx)("div",{className:l?"event-hero hasBack":"event-hero",style:{background:"url("+t+")"},children:(0,M.jsx)("div",{className:"container",children:(0,M.jsx)("div",{className:"columns",children:(0,M.jsxs)("div",{className:"column is-9-desktop is-12-tablet is-12-mobile",children:[(0,M.jsx)("div",{className:l?"event-tags white":"event-tags",children:n.map((function(e,t){return(0,M.jsx)("p",{children:e},t)}))}),(0,M.jsx)("div",{className:l?"additional white":"additional",children:(0,M.jsxs)("p",{children:[" ",i]})}),(0,M.jsx)("div",{className:l?"title white":"title",children:(0,M.jsxs)("h1",{children:[" ",r," "]})}),l&&(0,M.jsx)("div",{className:l?"description white":"description",children:(0,M.jsxs)("p",{children:[" ",a," "]})})]})})})})},z=n(32752),F=n(30381),L=n.n(F),I=(n(21793),n(38456)),R=n.n(I),T=n(8410),$=n(66656);function A(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,d.Z)(e);if(t){var i=(0,d.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,c.Z)(this,n)}}var U=function(e){(0,o.Z)(n,e);var t=A(n);function n(){var e;(0,a.Z)(this,n);for(var r=arguments.length,i=new Array(r),l=0;l<r;l++)i[l]=arguments[l];return e=t.call.apply(t,[this].concat(i)),(0,u.Z)((0,s.Z)(e),"state",{modalActive:!1}),(0,u.Z)((0,s.Z)(e),"click",(function(){w().push("/news")})),e}
1return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.props.contentLang!==this.props.lang&&this.props.switchLanguageProgrammatically(this.props.contentLang)}},{key:"componentDidUpdate",value:function(e){this.props.language.userLang!==e.language.userLang&&this.props.language.userClicked!==e.language.userClicked&&(this.props.event.item.localizations.length>0?w().push("/event/"+this.props.event.item.localizations[0].mnemo_code):this.setState({modalActive:!0}))}},{key:"render",value:function(){var e,t,n,r,i=this.props,a=i.phone,l=i.tablet,s=this.props.event.item;"ru"===this.props.lang?L().locale("ru"):L().locale("en");var o=L()(s.start_date_time).format("MMMM")+" "+L()(s.start_date_time).format("DD")+"-"+L()(s.end_date).format("DD")+", "+L()(s.start_date_time).format("YYYY"),c=s.end_date?o:L()(s.start_date_time).format("LL"),d="ru"===this.props.lang?"HH:mm":"hh:mm a",u=null===s.show_time||!!s.show_time?L()(s.start_date_time).format(d):"";return(0,M.jsxs)("div",{className:"event-page",children:[(0,M.jsxs)(k(),{children:[(0,M.jsxs)("title",{children:[" ",s.title," "]}),(0,M.jsx)("meta",{property:"og:url",content:z.Z+"/event/"+this.props.mnemo_code}),(0,M.jsx)("meta",{property:"og:type",content:"article"}),(0,M.jsx)("meta",{property:"og:title",content:s.title}),(0,M.jsx)("meta",{property:"og:description",content:s.description}),(0,M.jsx)("meta",{property:"og:image",content:(null===(e=s.wallpaper)||void 0===e?void 0:e.length)&&(0,T.gh)(s.wallpaper[0])}),(0,M.jsx)("meta",{property:"og:image:width",content:(null===(t=s.wallpaper)||void 0===t?void 0:t.length)&&s.wallpaper[0].width}),(0,M.jsx)("meta",{property:"og:image:height",content:(null===(n=s.wallpaper)||void 0===n?void 0:n.length)&&s.wallpaper[0].height})]}),s.mnemo_code&&(0,M.jsxs)(m.Fragment,{children:[(0,M.jsx)($.Z,{active:this.state.modalActive,click:this.click}),(0,M.jsx)(j.Z,{query:"(min-width: 769px)",defaultMatches:null===a&&null===l,render:function(){var e;return(0,M.jsx)(P,{backImage:null!==(e=s.wallpaper)&&void 0!==e&&e.length?(0,T.gh)(s.wallpaper[0].url):"",tags:s.tags,title:s.title,additional:s.additional,description:s.description})}}),(0,M.jsx)(j.Z,{query:"(min-width: 416px) and (max-width:768px)",defaultMatches:null!==l,render:function(){var e;return(0,M.jsx)(P,{backImage:null!==(e=s.wallpaper)&&void 0!==e&&e.length&&s.wallpaper[1]?(0,T.gh)(s.wallpaper[1].url):"",tags:s.tags,title:s.title,additional:s.additional,description:s.description})}}),(0,M.jsx)(j.Z,{query:"(max-width:415px)",defaultMatches:null!==a,render:function(){var e;return(0,M.jsx)(P,{backImage:null!==(e=s.wallpaper)&&void 0!==e&&e.length&&s.wallpaper[2]?(0,T.gh)(s.wallpaper[2].url):"",tags:s.tags,title:s.title,additional:s.additional,description:s.description})}})]}),(0,M.jsx)("section",{className:"event-details",children:(0,M.jsx)("div",{className:"container",children:(0,M.jsxs)("div",{className:"columns",children:[(0,M.jsxs)("div",{className:"column is-3-desktop is-3-tablet is-12-mobile",children:[s.lecturer&&(0,M.jsxs)("div",{className:"lecturer",children:[(0,M.jsx)("h2",{children:this.context.t("\u041b\u0435\u043a\u0442\u043e\u0440")}),(0,M.jsxs)(m.Fragment,{children:[(null===(r=s.lecturer_photo)||void 0===r?void 0:r.url)&&(0,M.jsx)("img",{src:(0,T.gh)(s.lecturer_photo.url),alt:null===s||void 0===s?void 0:s.lecturer}),s.lecturer&&(0,M.jsxs)("h3",{children:[s.lecturer," "]}),s.lecturer_position&&(0,M.jsx)(R(),{children:s.lecturer_position})]})]}),(0,M.jsxs)("div",{className:"when",children:[(0,M.jsx)("p",{children:(0,M.jsxs)("b",{children:[this.context.t("\u041a\u043e\u0433\u0434\u0430"),":"]})}),c,(0,M.jsx)("br",{}),u]}),(0,M.jsxs)("div",{className:"where",children:[(0,M.jsx)("p",{children:(0,M.jsxs)("b",{children:[this.context.t("\u0413\u0434\u0435"),":"]})}),(0,M.jsx)("a",{href:s.place_link,target:"_blank",rel:"noopener noreferrer",children:(0,M.jsxs)("p",{children:[" ",s.place," "]})}),(0,M.jsxs)("p",{children:[" ",s.place_details," "]})]}),(0,M.jsxs)("div",{className:"fee",children:[(0,M.jsx)("b",{children:(0,M.jsx)(R(),{children:s.fee})}),(0,M.jsx)(R(),{children:s.ps})]}),s.partner_logo&&(0,M.jsx)("div",{className:"partner",children:(0,M.jsx)("img",{src:(0,T.gh)(s.partner_logo.url),alt:""})})]}),(0,M.jsxs)("div",{className:"column is-8-desktop is-offset-1-desktop is-8-tablet is-offset-1-tablet is-12-mobile",children:[(0,M.jsx)("div",{className:"event-info",children:(0,M.jsx)(R(),{children:s.more_info})}),(0,M.jsx)("hr",{}),s.mnemo_code&&(0,M.jsx)(B.Z,{url:z.Z+"/event/"+s.mnemo_code,quote:s.title,image:s.wallpaper.length?(0,T.gh)(s.wallpaper[0].url):null})]})]})})})]})}}],[{key:"getInitialProps",value:function(){var e=(0,i.Z)(h().mark((function e(t){var n,r,i,a,l;return h().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.reduxStore,r=t.query.mnemo_code,i="",e.prev=2,n.dispatch(E(r)),e.next=6,D(r);case 6:a=e.sent,n.dispatch(S(r,a)),i=a.data.events[0].locale,e.next=16;break;case 11:e.prev=11,e.t0=e.catch(2),console.log("Common Error",e.t0,"\n"),console.log("Apollo networkError","\n",null===(l=e.t0.networkError)||void 0===l?void 0:l.result.errors),n.dispatch(C(r,e.t0));case 16:return e.abrupt("return",{mnemo_code:r,contentLang:i});case 17:case"end":return e.stop()}}),e,null,[[2,11]])})));return function(t){return e.apply(this,arguments)}}()}]),n}(m.Component);(0,u.Z)(U,"contextTypes",{t:x().func});var O=(0,v.connect)((function(e){var t=e.event,n=e.language;return{event:t,lang:e.i18nState.lang,language:n}}),(function(e){return(0,g.DE)(Object.assign({},r,q),e)}))(U)},69819:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/event/[mnemo_code]",function(){return n(13014)}])}},function(e){e.O(0,[456,343,774,888,179],(function(){return t=69819,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.