(()=>{"use strict";var e={11535:(e,t,n)=>{e.exports=n.p+"images/cf8cd32effce8f14064b.png"},57100:(e,t,n)=>{e.exports=n.p+"images/e7566180fedbca0ab884.png"},72500:(e,t,n)=>{e.exports=n.p+"images/de8424720353369deee7.png"},37476:(e,t,n)=>{e.exports=n.p+"images/4c951c42399a4da74eb2.png"},44774:(e,t,n)=>{e.exports=n.p+"images/890f12fd1d84b35d3027.png"},88128:(e,t,n)=>{e.exports=n.p+"images/2ebcbbf6c232bb00f2a6.png"},84906:(e,t,n)=>{e.exports=n.p+"images/5bf5ce672a831fe493f0.png"},66120:(e,t,n)=>{e.exports=n.p+"images/f4b9fc927a6cbb785fb7.png"},69331:(e,t,n)=>{e.exports=n.p+"images/a84c2cd630adcb2fb844.png"},93427:(e,t,n)=>{e.exports=n.p+"images/cb601ecb4902055371fa.png"},33298:(e,t,n)=>{e.exports=n.p+"images/0615efa9ac4d4acf62b9.png"},82916:(e,t,n)=>{e.exports=n.p+"images/5a9b103dc314a4c73396.png"},92517:(e,t,n)=>{e.exports=n.p+"images/4cd0bf4f6c3826be20e9.png"},94701:(e,t,n)=>{e.exports=n.p+"images/ca96080890acb13f1452.png"},66735:(e,t,n)=>{e.exports=n.p+"images/b46f607e557fa86ce5de.png"}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.m=e,n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var o=t.getElementsByTagName("script");o.length&&(e=o[o.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e+"../"})(),n.b=document.baseURI||self.location.href,(()=>{new URL(n(66735),n.b),new URL(n(92517),n.b),new URL(n(94701),n.b),new URL(n(11535),n.b),new URL(n(57100),n.b),new URL(n(72500),n.b),new URL(n(37476),n.b),new URL(n(44774),n.b),new URL(n(88128),n.b),new URL(n(84906),n.b),new URL(n(66120),n.b),new URL(n(69331),n.b),new URL(n(93427),n.b),new URL(n(33298),n.b),new URL(n(82916),n.b);var e={cardArticleTemplateSelector:"#article-template",articleCardSelector:".infoitem",articleTagsSectionSelector:".infoitem__header",articleTagClass:"infoitem__span-button",articleHeadSelector:".infoitem__name",articleDescSelector:".infoitem__description",articleLinkSelector:".infoitem__link",cardListSection:".cards-js-rendered"},t="blog-proizvodstva",o={gkh:"ЖКХ",project:"Проект",btp:"БТП",food:"Пищевые",example:"Пример расчёта",prod:"Продукция",news:"Новости компании"},r=[{tags:["prod","news"],linkPath:"/".concat(t,"/zapusk-novogo-stanka-dlya-proizvodstva-plit-teploobmennikov.html"),heading:"Портальный фрезерный обрабатывающий центр",description:"Внедрен в производство"},{tags:["prod","news"],linkPath:"/".concat(t,"/aquatherm-2024.html"),heading:"АКВАТЕРМ-2024",description:"Представили обновленную линейку теплобменных пластин, пластинчатые теплообменники до ДУ250"},{tags:["gkh","prod","example"],linkPath:"/".concat(t,"/plastinchatye-teploobmenniki-otopleniya.html"),heading:"Пластинчатые теплообменники отопления",description:"Производство теплообменников для отопления"},{tags:["prod","food"],linkPath:"/".concat(t,"/plastinchatyy-pasterizator.html"),heading:"Пластинчатые пастеризаторы",description:"Производство пластинчатых пастеризаторов пищевых жидкостей"},{tags:["gkh","project"],linkPath:"/".concat(t,"/plastinchatye-teploobmenniki-gvs.html"),heading:"Пластинчатые теплообменники для гвс",description:"Производство теплобменников горячего водоснабжения"},{tags:["gkh"],linkPath:"/".concat(t,"/teploobmenniki-otopleniya-chastnogo-doma.html"),heading:"Теплообменник для отопления частного дома",description:"Особенности пластинчатых теплообменников при использовании в частных домах"},{tags:["gkh","prod"],linkPath:"/".concat(t,"/plastinchatii-teploobmennik-du-250.html"),heading:"Пластинчатый теплообменник ДУ250",description:"О процессе разработки пластин и уплотнений, запуске в производство нового теплобоменника"},{tags:["gkh","prod"],linkPath:"/".concat(t,"/teploobmennik-par-voda-plastinchatyy.html"),heading:"Теплообменники пар-вода",description:"Пластинчатые пароводяные теплообменники для нагрева воды паром и прочих сред"},{tags:["gkh","prod"],linkPath:"/".concat(t,"/teploobmennik-glikol-voda.html"),heading:"Теплообменники гликоль-вода",description:"Пластинчатые теплообменники для гликоля: пропиленгликоля, этиленгликоля."},{tags:["example","prod"],linkPath:"/".concat(t,"/teploobmennik-dlya-bassejna.html"),heading:"Теплообменник для бассейна",description:"Пример расчёта теплообменника пластинчатого бассейна, особенности подбора."},{tags:["example","prod"],linkPath:"/".concat(t,"/oprosnyj-list-dlya-plastinchatogo-teploobmennika.html"),heading:"Опросный лист теплообменника пластинчатого",description:"Что из себя представляет опросный лист? Какие данные нужно заполить для подбора теплообменника, а какие можно не заполнять?"},{tags:["gkh"],linkPath:"/".concat(t,"/teploobmenniki-mnogokvartirnogo-doma.html"),heading:"Теплообменник в многоквартирном доме",description:"Теплообменные аппараты в жилых многоквартирных домах (мкд). Как расчитываются? Как работают?"},{tags:["gkh","prod"],linkPath:"/".concat(t,"/teploobmennik-du-250-v-gazete.html"),heading:"Новые теплообменники упомянули в газете",description:"Статья в газете об отгрузке теплообменников ДУ250 в особую энономическую зону Липецк"},{tags:["gkh"],linkPath:"/".concat(t,"/preimushchestva-plastinchatykh-teploobmennikov.html"),heading:"Преимущества пластинчатых теплообменников",description:"Преимущества теплообменных аппаратов пластинчатого типа"},{tags:["gkh","project"],linkPath:"/".concat(t,"/teploobmenniki-gvs-object-u-timashevsk.html"),heading:"Объект: Кондитерский комбинат Кубань (г. Тимашевск)",description:"Теплообменник ТИ52-77 мощностью 3,5 Гкал/ч"},{tags:["gkh","project"],linkPath:"/".concat(t,"/teploobmenniki-gvs-object-p-zaton-vostok.html"),heading:"Объект: Котельная в г. Уфа, жилой район «Затон-Восточный»",description:"Теплообменник ТИ82-201, мощность 17500 кВт"},{tags:["gkh","project"],linkPath:"/".concat(t,"/teploobmenniki-gvs-object-p-umnii-dom.html"),heading:"Объект: Умный дом в г. Уфа (теплообменники для ИТП)",description:"Теплообменники ТИ13 для гвс, отопления, вентилиции"},{tags:["prod","food"],linkPath:"/".concat(t,"/mnogosektsionnye-teploobmenniki.html"),heading:"Многосекционные теплообменники",description:"Многосекционное исполнение теплообменников"},{tags:["gkh","btp"],linkPath:"/".concat(t,"/proektirovanie-blochnykh-teplovykh-punktov.html"),heading:"Проектирование блочных тепловых пунктов",description:"Запуск в производство готового решения для жилично-коммунального хозяйства"},{tags:["prod","food","example"],linkPath:"/".concat(t,"/plastinchatye-ohladiteli-ool.html"),heading:"Пластинчатые охладители ООЛ-3, ООЛ-5",description:"Примеры расчётов, принцип действия пластинчатых охладителей молока"},{tags:["prod","food","example"],linkPath:"/".concat(t,"/plastinchatii-ohladitel-ool-10.html"),heading:"Пластинчатый охладитель ООЛ-10",description:"Пример расчёта теплообменника охладителя на 10000 литров молока в час"},{tags:["project","gkh","example"],linkPath:"/".concat(t,"/teploobmennik-5-mvt-object-spb.html"),heading:"Теплообменник 5 мВт для отопления г. Санкт-Петербург",description:"Производство теплообменника отопления в бизнес-центр Морская Сталица города Санкт-Петербург"}];function i(){var e=window.innerWidth;return window.addEventListener("resize",(function(){var t;setTimeout((t=window.innerWidth,void(e=t)),1500)})),e}function a(e,t){for(var n=0;n=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,s);return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(o=i.call(this,p))._cardArticleConfig=t,o._tagsAliases=n,o._tagsArray=r,o._linkPath=c,o._titleText=l,o._descriptionText=u,o}return t=a,(n=[{key:"generateCard",value:function(){var e=this;return this._element=u(h(a.prototype),"_getTemplate",this).call(this),this._cardHeading=this._element.querySelector(this._cardArticleConfig.articleHeadSelector),this._cardDescription=this._element.querySelector(this._cardArticleConfig.articleDescSelector),this._link=this._element.querySelector(this._cardArticleConfig.articleLinkSelector),this._tagsSection=this._element.querySelector(this._cardArticleConfig.articleTagsSectionSelector),this._tagClass=this._cardArticleConfig.articleTagClass,this._cardHeading.textContent=this._titleText,this._cardDescription.textContent=this._descriptionText,this._link.href=this._linkPath,this._tagsArray.forEach((function(t){var n=document.createElement("span");n.textContent=e._tagsAliases[t],n.classList.add(e._tagClass),e._tagsSection.append(n)})),this._animateClass&&this._element.classList.add(this._animateClass,"wow"),this._setEventListeners(),this._element}},{key:"_setEventListeners",value:function(){this._element.addEventListener("mousedown",(function(){console.log("Слушатель работает")}))}}])&&l(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(function(){function e(t){var n=t.cardTemplateSelector,o=t.cardSelector,r=t.animateClass;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._cardSelector=o,this._cardTemplateSelector=n,this._animateClass=r}var t,n;return t=e,(n=[{key:"_getTemplate",value:function(){return document.querySelector(this._cardTemplateSelector).content.querySelector(this._cardSelector).cloneNode(!0)}},{key:"generateCard",value:function(){}},{key:"_setEventListeners",value:function(){var e=this;this._cardImage.addEventListener("mousedown",(function(){e._handleImageClick(e._name,e._link)}))}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}());function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){for(var n=0;n1200&&(o._countBase=9),i()<=1200&&(o._countBase=8),o._buttonMore=n,o._checkMoreButtonState(),o._buttonMore.addEventListener("mousedown",(function(){o._countBase+=o.additionalCount(),console.log(o.additionalCount),o._checkMoreButtonState(),o.clear(),o.renderItems()})),o}return t=c,(n=[{key:"additionalCount",value:function(){var e=i();return e>1200?3:e<=1200&&e>638?2:3}},{key:"renderFiltered",value:function(e){var t=this;this._container.classList.add("section-loading"),setTimeout((function(){if(t._renderedItems=e,t._countBase=6,t._checkMoreButtonState(),t.clear(),0===e.length){var n=document.createElement("p");n.setAttribute("style","color:#f2f2f2; font-size:24px; margin-left: 10px"),n.textContent="По Вашему условию поиска статей пока нет.",t._container.append(n)}t.renderItems(),t._container.classList.remove("section-loading")}),800)}},{key:"_showMoreButtonState",value:function(){this._buttonMore.classList.contains("infocards__more-button_hidden")&&this._buttonMore.classList.remove("infocards__more-button_hidden")}},{key:"_hideMoreButtonState",value:function(){this._buttonMore.classList.add("infocards__more-button_hidden")}},{key:"_checkMoreButtonState",value:function(){this._countBase2&&void 0!==arguments[2]?arguments[2]:200;m(this,e),this._renderedItems=o,this._container=document.querySelector(n),this._renderer=r,this._delay=0,this._delayTime=i}var t,n;return t=e,(n=[{key:"setItem",value:function(e){this._container.prepend(e)}},{key:"appendItem",value:function(e){this._container.append(e)}},{key:"clear",value:function(){this._container.innerHTML="",this._delay=0}},{key:"renderFiltered",value:function(e){var t=this;this.clear(),this._renderedItems=e,this._renderedItems.forEach((function(e){t._renderer(e)})),0===e.length&&(this._container.textContent="По Вашему условию поиска статей пока нет.")}},{key:"renderItems",value:function(){var e=this;this._renderedItems.forEach((function(t){t["data-wow-delay"]="".concat(e._delay/1e3,"s"),setTimeout((function(){e._renderer(t)}),e._delay),e._delay+=e._delayTime}))}}])&&b(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()),P=document.querySelector(".infocards__more-button"),j=new S({data:r,renderer:function(t){var n=function(t){return new g({tags:t.tags,linkPath:t.linkPath,title:t.heading,description:t.description,cardTemplateSelector:e.cardArticleTemplateSelector,cardSelector:e.articleCardSelector},e,o).generateCard()}(t);j.appendItem(n)}},e.cardListSection,P),x=document.forms.filterForm;j.renderItems(),x.addEventListener("change",(function(){var e,t=Array.from(x.elements.filterbox).filter((function(e){return e.checked})).map((function(e){return e.value}));console.log(t),t.length>0?j.renderFiltered((e=t,r.filter((function(t){return n=e,o=t.tags,console.log(n,o),!n.some((function(e){return!o.includes(e)}));var n,o})))):j.renderFiltered(r)}))})()})();