1(self.webpackChunksite=self.webpackChunksite||[]).push([[353],{2734:function(e,t,n){"use strict";n.r(t);var l=n(74318),a=n(12418),r=n.n(a),i=n(63696),o=n(97816),s=n(10159),u=n(7038),c=n(51725),d=n(77767),v=n(69081),m=n(66719),f=n(79315);const p=e=>{let{label:t,isActive:n,value:l,className:a,onClick:r}=e;return t?i.createElement("div",{className:"ch-category "+(n?" active":"")+" "+(a||""),onClick:r},t):null};t.default=e=>{var t;const{t:n}=(0,f.Bd)(),a=e.data||[],g="false"!==(null==e?void 0:e.filter),h=e.title||n("Contenuti correlati"),E=void 0!==(null==e?void 0:e.className)?" "+e.className:"",b=(0,i.useMemo)(()=>"prod-"+Math.floor(9999*Math.random()),[]),{0:w,1:N}=(0,i.useState)(null),x=Array.isArray(a)&&a.length>0,k=x&&a.length>1?[{label:n("Mostra tutti"),value:""}]:[],C=x?a.map(e=>{var t,l,a,r,i,o;return{label:n((null==e||null===(t=e.applicationContents)||void 0===t||null===(l=t.nodes)||void 0===l||null===(a=l[0])||void 0===a?void 0:a.name)||""),value:(null==e||null===(r=e.applicationContents)||void 0===r||null===(i=r.nodes)||void 0===i||null===(o=i[0])||void 0===o?void 0:o.name)||""}}):[],y=x?r()([].concat(k,(0,l.A)(C)).filter(e=>e.label&&""!==e.label),"value"):[],{0:P,1:A}=(0,i.useState)(y.length>0&&(null===(t=y[0])||void 0===t?void 0:t.value)||""),I=a.filter(e=>{var t,n,l;if(!P||""===P)return!0;return(null==e||null===(t=e.applicationContents)||void 0===t||null===(n=t.nodes)||void 0===n||null===(l=n[0])||void 0===l?void 0:l.name)===P}),M=I.length;return x?i.createElement("div",{comp:"case-history-carousel",className:E},i.createElement(c.default,{pretitle:"Focus on",title:h}),g&&y.length>0&&i.createElement("div",{className:"tag-filters"},y.map((e,t)=>{let{label:n,value:l}=e;return i.createElement(p,{key:t,label:n,value:l,className:"inverted",onClick:()=>A(l),isActive:P===l})})),i.createElement(s.RC,{onSwiper:N,slidesPerView:1.25,spaceBetween:20,loop:!1,watchOverflow:!0,breakpoints:{576:{slidesPerView:1.5},768:{slidesPerView:1.75},992:{slidesPerView:2.5}},pagination:{el:"#"+b+"-pagination",type:"progressbar"},modules:[u.dK,u.Vx],className:"ch-swiper",id:b},I.map((e,t)=>{var l,a,r,u,c,d,f,g,h;const E=null==e||null===(l=e.acfPages_technology)||void 0===l||null===(a=l.relatedPageImage)||void 0===a?void 0:a.gatsbyImage,b=null==e||null===(r=e.featuredImage)||void 0===r||null===(u=r.node)||void 0===u?void 0:u.gatsbyImage,w=E||b,N=(null==e||null===(c=e.acfPages_technology)||void 0===c||null===(d=c.relatedPageImage)||void 0===d?void 0:d.altText)||"",x=(null==e||null===(f=e.featuredImage)||void 0===f?void 0:f.altText)||"",k=N||x||"",C=null==e||null===(g=e.acfPages_technology)||void 0===g?void 0:g.backgroundColor,y=null==e||null===(h=e.wpParentPage)||void 0===h?void 0:h.title,P=(null==e?void 0:e.title)||"",A=(null==e?void 0:e.uri)||"#";return i.createElement(s.qr,{key:t},w&&i.createElement(o.G,{className:"sw-image",image:E||b,objectFit:"cover",alt:k}),i.createElement("div",{className:"slide-container"},C&&i.createElement("div",{className:"slide-content-bg",style:{background:C}}),i.createElement("div",{className:"slide-content"},y&&i.createElement(p,{label:y}),P&&i.createElement("h4",{className:"ch-title"},P),i.createElement(m.default,{text:n("Approfondisci"),className:"link-button",to:A},i.createElement(v.default,{dir:"end",text:n("Approfondisci"),className:"text-white"})))))}),M>1&&i.createElement("div",{className:"sw-navigation"},i.createElement(d.A,{id:b+"-nav-prev",dir:"start",onClick:()=>w&&w.slidePrev()}),i.createElement(d.A,{id:b+"-nav-next",dir:"end",onClick:()=>w&&w.slideNext()}))),i.createElement("div",{id:b+"-pagination",className:"gefran-swiper-pagination-progressbar position-relative mt-4 mt-md-5"})):null}},4575:function(e,t,n){var l=n(15663),a=n(12827),r=n(16547);e.exports=function(e,t,n){return t==t?r(e,t,n):l(e,a,n)}},12418:function(e,t,n){var l=n(9073),a=n(18881);e.exports=function(e,t){return e&&e.length?a(e,l(t,2)):[]}},12769:function(e,t,n){var l=n(4575);e.exports=function(e,t){return!!(null==e?0:e.length)&&l(e,t,0)>-1}},12827:function(e){e.exports=function(e){return e!=e}},15663:function(e){e.exports=function(e,t,n,l){for(var a=e.length,r=n+(l?1:-1);l?r--:++r<a;)if(t(e[r],r,e))return r;return-1}},16547:function(e){e.exports=function(e,t,n){for(var l=n-1,a=e.length;++l<a;)if(e[l]===t)return l;return-1}},18881:function(e,t,n){var l=n(61527),a=n(12769),r=n(60021),i=n(79151),o=n(34953),s=n(15851);e.exports=function(e,t,n){var u=-1,c=a,d=e.length,v=!0,m=[],f=m;if(n)v=!1,c=r;else if(d>=200){var p=t?null:o(e);if(p)return s(p);v=!1,c=i,f=new l}else f=t?[]:m;e:for(;++u<d;){var g=e[u],h=t?t(g):g;if(g=n||0!==g?g:0,v&&h==h){for(var E=f.length;E--;)if(f[E]===h)continue e;t&&f.push(h),m.push(g)}
1else c(f,h,n)||(f!==m&&f.push(h),m.push(g))}return m}},34953:function(e,t,n){var l=n(60157),a=n(75114),r=n(15851),i=l&&1/r(new l([,-0]))[1]==1/0?function(e){return new l(e)}:a;e.exports=i},60021:function(e){e.exports=function(e,t,n){for(var l=-1,a=null==e?0:e.length;++l<a;)if(n(t,e[l]))return!0;return!1}},75114:function(e){e.exports=function(){}},77767:function(e,t,n){"use strict";var l=n(63696),a=n(97061),r=n.n(a);t.A=e=>{const t="button-edge-rounded rounded-circle";var n=null!=e.className?t+" "+e.className:t;return l.createElement("i",Object.assign({},e,{className:n}),l.createElement(r(),null))}},97061:function(e,t,n){var l=n(63696);function a(e){return l.createElement("svg",e,l.createElement("path",{d:"M1.49998 1L6.5 6.00002L1.49998 11",stroke:"currentColor",strokeWidth:"2"}))}a.defaultProps={width:"8",height:"12",viewBox:"0 0 8 12",fill:"none"},e.exports=a,a.default=a}}]); 2//# sourceMappingURL=353-45ae007044f47ab6e0af.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.