1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1399],{11399:function(e,t,l){l.r(t),l.d(t,{NewsCatalogPageFeature:function(){return g}});var n=l(85893),o=l(16740),i=l(25623),r=l(94249),u=l(47933),a=l(15631),d=l(72533),s=l(37780),c=l(11163),v=l(67294),p=l(92386);let g=e=>{var t;let{properties:l,additionalTop:g,additionalPageContent:f,id:m,...S}=e,{alphabeticSorting:y,filters:C,rootOverwrite:F}=null!=l?l:{},[I,h]=(0,v.useState)("*"),[k,w]=(0,v.useState)(null),[_,N]=(0,v.useState)(null),[P,E]=(0,v.useState)([]),[M,D]=(0,v.useState)([]),[T,b]=(0,v.useState)([]),[j,A]=(0,v.useState)([]),B=(0,o.S)(),L=(0,r.AA)(),O=(0,i.lO)(),R=(0,c.useRouter)(),{theme:x,settings:U}=null!=L?L:{},{searchOverwriteEngine:W}=null!==(t=null==U?void 0:U.searchConfiguration)&&void 0!==t?t:{},X=R.locale.split("-")[0],q=(0,d.v)({theme:x,id:F?F.trim():m,locale:X}),{results:z,isLoading:G}=(0,s.OM)({engineId:W||(0,a.I)(x,X),groupId:q,sort:y?"title":"date",query:I,tags:null==P?void 0:P.concat(T),types:null==M?void 0:M.concat(j),dates:k}),H={properties:{moduleMarginBottom:O.moduleMarginBottom}};(0,v.useEffect)(()=>{var e,t;if(null===C)return;let l=null==C?void 0:null===(e=C.items)||void 0===e?void 0:e.filter(e=>"tagFolderPicker"===e.content.contentType),n=null==C?void 0:null===(t=C.items)||void 0===t?void 0:t.filter(e=>"typesFolderPicker"===e.content.contentType),o=e=>e.filter(e=>{var t,l;return null==e?void 0:null===(l=e.content)||void 0===l?void 0:null===(t=l.properties)||void 0===t?void 0:t.preSelectedFilters}).map(e=>{var t,l;let n=null==e?void 0:null===(l=e.content)||void 0===l?void 0:null===(t=l.properties)||void 0===t?void 0:t.preSelectedFilters;return null==n?void 0:n.map(e=>e.name)}).flat(),i=o(l),r=o(n);b(i),A(r)},[C]),(0,v.useEffect)(()=>{var e,t;let l=null==_?void 0:null===(e=_.filter(e=>e.groupId===s.Xj))||void 0===e?void 0:e.map(e=>e.value),n=null==_?void 0:null===(t=_.filter(e=>e.groupId===s.cp))||void 0===t?void 0:t.map(e=>e.value);E(l),D(n)},[_]);let J=e=>{if(!e)return h("*");h(e)},K=e=>{if((null==e?void 0:e.length)!==2||!e)return w(null);let[t,l]=null!=e?e:[];w({startDate:t?(0,u.p)(String(t),"yyyy-mm-dd"):"",endDate:l?(0,u.p)(String(l),"yyyy-mm-dd"):""})},Q="/api/rss".concat(O.url,"?group=").concat(q.toLowerCase());return(0,n.jsx)(p.CatalogPageFeature,{...l,...S,catalogListItems:!G&&z,additionalTop:g,additionalPageContent:f,noItemsMessage:B.getServiceInfo("NoNews"),choosenDropdownFilters:e=>N(e),searchWord:e=>J(e),dateRange:e=>K(e),rssFeedUrl:Q,moduleContainerSettings:H})}},72533:function(e,t,l){l.d(t,{v:function(){return n}});let n=e=>{let{theme:t,id:l,locale:n}=e;return"".concat(t,"_").concat(l,"_").concat(n)}}}]); 2//# sourceMappingURL=1399.ab2708dd22a31587.js.map
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.