1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1063,1926],{61926:function(t,e,n){"use strict";n.r(e);n(67294);var i=n(28216),o=n(59395),r=n(85893);e.default=function(t){var e=t.className,n=(0,i.v9)((function(t){return t.viewed.viewed})).productsList;return(0,r.jsx)(r.Fragment,{children:n&&n.length>0&&(0,r.jsx)(o.C,{title:"\u0412\u044b \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0438",className:e,content:n.slice(0,16)})})}},16830:function(t,e,n){"use strict";var i=n(11163),o=n(67294);e.Z=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=n?"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u2014 ".concat(t.title):t.title,a="originalTitle"in t?t.originalTitle:t.title,l=(0,o.useState)(r),s=l[0],c=l[1],d=(0,o.useState)(t.title),u=d[0],p=d[1],f=(0,i.useRouter)();return(0,o.useEffect)((function(){var t=Number(null===e||void 0===e?void 0:e.pageN),n=Number(f.query.page||1);if(t!==n){if(1===n)return p(a),void c(r);p("".concat(a," - \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(n)),c("".concat(r,", \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(n))}else{if(1===t)return p(a),void c(r);p("".concat(a," - \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(t)),c("".concat(r,", \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430 ").concat(t))}}),[f.query.page]),{title:s,headerText:u}}},13050:function(t,e,n){"use strict";n.r(e),n.d(e,{__N_SSP:function(){return vt},default:function(){return bt}});var i,o,r,a,l,s,c,d,u,p,f,h,g,m,x,v,b,C=n(11163),y=n(67294),w=n(28216),j=n(44056),Z=n(96695),_=n(92809),P=n(25675),O=n(29163),S=n(24002),k=n(5919),I=n(28675),L=n(37487),q=n(54382),B=n(57500),N=n(5196),T=n(41441),D=n(82835),F=n(61926),M=n(13044),R=n(57309),E=n(34514),H=n(87978),z=n(52209),V=n(48803),Y=n(88315),W=O.ZP.div.withConfig({displayName:"BrandCartBrand",componentId:"sc-1dfozy5-0"})(["position:relative;display:flex;flex-direction:column;padding:30px ",";border-bottom:1px solid ",";",";",";.brandCartTitle{",";font-weight:800;margin-bottom:10px;font-family:",";display:inline-block;",";}"],(0,V.T5)(),Y.O9.color1,(0,V.eq)("lg")(i||(i=(0,z.Z)(["\n display: block;\n flex-direction: row;\n align-items: center;\n border-bottom: none;\n "]))),(0,V.eq)("xxl")(o||(o=(0,z.Z)(["\n padding: 30px ",";\n "])),(0,V.T5)(3)),(0,V.LZ)(18,26,35),Y.Rq.mont,(0,V.eq)("lg")(r||(r=(0,z.Z)(["\n margin-bottom: 20px;\n text-transform: uppercase;\n "])))),X=O.ZP.div.withConfig({displayName:"BrandCartBrand__BrandCartBrandInfo",componentId:"sc-1dfozy5-1"})(["display:flex;overflow:hidden;",";"],(0,V.eq)("lg","max")(a||(a=(0,z.Z)(["\n flex-direction: column; \n "])))),A=O.ZP.div.withConfig({displayName:"BrandCartBrand__BrandCartBrandInfoRightBlock",componentId:"sc-1dfozy5-2"})(["flex:1 1 auto;",";"],(0,V.eq)("md","max")(l||(l=(0,z.Z)(["\n display: flex;\n flex-direction: column;\n "])))),K=O.ZP.div.withConfig({displayName:"BrandCartBrand__BrandCartBrandImg",componentId:"sc-1dfozy5-3"})(["position:relative;display:inline-flex;margin-bottom:30px;height:70px;width:34vw;border:1px solid ",";margin-right:7vw;float:left;",";",";"],Y.O9.gray,(0,V.eq)("lg")(s||(s=(0,z.Z)(["\n min-width: 300px;\n width: auto;\n margin-right: 5vw;\n height: 140px;\n "]))),(0,V.eq)("sm","max")(c||(c=(0,z.Z)(["\n width: 80%; \n "])))),G=(0,O.iv)(["",";font-weight:600;line-height:1.8;"],(0,V.LZ)(15,15,15)),J=O.ZP.div.withConfig({displayName:"BrandCartBrand__BrandCartBrandContent",componentId:"sc-1dfozy5-4"})(["& h1,h2,h3,h4,h5,h6{line-height:1.2;width:fit-content;text-transform:uppercase;"," "," ","}& h1{",";}& h2{",";}& h3{",";}& h4{",";}& h5{",";}& h6{",";margin:0;}& p,ul,ol{"," margin-top:10px;line-height:1.5;","}ol{padding-left:",";"," ","}ul{list-style:none;& li::before{content:'\u25a0';position:relative;margin-right:10px;}}img{width:100%;height:100%;display:block;object-fit:contain;}table{max-width:100%;overflow-x:auto;display:block;border:0;border-collapse:collapse;tr,td,th{padding:20px 10px;border:none;vertical-align:center;border-bottom:1px solid ",";","}thead{color:",";}}& a{color:currentColor;border-bottom:1px solid currentColor;&:hover{opacity:0.8;}}& iframe{max-width:100%;}& > :first-of-type{margin-top:0;}"],(0,V.eq)("xl")(d||(d=(0,z.Z)(["\n padding: 20px 0 40px;\n "]))),(0,V.eq)("lg")(u||(u=(0,z.Z)(["\n padding-bottom: 30px;\n "]))),(0,V.eq)("md")(p||(p=(0,z.Z)(["\n padding-bottom: 20px;\n "]))),(0,V.LZ)(28,28,54),(0,V.LZ)(24,24,48),(0,V.LZ)(22,22,40),(0,V.LZ)(20,20,36),(0,V.LZ)(16,18,24),(0,V.LZ)(14,16,16),(0,V.LZ)(14,14,14),(0,V.eq)("xl")(f||(f=(0,z.Z)(["\n margin-top: 20px;\n "]))),(0,V.T5)(1),(0,V.eq)("md")(h||(h=(0,z.Z)(["\n padding-left: ",";\n "])),(0,V.T5)(.5)),(0,V.eq)("xl")(g||(g=(0,z.Z)(["\n padding-left: ",";\n "])),(0,V.T5)(.5)),Y.O9.color1,(0,V.eq)("md")(m||(m=(0,z.Z)(["\n padding: 40px 20px;\n "]))),Y.O9.red),Q=O.ZP.div.withConfig({displayName:"BrandsCartLayoutLead",componentId:"sc-2x5y58-0"})(["position:relative;display:flex;flex-direction:column;width:100%;",";","{width:auto;",";};h1{text-align:center;}"],(0,V.eq)("xl")(x||(x=(0,z.Z)(["\n flex-direction: row;\n align-items: center;\n "]))),q.i,(0,V.eq)("xl")(v||(v=(0,z.Z)(["\n width: auto;\n margin: 0;\n "])))),U=O.ZP.div.withConfig({displayName:"CollapsableDescription__CollapsableDescriptionWrapper",componentId:"sc-3ll5vu-0"})(["position:relative;",";display:inline;"],G),$=(0,O.iv)(["height:190px;clip-path:inset(0 0 0 0);"]),tt=O.ZP.div.withConfig({displayName:"CollapsableDescription__VisibleDescription",componentId:"sc-3ll5vu-1"})(["",";",";"],(function(t){return!t.isVisible&&$}),(0,V.eq)("md","max")(b||(b=(0,z.Z)(["\n iframe {\n width: 100%;\n }\n "])))),et=O.ZP.div.withConfig({displayName:"CollapsableDescription__ButtonWrapper",componentId:"sc-3ll5vu-2"})(["display:flex;align-items:center;justify-content:center;margin-top:5px;"]),nt=O.ZP.div.withConfig({displayName:"CollapsableDescription__HiddenDescription",componentId:"sc-3ll5vu-3"})(["position:absolute;visibility:hidden;z-index:-1;width:100%;iframe{width:100%;}"]),it=O.ZP.button.withConfig({displayName:"CollapsableDescription__CollapsableDescriptionButton",componentId:"sc-3ll5vu-4"})(["border:thin solid #e8e8e8;border-radius:3px;padding:8px 15px;font-weight:800;transition:background 0.3s,color 0.3s;font-size:12px;color:",";&:hover{background:",";color:",";}"],Y.O9.color3,Y.O9.color2,Y.O9.color3),ot=n(85893),rt=function(t){var e=t.description,n=(0,y.useRef)(null),i=(0,y.useState)(!1),o=i[0],r=i[1],a=(0,y.useState)(!1),l=a[0],s=a[1],c=(0,y.useRef)(null),d=(0,y.useRef)(null);(0,y.useEffect)((function(){var t=c.current,e=d.current;if(t&&e){var n=t.offsetHeight>e.offsetHeight;s(n),r(!n)}}),[e]);return(0,ot.jsxs)(U,{ref:n,children:[(0,ot.jsx)(nt,{ref:c,dangerouslySetInnerHTML:{__html:e}}),(0,ot.jsx)(tt,{isVisible:o,ref:d,dangerouslySetInnerHTML:{__html:e}}),(0,ot.jsx)(et,{children:l&&(0,ot.jsx)(it,{type:"button",onClick:function(){if(o&&n.current){var t=n.current.getBoundingClientRect().top+window.scrollY;window.scrollY>t&&window.scroll({top:t-100,behavior:"smooth"})}r(!o)},isAbsolute:!o,children:o?"\u0421\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435":"\u0420\u0430\u0441\u043a\u0440\u044b\u0442\u044c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435"})})]})},at=n(98248),lt=n(80318),st=n(70131),ct=n(80442),dt=function(t,e,n,i,o){var r;return i&&i>1&&(r=e?"https://".concat("kobor"!==n&&"".concat(n,".")).concat("kobor.ru").concat((0,ct.EH)(t)):"".concat("https://kobor.ru").concat((0,ct.EH)(t)),o&&(r="".concat(r,"?categoryIdOrSlug=").concat(o))),r},ut=n(16830),pt=function(t,e,n,i){var o,r=(0,y.useState)(!1),a=r[0],l=r[1],s=(0,y.useState)(!1),c=s[0],d=s[1],u=(0,y.useState)(!1),p=u[0],f=u[1],h=(0,y.useState)(!1),g=h[0],m=h[1],x=(0,y.useState)(null),v=x[0],b=x[1],w=(0,st.YD)({}),j=(0,lt.Z)(w,2),Z=j[0],_=j[1],P=(0,y.useState)(),O=P[0],S=P[1],k=(0,V.YD)(1025),I=null!==t.image&&null!==(o=t.image)&&void 0!==o&&o.file?"".concat("https://kobor.ru").concat(t.image.file.url):null,
1L=(0,ut.Z)(t,i,!0).headerText,q=(0,C.useRouter)().query.page,B=void 0===q?1:q,N=dt(t.slug,e,n,Number(B),null===i||void 0===i?void 0:i.categoryIdOrSlug);return(0,y.useEffect)((function(){O&&(O.allowTouchMove=k,setTimeout((function(){O.update()}),1e3))}),[O,k]),{filterForm:a,setFilterForm:l,sortPopup:c,setSortPopup:d,modalDiscountOpen:p,modalPriceOpen:g,clearFilterId:v,setClearFilterId:b,filterRef:Z,filterRefInView:_,headerText:L,imagePath:I,closeModalDiscount:function(){f(!1)},closeModalPrice:function(){m(!1)},setSwiper:S,page:B,canonicalLink:N}};function ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function ht(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ft(Object(n),!0).forEach((function(e){(0,_.Z)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var gt=(0,O.ZP)(L.Z).withConfig({displayName:"BrandCartLayout__Wrapper",componentId:"sc-1qp660m-0"})([""]),mt=function(t){var e=t.meta,n=t.brand,i=t.filters,o=t.bottom,r=void 0!==o&&o,a=t.activeFilters,l=t.children,s=t.categoriesList,c=t.footerContent,d=t.headerContent,u=t.hideCatalogManager,p=void 0===u||u,f=t.activeCategory,h=t.contrast,g=t.sortCategories,m=t.queryParams,x=t.isSubdomain,v=t.host,b=pt(n,x,v,m),C=b.filterForm,y=b.setFilterForm,w=b.sortPopup,j=b.setSortPopup,Z=b.modalDiscountOpen,_=b.modalPriceOpen,O=b.clearFilterId,L=b.setClearFilterId,z=b.filterRef,V=b.filterRefInView,Y=b.imagePath,G=b.closeModalDiscount,U=b.closeModalPrice,$=b.setSwiper,tt=b.headerText,et=b.page,nt=b.canonicalLink;return(0,ot.jsxs)(gt,ht(ht({contrast:h,footerContent:c,categoriesList:s,headerContent:d,canonicalLink:nt},e),{},{children:[(0,ot.jsxs)(at.fX,{contrast:!1,children:[(0,ot.jsxs)(Q,{children:[(0,ot.jsx)(q.Z,{path:f?[{title:"\u0413\u043b\u0430\u0432\u043d\u0430\u044f",href:"/"},{title:"\u0411\u0440\u0435\u043d\u0434\u044b",href:"/our_partners"},{title:n.title,href:"".concat(n.slug)},{title:f.title+" "+n.title,href:"".concat(n.slug,"?categoryIdOrSlug=").concat(f.id)}]:[{title:"\u0413\u043b\u0430\u0432\u043d\u0430\u044f",href:"/"},{title:"\u0411\u0440\u0435\u043d\u0434\u044b",href:"/our_partners"},{title:n.title,href:"".concat(n.slug)}]}),(0,ot.jsx)("h1",{children:n.additional_title||tt})]}),(0,ot.jsx)(I.Z,{links:d.mainCatalogLinks,isOpen:w,onClose:function(){return j(!1)},showRight:p,contrast:!!Y})]}),(0,ot.jsxs)(at.K5,{children:[(0,ot.jsxs)(at.M3,{children:[(0,ot.jsx)("div",{children:(0,ot.jsxs)("span",{ref:z,onClick:function(){return y(!0)},children:["\u0424\u0438\u043b\u044c\u0442\u0440",(0,ot.jsx)(H.Z,{})]})}),(0,ot.jsx)("div",{children:p&&(0,ot.jsxs)("span",{onClick:function(){return j(!0)},children:["\u0421\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c",(0,ot.jsx)(E.Z,{})]})}),!V&&(0,ot.jsxs)(k.Z,{onClick:function(){return y(!0)},children:["\u0424\u0438\u043b\u044c\u0442\u0440",(0,ot.jsx)(H.Z,{})]})]}),Boolean(null===a||void 0===a?void 0:a.length)&&(0,ot.jsx)(at.fx,{onSwiper:$,slidesPerView:"auto",freeMode:!0,children:null===a||void 0===a?void 0:a.map((function(t){return(0,ot.jsxs)(S.o,{onClick:function(){return L("".concat(t.id))},children:[(0,ot.jsx)("span",{children:(0,R.S)(t)}),(0,ot.jsx)("span",{})]},t.id)}))}),(0,ot.jsx)(at.lT,{isVisible:!1,children:i&&i.length>0&&(0,ot.jsx)(N.default,{isOpen:C,items:i,onClose:function(){return y(!1)},clearFilter:O,setClearFilterId:L,hasChildren:!1,sortCategories:g,isBrandPage:!0})}),(0,ot.jsx)(at.T3,{children:l})]}),(0,ot.jsxs)(W,{children:[n.description&&n.logo&&(0,ot.jsx)(X,{children:(0,ot.jsxs)(A,{children:[(0,ot.jsx)("div",{className:"brandCartTitle",children:n.title}),(0,ot.jsx)(K,{children:(0,ot.jsx)(P.default,{src:(0,M.np)(n.logo),alt:n.title,layout:"fill",objectFit:"contain",loading:"eager"})}),(0,ot.jsx)(rt,{description:n.description})]})}),n.content&&1===Number(et)&&!x&&(0,ot.jsx)(J,{dangerouslySetInnerHTML:{__html:n.content}})]}),r&&(0,ot.jsx)(at.kv,{children:(0,ot.jsx)(F.default,{})}),(0,ot.jsx)(T.Z,{isOpen:Z,onClose:G,children:(0,ot.jsx)(B.Z,{onCloseModal:G})}),(0,ot.jsx)(T.Z,{isOpen:_,onClose:U,children:(0,ot.jsx)(D.Z,{onCloseModal:U})})]}))},xt=n(31912),vt=!0,bt=function(t){var e=t.categoriesList,n=t.footerContent,i=t.header,o=t.meta,r=t.content,a=r.productsList,l=r.filters,s=r.activeCategory,c=r.queryParams,d=r.brand,u=t.host,p=t.isSubdomain;if(!d)return null;var f=(0,C.useRouter)(),h=(0,y.useState)(a),g=h[0],m=h[1],x=(0,y.useState)([]),v=x[0],b=x[1],_=(0,w.v9)((function(t){return t.catalogManager.catalogManager})).sort,P=(0,y.useState)(_),O=P[0],S=P[1],k=c.limitP,I=c.sortCategories,L=[{name:"\u0413\u043b\u0430\u0432\u043d\u0430\u044f",item:"https://kobor.ru/"},{name:"\u0411\u0440\u0435\u043d\u0434\u044b",item:"https://kobor.ru/our_partners"},{name:d.title,item:"https://kobor.ru/our_partners/".concat(d.slug)}];return(0,y.useEffect)((function(){(0,Z.M)({brandId:null===d||void 0===d?void 0:d.id,defaultProductList:a,filters:l,sort:_,initSort:O,limitP:k,router:f,setActiveFilters:b,setDataProductsList:m,setInitSort:S})}),[f.query,_,null===d||void 0===d?void 0:d.id,a,l,O,k]),(0,ot.jsxs)(ot.Fragment,{children:[(0,ot.jsx)(xt.Z,{breadcrumbs:L,title:o.title||"".concat(d.title," \u2014 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043b\u044f \u0431\u0438\u0437\u043d\u0435\u0441\u0430"),description:o.description||"\u041a\u0430\u0442\u0430\u043b\u043e\u0433 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f ".concat(d.title,". \u041d\u0438\u0437\u043a\u0438\u0435 \u0446\u0435\u043d\u044b, \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0430 \u043f\u043e \u0420\u043e\u0441\u0441\u0438\u0438. \u
1041e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0434\u0438\u043b\u0435\u0440.")}),(0,ot.jsx)(mt,{contrast:!0,meta:o,bottom:!0,filters:l,activeFilters:v,categoriesList:e,footerContent:n,activeCategory:s,headerContent:i,sortCategories:I,queryParams:c,isSubdomain:p,brand:d,host:u,children:(0,ot.jsx)(j.default,{content:g})})]})}},20648:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/our_partners/[slug]",function(){return n(13050)}])}},function(t){t.O(0,[6788,7,7333,4570,2004,398,7487,4567,7894,5394,4056,7553,5196,9774,2888,179],(function(){return e=20648,t(t.s=e);var e}));var e=t.O();_N_E=e}]);
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.