PageSourceSearch

https://fondoambiente.it/_next/static/chunks/pages/luogo-81ab2f021cce57e42494.js

js fondoambiente.it collected 2026-09-24 08:52:04 UTC 38,617 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[73,39,98],{"+936":function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/luogo",function(){return e("PDWK")}])},CIBN:function(t,n,e){"use strict";var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM;n.a=function(t){return o.a.get("".concat(i,"/").concat("luoghi/beni?with=luogo,luogo.provincia,luogo.comune,tipologia,media&limit=150&has=luogo&fl_online=1").concat(t)).then((function(t){return t.data.data}))}},I6ye:function(t,n,e){"use strict";e.d(n,"a",(function(){return b})),e.d(n,"e",(function(){return _})),e.d(n,"g",(function(){return O})),e.d(n,"f",(function(){return A})),e.d(n,"b",(function(){return w})),e.d(n,"h",(function(){return y})),e.d(n,"c",(function(){return j})),e.d(n,"d",(function(){return C}));var o=e("fGyu"),a=e("zjfJ"),i=e("zygG"),r=e("HbGN"),c=e("ERkP"),u=e.n(c),l=e("10AO"),f=e.n(l),s=(e("QtE3"),e("UxPf")),d=(e("ysqo"),e("Ehz4"),e("ezIv"),e("0D0S")),g=e.n(d),p=["search","fl_accesso_disabili","fl_ingresso_esclusivo","fl_commissione_eu","fl_consigliato","fl_bene_fai","comune","provincia","regione","lat","lng","nearby","ids"],m=["search","comune","regione","provincia","lat","lng","nearby","ids"];u.a.createElement;function h(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}g()().publicRuntimeConfig.APP_DOMAIN;var b="/il-fai/grandi-campagne/giornate-fai-di-primavera/i-luoghi-aperti",v=function(t){return t.reduce((function(t,n){return t.concat(Array.isArray(n)?v(n):n)}),[])},_=function(t){var n=t.id,e=t.gfp,o=t.localita_web,a=t.fl_bene_fai,i=t.slug,r=t.onClick;return"undefined"===typeof e?{}:{id:n,title:e.titolo_apertura,subtitle:o,link:"/luoghi/".concat(i,"?gfp"),slug:i,onClick:r,thumbnail:{url:e.media&&e.media.length>0&&void 0!==e.media.find((function(t){return"TOP"===t.pivot.position}))&&e.media.find((function(t){return"TOP"===t.pivot.position})).url||"https://fai-website.imgix.net/static/placeholder_2.png"},tooltips:[e.alert&&{icon:"alert",orange:!0,content:e.alert},e.fl_accesso_disabili&&{icon:"accessibility",content:"Luogo accessibile"},e.fl_ingresso_esclusivo&&{icon:"crown",content:"Ingresso dedicato agli iscritti FAI"},e.fl_consigliato&&{icon:"badge",content:"Luogo consigliato"},a&&{icon:"FaiLogo",content:"Bene FAI ".concat(e.fl_chiuso?"":"visitabile tutto l'anno")},e.fl_multi_gf&&{icon:"gfp_both_weekends",content:"Aperto primo e secondo weekend"},e.fl_commissione_eu&&{icon:"commissione_eu",content:"Apertura in collaborazione con la Commissione Europea"},!e.fl_multi_gf&&38===e.id_gf&&{icon:"gfp_first_weekend",content:"Primo weekend di apertura"},!e.fl_multi_gf&&39===e.id_gf&&{icon:"gfp_second_weekend",content:"Secondo weekend di apertura"}].filter((function(t){return t}))}},O=function(t){var n=t.search,e=t.fl_accesso_disabili,o=t.fl_ingresso_esclusivo,a=t.fl_commissione_eu,c=t.fl_consigliato,u=t.fl_bene_fai,l=t.comune,f=t.provincia,s=t.regi
1one,d=t.lat,g=t.lng,m=t.nearby,h=(t.ids,Object(r.a)(t,p)),b=[];return m&&d&&g&&(b.push("radius[coords]=".concat(parseFloat(d).toFixed(2),",").concat(parseFloat(g).toFixed(2))),b.push("radius[distance]=100")),v([n&&n.length>=3&&"search=".concat(n),e&&"gfp.fl_accesso_disabili=true",o&&"gfp.fl_ingresso_esclusivo=true",a&&"gfp.fl_commissione_eu=true",c&&"gfp.fl_consigliato=true",u&&"fl_bene_fai=true",l&&"comune.nome=".concat(l),f&&"provincia.nome=".concat(f),s&&"regione.nome=".concat(s),Object.keys(h).length&&Object.entries(h).map((function(t){var n=Object(i.a)(t,2),e=n[0],o=n[1];return"[object Array]"===Object.prototype.toString.call(o)?o.map((function(t){return"".concat(e,"[]=").concat(t)})):null})),b]).filter((function(t){return t})).join("&")},A=function(t){var n=t.id,e=t.gfp,o=t.localita_web,a=t.fl_bene_fai,i=t.slug,r=t.onClick;return"undefined"===typeof e?{}:{id:n,title:e.titolo_apertura,subtitle:o,link:"/luoghi/".concat(i,"?gfp"),slug:i,onClick:r,thumbnail:{url:Object(s.d)(e)},tooltips:[e.alert&&{icon:"alert",orange:!0,content:e.alert},e.fl_accesso_disabili&&{icon:"accessibility",content:"Luogo accessibile"},e.fl_ingresso_esclusivo&&{icon:"crown",content:"Ingresso dedicato agli iscritti FAI"},e.fl_consigliato&&{icon:"badge",content:"Luogo consigliato"},e.fl_commissione_eu&&{icon:"commissione_eu",content:"Apertura in collaborazione con la Commissione Europea"},a&&{icon:"FaiLogo",content:"Bene FAI ".concat(e.fl_chiuso?"":"visitabile tutto l'anno")}].filter((function(t){return t}))}},w=function(t){var n=t.search,e=t.selectedOptions,o=t.comune,r=t.provincia,c=t.regione,u=t.showMap,l=e&&-1!==e.indexOf("fl_accesso_disabili"),s=e&&-1!==e.indexOf("fl_ingresso_esclusivo"),d=e&&-1!==e.indexOf("fl_commissione_eu"),g=e&&-1!==e.indexOf("fl_consigliato"),p=e&&-1!==e.indexOf("fl_bene_fai"),m=e&&e.filter((function(t){return"fl_accesso_disabili"!==t&&"fl_ingresso_esclusivo"!==t&&"fl_commissione_eu"!==t&&"fl_consigliato"!==t&&"fl_bene_fai"!==t&&"geolocation"!==t&&-1===String(t).indexOf(":")})),b=e&&e.filter((function(t){return-1!==String(t).indexOf(":")})).reduce((function(t,n){var e=n.split(":"),o=Object(i.a)(e,2),a=o[0],r=o[1];return t[a]=t[a]||[],t[a].push(r),t}),{});return f()(function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?h(Object(e),!0).forEach((function(n){Object(a.a)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):h(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({search:n,fl_accesso_disabili:l,fl_ingresso_esclusivo:s,fl_commissione_eu:d,fl_consigliato:g,fl_bene_fai:p,comune:o,provincia:r,regione:c,ids:m,showMap:u},b),(function(t){return!!t}))},y=function(t){var n=t.search,e=t.comune,a=t.regione,c=t.provincia,u=(t.lat,t.lng,t.nearby),l=t.ids,f=Object(r.a)(t,m),s=Object.entries(f).reduce((function(t,n){var e=Object(i.a)(n,2),a=e[0],r=e[1];return"[object Array]"===Object.prototype.toString.call(r)?t=[].concat(Object(o.a)(t),Object(o.a)(r.map((function(t){return[a,t].join(":")})))):t.push(a),t}),[]);return{search:n,comune:e,provincia:c,regione:a,selectedOptions:[].concat(Object(o.a)(u?["geolocation"]:[]),Object(o.a)(s),Object(o.a)(l||[]))}},j=function(t){var n=t.comune,e=t.provincia,o=t.regione;return n?"nel comune di ".concat(n):e?"in provincia di ".concat(e):o?"in ".concat(o):"per nome o localit\xe0"},C=function(t){return 0===Object.keys(t).length&&t.constructor===Object}},JXgi:function(t,n,e){"use strict";n.a=function(t){if(!t)return null;var n=t.url_news;return{title:t.titolo,supertitle:"News",tag:"".concat(t.categoria&&t.categoria.descrizione||""),subtitle:t.dt_news,thumbnail:{url:t.image_featured||"//fai-website.imgix.net/static/placeholder_2.png"},link:"/news/".concat(n),content:t.abstract&&"".concat(t.abstract.slice(0,140),"...")}}},MJc2:function(t,n,e){var o=e("KEM+");function a(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function i(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?a(Object(e),!0).forEach((function(n){o(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}var r=e("ERkP"),c=e("8cHP").Link;t.exports=function(t){return r.createElement(t.route?c:"a",i(i({},t),{},{href:t.route||t.to||""}),t.children)}},PDWK:function(t,n,e){"use strict";e.r(n),e.d(n,"getBeniCorrelati",(function(){return ht})),e.d(n,"getSettings",(function(){return bt})),e.d(n,"getLuogo",(function(){return vt}));var o=e("zjfJ"),a=e("zygG"),i=e("HbGN"),r=e("cxan"),c=e("9fIP"),u=e("MMYH"),l=e("K/z8"),f=e("sRHE"),s=e("8K1b"),d=e("QsI/"),g=e("ERkP"),p=e.n(g),m=e("0D0S"),h=e.n(m),b=e("7xIC"),v=e.n(b),_=e("r4FT"),O=e("QtE3"),A=e("j/s1"),w=e("iR2b"),y=e("JXgi"),j=e("qXKH"),C=e("MJc2"),R=e.n(C),E=e("XpZ2"),P=p.a.createElement,S=function(t){return P(O.ListCard,Object(r.a)({},t,{LinkComponent:R.a,subtitleSansSerif:!0}))},L=function(t){return P(O.EventCard,Object(r.a)({},t,{LinkComponent:R.a}))},T=A.d.div.withConfig({displayName:"Bene__IconCardWrapper",componentId:"sc-h6n11u-0"})(["background:#fff;padding:1rem;margin:3rem auto 0rem auto;max-width:40rem;"]),k=function(t){var n=t.luogo,e=t.eventi,o=t.news,a=t.permalink,i=t.tabUrl,c=t.onTabChange,u=t.seo,l=t.beniCorrelati,f=e.length>0,s=n.media&&n.media.length>0&&E.a.gallery(n).slides.length>0,d=n.bene.panoramiche&&n.bene.panoramiche[0],g=n.dnp&&n.dnp.length>0,p=n.bene.servizi&&n.bene.servizi.length>0,m=n.bene.affitto,h=n.spazi&&E.a.spazi(n).cards.length>0,b=n.bene.ringraziamenti&&n.bene.ringraziamenti.length>0,v=n.bene.sostienici,_=o.length>0,A=n.bene.seo&&"PANORAMICA"===n.bene.seo.tab&&n.bene.seo.button_descr&&n.bene.seo.button_url,C=n.bene.tab_volontari,k=n.focus_titolo,I=f||s||d||g||p||m||h||b||v||A,z=n.bene,N=z.alert,F=z.hero_button_label,M=z.hero_button_target,D=z.hero_button_url;console.log("[DEBUG alert]",{slug:n.slug,showTabs:I,alert:N,hasTitolo:Boolean(N&&N.titolo),hasTesto:Boolean(N&&N.testo),hasTestoHtml:Boolean(N&&N.testo_html),alertKeys:N?Object.keys(N):null});var x=F&&D&&[F,D,M],G=n.lingue;return P("div",null,P(O.Hero,Object(r.a)({seo:u,LinkComponent:R.a},E.a.hero(n,a),{animateEntry:!0,cta:x,lingue:G})),P(O.BeniInfo,E.a.beniInfo(n)),I&&P(O.Tabs,{selectedUrl:i||"/",onTabChange:c,noMargin:!0},N&&N.titolo&&(N.testo_html||N.testo)&&P(T,null,P(O.IconCard,{icon:"alert",title:N.titolo,text:N.testo_html||N.testo,html:Boolean(N.testo_html),horizontal:!0})),d||s||g?P(O.Tab,{id:"panoramica",label:"Panoramica",url:"/"},d&&P(O.RichText,Object(r.a)({},E.a.panoramica(n),{pad:"medium",wrap:"small",readMore:!0,textLimit:2200})),A&&P(O.Padder,{size:"medium"},P(O.Button,{centered:!0,orange:!0,link:n.bene.seo.button_url,target:n.bene.seo.button_target||""},n.bene.seo.button_descr)),k&&function(t){return P(O.FasciaCtaDoppia,{borderLine:!0,items:[{color:"backgroundImage",backgroundImage:{url:t.focus_image_url,title:t.focus_image_title,alt:t.focus_image_alt,noImgix:!0},noShadow:!0}
1,{title:t.focus_titolo,text:t.focus_sottotitolo,cta:[t.focus_button_label,t.focus_button_url,t.focus_button_target],color:"green"}]})}(n),s&&P(O.Slider,E.a.gallery(n)),P(O.Background,{color:"white"},g&&P(O.DaNonPerdere,Object(r.a)({},E.a.dnp(n),{readMore:!0,title:"Da non perdere",wrap:"medium",pad:"medium"})),function(t){var n=t.bene,e=n.partner_button_label,o=n.partner_titolo,a=n.partner_sottotitolo,i=n.partner_testo_html;return i?P(O.Accordion,{wrap:"small",pad:"medium",faqs:[{icon:"exact_position",question:e,answer:"\n          ".concat(null!==o?"<h2>".concat(o,"</h2>"):"","\n          ").concat(null!==a?"<h3>".concat(a,"</h3>"):"","\n          ").concat(i,"\n        ")}]}):null}(n))):null,p?P(O.Tab,{id:"visita",label:"Visita",url:"visita"},P(O.Padder,{size:"medium"},P(O.Accordion,Object(r.a)({},E.a.visita(n),{color:"green",wrap:"small"})))):null,f?P(O.Tab,{id:"eventi",label:"Eventi",url:"eventi"},P(O.Padder,{size:"medium"},P(O.EventsGrid,{cards:e.map(w.a),CardComponent:L,limit:12,samesize:!0,alwaysFullImg:!0}))):null,m||h?P(O.Tab,{id:"affitta",label:"Eventi Privati",url:"affitta"},P(O.Padder,{size:"medium"},m&&P(O.RichText,Object(r.a)({},E.a.affitto(n),{wrap:"small"})),h&&P(O.DaNonPerdere,Object(r.a)({},E.a.spazi(n),{title:"Quali spazi scegliere",wrap:"medium",pad:"medium"})))):null,C&&P(O.Tab,{id:"volontari",label:"Volontari",href:C}),b?function(t){var n=t.bene.ringraziamenti.find((function(t){return t.url_grazie_a}));return n&&n.url_grazie_a?P(O.Tab,{id:"grazie-a",label:"Grazie a",href:n.url_grazie_a}):P(O.Tab,{id:"grazie-a",label:"Grazie a",url:"grazie-a"},P(O.RichText,Object(r.a)({},E.a.ringraziamenti(t),{wrap:"small",pad:"medium"})))}(n):null),v&&P(O.FasciaCta,Object(r.a)({},E.a.fasciaCta(n),{pad:"medium",color:"orange"})),_&&P(O.NewsGrid,{pad:"medium",cards:o.map(y.a),title:"Ultime News",CardComponent:S,cta:["Tutte le notizie","/news/"]}),l&&P(O.Background,{color:"white"},P(O.ListCardDouble,{title:"Ti potrebbero interessare",cards:l.map(j.a),CardComponent:S})))},I=e("PZBX"),z=e("3Oy2"),N=e("UxPf"),F=e("Ci+5"),M=p.a.createElement,D=function(t){return M(O.EventCard,Object(r.a)({},t,{LinkComponent:R.a}))},x=function(t){return M(O.ListCard,Object(r.a)({},t,{LinkComponent:R.a}))},G=function(t){var n=t.luogo,e=n.descrizione_html||n.descrizione||"";return M(O.RichText,{text:e})},B=function(t){var n=t.luogo,e=t.convenzioni,o=[{id:"fl_accesso_disabili",name:"Luogo Accessibile",icon:"accessible"}];return o.map((function(t){var a=t.id;if(n[a]){var i=o.find((function(t){return t.id===a}));return M(z.e,{title:i.name,icon:"accessibility"})}if(e&&e.length>0){return M(z.e,{title:"LUOGO CON CONVENZIONI",icon:"reductions",subtitle:'<a style="color:\'orange\'; font-weight:500; text-decoration: none;" href="#convenzioni" >Scopri le convenzioni per gli iscritti in questo luogo</a>'})}}))},q=function(t){var n=t.news;return n&&n.length>0&&M(O.Wrapper,{size:"medium"},M(O.Padder,{size:"medium"},M(O.NewsGrid,{title:"News",cards:n.slice(0,4).map(y.a),CardComponent:x,pad:"medium"})))},K=function(t){var n=t.luogo,e=n.media&&n.media.filter((function(t){return"TOP"!==t.pivot.position})).map((function(t){return{image:{url:"".concat(t.url,"?auto=format,compress"),alt:t.alt,title:t.title,caption:t.didascalia}}}));return e.length?M(O.MosaicGallery,{images:e}):null},Z=function(t){var n=t.events,e={gfp:"Giornate FAI di Primavera",gfa:"Giornata FAI d'Autunno",ldc:"I Luoghi del Cuore"},o=[];if(n)for(var a in n)n[a]&&n[a].length&&o.push({question:e[a],answer:n[a].join(", "),icon:"FaiLogo"});return o.length>0?M("div",null,M(O.Padder,{size:"small"},M(O.FasciaTitle,{title:"Storico campagne in questo luogo"})),M(O.Accordion,{faqs:o,color:"green",wrap:"small"})):null},U=function(t){var n=t.events,e={fl_gfp_active:{text:"Giornate FAI di Primavera",link:"?gfp"},fl_gfa_active:{text:"Giornata FAI d'Autunno",link:"?gfa"},fl_ldc_active:{text:"I Luoghi del Cuore",link:"?ldc"}},o=[];if(n)for(var a in n)!0===n[a]&&e[a]&&o.push(e[a]);return o.length>0?M("div",null,M(O.Padder,{size:"small"},M(O.FasciaTitle,{title:"Campagne in corso in questo luogo"})),M(O.CampaignCards,{cards:o})):null},H=function(t){var n=t.eventi;return n&&n.length>0&&M(O.EventsGrid,{title:"Eventi in calendario",cards:n.slice(0,6).map(w.a),CardComponent:D,pad:"medium"})},X=function(t){var n=t.convenzioni;return n&&n.length>0&&M(p.a.Fragment,null,M("div",{id:"convenzioni"}),M(O.Padder,{size:"small"},M(O.FasciaTitle,{title:"Convenzioni in questo luogo"})),M(O.ListOfCards,{wrap:"big",cards:n.map(F.e),CardComponent:function(t){return M(O.CardConvenzione,t)},vertical:!0}))},W=function(t){var n=t.seo,e=t.luogo,o=t.news,a=t.eventi,i=t.pastEvents,r=t.convenzioni,c=e.localita_web,u=e.nome,l=(e.indirizzo,e.descrizione_html,e.descrizione,u),f=c;
1return M(p.a.Fragment,null,M(O.Hero,{title:l,subtitle:f,breadCrumbs:[["/","Home"],["/luoghi/","Luoghi"],["/luoghi/".concat("marcello"),"".concat(l)]],seo:n,backgroundImage:e.media[0]?{url:e.media[0].url}:null,height:"small",adaptive:!0}),M(O.Background,{color:"grey"},M(O.FogliaEvento,null,M(I.d,null,M(O.Sidebar,null,M(z.b,Object(N.g)(e)),M(B,{luogo:e,convenzioni:r}))),M(I.c,null,M(O.Padder,{size:"medium"},M(O.Wrapper,{size:"small"},M(G,{luogo:e}))))),M(O.Padder,{size:"medium"},M(K,{luogo:e}),M(U,{events:i}),M(Z,{events:i}),M(X,{convenzioni:r}),M(q,{news:o}),M(H,{eventi:a}))))},J=e("uPMs"),Q=e("yDM6"),V=e("mtjO"),Y=e("CIBN"),$=e("Lm5w"),tt=e("Woj4"),nt=e("Wj6v"),et=e("PtrQ"),ot=e("CWX0"),at=e("pAYN"),it=e("sAQc"),rt=["query"],ct=p.a.createElement;function ut(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);n&&(o=o.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,o)}return e}function lt(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?ut(Object(e),!0).forEach((function(n){Object(o.a)(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):ut(Object(e)).forEac
1h((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function ft(t,n,e){return n=Object(f.a)(n),Object(l.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(n,e||[],Object(f.a)(t).constructor):n.apply(t,e))}function st(){var t,n,e="function"==typeof Symbol?Symbol:{},o=e.iterator||"@@iterator",a=e.toStringTag||"@@toStringTag";function i(e,o,a,i){var u=o&&o.prototype instanceof c?o:c,l=Object.create(u.prototype);return dt(l,"_invoke",function(e,o,a){var i,c,u,l=0,f=a||[],s=!1,d={p:0,n:0,v:t,a:g,f:g.bind(t,4),d:function(n,e){return i=n,c=0,u=t,d.n=e,r}};function g(e,o){for(c=e,u=o,n=0;!s&&l&&!a&&n<f.length;n++){var a,i=f[n],g=d.p,p=i[2];e>3?(a=p===o)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=t):i[0]<=g&&((a=e<2&&g<i[1])?(c=0,d.v=o,d.n=i[1]):g<p&&(a=e<3||i[0]>o||o>p)&&(i[4]=e,i[5]=o,d.n=p,c=0))}if(a||e>1)return r;throw s=!0,o}return function(a,f,p){if(l>1)throw TypeError("Generator is already running");for(s&&1===f&&g(f,p),c=f,u=p;(n=c<2?t:u)||!s;){i||(c?c<3?(c>1&&(d.n=-1),g(c,u)):d.n=u:d.v=u);try{if(l=2,i){if(c||(a="next"),n=i[a]){if(!(n=n.call(i,u)))throw TypeError("iterator result is not an object");if(!n.done)return n;u=n.value,c<2&&(c=0)}else 1===c&&(n=i.return)&&n.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+a+"' method"),c=1);i=t}else if((n=(s=d.n<0)?u:e.call(o,d))!==r)break}catch(n){i=t,c=1,u=n}finally{l=1}}return{value:n,done:s}}}(e,a,i),!0),l}var r={};function c(){}function u(){}function l(){}n=Object.getPrototypeOf;var f=[][o]?n(n([][o]())):(dt(n={},o,(function(){return this})),n),s=l.prototype=c.prototype=Object.create(f);function d(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,dt(t,a,"GeneratorFunction")),t.prototype=Object.create(s),t}return u.prototype=l,dt(s,"constructor",l),dt(l,"constructor",u),u.displayName="GeneratorFunction",dt(l,a,"GeneratorFunction"),dt(s),dt(s,a,"Generator"),dt(s,o,(function(){return this})),dt(s,"toString",(function(){return"[object Generator]"})),(st=function(){return{w:i,m:d}})()}function dt(t,n,e,o){var a=Object.defineProperty;try{a({},"",{})}catch(t){a=0}(dt=function(t,n,e,o){function i(n,e){dt(t,n,(function(t){return this._invoke(n,e,t)}))}n?a?a(t,n,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[n]=e:(i("next",0),i("throw",1),i("return",2))})(t,n,e,o)}var gt=h()().publicRuntimeConfig,pt=gt.PLATFORM,mt=gt.APP_DOMAIN,ht=function(){var t=Object(d.a)(st().m((function t(n,e){var o,a,i,r;return st().w((function(t){for(;;)switch(t.n){case 0:return t.n=1,Object(Y.a)("&id_tipologia_bene=".concat(n));case 1:if(o=t.v,a=o.findIndex((function(t){return t.luogo.slug===e})),i=a-1>=0?o[a-1]:o[o.length-1],r=a+1<o.length?o[a+1]:o[0],2!==o.length||i.id!==r.id){t.n=3;break}return t.n=2,Object(Y.a)();case 2:o=t.v,r=a+1<o.length?o[a+1]:o[0];case 3:return t.a(2,[i,r])}}),t)})));return function(n,e){return t.apply(this,arguments)}}(),bt=function(){return _.a.get("".concat(pt,"/settings")).then((function(t){return t.data}))},vt=function(t){var n=t.slug,e=t.campaign;return _.a.get("".concat(pt,"/luoghi/?slug=").concat(n,"&with=").concat(["bene","bene.*","comune","delegazione","delegazione.childs","dnp","eventi","media","news","provincia","socials","spazi","lingue","spazi.media",e].filter((function(t){return t})).join(","))).then((function(t){return t.data.data[0]}))},_t=function(t){function n(t){var e;return Object(c.a)(this,n),(e=ft(this,n)).state={activeCampaign:t.urlCampaign},e.disableCampaign=e.disableCampaign.bind(e),e}return Object(s.a)(n,t),Object(u.a)(n,[{key:"handleBeneTabChange",value:function(t){var n=this.props.slug;v.a.replace({pathname:"/luogo",query:{slug:n,tabUrl:t.url}},"/luoghi/".concat(n).concat("undefined"!==typeof t.url&&"/"!==t.url?"/".concat(t.url):""),{shallow:!0})}},{key:"disableCampaign",value:function(){var t={gfp:"/il-fai/grandi-campagne/giornate-fai-di-primavera/i-luoghi-aperti",gfa:"/il-fai/grandi-campagne/giornate-fai-autunno/i-luoghi-aperti"}[this.state.activeCampaign];t?window.location.href=t:history.back()}},{key:"render",value:function(){var t=this,n=this.props,e=n.tipologia,o=n.seo,a=n.luogoGfp,i=n.luogoLdc,c=n.luogoLdcSalvato,u=n.luogoGfa,l=n.luogoMfi,f=n.luogoFaixme,s=this.state.activeCampaign;return ct(J.a,{seo:o,hasFasciaGrazie:!0,hasFasciaNLApp:!0,hasFasciaSupporto:!0},"ldc"===s&&i&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(nt.default,i)),"luogoSalvato"===s&&c&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(et.default,c)),"gfp"===s&&a&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(tt.default,a)),"gfa"===s&&u&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(ot.default,u)),"mfi"===s&&l&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(at.default,l)),"faixme"===s&&f&&ct(O.ModalOverlay,{showModal:!0,big:!0,onClose:this.disableCampaign},ct(it.default,f)),"bene"===e?ct(k,Object(r.a)({},this.props,{onTabChange:function(n){return t.handleBeneTabChange(n)}})):ct(W,this.props))}}],[{key:"getInitialProps",value:function(){var t=Object(d.a)(st().m((function t(n){var e,o,r,c,u,l,f,s,d,g,p,m,h,b,v,O,A,w,y,j,C,R,E,P,S,L,T,k,I,z,N,F,M,D,x;return st().w((function(t){for(;;)switch(t.n){case 0:return e=n.query,o=Object(i.a)(n,rt),r=e.slug,c=e.tabUrl,u=e.voted,e.returnUrl,l=e.gfp,f=e.ldc,s=e.luogoSalvato,d=e.gfa,g=e.mfi,p=e.fxm,"undefined"!==typeof l&&(m="gfp"),"undefined"!==typeof d&&(m="gfa"),"undefined"!==typeof f&&(m="ldc"),"undefined"!==typeof s&&(m="luogoSalvato"),"undefined"!==typeof g&&(m="mfi"),"undefined"!==typeof p&&(m="faixme"),t.n=1,Promise.all([bt(),vt({slug:r,campaign:"luogoSalvato"===m?"ldc":m})]);case 1:if(h=t.v,b=Object(a.a)(h,2),v=b[0],O=void 0===v?{}
1:v,"undefined"!==typeof(A=b[1])){t.n=2;break}return t.a(2,{statusCode:404});case 2:if(w="luogo",A.fl_bene_fai&&(w="bene"),A.fl_delegazione&&(w="delegazione"),"ldc"!==m){t.n=4;break}return t.n=3,nt.default.getInitialProps(lt(lt({},o),{},{query:e}));case 3:(j=t.v).settings=O,y=j.seo;case 4:if("luogoSalvato"!==m){t.n=6;break}return t.n=5,et.default.getInitialProps(lt(lt({},o),{},{query:e}));case 5:(C=t.v).settings=O,y=C.seo;case 6:if("gfp"!==m||!O.fl_gfp_active){t.n=8;break}return t.n=7,tt.default.getInitialProps(lt(lt({},o),{},{query:e}));case 7:R=t.v,y=R.seo;case 8:if(!A.gfa||"gfa"!==m||!O.fl_gfa_active){t.n=10;break}return t.n=9,ot.default.getInitialProps(lt(lt({},o),{},{query:e}));case 9:E=t.v,y=E.seo;case 10:if(!A.mfi||"mfi"!==m){t.n=12;break}return t.n=11,at.default.getInitialProps(lt(lt({},o),{},{query:e}));case 11:P=t.v,y=P.seo;case 12:if(!A.faixme||"faixme"!==m){t.n=14;break}return t.n=13,it.default.getInitialProps(lt(lt({},o),{},{query:e}));case 13:if(S=t.v,y=S.seo,!(L=S.statusCode)||200===L){t.n=14;break}return t.a(2,{statusCode:L});case 14:if(!(M="bene"===w)){t.n=16;break}return t.n=15,ht(A.bene.id_tipologia_bene,r);case 15:M=t.v;case 16:if(T=M,!(D=A.news&&A.news.length>0)){t.n=18;break}return t.n=17,Object(Q.a)("&stato=1&limit=4&".concat(A.news.map((function(t){return"id[]=".concat(t.id)})).join("&")));case 17:D=t.v;case 18:if(k=D,!(x=A.eventi&&A.eventi.length>0)){t.n=20;break}return t.n=19,Object(V.a)("&date_from=now&".concat(A.eventi.map((function(t){return"id[]=".concat(t.id)})).join("&")));case 19:x=t.v;case 20:return I=x,t.n=21,_.a.get("".concat(pt,"/luoghi?id=").concat(A.id,"&with=gfp,vertical")).then((function(t){return t.data.data[0].vertical}));case 21:return z=t.v,t.n=22,_.a.get("".concat(pt,"/luoghi/faixme?with=luogo,media,categorie&limit=8&slug=null|NOT&id_luogo=").concat(A.id)).then((function(t){return t.data&&t.data.data}));case 22:return N=t.v,F=y||{title:A.title_og,ogImage:A.media&&A.media[0]&&A.media[0].url||"https://fai-website.imgix.net/static/placeholder_2.png",url:"".concat(mt,"/luoghi/").concat(r),description:A.metadescription},t.a(2,{slug:r,tabUrl:c,luogo:A,tipologia:w,seo:F,eventi:I,news:k,beniCorrelati:T,urlCampaign:m,pastEvents:z,voted:void 0!==u,luogoLdc:j,luogoLdcSalvato:C,luogoGfp:R,luogoGfa:E,luogoMfi:P,luogoFaixme:S,convenzioni:N})}}),t)})));return function(n){return t.apply(this,arguments)}}()}])}(g.Component);n.default=Object($.b)(_t)},"XSy+":function(t,n,e){"use strict";e.d(n,"c",(function(){return r})),e.d(n,"d",(function(){return c})),e.d(n,"e",(function(){return u})),e.d(n,"a",(function(){return l})),e.d(n,"h",(function(){return f})),e.d(n,"i",(function(){return s})),e.d(n,"f",(function(){return g})),e.d(n,"b",(function(){return p})),e.d(n,"g",(function(){return m}));var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM,r=function(t){return o.a.get("".concat(i,"/").concat("luoghi?limit=100&with=gfa,gfa.media&has=gfa&limit=100").concat(t)).then((function(t){return t.data.data}))},c=function(t){return o.a.get("".concat(i,"/verticals/?id=GFA")).then((function(t){return t.data.data[0]}))},u=function(t){var n=t.page,e=t.query;return o.a.get("".concat(i,"/luoghi/?with=tipologia,gfa,gfa.media&has=gfa&limit=24&page=").concat(n,"&").concat(e||"")).then((function(t){return t.data}))},l=function(t){var n=t.coord_geo_lat,e=t.gfa,a=t.coord_geo_long,r=t.comune,c=parseFloat(n||r.coord_geo_lat).toFixed(2),u=parseFloat(a||r.coord_geo_long).toFixed(2),l=["limit=8","page=1","id[]=".concat(e.id_luogo,"|NOT")];return o.a.get("".concat(i,"/luoghi/?radius[coords]=").concat(c,",").concat(u,"&radius[distance]=100&with=media,gfa,gfa.media,tipologia&has=gfa&").concat(l.join("&"))).then((function(t){return t.data.data}))},f=function(t,n){return void 0!==t&&null!==t&&o.a.get("".concat(i,"/luoghi/?gfa.id_gf_itinerario=").concat(t,"|LIKE&id[]=").concat(n,"|NOT&with=gfa,gfa.media&has=gfa")).then((function(t){return t.data.data}))},s=function(){return o.a.get("".concat(i,"/luoghi/tipologie?with=macrotipologia&fl_ldc=true&limit=100")).then((function(t){return t.data.data})).catch((function(t){return[]}))},d=function(t){if(!t)return t;var n=t.replace("\u2019","'");return n="MONZA E BRIANZA"===n||"MONZA-E-BRIANZA"===n?"MONZA E DELLA BRIANZA":"GALLURA-NORD-EST-SARDEGNA"===n||"GALLURA NORD-EST SARDEGNA"===n?"GALLURA NORD-EST SARDEGNA":"MASSA CARRARA"===n||"MASSA-CARRARA"===n?"MASSA-CARRARA":n.replaceAll("-"," ")},g=function(t){return o.a.get("".concat(i,"/province?nome=*").concat(d(t),"*|LIKE")).then((function(t){return t.data.data}))}
1,p=function(t){return o.a.get("".concat(i,"/comuni?nome=*").concat(d(t),"*|LIKE&limit=999")).then((function(t){return t.data.data}))},m=function(t){return o.a.get("".concat(i,"/regioni?nome=*").concat(d(t),"*|LIKE")).then((function(t){return t.data.data}))}},YY8h:function(t,n,e){"use strict";var o=e("cxan"),a=e("9fIP"),i=e("MMYH"),r=e("K/z8"),c=e("sRHE"),u=e("8K1b"),l=e("ERkP"),f=e.n(l),s=e("QtE3"),d=e("Ehz4"),g=e("bAhH"),p=f.a.createElement;function m(t,n,e){return n=Object(c.a)(n),Object(r.a)(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(n,e||[],Object(c.a)(t).constructor):n.apply(t,e))}var h=function(t){function n(){return Object(a.a)(this,n),m(this,n,arguments)}return Object(u.a)(n,t),Object(i.a)(n,[{key:"render",value:function(){var t=this,n=this.props,e=n.id,a=n.title,i=n.id_comitato,r=n.slug,c=n.handleCardClick,u=n.fixedStatus,l=n.anchor,f=n.luogoSalvato,m=n.votesDisabled;return p(d.a,{id:e,title:a,id_comitato:i,slug:r},(function(n){var a=n.status,i=n.tokenId,d=u||a,h=m?null:function(){return p(g.a,Object(o.a)({},t.props,n))},b=f?"/luoghi/".concat(r,"?luogoSalvato").concat(l||""):"/luoghi/".concat(r,"?ldc").concat(l||"");return p(s.VoteCard,Object(o.a)({},t.props,{link:b,onClick:"function"===typeof c?function(){return c({slug:r,id:e,url:b})}:null,status:d,tokenId:i,renderButton:h,luogoSalvato:f}))}))}}])}(f.a.Component);n.a=h},ZaFK:function(t,n,e){"use strict";e.d(n,"d",(function(){return r})),e.d(n,"g",(function(){return c})),e.d(n,"j",(function(){return u})),e.d(n,"h",(function(){return l})),e.d(n,"a",(function(){return f})),e.d(n,"i",(function(){return s})),e.d(n,"c",(function(){return d})),e.d(n,"b",(function(){return g})),e.d(n,"f",(function(){return p})),e.d(n,"e",(function(){return m}));var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM,r=function(t){return o.a.get("".concat(i,"/").concat("luoghi/faixme/?with=luogo,media,categorie,sottocategorie&limit=100").concat(t)).then((function(t){return t.data.data}))},c=function(t){var n=t.page,e=t.query;return o.a.get("".concat(i,"/luoghi/faixme/?with=luogo,media,categorie,sottocategorie&has=sottocategorie&limit=24&slug=null|NOT&page=").concat(n,"&").concat(e||"")).then((function(t){return t.data}))},u=function(){return o.a.get("".concat(i,"/luoghi/faixme/categorie?with=sottocategorie")).then((function(t){return t.data.data})).catch((function(t){return[]}))},l=function(t){return o.a.get("".concat(i,"/province?nome=*").concat(t,"*|LIKE")).then((function(t){return t.data.data}))},f=function(t){return o.a.get("".concat(i,"/comuni?nome=*").concat(t,"*|LIKE&limit=999")).then((function(t){return t.data.data}))},s=function(t){return o.a.get("".concat(i,"/regioni?nome=*").concat(t,"*|LIKE")).then((function(t){return t.data.data}))},d=function(t){var n=t.id,e=t.luogo.id;return o.a.get("".concat(i,"/luoghi/faixme?id=").concat(n,"|NOT&id_luogo=").concat(e,"&with=luogo,media,categorie&limit=4")).then((function(t){return t.data.data}))},g=function(t){var n=t.id,e=t.sottocategorie,a=t.luogo.regione;return!(!e||!e.length)&&o.a.get("".concat(i,"/luoghi/faixme?id=").concat(n,"|NOT&sottocategorie.id=").concat(e[0].id,"&luogo.regione.id=").concat(a.id,"&with=luogo,media,sottocategorie&has=sottocategorie&limit=4")).then((function(t){return t.data.data}))},p=function(){return o.a.get("".concat(i,"/verticals/?id=FXM")).then((function(t){return t.data.data[0]}))},m=function(t){var n="";if(null!==t&&void 0!==t&&t.length){var e=t.filter((function(t){return 0!==t}));null!==e&&void 0!==e&&e.length&&(n="&searchrel.id_selezione=".concat(e[0]))}var a="luoghi/faixme/?with=luogo,media,categorie,sottocategorie,searchrel".concat(n,"&limit=112");return o.a.get("".concat(i,"/").concat(a)).then((function(t){return t.data.data}))}},iR2b:function(t,n,e){"use strict";var o=e("gc+n");n.a=function(t){if("undefined"===typeof t)return{};var n=t.date_to_show,e=t.dt_inizio,a=t.dt_fine,i=t.titolo,r=t.luogo,c=t.url_landing_page,u=n,l=function(t){var n=t.background_type;return"I"===n?"fullImg":"B"===n?"white":"V"===n?"green":void 0}(t),f=new Date(u).toString()===new Date((new Date).setHours(0,0,0,0)).toString();return{category:t.tema?t.tema.tema:"",title:i,dateFrom:Object(o.c)(e),dateTo:Object(o.c)(a),isToday:f,exactDate:u,exactDay:Object(o.d)(u),exactMonth:Object(o.e)(u),info:[t.owner&&t.owner.toUpperCase(),r?r.localita_web:""].join("<br />"),link:"/eventi/".concat(t.slug),hasLanding:c,thumbnail:{image:{url:t.media[0]&&t.media[0].url}},backgroundType:l}}},mtjO:function(t,n,e){"use strict";e.d(n,"e",(function(){return c})),e.d(n,"d",(function(){return l})),e.d(n,"c",(function(){return f})),e.d(n,"f",(function(){return u})),e.d(n,"b",(function(){return s}));var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM,r="eventi?with=content,alert,related,settore,news,tema,tipologia,categoria,media,luogo,luogo.regione,luogo.provincia&limit=150",c=function(t){return o.a.get("".concat(i,"/").concat(r).concat(t)).then((function(t){return t.data}))},u=function(t){return o.a.get("".concat(i,"/ldc/eventi/?with=calendar,luogo,luogo.ldc").concat(t||"")).then((function(t){return t.data}))},l=function(){return o.a.get("".concat(i,"/").concat("eventi/target")).then((function(t){return t.data.data}))},f=function(){return o.a.get("".concat(i,"/").concat("eventi/settori?fl_filtro=true")).then((function(t){return t.data.data}))},s=function(t,n){var e="";null!==t&&void 0!==t&&t.length&&(e="&search=".concat(t[0].toLowerCase()));var a="";return n&&(a="&ownersmodel=".concat(n.filter((function(t){return 0!==t})).join(","))),o.a.get("".concat(i,"/").concat(r,"&date_from=now&orderby=date_to_show+").concat(e).concat(a)).then((function(t){return t.data.data}))};n.a=function(t){return o.a.get("".concat(i,"/").concat(r).concat(t)).then((function(t){return t.data.data}))}},qWIC:function(t,n,e){"use strict";e.d(n,"f",(function(){return c})),e.d(n,"b",(function(){return u})),e.d(n,"g",(function(){return l})),e.d(n,"e",(function(){return f})),e.d(n,"a",(function(){return s})),e.d(n,"c",(function(){return d})),e.d(n,"d",(function(){return g})),e.d(n,"h",(function(){return p}));var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM,r=function(t){if(!t)return t;var n=t.replace("\u2019","'");return n="MONZA E BRIANZA"===n||"MONZA-E-BRIANZA"===n?"MONZA E DELLA BRIANZA":"GALLURA-NORD-EST-SARDEGNA"===n||"GALLURA NORD-EST SARDEGNA"===n?"GALLURA NORD-EST SARDEGNA":"MASSA CARRARA"===n||"MASSA-CARRARA"===n?"MASSA-CARRARA":n.replaceAll("-"," ")},c=function(t){return o.a.get("".concat(i,"/province?nome=*").concat(r(t),"*|LIKE")).then((function(t){return t.data.data}))}
1,u=function(t){return o.a.get("".concat(i,"/comuni?nome=*").concat(r(t),"*|LIKE&limit=50")).then((function(t){return t.data.data}))},l=function(t){return o.a.get("".concat(i,"/regioni?nome=*").concat(r(t),"*|LIKE")).then((function(t){return t.data.data}))},f=function(t){var n=t.page,e=t.query,a=["limit=24","page=".concat(n)].join("&");return o.a.get("".concat(i,"/luoghi/?with=tipologia,gfp,gfp.media&has=gfp&").concat(a,"&").concat(e||"")).then((function(t){return t.data}))},s=function(t){var n=t.prov_id,e=t.id,a=[,"limit=8","page=1"].join("&");return o.a.get("".concat(i,"/luoghi/?with=media,gfp,gfp.media,tipologia&has=gfp").concat(a,"&").concat(n&&"prov_id=".concat(n)||"","&id=").concat(e,"|NOT")).then((function(t){return t.data.data}))},d=function(t){return o.a.get("".concat(i,"/luoghi/?").concat(t,"&with=media,gfp,gfp.media,tipologia,comune,provincia,gfp.fascialoghi&has=gfp")).then((function(t){return t.data.data[0]}))},g=function(){return o.a.get("".concat(i,"/verticals/?id=GFP")).then((function(t){return t.data.data[0]}))},p=function(t,n){return void 0!==t&&null!==t&&o.a.get("".concat(i,"/luoghi/?gfp.id_gf_itinerario=").concat(t,"|LIKE&id[]=").concat(n,"|NOT&with=gfp,gfp.media&has=gfp")).then((function(t){return t.data.data}))}},qXKH:function(t,n,e){"use strict";n.a=function(t){if("undefined"===typeof t)return{};var n=t.luogo.slug;return{id:t.id,title:t.titolo,supertitle:"",thumbnail:{url:t.media[0]&&t.media[0].url||"https://fai-website.imgix.net/static/placeholder_2.png"},link:"/luoghi/".concat(n),subtitle:t.luogo.localita_web,content:t.payoff}}},ttF7:function(t,n,e){"use strict";e.d(n,"f",(function(){return c})),e.d(n,"d",(function(){return u})),e.d(n,"e",(function(){return l})),e.d(n,"b",(function(){return f})),e.d(n,"i",(function(){return s})),e.d(n,"j",(function(){return d})),e.d(n,"g",(function(){return p})),e.d(n,"c",(function(){return m})),e.d(n,"h",(function(){return h})),e.d(n,"a",(function(){return b}));var o=e("zygG"),a=e("r4FT"),i=e("0D0S"),r=e.n(i)()().publicRuntimeConfig.PLATFORM,c=function(t){return a.a.get("".concat(r,"/").concat("luoghi?limit=100&with=mfi,mfi.media&has=mfi").concat(t)).then((function(t){return t.data.data}))},u=function(){return a.a.get("".concat(r,"/verticals/?id=MFI")).then((function(t){return t.data.data[0]}))},l=function(t){var n=t.page,e=t.query;return a.a.get("".concat(r,"/luoghi/?with=tipologia,mfi,mfi.media&has=mfi&limit=24&page=").concat(n,"&").concat(e||"")).then((function(t){return t.data}))},f=function(t){var n=t.coord_geo_lat,e=t.mfi,o=t.coord_geo_long,i=t.comune,c=parseFloat(n||i.coord_geo_lat).toFixed(2),u=parseFloat(o||i.coord_geo_long).toFixed(2),l=["limit=8","page=1","id[]=".concat(e.id_luogo,"|NOT")];return a.a.get("".concat(r,"/luoghi/?radius[coords]=").concat(c,",").concat(u,"&radius[distance]=100&with=media,mfi,mfi.media,tipologia&has=mfi&").concat(l.join("&"))).then((function(t){return t.data.data}))},s=function(t){return a.a.get("".concat(r,"/luoghi/?id_gf_itinerario=").concat(t,"&has=mfi&with=mfi,mfi.media&limit=8&page=1")).then((function(t){return t.data.data}))},d=function(){return a.a.get("".concat(r,"/luoghi/tipologie?with=macrotipologia&fl_ldc=true&limit=100")).then((function(t){return t.data.data})).catch((function(t){return[]}))},g=function(t){if(!t)return t;var n=t.replace("\u2019","'");return n="MONZA E BRIANZA"===n||"MONZA-E-BRIANZA"===n?"MONZA E DELLA BRIANZA":"GALLURA-NORD-EST-SARDEGNA"===n||"GALLURA NORD-EST SARDEGNA"===n?"GALLURA NORD-EST SARDEGNA":"MASSA CARRARA"===n||"MASSA-CARRARA"===n?"MASSA-CARRARA":n.replaceAll("-"," ")},p=function(t){return a.a.get("".concat(r,"/province?nome=*").concat(g(t),"*|LIKE&has=luoghi.mfi")).then((function(t){return t.data.data}))},m=function(t){return a.a.get("".concat(r,"/comuni?nome=*").concat(g(t),"*|LIKE&limit=999&has=luoghi.mfi")).then((function(t){return t.data.data}))},h=function(t){return a.a.get("".concat(r,"/regioni?nome=*").concat(g(t),"*|LIKE")).then((function(t){return t.data.data}))},b=function(t,n){var e=function(t,n){if("object"!==typeof n||"string"!==typeof t)throw new Error("Param
1s should be an object");var e=Object.entries(n).map((function(t){var n=Object(o.a)(t,2),e=n[0],a=n[1];return"".concat(e,"=").concat(Array.isArray(a)?a.join(","):a)})).join("&"),a=t.replace(/^\/+|\/+$/g,"");return"".concat(r,"/").concat(a,"?").concat(e)}(t,n);return a.a.get(e).then((function(t){return t.data}))}},yDM6:function(t,n,e){"use strict";e.d(n,"d",(function(){return r})),e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return u}));var o=e("r4FT"),a=e("0D0S"),i=e.n(a)()().publicRuntimeConfig.PLATFORM,r=function(t){return o.a.get("".concat(i,"/").concat("news?with=categoria&stato=1","&").concat(t)).then((function(t){return t.data}))},c=function(t){return o.a.get("".concat(i,"/news/").concat(t,"&orderby=id-")).then((function(t){return t.data.data}))},u=function(t){return o.a.get("".concat(i,"/news/").concat(t,"&orderby=id-")).then((function(t){return t.data}))};n.a=function(t){return o.a.get("".concat(i,"/").concat("news?with=categoria&limit=150&stato=1&orderby=dt_news-","&").concat(t)).then((function(t){return t.data.data}))}}},[["+936",1,0,5,7,3,2,6,4,8,9,10,11,13,12,15,14,16,17,20,21,25,27,29,33]]]);

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.