1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9195],{36449:function(e,t,a){"use strict";var c=a(23531),n=a.n(c),i=a(26369),o=a(85893);t.Z=function(e){var t=e.data,a=new Date(t.createdAt),c="/blog/";return t&&(t.Categories&&t.Categories[0]&&(c+="".concat(t.Categories[0].permalink,"/")),c+=t.permalink),(0,o.jsx)("div",{className:"col-xs-12 col-sm-6 col-md-4 col-lg-4",id:"blog-article-identifier",children:(0,o.jsxs)("a",{className:n().card_article,href:c,title:t.title,children:[(0,o.jsx)("div",{className:"article-img",style:t.Image&&{backgroundImage:"url(".concat((0,i.K)(t.Image.name,400),")")}}),(0,o.jsxs)("div",{className:"box",children:[(0,o.jsxs)("div",{className:"article_category",children:[(0,o.jsx)("span",{className:"tag",children:t&&t.Categories&&t.Categories[0]&&t.Categories[0].name.slice(0,18)}),(0,o.jsx)("span",{className:"article_date",children:a&&a.toDateString()})]}),(0,o.jsx)("h3",{children:null===t||void 0===t?void 0:t.title})]})]})})}},21024:function(e,t,a){"use strict";var c=a(67294),n=a(50385),i=a.n(n),o=a(11163),l=a(85893);t.Z=function(e){var t=e.categories,a=e.selectedCategory,n=e.search,s=e.page,r=(0,o.useRouter)(),_=(0,c.useState)(n),g=_[0],d=_[1],u=(0,c.useState)(!1),p=u[0],m=u[1],h=function(){var e=document.getElementById("blogFilter").offsetWidth;m(e<=1080)};return(0,c.useEffect)((function(){return h(),window.addEventListener("resize",h),function(){return window.removeEventListener("resize",h)}}),[]),(0,l.jsx)("div",{id:"blogFilter",className:"".concat(i().filters," ").concat(p?i().filters_hide:i().filters_show),children:(0,l.jsxs)("div",{className:"".concat(i().main_content," justify-space-between qpass-flex"),children:[(0,l.jsx)("div",{className:"".concat(i().filter_category," col-xs-12 col-sm-6 col-md-5 col-lg-5 space-between"),children:(0,l.jsx)("div",{className:"".concat(i().blog_filter," ").concat(i().select),children:(0,l.jsxs)("select",{defaultValue:a,onChange:function(e){""!==e.target.value?r.push("lextech"===e.target.value?"/lextech":"/blog/".concat(e.target.value,"/?page=1")):r.push("/blog?page=1")},children:[(0,l.jsx)("option",{value:"",children:"Tutte le Categorie"}),t&&t.length>0&&t.sort((function(e,t){return e.name.toLowerCase().localeCompare(t.name.toLowerCase())})).map((function(e){return(0,l.jsx)("option",{value:e.permalink,children:e.name[0].toUpperCase()+e.name.slice(1)},"option_cat".concat(e._id))}))]})})}),(0,l.jsx)("div",{className:"col-xs-12 col-sm-4 col-md-4 col-lg-3",children:(0,l.jsx)("form",{method:"GET",children:(0,l.jsxs)("div",{className:"".concat(i().blog_filter," ").concat(i().search_field," ").concat(i().search),children:[(0,l.jsx)("input",{type:"search",name:"search",value:g,placeholder:"Cerca...",onChange:function(e){return d(e.target.value)}}),(0,l.jsx)("input",{type:"hidden",name:"page",value:s})]})})})]})})}},11134:function(e,t,a){"use strict";var c=a(67294),n=a(92962),i=a.n(n),o=a(11163),l=a(85893);t.Z=function(e){var t=e.totPages,a=e.currentPage,n=e.page,s=e.url,r=e.nextWithSlash,_=void 0!==r&&r,g=(0,o.useRouter)(),d=(0,c.useState)(a),u=d[0],p=d[1],m=Array.from({length:t},(function(e,t){return t+1}));return(0,l.jsx)("div",{id:"paginator_container",className:"".concat(i().lawyers_paginator," ").concat(i().paginator_container," col-xs-12"),children:t>0&&(0,l.jsxs)("div",{className:"main-content qpass-flex middle-xs",children:[(0,l.jsx)("div",{className:"col-xs-12 col-sm-3 col-md-2 col-lg-2"}),(0,l.jsx)("div",{className:"col-xs-12 col-sm-9 col-md-10 col-lg-10",children:(0,l.jsxs)("ul",{className:"qpass-flex middle-xs end-xs",children:[a>0&&a>1&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item," previous"),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(n-1):"".concat(s,"?page=").concat(n-1),className:"page-link",children:(0,l.jsx)("img",{src:"/assets/icons/arrow-left.svg",width:"8",height:"12",alt:"arrow left"})})}),a>0&&a-2>0&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(n-2):"".concat(s,"?page=").concat(n-2),className:"page-link",children:a-2})}),a>0&&a-1>0&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(n-1):"".concat(s,"?page=").concat(n-1),className:"page-link",children:a-1})}),(0,l.jsx)("div",{className:"".concat(i().paginate_button," ").concat(i().page_item," ").concat(i().active),children:(0,l.jsx)("select",{defaultValue:u,onChange:function(e){p(e.target.value),g.push(_?"".concat(s,"/").concat(e.target.value):"".concat(s,"?page=").concat(e.target.value))},children:m.map((function(e){return(0,l.jsx)("option",{value:e,children:e},"option".concat(e))}))})}),a>0&&a+1>1&&t>=a+1&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(a+1):"".concat(s,"?page=").concat(a+1),className:"page-link",children:a+1})}),a>0&&a+2>1&&t>=a+2&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(a+2):"".concat(s,"?page=").concat(a+2),className:"page-link",children:a+2})}),a>0&&t>a+1&&(0,l.jsx)("li",{className:"".concat(i().paginate_button," ").concat(i().page_item," next"),children:(0,l.jsx)("a",{href:_?"".concat(s,"/").concat(a+1):"".concat(s,"?page=").concat(a+1),className:"page-link",children:(0,l.jsx)("img",{src:"/assets/icons/arrow-right.svg",width:"8",he
1ight:"12",alt:"arrow right"})})})]})})]})})}},26369:function(e,t,a){"use strict";a.d(t,{K:function(){return i}});var c="/image/upload/",n=/\/image\/upload\/(?:[a-zA-Z_0-9.,]+\/)+(?=v\d)/;function i(e,t){return e&&e.includes(c)?e.replace(n,c).replace(c,"".concat(c,"f_auto,c_limit,w_").concat(t,",q_auto/")):e||""}},74310:function(e,t,a){"use strict";a.r(t),a.d(t,{Blog:function(){return m},__N_SSP:function(){return p}});var c=a(36449),n=a(21024),i=a(11134),o=a(4298),l=a.n(o),s=a(32354),r=a(67294),_=a(97950),g=a(23531),d=a.n(g),u=a(85893),p=!0,m=function(e){var t=e.data,a=e.queryPage,o=e.categories,g=e.tags,p=e.category,m=e.tag,h=e.search,b=(0,r.useState)(!1),f=b[0],x=b[1],v=(0,r.useState)(!1),j=v[0],N=v[1];return(0,u.jsxs)(_.Z,{setOpenedFormModel:x,openedFormModel:f,title:"Le nostre guide giuridiche \ud83d\udcda".concat(a?" - Pagina "+a:""," | AvvocatoFlash"),description:"Novit\xe0, approfondimenti e consigli su tutte le principali aree del diritto, per tutti. Resta informato ed impara a difendere i tuoi diritti".concat(a?", - Pagina "+a:"."),canonical:"".concat(s.N.sitBase,"/blog").concat(a?"?page="+a:""),noIndexFollow:!!a,imageContent:{url:"".concat(s.N.sitBase,"/assets/bg-home.png"),w:"1668",h:"1284"},openedWhatsappModal:j,setOpenedWhatsappModal:N,children:[" ",(0,u.jsxs)("div",{id:"view-blog",className:"view-blog",style:{backgroundColor:"#fff"},children:[(0,u.jsx)("div",{className:"qpass-flex blog-top-title",children:(0,u.jsx)("div",{className:"col-xs-12",children:(0,u.jsxs)("h1",{children:["Le nostre guide giuridiche ",a&&"- Pagina ".concat(a)]})})}),(0,u.jsx)(n.Z,{categories:o,tags:g,selectedCategory:p,selectedTag:m,search:h,page:t&&t.currentPage}),(0,u.jsxs)("div",{className:d().blog_articles,children:[(0,u.jsxs)("div",{className:"main-content qpass-flex",children:[t&&t.articles&&t.articles.length>0&&t.articles.map((function(e){return(0,u.jsx)(c.Z,{data:e},e._id)})),(!t||t&&t.articles&&0===t.articles.length)&&(0,u.jsxs)("div",{className:"col-xs-12 margin-bottom",children:[(0,u.jsxs)("h2",{className:"no-results-text",children:["Non abbiamo trovato nessun articolo,",(0,u.jsx)("br",{}),"riprova con un altro titolo"]}),(0,u.jsxs)("div",{className:"center-xs",children:[(0,u.jsx)("br",{}),(0,u.jsx)("br",{}),(0,u.jsx)("a",{className:"btn btn--green",href:"/blog?page=1",children:"Torna indietro"})]})]})]}),t&&t.articles&&t.articles.length>0&&(0,u.jsx)(i.Z,{totPages:t.totPages,currentPage:t.currentPage,page:t&&t.currentPage,url:"/blog"})]})]}),!a&&(0,u.jsx)(l(),{strategy:"lazyOnload",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify([{"@context":"https://schema.org","@type":"Blog",name:"Guide Giuridiche \u2014 AvvocatoFlash",description:"Novit\xe0, approfondimenti e consigli su tutte le principali aree del diritto. Resta informato e impara a difendere i tuoi diritti.",url:"".concat(s.N.sitBase,"/blog"),publisher:{"@type":"Organization",name:"AvvocatoFlash",url:s.N.sitBase,logo:"".concat(s.N.sitBase,"/assets/avvocatoflash-logo.png")},inLanguage:"it"},{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:s.N.sitBase},{"@type":"ListItem",position:2,name:"Guide Giuridiche",item:"".concat(s.N.sitBase,"/blog")}]}])}})]})};t.default=m},67801:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return a(74310)}])},50385:function(e){e.exports={filters:"filter_filters__YF03Y",filter_category:"filter_filter_category__byMSC",open:"filter_open__pxndF",main_content:"filter_main_content__KSSwq",blog_filter:"filter_blog_filter__gjnnM",select:"filter_select__Q0bTS",search_field:"filter_search_field__XVFDr","main-content":"filter_main-content__kadaq",filters_hide:"filter_filters_hide__2D34z",filters_show:"filter_filters_show__DJ9P1"}},23531:function(e){e.exports={blog_articles:"blog_blog_articles__hosn_",blog_section:"blog_blog_section__uv2zD",blog_article:"blog_blog_article__XZCUc",card_article:"blog_card_article__ZuGHh",rel_article_box:"blog_rel_article_box__Nk7i_",box_link:"blog_box_link__qD7oG",box:"blog_box__YG8Jy",cover_image:"blog_cover_image__koZ9K",overlay:"blog_overlay__Dy9pC",tags:"blog_tags__jcVif",categories:"blog_categories__NhgOk",tag:"blog_tag__yFgZ2",links:"blog_links__kdJp5",date:"blog_date___Asdd","blog-article":"blog_blog-article__XHMrc",t
1itle:"blog_title__YVAdF",subtitle:"blog_subtitle__ikN_N",content:"blog_content__ZnQv2",db_accordion_title:"blog_db_accordion_title__sKsJu",db_accordion_content:"blog_db_accordion_content___DUJs",db_accordion:"blog_db_accordion__W4Pa1",accordion_content:"blog_accordion_content__ne_E_",inline_cta:"blog_inline_cta__ndzj4",inline_cta_title:"blog_inline_cta_title__qr5GN",inline_cta_text:"blog_inline_cta_text___6Kj1",lawyer_contact:"blog_lawyer_contact__Z4bDi",contact_info:"blog_contact_info__u3he7",contact_btn:"blog_contact_btn__CFOa6",blog_sidebar:"blog_blog_sidebar__rbGBq",plan_sidebar:"blog_plan_sidebar__9WQIw","sidebar-inner":"blog_sidebar-inner__gsljd",rate:"blog_rate__vAjIx",copywriter:"blog_copywriter__mOkwY",goBack:"blog_goBack__4qxZb",template:"blog_template__z_uH5",toc:"blog_toc__3RLBD",toc_title:"blog_toc_title__ALGPY",toc_list:"blog_toc_list__MWJvg",toc_item:"blog_toc_item__GRVZg"}},92962:function(e){e.exports={paginator_container:"pagination_paginator_container__vlP0e",lawyers_paginator:"pagination_lawyers_paginator__WwkdS",paginate_button:"pagination_paginate_button__6NbCV",page_item:"pagination_page_item__SEilu",active:"pagination_active__b1QzQ",totRecords:"pagination_totRecords__urcMx"}}},function(e){e.O(0,[9967,5463,7950,5386,9774,2888,179],(function(){return t=67801,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.