1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3104],{46462:function(e,s,o){Promise.resolve().then(o.bind(o,81523)),Promise.resolve().then(o.bind(o,70049)),Promise.resolve().then(o.bind(o,54170)),Promise.resolve().then(o.bind(o,25762)),Promise.resolve().then(o.bind(o,75814)),Promise.resolve().then(o.bind(o,20688)),Promise.resolve().then(o.bind(o,34850)),Promise.resolve().then(o.bind(o,89143)),Promise.resolve().then(o.bind(o,13878)),Promise.resolve().then(o.bind(o,22451)),Promise.resolve().then(o.bind(o,93952)),Promise.resolve().then(o.bind(o,62191)),Promise.resolve().then(o.bind(o,79589)),Promise.resolve().then(o.bind(o,50857)),Promise.resolve().then(o.bind(o,98840)),Promise.resolve().then(o.bind(o,63767)),Promise.resolve().then(o.bind(o,92736)),Promise.resolve().then(o.bind(o,43896)),Promise.resolve().then(o.bind(o,35919)),Promise.resolve().then(o.bind(o,30809)),Promise.resolve().then(o.bind(o,82360))},54170:function(e,s,o){"use strict";o.r(s),o.d(s,{CommonPage:function(){return c}});var l=o(57437),d=o(75425),t=o(69538),i=o(46173),n=o(53634),r=o(21592),m=o(99376),a=o(2265),u=o(54964),v=o(44520);let c=e=>{let{pageData:s,lang:o}=e,c=(0,m.usePathname)(),[g,h]=(0,a.useState)(!1),[j,b]=(0,a.useState)(!1),[P,x]=(0,a.useState)(""),[p,f]=(0,a.useState)(!1),[C,N]=(0,a.useState)(!1),[_,O]=(0,a.useState)(!1),[E,L]=(0,a.useState)("");return(0,a.useEffect)(()=>{if(s.modules&&s.modules.length>0&&(s.modules[0].moduleCode===d.jv.title||s.modules[0].moduleCode===d.jv.topNewsDev)&&s.modules[1].moduleCode===d.jv.image){var e,o;let l=(null==s?void 0:null===(o=s.modules)||void 0===o?void 0:null===(e=o[1])||void 0===e?void 0:e.data)?s.modules[1].data.find(e=>d.Bi.Image===e.fieldTypeId):"";l&&l.value&&l.value.length>0?(h(!0),s.modules[0].moduleCode===d.jv.topNewsDev?b(!0):b(!1)):h(!1)}else h(!1);let l=!!s.modules&&s.modules.length>0&&s.modules.some(e=>e.moduleCode===d.jv.listWithoutPhoto||e.moduleCode===d.jv.pageList||e.moduleCode===d.jv.imageGalleryList||e.moduleCode===d.jv.imageGallery||e.moduleCode===d.jv.faqs);x(l?"generic-extra-class":""),f(!!s.modules&&s.modules.length>0&&s.modules.some(e=>e.moduleCode===d.jv.listWithoutPhoto)),N(s.modules.some(e=>e.moduleCode===d.jv.menuPageListParent||e.moduleCode===d.jv.menuPageList)),O(!!s.modules&&s.modules.length>0&&s.modules.some(e=>e.moduleCode===d.jv.eventsTopModule&&""!==e.data.image)),x(l||s.modules[0].moduleCode===d.jv.title&&s.modules[1].moduleCode===d.jv.image&&void 0===s.modules[1].data||s.modules[0].moduleCode===d.jv.topNewsDev&&s.modules[1].moduleCode===d.jv.image&&void 0===s.modules[1].data?"generic-extra-class":"")},[s]),(0,a.useEffect)(()=>{switch(c.split("/")[1]){case i.r.Municipality:L("municipal-theme");break;case i.r.Living:L("living-theme");break;case i.r.Leisure:L("leisure-theme");break;default:L("municipal-theme")}},[c]),(0,l.jsx)("div",{className:"common-page".concat(_?" is-events-top-module":""),children:(0,l.jsxs)("div",{className:"main--generic",children:[p&&(0,l.jsx)("div",{className:"common-page__left-side-illustration",children:(0,l.jsx)(u.Z,{})}),(0,l.jsx)("div",{className:"container",children:g&&s.modules&&s.modules.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(t.$S,{children:[(0,l.jsx)(t.Oo,{lang:o,breadcrumbs:s.breadcrumbs}),j&&s.modules&&s.modules.length>0?(0,l.jsx)(n.U,{id:s.modules[0].data.id,title:s.modules[0].data.title,date:s.modules[0].data.date,categories:s.modules[0].data.categories,lang:o}):s.modules&&s.modules.length>0?(0,l.jsx)(t.Dx,{title:s.modules[0].data.value}):(0,l.jsx)(l.Fragment,{}),(0,l.jsx)(t.$Q,{data:s.modules[1].data})]}),[...s.modules].sort((e,s)=>e.sortOrder<s.sortOrder?-1:1).map((e,s)=>{if(s>1)return(0,l.jsx)(r.zU,{lang:o,index:s,module:e},s)})]}):C&&s.modules&&s.modules.length>0?(0,l.jsxs)("div",{className:"common-page__is-menu-page-list ".concat(E),children:[(0,l.jsx)(t.Oo,{lang:o,breadcrumbs:s.breadcrumbs}),[...s.modules].filter(e=>e.moduleCode!==d.jv.title).sort((e,s)=>e.sortOrder<s.sortOrder?-1:1).map((e,d)=>(0,l.jsx)(r.zU,{lang:o,index:d,module:e,id:s.id,title:s.title,genericExtraClass:P},d))]}):s.modules&&s.modules.length>0?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t.Oo,{lang:o,breadcrumbs:s.breadcrumbs}),[...s.modules].sort((e,s)=>e.sortOrder<s.sortOrder?-1:1).map((e,s)=>(0,l.jsx)(r.zU,{lang:o,index:s,module:e,genericExtraClass:P},s))]}):(0,l.jsx)(l.Fragment,{})}),p&&(0,l.jsx)("div",{className:"common-page__right-side-illustration",children:(0,l.jsx)(v.Z,{})})]})})};s.default=c},46173:function(e,s,o){"use strict";var l,d,t,i;o.d(s,{U:function(){return d},r:function(){return l}}),(t=l||(l={})).Municipality="municipio",t.Living="viver",t.Leisure="lazer",(i=d||(d={}))[i.MenuPage=1]="MenuPage",i[i.InternalPage=2]="InternalPage",i[i.Exter
1nalPage=3]="ExternalPage"}},function(e){e.O(0,[7598,1866,5501,5322,1592,84,2971,2117,1744],function(){return e(e.s=46462)}),_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.