1(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[13],{"40iY":function(e,c,t){"use strict";t.d(c,"a",(function(){return a}));var n=t("nKUr"),a=(t("q1tI"),function(){return Object(n.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg",children:[Object(n.jsx)("path",{d:"m256 0c-141.164062 0-256 114.835938-256 256s114.835938 256 256 256 256-114.835938 256-256-114.835938-256-256-256zm0 0",fill:"#4C9E33"}),Object(n.jsx)("path",{d:"m385.75 201.75-138.667969 138.664062c-4.160156 4.160157-9.621093 6.253907-15.082031 6.253907s-10.921875-2.09375-15.082031-6.253907l-69.332031-69.332031c-8.34375-8.339843-8.34375-21.824219 0-30.164062 8.339843-8.34375 21.820312-8.34375 30.164062 0l54.25 54.25 123.585938-123.582031c8.339843-8.34375 21.820312-8.34375 30.164062 0 8.339844 8.339843 8.339844 21.820312 0 30.164062zm0 0",fill:"#fafafa"})]})})},"5W4u":function(e,c,t){e.exports={packageItem:"packageItem.component__packageItem",autoHeight:"packageItem.component__autoHeight",ribbon:"packageItem.component__ribbon",titleBlock:"packageItem.component__titleBlock",backWrapper:"packageItem.component__backWrapper",backButton:"packageItem.component__backButton",partWrapper:"packageItem.component__partWrapper",partItem:"packageItem.component__partItem",third:"packageItem.component__third",category:"packageItem.component__category",bottom:"packageItem.component__bottom",priceBlockWrap:"packageItem.component__priceBlockWrap",priceAndButtonBlock:"packageItem.component__priceAndButtonBlock",priceBlock:"packageItem.component__priceBlock",mainPrice:"packageItem.component__mainPrice",red:"packageItem.component__red",oldPrice:"packageItem.component__oldPrice",curr:"packageItem.component__curr",priceDiff:"packageItem.component__priceDiff",diff:"packageItem.component__diff",static:"packageItem.component__static",priceNumber:"packageItem.component__priceNumber",currency:"packageItem.component__currency",buttonsWrapper:"packageItem.component__buttonsWrapper",infoBlock:"packageItem.component__infoBlock",infoBlockPromo:"packageItem.component__infoBlockPromo",packageName:"packageItem.component__packageName",text:"packageItem.component__text",imgWrapper:"packageItem.component__imgWrapper",svgWrapper:"packageItem.component__svgWrapper",action:"packageItem.component__action",arrow_left:"packageItem.component__arrow_left"}},QSbL:function(e,c,t){"use strict";t.r(c);var n=t("nKUr"),a=t("cpVT"),o=t("z7pX"),r=t("q1tI"),i=t("/MKj"),s=t("20a2"),p=t("AsbQ"),l=t("RawQ"),d=t("ku3I"),m=t("AAB6"),u=t("ML73"),j=t("+q/W"),b=t("Wt50"),g=t.n(b),O=function(e){var c=e.handleCategoryForComparison,t=e.lang,a=e.maxPackages,o=e.packagesMinLength,r=e.packagesLength;return a<o||a>r?null:Object(n.jsx)("div",{className:g.a.comparisonWrapper,children:Object(n.jsx)(u.a,{disabled:!1,onClick:function(e){return c(e)},"aria-label":j.comparison.comparisonPackages["".concat(t)],children:j.comparison.comparisonPackages["".concat(t)]})})},f=t("cK/l"),h=t("Y4s2"),v=t("2xH9"),k=t("A8Wq"),C=t("40iY"),x=t("AXYr"),I=function(){return Object(n.jsx)("svg",{width:"7",height:"12",viewBox:"0 0 7 12",fill:"white",xmlns:"http://www.w3.org/2000/svg",children:Object(n.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.08328 1.08615C1.19431 0.971285 1.37433 0.971285 1.48537 1.08615L5.83345 5.58405C6.05552 5.81377 6.05552 6.18622 5.83345 6.41595L1.48537 10.9139C1.37433 11.0287 1.19431 11.0287 1.08328 10.9139C0.972241 10.799 0.972241 10.6128 1.08328 10.4979L5.43136 6L1.08328 1.50209C0.972241 1.38723 0.972241 1.20101 1.08328 1.08615Z",strokeWidth:"0.5",strokeLinecap:"round"})})},_=t("5W4u"),y=t.n(_);function w(e,c){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);c&&(n=n.filter((function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable}))),t.push.apply(t,n)}return t}function P(e){for(var c=1;c<arguments.length;c++){var t=null!=arguments[c]?arguments[c]:{};c%2?w(Object(t),!0).forEach((function(c){Object(a.a)(e,c,t[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEac
1h((function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(t,c))}))}return e}var N=Object(r.memo)((function(e){var c,t,a=e.service,o=e.index,i=e.item,p=e.lang,l=e.setInnerInfo,d=e.isPromo,m=Object(s.useRouter)();return Object(r.useEffect)((function(){d&&a&&0===o&&l(P({},a))}),[m.asPath,a]),Object(n.jsxs)("div",{className:"".concat(y.a.partItem," ").concat(2===o&&3===i.services.length||2===o&&5===i.services.length||1===i.services.length?"".concat(y.a.third):""),onClick:function(){l(P({},a))},children:[Object(n.jsxs)("div",{className:y.a.imgWrapper,children:[Object(n.jsx)("img",{src:f.a.schema+f.a.voliaHost+(null===a||void 0===a||null===(c=a.image)||void 0===c?void 0:c.contentUrl),alt:"".concat(a["name".concat(p)])}),Object(n.jsx)("div",{className:y.a.svgWrapper,children:Object(n.jsx)(I,{})})]}),Object(n.jsx)("span",{className:y.a.category,children:"".concat(a["name".concat(p)]," ").concat(null!==(t=a["type".concat(p)])&&void 0!==t?t:"")})]},"".concat(a.id))})),B=[{nameUa:"\u0406\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u0435 \u0442\u0435\u043b\u0435\u0431\u0430\u0447\u0435\u043d\u043d\u044f",nameRu:"\u0418\u043d\u0442\u0435\u0440\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0442\u0435\u043b\u0435\u0432\u0438\u0434\u0435\u043d\u0438\u0435"},{nameUa:"\u041c\u043e\u0431\u0456\u043b\u044c\u043d\u0435 \u0442\u0435\u043b\u0435\u0431\u0430\u0447\u0435\u043d\u043d\u044f",nameRu:"\u041c\u043e\u0431\u0438\u043b\u044c\u043d\u043e\u0435 \u0442\u0435\u043b\u0435\u0432\u0438\u0434\u0435\u043d\u0438\u0435"},{nameUa:"\u0422\u0411+\u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442",nameRu:"\u0422\u0412+\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442"},{nameUa:"\u0422\u0411 + \u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442",nameRu:"\u0422\u0412 + \u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442"},{nameUa:"\u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442+\u0422\u0411",nameRu:"\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442+\u0422\u0412"},{nameUa:"\u0406\u043d\u0442\u0435\u0440\u043d\u0435\u0442 + \u0422\u0411",nameRu:"\u0418\u043d\u0442\u0435\u0440\u043d\u0435\u0442 + \u0422\u0412"}],U=function(e){var c=e.item,t=e.onClick,a=e.handleToComparison,o=e.isInComparison,l=void 0!==o&&o,d=e.isEnoughToAdd,b=e.showIcon,g=Object(s.useRouter)(),O=Object(p.b)((function(e){return Object(m.c)(e)})),I=Object(p.b)((function(e){return Object(m.f)(e)})),_=Object(i.b)(),w=Object(r.useMemo)((function(){var e=window.location.hostname;return/(^|\.)volia-(promo|home)\.com\.ua$/i.test(e)}),[]),P=Object(r.useMemo)((function(){return g.asPath.includes("/promo/offer/")||w}
1),[g.asPath,w]),U=c.stockType&&("\u0410\u043a\u0446\u0456\u044f"===c.stockType.nameUa||"\u0410\u043a\u0446\u0438\u044f"===c.stockType.nameRu),L=Object(r.useState)({image:{contentUrl:""},nameUa:"",nameRu:"",descriptionUa:"",descriptionRu:""}),W=L[0],H=L[1];return Object(n.jsxs)("div",{className:"".concat(y.a.packageItem," ").concat(P?y.a.autoHeight:""),children:[function(e){if(e&&e.stockType&&e.stockType.nameUa){var t=e.stockType.style||{},a=t.color,o=t.backgroundColor;return"\u0410\u043a\u0446\u0456\u044f"===t.nameUa?Object(n.jsx)(v.a,{pathname:"/product/".concat(c.id,"#action"),scroll:!0,lang:I,className:y.a.action,style:{backgroundColor:a},children:e.stockType["name".concat(I)]}):Object(n.jsx)("div",{className:y.a.ribbon,style:{backgroundColor:o},children:Object(n.jsx)("span",{style:{color:a},children:e.stockType["name".concat(I)]})})}return null}(c),Object(n.jsxs)("div",{className:y.a.titleBlock,children:["offer"!==g.query.id&&Object(n.jsx)(v.a,{pathname:"/product/".concat(c.id),scroll:!0,lang:I,children:Object(n.jsx)("h4",{style:{color:U?"red":"#ffb801"},children:c["name".concat(I)]})}),"offer"===g.query.id&&Object(n.jsx)("h4",{style:{color:U?"red":"#ffb801"},children:c["name".concat(I)]}),!P&&""!==W["description".concat(I)]&&Object(n.jsxs)("div",{className:y.a.backWrapper,onClick:function(){return H({image:{contentUrl:""},nameUa:"",nameRu:"",descriptionUa:"",descriptionRu:""})},children:[Object(n.jsx)("i",{className:y.a.arrow_left}),Object(n.jsx)("button",{className:y.a.backButton,children:"\u041d\u0430\u0437\u0430\u0434"})]})]}),""===W["description".concat(I)]?Object(n.jsx)("div",{className:y.a.packages,children:Object(n.jsx)("div",{className:y.a.partWrapper,children:Object(h.a)(c.services,c.servicesOrder).map((function(e,t){return Object(n.jsx)(N,{service:e,index:t,item:c,lang:I,setInnerInfo:H,isPromo:P},"".concat(e.id,"+").concat(t))}))})}):Object(n.jsxs)("div",{className:"".concat(y.a.infoBlock," ").concat(P?y.a.infoBlockPromo:""),children:[!P&&Object(n.jsxs)("div",{className:y.a.packageName,onClick:function(){return H({image:{contentUrl:""},nameUa:"",nameRu:"",descriptionUa:"",descriptionRu:""})},children:[Object(n.jsx)("img",{src:f.a.schema+f.a.voliaHost+W.image.contentUrl,alt:""}),Object(n.jsx)("span",{children:W["name".concat(I)]||""})]}),Object(n.jsx)("div",{className:y.a.text,children:Object(n.jsx)("div",{dangerouslySetInnerHTML:{__html:Object(k.a)(W["description".concat(I)],O,I,c.id,"onnet")}})})]}),Object(n.jsxs)("div",{className:y.a.bottom,children:[Object(n.jsx)("div",{className:y.a.priceBlockWrap,children:Object(n.jsxs)("div",{className:y.a.priceAndButtonBlock,children:[!c.stockType||"\u0410\u043a\u0446\u0456\u044f"!==c.stockType.n
1ameUa&&"\u0410\u043a\u0446\u0438\u044f"!==c.stockType.nameRu?Object(n.jsxs)("div",{className:y.a.static,children:[Object(n.jsx)("span",{className:y.a.priceNumber,children:c.price}),Object(n.jsx)("span",{className:y.a.currency,children:null!==c&&void 0!==c&&c.paidPeriod?c.paidPeriod["name".concat(I)]:""})]}):Object(n.jsxs)("div",{className:y.a.priceBlock,children:[Object(n.jsx)("span",{className:"".concat(y.a.mainPrice),children:c.newPrice}),Object(n.jsxs)("div",{className:y.a.priceDiff,children:[Object(n.jsxs)("div",{children:[Object(n.jsx)("span",{className:y.a.oldPrice,children:c.price}),Object(n.jsx)("span",{className:y.a.curr,children:"\u0433\u0440\u043d"})]}),c.isShowPercentage?Object(n.jsxs)("span",{className:y.a.diff,children:[j.index.package.economy[I]," ",Math.floor(100-100*c.newPrice/c.price),"%"]}):Object(n.jsxs)("span",{className:y.a.diff,children:[j.index.package.economy[I]," ",+c.price-+c.newPrice," ",null!==c&&void 0!==c&&c.paidPeriod?c.paidPeriod["name".concat(I)]:""]})]})]}),P&&Object(n.jsx)("div",{className:y.a.priceButton,children:c.services.some((function(e){return B.some((function(c){return e["name".concat(I)]===c["name".concat(I)]}))}))&&b&&Object(n.jsxs)(u.a,{disabled:d&&!l,classes:["comparisonButton",l?"selected":""],onClick:function(e){e.stopPropagation(),a(e)},children:[l&&Object(n.jsx)("div",{children:Object(n.jsx)(C.a,{})}),Object(n.jsx)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(n.jsx)("path",{d:"M35.9388 18.2983L35.9082 18.3136L30.7435 5.45921H33.1001C33.5227 5.45921 33.8652 5.11662 33.8652 4.69407C33.8652 4.27152 33.5227 3.92892 33.1001 3.92892H18.7001V1.71766C18.7001 1.29511 18.3575 0.952515 17.935 0.952515C17.5124 0.952515 17.1698 1.29511 17.1698 1.71766V3.92127H2.77747C2.35492 3.92127 2.01233 4.26386 2.01233 4.68642C2.01233 5.10897 2.35492 5.45156 2.77747 5.45156H5.23358L0.0612115 18.2983C0.0229543 18.3879 0.00219979 18.4841 0 18.5814C0 22.0951 2.84844 24.9436 6.36217 24.9436C9.8759 24.9436 12.7243 22.0951 12.7243 18.5814C12.7221 18.4841 12.7014 18.3879 12.6631 18.2983L7.49841 5.44391H17.1698V29.1021C13.5201 29.3776 10.6661 31.5965 10.6661 34.2822C10.6661 34.7047 11.0087 35.0473 11.4312 35.0473H24.4387C24.8612 35.0473 25.2038 34.7047 25.2038 34.2822C25.2038 31.5965 22.3498 29.3776 18.7001 29.1021V5.44391H28.471L23.3369 18.2983C23.2986 18.3879 23.2779 18.4841 23.2757 18.5814C23.2757 22.0951 26.1241 24.9436 29.6378 24.9436C33.1516 24.9436 36 22.0951 36 18.5814C35.9978 18.4841 35.977 18.3879 35.9388 18.2983ZM6.35834 23.4248C3.9885 23.4215 1.97024 21.7013 1.5915 19.3619H11.0946C10.7177 21.6899 8.71661 23.4066 6.35834 23.4248ZM10.8191 17.8316H1.91286L6.37364 6.72935L10.8191 17.8316ZM23.5358 33.517H12.3265C12.8927 31.872 15.2264 30.6018 17.9273 30.6018C20.6283 30.6018 22.9696 31.872 23.5358 33.517ZM29.6034 6.737L34.0489 17.8316H25.1426L29.6034 6.737ZM29.6034 23.4248V23.4324C27.2426 23.4136 25.2406 21.693 24.8672 19.3619H34.3702C33.9915 21.7013 31.9732 23.4215 29.6034 23.4248Z",fill:"#FFB801"})})]})})]})}),Object(n.jsxs)("div",{children:[Object(n.jsxs)("div",{className:y.a.buttonsWrapper,children:["offer"!==g.query.id&&Object(n.jsx)(v.a,{pathname:"/product/".concat(c.id),scroll:!0,lang:I,children:j.general.more[I]}),"offer"===g.query.id&&Object(n.jsx)("div",{style:{height:"20px"}}),c.services.some((function(e){return B.some((function(c){return e["name".concat(I)]===c["name".concat(I)]}))}))&&!P&&b&&Object(n.jsxs)(u.a,{disabled:d&&!l,classes:["comparisonButton",l?"selected":""],onClick:function(e){e.stopPropagation(),a(e)},children:[l&&Object(n.jsx)("div",{children:Object(n.jsx)(C.a,{})}),Object(n.jsx)("svg",{width:"36",height:"36",viewBox:"0 0 36 36",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:Object(n.jsx)("path",{d:"M35.9388 18.2983L35.9082 18.3136L30.7435 5.45921H33.1001C33.5227 5.45921 33.8652 5.11662 33.8652 4.69407C33.8652 4.27152 33.5227 3.92892 33.1001 3.92892H18.7001V1.71766C18.7001 1.29511 18.3575 0.952515 17.935 0.952515C17.5124 0.952515 17.1698 1.29511 17.1698 1.71766V3.92127H2.77747C2.35492 3.92127 2.01233 4.26386 2.01233 4.68642C2.01233 5.10897 2.35492 5.45156 2.77747 5.45156H5.23358L0.0612115 18.2983C0.0229543 18.3879 0.00219979 18.4841 0 18.5814C0 22.0951 2.84844 24.9436 6.36217 24.9436C9.8759 24.9436 12.7243 22.0951 12.7243 18.5814C12.7221 18.4841 12.7014 18.3879 12.6631 18.2983L7.49841 5.44391H17.1698V29.1021C13.5201 29.3776 10.6661 31.5965 10.6661 34.2822C10.6661 34.7047 11.0087 35.0473 11.4312 35.0473H24.4387C24.8
1612 35.0473 25.2038 34.7047 25.2038 34.2822C25.2038 31.5965 22.3498 29.3776 18.7001 29.1021V5.44391H28.471L23.3369 18.2983C23.2986 18.3879 23.2779 18.4841 23.2757 18.5814C23.2757 22.0951 26.1241 24.9436 29.6378 24.9436C33.1516 24.9436 36 22.0951 36 18.5814C35.9978 18.4841 35.977 18.3879 35.9388 18.2983ZM6.35834 23.4248C3.9885 23.4215 1.97024 21.7013 1.5915 19.3619H11.0946C10.7177 21.6899 8.71661 23.4066 6.35834 23.4248ZM10.8191 17.8316H1.91286L6.37364 6.72935L10.8191 17.8316ZM23.5358 33.517H12.3265C12.8927 31.872 15.2264 30.6018 17.9273 30.6018C20.6283 30.6018 22.9696 31.872 23.5358 33.517ZM29.6034 6.737L34.0489 17.8316H25.1426L29.6034 6.737ZM29.6034 23.4248V23.4324C27.2426 23.4136 25.2406 21.693 24.8672 19.3619H34.3702C33.9915 21.7013 31.9732 23.4215 29.6034 23.4248Z",fill:"#FFB801"})})]})]}),Object(n.jsx)(u.a,{onClick:function(){var e,n;"VoliaPremium"===(null===c||void 0===c||null===(e=c.nameUa)||void 0===e?void 0:e.replace(/\s/gi,""))||"MobileOptimal"===(null===c||void 0===c||null===(n=c.nameUa)||void 0===n?void 0:n.replace(/\s/gi,""))?(_(new x.w(!1)),_(new x.B(!0)),g.push("/tv-online","".concat(O,"/tv-online")).then((function(){return window.scrollTo(0,0)}))):(_(new x.w(!1)),_(new x.B(!0)),t())},children:j.index.package.connectNow[I]})]})]})]})},L=function(e){var c=e.servicePackages,t=e.addToComparison,a=e.packagesForComparison,o=e.showIcon,i=e.dispatch,s=Object(r.useState)({}),p=s[0],l=s[1];return Object(r.useEffect)((function(){1!==c.length&&(void 0!==c[1]&&0!==Object.keys(c[1]).length||void 0!==c[2]&&0!==Object.keys(c[2]).length||void 0!==c[3]&&0!==Object.keys(c[3]).length)||l({justifyContent:"center"})}),[c]),Object(n.jsx)("div",{className:g.a.packagesWrap,style:p,children:c.map((function(e){return Object(n.jsx)(U,{handleToComparison:function(c){return t(c,e)},isInComparison:a.some((function(c){return c.id===e.id&&c.serviceId.sdid===e.serviceId.sdid})),isEnoughToAdd:a.filter((function(c){return c.serviceId.sdid===e.serviceId.sdid})).length>=4,item:e,showIcon:o,onClick:function(){i(new x.y({description:"".concat(e.nameUa," ").concat(e.price),service:e.serviceId.sdid,mode:"onnet"}))}},e.id)}))})};function W(e,c){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);c&&(n=n.filter((function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable}))),t.push.apply(t,n)}return t}function H(e){for(var c=1;c<arguments.length;c++){var t=null!=arguments[c]?arguments[c]:{};c%2?W(Object(t),!0).forEach((function(c){Object(a.a)(e,c,t[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):W(Object(t)).forEach((function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(t,c))}))}return e}c.default=function(e){var c=e.servicePackages,t=e.title,a=e.lang,u=e.cityInfo,j=Object(s.useRouter)(),b=Object(i.b)(),f=Object(p.b)((function(e){return Object(m.c)(e)})),h=Object(r.useState)([]),v=h[0],k=h[1],C=Object(r.useState)(!1),x=C[0],I=C[1],_=Object(r.useState)([]),y=_[0],w=_[1],P=Object(r.useState)(0),N=P[0],B=P[1],U=Object(r.useState)(!1),W=U[0],S=U[1],M=Object(r.useState)(!1),R=M[0],T=M[1],E=Object(r.useState)([]),F=(E[0],E[1]);Object(r.useEffect)((function(){c&&k(c)}),[c]),Object(r.useEffect)((function(){S(navigator.cookieEnabled)}),[]),Object(r.useEffect)((function(){if(y.length>0){var e={};y.forEach((function(c){e[c.serviceId.sdid]=(e[c.serviceId.sdid]||0)+1})),B(Math.max.apply(Math,Object(o.a)(Object.values(e))))}}),[y]),Object(r.useEffect)((function(){if(navigator.cookieEnabled){var e=JSON.parse(window.localStorage.getItem("packagesForComparison"))||[];w(e),0===e.length&&(T(!1),B(0))}}),[x,u]);var D=Object(r.useMemo)((function(){return y.reduce((function(e,c){return e.some((function(e){return e.serviceId.sdid===c.serviceId.sdid}))||e.push(c),e}),[])}),[y]);return v.length=4,Object(n.jsxs)("div",{className:g.a.packageBlock,children:[(D.length>1||R)&&Object(n.jsx)(d.a,{type:"onnet",lang:a||("ukr"===j.query.lang?"Ua":"Ru"),listComparison:D,packagesForComparison:y,onClick:function(e){return function(e){e.stopPropagation(),F([]),T(!1)}(e)},deletePackagesAndCategory:function(e,c){e.stopPropagation(),y.forEac
1h((function(e){e.serviceId.sdid===c.serviceId.sdid&&Object(l.a)(e)}));var t=y.filter((function(e){return e.serviceId.sdid!==c.serviceId.sdid})).reduce((function(e,c){return e.some((function(e){return e.serviceId.sdid===c.serviceId.sdid}))||e.push(c),e}),[]);F(t),I(!x)}}),c.length?Object(n.jsxs)(n.Fragment,{children:[Object(n.jsx)("h2",{className:g.a.title,children:t}),Object(n.jsx)(L,{servicePackages:c,addToComparison:function(e,c){e.stopPropagation(),Object(l.a)({id:c.id,nameUa:c.nameUa,nameRu:c.nameRu,serviceId:c.serviceId}),I(!x)},packagesForComparison:y,showIcon:W,dispatch:b})]}):"",Object(n.jsx)(O,{handleCategoryForComparison:function(e){e.stopPropagation();var c=y.reduce((function(e,c){return e.some((function(e){return e.serviceId.sdid===c.serviceId.sdid}))||e.push(c),e}),[]);F(c),c.length<=1&&(window.localStorage.setItem("categoryComparison",JSON.stringify(H(H({},c[0].serviceId),{},{type:"onnet"}))),j.push("".concat(f,"/comparison/"))),c.length>1&&T(!0)},lang:a,maxPackages:N,packagesMinLength:2,packagesLength:4})]})}},RawQ:function(e,c,t){"use strict";t.d(c,"a",(function(){return a}));var n=t("z7pX"),a=function(e){var c="packagesForComparison",t=JSON.parse(window.localStorage.getItem(c))||[];if(t.some((function(c){return c.id===e.id&&c.serviceId.sdid===e.serviceId.sdid}))){var a=t.filter((function(c){return!(c.id===e.id&&c.serviceId.sdid===e.serviceId.sdid)}));window.localStorage.setItem(c,JSON.stringify(a))}else{var o=[].concat(Object(n.a)(t),[e]);window.localStorage.setItem(c,JSON.stringify(o))}}},Wt50:function(e,c,t){e.exports={packageBlock:"packageBlock.component__packageBlock",title:"packageBlock.component__title",item:"packageBlock.component__item",packagesWrap:"packageBlock.component__packagesWrap",comparisonWrapper:"packageBlock.component__comparisonWrapper"}},ku3I:function(e,c,t){"use strict";t.d(c,"a",(function(){return b}));var n=t("nKUr"),a=t("cpVT"),o=(t("q1tI"),t("20a2")),r=t("AsbQ"),i=t("nyr3"),s=t.n(i),p=t("FqgT"),l=t("+q/W"),d=t("AAB6"),m=function(){return Object(n.jsxs)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[Object(n.jsx)("path",{d:"M7.5 0C3.35473 0 0 3.3544 0 7.5C0 11.6453 3.3544 15 7.5 15C11.6453 15 15 11.6456 15 7.5C15 3.3547 11.6456 0 7.5 0ZM7.5 13.8281C4.00242 13.8281 1.17188 10.9978 1.17188 7.5C1.17188 4.00239 4.00216 1.17188 7.5 1.17188C10.9976 1.17188 13.8281 4.00216 13.8281 7.5C13.8281 10.9976 10.9978 13.8281 7.5 13.8281Z",fill:"#FF3D3D"}),Object(n.jsx)("path",{d:"M10.0663 9.23744L8.32897 7.50008L10.0663 5.76271C10.2951 5.5339 10.2952 5.16292 10.0664 4.93408C9.83749 4.70524 9.4665 4.70527 9.23773 4.93408L7.50033 6.67144L5.76294 4.93408C5.53416 4.70524 5.16312 4.70524 4.93431 4.93408C4.7055 5.16292 4.7055 5.5339 4.93434 5.76271L6.6717 7.50008L4.93434 9.23744C4.7055 9.46628 4.70547 9.83726 4.93431 10.0661C5.16321 10.2949 5.53419 10.2949 5.76294 10.0661L7.50033 8.32871L9.23773 10.0661C9.46648 10.2949 9.83752 10.2949 10.0664 10.0661C10.2952 9.83723 10.2952 9.46625 10.0663 9.23744Z",fill:"#FF3D3D"})]})};function u(e,c){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);c&&(n=n.filter((function(c){return Object.getOwnPropertyDescriptor(e,c).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var c=1;c<arguments.length;c++){var t=null!=arguments[c]?arguments[c]:{};c%2?u(Object(t),!0).forEach((function(c){Object(a.a)(e,c,t[c])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(c){Object.defineProperty(e,c,Object.getOwnPropertyDescriptor(t,c))}))}return e}var b=function(e){var c=e.onClick,t=e.listComparison,a=e.packagesForComparison,i=e.deletePackagesAndCategory,u=e.lang,b=e.type,g=Object(o.useRouter)(),O=Object(r.b)((function(e){return Object(d.c)(e)}));return Object(n.jsx)("div",{className:s.a.overlay,children:Object(n.jsxs)("div",{className:s.a.popUpWrapper,children:[Object(n.jsxs)("div",{className:s.a.popUpHead,children:[Object(n.jsx)("span",{className:s.a.title,children:l.comparison.comparisonList[u]}),Object(n.jsx)("div",{onClick:c,className:s.a.closedBlock,children:Object(n.jsx)(p.a,{})})]}),Object(n.jsx)("div",{className:s.a.list,children:t.map((function(e){return Object(n.jsxs)(n.Fragment,{children:[Object(n.jsxs)("div",{className:s.a.listItem,children:[Object(n.jsxs)("div",{className:s.a.listItemWrapper,children:[Object(n.jsx)("input",{onClick:function(c){return function(e,c){e.stopPropagation(),window.localStorage.setItem("categoryComparison",JSON.stringify(j(j({},c.serviceId),{},{type:b}))),g.push("".concat(O,"/comparison/"))}(c,e)},className:s.a.button,type:"checkbox",id:"scales".concat(e.serviceId.sdid),name:"scales".concat(e.serviceId.sdid)}),Object(n.jsx)("label",{className:s.a.name,htmlFor:"scales".concat(e.serviceId.sdid),children:e.serviceId["name".concat(u)]})]}),Object(n.jsx)("div",{onClick:function(c){return i(c,e)},children:Object(n.jsx)(m,{})})]}),Object(n.jsx)("div",{className:s.a.packagesInList,children:a&&a.map((function(c){return c.serviceId.sdid===e.serviceId.sdid?Object(n.jsx)("span",{children:c["name".concat(u)]},c.id):null}))})]})}))})]})})}},nyr3:function(e,c,t){e.exports={overlay:"popUpComparison.component__overlay",popUpWrapper:"popUpComparison.component__popUpWrapper",popUpHead:"popUpComparison.component__popUpHead",closedBlock:"popUpComparison.component__closedBlock",list:"popUpComparison.component__list",listItem:"popUpComparison.component__listItem",listItemWrapper:"popUpComparison.component__listItemWrapper",name:"popUpComparison.component__name",packagesInList:"popUpComparison.component__packagesInList"}}}]);
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.