1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[51498,31514,87308],{8520:function(t,e,l){"use strict";var n,i=l(67294);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var n in l)({}).hasOwnProperty.call(l,n)&&(t[n]=l[n])}return t}).apply(null,arguments)}e.Z=function(t){return i.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},t),n||(n=i.createElement("path",{d:"M11.755 0c0 4.898-.367 7.715-2.204 9.551S5.021 11.755 0 11.755v.735c4.898 0 7.714.367 9.551 2.204s2.204 4.53 2.204 9.306h.735c.122-4.775.367-7.47 2.204-9.306 1.837-1.837 4.53-2.204 9.306-2.204v-.735c-4.776-.122-7.47-.367-9.306-2.204-1.837-1.836-2.204-4.653-2.204-9.55z",clipRule:"evenodd"})))}},84436:function(t,e,l){"use strict";var n,i=l(67294);function r(){return(r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var l=arguments[e];for(var n in l)({}).hasOwnProperty.call(l,n)&&(t[n]=l[n])}return t}).apply(null,arguments)}e.Z=function(t){return i.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18"},t),n||(n=i.createElement("path",{fillRule:"evenodd",d:"M9.193 17.949c-1.766 0-2.587-.26-4.014-1.295-.903 1.165-3.76 2.076-3.885.518 0-1.17-.258-2.159-.55-3.238C.395 12.604 0 11.124 0 8.98 0 3.855 4.186 0 9.146 0 14.11 0 18 4.045 18 9.026c.017 4.905-3.924 8.897-8.807 8.923m.073-13.52c-2.415-.125-4.298 1.554-4.714 4.187-.344 2.18.266 4.835.786 4.973.25.06.877-.45 1.268-.842.647.449 1.4.718 2.183.781 2.503.121 4.642-1.792 4.81-4.303.098-2.517-1.83-4.648-4.333-4.792z",clipRule:"evenodd"})))}},48071:function(t,e,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/project/fest2024/articles/[[...slug]]",function(){return l(82391)}])},43744:function(t,e,l){"use strict";l.d(e,{Z:function(){return c}});var n=l(85893),i=l(67294),r=l(73935),a=l(66506);class o{add(t){let{portals:e,id:l,setPortals:n}=t;this.portals[l]={portals:e,setPortals:n}}render(t){let e=this.portals[t].portals;this.portals[t].setPortals(e)}constructor(){this.portals={}}}var d=l(7630);function c(t){let{text:e="",url:l="",className:c,map:u,manual:s}=t,f=(0,i.useRef)(null),[v,h]=(0,i.useState)(),[p]=(0,i.useState)(u);return(0,i.useEffect)(()=>{if(window&&!window.PortalManager){let t=new o;window.PortalManager=t}},[]),(0,i.useEffect)(()=>{let t=f.current,e={};if(t){let l=e=>{let l=t.querySelector("div[portal-id='".concat(e,"']"));return l||(l=document.createElement("div")),l.setAttribute("portal-id",e),l.setAttribute("class","portal"),l};if(p){let n=Object.keys(p);Array.from(t.children).forEach(t=>{let i=e[t.localName]||0;e[t.localName]=++i,n.forEach(e=>{let n=p[e];if(n.tag===t.localName&&n.index===i){let n=l(e);t.after(n)}})}),n.forEach(n=>{let i=p[n];if(!i.strict&&e[i.tag]<i.index){let e=l(n);t.appendChild(e)}})}let n=t.querySelectorAll(".portal");if(n){let t=Array.from(n).map(t=>{let e=t.getAttribute("portal-id")||"";return{portal:t,el:p&&p[e].el}});if(t&&(s?window&&window.PortalManager&&window.PortalManager.add({portals:t,id:"".concat(s.id,"_").concat(a.F.Article),setPortals:h}):h(t)),"ResizeObserver"in window){let t=new ResizeObserver(t=>{for(let e of t){let t=e.target;t.clientHeight?t.classList.add("portal-init"):t.classList.remove("portal-init")}});for(let e of n)t.observe(e);return()=>{t.disconnect()}}}}},[p,e,s]),(0,n.jsxs)(n.Fragment,{children:[l?(0,n.jsx)(d.Z,{url:l,children:(0,n.jsx)("div",{ref:f,className:c,dangerouslySetInnerHTML:{__html:e}})}):(0,n.jsx)("div",{ref:f,className:c,dangerouslySetInnerHTML:{__html:e}}),v&&v.map(t=>{let{portal:e,el:l}=t;return(0,r.createPortal)(l,e)})]})}},38384:function(t,e,l){"use strict";l.d(e,{Z:function(){return d}});var n=l(85893),i=l(67294),r=l(70131),a=l(16011),o=l(84731);function d(t){let{item:e,children:l}=t,[d,c]=(0,i.useState)();return((0,i.useEffect)(()=>{c("IntersectionObserver"in window)},[]),d)?(0,n.jsx)(r.ZP,{triggerOnce:!0,onChange:t=>{if(t){let t=(0,a.ZP)(e);(0,o.kV)(t)}},children:t=>{let{ref:e}=t;return(0,n.jsx)("div",{ref:e,children:l})}}):l}},36594:function(t,e,l){"use strict";l.d(e,{FD:function(){return s},W8:function(){return f},u7:function(){return h}});var n=l(55103),i=l(87190),r=l(46539),a=l(18379),o=l(59459);let d=i.Ku,c=(t,e)=>
1{e.forEach(e=>{"attribs"in t?t.attribs[e.title]=e.value||e.default:t.setAttribute(e.title,e.value||e.default)})},u=(t,e,l)=>{if(e&&(e.link_title||e.title||e.alternate_title)){var n;"innerHTML"in t&&(t.innerHTML="");let{title:i,sub_title:r,is_title_priority:d,link_title:u,alternate_title:s}=e,f=(0,a.Y)({title:i,link_title:u,is_title_priority:d,alternate_title:s}),v=d&&r?r:"";c(t,[{title:"title",value:f,default:e.title||""},{title:"subTitle",value:v,default:""},{title:"announce",value:e.announce,default:""},{title:"url",value:e.is_rodina?o.og+e.url:e.url,default:""},{title:"image-path",value:null===(n=e.image)||void 0===n?void 0:n.path,default:""},{title:"block-view",value:l.block_view,default:"width"},{title:"align",value:l.align,default:""},{title:"label",value:e.label.title,default:""},{title:"labelUrl",value:e.label.url,default:""},{title:"isSport",value:String(e.is_sport),default:"false"}])}},s=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;t.forEach(t=>{let n=d.findOne(e=>!!("rg-incut"===e.name&&+e.attribs["data-id"]===t.id),e.children);if(n){if(l){let e=(0,r.a)("rg-incut-".concat(l));e&&(d.replaceElement(n,e),u(e,t.related_article,t))}else u(n,t.related_article,t)}})},f=t=>{let{text:e,slug:l}=t;return e.replaceAll(/rg-photoreport/g,"rg-photoreport-".concat(l))},v=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",l=t.attribs[e]||null;l&&(t.attribs[e]=(0,n.Qk)(l))},h=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(t=>{var e,l;let n=d.findOne(t=>"source"===t.name,t.children),i=(0,r.a)("div");i.attribs.class="rg-audio-wrapper";let a=null===(e=t.attribs)||void 0===e?void 0:e["data-description"],o=null===(l=t.attribs)||void 0===l?void 0:l["data-source"];if(d.replaceElement(t,i),d.appendChild(i,t),a||o){let e=(0,r.a)("div");e.attribs.class="rg-audio-info";let l=a?(0,r.a)("span",{content:a}):null,n=o?(0,r.a)("span",{content:o}):null;l&&(l.attribs.class="rg-audio-desc",d.appendChild(e,l)),n&&(n.attribs.class="rg-audio-source",d.appendChild(e,n)),d.append(t,e)}n&&v(n)})}},46539:function(t,e,l){"use strict";l.d(e,{a:function(){return r}});var n=l(87190);let i=n.Ku,r=(t,e)=>i.findOne(e=>e.name===t,n.wL("<".concat(t,">").concat((null==e?void 0:e.content)||"","</").concat(t,">")).children)},4710:function(t,e,l){"use strict";l.d(e,{Z:function(){return c}});var n=l(87066),i=l(8475),r=l(34237),a=l(15033),o=l(40888),d=l(51436);function c(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,l=arguments.length>2?arguments[2]:void 0;{e(e=>e.length>0&&0===t.length?[]:e);let c=(0,a.ej)(d.MS)?JSON.parse((0,a.ej)(d.MS)||""):null,u=null==c?void 0:c.host;t.length>0&&Promise.all(t.map(t=>{let{url:e,id:i}=t.related_data||{};return u&&l?n.default.post("".concat(u,"/apiauth/apps/admin-core/preview"),{id:i},{withCredentials:!0}):n.default.get(r.gU,{params:{query:{item:{size:1,url:e}}},paramsSerializer:(0,o.j)()})})).then(t=>{e(t.filter(t=>{var e,n;return!!u&&!!l||!!(null==t?void 0:null===(n=t.data)||void 0===n?void 0:null===(e=n.item)||void 0===e?void 0:e.hits)}).map(t=>{var e,n;let r=u&&l?null==t?void 0:t.data:null==t?void 0:null===(n=t.data)||void 0===n?void 0:null===(e=n.item)||void 0===e?void 0:e.hits[0]._source,a=(0,i.Z)({entitiesData:{...r},text:r.text});return r.text=a,r}))})}}},8475:function(t,e,l){"use strict";l.d(e,{Z:function(){return m}});var n=l(33772);let i=t=>{t.forEach(t=>{t.attribs&&(t.attribs.draggable="false")})};var r=l(59459),a=l(55103),o=l(87190),d=l(46539);let c=o.Ku,u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(t=>{let e=c.findOne(t=>"img"===t.name,t.children),l=c.findOne(t=>"a"===t.name,t.children);e&&(e.attribs.src=(0,a.Qk)(e.attribs.src)),l&&(l.attribs.href=(0,a.Qk)(l.attribs.href))})},s=t=>{for(let e of t){let t=e.attribs.code||"",l=e.attribs["data-id"]||"",n=(0,d.a)("rg-embed"),i=c.findOne(t=>"rg-embed"===t.name,n.children);i&&(i.attribs.code=t,i.attribs["data-id"]=l,c.replaceElement(e,i))}},f=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;for(let n of t){let t=c.findOne(t=>"rg-embed"===t.name&&+t.attribs["data-id"]===n.id,e.children);if(t||(t=c.findOne(t=>"rg-embed-without-iframe"===t.attribs.class&&+t.attribs["data-id"]===n.id,e.children)),t){var l;if(null===(l=t.attribs)||void 0===l?void 0:l.code)return;t.attribs.code=n.code}}},v=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"src",l=t.attribs[e]||null;
1l&&(t.attribs[e]="".concat(r.Ns).concat(l))},h=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];t.forEach(t=>{let e=c.findOne(t=>"a"===t.name,t.children);e&&v(e,"href")})};var p=l(36594);let g=o.Ku,b=["pdf","docx","pptx","epub","fb2"];function m(t){let{entitiesData:e,rootContainer:l,text:r,customSlug:a=""}=t,d=e.incuts,c=e.embeds,v=l||o.wL(r||"<div></div>"),m=g.findAll(t=>{var e;return null===(e=t.attribs.class)||void 0===e?void 0:e.split(" ").includes("rg-embed-without-iframe")},v.children),w=g.findAll(t=>{var e;return null===(e=t.attribs.class)||void 0===e?void 0:e.split(" ").includes("article-img")},v.children);i(w);let E=g.findAll(t=>{var e;return null===(e=t.attribs.class)||void 0===e?void 0:e.split(" ").includes("rg-audio")},v.children),_=g.findAll(t=>{var e;let l=null===(e=t.attribs.class)||void 0===e?void 0:e.split(" "),n=(null==l?void 0:l.length)?l[0].split("-")[1]:null;return b.includes(n||"")},v.children);return d&&(0,p.FD)(d,v,a),c&&f(c,v),m&&s(m),w&&u(w),E&&(0,p.u7)(E),_&&h(_),(0,n.Z)(v,{encodeEntities:"utf8"})}},94692:function(t,e,l){"use strict";function n(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return"".concat(t).concat(e&&t?" / ":"").concat(e)}l.d(e,{Z:function(){return n}})}},function(t){t.O(0,[30719,87190,32634,7630,54353,90816,82391,85811,92888,49774,40179],function(){return t(t.s=48071)}),_N_E=t.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.