var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8565],{48565:function(e,t,a){a.r(t),a.d(t,{LcPage:function(){return ie}}),a(81299),a(12419);var n,r,i=a(93433),o=a(15671),s=a(43144),c=a(97326),l=a(60136),u=a(82963),p=a(61120),d=a(4942),y=(a(41539),a(88674),a(38862),a(15581),a(2490),a(34514),a(54747),a(92222),a(66342),a(62962),a(23748),a(25387),a(72608),a(57658),a(74916),a(77601),a(87363)),f=a(96486),h=a(41799),g=a(14134),v=a(14061),m=a(5834),k=a(87322),Z=a(35421),w=a(15403),P=a(71810),b=(a(47941),a(82526),a(38880),a(49337),a(15861)),S=a(45987),A=(a(35666),a(64211),a(41874),a(66992),a(78783),a(33948),a(57327),a(88449),a(59849),a(21249),a(57640),a(9924),a(73210),a(68309),a(26699),a(32023),a(71002)),O=(a(4723),a(36808)),x=a(44549),j=a(77842),M=a(5612),T=a(42881),C=function(e){return e.facebookPixel="facebook-pixel",e.myTarget="my-target",e.googleAnalytics="google-analytics",e.googleAnalytics4="google-analytics4",e.googleTagManager="google-tag-manager",e.vkPixel="vk-pixel",e.tiktokPixel="tiktok-pixel",e.metrika="metrika",e}({}),E=function(e){return e.init="init",e.track="track",e}({}),L="itechswiss.com",R={clickmap:!0,trackLinks:!0,accurateTrackBounce:!0,webvisor:!0},V=(n={},(0,d.Z)(n,P.TD.OnClick,"gtm.click"),(0,d.Z)(n,P.TD.OnSubmit,"gtm.formSubmit"),(0,d.Z)(n,P.TD.OnShowInViewport,"gtm.elementVisibility"),n),G=(r={},(0,d.Z)(r,C.googleAnalytics,{hitTypes:{event:"event",pageView:"pageview"}}),(0,d.Z)(r,C.googleAnalytics4,{hitTypes:{event:"event",pageView:"page_view"}}),(0,d.Z)(r,C.facebookPixel,{hitTypes:{pageView:"PageView"}}),(0,d.Z)(r,C.myTarget,{hitTypes:{pageView:"pageView"}}),(0,d.Z)(r,C.vkPixel,{hitTypes:{pageView:"pageview"}}),(0,d.Z)(r,C.tiktokPixel,{hitTypes:{pageView:"pageview"}}),r),D=["alias"];function B(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function Y(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?B(Object(a),!0).forEach((function(t){(0,d.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):B(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var N=function(){var e="yp",t="ys",a={YP:{expires:new Date("Tue Jan 1 00:00:00 2038"),domain:s(),path:"/",secure:!0},YS:{domain:s(),path:"/",secure:!0}};return{set:O.set,get:O.get,ypRead:n,ypWrite:r,ypRemove:function(e){var t=n();e&&t[e]&&(delete t[e],r(t))},yp:function(e,t,a){var i={};"object"===(0,A.Z)(e)&&(e=(i=e).name,t=i.value,a=i.expires);var o,s,c,l=n(),u=l[e];return void 0===t?u&&u.value:(l[e]={value:t,expires:a||u.expires||(o=7,s=Date.now()/1e3,c=24*o*60*60,Math.round(s+c)),encode:i.encode},r(l))},ysRead:i,ysWrite:o,ys:function(e,t){var a=i();return void 0===t?a[e]:(a[e]=t,o(a))}};function n(){var t=O.get(e);return x.Q(t)}function r(t){var n=x.P(t);O.set(e,n,a.YP)}function i(){var e=O.get(t);return x.Q(e)}function o(e){var n=x.P(e);O.set(t,n,a.YS)}function s(){return".yandex."+(e="ru","undefined"!=typeof location&&location.host&&(e=(location.host.match(/([^.]+)\.(\w{2,3}(?:\.\w{2})?)(?::[0-9]+)?$/)||[])[2]),e);var e}}(),I=function(e){(0,l.Z)(i,e);var t,a,n,r=(a=i,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=(0,p.Z)(a);if(n){var r=(0,p.Z)(this).constructor;e=Reflect.construct(t,arguments,r)}else e=t.apply(this,arguments);return(0,u.Z)(this,e)});function i(){var e;(0,o.Z)(this,i);for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];return e=r.call.apply(r,[this].concat(a)),(0,d.Z)((0,c.Z)(e),"counters",[]),(0,d.Z)((0,c.Z)(e),"yaMetrika",{ids:[],params:{},settings:Y({},R),goals:{}}),(0,d.Z)((0,c.Z)(e),"hasGA",!1),(0,d.Z)((0,c.Z)(e),"hasGA4",!1),(0,d.Z)((0,c.Z)(e),"fetchAnalyticsScripts",(function(){var t=[];return e.yaMetrika.ids.length>0&&t.push((0,T.$)("https://webcf.waybackmachine.org/web/20240518224119/https://mc.yandex.ru/metrika/tag.js",{crossOrigin:"anonymous",async:!0})),e.counters.some((function(e){return e.type!==C.metrika}))&&t.push((0,T.$)("https://webcf.waybackmachine.org/web/20240518224119/https://yastatic.net/s3/distribution/yanalytics/v7/yanalytics.js",{crossOrigin:"anonymous",async:!0})),Promise.all(t)})),(0,d.Z)((0,c.Z)(e),"analyticsHandler",(function(t,a){var n=t.data,r=t.type,i=t.action;if(!n||!i){var o=(0,M.uy)({message:"Ðевозможно обработать Ñобытие аналитики: не хватает параметров",logMessage:j.ZZ.NotEnoughMetrikaParams});return(0,M.H)(o)}switch(i){case P.IE.TrackPageView:return e.trackPageView(n);case P.IE.ReachGoal:return e.reachGoal(n);case P.IE.ReachSwitchGoal:return e.reachSwitchGoal(n);case P.IE.SetSessionParameter:return e.setYaMetrikaVisitParams(n);case P.IE.HitVirtualPage:return e.trackVirtualPage(n);case P.IE.TrackGAGoal:return e.trackGAGoal(n);case P.IE.TrackGTMAction:return e.trackGTMAction(r,n,a);default:return}})),(0,d.Z)((0,c.Z)(e),"reachGoal",(function(t){var a=t.goals,n=t.params,r=void 0===n?{}:n;if(a&&e.yaMetrika.ids){var i=a.split(",").map((function(e){return e.trim()})).filter(Boolean);e.yaMetrika.ids.forEach((function(t){i.forEach((function(a){window.Ya.MetrikaCounters[t].reachGoal(a,Y(Y({},e.yaMetrika.params),r))}))}))}})),(0,d.Z)((0,c.Z)(e),"reachSwitchGoal",(function(t){var a=t.goal,n=t.params;a&&e.counters.forEach((function(t){var r=t.type,i=t.goals,o=i&&i[a];o&&(r!==C.metrika?e.trackYanalyticsGoal(r,o):e.reachGoal({goals:o,params:n}))}))})),(0,d.Z)((0,c.Z)(e),"trackVirtualPage",(function(t){var a=t.url;a&&e.counters.forEach((function(n){var r=n.type,i=n.id;r===C.metrika?window.Ya.MetrikaCounters[i].hit(a):r!==C.googleTagManager&&e.trackYanalyticsGoal(r,function(e,t){return e===C.googleAnalytics?{page:t.url,hitType:G[e].hitTypes.pageView}:e===C.googleAnalytics4?{page_location:t.url,eventAction:G[e].hitTypes.pageView}:e===C.myTarget?Y({type:G[e].hitTypes.pageView},t):e===C.tiktokPixel?Y({event:G[e].hitTypes.pageView,type:"virtualPage"},t):Y({event:G[e].hitTypes.pageView},t)}(r,t))}))})),(0,d.Z)((0,c.Z)(e),"trackPageView",(function(t){var a=t.alias,n=(0,S.Z)(t,D);e.counters.some((function(e){return e.type===a&&a!==C.metrika}))&&e.trackYanalyticsGoal(a,n)})),(0,d.Z)((0,c.Z)(e),"setYaMetrikaVisitParams",(function(t){var a=t.params,n=a;Array.isArray(a)&&(n=a.reduce((function(e,t){return e[t.name]=t.value,e}),{})),e.yaMetrika.ids.forEach((function(e){window.Ya.MetrikaCounters[e].params(n)}))})),(0,d.Z)((0,c.Z)(e),"trackGTMAction",(function(e,t,a){var n=V[e],r=(0,M.uy)({message:"Событие ".concat(e," не поддерживаетÑÑ GTM"),logMessage:j.ZZ.NoGTMGoal});if(!n)return(0,M.H)(r);var i=a.nativeEvent,o=a.nodeInfo,s=Y(Y({},t),o),c={event:n,"gtm.element":i?i.target:""};s.element&&(c["gtm.element"]=s.element),s.elementId&&(c["gtm.elementId"]=s.elementId),window.Ya.yanalytics.add({alias:C.googleTagManager,action:E.track,params:c})})),(0,d.Z)((0,c.Z)(e),"trackGAGoal",(function(t){if(e.hasGA||e.hasGA4){var a=t.hitType,n=t.eventAction,r=t.eventCategory,i=t.eventLabel,o=t.url,s={hitType:a};(n||a!==G[C.googleAnalytics].hitTypes.event)&&(n&&(s.eventAction=n),r&&(s.eventCategory=r),i&&(s.eventLabel=i),o&&(s.page=o),e.hasGA&&e.trackYanalyticsGoal(C.googleAnalytics,s),e.hasGA4&&e.trackYanalyticsGoal(C.googleAnalytics4,s))}})),(0,d.Z)((0,c.Z)(e),"initAnalytics",(function(){e.counters.forEach((function(t){var a=t.type,n=t.id,r=t.alias;if(a===C.metrika)e.initYaMetrika(n);else{var i={provider:a,id:n};a===C.googleAnalytics4&&(location.href&&(i.page_location=location.href),document.title&&(i.page_title=document.title)),window.Ya.yanalytics.add({alias:r||a,action:E.init,params:i})}}))})),(0,d.Z)((0,c.Z)(e),"initYaMetrika",(function(t){var a=window["yaCounter"+t]=new window.Ya.Metrika2(Y({id:t,params:e.yaMetrika.params},e.yaMetrika.settings));window.Ya.MetrikaCounters||(window.Ya.MetrikaCounters={}),window.Ya.MetrikaCounters[t]=a})),(0,d.Z)((0,c.Z)(e),"setBannerid",(function(){var t=e.props.bannerid;if(t)try{N.ys("bnrd",t),e.setYaMetrikaVisitParams({params:{bannerid:t}})}catch(e){var a=e.name,n=e.message,r=(0,M.uy)({message:"Ðе удалоÑÑŒ уÑтановить bannerId",logMessage:j.ZZ.FailedToSetBannerId,additional:{name:a,message:n}});(0,M.H)(r)}})),(0,d.Z)((0,c.Z)(e),"setAnalyticsCounters",(function(){var t=e.props,a=t.analytics,n=t.analyticsPreset,r=a.googleAnalytics,i=a.googleAnalytics4,o=a.facebookPixel,s=a.myTarget,c=a.vkPixel,l=a.tiktokPixel,u=a.metrika,p=a.googleTM;r&&r.id&&(e.hasGA=!0,e.counters.push({type:C.googleAnalytics,id:r.id})),i&&i.id&&(e.hasGA4=!0,e.counters.push({type:C.googleAnalytics4,id:i.id})),p&&p.id&&e.counters.push({type:C.googleTagManager,id:p.id}),o&&o.id&&e.counters.push({type:C.facebookPixel,id:o.id}),s&&s.id&&e.counters.push({type:C.myTarget,id:s.id}),c&&c.id&&e.counters.push({type:C.vkPixel,id:c.id}),l&&l.id&&e.counters.push({type:C.tiktokPixel,id:l.id}),n&&[].concat(n).forEach((function(t){if(t.type===C.metrika)return e.yaMetrika.ids.push(t.id),e.yaMetrika.settings=Y(Y({},e.yaMetrika.settings),t.settings),void(t.goals&&(e.yaMetrika.goals[t.id]=t.goals));t.type===C.googleAnalytics&&(e.hasGA=!0),t.type===C.googleAnalytics4&&(e.hasGA4=!0),e.counters.push(t)}));var d=location.hostname===L||location.pathname.includes(L);u&&u.ids&&!d&&(e.yaMetrika.ids=e.yaMetrika.ids.concat(u.ids),e.yaMetrika.params=u.params),e.yaMetrika.ids.length>0&&e.yaMetrika.ids.forEach((function(t){e.counters.push({type:C.metrika,id:t,goals:e.yaMetrika.goals[t]})}))})),e}return(0,s.Z)(i,[{key:"componentDidMount",value:(t=(0,b.Z)(regeneratorRuntime.mark((function e(){var t,a,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return Z.Z.on({type:P.vR.LcPage},P.IE.SetBannerid,this.setBannerid),this.setAnalyticsCounters(),e.prev=2,e.next=5,this.fetchAnalyticsScripts();case 5:this.initAnalytics(),Z.Z.initTrigger({type:P.vR.LcAnalytics,sectionId:P.vR.LcAnalytics},{handler:this.analyticsHandler}),Z.Z.initTrigger({type:P.vR.LcPage}),e.next=15;break;case 10:e.prev=10,e.t0=e.catch(2),t=e.t0.name,a=e.t0.message,n=(0,M.uy)({message:"Ðе удалоÑÑŒ инициализировать метрику",logMessage:j.ZZ.FailedMetrikaFetch,additional:{name:t,message:a,props:this.props}}),(0,M.H)(n);case 15:case"end":return e.stop()}}),e,this,[[2,10]])}))),function(){return t.apply(this,arguments)})},{key:"componentWillUnmount",value:function(){Z.Z.removeTrigger({type:P.vR.LcAnalytics,sectionId:P.vR.LcAnalytics}),Z.Z.removeTrigger({type:P.vR.LcPage}),Z.Z.off({type:P.vR.LcPage},P.IE.SetBannerid,this.setBannerid)}},{key:"render",value:function(){return null}},{key:"trackYanalyticsGoal",value:function(e,t){var a=t.url||location.href;window.Ya.yanalytics.add({alias:e,action:E.track,params:Y(Y({},t),{},{url:a,location:a})})}}]),i}(y.PureComponent),_=a(17610),W=a(90289),F=a(43729),H=a(46825),U=a(20189),z=a(34283),J=a(85893);function $(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function K(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?$(Object(a),!0).forEach((function(t){(0,d.Z)(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):$(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}var Q=(0,g.Z)("lc-page"),q=function(e){(0,l.Z)(r,e);var t,a,n=(t=r,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,p.Z)(t);if(a){var r=(0,p.Z)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,u.Z)(this,e)});function r(){return(0,o.Z)(this,r),n.apply(this,arguments)}return(0,s.Z)(r,[{key:"render",value:function(){var e=this.props,t=e.children,a=e.carousel;return e.needFrame?t:(0,J.jsx)(z.U,K(K({},a),{},{stopAnimateOnFocus:!1,useHashNavigation:!0,mix:Q("screens-carousel")(),narrowSlides:!1,sectionId:"page",children:t}))}}]),r}(y.Component),X=a(49184);var ee=(0,g.Z)("lc-page")("paranja-wrapper"),te="hold-scroll",ae=function(e){(0,l.Z)(r,e);var t,a,n=(t=r,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,p.Z)(t);if(a){var r=(0,p.Z)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,u.Z)(this,e)});function r(){var e;(0,o.Z)(this,r);for(var t=arguments.length,a=new Array(t),i=0;i<t;i++)a[i]=arguments[i];return e=n.call.apply(n,[this].concat(a)),(0,d.Z)((0,c.Z)(e),"state",{isVisible:!1}),(0,d.Z)((0,c.Z)(e),"handleParanjaVisibilityChange",(function(t){var a=t.data.isVisible;e.setState({isVisible:a})})),(0,d.Z)((0,c.Z)(e),"handleLoad",(function(t){e.iframeEl=t})),(0,d.Z)((0,c.Z)(e),"messageListener",(function(t){var a=t.data,n=t.source;e.iframeEl&&e.iframeEl.contentWindow===n&&"PARANJA_CLOSE"===a&&e.setState({isVisible:!1})})),e}return(0,s.Z)(r,[{key:"componentDidMount",value:function(){h.N&&!m.h&&(window.addEventListener("message",this.messageListener),Z.Z.initTrigger({type:P.vR.LcPageParanjaWrapper}),Z.Z.on({type:P.vR.LcPageParanjaWrapper},P.IE.ChangeParanjaVisibility,this.handleParanjaVisibilityChange),this.toggleHoldBodyScroll())}},{key:"componentDidUpdate",value:function(){this.toggleHoldBodyScroll()}},{key:"componentWillUnmount",value:function(){Z.Z.off({type:P.vR.LcPageParanjaWrapper},P.IE.ChangeParanjaVisibility,this.handleParanjaVisibilityChange)}},{key:"toggleHoldBodyScroll",value:function(){if(h.N){var e=this.state.isVisible,t=document.body;e?t.classList.add(te):t.classList.remove(te)}}},{key:"render",value:function(){var e=this.props.url,t=this.state.isVisible;return(0,J.jsx)("div",{className:ee({visible:t})(),children:(0,J.jsx)(X.LcIframeComponent,{id:"paranja-iframe",src:e,className:ee("iframe-wrapper")(),onLoad:this.handleLoad})})}}]),r}(y.PureComponent);var ne=(0,g.Z)("lc-page"),re={sections:[],footer:null,aux:[]},ie=function(e){(0,l.Z)(r,e);var t,a,n=(t=r,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=(0,p.Z)(t);if(a){var r=(0,p.Z)(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return(0,u.Z)(this,e)});function r(e){var t;(0,o.Z)(this,r),t=n.call(this,e),(0,d.Z)((0,c.Z)(t),"onResize",(0,F.P)((function(){if(h.N&&((0,_.getStore)().dispatch((0,W.u1)(document.body.clientWidth)),t.props.isLpcMode)){var e=(0,v.bc)(window.innerWidth,t.props.breakpoints);(0,_.getStore)().dispatch((0,W.OR)(e))}}),300,{delayedLastCall:!0})),(0,d.Z)((0,c.Z)(t),"fetchDataSources",(function(){var e=t.props,a=e.dataSourcesPath,n=e.dataSources,r=void 0===n?[]:n;r.length&&a&&fetch(a,{method:"POST",body:JSON.stringify({dataSources:r}),headers:{Accept:"application/json","Content-Type":"application/json"}}).then(k.v).then((function(e){return e.json()})).then((function(e){var t=e,a=t.data,n=t.errors;(0,_.getStore)().dispatch((0,W.iJ)(a)),n.forEach((function(e){var t=e.dataSourceName,a=e.error;console.error('Error while getting data from source "'.concat(t,'": ').concat(a))}))})).catch((function(e){console.error("Error fetching data sources:",e)}))})),h.N&&!m.h&&w.Z.buildSectionsList(e);var a={};return e.isLpcMode&&(a.breakpoints=(0,i.Z)(e.breakpoints||[])),t.state=a,t}return(0,s.Z)(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.events,a=e.breakpoints;this.fillStore();var n=this.getCurrentBreakpointFromStore();if(h.N&&(this.onResize(),window.addEventListener("resize",this.onResize),!m.h&&null!=a&&a.length)){var r=this.getCurrentBreakpointFromStore();(0,U.RD)(n,r)}h.N&&!m.h&&t&&(function(){if(h.N&&!m.h&&(window.Ya=window.Ya||{},!window.Ya.lcGlobal)){var e={bannerid:{set:function(){return Z.Z.execute(P.TD.OnCustomScriptCall,{type:P.TD.OnCustomScriptCall,action:P.IE.SetBannerid,target:{type:P.vR.LcPage},data:{}})}},paranja:{open:function(){return Z.Z.execute(P.TD.OnCustomScriptCall,{type:P.TD.OnCustomScriptCall,target:{type:P.vR.LcPageParanjaWrapper},action:P.IE.ChangeParanjaVisibility,data:{isVisible:!0}})},close:function(){return Z.Z.execute(P.TD.OnCustomScriptCall,{type:P.TD.OnCustomScriptCall,target:{type:P.vR.LcPageParanjaWrapper},action:P.IE.ChangeParanjaVisibility,data:{isVisible:!1}})}}};window.Ya.lcGlobal=e}}(),Z.Z.initTrigger({type:P.cy.Window},{handler:this.handleDispatchEvent}),Z.Z.execute(P.TD.OnPageLoad,t)),m.h||this.fetchDataSources()}},{key:"componentWillUnmount",value:function(){h.N&&window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,a=e.carouselEnabled,n=e.paranjaUrl,r=e.bannerid,i=e.analytics,o=e.analyticsPreset,s=e.isLpcMode,c=void 0!==s&&s,l=e.preview,u=e.createdAt,p=e.fonts;h.N&&m.h&&w.Z.buildSectionsList(this.props);var d=t?function(e){return y.Children.toArray(Array.isArray(e)?e:[e]).reduce((function(e,t){return function(e){var t=oe(e);return t.props&&t.props.sectionName&&"LcFooter"===t.props.sectionName}(t)&&e.footer?e.footer.push(t):function(e){var t=oe(e),a=t.props&&t.props.attrs;return Boolean(a&&a["data-is-aux-section"])}(t)?e.aux.push(t):e.sections.push(t),e}),{sections:[],footer:[],aux:[]})}(t):re,f=c&&i&&!m.h&&!l,g=(0,H.IL)(p),v=a?this.renderCarousel(d):this.renderChildren(d);return(0,J.jsxs)("section",{style:{display:"flex",flex:"1",flexDirection:"column"},children:[g&&(0,J.jsx)("style",{type:"text/css",dangerouslySetInnerHTML:{__html:g}}),(0,J.jsxs)("div",{className:ne({lpc:this.props.isLpcMode})(),children:[v,Boolean(d.footer)&&(0,J.jsx)("div",{className:ne("footer")(),children:d.footer}),Boolean(d.aux.length)&&(0,J.jsx)("div",{className:ne("aux")(),children:d.aux}),n&&(0,J.jsx)(ae,{url:n}),f&&(0,J.jsx)(I,{bannerid:r,analytics:i,analyticsPreset:o})]}),u&&(0,J.jsx)("div",{style:{display:"none"},children:u})]})}},{key:"fillStore",value:function(){var e=(0,_.getStore)().getState().lpc;(!e||!e.sectionsState)&&window._LC_&&window._LC_.initSectionState&&window._LC_.initSectionState()}},{key:"renderCarousel",value:function(e){var t=this.props,a=t.carousel,n=t.needFrame;return(0,J.jsx)(q,{carousel:a,needFrame:n,children:e.sections})}},{key:"renderChildren",value:function(e){return(0,J.jsx)("div",{className:ne("content")(),children:e.sections})}},{key:"handleDispatchEvent",value:function(e){var t=e.data.event;h.N&&(0,f.isFunction)(dispatchEvent)&&(0,f.isFunction)(CustomEvent)&&dispatchEvent(new CustomEvent(t))}},{key:"getCurrentBreakpointFromStore",value:function(){var e;return null===(e=(0,_.getStore)().getState().lpc)||void 0===e?void 0:e.currentBreakpoint}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(m.h&&e.isLpcMode&&!(0,f.isEqual)(e.breakpoints,t.breakpoints)){var a=(0,v.bc)(window.innerWidth,e.breakpoints);return(0,_.getStore)().dispatch((0,W.OR)(a)),{breakpoints:e.breakpoints}}return null}}]),r}(y.Component);function oe(e){return e.props&&e.props.className&&/^hydro(\s.+)?$/.test(e.props.className)?e.props.children:e}},87322:function(e,t,a){function n(e){if(e.status>=200&&e.status<300)return e;throw new Error(e.statusText)}a.d(t,{v:function(){return n}}),a(21703)}}]); } /* FILE ARCHIVED ON 22:41:19 May 18, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 07:37:58 Nov 17, 2024. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.456 exclusion.robots: 0.022 exclusion.robots.policy: 0.014 esindex: 0.008 cdx.remote: 7.847 LoadShardBlock: 67.196 (3) PetaboxLoader3.datanode: 105.329 (4) load_resource: 198.756 PetaboxLoader3.resolve: 143.048 */