PageSourceSearch

https://www.fptindustrial.com/dist/fpt-industrial/static/js/TextImageModule.9389f050.chunk.js

js fptindustrial.com collected 2026-10-02 05:01:18 UTC 21,215 bytes, 2 lines download raw bytes

1(this["webpackJsonpfpt-industrial"]=this["webpackJsonpfpt-industrial"]||[]).push([[127,16,43],{1478:function(e,i,l){},1570:function(e,i,l){"use strict";l.r(i);l(2);var t=l(684),n=l(1513),a=l(679),o=l(680),d=(l(1478),l(695)),c=l(685),s=l(718),r=l(671),u=l(675),v=l(0);i.default=Object(r.a)((function(e){try{var i,l,r,j,f,m,b,x,_,O,g,h,p,y,N,C,S,w,k,I,L,T,V,B,M,A,E,F,D,P,z,R,W,U,J,Z,H,q,G,K,Q,X,Y,$,ee,ie,le,te,ne=null!==(i=Object(t.a)("(max-width: 1200px)"))&&void 0!==i&&i,ae=Object(c.a)("TextImageModule__container",{isDefaultAnimation:!0,animationName:"slide_in_faster"}),oe=ae.waypointFragment,de=ae.classController,ce=null===e||void 0===e||null===(l=e.fields)||void 0===l?void 0:l.isLazyLoading,se=function(){var i,l,t,n,a,o,d,c,s,r,j,f,m,b,x;return Object(v.jsx)(u.a,{id:null===e||void 0===e||null===(i=e.fields)||void 0===i||null===(l=i.Cta)||void 0===l||null===(t=l.value)||void 0===t?void 0:t.id,url:null===e||void 0===e||null===(n=e.fields)||void 0===n||null===(a=n.Cta)||void 0===a||null===(o=a.value)||void 0===o?void 0:o.href,text:{value:null===e||void 0===e||null===(d=e.fields)||void 0===d||null===(c=d.Cta)||void 0===c||null===(s=c.value)||void 0===s?void 0:s.text},className:"TextImageModule__cta",isFullwidth:!1,target:"_blank"===(null===e||void 0===e||null===(r=e.fields)||void 0===r||null===(j=r.Cta)||void 0===j||null===(f=j.value)||void 0===f?void 0:f.target)?"blank":"download"===(null===e||void 0===e||null===(m=e.fields)||void 0===m||null===(b=m.Cta)||void 0===b||null===(x=b.value)||void 0===x?void 0:x.target)?"download":"self"})},re=null!==e&&void 0!==e&&null!==(r=e.fields)&&void 0!==r&&null!==(j=r.isSlider)&&void 0!==j&&j.value?Object(v.jsx)(s.a,{slides:null===e||void 0===e||null===(f=e.fields)||void 0===f||null===(m=f.images)||void 0===m?void 0:m.map((function(e){var i,l,t,n;return{imageUrl:null!==(i=null===e||void 0===e||null===(l=e.fields)||void 0===l||null===(t=l.Image)||void 0===t||null===(n=t.value)||void 0===n?void 0:n.src)&&void 0!==i?i:"",isTextImageSlider:!0}})),interval:6e3,variant:"gallery",galleyArrowsPosition:"bottom",isLazyLoading:ce}):Object(v.jsx)("div",{className:"TextImageModule__image ".concat(null!==e&&void 0!==e&&null!==(b=e.fields)&&void 0!==b&&null!==(x=b.isVertical)&&void 0!==x&&x.value?"TextImageModule__image_vertical":""),style:{paddingLeft:null!==e&&void 0!==e&&null!==(_=e.fields)&&void 0!==_&&null!==(O=_.IsImageOnLeft)&&void 0!==O&&O.value?0:(null===e||void 0===e||null===(g=e.fields)||void 0===g||null===(h=g.isVertical)||void 0===h?void 0:h.value)||ne&&"4.16667%",paddingRight:null!==e&&void 0!==e&&null!==(p=e.fields)&&void 0!==p&&null!==(y=p.IsImageOnLeft)&&void 0!==y&&y.value?0:(null===e||void 0===e||null===(N=e.fields)||void 0===N||null===(C=N.isVertical)||void 0===C?void 0:C.value)||ne&&"4.16667%"},children:Object(v.jsx)(n.a,{field:null===e||void 0===e||null===(S=e.fields)||void 0===S?void 0:S.Image,loading:ce?"lazy":void 0})});return Object(v.jsxs)("div",{className:de(),children:[oe,null!==e&&void 0!==e&&null!==(w=e.fields)&&void 0!==w&&null!==(k=w.isVertical)&&void 0!==k&&k.value?Object(v.jsxs)("div",{className:"TextImageModule__vertical_container",children:[Object(v.jsx)(a.a,{field:null===e||void 0===e||null===($=e.fields)||void 0===$?void 0:$.title,tag:"h2",className:"TextImageModule__vertical_title"}),Object(v.jsx)(o.a,{tag:"p",field:null===e||void 0===e||null===(ee=e.fields)||void 0===ee?void 0:ee.text}),re,(null===e||void 0===e||null===(ie=e.fields)||void 0===ie||null===(le=ie.Cta)||void 0===le||null===(te=le.value)||void 0===te?void 0:te.href)&&Object(v.jsx)(se,{})]}):Object(v.jsxs)(d.b,{children:[Object(v.jsx)(d.a,{verticalAlign:(null!==e&&void 0!==e&&null!==(I=e.fields)&&void 0!==I&&null!==(L=I.isSlider)&&void 0!==L&&L.value,"center"),width:"50%",children:ne||null===e||void 0===e||null===(T=e.fields)||void 0===T||null===(V=T.IsImageOnLeft)||void 0===V||!V.value?Object(v.jsxs)("div",{className:"TextImageModule__text_container",children:[Object(v.jsx)("h2",{className:null!==e&&void 0!==e&&null!==(B=e.fields)&&void 0!==B&&null!==(M=B.IsTitleBlack)&&void 0!==M&&M.value?"TextImageModule__text_title_black":"TextImageModule__text_title",children:Object(v.jsx)(a.a,{field:null===e||void 0===e||null===(A=e.fields)||void 0===A?void 0:A.title})}),Object(v.jsx)("div",{className:"TextImageModule__text_body",children:Object(v.jsx)(o.a,{field:null===e||void 0===e||null===(E=e.fields)||void 0===E?void 0:E.text})}),null!==e&&void 0!==e&&null!==(F=e.fields)&&void 0!==F&&null!==(D=F.Cta)&&void 0!==D&&null!==(P=D.value)&&void 0!==P&&P.href&&!ne?Object(v.jsx)(se,{}):null]}):(null!==e&&void 0!==e&&e.isSlider,re)}),Object(v.jsx)(d.a,{verticalAlign:null!==e&&void 0!==e&&null!==(z=e.fields)&&void 0!==z&&null!==(R=z.isSlider)&&void 0!==R&&R.value?"top":"center",paddingLeft:null!==e&&void 0!==e&&null!==(W=e.fields)&&void 0!==W&&null!==(U=W.isVertical)&&void 0!==U&&U.value||ne?"0px":"4.16667%",children:ne||null===e||void 0===e||null===(J=e.fields)||void 0===J||null===(Z=J.IsImageOnLeft)||void 0===Z||!Z.value?Object(v.jsxs)(v.Fragment,{children:[re,null!==e&&void 0!==e&&null!==(H=e.f
1ields)&&void 0!==H&&null!==(q=H.Cta)&&void 0!==q&&null!==(G=q.value)&&void 0!==G&&G.href&&ne?Object(v.jsx)(se,{}):null]}):Object(v.jsxs)("div",{className:"TextImageModule__text_container",children:[Object(v.jsx)("h2",{className:null!==e&&void 0!==e&&null!==(K=e.fields)&&void 0!==K&&null!==(Q=K.IsTitleBlack)&&void 0!==Q&&Q.value?"TextImageModule__text_title_black":"TextImageModule__text_title",children:Object(v.jsx)(a.a,{field:null===e||void 0===e||null===(X=e.fields)||void 0===X?void 0:X.title})}),Object(v.jsx)("div",{className:"TextImageModule__text_body",children:Object(v.jsx)(o.a,{field:null===e||void 0===e||null===(Y=e.fields)||void 0===Y?void 0:Y.text})})]})})]})]})}catch(ue){return Object(v.jsx)(v.Fragment,{children:null===ue||void 0===ue?void 0:ue.stack})}}))},671:function(e,i,l){"use strict";var t=l(133),n=(l(2),l(0));i.a=function(e){return function(i){try{return i&&(null!==i&&void 0!==i&&i.fields)?Object(n.jsx)(e,Object(t.a)({},i)):Object(n.jsx)(n.Fragment,{})}catch(l){return console.log(null===l||void 0===l?void 0:l.stack),Object(n.jsx)(n.Fragment,{})}}}},675:function(e,i,l){"use strict";var t=l(133),n=(l(2),l(679)),a=l(689),o=(l(677),l(0));i.a=function(e){var i,l,d,c,s,r,u,v=e.text,j=e.url,f=e.action,m=void 0===f?function(){}:f,b=e.isRed,x=e.isFullwidth,_=e.className,O=e.imageIcon,g=e.imageHoverIcon,h=e.icon,p=e.target,y=void 0===p?"self":p,N=e.id,C=e.sitecoreProps,S=e.minWidth,w=e.customAttributes,k=b?"BaseBtn BaseBtn--red":"BaseBtn";k+=" ga4-click-ui",_&&(k+=" ".concat(_)),x&&(k+=" BaseBtn--fullwidth");var I=function(){var i,l,t,a,d,c,s,r,u,j,f;return Object(o.jsxs)(o.Fragment,{children:[((null===(i=e.fields)||void 0===i||null===(l=i.iconCssClass)||void 0===l?void 0:l.value)||h)&&Object(o.jsx)("span",{className:"icon ".concat((null===(t=e.fields)||void 0===t||null===(a=t.iconCssClass)||void 0===a?void 0:a.value)||h," mr-10")}),(null===O||void 0===O||null===(d=O.value)||void 0===d?void 0:d.src)&&Object(o.jsx)("img",{className:"BaseBtn__image_icon",src:O.value.src,alt:O.value.alt,height:null===(c=O.value)||void 0===c?void 0:c.height,width:null===(s=O.value)||void 0===s?void 0:s.width}),(null===g||void 0===g||null===(r=g.value)||void 0===r?void 0:r.src)&&Object(o.jsx)("img",{className:"BaseBtn__image_hover_icon",src:g.value.src,alt:g.value.alt,height:null===(u=g.value)||void 0===u?void 0:u.height,width:null===(j=g.value)||void 0===j?void 0:j.width}),Object(o.jsx)(n.a,{field:(null===(f=e.fields)||void 0===f?void 0:f.label)||{value:null===v||void 0===v?void 0:v.value},tag:"h3"})]})};return Object(o.jsxs)(o.Fragment,{children:[((null===(i=e.fields)||void 0===i||null===(l=i.link)||void 0===l||null===(d=l.value)||void 0===d?void 0:d.href)||j)&&Object(o.jsx)(a.a,{field:(null===(c=e.fields)||void 0===c?void 0:c.link)||Object(t.a)({value:{text:Object(o.jsxs)(o.Fragment,{children:[h&&Object(o.jsx)("span",{className:"icon ".concat(h," mr-10")}),null===v||void 0===v?void 0:v.value]}),target:"blank"===y?"_blank":"_self",href:j,id:N}},C),className:k,style:S?{minWidth:S}:{},onClick:m,rel:"noopener noreferrer",download:"download"===y,"data-engine-info":w,children:Object(o.jsx)(I,{})}),!(null!==(s=e.fields)&&void 0!==s&&null!==(r=s.link)&&void 0!==r&&null!==(u=r.value)&&void 0!==u&&u.href||j)&&Object(o.jsx)("div",{className:k,onClick:m,children:Object(o.jsx)(I,{})})]})}},676:function(e,i,l){"use strict";l.d(i,"a",(function(){return t}));var t=function(e,i){var l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,t=n(i)*l;return(null===e||void 0===e?void 0:e.split("?")[0])+"?w=".concat(t,"&mw=").concat(t)}
1,n=function(e){return e<400?320:e<600?480:e<900?768:e<1200?1024:e<1440?1280:e<1680?1440:e<1920?1600:e<2560?1920:e<3840?2560:3840}},677:function(e,i,l){},685:function(e,i,l){"use strict";l.d(i,"a",(function(){return c}));var t=l(164),n=l(2),a=l(678),o=l(666),d=l(0),c=function(e,i){var l=i.waypointBottomOffset,c=void 0===l?0:l,s=i.isDefaultAnimation,r=void 0!==s&&s,u=i.animationName,v=void 0===u?"":u,j=Object(n.useState)(!1),f=Object(t.a)(j,2),m=f[0],b=f[1],x=Object(d.jsx)(a.a,{onEnter:function(e){e.event&&!Object(o.b)()&&b(!0)},bottomOffset:c});Object(n.useEffect)((function(){Object(o.b)()&&b(!0)}),[]);return{waypointFragment:x,classController:function(){return Object(o.b)()?"".concat(e," animation__skip_animation"):m?r?"".concat(e," animation__animated__").concat(v):"".concat(e," ").concat(e,"Animated"):e}}}},691:function(e,i,l){"use strict";var t=l(133),n=(l(2),l(1513)),a=l(676),o=l(0);i.a=function(e){var i,l,d;if("undefined"!=typeof window){var c=JSON.parse(JSON.stringify(e));c.field.value.src=Object(a.a)(e.field.value.src,window.innerWidth,1),e=c}return Object(o.jsx)("div",{className:e.cssClass&&e.cssClass,style:{width:"100%",height:"100%"},children:Object(o.jsx)(n.a,{field:Object(t.a)({},e.field),loading:"lazy"},(null===(i=e.field)||void 0===i?void 0:i.value)&&(null===(l=e.field)||void 0===l||null===(d=l.value)||void 0===d?void 0:d.alt))})}},692:function(e,i,l){"use strict";function t(e){if(!e)return null;var i=e.match(/[a-zA-Z0-9_-]{11}/);return null!==i&&void 0!==i&&i[0]&&i?i[0]:null}l.d(i,"a",(function(){return t}))},695:function(e,i,l){"use strict";l.d(i,"a",(function(){return o}));var t=l(2),n=l.n(t),a=(l(696),l(0)),o=function(e){var i=e.children,l=e.align,t=void 0===l?"left":l,n=e.width,o=void 0===n?1:n,d=e.breakpoint,c=void 0===d?"xl":d,s=e.verticalAlign,r=void 0===s?"top":s,u=e.noMargin,v=e.paddingLeft,j=e.paddingRight;return Object(a.jsx)("div",{className:"left"===t?"xl"===c?"ColumnsColumn__xl":"ColumnsColumn__lg":"right"===t?"xl"===c?"ColumnsColumn__align_right_xl":"ColumnsColumn__align_right_lg":"xl"===c?"ColumnsColumn__align_center_xl":"ColumnsColumn__align_center_lg",style:"number"===typeof o?{flex:o,justifyContent:"top"===r?"flex-start":"center",padding:u?"0":"",paddingLeft:v||"",paddingRight:j||""}:{width:o,justifyContent:"top"===r?"flex-start":"center",padding:u?"0":"",paddingLeft:v||"",paddingRight:j||""},children:i})};i.b=function(e){var i=e.children,l=e.breakpoint,t=void 0===l?"xl":l;return Object(a.jsx)("section",{className:"xl"===t?"Column__xl":"Column__lg",children:n.a.Children.map(i,(function(e){return n.a.isValidElement(e)?n.a.cloneElement(e,{breakpoint:t}):e}))})}},696:function(e,i,l){},700:function(e,i,l){"use strict";l.d(i,"a",(function(){return a}));var t=l(164),n=l(2),a=function(){var e=Object(n.useState)(null),i=Object(t.a)(e,2),l=i[0],a=i[1],o=function(){if("undefined"!=typeof document){var e,i,t,n=document.cookie;if(null!==n&&""!==n)null===(e=document.cookie)||void 0===e||null===(i=e.split(";"))||void 0===i||null===(t=i.find((function(e){return e.includes("OptanonConsent")})))||void 0===t||t.replace(" OptanonConsent=",""),n!==l&&a(n)}};return Object(n.useEffect)((function(){o()}),[]),setInterval((function(){o()}),1e3),l}},701:function(e,i,l){"use strict";function t(e){if(null!==e&&""!==e){return function(){var i,l,t=null===(i=e.split("&").find((function(e){return e.includes("groups=")})))||void 0===i?void 0:i.replace("groups=",""),n=!0;return null===t||void 0===t||null===(l=t.split("%2"))||void 0===l||l.map((function(e){"0"===e.split("%3A").find((function(e){return"1"===e||"0"===e}))&&(n=!1)})),n}()}return!1}l.d(i,"a",(function(){return t}))},703:function(e,i,l){"use strict";l.d(i,"a",(function(){return a}));l(2),l(704);var t=l(109),n=l(0),a=function(e){return Object(n.jsx)("div",{className:e.notVideo?"CookiesVideoDisclaimerWrapper_no_video":e.acceptedCookies?"CookiesVideoDisclaimerWrapper__accepted":"CookiesVideoDisclaimerWrapper",children:e.children})};i.b=function(e){var i=Object(t.b)().t;return Object(n.jsx)("div",{style:{display:(null===e||void 0===e?void 0:e.allowVideo)&&"none"},className:e.hasMoreOpacity?"CookiesVideoDisclaimer CookiesVideoDisclaimer_more_opacity":"CookiesVideoDisclaimer",children:Object(n.jsxs)("div",{style:e.topZero?{top:"0"}:{},className:"CookiesVideoDisclaimer__content",children:[Object(n.jsx)("div",{className:"cookie-alert_text",children:i("cookieAlert")}),Object(n.jsx)("div",{className:"cookie-alert__link",children:Object(n.jsx)(n.Fragment,{children:Object(n.jsx)("button",{id:"ot-sdk-btn",className:"ot-sdk-show-settings",children:"Cookie Settings"})})})]})})}},704:function(e,i,l){},718:function(e,i,l){"use strict";var t=l(133),n=l(2),a=l.n(n),o=(l(727),l(673)),d=l(164),c=l(753),s=l(684),r=(l(728),l(666)),u=l(680),v=l(679),j=l(1513),f=l(784),m=l(709),b=(l(729),l(675)),x=l(691),_=l(701),O=l(703),g=l(700),h=l(692),p=l(0),y=a.a.memo((function(e){var i=e.variant,l=e.isRedBox,t=e.preTitle,a=e.title,o=e.fullDescription,c=e.linkLabel,y=e.linkUrl,N=e.imageUrl,C=(e.imageUrlMobile,e.imageAlt),S=e.videoUrl,w=e.openInANewWindow,k=e.isVideo,I=e.onVideoChangeStatus,L=e.canPlay,T=e.isBoxFixed,V=e.locationText,B=e.personText,M=e.rightDescription,A=e.isAnimated,E=e.isBlackBackgroun
1d,F=(e.isTextImageSlider,e.mobileImage),D=void 0===F?"":F,P=e.isLazyLoading,z=void 0!==P&&P,R=Object(n.useState)(!1),W=Object(d.a)(R,2),U=W[0],J=W[1],Z=Object(s.a)("(min-width: 541px)");Object(n.useEffect)((function(){L||J(!1)}),[L]),Object(n.useEffect)((function(){if("undefined"!==typeof window&&"undefined"!=typeof document){var e=document.getElementById("animated-banner-image");if(e){var i=document.getElementById("red-box-animated");e.onload=function(l){Object(r.b)()||(e.classList.add("Slide__animation_start"),i&&i.classList.add("Slide__animation_start"))}}}}),[]);var H=Object(n.useMemo)((function(){return function(){return Object(p.jsxs)("div",{className:"Slide__card ".concat(Z?"":"Slide__card--max-width"),children:[Object(p.jsx)("span",{children:t}),Object(p.jsx)(u.a,{tag:"h3",field:{value:a}}),Object(p.jsx)(u.a,{tag:"p",field:{value:o}}),Object(p.jsx)(b.a,{className:"Slide__button",text:c,url:y,target:w?"blank":"self"})]})}}),[Z]),q=Object(n.useMemo)((function(){return function(){var e=Object(f.a)().y,i=Object(n.useState)(!0),l=Object(d.a)(i,2),t=l[0],o=l[1];return Object(n.useEffect)((function(){t&&e>65&&o(!1)}),[e]),Object(p.jsx)("div",{className:"Slide__card_red ".concat(e<65&&!T&&!t?"":"Slide__card_red--visible"," ").concat(Z?"":"Slide__card--max-width"),children:Object(p.jsx)(u.a,{tag:"h1",field:{value:a}})})}}),[Z]),G=Object(s.a)("(max-width: 1023px)"),K=Object(n.useMemo)((function(){return function(){return Object(p.jsx)("div",{className:"Slide__card_red__stories ".concat(Z?"":"Slide__card--max-width"),children:Object(p.jsxs)("div",{id:"red-box-animated",className:Object(r.b)()?"Slide__flex":"Slide__card_red__stories_animation Slide__flex",children:[Object(p.jsx)("div",{className:"Slide__card_red__stories_title",children:Object(p.jsx)(u.a,{tag:"h1",field:{value:a}})}),Object(p.jsxs)("div",{className:"Slide__card_red_flex_column",children:[Object(p.jsx)(v.a,{tag:"p",field:{value:"Powered By"}}),Object(p.jsx)(v.a,{className:"description_text",tag:"span",field:{value:M}}),Object(p.jsxs)("div",{className:"Icons__container",children:[Object(p.jsxs)("div",{className:"icon_style",children:[Object(p.jsx)("span",{className:"icon_wrapper",children:Object(p.jsx)("i",{className:"icon icon-person"})}),Object(p.jsx)(v.a,{className:"icon_text",tag:"span",field:{value:B}})]}),Object(p.jsxs)("div",{className:"icon_style",children:[Object(p.jsx)("span",{className:"icon_wrapper",children:Object(p.jsx)("i",{className:"icon icon-marker"})}),Object(p.jsx)(v.a,{className:"icon_text",tag:"span",field:{value:V}})]})]})]})]})})}}),[]),Q=function(e){I(e),J(e)},X=Object(n.useRef)(null);Object(n.useEffect)((function(){U&&X.current&&console.log(X.current)}),[U]);var Y=Object(g.a)(),$=Object(_.a)(Y),ee=Object(n.useState)(!0),ie=Object(d.a)(ee,2),le=ie[0],te=ie[1],ne=Object(n.useMemo)((function(){return Object(h.a)(S)}),[S]);return Object(p.jsx)("div",{style:E?{backgroundColor:"black"}:{},className:"hero"===i?"Slide":"Slide__gallery",children:Object(p.jsxs)(O.a,{notVideo:!k,children:[Object(p.jsxs)("picture",{children:[Object(p.jsx)("source",{media:"(max-width: 1023px)",srcSet:""!==D?D:N}),Object(p.jsx)("source",{media:"(min-width: 1024px)",srcSet:N}),le&&!A?Object(p.jsx)(x.a,{field:{value:{src:G&&""!==D?D:N,alt:C||""}}}):A&&Object(p.jsx)(j.a,{className:Object(r.b)()?"":"Slide__image_animation",id:"animated-banner-image",field:{value:{src:N,alt:C}},loading:z?"lazy":void 0})]}),"hero"!==i||U?Object(p.jsx)(p.Fragment,{}):l?T?Object(p.jsx)(K,{}):Object(p.jsx)(q,{}):Object(p.jsx)(H,{}),S&&k&&le&&Object(p.jsx)("span",{className:"Slide_video-empty",onClick:function(){Q(!0),te(!1)},children:Object(p.jsx)("span",{})}),S&&!le&&L&&Object(p.jsx)(m.a,{opts:{playerVars:{rel:0,loop:1,playlist:ne}},videoId:ne,id:ne,ref:X,onPause:function(){$&&Q(!1)},onReady:function(e){$&&e.target.playVideo()},onPlay:function(){$&&Q(!0)}}),k&&Object(p.jsx)(O.b,{allowVideo:$})]})})}));y.displayName="Slide";var N=y,C=function(e){var i=e.slides,l=e.interval,a=void 0===l?1e6:l,r=e.variant,u=void 0===r?"hero":r,v=e.galleyArrowsPosition,j=void 0===v?"sides":v,f=e.isLazyLoading,m=void 0!==f&&f,b=e.onSwipeEvent,x=void 0===b?function(){}:b,_=e.onDotPress,O=void 0===_?function(){}:_,g=e.onPreviousSwipeEvent,h=void 0===g?function(){}:g,y=e.onNextSwipeEvent,C=void 0===y?function(){}
1:y,S=Object(s.a)("(min-width: 1360px)"),w=Object(n.useState)(!0),k=Object(d.a)(w,2),I=k[0],L=k[1],T=Object(c.a)({withLoop:!0,draggingSlideTreshold:150,items:i.map((function(e,i){return{id:i.toString(),renderItem:Object(p.jsx)(N,Object(t.a)(Object(t.a)({},e),{},{variant:u,canPlay:I,onVideoChangeStatus:function(e){return function(e){e?clearInterval(D.current):P()}(e)},isLazyLoading:m}))}}))}),V=T.carouselFragment,B=T.slideToItem,M=T.useListenToCustomEvent,A=T.getCurrentActiveItem,E=T.slideToNextItem,F=T.slideToPrevItem,D=Object(n.useRef)(),P=function(){if(a<1e6&&i.length>1){clearInterval(D.current);var e=setInterval((function(){E()}),a);D.current=e}};Object(n.useEffect)((function(){P()}),[]);var z=function(){P()},R=Object(n.useState)(),W=Object(d.a)(R,2),U=W[0],J=W[1];Object(n.useEffect)((function(){i.length>1&&J(A().index)}),[]),M((function(e){"onSlideStartChange"===e.eventName&&(L(!1),J(e.nextItem),z(),x(e.nextItem)),"onSlideChange"===e.eventName&&L(!0)}));var Z=function(e){"next"===e?(E(),C()):"prev"===e&&(F(),h()),z()};return Object(p.jsxs)("div",{className:"slider-component",children:[V,S&&"gallery"===u&&"sides"===j&&Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)("div",{className:"Slider_gallery_side_left",children:Object(p.jsx)("button",{className:"icon-arrow-left",onClick:function(){return Z("prev")}})}),Object(p.jsx)("div",{className:"Slider_gallery_side_right",children:Object(p.jsx)("button",{className:"icon icon-arrow-right",onClick:function(){return Z("next")}})})]}),Object(p.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginTop:S?"30px":"20px",paddingBottom:"30px"},children:[(!S&&"gallery"===u||"bottom"===j&&"gallery"===u)&&Object(p.jsx)("div",{className:"Slider_gallery_bottom_left",children:Object(p.jsx)("button",{className:"icon-arrow-left",onClick:function(){return Z("prev")}})}),Object(p.jsx)("ul",{className:"hero"===u?"Slider__navigation":"sides"===j?"Slider__navigation_gallery":"Slider__navigation_gallery_bottom_arrows",children:Object(o.a)(Array(i.length)).map((function(e,i){return Object(p.jsx)("li",{children:Object(p.jsx)("button",{className:U===i?"Slider__button--active":"",onClick:function(){return B(e=i),z(),void O(e);var e}})},i)}))}),(!S&&"gallery"===u||"bottom"===j&&"gallery"===u)&&Object(p.jsx)("div",{className:"Slider_gallery_bottom_right",children:Object(p.jsx)("button",{className:"icon-arrow-right",onClick:function(){return Z("next")}})})]})]})};i.a=function(e){var i,l=e.variant,n=void 0===l?"hero":l,a=e.slides;return Object(p.jsx)("div",{className:"".concat("hero"===n?"Slider":"Slider--gallery"),children:a.length>1?Object(p.jsx)(C,Object(t.a)({},e)):Object(p.jsx)(N,Object(t.a)(Object(t.a)({},a[0]),{},{variant:n,canPlay:!(null===a||void 0===a||null===(i=a[0])||void 0===i||!i.isVideo),onVideoChangeStatus:function(){},isLazyLoading:null===e||void 0===e?void 0:e.isLazyLoading}))})}},727:function(e,i,l){},728:function(e,i,l){},729:function(e,i,l){}}]);
2//# sourceMappingURL=TextImageModule.9389f050.chunk.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.