1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71529,e=>{"use strict";e.i(36304),e.i(67416),e.i(47940),e.i(41539),e.i(76052);e.i(77963),e.i(35612),e.i(16927),e.i(92369),e.s([],71529)},35612,e=>{"use strict";e.i(89802),e.s([])},78285,e=>{e.v({card:"card-tariff-module-scss-module__FaVSYq__card","card-border":"card-tariff-module-scss-module__FaVSYq__card-border","card-slider":"card-tariff-module-scss-module__FaVSYq__card-slider"})},89802,e=>{"use strict";var t=e.i(16871),r=e.i(70851),i=e.i(7284),n=e.i(42497),a=e.i(46498);e.i(86261);var l=e.i(17094);e.i(10255);var o=e.i(31264);e.i(96272);var s=e.i(34176);e.i(56657);var c=e.i(50322);e.i(11602);var d=e.i(52252),u=e.i(82952),p=e.i(84182),m=e.i(56908),h=e.i(49776),_=e.i(99905),y=e.i(73835),f=e.i(43606),x=e.i(78285);function g(e){return 1!==e.required}e.s(["CardTariff",0,e=>{let b,v,j,S,T,w,P,C,k,q,$,N,z,B,O,I,F,H,R,M,E=(0,r.c)(64),{tariff:A,locationName:G,locationPrepositional:W,border:V,slider:L,locationUrl:Y}=e;E[0]!==A.additional_services?(b=A.additional_services.filter(g),E[0]=A.additional_services,E[1]=b):b=E[1];let U=b,Z="house"===A.belong_type,D="apartments"===A.belong_type;E[2]!==D||E[3]!==Z||E[4]!==Y||E[5]!==A.provider.url?(v=null===A.provider.url?void 0:D?o.pathKeys.providers.all(Y,A.provider.url):Z?o.pathKeys.providers.house(Y,A.provider.url):o.pathKeys.providers.all(Y,A.provider.url),E[2]=D,E[3]=Z,E[4]=Y,E[5]=A.provider.url,E[6]=v):v=E[6];let K=v;E[7]!==Y||E[8]!==A.provider.url||E[9]!==A.url?(j=null!==A.provider.url&&null!==A.url?o.pathKeys.providers.tariff(Y,A.provider.url,A.url):void 0,E[7]=Y,E[8]=A.provider.url,E[9]=A.url,E[10]=j):j=E[10];let J=j;E[11]!==V||E[12]!==L?(S=(0,i.default)([x.default.card],{[x.default["card-border"]]:V,[x.default["card-slider"]]:L}),E[11]=V,E[12]=L,E[13]=S):S=E[13];let Q=S;E[14]===Symbol.for("react.memo_cache_sentinel")?(T={base:"24",sm:"16"},w={height:"100%"},E[14]=T,E[15]=w):(T=E[14],w=E[15]),E[16]!==A.provider.id||E[17]!==A.provider.name||E[18]!==K?(P=K&&A.provider.name?(0,t.jsx)(m.CardHeaderProvider,{providerName:A.provider.name,providerId:A.provider.id,url:K}):(0,t.jsx)(h.CardHeaderProviderWithoutLink,{providerName:A.provider.name,providerId:A.provider.id}),E[16]=A.provider.id,E[17]=A.provider.name,E[18]=K,E[19]=P):P=E[19];let X=!J;return E[20]!==A?(C=(0,t.jsx)(u.CardBadges,{tariff:A}),E[20]=A,E[21]=C):C=E[21],E[22]!==X||E[23]!==C||E[24]!==A.name||E[25]!==J?(k=(0,t.jsx)(p.CardHeaderInfo,{tariffName:A.name,tariffUrl:J,withoutLink:X,children:C}),E[22]=X,E[23]=C,E[24]=A.name,E[25]=J,E[26]=k):k=E[26],E[27]!==A?(q=(0,t.jsx)(_.CardOptions,{tariff:A}),E[27]=A,E[28]=q):q=E[28],E[29]===Symbol.for("react.memo_cache_sentinel")?($={base:"24",md:"16"},N={marginTop:"auto"},E[29]=$,E[30]=N):($=E[29],N=E[30]),E[31]!==L||E[32]!==A.additional_services?(z=!L&&(0,t.jsx)(f.CardRequiredServices,{services:A.additional_services}),E[31]=L,E[32]=A.additional_services,E[33]=z):z=E[33],E[34]!==U||E[35]!==L?(B=!L&&U.length>0&&(0,t.jsx)(d.CardAdditionalServices,{title:"ÐополниÑелÑнÑе опÑии",additionalServices:U}),E[34]=U,E[35]=L,E[36]=B):B=E[36],E[37]!==A.abon_cost||E[38]!==A.discount_percent||E[39]!==A.prize_abon_cost?(O=(0,t.jsx)(y.CardPrice,{discountPercent:A.discount_percent,abonCost:A.abon_cost,prizeAbonCost:A.prize_abon_cost}),E[37]=A.abon_cost,E[38]=A.discount_percent,E[39]=A.prize_abon_cost,E[40]=O):O=E[40],E[41]!==A.id||E[42]!==A.provider||E[43]!==J?(I=(0,t.jsx)(l.CardButtonsOrder,{tariffId:A.id,provider:A.provider,tariffUrl:J}),E[41]=A.id,E[42]=A.provider,E[43]=J,E[44]=I):I=E[44],E[45]!==z||E[46]!==B||E[47]!==O||E[48]!==I?(F=(0,t.jsxs)(a.Stack,{gap:$,style:N,children:[z,B,O,I]}),E[45]=z,E[46]=B,E[47]=O,E[48]=I,E[49]=F):F=E[49],E[50]!==q||E[51]!==F||E[52]!==P||E[53]!==k?(H=(0,t.jsxs)(n.Flex,{direction:"column",justify:"space-between",gap:T,style:w,children:[P,k,q,F]}),E[50]=q,E[51]=F,E[52]=P,E[53]=k,E[54]=H):H=E[54],E[55]!==Q||E[56]!==H?(R=(0,t.jsx)(c.CardPrimary,{className:Q,children:H}),E[55]=Q,E[56]=H,E[57]=R):R=E[57],E[58]!==G||E[59]!==W||E[60]!==Y||E[61]!==R||E[62]!==A?(M=(0,t.jsx)(s.SchemaOrgProduct,{locationUrl:Y,locationName:G,locationPrepositional:W,tariff:A,children:R}),E[58]=G,E[59]=W,E[60]=Y,E[61]=R,E[62]=A,E[63]=M):M=E[63],M}])},632,e=>{e.v({"icon-color-blueberry50":"params-module-scss-module__9f4Zxa__icon-color-blueberry50"})},91288,e=>{e.v({bottom:"service-card-module-scss-module__mHrvzG__bottom","icon-color-secondary":"service-card-module-scss-module__mHrvzG__icon-color-secondary",tooltip:"service-card-module-scss-module__mHrvzG__tooltip","tooltip-content":"service-card-module-scss-module__mHrvzG__tooltip-content","tooltip-trigger":"service-card-module-scss-module__mHrvzG__tooltip-trigger","tooltip-wrapper":"service-card-module-scss-module__mHrvzG__tooltip-wrapper"})},10192,e=>{e.v({bottom:"calculator-desktop-shell-module-scss-module__UdyxbG__bottom",calc:"calculator-desktop-shell-module-scss-module__UdyxbG__calc"})},24854,27580,65964,88211,18133,70850,38431,45244,48954,94566,79403,67046,e=>{"use strict";var t=e.i(70851),r=e.i(18864);let i=(e,t)=>null===t?void 0:e.options.find(e=>e.payment===t),n=(e,t)=>e.push(t),a=(e,t,r,i,n,a)=>{let l;return{required:null!==e&&e>0,options:(l=[],null!==t&&t>=0&&l.push({payment:"rent",monthly:t,firstPayment:0,buy:0,period:null}),null!==r&&r>0&&l.push({payment:"credit",monthly:r,firstPayment:i??0,buy:0,period:n}),null!==a&&a>0&&l.push({payment:"buy",monthly:0,firstPayment:0,buy:a,period:null}),l)}},l=(e,t)=>
1e[t].required?e[t].options[0]?.payment??null:null,o=e=>({tariffId:e.id,selectedServiceIds:[],routerPayment:l(e,"router"),tvBoxPayment:l(e,"tvBox"),ownEquipment:!1}),s=(e,t)=>{if("reset"===t.type)return o(t.tariff);if("set-own-equipment"===t.type)return e.ownEquipment===t.value?e:{...e,ownEquipment:t.value};if("select-router-payment"===t.type)return e.routerPayment===t.payment?e:{...e,routerPayment:t.payment};if("select-tv-box-payment"===t.type)return e.tvBoxPayment===t.payment?e:{...e,tvBoxPayment:t.payment};let r=t.selected?[...new Set([...e.selectedServiceIds,t.serviceId])]:e.selectedServiceIds.filter(e=>e!==t.serviceId);return r.length===e.selectedServiceIds.length&&r.every((t,r)=>t===e.selectedServiceIds[r])?e:{...e,selectedServiceIds:r}};e.s(["useTariffCalculator",0,e=>{let l,c,d,u,p,m,h=(0,t.c)(17);if(h[0]!==e)l={id:e.id,monthlyPrice:null!==e.prize_abon_cost&&e.prize_abon_cost>=0?e.prize_abon_cost:e.abon_cost,connectionCost:e.connection_cost,router:a(e.router_require,e.router_rent,e.router_credit,e.router_credit_first_payment,e.router_period,e.router_buy),tvBox:a(e.console_require,e.console_rent,e.console_credit,e.console_credit_first_payment,e.console_period,e.console_buy),services:e.additional_services.map(e=>{let t;return{id:e.id,name:e.name,required:e.required>0,subscriptionPayment:e.subscription_payment,equipmentPayment:e.equipment_payment,equipmentPaymentType:["rent","credit","buy"].includes(t=e.equipment_payment_type)?t:null,equipmentConnectionCost:e.equipment_connection_cost}})},h[0]=e,h[1]=l;else l=h[1];let _=l,[y,f]=(0,r.useReducer)(s,_,o),x=(0,r.useRef)(_.id);h[2]!==_?(c=()=>{x.current!==_.id&&(x.current=_.id,f({type:"reset",tariff:_}))},d=[_,_.id],h[2]=_,h[3]=c,h[4]=d):(c=h[3],d=h[4]),(0,r.useEffect)(c,d),h[5]!==y||h[6]!==_?(u=(({tariff:e,state:t})=>{let r=[],a=e.services.filter(e=>e.required||t.selectedServiceIds.includes(e.id)),l=i(e.router,t.routerPayment),o=i(e.tvBox,t.tvBoxPayment);for(let t of(null!==e.monthlyPrice&&n(r,{id:"tariff",title:"ТаÑиÑ",amount:e.monthlyPrice,frequency:"monthly",category:"tariff"}),null!==e.connectionCost&&e.connectionCost>0&&n(r,{id:"connection",title:"ÐодклÑÑение",amount:e.connectionCost,frequency:"once",category:"connection"}),a))t.subscriptionPayment>0&&n(r,{id:`service-${t.id}-subscription`,title:t.name,amount:t.subscriptionPayment,frequency:"monthly",category:"service"}),t.equipmentPayment>0&&n(r,{id:`service-${t.id}-equipment`,title:t.name,amount:t.equipmentPayment,frequency:"buy"===t.equipmentPaymentType?"once":"monthly",category:"service"}),t.equipmentConnectionCost>0&&n(r,{id:`service-${t.id}-connection`,title:t.name,amount:t.equipmentConnectionCost,frequency:"once",category:"service"});for(let[e,t]of[["РоÑÑеÑ",l],["ТÐ-обоÑÑдование",o]])t&&("buy"===t.payment?n(r,{id:`${t.payment}-${e}`,title:e,amount:t.buy,frequency:"once",category:"equipment"}):(t.monthly>0&&n(r,{id:`${t.payment}-${e}-monthly`,title:e,amount:t.monthly,frequency:"monthly",category:"equipment"}),"credit"===t.payment&&t.firstPayment>0&&n(r,{id:`${t.payment}-${e}-first`,title:e,amount:t.firstPayment,frequency:"once",category:"equipment"})));let s=r.filter(e=>"monthly"===e.frequency).reduce((e,t)=>e+t.amount,0),c=s+r.filter(e=>"once"===e.frequency).reduce((e,t)=>e+t.amount,0);if(!Number.isFinite(c)||!Number.isFinite(s))throw Error("Calculator totals must be finite");return{firstPayment:c,monthlyPayment:s,lines:r}})({tariff:_,state:y}),h[5]=y,h[6]=_,h[7]=u):u=h[7];let g=u;h[8]!==g||h[9]!==y||h[10]!==_?(p=(({tariff:e,state:t,calculation:r})=>({firstPayment:`${r.firstPayment} â½`,monthlyPayment:`${r.monthlyPayment} â½/меÑ`,selectedServiceIds:[...e.services.filter(e=>e.required).map(e=>e.id),...t.selectedServiceIds],routerPayment:t.routerPayment,tvBoxPayment:t.tvBoxPayment,tariff:e,calculation:r}))({tariff:_,state:y,calculation:g}),h[8]=g,h[9]=y,h[10]=_,h[11]=p):p=h[11];let b=p;
1return h[12]!==g||h[13]!==y||h[14]!==b||h[15]!==_?(m={tariff:_,state:y,dispatch:f,calculation:g,summary:b},h[12]=g,h[13]=y,h[14]=b,h[15]=_,h[16]=m):m=h[16],m}],27580),e.s([],24854);let c=(e,t,r,i)=>null===i?[]:r.options.map(r=>({id:`${t}-${r.payment}`,checked:r.payment===i,type:e,value:r.payment,name:t,rent:"rent"===r.payment?r.monthly:void 0,credit:"credit"===r.payment?r.monthly:void 0,credit_fp:"credit"===r.payment?r.firstPayment:void 0,period:r.period??void 0,buy:"buy"===r.payment?r.buy:void 0}));e.s(["buildEquipmentDetailViewModel",0,({router:e,tvBox:t,state:r})=>({router:c("РоÑÑеÑ","router",e,r.routerPayment),tvBox:c("ТÐ-обоÑÑдование","tv-box",t,r.tvBoxPayment)})],65964),e.s(["buildOrderPayload",0,({tariff:e,state:t})=>({tariff_id:e.id,router:t.routerPayment,tv_box:t.tvBoxPayment,selected_additional_services:e.services.filter(e=>e.required||t.selectedServiceIds.includes(e.id)).map(e=>e.id)})],88211),e.i(60352);var d=e.i(73033);e.i(41752);var u=e.i(57602),p=e.i(12949);function m(e){return e}function h(e){return e}e.s(["useCalculatorOrder",0,e=>{let r,i=(0,t.c)(11),{tariff:n,payload:a,ownEquipment:l}=e,{openModal:o}=(0,u.useModal)(m),{setTariffInfo:s,setSubmitComment:c,setProvider:_}=(0,d.useSubmitOrder)(),{setProvider:y}=(0,p.useModalStepsStore)(h);return i[0]!==o||i[1]!==l||i[2]!==a||i[3]!==y||i[4]!==c||i[5]!==_||i[6]!==s||i[7]!==n.provider.id||i[8]!==n.provider.name||i[9]!==n.provider.url?(r=()=>{let e={id:n.provider.id,name:n.provider.name,url:n.provider.url};y(e),o("steps"),_(e),s(a),l&&c("ÐÑÑÑ ÑобÑÑвенное обоÑÑдование")},i[0]=o,i[1]=l,i[2]=a,i[3]=y,i[4]=c,i[5]=_,i[6]=s,i[7]=n.provider.id,i[8]=n.provider.name,i[9]=n.provider.url,i[10]=r):r=i[10],r}],18133);var _=e.i(16871),y=e.i(53028),f=e.i(63850),x=e.i(42497),g=e.i(64119),b=e.i(10525),v=e.i(10797),j=e.i(46498),S=e.i(64458),T={wrapper:"bb__wrapper__-gfYE",control:"bb__control__8BwJO",switch:"bb__switch__C52Cr",input:"bb__input__j0S2E","wrapper--left":"bb__wrapper--left__C0Vpx","wrapper--between":"bb__wrapper--between__fmeIO"};let w=({id:e,label:t,between:r,textDirection:i,className:n,"aria-label":a,"data-testid":l="switch",...o})=>{let s="string"==typeof t?t.trim():void 0,c="string"==typeof a?a.trim()||void 0:a,d=s?c:c??e,u=(0,S.default)(T.wrapper,{[T[`wrapper--${i}`]]:i,[T["wrapper--between"]]:r},n);return(0,_.jsxs)("label",{className:u,htmlFor:e,"data-testid":l,children:[(0,_.jsxs)("span",{className:T.control,children:[(0,_.jsx)("input",{type:"checkbox",className:T.input,id:e,"aria-label":d,"data-testid":`${l}-input`,...o}),(0,_.jsx)("span",{className:T.switch,"data-testid":`${l}-toggle`})]}),s&&(0,_.jsx)("span",{"data-testid":`${l}-label`,children:s})]})};w.displayName="Switch";var P=e.i(22404);e.i(56657);var C=e.i(50322);function k(e){return e.show}function q(e,t){return{...e,checked:0==t}}function $(e){return e.show}function N(e,t){return{...e,checked:0==t}}function z(e){return e.checked}function B(e){return e.checked}function O(e){return e.checked}function I(e){return e.checked}e.s(["Equipment",0,e=>{let i,n,a,l,o,s,c,d,u,p,m,h,S,T,F,H,R,M,E,A,G,W,V,L,Y,U,Z,D=(0,t.c)(97),{router:K,tvBox:J,isSelfEquip:Q,onRouterPaymentChange:X,onTvBoxPaymentChange:ee,onOwnEquipmentChange:et,routerPayment:er,tvBoxPayment:ei}=e,en=null!==K.router_rent&&K.router_rent>=0||null!==K.router_credit&&K.router_credit>0||null!==K.router_buy&&K.router_buy>0,ea=null!==J.console_rent&&J.console_rent>=0||null!==J.console_credit&&J.console_credit>0||null!==J.console_buy&&J.console_buy>0,el=null!==K.router_require&&K.router_require>0,eo=null!==J.console_require&&J.console_require>0,es=null!==K.router_rent&&K.router_rent>=0,ec=null===K.router_rent?"":`ÐÑенда ${0===K.router_rent?"беÑплаÑно":`${K.router_rent} â½/меÑ`}`,ed=K.router_rent??void 0;D[0]!==es||D[1]!==ec||D[2]!==ed?(i={id:"routerArenda",checked:!1,type:"РоÑÑеÑ",value:"rent",name:"paymentRouter",show:es,label:ec,rent:ed,info:""},D[0]=es,D[1]=ec,D[2]=ed,D[3]=i):i=D[3];let eu=null!==K.router_credit&&K.router_credit>0,ep=K.router_credit??void 0,em=null===K.router_credit?"":`РаÑÑÑоÑка${null===K.router_peri
1od?"":` на ${K.router_period} меÑ.`} ${K.router_credit} â½/меÑ`,eh=K.router_credit_first_payment??void 0,e_=K.router_period??void 0,ey=null!==K.router_credit_first_payment&&K.router_credit_first_payment>0?`ÐеÑвÑй плаÑеж ${K.router_credit_first_payment} â½`:"";D[4]!==ey||D[5]!==eu||D[6]!==ep||D[7]!==em||D[8]!==eh||D[9]!==e_?(n={id:"routerCredit",checked:!1,value:"credit",type:"РоÑÑеÑ",name:"paymentRouter",show:eu,credit:ep,label:em,credit_fp:eh,period:e_,info:ey},D[4]=ey,D[5]=eu,D[6]=ep,D[7]=em,D[8]=eh,D[9]=e_,D[10]=n):n=D[10];let ef=null!==K.router_buy&&K.router_buy>0,ex=null===K.router_buy?"":`ÐÑкÑп ${K.router_buy} â½`,eg=K.router_buy??void 0;D[11]!==ef||D[12]!==ex||D[13]!==eg?(a={id:"routerBuy",checked:!1,value:"buy",type:"РоÑÑеÑ",name:"paymentRouter",show:ef,label:ex,buy:eg,info:""},D[11]=ef,D[12]=ex,D[13]=eg,D[14]=a):a=D[14],D[15]!==n||D[16]!==a||D[17]!==i?(l=[i,n,a],D[15]=n,D[16]=a,D[17]=i,D[18]=l):l=D[18];let eb=l,ev=null!==J.console_rent&&J.console_rent>=0,ej=null===J.console_rent?"":`ÐÑенда ${0===J.console_rent?"беÑплаÑно":`${J.console_rent} â½/меÑ`}`,eS=J.console_rent??void 0;D[19]!==ev||D[20]!==ej||D[21]!==eS?(o={id:"tvBoxArenda",checked:!1,value:"rent",type:"ТÐ-обоÑÑдование",name:"paymentTvBox",show:ev,label:ej,rent:eS,info:""},D[19]=ev,D[20]=ej,D[21]=eS,D[22]=o):o=D[22];let eT=null!==J.console_credit&&J.console_credit>0,ew=J.console_credit??void 0,eP=J.console_credit_first_payment??void 0,eC=null===J.console_credit?"":`РаÑÑÑоÑка${null===J.console_period?"":` на ${J.console_period} меÑ.`} ${J.console_credit} â½/меÑ`,ek=J.console_period??void 0,eq=null!==J.console_credit_first_payment&&J.console_credit_first_payment>0?`ÐеÑвÑй плаÑеж ${J.console_credit_first_payment} â½`:"";D[23]!==eT||D[24]!==ew||D[25]!==eP||D[26]!==eC||D[27]!==ek||D[28]!==eq?(s={id:"tvBoxCredit",checked:!1,value:"credit",type:"ТÐ-обоÑÑдование",name:"paymentTvBox",show:eT,credit:ew,credit_fp:eP,label:eC,period:ek,info:eq},D[23]=eT,D[24]=ew,D[25]=eP,D[26]=eC,D[27]=ek,D[28]=eq,D[29]=s):s=D[29];let e$=null!==J.console_buy&&J.console_buy>0,eN=null===J.console_buy?"":`ÐÑкÑп ${J.console_buy} â½`,ez=J.console_buy??void 0;D[30]!==e$||D[31]!==eN||D[32]!==ez?(c={id:"tvBoxBuy",checked:!1,value:"buy",type:"ТÐ-обоÑÑдование",name:"paymentTvBox",show:e$,label:eN,buy:ez,info:""},D[30]=e$,D[31]=eN,D[32]=ez,D[33]=c):c=D[33],D[34]!==o||D[35]!==s||D[36]!==c?(d=[o,s,c],D[34]=o,D[35]=s,D[36]=c,D[37]=d):d=D[37];let eB=d,[eO,eI]=(0,r.useState)(!1),[eF,eH]=(0,r.useState)(!1);D[38]!==eb?(u=eb.filter(k).map(q),D[38]=eb,D[39]=u):u=D[39];let eR=u;D[40]!==eB?(p=eB.filter($).map(N),D[40]=eB,D[41]=p):p=D[41];let eM=p,[eE,eA]=(0,r.useState)(eR),[eG,eW]=(0,r.useState)(eM);D[42]!==er?(m=()=>{er&&eA(e=>e.map(e=>({...e,checked:e.value===er})))},h=[er],D[42]=er,D[43]=m,D[44]=h):(m=D[43],h=D[44]),(0,r.useEffect)(m,h),D[45]!==ei?(S=()=>{ei&&eW(e=>e.map(e=>({...e,checked:e.value===ei})))},T=[ei],D[45]=ei,D[46]=S,D[47]=T):(S=D[46],T=D[47]),(0,r.useEffect)(S,T),D[48]!==el||D[49]!==eo||D[50]!==X||D[51]!==ee||D[52]!==eE||D[53]!==eG?(F=()=>{el&&X?.(eE.find(z)?.value??null),eo&&ee?.(eG.find(B)?.value??null)},H=[el,eo,X,ee,eE,eG],D[48]=el,D[49]=eo,D[50]=X,D[51]=ee,D[52]=eE,D[53]=eG,D[54]=F,D[55]=H):(F=D[54],H=D[55]),(0,r.useEffect)(F,H),D[56]!==ee||D[57]!==eO||D[58]!==eG?(R=()=>{eI(!eO),eO?ee?.(null):ee?.(eG.find(O)?.value??null)},D[56]=ee,D[57]=eO,D[58]=eG,D[59]=R):R=D[59];let eV=R;D[60]!==X||D[61]!==eE||D[62]!==eF?(M=()=>{eH(!eF),eF?X?.(null):X?.(eE.find(I)?.value??null)},D[60]=X,D[61]=eE,D[62]=eF,D[63]=M):M=D[63];let eL=M;D[64]!==X||D[65]!==eE?(E=e=>{eA(eE.map(t=>t.value===e?{...t,checked:!0}:{...t,checked:!1})),X?.(e)},D[64]=X,D[65]=eE,D[66]=E):E=D[66];let eY=E;D[67]!==ee||D[68]!==eG?(A=e=>{eW(eG.map(t=>t.value===e?{...t,checked:!0}:{...t,checked:!1})),ee?.(e)},D[67]=ee,D[68]=eG,D[69]=A):A=D[69];let eU=A;if(!en&&!ea){let e;return D[70]===Symbol.for("react.memo_cache_sentinel")?(e=(0,_.jsx)(_.Fragment,{}),D[70]=e):e=D[70],e}return D[71]===Symbol.for("react.memo_cache_sentinel")?(G=(0,_.jsx)(P.Typography.HeadingText,{order:"h2",children:"ÐбоÑÑдование"}),D[71]=G):G=D[71],D[72]===Symbol.for("react.memo_cache_sentinel")?(W=(0,_.jsx)(v.Spacer,{h:{base:"48",sm:"32"}}),D[72]=W):W=D[72],D[73]===Symbol.for("react.memo_cache_sentinel")?(V={base:"48",sm:"32"},D[73]=V):V=D[73],D[74]!==el||D[75]!==Q||D[76]!==eo||D[77]!==et?(L=(el||eo)&&(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(x.Flex,{gap:"16",direction:"column",align:"flex-start",children:[(0,_.jsx)(f.Checkbox,{id:"slls",size:"lg",variant:"primary",checked:Q,onChange:()=>et?.(!Q),label:"ÐÑÑÑ Ñвое обоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:"ÐÑли Ñ Ð²Ð°Ñ ÐµÑÑÑ Ð¾Ð±Ð¾ÑÑдование ÑовмеÑÑимое Ñ ÑаÑиÑом, Ð²Ñ Ð¼Ð¾Ð¶ÐµÑе оÑказаÑÑÑÑ Ð¾Ñ Ð¿Ñедлагаемого обоÑÑдованиÑ. ТеÑ
ниÑеÑкÑÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÑ Ð¸ÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ Ð²Ð°Ñего обоÑÑÐ´Ð¾Ð²Ð°Ð½Ð¸Ñ ÑÑоÑÐ½Ð¸Ñ Ð¾Ð¿ÐµÑаÑоÑ. СÑоимоÑÑÑ Ð¿Ð»Ð°Ñежей бÑÐ´ÐµÑ Ð¿ÐµÑеÑÑиÑана поÑле конÑÑлÑÑаÑии"})]})}),D[74]=el,D[75]=Q,D[76]=eo,D[77]=et,D[78]=L):L=D[78],D[79]!==eY||D[80]!==el||D[81]!==en||D[82]!==eL||D[83]!==eE||D[84]!==eF?(Y=en&&(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"24",children:[(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"Wi-Fi ÑоÑÑеÑ"}),(0,_.jsx)(P.Typography.Paragraph,{children:"РоÑÑÐµÑ Ð¾Ð±ÐµÑпеÑÐ¸Ð²Ð°ÐµÑ Ð´Ð¾ÑÑÑп к ÑеÑи ÐнÑеÑнеÑ, и Ð´Ð°ÐµÑ Ð²Ð¾Ð·Ð¼Ð¾Ð¶Ð½Ð¾ÑÑÑ Ð¾Ð´Ð½Ð¾Ð²Ñеменно полÑзоваÑÑÑÑ ÑÑлÑгой Ñ Ð½ÐµÑколÑкиÑ
ÑÑÑÑойÑÑв (компÑÑÑеÑÑ, ноÑÑбÑки, ÑелеÑонÑ, планÑеÑÑ, ÑелевизоÑÑ Smart TV и дÑÑгие). ÐодклÑÑиÑÑ Ð²Ð°Ñи ÑÑÑÑойÑÑва к ÑоÑÑеÑÑ Ð¼Ð¾Ð¶Ð½Ð¾ как по пÑоводÑ, Ñак и без его иÑполÑÐ·Ð¾Ð²Ð°Ð½Ð¸Ñ (по ÑеÑ
нологии Wi-Fi)."})]}),el&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(P.Typography.Paragraph,{color:"text-error",children:"ÐбоÑÑдование обÑзаÑелÑно"}),(0,_.jsx)(j.Stack,{gap:"16",children:eE.map(e=>(0,_.jsxs)(g.Groupe,{gap:"16",children:[(0,_.jsx)(b.Radio,{variant:"primary",groupName:e.id,label:e.label,onChange:eY,selected:e.checked?e.value:"",value:e.value}),e.info&&(0,_.jsx)(y.Badge,{size:"sm",variant:"blueberry",text:e.info})]},e.id))})]}),!el&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(w,{onChange:eL,id:"router",label:"ÐклÑÑиÑÑ Ð² ÑаÑиÑ",checked:eF}),eF&&(0,_.jsx)(j.Stack,{gap:"16",children:eE.map(e=>(0,_.jsxs)(g.Groupe,{gap:"16",children:[(0,_.jsx)(b.Radio,{variant:"primary",groupName:e.id,label:e.label,onChange:eY,selected:e.checked?e.value:"",value:e.value}),e.info&&(0,_.jsx)(y.Badge,{size:"sm",variant:"blueberry",text:e.info})]},e.id))})]})]})}),D[79]=eY,D[80]=el,D[81]=en,D[82]=eL,D[83]=eE,D[84]=eF,D[85]=Y):Y=D[85],D[86]!==eU||D[87]!==ea||D[88]!==eo||D[89]!==eV||D[90]!==eO||D[91]!==eG?(U=ea&&(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"24",children:[(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ТÐ-ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:"ЧÑÐ¾Ð±Ñ ÑмоÑÑеÑÑ ÑиÑÑовое Ñелевидение, Ð²Ð°Ñ ÑÐµÐ»ÐµÐ²Ð¸Ð·Ð¾Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑмеÑÑ Ð¾Ð±ÑабаÑÑваÑÑ ÑÑÐ¾Ñ Ñигнал. ÐÑли Ñ Ð½ÐµÐ³Ð¾ Ð½ÐµÑ Ð²ÑÑÑоенного ÑÑнеÑа, поÑÑебÑеÑÑÑ Ð´Ð¾Ð¿Ð¾Ð»Ð½Ð¸ÑелÑное ÑÑÑÑойÑÑво â ÑиÑÑÐ¾Ð²Ð°Ñ Ð¿ÑиÑÑавка. ÐÑ Ð³Ð»Ð°Ð²Ð½Ð°Ñ Ð·Ð°Ð´Ð°Ñа â ÑаÑÑиÑÑоваÑÑ Ñигнал и пеÑедаÑÑ Ð³Ð¾Ñовое изобÑажение на ÑкÑан. Такое ÑÑÑÑойÑÑво можно кÑпиÑÑ Ð¸Ð»Ð¸ аÑендоваÑÑ."})]}),eo&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(P.Typography.Paragraph,{color:"text-error",children:"ÐбоÑÑдование обÑзаÑелÑно"}),(0,_.jsx)(j.Stack,{gap:"16",children:eG.map(e=>(0,_.jsxs)(g.Groupe,{gap:"16",children:[(0,_.jsx)(b.Radio,{variant:"primary",groupName:e.id,label:e.label,onChange:eU,selected:e.checked?e.value:"",value:e.value}),e.info&&(0,_.jsx)(y.Badge,{size:"sm",variant:"blueberry",text:e.info})]},e.id))})]}),!eo&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(w,{onChange:eV,id:"tv-box",label:"ÐклÑÑиÑÑ Ð² ÑаÑиÑ",checked:eO}),eO&&(0,_.jsx)(j.Stack,{gap:"16",children:eG.map(e=>(0,_.jsxs)(g.Groupe,{gap:"16",children:[(0,_.jsx)(b.Radio,{variant:"primary",groupName:e.id,label:e.label,onChange:eU,selected:e.checked?e.value:"",value:e.value}),e.info&&(0,_.jsx)(y.Badge,{size:"sm",variant:"blueberry",text:e.info})]},e.id))})]})]})}),D[86]=eU,D[87]=ea,D[88]=eo,D[89]=eV,D[90]=eO,D[91]=eG,D[92]=U):U=D[92],D[93]!==L||D[94]!==Y||D[95]!==U?(Z=(0,_.jsxs)("div",{children:[G,W,(0,_.jsxs)(j.Stack,{gap:V,children:[L,Y,U]})]}),D[93]=L,D[94]=Y,D[95]=U,D[96]=Z):Z=D[96],Z}],70850);var F=e.i(46556),H=e.i(49128);let R=e=>e?e.replace(/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,"").replace(/<style\b[^<]*(?:(?!<\/style>)<[^<]*)*<\/style>/gi,"").replace(/<iframe\b[^<]*(?:(?!<\/iframe>)<[^<]*)*<\/iframe>/gi,"").replace(/<object\b[^<]*(?:(?!<\/object>)<[^<]*)*<\/object>/gi,"").replace(/<embed\b[^<]*(?:(?!<\/embed>)<[^<]*)*<\/embed>/gi,"").replace(/<link\b[^>]*>/gi,"").replace(/<meta\b[^>]*>
1/gi,"").replace(/\son\w+=("[^"]*"|'[^']*'|[^\s>]+)/gi,"").replace(/\s(href|src)\s*=\s*(["'])\s*javascript:[^"']*\2/gi,"").replace(/\s(href|src)\s*=\s*javascript:[^\s>]+/gi,"").replace(/\ssrcdoc=("[^"]*"|'[^']*'|[^\s>]+)/gi,""):"";e.s(["MoreInfo",0,e=>{let r,i,n,a,l,o,s=(0,t.c)(10),{tariff:c}=e;return c.features||c.prize_info?(s[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h2",children:"ÐодÑобнее о ÑаÑиÑе"}),s[0]=r):r=s[0],s[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,_.jsx)(v.Spacer,{h:{base:"48",sm:"32"}}),s[1]=i):i=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(n={base:"24",sm:"8"},s[2]=n):n=s[2],s[3]!==c.features?(a=c.features&&(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐÑобенноÑÑи ÑаÑиÑа"}),(0,_.jsx)(F.HtmlRenderer,{html:R((0,H.addNbsp)(c.features))})]})}),s[3]=c.features,s[4]=a):a=s[4],s[5]!==c.prize_info?(l=c.prize_info&&(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"Ðб акÑии"}),(0,_.jsx)(F.HtmlRenderer,{html:R((0,H.addNbsp)(c.prize_info))})]})}),s[5]=c.prize_info,s[6]=l):l=s[6],s[7]!==a||s[8]!==l?(o=(0,_.jsxs)("div",{children:[r,i,(0,_.jsxs)(j.Stack,{gap:n,children:[a,l]})]}),s[7]=a,s[8]=l,s[9]=o):o=s[9],o):null}],38431);var M=e.i(94678),E=e.i(51699),A=e.i(68517);let G=(0,A.createIconComponent)({displayName:"IconRemoteControlOutline",viewBox:"0 0 56 56",body:'<path fill-rule="evenodd" d="M39.56 18.547c-.573-2.402-1.272-3.686-1.7-4.216-.855-1.055-3.067-2.831-9.86-2.831-6.793 0-9.005 1.776-9.86 2.831-.55.68-1.273 2.23-1.826 4.849-1.217 5.759-1.145 12.035.14 17.774.628 2.808 1.363 4.315 1.686 4.715.855 1.055 3.067 2.831 9.86 2.831 6.793 0 9.005-1.776 9.86-2.831.428-.53 1.127-1.814 1.7-4.216.56-2.335.94-5.473.94-9.453 0-3.98-.38-7.118-.94-9.453ZM45 28c0-8.5-1.62-14-3.643-16.5C39.333 9 35.556 7 28 7c-7.556 0-11.333 2-13.357 4.5C12.214 14.5 11 21 11 28s1.619 14 3.643 16.5S20.444 49 28 49c7.556 0 11.333-2 13.357-4.5C43.381 42 45 36.5 45 28Z" clip-rule="evenodd"/><path d="M33 23a5 5 0 1 1-10 0 5 5 0 0 1 10 0Z"/><path fill-rule="evenodd" d="M22.916 37.4c1.715-.52 3.543-.9 5.335-.9 1.791 0 3.619.38 5.333.9a2.25 2.25 0 1 0 1.332-4.298C32.773 32.442 30.49 32 28.251 32c-2.238 0-4.518.443-6.66 1.099a2.256 2.256 0 0 0-1.49 2.816 2.25 2.25 0 0 0 2.815 1.484Z" clip-rule="evenodd"/>'});var W=e.i(38587),V=e.i(78600),L=e.i(37470),Y=e.i(13315),U=e.i(44367),Z=e.i(632);let D=e=>{let r,i,n,a,l,o,s,c,d=(0,t.c)(20),{tariff:u}=e;d[0]!==u.sim_minutes?(r=1e4===u.sim_minutes?(0,_.jsx)(M.IconInfinityOutline,{size:24,className:Z.default["icon-color-blueberry50"]}):u.sim_minutes,d[0]=u.sim_minutes,d[1]=r):r=d[1];let p=`${r} минÑÑ`;d[2]!==u.sim_sms?(i=1e4===u.sim_sms?(0,_.jsx)(M.IconInfinityOutline,{size:24,className:Z.default["icon-color-blueberry50"]}):u.sim_sms,d[2]=u.sim_sms,d[3]=i):i=d[3];let m=`${i} SMS`;d[4]!==u.sim_traffic?(n=()=>1e4===u.sim_traffic?(0,_.jsxs)(g.Groupe,{gap:"8",children:[(0,_.jsx)(M.IconInfinityOutline,{size:24,className:Z.default["icon-color-blueberry50"]})," ",(0,_.jsx)(P.Typography.Paragraph,{children:"Ðб"})]}):(0,_.jsx)(P.Typography.Paragraph,{children:`${u.sim_traffic} Ðб`}),d[4]=u.sim_traffic,d[5]=n):n=d[5];let h=n;return d[6]===Symbol.for("react.memo_cache_sentinel")?(a=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐобилÑÐ½Ð°Ñ ÑвÑзÑ"}),d[6]=a):a=d[6],d[7]!==p||d[8]!==u.sim_minutes?(l=null!==u.sim_minutes&&u.sim_minutes>0&&(0,_.jsxs)(g.Groupe,{gap:"8",children:[(0,_.jsx)(L.IconTelephoneOutline,{size:24,className:Z.default["icon-color-blueberry50"]}),(0,_.jsx)(P.Typography.Paragraph,{children:p})]}),d[7]=p,d[8]=u.sim_minutes,d[9]=l):l=d[9],d[10]!==m||d[11]!==u.sim_sms?(o=null!==u.sim_sms&&u.sim_sms>0&&(0,_.jsxs)(g.Groupe,{gap:"8",children:[(0,_.jsx)(E.IconMessageOutline,{size:24,className:Z.default["icon-color-blueberry50"]}),(0,_.jsx)(P.Typography.Paragraph,{children:m})]}),d[10]=m,d[11]=u.sim_sms,d[12]=o):o=d[12],d[13]!==h||d[14]!==u.sim_traffic?(s=null!==u.sim_traffic&&u.sim_traffic>0&&(0,_.jsxs)(g.Groupe,{gap:"8",children:[(0,_.jsx)(W.IconSimcardOutline,{size:24,className:Z.default["icon-color-blueberry50"]}),h()]}),d[13]=h,d[14]=u.sim_traffic,d[15]=s):s=d[15],d[16]!==l||d[17]!==o||d[18]!==s?(c=(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"16",children:[a,l,o,s]})}),d[16]=l,d[17]=o,d[18]=s,d[19]=c):c=d[19],c},K=e=>{let r,i,n,a=(0,t.c)(4),{tariff:l}=e;a[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐнÑеÑнеÑ"}),a[0]=r):r=a[0],a[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,_.jsx)(V.IconSpeedOutline,{size:24,className:Z.default["icon-color-blueberry50"]}),a[1]=i):i=a[1];let o=`СкоÑоÑÑÑ ${l.speed} ÐбиÑ/Ñ`;return a[2]!==o?(n=(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"16",children:[r,(0,_.jsxs)(g.Groupe,{gap:"8",children:[i,(0,_.jsx)(P.Typography.Paragraph,{children:o})]})]})}),a[2]=o,a[3]=n):n=a[3],n},J=e=>{let r,i,n,a,l,o=(0,t.c)(9),{tariff:s}=e,c=s.channels,d=s.hd;if(null===c)return null;o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"Телевидение"}),o[0]=r):r=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,_.jsx)(Y.IconTvOutline,{size:24,className:Z.default["icon-color-blueberry50"]}),o[1]=i):i=o[1];let u=`${c>200?">200":c} ТÐ`;return o[2]!==u?(n=(0,_.jsxs)(g.Groupe,{gap:"8",children:[i,(0,_.jsx)(P.Typography.Paragraph,{children:u})]}),o[2]=u,o[3]=n):n=o[3],o[4]!==d?(a=null!==d&&d>0&&(0,_.jsxs)(g.Groupe,{gap:"8",children:[(0,_.jsx)(G,{size:24,className:Z.default["icon-color-blueberry50"]}),(0,_.jsx)(P.Typography.Paragraph,{children:`${d} HD`})]}),o[4]=d,o[5]=a):a=o[5],o[6]!==n||o[7]!==a?(l=(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"16",children:[r,n,a]})}),o[6]=n,o[7]=a,o[8]=l):l=o[8],l};e.s(["Params",0,e=>{let r,i,n,a,l,o,s,c=(0,t.c)(13),{tariff:d}=e;return c[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h2",children:"ÐаÑамеÑÑÑ"}),c[0]=r):r=c[0],c[1]===Symbol.for("react.memo_cache_sentinel")?(i=(0,_.jsx)(v.Spacer,{h:{base:"48",sm:"32"}}),c[1]=i):i=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(n={base:3,lg:2,md:1},c[2]=n):n=c[2],c[3]!==d?(a=null!==d.speed&&d.speed>0&&(0,_.jsx)(K,{tariff:d}),c[3]=d,c[4]=a):a=c[4],c[5]!==d?(l=null!==d.channels&&d.channels>0&&(0,_.jsx)(J,{tariff:d}),c[5]=d,c[6]=l):l=c[6],c[7]!==d?(o=(null!==d.sim_minutes&&d.sim_minutes>0||null!==d.sim_sms&&d.sim_sms>0||null!==d.sim_traffic&&d.sim_traffic>0)&&(0,_.jsx)(D,{tariff:d}),c[7]=d,c[8]=o):o=c[8],c[9]!==a||c[10]!==l||c[11]!==o?(s=(0,_.jsxs)("div",{children:[r,i,(0,_.jsxs)(U.SimpleGridPrimary,{cols:n,children:[a,l,o]})]}
1),c[9]=a,c[10]=l,c[11]=o,c[12]=s):s=c[12],s}],45244);var Q=e.i(95606),X=e.i(3220);let ee=(0,A.createIconComponent)({displayName:"IconQuestionOutline",viewBox:"0 0 56 56",body:'<path fill-rule="evenodd" d="M31.404 22.371c-.24-1.735-1.672-3.121-3.404-3.121-1.72 0-2.722.556-3.302 1.17-.61.646-.948 1.564-.948 2.58a2.25 2.25 0 0 1-4.5 0c0-1.985.662-4.066 2.177-5.67 1.545-1.636 3.793-2.58 6.573-2.58 4.288 0 7.357 3.364 7.861 7.004a7.748 7.748 0 0 1-1.39 5.629c-.974 1.357-2.393 2.453-4.221 3.218V31a2.25 2.25 0 1 1-4.5 0v-2a2.25 2.25 0 0 1 1.648-2.168c1.863-.517 2.884-1.33 3.418-2.074a3.25 3.25 0 0 0 .588-2.387ZM28 34.75A2.25 2.25 0 0 1 30.25 37v1a2.25 2.25 0 0 1-4.5 0v-1A2.25 2.25 0 0 1 28 34.75Z" clip-rule="evenodd"/><path fill-rule="evenodd" d="M28 11.5c-8.077 0-12.084 1.948-13.318 3.182C13.411 15.953 11.5 19.175 11.5 28s1.91 12.047 3.182 13.318c.692.693 2.187 1.546 4.704 2.203 2.428.633 5.41.979 8.614.979 3.1 0 6.196-.447 8.738-1.15 2.723-.753 4.171-1.623 4.58-2.032C42.589 40.047 44.5 36.825 44.5 28s-1.91-12.047-3.182-13.318C40.084 13.448 36.077 11.5 28 11.5ZM28 7c-8.5 0-14 2-16.5 4.5S7 18.667 7 28s2 14 4.5 16.5c3 3 9.5 4.5 16.5 4.5s14-2 16.5-4.5S49 37.333 49 28s-2-14-4.5-16.5S36.5 7 28 7Z" clip-rule="evenodd"/>'});var et=e.i(47940),er=e.i(38880),ei=e.i(91288);let en=e=>{let r,i,n,a,l,o,s,c,d,u,p,m,h,f,g,b,v,S,T,k=(0,t.c)(50),{service:q,onChange:$}=e,N=`${"credit"===q.equipment_payment_type?"РаÑÑÑоÑка":"rent"===q.equipment_payment_type?"ÐÑенда":"buy"===q.equipment_payment_type?"ÐÑкÑп":""}`,z=q.subscription_payment>0||q.equipment_payment>0||q.equipment_connection_cost>0,B=q.subscription_payment>0,O=q.equipment_payment>0||q.equipment_connection_cost>0,I=q.required>0;k[0]!==$||k[1]!==q?(r=e=>{$(q,e.target.checked)},k[0]=$,k[1]=q,k[2]=r):r=k[2];let F=r;k[3]===Symbol.for("react.memo_cache_sentinel")?(i={base:"24",sm:"16"},n={height:"100%"},k[3]=i,k[4]=n):(i=k[3],n=k[4]),k[5]!==q.category?(a=(0,_.jsx)(y.Badge,{text:q.category,size:"sm",variant:"blueberry"}),k[5]=q.category,k[6]=a):a=k[6];let M=`${et.appConfig.constants.site.SITE_STORAGE_BASE_URL}/additional-services/${q.icon}.png`;return k[7]===Symbol.for("react.memo_cache_sentinel")?(l={objectFit:"contain"},k[7]=l):l=k[7],k[8]!==q.category||k[9]!==M?(o=(0,_.jsx)(er.SchemaOrgImageContainer,{children:(0,_.jsx)(Q.default,{src:M,quality:100,style:l,height:32,width:48,sizes:"48px",alt:q.category,title:q.category,itemProp:"c
1ontentUrl"})}),k[8]=q.category,k[9]=M,k[10]=o):o=k[10],k[11]!==a||k[12]!==o?(s=(0,_.jsxs)(x.Flex,{direction:"row",justify:"space-between",align:"flex-start",children:[a,o]}),k[11]=a,k[12]=o,k[13]=s):s=k[13],k[14]!==q.name?(c=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:q.name}),k[14]=q.name,k[15]=c):c=k[15],k[16]===Symbol.for("react.memo_cache_sentinel")?(d={marginTop:"auto"},k[16]=d):d=k[16],k[17]!==z?(u=!z&&(0,_.jsx)(P.Typography.Paragraph,{children:"ÐеÑплаÑно"}),k[17]=z,k[18]=u):u=k[18],k[19]!==N||k[20]!==z||k[21]!==O||k[22]!==B||k[23]!==q.equipment_connection_cost||k[24]!==q.equipment_payment||k[25]!==q.equipment_payment_period||k[26]!==q.subscription_payment?(p=z&&(0,_.jsxs)(_.Fragment,{children:[B&&(0,_.jsxs)(x.Flex,{direction:"row",gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐодпиÑка"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${q.subscription_payment} â½/меÑ`})]}),O&&(0,_.jsxs)(j.Stack,{gap:"4",children:["РаÑÑÑоÑка"===N&&q.equipment_payment>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(x.Flex,{direction:"row",gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${q.equipment_payment} â½/меÑ`})]}),q.equipment_payment_period>0&&(0,_.jsx)(y.Badge,{text:`${N} на ${q.equipment_payment_period} меÑ.`,size:"sm",variant:"base",outline:!0,style:{alignSelf:"flex-start"}})]}),"ÐÑенда"===N&&q.equipment_payment>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(x.Flex,{direction:"row",gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${q.equipment_payment} â½/меÑ`})]}),(0,_.jsx)(y.Badge,{text:N,size:"sm",variant:"base",outline:!0,style:{alignSelf:"flex-start"}})]}),"ÐÑкÑп"===N&&q.equipment_payment>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(x.Flex,{direction:"row",gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${q.equipment_payment} â½`})]}),(0,_.jsx)(y.Badge,{text:`${N}`,size:"sm",variant:"base",outline:!0,style:{alignSelf:"flex-start"}})]}),q.equipment_connection_cost>0&&(0,_.jsxs)(_.Fragment,{children:[(0,_.jsxs)(x.Flex,{direction:"row",gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${q.equipment_connection_cost} â½`})]}),(0,_.jsx)(y.Badge,{text:"ÐодклÑÑение",size:"sm",variant:"base",outline:!0,style:{alignSelf:"flex-start"}})]})]})]}),k[19]=N,k[20]=z,k[21]=O,k[22]=B,k[23]=q.equipment_connection_cost,k[24]=q.equipment_payment,k[25]=q.equipment_payment_period,k[26]=q.subscription_payment,k[27]=p):p=k[27],k[28]!==u||k[29]!==p?(m=(0,_.jsx)(X.Box,{colorBg:"bg-base-2",radius:"12",py:"8",px:"16",style:d,children:(0,_.jsxs)(j.Stack,{gap:"16",children:[u,p]})}),k[28]=u,k[29]=p,k[30]=m):m=k[30],k[31]!==I||k[32]!==F||k[33]!==q.checked||k[34]!==q.id?(h=!I&&(0,_.jsx)(w,{onChange:F,id:`${q.id}`,checked:q.checked??!1}),k[31]=I,k[32]=F,k[33]=q.checked,k[34]=q.id,k[35]=h):h=k[35],k[36]===Symbol.for("react.memo_cache_sentinel")?(f=(0,_.jsx)("span",{}),k[36]=f):f=k[36],k[37]===Symbol.for("react.memo_cache_sentinel")?(g=(0,_.jsx)(ee,{size:24,className:ei.default["icon-color-secondary"]}),k[37]=g):g=k[37],k[38]!==q.description?(b=R((0,H.addNbsp)((0,H.convertTextToLinkString)(q.description))),k[38]=q.description,k[39]=b):b=k[39],k[40]!==b?(v=(0,_.jsxs)("div",{className:ei.default["tooltip-trigger"],children:[g,(0,_.jsx)("div",{className:ei.default["tooltip-wrapper"],children:(0,_.jsx)("div",{className:ei.default.tooltip,children:(0,_.jsx)("div",{className:ei.default["tooltip-content"],dangerouslySetInnerHTML:{__html:b}})})})]}),k[40]=b,k[41]=v):v=k[41],k[42]!==h||k[43]!==v?(S=(0,_.jsxs)("div",{className:ei.default.bottom,children:[h,f,v]}),k[42]=h,k[43]=v,k[44]=S):S=k[44],k[45]!==m||k[46]!==S||k[47]!==s||k[48]!==c?(T=(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:i,style:n,children:[s,c,m,S]})}),k[45]=m,k[46]=S,k[47]=s,k[48]=c,k[49]=T):T=k[49],T};e.s(["Services",0,e=>{let r,i,n,a,l,o,s=(0,t.c)(14),{title:c,services:d,onChange:u}=e;if(s[0]!==c?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h2",children:c}),s[0]=c,s[1]=r):r=s[1],s[2]===Symbol.for("react.memo_cache_sentinel")?(i=(0,_.jsx)(v.Spacer,{h:{base:"48",sm:"32"}}),s[2]=i):i=s[2],s[3]===Symbol.for("react.memo_cache_sentinel")?(n={base:3,lg:2,md:1},s[3]=n):n=s[3],s[4]!==u||s[5]!==d){let e;s[7]!==u?(e=e=>(0,_.jsx)(en,{service:e,onChange:u},e.id),s[7]=u,s[8]=e):e=s[8],a=d.map(e),s[4]=u,s[5]=d,s[6]=a}else a=s[6];return s[9]!==a?(l=(0,_.jsx)(U.SimpleGridPrimary,{cols:n,children:a}
1),s[9]=a,s[10]=l):l=s[10],s[11]!==r||s[12]!==l?(o=(0,_.jsxs)("div",{children:[r,i,l]}),s[11]=r,s[12]=l,s[13]=o):o=s[13],o}],48954);var ea=e.i(68310);let el=e=>{let r,i,n,a,l,o,s,c,d=(0,t.c)(35),{viewModel:u,variant:p}=e,m=void 0===p?"desktop":p,{equipmentDetails:h,selectedServices:y,tariff:f}=u,b=null!==f.prize_abon_cost&&f.prize_abon_cost>=0?f.prize_abon_cost:f.abon_cost,v=null!==f.prize_abon_cost&&f.prize_abon_cost>=0;if(d[0]!==h||d[1]!==v||d[2]!==b||d[3]!==f.abon_cost||d[4]!==f.connection_cost||d[5]!==m){let e,t,s=h.filter(eo);r=j.Stack,i="16",d[12]===Symbol.for("react.memo_cache_sentinel")?(n=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ТаÑиÑ"}),d[12]=n):n=d[12],d[13]!==v||d[14]!==b||d[15]!==f.abon_cost||d[16]!==m?(e=null!==b&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"mobile"===m?"СÑоимоÑÑÑ":"ТаÑиÑ"}),(0,_.jsxs)(g.Groupe,{gap:"4",children:[v&&(0,_.jsx)(P.Typography.Paragraph,{color:"text-caption",style:{textDecoration:"line-through"},children:`${f.abon_cost} â½/меÑ`}),(0,_.jsx)(P.Typography.Paragraph,{color:v?"text-error":"text-primary",children:`${b} â½/Ð¼ÐµÑ ${v?"*":""}`})]})]}),d[13]=v,d[14]=b,d[15]=f.abon_cost,d[16]=m,d[17]=e):e=d[17],d[18]!==v?(t=v&&(0,_.jsx)(P.Typography.Paragraph,{color:"text-error",children:"* Цена на пеÑиод акÑии"}),d[18]=v,d[19]=t):t=d[19],d[20]!==e||d[21]!==t?(a=(0,_.jsxs)(j.Stack,{gap:"8",children:[e,t]}),d[20]=e,d[21]=t,d[22]=a):a=d[22],d[23]!==f.connection_cost?(l=null!==f.connection_cost&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐодклÑÑение"}),(0,_.jsx)(P.Typography.Paragraph,{children:f.connection_cost>0?`${f.connection_cost} â½`:"беÑплаÑно"})]}),d[23]=f.connection_cost,d[24]=l):l=d[24],o=h.length>0&&(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐбоÑÑдование"}),["buy","rent"].map(e=>{let t=s.filter(t=>t.value===e);return 0===t.length?null:(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsx)(P.Typography.Paragraph,{color:"text-caption",children:"buy"===e?"ÐÑкÑп":"ÐÑенда"}),t.map(t=>(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:t.type}),(0,_.jsx)(P.Typography.Paragraph,{children:"buy"===e?`${t.buy} â½`:`${t.rent} â½/меÑ`})]},t.id))]},e)}),s.some(es)&&(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsx)(P.Typography.Paragraph,{color:"text-caption",children:"РаÑÑÑоÑка"}),s.filter(ec).map(ed)]})]}),d[0]=h,d[1]=v,d[2]=b,d[3]=f.abon_cost,d[4]=f.connection_cost,d[5]=m,d[6]=r,d[7]=i,d[8]=n,d[9]=a,d[10]=l,d[11]=o}else r=d[6],i=d[7],n=d[8],a=d[9],l=d[10],o=d[11];return d[25]!==y?(s=y.length>0&&(0,_.jsxs)(j.Stack,{gap:"16",children:[(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐополниÑелÑно"}),y.map(eu)]}),d[25]=y,d[26]=s):s=d[26],d[27]!==r||d[28]!==i||d[29]!==n||d[30]!==a||d[31]!==l||d[32]!==o||d[33]!==s?(c=(0,_.jsxs)(r,{gap:i,children:[n,a,l,o,s]}),d[27]=r,d[28]=i,d[29]=n,d[30]=a,d[31]=l,d[32]=o,d[33]=s,d[34]=c):c=d[34],c};function eo(e){return e.checked}function es(e){return"credit"===e.value}function ec(e){return"credit"===e.value}function ed(e){return(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsx)(P.Typography.Paragraph,{children:e.type}),(0,_.jsx)(X.Box,{py:"16",px:"12",radius:"12",colorBg:"bg-base-2",children:(0,_.jsxs)(j.Stack,{gap:"8",children:[e.credit_fp&&e.credit_fp>0&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐеÑвÑй плаÑеж"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.credit_fp} â½`})]}),e.credit&&e.credit>0&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐжемеÑÑÑнÑй плаÑеж"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.credit} â½/меÑ`})]}),e.period&&e.period>0&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"Ðол-во меÑÑÑев"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.period} меÑ`})]})]})})]},e.id)}function eu(e){let t=e.subscription_payment<=0&&e.equipment_payment<=0&&e.equipment_connection_cost<=0;return(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsx)(P.Typography.Paragraph,{children:e.name}),(0,_.jsx)(X.Box,{py:"16",px:"12",radius:"12",colorBg:"bg-base-2",children:(0,_.jsxs)(j.Stack,{gap:"8",children:[t&&(0,_.jsx)(P.Typography.Paragraph,{children:"ÐеÑплаÑно"}),e.subscription_payment>0&&(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐодпиÑка"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.subscription_payment} â½/меÑ`})]}),e.equipment_payment>0&&(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.equipment_payment} ${"buy"===e.equipment_payment_type?"â½":"â½/меÑ"}`})]}),(0,_.jsx)(y.Badge,{style:{alignSelf:"flex-start"},size:"sm",variant:"base",outline:!0,text:"buy"===e.equipment_payment_type?"ÐÑкÑп":"rent"===e.equipment_payment_type?"ÐÑенда":`РаÑÑÑоÑка на ${e.equipment_payment_period} меÑ`})]}),e.equipment_connection_cost>0&&(0,_.jsxs)(j.Stack,{gap:"8",children:[(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"ÐбоÑÑдование"}),(0,_.jsx)(P.Typography.Paragraph,{children:`${e.equipment_connection_cost} â½`})]}),(0,_.jsx)(y.Badge,{size:"sm",variant:"base",outline:!0,text:"ÐодклÑÑение",style:{alignSelf:"flex-start"}})]})]})})]},e.id)}e.s(["CalculatorContent",0,el],94566);let ep=e=>{let r,i,n,a,l,o=(0,t.c)(9),{summary:s}=e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.Paragraph,{children:"ÐеÑвÑй плаÑеж"}),o[0]=r):r=o[0],o[1]!==s.firstPayment?(i=(0,_.jsx)(j.Stack,{gap:"8",children:(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[r,(0,_.jsx)(P.Typography.Paragraph,{children:s.firstPayment})]})}),o[1]=s.firstPayment,o[2]=i):i=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(n=(0,_.jsx)(P.Typography.Paragraph,{children:"ÐжемеÑÑÑно"}),o[3]=n):n=o[3],o[4]!==s.monthlyPayment?(a=(0,_.jsx)(j.Stack,{gap:"8",children:(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[n,(0,_.jsx)(P.Typography.Paragraph,{children:s.monthlyPayment})]})}),o[4]=s.monthlyPayment,o[5]=a):a=o[5],o[6]!==i||o[7]!==a?(l=(0,_.jsxs)(_.Fragment,{children:[i,a]}),o[6]=i,o[7]=a,o[8]=l):l=o[8],l},em=e=>{let r,i,n,a,l=(0,t.c)(9),{viewModel:o}=e,{summary:s,tariff:c}=o;return l[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h3",children:"ÐÑого:"}),l[0]=r):r=l[0],l[1]!==s?(i=(0,_.jsx)(ep,{summary:s}),l[1]=s,l[2]=i):i=l[2],l[3]!==c.discount_in_money||l[4]!==c.discount_percent?(n=(c.discount_percent>0||c.discount_in_money>0)&&(0,_.jsx)(j.Stack,{gap:"8",children:(0,_.jsxs)(x.Flex,{gap:"16",align:"center",justify:"space-between",children:[(0,_.jsx)(P.Typography.Paragraph,{children:"Скидка на ÑаÑиÑ"}),(0,_.jsxs)(x.Flex,{direction:"row",gap:"8",wrap:"wrap",children:[c.discount_in_money>0&&(0,_.jsx)(y.Badge,{size:"sm",variant:"green",text:`-${c.discount_in_money} â½`}),c.discount_percent>0&&(0,_.jsx)(y.Badge,{size:"sm",variant:"cherry",text:`-${c.discount_percent}%`})]})]})}),l[3]=c.discount_in_money,l[4]=c.discount_percent,l[5]=n):n=l[5],l[6]!==i||l[7]!==n?(a=(0,_.jsxs)(j.Stack,{gap:"16",children:[r,i,n]}),l[6]=i,l[7]=n,l[8]=a):a=l[8],a};e.s(["CalculatorTotals",0,em],79403);var eh=e.i(10192);e.s(["CalculatorDesktopShell",0,e=>{let r,i,n,a,l,o=(0,t.c)(10),{viewModel:s,onOrder:c}=e;return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=(0,_.jsx)(P.Typography.HeadingText,{order:"h2",children:"ÐаÑвка"}),o[0]=r):r=o[0],o[1]!==s?(i=(0,_.jsx)(el,{viewModel:s}),n=(0,_.jsx)(em,{viewModel:s}),o[1]=s,o[2]=i,o[3]=n):(i=o[2],n=o[3]),o[4]!==c?(a=(0,_.jsx)("div",{className:eh.default.bottom,children:(0,_.jsx)(ea.Button,{size:"lg",variant:"primary",text:"ÐодклÑÑиÑÑ",onClick:c})}),o[4]=c,o[5]=a):a=o[5],o[6]!==i||o[7]!==n||o[8]!==a?(l=(0,_.jsx)("div",{className:eh.default.calc,children:(0,_.jsx)(C.CardPrimary,{children:(0,_.jsxs)(j.Stack,{gap:"32",children:[r,i,n,a]})})}),o[6]=i,o[7]=n,o[8]=a,o[9]=l):l=o[9],l}],67046)},58321,e=>{e.v({body:"calculator-mobile-shell-module-scss-module__uy-OVa__body",bottom:"calculator-mobile-shell-module-scss-module__uy-OVa__bottom","bottom-open":"calculator-mobile-shell-module-scss-module__uy-OVa__bottom-open","calc-mobile":"calculator-mobile-shell-module-scss-module__uy-OVa__calc-mobile","calc-mobile-open":"calculator-mobile-shell-module-scss-module__uy-OVa__calc-mobile-open",categories:"calculator-mobile-shell-module-scss-module__uy-OVa__categories",content:"calculator-mobile-shell-module-scss-module__uy-OVa__content",top:"calculator-mobile-shell-module-scss-module__uy-OVa__top"})},54303,e=>{e.v({info:"tariff-calculator-module-scss-module__8sz_VG__info",wrapper:"tariff-calculator-module-scss-module__8sz_VG__wrapper"})},92369,e=>{"use strict";var t=e.i(16871),r=e.i(70851),i=e.i(42497),n=e.i(46498);e.i(24854);var a=e.i(65964),l=e.i(88211),o=e.i(27580),s=e.i(18133);e.i(96272);var c=e.i(34176);e.i(56657);var d=e.i(68752),u=e.i(70850),p=e.i(38431),m=e.i(45244),h=e.i(48954),_=e.i(67046),y=e.i(7284),f=e.i(18864),x=e.i(33126),g=e.i(68310),b=e.i(22404),v=e.i(13846),j=e.i(25563);let S=(0,e.i(30472).create)(e=>({show:!1,open:()=>e({show:!0}),close:()=>e({show:!1})}));var T=e.i(94566),w=e.i(79403),P=e.i(58321);let C=e=>{let i,n,a,l,o,s,c,d,u,p,m,h,_,C,q,$,N,z=(0,r.c)(37),{viewModel:B,onOrder:O}=e,{show:I,open:F,close:H}=S();z[0]!==I?(i=()=>(document.body.style.overflow=I?"hidden":"auto",k),n=[I],z[0]=I,z[1]=i,z[2]=n):(i=z[1],n=z[2]),(0,f.useEffect)(i,n),z[3]!==I?(a=(0,y.default)([P.default["calc-mobile"]],{[P.default["calc-mobile-open"]]:I}),z[3]=I,z[4]=a):a=z[4];let R=I?"auto":0;z[5]===Symbol.for("react.memo_cache_sentinel")?(l={width:"100%"},z[5]=l):l=z[5],z[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(b.Typography.HeadingText,{order:"h2",children:"ÐаÑвка"}),z[6]=o):o=z[6],z[7]!==H?(s=(0,t.jsxs)("div",{className:P.default.top,children:[o,(0,t.jsx)(g.Button,{variant:"no-bg",icon:j.IconCloseOutline,size:"sm",onClick:H})]}),z[7]=H,z[8]=s):s=z[8],z[9]!==B?(c=(0,t.jsx)("div",{className:P.default.categories,children:(0,t.jsx)(T.CalculatorContent,{viewModel:B,variant:"mobile"})}),z[9]=B,z[10]=c):c=z[10],z[11]!==s||z[12]!==c?(d=(0,t.jsxs)("div",{className:P.default.body,children:[s,c]}),z[11]=s,z[12]=c,z[13]=d):d=z[13],z[14]!==R||z[15]!==d?(u=(0,t.jsx)(x.default,{duration:300,height:R,style:l,children:d}),z[14]=R,z[15]=d,z[16]=u):u=z[16],z[17]!==I?(p=(0,y.default)([P.default.bottom],{[P.default["bottom-open"]]:I}),z[17]=I,z[18]=p):p=z[18];let M=I?H:F;return z[19]===Symbol.for("react.memo_cache_sentinel")?(m={width:"32px"},z[19]=m):m=z[19],z[20]!==M?(h=(0,t.jsx)(g.Button,{variant:"no-bg",icon:v.IconArrowTopOutline,size:"sm",onClick:M,style:m}),z[20]=M,z[21]=h):h=z[21],z[22]!==B?(_=(0,t.jsx)(w.CalculatorTotals,{viewModel:B}),z[22]=B,z[23]=_):_=z[23],z[24]!==O?(C=(0,t.jsx)(g.Button,{size:"lg",variant:"primary",text:"ÐодклÑÑиÑÑ",onClick:O,fullWidth:!0}),z[24]=O,z[25]=C):C=z[25],z[26]!==p||z[27]!==h||z[28]!==_||z[29]!==C?(q=(0,t.jsxs)("div",{className:p,children:[h,_,C]}),z[26]=p,z[27]=h,z[28]=_,z[29]=C,z[30]=q):q=z[30],z[31]!==u||z[32]!==q?($=(0,t.jsxs)("div",{className:P.default.content,children:[u,q]}),z[31]=u,z[32]=q,z[33]=$):$=z[33],z[34]!==$||z[35]!==a?(N=(0,t.jsx)("div",{className:a,children:$}),z[34]=$,z[35]=a,z[36]=N):N=z[36],N};function k(){document.body.style.overflow="auto"}var q=e.i(54303);function $(e){return e.required>0}function N(e){return e.required<=0}function z(e){return e.checked}e.s(["TariffCalculator",0,e=>{let y,f,x,g,b,v,j,S,T,w,P,k,B,O,I,F,H,R,M,E,A,G,W,V,L,Y,U,Z,D,K=(0,r.c)(99),{tariff:J,locationName:Q,locationPrepositional:X,locationUrl:ee}=e,{dispatch:et,state:er,summary:ei,tariff:en}=(0,o.useTariffCalculator)(J);K[0]!==en||K[1]!==er?(y=(0,l.buildOrderPayload)({tariff:en,state:er}),K[0]=en,K[1]=er,K[2]=y):y=K[2];let ea=y;
1K[3]!==en.router||K[4]!==en.tvBox||K[5]!==er?(f=(0,a.buildEquipmentDetailViewModel)({router:en.router,tvBox:en.tvBox,state:er}),K[3]=en.router,K[4]=en.tvBox,K[5]=er,K[6]=f):f=K[6];let{router:el,tvBox:eo}=f,es=er.ownEquipment;K[7]!==J.router_buy||K[8]!==J.router_credit||K[9]!==J.router_credit_first_payment||K[10]!==J.router_install||K[11]!==J.router_period||K[12]!==J.router_rent||K[13]!==J.router_require?(x={router_require:J.router_require,router_install:J.router_install,router_rent:J.router_rent,router_credit:J.router_credit,router_credit_first_payment:J.router_credit_first_payment,router_period:J.router_period,router_buy:J.router_buy},K[7]=J.router_buy,K[8]=J.router_credit,K[9]=J.router_credit_first_payment,K[10]=J.router_install,K[11]=J.router_period,K[12]=J.router_rent,K[13]=J.router_require,K[14]=x):x=K[14];let ec=x;K[15]!==J.console_buy||K[16]!==J.console_credit||K[17]!==J.console_credit_first_payment||K[18]!==J.console_install||K[19]!==J.console_period||K[20]!==J.console_rent||K[21]!==J.console_require?(g={console_require:J.console_require,console_install:J.console_install,console_rent:J.console_rent,console_credit:J.console_credit,console_credit_first_payment:J.console_credit_first_payment,console_period:J.console_period,console_buy:J.console_buy},K[15]=J.console_buy,K[16]=J.console_credit,K[17]=J.console_credit_first_payment,K[18]=J.console_install,K[19]=J.console_period,K[20]=J.console_rent,K[21]=J.console_require,K[22]=g):g=K[22];let ed=g;if(K[23]!==el||K[24]!==er.selectedServiceIds||K[25]!==ei||K[26]!==J||K[27]!==eo){let e;j=J.additional_services.filter($),v=J.additional_services.filter(N),K[35]!==er.selectedServiceIds?(e=e=>({...e,checked:er.selectedServiceIds.includes(e.id)}),K[35]=er.selectedServiceIds,K[36]=e):e=K[36],b=v.map(e),S=J,T=ei,K[37]!==el||K[38]!==eo?(w=[...el,...eo],K[37]=el,K[38]=eo,K[39]=w):w=K[39],P=[...j,...b.filter(z)],K[23]=el,K[24]=er.selectedServiceIds,K[25]=ei,K[26]=J,K[27]=eo,K[28]=b,K[29]=v,K[30]=j,K[31]=S,K[32]=T,K[33]=w,K[34]=P}else b=K[28],v=K[29],j=K[30],S=K[31],T=K[32],w=K[33],P=K[34];K[40]!==S||K[41]!==T||K[42]!==w||K[43]!==P?(k={tariff:S,summary:T,equipmentDetails:w,selectedServices:P},K[40]=S,K[41]=T,K[42]=w,K[43]=P,K[44]=k):k=K[44];let eu=k;K[45]!==ea||K[46]!==er.ownEquipment||K[47]!==J?(B={tariff:J,payload:ea,ownEquipment:er.ownEquipment},K[45]=ea,K[46]=er.ownEquipment,K[47]=J,K[48]=B):B=K[48];let ep=(0,s.useCalculatorOrder)(B);K[49]!==et?(O=(e,t)=>{et({type:"select-service",serviceId:e.id,selected:t})},K[49]=et,K[50]=O):O=K[50];let em=O;K[51]!==et?(I=e=>et({type:"select-router-payment",payment:e}),K[51]=et,K[52]=I):I=K[52];let eh=I;K[53]!==et?(F=e=>et({type:"select-tv-box-payment",payment:e}),K[53]=et,K[54]=F):F=K[54];let e_=F;K[55]!==et?(H=e=>et({type:"set-own-equipment",value:e}),K[55]=et,K[56]=H):H=K[56];let ey=H;return K[57]===Symbol.for("react.memo_cache_sentinel")?(R={base:"24",sm:"8"},K[57]=R):R=K[57],K[58]===Symbol.for("react.memo_cache_sentinel")?(M={base:"48",sm:"32"},K[58]=M):M=K[58],K[59]!==J?(E=(0,t.jsx)(m.Params,{tariff:J}),K[59]=J,K[60]=E):E=K[60],K[61]!==em||K[62]!==j?(A=j.length>0&&(0,t.jsx)(h.Services,{title:"ÐклÑÑено в ÑаÑиÑ",services:j,onChange:em}),K[61]=em,K[62]=j,K[63]=A):A=K[63],K[64]!==es||K[65]!==ey||K[66]!==eh||K[67]!==e_||K[68]!==ec||K[69]!==er.routerPayment||K[70]!==er.tvBoxPayment||K[71]!==ed?(G=(0,t.jsx)(u.Equipment,{router:ec,tvBox:ed,isSelfEquip:es,onRouterPaymentChange:eh,onTvBoxPaymentChange:e_,onOwnEquipmentChange:ey,routerPayment:er.routerPayment,tvBoxPayment:er.tvBoxPayment}),K[64]=es,K[65]=ey,K[66]=eh,K[67]=e_,K[68]=ec,K[69]=er.routerPayment,K[70]=er.tvBoxPayment,K[71]=ed,K[72]=G):G=K[72],K[73]!==b||K[74]!==em||K[75]!==v.length?(W=v.length>0&&(0,t.jsx)(h.Services,{title:"ÐодклÑÑение опÑий",services:b,onChange:em}),K[73]=b,K[74]=em,K[75]=v.length,K[76]=W):W=K[76],K[77]!==J?(V=(0,t.jsx)(p.MoreInfo,{tariff:J}),K[77]=J,K[78]=V):V=K[78],K[79]!==E||K[80]!==A||K[81]!==G||K[82]!==W||K[83]!==V?(L=(0,t.jsxs)(n.Stack,{gap:M,className:q.default.info,children:[E,A,G,W,V]}),K[79]=E,K[80]=A,K[81]=G,K[82]=W,K[83]=V,K[84]=L):L=K[84],K[85]!==ep||K[86]!==eu?(Y=(0,t.jsx)(_.CalculatorDesktopShell,{viewModel:eu,onOrder:ep}),U=(0,t.jsx)(C,{viewModel:eu,onOrder:ep}),K[85]=ep,K[86]=eu,K[87]=Y,K[88]=U):(Y=K[87],U=K[88]),K[89]!==L||K[90]!==Y||K[91]!==U?(Z=(0,t.jsx)(d.
1Container,{children:(0,t.jsxs)(i.Flex,{className:q.default.wrapper,align:"flex-start",gap:R,children:[L,Y,U]})}),K[89]=L,K[90]=Y,K[91]=U,K[92]=Z):Z=K[92],K[93]!==Q||K[94]!==X||K[95]!==ee||K[96]!==Z||K[97]!==J?(D=(0,t.jsx)(c.SchemaOrgProduct,{tariff:J,locationName:Q,locationPrepositional:X,locationUrl:ee,children:Z}),K[93]=Q,K[94]=X,K[95]=ee,K[96]=Z,K[97]=J,K[98]=D):D=K[98],D}],92369)},91404,e=>{e.v({"control-mobile":"control-module-scss-module__ME-QtG__control-mobile",select:"control-module-scss-module__ME-QtG__select"})},7914,e=>{e.v({block:"filters-module-scss-module__-uYwbW__block","block-sticky":"filters-module-scss-module__-uYwbW__block-sticky","block-sticky-show":"filters-module-scss-module__-uYwbW__block-sticky-show",body:"filters-module-scss-module__-uYwbW__body",chevron:"filters-module-scss-module__-uYwbW__chevron","chevron-open":"filters-module-scss-module__-uYwbW__chevron-open","content-col":"filters-module-scss-module__-uYwbW__content-col","content-row":"filters-module-scss-module__-uYwbW__content-row",filters:"filters-module-scss-module__-uYwbW__filters","filters-button-close":"filters-module-scss-module__-uYwbW__filters-button-close","filters-show":"filters-module-scss-module__-uYwbW__filters-show","filters-title":"filters-module-scss-module__-uYwbW__filters-title","item-wrapper":"filters-module-scss-module__-uYwbW__item-wrapper",loader:"filters-module-scss-module__-uYwbW__loader",modal:"filters-module-scss-module__-uYwbW__modal",top:"filters-module-scss-module__-uYwbW__top","top-block":"filters-module-scss-module__-uYwbW__top-block"})},11769,e=>{e.v({"button-add-show-index":"tariffs-grid-component-module-scss-module__xi7-KW__button-add-show-index",loader:"tariffs-grid-component-module-scss-module__xi7-KW__loader","rates-wrapper":"tariffs-grid-component-module-scss-module__xi7-KW__rates-wrapper",wrapper:"tariffs-grid-component-module-scss-module__xi7-KW__wrapper","wrapper-content":"tariffs-grid-component-module-scss-module__xi7-KW__wrapper-content"})},83552,e=>{"use strict";var t=e.i(16871),r=e.i(70851),i=e.i(18864);let n=(0,i.createContext)(void 0),a=e=>{let a,l,o,s=(0,r.c)(6),{children:c}=e,[d,u]=(0,i.useTransition)();s[0]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{u(e)},s[0]=a):a=s[0];let p=a;return s[1]!==d?(l={isPending:d,startTransition:p},s[1]=d,s[2]=l):l=s[2],s[3]!==c||s[4]!==l?(o=(0,t.jsx)(n.Provider,{value:l,children:c}),s[3]=c,s[4]=l,s[5]=o):o=s[5],o};var l=e.i(68310),o=e.i(48996),s=e.i(42497),c=e.i(9801),d=e.i(46498);let u=(e,t)=>{let r=Number(e);return r<t.min?`${t.min}`:r>t.max?`${t.max}`:e},p={providers:[],min:"",max:"",speed:"",equipment:[],additional:[],additionalServices:[]},m="promotion",h="sales-hit",_="free-connection",y={ÐкÑиÑ:m,"ХиÑÑ Ð¿Ñодаж":h,"ÐеÑплаÑное подклÑÑение":_},f=["providers","min","max","speed","equipment","additional","additional_services"],x=(e,t)=>e instanceof URLSearchParams?e.get(t)||void 0:e[t],g=e=>e?.split(",").map(e=>e.trim()).filter(Boolean)||[],b=e=>encodeURIComponent(e).replace(/%20/g,"+").replace(/%2C/g,",");var v=e.i(36304);let j=(e,t)=>{let r={providers:g(x(e,"providers")),min:x(e,"min")||"",max:x(e,"max")||"",speed:x(e,"speed")||"",equipment:g(x(e,"equipment")),additional:g(x(e,"additional")).map(e=>y[e]||e),additionalServices:g(x(e,"additional_services"))};return{...r,speed:r.speed||t.speeds.find(e=>e.checked)?.speed||"0"}};var S=e.i(18778),T=e.i(49128),w=e.i(47940);let P=e=>{let i,n,a,l,o=(0,r.c)(10),{h1:s,url:c,locationPrepositional:d}=e;if(o[0]!==s||o[1]!==d||o[2]!==c)n="application/ld+json",i=JSON.stringify({"@context":"https://schema.org","@type":"QAPage",mainEntity:{"@type":"Question",name:s,text:`Ðак найÑи пÑовайдеÑа по адÑеÑÑ ${d}?`,dateCreated:(0,S.getCurrentYearAndMonthIso)(),acceptedAnswer:{"@type":"Answer",text:`ÐведиÑе адÑÐµÑ â покажем вÑеÑ
пÑовайдеÑов ${d}. СÑавниÑе ÑаÑиÑÑ. ÐÑÑавÑÑе заÑÐ²ÐºÑ Ð¾Ð½Ð»Ð°Ð¹Ð½!`,datePublished:(0,S.getCurrentYearAndMonthIso)(),url:(0,T.removeTrailingSlash)(`${w.appConfig.constants.site.SITE_ROOT_URL}${c}`),upvoteCount:124,author:{"@type":"Organization",name:w.appConfig.constants.site.SITE_ROOT_URL_NOT_HTTPS,url:(0,T.removeTrailingSlash)(`${w.appConfig.constants.site.SITE_ROOT_URL}`)}},answerCount:1}}),o[0]=s,o[1]=d,o[2]=c,o[3]=i,o[4]=n;else i=o[3],n=o[4];return o[5]!==i?(a={__html:i},o[5]=i,o[6]=a):a=o[6],o[7]!==n||o[8]!==a?(l=(0,t.jsx)("script",{type:n,dangerouslySetInnerHTML:a}),o[7]=n,o[8]=a,o[9]=l):l=o[9],l};e.i(56657);var C=e.i(68752);let k=(0,e.i(30472).create)(e=>({show:!1,open:()=>e({show:!0}),close:()=>e({show:!1})}));var q=e.i(3220),$=e.i(49958),N=e.i(22404),z=e.i(1915),B=e.i(91404);let O=e=>{let i,n,a,o,c,d,u,p,m,h,_=(0,r.c)(23),{count:y,isPending:f,onResetFilters:x,options:g,onChange:b}=e,{open:v}=k();if(0===y)return null;_[0]!==v?(i=(0,t.jsx)(l.Button,{text:"ФилÑÑÑÑ",size:"sm",variant:"primary",outline:!0,onClick:v,iconDirection:"left",icon:z.IconFilterOutline}),_[0]=v,_[1]=i):i=_[1],_[2]!==f||_[3]!==x?(n=(0,t.jsx)(l.Button,{text:"СбÑоÑиÑÑ",size:"sm",variant:"base",disabled:f,onClick:x}),_[2]=f,_[3]=x,_[4]=n):n=_[4],_[5]!==i||_[6]!==n?(a=(0,t.jsx)(q.Box,{colorBg:"bg-box",radius:"16",py:"16",px:"20",className:B.default["control-mobile"],children:(0,t.jsxs)(s.Flex,{direction:"row",align:"center",gap:"8",justify:"space-between",children:[i,n]})}),_[5]=i,_[6]=n,_[7]=a):a=_[7],_[8]===Symbol.for("react.memo_cache_sentinel")?(o={base:"row",md:"column"},c={base:"center",md:"flex-start"},_[8]=o,_[9]=c):(o=_[8],c=_[9]),_[10]!==y?(d=(0,T.declinationByNumber)(y,["ÑаÑиÑ","ÑаÑиÑа","ÑаÑиÑов"]),_[10]=y,_[11]=d):d=_[11];let j=`${y} ${d}`;return _[12]!==j?(u=(0,t.jsx)(N.Typography.Paragraph,{size:"md",color:"text-caption",children:j}),_[12]=j,_[13]=u):u=_[13],_[14]!==b||_[15]!==g?(p=(0,t.jsx)($.Select,{options:g,placeholder:"СоÑÑиÑовка",onChange:b,className:B.default.select}),_[14]=b,_[15]=g,_[16]=p):p=_[16],_[17]!==u||_[18]!==p?(m=(0,t.jsx)(q.Box,{colorBg:"bg-box",radius:"16",py:"16",px:"20",children:(0,t.jsxs)(s.Flex,{direction:o,align:c,gap:"8",justify:"space-between",children:[u,p]})}),_[17]=u,_[18]=p,_[19]=m):m=_[19],_[20]!==m||_[21]!==a?(h=(0,t.jsxs)(t.Fragment,{children:[a,m]}),_[20]=m,_[21]=a,_[22]=h):h=_[22],h};var I=e.i(7284);let F={providers:!0,prize:!0,speeds:!0,equipment:!0,additional_services:!0,additional:!0};var H=e.i(79689),R=e.i(33126),M=e.i(13846),E=e.i(7914);let A=e=>{let i,n,a,l,o,c,u,p,m,h=(0,r.c)(22),{children:_,contentClassName:y,isOpen:f,onToggle:x,title:g}=e;h[0]!==g?(i=(0,t.jsx)(N.Typography.HeadingText,{order:"h3",children:g}),h[0]=g,h[1]=i):i=h[1],h[2]!==f?(n=(0,I.default)([E.default.chevron],{[E.default["chevron-open"]]:f}),h[2]=f,h[3]=n):n=h[3],h[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)(M.IconArrowTopOutline,{size:24}),h[4]=a):a=h[4],h[5]!==n?(l=(0,t.jsx)("div",{className:n,children:a}
1),h[5]=n,h[6]=l):l=h[6],h[7]!==x||h[8]!==i||h[9]!==l?(o=(0,t.jsxs)("button",{className:E.default["top-block"],onClick:x,type:"button",children:[i,l]}),h[7]=x,h[8]=i,h[9]=l,h[10]=o):o=h[10];let b=f?"auto":0;return h[11]!==y?(c=(0,I.default)(E.default.content,y),h[11]=y,h[12]=c):c=h[12],h[13]!==_||h[14]!==c?(u=(0,t.jsx)(s.Flex,{className:c,gap:"8",wrap:"wrap",children:_}),h[13]=_,h[14]=c,h[15]=u):u=h[15],h[16]!==b||h[17]!==u?(p=(0,t.jsx)(R.default,{duration:300,height:b,children:u}),h[16]=b,h[17]=u,h[18]=p):p=h[18],h[19]!==o||h[20]!==p?(m=(0,t.jsxs)(d.Stack,{className:E.default.block,gap:"16",children:[o,p]}),h[19]=o,h[20]=p,h[21]=m):m=h[21],m};var G=e.i(63850),W=e.i(3518);let V=e=>{let i,n,a,l=(0,r.c)(12),{checked:o,count:c,disabled:d,id:u,label:p,onChange:m,value:h}=e;return l[0]!==o||l[1]!==d||l[2]!==u||l[3]!==p||l[4]!==m||l[5]!==h?(i=(0,t.jsx)(G.Checkbox,{size:"lg",variant:"primary",label:p,id:u,value:h,checked:o,onChange:m,disabled:d}),l[0]=o,l[1]=d,l[2]=u,l[3]=p,l[4]=m,l[5]=h,l[6]=i):i=l[6],l[7]!==c?(n=void 0!==c&&c>0&&(0,t.jsx)(W.Pill,{variant:"blueberry",text:`${c}`}),l[7]=c,l[8]=n):n=l[8],l[9]!==i||l[10]!==n?(a=(0,t.jsxs)(s.Flex,{className:E.default["item-wrapper"],gap:"8",align:"center",children:[i,n]}),l[9]=i,l[10]=n,l[11]=a):a=l[11],a},L=e=>{let i,n,a,l,o,s,c,d,u=(0,r.c)(33),{additionalServices:p,freeConnection:m,hitOfSales:y,isAdditionalOpen:f,isServicesOpen:x,onAdditionalChange:g,onAdditionalToggle:b,onServicesChange:v,onServicesToggle:j,selection:S}=e;if(u[0]!==p||u[1]!==v||u[2]!==S.additionalServices){let e;u[4]!==v||u[5]!==S.additionalServices?(e=e=>{let{count:r,enabled:i,name:n}=e;return(0,t.jsx)(V,{checked:S.additionalServices.includes(n),count:r,disabled:!i,id:n,label:n,onChange:v,value:n},n)},u[4]=v,u[5]=S.additionalServices,u[6]=e):e=u[6],i=p.map(e),u[0]=p,u[1]=v,u[2]=S.additionalServices,u[3]=i}else i=u[3];u[7]!==x||u[8]!==j||u[9]!==i?(n=(0,t.jsx)(A,{contentClassName:E.default["content-col"],isOpen:x,onToggle:j,title:"ÐополниÑелÑнÑе ÑÑлÑги",children:i}),u[7]=x,u[8]=j,u[9]=i,u[10]=n):n=u[10],u[11]!==S.additional?(a=S.additional.includes(_),u[11]=S.additional,u[12]=a):a=u[12];let T=!m.enabled;u[13]!==m.count||u[14]!==g||u[15]!==a||u[16]!==T?(l=(0,t.jsx)(V,{checked:a,count:m.count,disabled:T,id:_,label:"ÐеÑплаÑное подклÑÑение",onChange:g,value:_}),u[13]=m.count,u[14]=g,u[15]=a,u[16]=T,u[17]=l):l=u[17],u[18]!==S.additional?(o=S.additional.includes(h),u[18]=S.additional,u[19]=o):o=u[19];let w=!y.enabled;return u[20]!==y.count||u[21]!==g||u[22]!==o||u[23]!==w?(s=(0,t.jsx)(V,{checked:o,count:y.count,disabled:w,id:h,label:"ХиÑÑ Ð¿Ñодаж",onChange:g,value:h}),u[20]=y.count,u[21]=g,u[22]=o,u[23]=w,u[24]=s):s=u[24],u[25]!==f||u[26]!==b||u[27]!==l||u[28]!==s?(c=(0,t.jsxs)(A,{contentClassName:E.default["content-col"],isOpen:f,onToggle:b,title:"ÐополниÑелÑно",children:[l,s]}),u[25]=f,u[26]=b,u[27]=l,u[28]=s,u[29]=c):c=u[29],u[30]!==n||u[31]!==c?(d=(0,t.jsxs)(t.Fragment,{children:[n,c]}),u[30]=n,u[31]=c,u[32]=d):d=u[32],d},Y=e=>{let i,n,a=(0,r.c)(11),{equipment:l,isOpen:o,onChange:s,onToggle:c,selectedEquipment:d}=e;if(a[0]!==l||a[1]!==s||a[2]!==d){let e;a[4]!==s||a[5]!==d?(e=e=>{let{count:r,enabled:i,name:n}=e;return(0,t.jsx)(V,{checked:d.includes(n),count:r,disabled:!i,id:n,label:"router"===n?"Wi-Fi ÑоÑÑеÑ":"console"===n?"TV пÑиÑÑавка":"CAM-модÑлÑ",onChange:s,value:n},n)},a[4]=s,a[5]=d,a[6]=e):e=a[6],i=l.map(e),a[0]=l,a[1]=s,a[2]=d,a[3]=i}else i=a[3];return a[7]!==o||a[8]!==c||a[9]!==i?(n=(0,t.jsx)(A,{contentClassName:E.default["content-col"],isOpen:o,onToggle:c,title:"ÐбоÑÑдование",children:i}),a[7]=o,a[8]=c,a[9]=i,a[10]=n):n=a[10],n};var U=e.i(67897);let Z=e=>{let i,n,a,l,o,c,d,u,p,h=(0,r.c)(30),{abonCost:_,isOpen:y,onAdditionalChange:f,onMaxBlur:x,onMinBlur:g,onPriceChange:b,onToggle:v,prices:j,promotion:S,promotionSelected:T}=e,w=`${_.min}`;h[0]!==g?(i=e=>g(e.target.value),h[0]=g,h[1]=i):i=h[1],h[2]!==b?(n=e=>b("min",e.target.value),h[2]=b,h[3]=n):n=h[3],h[4]!==j.min||h[5]!==w||h[6]!==i||h[7]!==n?(a=(0,t.jsx)(U.InputText,{size:"lg",subtitle:"оÑ",name:"abonCostMin",type:"number",placeholder:w,onBlur:i,value:j.min,onChange:n}),h[4]=j.min,h[5]=w,h[6]=i,h[7]=n,h[8]=a):a=h[8];let P=`${_.max}`;h[9]!==x?(l=e=>x(e.target.value),h[9]=x,h[10]=l):l=h[10],h[11]!==b?(o=e=>b("max",e.target.value),h[11]=b,h[12]=o):o=h[12],h[13]!==P||h[14]!==l||h[15]!==o?(c=(0,t.jsx)(U.InputText,{size:"lg",subtitle:"до",name:"abonCostMax",type:"number",placeholder:P,onBlur:l,onChange:o}),h[13]=P,h[14]=l,h[15]=o,h[16]=c):c=h[16],h[17]!==a||h[18]!==c?(d=(0,t.jsxs)(s.Flex,{className:E.default["item-wrapper"],gap:"8",align:"center",children:[a,c]}),h[17]=a,h[18]=c,h[19]=d):d=h[19];let C=!S.enabled;
1return h[20]!==f||h[21]!==S.count||h[22]!==T||h[23]!==C?(u=(0,t.jsx)(V,{checked:T,count:S.count,disabled:C,id:m,label:"ТолÑко акÑионнÑе",onChange:f,value:m}),h[20]=f,h[21]=S.count,h[22]=T,h[23]=C,h[24]=u):u=h[24],h[25]!==y||h[26]!==v||h[27]!==u||h[28]!==d?(p=(0,t.jsxs)(A,{contentClassName:E.default["content-col"],isOpen:y,onToggle:v,title:"ÐбоненÑÑÐºÐ°Ñ Ð¿Ð»Ð°Ñа",children:[d,u]}),h[25]=y,h[26]=v,h[27]=u,h[28]=d,h[29]=p):p=h[29],p},D=e=>{let i,n,a=(0,r.c)(11),{isOpen:l,onChange:o,onToggle:s,providers:c,selectedProviders:d}=e;if(a[0]!==o||a[1]!==c||a[2]!==d){let e;a[4]!==o||a[5]!==d?(e=e=>{let{name:r,provider_id:i}=e;return(0,t.jsx)(V,{checked:d.includes(`${i}`),id:`${i}`,label:r,onChange:o,value:i},i)},a[4]=o,a[5]=d,a[6]=e):e=a[6],i=c.map(e),a[0]=o,a[1]=c,a[2]=d,a[3]=i}else i=a[3];return a[7]!==l||a[8]!==s||a[9]!==i?(n=(0,t.jsx)(A,{contentClassName:E.default["content-col"],isOpen:l,onToggle:s,title:"ÐÑовайдеÑÑ",children:i}),a[7]=l,a[8]=s,a[9]=i,a[10]=n):n=a[10],n};var K=e.i(32797);let J=e=>{let i,n,a,l=(0,r.c)(14),{isOpen:o,onChange:c,onToggle:d,selectedSpeed:u,speeds:p}=e;l[0]!==u||l[1]!==p?(i=p.find(e=>{let{name:t,speed:r}=e;return r===u||t===u})?.name||p.find(Q)?.name||"ÐÑбаÑ",l[0]=u,l[1]=p,l[2]=i):i=l[2];let m=i;if(l[3]!==c||l[4]!==m||l[5]!==p){let e;l[7]!==c||l[8]!==m?(e=e=>{let{count:r,enabled:i,name:n,speed:a}=e;return(0,t.jsx)(s.Flex,{className:E.default["item-wrapper"],gap:"8",align:"center",children:(0,t.jsx)(K.Tab,{variant:"primary",pill:`${r>0?r:""}`,value:n,label:n,selected:m,onChange:()=>c(a),groupName:"Speed",disabled:!i})},n)},l[7]=c,l[8]=m,l[9]=e):e=l[9],n=p.map(e),l[3]=c,l[4]=m,l[5]=p,l[6]=n}else n=l[6];return l[10]!==o||l[11]!==d||l[12]!==n?(a=(0,t.jsx)(A,{contentClassName:E.default["content-row"],isOpen:o,onToggle:d,title:"СкоÑоÑÑÑ Ð¸Ð½ÑеÑнеÑа",children:n}),l[10]=o,l[11]=d,l[12]=n,l[13]=a):a=l[13],a};function Q(e){let{checked:t}=e;return t}let X=e=>{let n,a,o,u,p,h,_,y,f,x,g,b,v,j,S,T,w,P,C,q,$,B,O,R,M,A,G,W=(0,r.c)(95),{filters:V,controller:U}=e,{handleChangeMinPriceOnBlur:K,handleChangeMaxPriceOnBlur:Q,onResetFilters:X,handleClickButtonDone:et,isShowButtonDone:er,handleClickTabs:ei,handleClickCheckbox:en,prices:ea,selection:el,setPrices:eo,isPending:es}=U,{close:ec,show:ed}=k(ee),{showBlockFilters:eu,toggleShowBlock:ep}=(()=>{let e,t,n=(0,r.c)(3),[a,l]=(0,i.useState)(F);n[0]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{l(t=>({...t,[e]:!t[e]}))},n[0]=e):e=n[0];let o=e;return n[1]!==a?(t={showBlockFilters:a,toggleShowBlock:o},n[1]=a,n[2]=t):t=n[2],t})();W[0]!==ed?(n=(0,I.default)(E.default.filters,{[E.default["filters-show"]]:ed}),W[0]=ed,W[1]=n):n=W[1],W[2]!==es?(a=es&&(0,t.jsx)("div",{className:E.default.loader,children:(0,t.jsx)(c.Spinner,{size:"lg",variant:"secondary"})}),W[2]=es,W[3]=a):a=W[3],W[4]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsxs)(s.Flex,{gap:"8",align:"center",className:E.default["filters-title"],children:[(0,t.jsx)(z.IconFilterOutline,{size:16}),(0,t.jsx)(N.Typography.Caption,{size:"lg",children:"ФилÑÑÑÑ"})]}),W[4]=o):o=W[4],W[5]!==ec?(u=(0,t.jsx)(l.Button,{text:"ФилÑÑÑÑ",size:"sm",variant:"no-bg",onClick:ec,iconDirection:"left",icon:H.IconArrowLeftOutline,className:E.default["filters-button-close"]}),W[5]=ec,W[6]=u):u=W[6],W[7]!==es||W[8]!==X?(p=(0,t.jsx)(l.Button,{text:"СбÑоÑиÑÑ",size:"sm",variant:"base",disabled:es,onClick:X}),W[7]=es,W[8]=X,W[9]=p):p=W[9],W[10]!==u||W[11]!==p?(h=(0,t.jsxs)(s.Flex,{className:E.default.top,align:"center",justify:"space-between",children:[o,u,p]}),W[10]=u,W[11]=p,W[12]=h):h=W[12],W[13]!==V.providers||W[14]!==en||W[15]!==el.providers||W[16]!==eu.providers||W[17]!==ep?(_=V.providers.length>1&&(0,t.jsx)(D,{isOpen:eu.providers,onChange:e=>en(e,"providers"),onToggle:()=>ep("providers"),providers:V.providers,selectedProviders:el.providers}),W[13]=V.providers,W[14]=en,W[15]=el.providers,W[16]=eu.providers,W[17]=ep,W[18]=_):_=W[18];let em=V.abon_cost,eh=eu.prize;W[19]!==en?(y=e=>en(e,"additional"),W[19]=en,W[20]=y):y=W[20],W[21]!==ep?(f=()=>ep("prize"),W[21]=ep,W[22]=f):f=W[22];let e_=V.prize;return W[23]!==el.additional?(x=el.additional.includes(m),W[23]=el.additional,W[24]=x):x=W[24],W[25]!==V.abon_cost||W[26]!==V.prize||W[27]!==Q||W[28]!==K||W[29]!==ea||W[30]!==eo||W[31]!==eu.prize||W[32]!==y||W[33]!==f||W[34]!==x?(g=(0,t.jsx)(Z,{abonCost:em,isOpen:eh,onAdditionalChange:y,onMaxBlur:Q,onMinBlur:K,onPriceChange:eo,onToggle:f,prices:ea,promotion:e_,promotionSelected:x}),W[25]=V.abon_cost,W[26]=V.prize,W[27]=Q,W[28]=K,W[29]=ea,W[30]=eo,W[31]=eu.prize,W[32]=y,W[33]=f,W[34]=x,W[35]=g):g=W[35],W[36]!==ei?(b=e=>ei("speed",e),W[36]=ei,W[37]=b):b=W[37],W[38]!==ep?(v=()=>ep("speeds"),W[38]=ep,W[39]=v):v=W[39],W[40]!==V.speeds||W[41]!==el.speed||W[42]!==eu.speeds||W[43]!==b||W[44]!==v?(j=(0,t.jsx)(J,{isOpen:eu.speeds,onChange:b,onToggle:v,selectedSpeed:el.speed,speeds:V.speeds}),W[40]=V.speeds,W[41]=el.speed,W[42]=eu.speeds,W[43]=b,W[44]=v,W[45]=j):j=W[45],W[46]!==en?(S=e=>en(e,"equipment"),W[46]=en,W[47]=S):S=W[47],W[48]!==ep?(T=()=>ep("equipment"),W[48]=ep,W[49]=T):T=W[49],W[50]!==V.equipment||W[51]!==el.equipment||W[52]!==eu.equipment||W[53]!==S||W[54]!==T?(w=(0,t.jsx)(Y,{equipment:V.equipment,isOpen:eu.equipment,onChange:S,onToggle:T,selectedEquipment:el.equipment}),W[50]=V.equipment,W[51]=el.equipment,W[52]=eu.equipment,W[53]=S,W[54]=T,W[55]=w):w=W[55],W[56]!==en?(P=e=>en(e,"additional"),W[56]=en,W[57]=P):P=W[57],W[58]!==ep?(C=()=>ep("additional"),W[58]=ep,W[59]=C):C=W[59],W[60]!==en?(q=e=>en(e,"additional_services"),W[60]=en,W[61]=q):q=W[61],W[62]!==ep?($=()=>ep("additional_services"),W[62]=ep,W[63]=$):$=W[63],W[64]!==V.additional_services||W[65]!==V.free_connection||W[66]!==V.hit_of_sales||W[67]!==el||W[68]!==eu.additional||W[69]!==eu.additional_services||W[70]!==P||W[71]!==C||W[72]!==q||W[73]!==$?(B=(0,t.jsx)(L,{additionalServices:V.additional_services,freeConnection:V.free_connection,hitOfSales:V.hit_of_sales,isAdditionalOpen:eu.additional,isServicesOpen:eu.additional_services,onAdditionalChange:P,onAdditionalToggle:C,onServicesChange:q,onServicesToggle:$,selection:el}),W[64]=V.additional_services,W[65]=V.free_connection,W[66]=V.hit_of_sales,W[67]=el,W[68]=eu.additional,W[69]=eu.additional_services,W[70]=P,W[71]=C,W[72]=q,W[73]=$,W[74]=B):B=W[74],W[75]!==g||W[76]!==j||W[77]!==w||W[78]!==B||W[79]!==h||W[80]!==_?(O=(0,t.jsxs)(d.Stack,{className:E.default.body,gap:"16",children:[h,_,g,j,w,B]}),W[75]=g,W[76]=j,W[77]=w,W[78]=B,W[79]=h,W[80]=_,W[81]=O):O=W[81],W[82]!==er?(R=(0,I.default)(E.default.block,{[E.default["block-sticky"]]:!0,[E.default["block-sticky-show"]]:er}
1),W[82]=er,W[83]=R):R=W[83],W[84]!==et||W[85]!==es?(M=(0,t.jsx)(l.Button,{size:"lg",variant:"primary",text:"ÐÑимениÑÑ",disabled:es,onClick:et}),W[84]=et,W[85]=es,W[86]=M):M=W[86],W[87]!==R||W[88]!==M?(A=(0,t.jsx)("div",{className:R,children:M}),W[87]=R,W[88]=M,W[89]=A):A=W[89],W[90]!==n||W[91]!==a||W[92]!==O||W[93]!==A?(G=(0,t.jsxs)("div",{className:n,children:[a,O,A]}),W[90]=n,W[91]=a,W[92]=O,W[93]=A,W[94]=G):G=W[94],G};function ee(e){return e}var et=e.i(89328);e.i(71529);var er=e.i(89802);e.i(96272);var ei=e.i(68153),en=e.i(95971),ea=e.i(44367);let el=e=>{let i,n,a,o,c,d,u,p,m,h,_,y,f,x,g,b=(0,r.c)(46),{tariffs:v,optionSort:j,locationUrl:S,locationName:T,locationPrepositional:w,showIndexRates:P,onResetFilters:C,h1:k,description:$,canonical:z}=e;if(b[0]!==v){let e,t,r,n,a,l,o,s,c,d,u,p,m,h,_;e=v.map(e=>e.abon_cost).filter(e=>null!==e&&e>0),t=v.map(e=>e.speed).filter(e=>null!==e&&e>0),r=v.map(e=>e.channels).filter(e=>null!==e&&e>0),n=v.filter(e=>null!==e.abon_cost&&e.abon_cost>=1),a=e.length>0?Math.max(...e):0,l=e.length>0?Math.min(...e):0,o=t.length>0?Math.min(...t):0,s=t.length>0?Math.max(...t):0,c=r.length>0?Math.min(...r):0,d=r.length>0?Math.max(...r):0,u=v.find(e=>e.speed===s)?.name||"",p=n.find(e=>e.abon_cost===l)?.name||"",m=n.find(e=>e.abon_cost===a)?.name||"",h=n.find(e=>e.abon_cost===l)?.speed??0,_=n.find(e=>e.speed===s)?.abon_cost??0,i={count:v.length,maxPrice:a,minPrice:l,minSpeed:o,maxSpeed:s,minChannels:c,maxChannels:d,tariffNameMaxSpeed:u,tariffNameMinPrice:p,tariffNameMaxPrice:m,tariffSpeedMinPrice:h,tariffPriceMaxSpeed:_},b[0]=v,b[1]=i}else i=b[1];let{maxPrice:B,minPrice:O}=i;if(b[2]!==z||b[3]!==$||b[4]!==k||b[5]!==T||b[6]!==w||b[7]!==S||b[8]!==B||b[9]!==O||b[10]!==C||b[11]!==j||b[12]!==P||b[13]!==v){c=Symbol.for("react.early_return_sentinel");e:{let e=v.slice().toSorted(eo),r=v.slice().toSorted(es),i=r.toReversed();if(0===v.length){let e,r,i;b[26]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(et.IconAttentionFill,{size:56,style:{color:"var(--bb-color-icon-warning)"}}),b[26]=e):e=b[26],b[27]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)(s.Flex,{direction:"column",align:"center",justify:"center",gap:"8",children:[(0,t.jsx)(N.Typography.HeadingText,{order:"h3",children:"ÐÐµÑ Ð¿Ð¾Ð´Ñ
одÑÑиÑ
ÑаÑиÑов"}),(0,t.jsx)(N.Typography.Paragraph,{color:"text-caption",children:"ÐопÑобÑй ÑмÑгÑиÑÑ ÑÑÐ»Ð¾Ð²Ð¸Ñ Ð¿Ð¾Ð¸Ñка"})]}),b[27]=r):r=b[27],b[28]!==C?(i=(0,t.jsx)(q.Box,{py:"32",children:(0,t.jsxs)(s.Flex,{direction:"column",gap:"24",align:"center",justify:"center",children:[e,r,(0,t.jsx)(l.Button,{text:"СбÑоÑиÑÑ ÑилÑÑÑÑ",size:"lg",variant:"primary",onClick:C})]})}),b[28]=C,b[29]=i):i=b[29],c=i;break e}a=ei.SchemaOrgProductsList,m=k,h=$,_=z,y=v.length,f=B,o=O,n=ea.SimpleGridPrimary,b[30]===Symbol.for("react.memo_cache_sentinel")?(d={base:3,lg:2,md:1},u={position:"relative",minWidth:"100%",minHeight:"50vh"},b[30]=d,b[31]=u):(d=b[30],u=b[31]),p=(()=>{let n=v;switch(j){case"popular":n=e;break;case"descending":n=i;break;case"ascending":n=r}return n.map((e,r)=>(0,t.jsx)(en.SchemaOrgProductsListItem,{position:r+1,canonical:z,hide:r+1>P,children:(0,t.jsx)(er.CardTariff,{tariff:e,locationUrl:S,locationName:T,locationPrepositional:w},e.id)},e.id))})()}b[2]=z,b[3]=$,b[4]=k,b[5]=T,b[6]=w,b[7]=S,b[8]=B,b[9]=O,b[10]=C,b[11]=j,b[12]=P,b[13]=v,b[14]=n,b[15]=a,b[16]=o,b[17]=c,b[18]=d,b[19]=u,b[20]=p,b[21]=m,b[22]=h,b[23]=_,b[24]=y,b[25]=f}else n=b[14],a=b[15],o=b[16],c=b[17],d=b[18],u=b[19],p=b[20],m=b[21],h=b[22],_=b[23],y=b[24],f=b[25];return c!==Symbol.for("react.early_return_sentinel")?c:(b[32]!==n||b[33]!==d||b[34]!==u||b[35]!==p?(x=(0,t.jsx)(n,{cols:d,style:u,children:p}),b[32]=n,b[33]=d,b[34]=u,b[35]=p,b[36]=x):x=b[36],b[37]!==a||b[38]!==o||b[39]!==x||b[40]!==m||b[41]!==h||b[42]!==_||b[43]!==y||b[44]!==f?(g=(0,t.jsx)(a,{h1:m,description:h,canonical:_,countItems:y,maxPrice:f,minPrice:o,children:x}),b[37]=a,b[38]=o,b[39]=x,b[40]=m,b[41]=h,b[42]=_,b[43]=y,b[44]=f,b[45]=g):g=b[45],g)};function eo(e,t){return(e.hit_of_sales>0?0:1)-(t.hit_of_sales>0?0:1)}function es(e,t){return((null!==e.prize_abon_cost&&e.prize_abon_cost>=0?e.prize_abon_cost:e.abon_cost)??1/0)-((null!==t.prize_abon_cost&&t.prize_abon_cost>=0?t.prize_abon_cost:t.abon_cost)??1/0)}var ec=e.i(11769);let ed=e=>{let a,m,h,_,y,x,g,S,T,w,q,$,N,z,B,I=(0,r.c)(49),{data:F,locationUrl:H,locationName:R,locationPrepositional:M,h1:E,description:A,canonical:G}=e,{filters:W,tariffs:V}=F;I[0]===Symbol.for("react.memo_cache_sentinel")?(a=[{id:"popular",name:"Ðо попÑлÑÑноÑÑи"},{id:"descending",name:"Ðо ÑбÑÐ²Ð°Ð½Ð¸Ñ ÑенÑ"},{id:"ascending",name:"Ðо возÑаÑÑÐ°Ð½Ð¸Ñ ÑенÑ"}],I[0]=a):a=I[0];let L=a,[Y,U]=(0,i.useState)(9),[Z,D]=(0,i.useState)(""),K=(0,i.useRef)(null);I[1]===Symbol.for("react.memo_cache_sentinel")?(m=e=>{D(e[0])},I[1]=m):m=I[1];let J=m,{isPending:Q,startTransition:ee}=(()=>{let e=(0,i.useContext)(n);
1if(void 0===e)throw Error("useLoading must be used within a LoadingProvider");return e})(),{close:et,show:er}=k();I[2]!==et||I[3]!==W||I[4]!==Q||I[5]!==ee?(h={filters:W,isPending:Q,onClose:et,startTransition:ee},I[2]=et,I[3]=W,I[4]=Q,I[5]=ee,I[6]=h):h=I[6];let ei=(e=>{let t,n,a,l,o,s,c,d,m,h,_,y,x,g,S=(0,r.c)(52),{filters:T,isPending:w,onClose:P,startTransition:C}=e;S[0]!==C?(t={startTransition:C},S[0]=C,S[1]=t):t=S[1];let{clearLastPushedSelection:k,isLastPushedSelection:q,navigateWithSelection:$,searchParamsKey:N}=(e=>{let t,n,a,l,o,s=(0,r.c)(12),{startTransition:c}=e,d=(0,v.useRouter)(),u=(0,v.usePathname)(),p=(0,v.useSearchParams)(),m=(0,i.useRef)("");s[0]!==p?(t=p.toString(),s[0]=p,s[1]=t):t=s[1];let h=t;s[2]!==u||s[3]!==d||s[4]!==p||s[5]!==c?(n=(e,t)=>{let r=JSON.stringify(e),i=((e,t={})=>{let r=new Map;if(t instanceof URLSearchParams)for(let[e,i]of t)r.set(e,i);else for(let[e,i]of Object.entries(t))void 0!==i&&r.set(e,i);for(let e of f)r.delete(e);for(let[t,i]of[["providers",e.providers.length>0?e.providers.join(","):void 0],["min",e.min||void 0],["max",e.max||void 0],["speed",e.speed||void 0],["equipment",e.equipment.length>0?e.equipment.join(","):void 0],["additional",e.additional.length>0?e.additional.join(","):void 0],["additional_services",e.additionalServices.length>0?e.additionalServices.join(","):void 0]])void 0!==i&&r.set(t,i);return[...r].map(([e,t])=>`${b(e)}=${b(t)}`).join("&")})(e,void 0===t||t?p:{});m.current=r,c(()=>{d.push(i?`?${i}`:u,{scroll:!1})})},s[2]=u,s[3]=d,s[4]=p,s[5]=c,s[6]=n):n=s[6];let _=n;s[7]===Symbol.for("react.memo_cache_sentinel")?(a=e=>JSON.stringify(e)===m.current,s[7]=a):a=s[7];let y=a;s[8]===Symbol.for("react.memo_cache_sentinel")?(l=()=>{m.current=""},s[8]=l):l=s[8];let x=l;return s[9]!==_||s[10]!==h?(o={clearLastPushedSelection:x,isLastPushedSelection:y,navigateWithSelection:_,searchParamsKey:h},s[9]=_,s[10]=h,s[11]=o):o=s[11],o})(t),[z,B]=(0,i.useState)(!1);S[2]!==T||S[3]!==N?(n=()=>j(new URLSearchParams(N),T),S[2]=T,S[3]=N,S[4]=n):n=S[4];let[O,I]=(0,i.useState)(n);S[5]!==O.max||S[6]!==O.min?(a=()=>({max:O.max,min:O.min}),S[5]=O.max,S[6]=O.min,S[7]=a):a=S[7];let[F,H]=(0,i.useState)(a);S[8]!==k||S[9]!==T||S[10]!==q||S[11]!==N?(l=()=>{let e=j(new URLSearchParams(N),T);q(e)?k():(I(e),H({max:e.max,min:e.min}))},o=[k,T,q,N],S[8]=k,S[9]=T,S[10]=q,S[11]=N,S[12]=l,S[13]=o):(l=S[12],o=S[13]),(0,i.useEffect)(l,o),S[14]===Symbol.for("react.memo_cache_sentinel")?(s=(e,t)=>{H(r=>({...r,[e]:t})),B(!0)},S[14]=s):s=S[14];let R=s;S[15]!==$?(c=e=>{I(e),B(!0),$(e)},S[15]=$,S[16]=c):c=S[16];let M=c;S[17]!==T||S[18]!==F||S[19]!==O||S[20]!==M?(d=e=>{let t=((e,t,r,i)=>{if(!e)return null;let n=u(e,i),a=r.max&&Number(n)>Number(r.max)?r.max:n,l=r.max||t.max||`${i.max}`;return{prices:{min:a,max:l},selection:{...t,min:a,max:l}}})(e,O,F,T.abon_cost);t&&(H(t.prices),M(t.selection))},S[17]=T,S[18]=F,S[19]=O,S[20]=M,S[21]=d):d=S[21];let E=d;S[22]!==T||S[23]!==F||S[24]!==O||S[25]!==M?(m=e=>{let t=((e,t,r,i)=>{if(!e)return null;let n=u(e,i),a=r.min&&Number(n)<Number(r.min)?r.min:n,l=r.min||t.min||`${i.min}`;return{prices:{min:l,max:a},selection:{...t,min:l,max:a}}})(e,O,F,T.abon_cost);t&&(H(t.prices),M(t.selection))},S[22]=T,S[23]=F,S[24]=O,S[25]=M,S[26]=m):m=S[26];let A=m;S[27]!==O||S[28]!==M?(h=(e,t)=>{var r;let i,n,a=e.target.value;M((n=(i=O[r="additional_services"===t?"additionalServices":t]).includes(a)?i.filter(e=>e!==a):[...i,a],{...O,[r]:n}))},S[27]=O,S[28]=M,S[29]=h):h=S[29];let G=h;S[30]!==O||S[31]!==M?(_=(e,t)=>{M({...O,speed:t})},S[30]=O,S[31]=M,S[32]=_):_=S[32];let W=_;S[33]!==$||S[34]!==P?(y=()=>{let e={...p,providers:[],equipment:[],additional:[],additionalServices:[]};I(e),H({max:"",min:""}),B(!1),P(),$(e,!1)},S[33]=$,S[34]=P,S[35]=y):y=S[35];let V=y;S[36]!==w||S[37]!==$||S[38]!==P||S[39]!==O?(x=()=>{w||P(),$(O)},S[36]=w,S[37]=$,S[38]=P,S[39]=O,S[40]=x):x=S[40];let L=x;return S[41]!==A||S[42]!==E||S[43]!==L||S[44]!==G||S[45]!==W||S[46]!==w||S[47]!==z||S[48]!==V||S[49]!==F||S[50]!==O?(g={handleChangeMinPriceOnBlur:E,handleChangeMaxPriceOnBlur:A,onResetFilters:V,handleClickTabs:W,handleClickCheckbox:G,handleClickButtonDone:L,isPending:w,prices:F,selection:O,isShowButtonDone:z,setPrices:R},S[41]=A,S[42]=E,S[43]=L,S[44]=G,S[45]=W,S[46]=w,S[47]=z,S[48]=V,S[49]=F,S[50]=O,S[51]=g):g=S[51],g})(h),{onResetFilters:en}=ei;I[7]!==er?(_=()=>{document.body.style.overflow=er?"hidden":"auto"},y=[er],I[7]=er,I[8]=_,I[9]=y):(_=I[8],y=I[9]),(0,i.useEffect)(_,y),I[10]===Symbol.for("react.memo_cache_sentinel")?(x={base:"48",md:"16"},I[10]=x):x=I[10],I[11]!==ei||I[12]!==W?(g=(0,t.jsx)(X,{filters:W,controller:ei}),I[11]=ei,I[12]=W,I[13]=g):g=I[13],I[14]!==Q?(S=Q&&(0,t.jsx)("div",{className:ec.default.loader,children:(0,t.jsx)(c.Spinner,{size:"lg",variant:"secondary"})}),I[14]=Q,I[15]=S):S=I[15];let ea=V?.length;return I[16]!==Q||I[17]!==en||I[18]!==ea?(T=(0,t.jsx)(O,{isPending:Q,count:ea,onResetFilters:en,options:L,onChange:J}),I[16]=Q,I[17]=en,I[18]=ea,I[19]=T):T=I[19],I[20]!==G||I[21]!==A||I[22]!==E||I[23]!==R||I[24]!==M||I[25]!==H||I[26]!==en||I[27]!==Z||I[28]!==Y||I[29]!==V?(w=(0,t.jsx)(el,{tariffs:V,optionSort:Z,locationUrl:H,locationName:R,locationPrepositional:M,onResetFilters:en,showIndexRates:Y,h1:E,description:A,canonical:G}),I[20]=G,I[21]=A,I[22]=E,I[23]=R,I[24]=M,I[25]=H,I[26]=en,I[27]=Z,I[28]=Y,I[29]=V,I[30]=w):w=I[30],I[31]!==Y||I[32]!==V.length?(q=V.length>0&&V.length>Y&&(0,t.jsx)(o.Center,{className:ec.default["button-add-show-index"],children:(0,t.jsx)(l.Button,{size:"lg",variant:"primary",text:`ÐоказаÑÑ ÐµÑе ${V.length-Y}`,onClick:()=>U(eu)})}),I[31]=Y,I[32]=V.length,I[33]=q):q=I[33],I[34]!==T||I[35]!==w||I[36]!==q||I[37]!==S?($=(0,t.jsxs)(d.Stack,{className:ec.default["rates-wrapper"],gap:"24",children:[S,T,w,q]}
1),I[34]=T,I[35]=w,I[36]=q,I[37]=S,I[38]=$):$=I[38],I[39]!==$||I[40]!==g?(N=(0,t.jsx)(d.Stack,{className:ec.default.wrapper,gap:x,children:(0,t.jsxs)(s.Flex,{gap:"48",className:ec.default["wrapper-content"],ref:K,children:[g,$]})}),I[39]=$,I[40]=g,I[41]=N):N=I[41],I[42]!==G||I[43]!==E||I[44]!==M?(z=(0,t.jsx)(P,{h1:E,locationPrepositional:M,url:G}),I[42]=G,I[43]=E,I[44]=M,I[45]=z):z=I[45],I[46]!==N||I[47]!==z?(B=(0,t.jsxs)(C.Container,{children:[N,z]}),I[46]=N,I[47]=z,I[48]=B):B=I[48],B};function eu(e){return e+9}e.s(["TariffsGrid",0,e=>{let i,n=(0,r.c)(8),{data:l,locationUrl:o,locationName:s,locationPrepositional:c,h1:d,description:u,canonical:p}=e;return n[0]!==p||n[1]!==l||n[2]!==u||n[3]!==d||n[4]!==s||n[5]!==c||n[6]!==o?(i=(0,t.jsx)(a,{children:(0,t.jsx)(ed,{data:l,h1:d,description:u,canonical:p,locationUrl:o,locationName:s,locationPrepositional:c})}),n[0]=p,n[1]=l,n[2]=u,n[3]=d,n[4]=s,n[5]=c,n[6]=o,n[7]=i):i=n[7],i}],83552)},43028,e=>{e.v({h2:"tariffs-slider-module-scss-module__xJV1ga__h2",h3:"tariffs-slider-module-scss-module__xJV1ga__h3",hidden:"tariffs-slider-module-scss-module__xJV1ga__hidden",nav:"tariffs-slider-module-scss-module__xJV1ga__nav","nav-hide":"tariffs-slider-module-scss-module__xJV1ga__nav-hide",slider:"tariffs-slider-module-scss-module__xJV1ga__slider","slider-form":"tariffs-slider-module-scss-module__xJV1ga__slider-form",wrapper:"tariffs-slider-module-scss-module__xJV1ga__wrapper"})},81859,e=>{"use strict";var t=e.i(16871),r=e.i(70851),i=e.i(7284),n=e.i(18864),a=e.i(68310),l=e.i(64119),o=e.i(79689),s=e.i(85387);e.i(76052),e.i(41539),e.i(35612);var c=e.i(89802);e.i(56657);var d=e.i(822),u=e.i(43028);e.s(["TariffsSlider",0,e=>{let p,m,h,_,y,f,x,g,b,v,j,S,T,w,P=(0,r.c)(41),{tariffs:C,title:k,locationUrl:q,locationName:$,locationPrepositional:N,form:z,tariffCardBorder:B}=e,O=(0,n.useRef)(null),I=(0,n.useRef)(null),F=(0,n.useRef)(null),[H,R]=(0,n.useState)(!0);P[0]!==z?(p=(0,i.default)([u.default.slider],{[u.default["slider-form"]]:z}),P[0]=z,P[1]=p):p=P[1];let M=p;if(0===C.length)return null;P[2]!==z||P[3]!==k?(m=!z&&(0,t.jsx)("h2",{className:u.default.h2,children:k}),P[2]=z,P[3]=k,P[4]=m):m=P[4],P[5]!==z||P[6]!==k?(h=z&&(0,t.jsx)("h3",{className:u.default.h3,children:k}),P[5]=z,P[6]=k,P[7]=h):h=P[7],P[8]!==H?(_=(0,i.default)([u.default.nav],{[u.default["nav-hide"]]:H}),P[8]=H,P[9]=_):_=P[9],P[10]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsx)(a.Button,{size:"lg",variant:"base",icon:o.IconArrowLeftOutline,round:!0,ref:O,onClick:()=>F.current?.previous()}),P[10]=y):y=P[10],P[11]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)(l.Groupe,{gap:"16",children:[y,(0,t.jsx)(a.Button,{size:"lg",variant:"base",icon:s.IconArrowRightOutline,round:!0,ref:I,onClick:()=>F.current?.next()})]}),P[11]=f):f=P[11],P[12]!==_?(x=(0,t.jsx)("div",{className:_,children:f}),P[12]=_,P[13]=x):x=P[13],P[14]!==m||P[15]!==h||P[16]!==x?(g=(0,t.jsxs)(l.Groupe,{justify:"space-between",align:"center",gap:"16",children:[m,h,x]}),P[14]=m,P[15]=h,P[16]=x,P[17]=g):g=P[17];let E=`${C.length}`;if(P[18]!==E?(b=(0,t.jsx)("meta",{itemProp:"numberOfItems",content:E}),P[18]=E,P[19]=b):b=P[19],P[20]===Symbol.for("react.memo_cache_sentinel")?(v={previous:O,next:I},P[20]=v):v=P[20],P[21]!==$||P[22]!==N||P[23]!==q||P[24]!==B||P[25]!==C){let e;P[27]!==$||P[28]!==N||P[29]!==q||P[30]!==B?(e=e=>(0,t.jsx)("div",{className:u.default.wrapper,children:(0,t.jsx)(c.CardTariff,{tariff:e,locationName:$,locationPrepositional:N,locationUrl:q,border:B,slider:!0})},e.id),P[27]=$,P[28]=N,P[29]=q,P[30]=B,P[31]=e):e=P[31],j=C.map(e),P[21]=$,P[22]=N,P[23]=q,P[24]=B,P[25]=C,P[26]=j}else j=P[26];return P[32]!==j?(S=(0,t.jsx)(d.ScrollSnapSlider,{ref:F,slideWidth:"auto",gap:20,slidesPerGroup:1,navigation:v,showArrows:!1,onLockChange:R,children:j}),P[32]=j,P[33]=S):S=P[33],P[34]!==M||P[35]!==b||P[36]!==S?(T=(0,t.jsxs)("div",{className:M,itemType:"https://schema.org/ItemList",children:[b,S]}),P[34]=M,P[35]=b,P[36]=S,P[37]=T):T=P[37],P[38]!==T||P[39]!==g?(w=(0,t.jsxs)("div",{children:[g,T]}),P[38]=T,P[39]=g,P[40]=w):w=P[40],w}],81859)},96140,e=>{e.v({wrapper:"tariffs-table-module-scss-module__SHldnq__wrapper"})},1359,e=>{"use strict";var t=e.i(16871),r=e.i(70851);e.i(56657);var i=e.i(8611),n=e.i(2500),a=e.i(50322),l=e.i(68752),o=e.i(68310),s=e.i(42497),c=e.i(68884),d=e.i(22404),u=e.i(92063);e.i(10255);var p=e.i(31264),m=e.i(87656),h=e.i(96140);function _(e){return"ÐидеоÑеÑвиÑ"===e.category}function y(e){return e.name}function f(){return m.utils.reachGoal("click_button_check_available_tables")}e.s(["TariffsTable",0,e=>{let m,x,g,b,v,j,S,T,w=(0,r.c)(22),{tariffs:P,locationUrl:C,title:k,description:q,isComparison:$}=e;if(0===P.length)return null;if(w[0]!==k?(m=(0,t.jsx)(d.Typography.Title,{order:"h2",itemProp:"about",children:k}),w[0]=k,w[1]=m):m=w[1],w[2]!==q?(x=(0,t.jsx)(d.Typography.Paragraph,{color:"text-caption",children:q}),w[2]=q,w[3]=x):x=w[3],w[4]!==m||w[5]!==x?(g=(0,t.jsxs)(s.Flex,{direction:"column",gap:"16",align:"flex-start",children:[m,x]}),w[4]=m,w[5]=x,w[6]=g):g=w[6],w[7]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)(c.Table.Head,{children:(0,t.jsxs)(c.Table.Row,{children:[(0,t.jsx)(c.Table.Header,{children:"ÐÑовайдеÑ"}),(0,t.jsx)(c.Table.Header,{children:"ТаÑиÑ"}),(0,t.jsx)(c.Table.Header,{children:"СкоÑоÑÑÑ"}),(0,t.jsx)(c.Table.Header,{children:"ÐаналÑ"}),(0,t.jsx)(c.Table.Header,{children:"ÐобилÑÐ½Ð°Ñ ÑвÑзÑ"}),(0,t.jsx)(c.Table.Header,{children:"Ðнлайн-киноÑеаÑÑ"}),(0,t.jsx)(c.Table.Header,{children:"ÐбоненÑÑÐºÐ°Ñ Ð¿Ð»Ð°Ñа"}),(0,t.jsx)(c.Table.Header,{children:"-"})]})}),w[7]=b):b=w[7],w[8]!==C||w[9]!==P){let e;w[11]!==C?(e=e=>{let{id:r,name:i,provider:a,speed:l,channels:o,hd:s,abon_cost:d,sim_minutes:m,sim_sms:h,sim_traffic:f,url:x,additional_services:g}=e;return(0,t.jsxs)(c.Table.Row,{children:[(0,t.jsx)(c.Table.Cell,{"data-label":"ÐÑовайдеÑ",children:a.url&&a.name?(0,t.jsx)(n.PrefetchLinkBB,{href:p.pathKeys.providers.all(C,a.url),variant:"activate",size:"sm",text:a.name}):a.name??""}),(0,t.jsx)(c.Table.Cell,{"data-label":"ТаÑиÑ",children:a.url&&x?(0,t.jsx)(n.PrefetchLinkBB,{href:p.pathKeys.providers.tariff(C,a.url,x),variant:"activate",size:"sm",text:i}):i}),(0,t.jsx)(c.Table.Cell,{"data-label":"СкоÑоÑÑÑ",children:null===l||0===l?"-":`${l} ÐбиÑ/Ñ`}),(0,t.jsxs)(c.Table.Cell,{"data-label":"ÐаналÑ",children:[null===o&&null===s?"-":"",null!==o&&o>0?`${o} ТÐ`:"",null!==s&&s>0?` ${s} HD`:""]}),(0,t.jsxs)(c.Table.Cell,{"data-label":"ÐобилÑÐ½Ð°Ñ ÑвÑзÑ",children:[null===m&&null===h&&null===f?"-":"",null!==f&&f>0?`${1e4===f?"á":f} Ðб`:"",null!==m&&m>0?` ${1e4===m?"á":m} минÑÑ`:"",null!==h&&h>0?` ${1e4===h?"á":h} SMS`:""]}),(0,t.jsx)(c.Table.Cell,{"data-label":"Ðнлайн-киноÑеаÑÑ",children:g.filter(_).map(y).join(", ")||"-"}),(0,t.jsx)(c.Table.Cell,{"data-label":"ÐбоненÑÑÐºÐ°Ñ Ð¿Ð»Ð°Ñа",children:null===d?"-":`${d} â½/меÑ`}),(0,t.jsx)(c.Table.Cell,{"data-label":"ÐÑоÑмиÑÑ",children:(0,t.jsx)(u.TableButtonOrder,{tariffId:r,provider:a})})]},r)},w[11]=C,w[12]=e):e=w[12],v=P.map(e),w[8]=C,w[9]=P,w[10]=v}else v=w[10];return w[13]!==v?(j=(0,t.jsx)(a.CardPrimary,{className:h.default.wrapper,children:(0,t.jsxs)(c.Table,{response:!0,children:[b,(0,t.jsx)(c.Table.Body,{children:v})]})}),w[13]=v,w[14]=j):j=w[14],w[15]!==$||w[16]!==C?(S=!$&&(0,t.jsx)(i.PrefetchLink,{href:p.pathKeys.other.checkConnect(C),style:{alignSelf:"flex-end"},children:(0,t.jsx)(o.Button,{size:"lg",variant:"primary",text:"ÐÑовеÑиÑÑ Ð´Ð¾ÑÑÑпноÑÑÑ",onClick:f})}),w[15]=$,w[16]=C,w[17]=S):S=w[17],w[18]!==g||w[19]!==j||w[20]!==S?(T=(0,t.jsx)(l.Container,{children:(0,t.jsxs)(s.Flex,{itemScope:!0,itemType:"https://schema.org/Table",direction:"column",gap:"16",align:"flex-start",children:[g,j,S]})}),w[18]=g,w[19]=j,w[20]=S,w[21]=T):T=w[21],T}],1359)},48996,e=>{"use strict";var t=e.i(16871),r=e.i(64458);let i=!1,n=e=>{if("number"==typeof e)return!Number.isFinite(e)||e<0?(i||(console.warn(`Center: недопÑÑÑимое знаÑение w или h "${String(e)}". ÐжидаеÑÑÑ Ð½ÐµÐ¾ÑÑиÑаÑелÑное ÑиÑло или ÑÑÑока Ñ ÐµÐ´Ð¸Ð½Ð¸Ñами. ÐÑполÑзÑем 100%.`),i=!0),"100%"):`${e}px`;let t=e.trim();return"0"===t?"0":"auto"===t?"auto":/^\d+(\.\d+)?(px|rem|em|%|vh|vw|vmin|vmax)$/.test(t)?t:(i||(console.warn(`Center: недопÑÑÑимое знаÑение w или h "${e}". ÐжидаеÑÑÑ Ð½ÐµÐ¾ÑÑиÑаÑелÑное ÑиÑло или ÑÑÑока Ñ ÐµÐ´Ð¸Ð½Ð¸Ñами. ÐÑполÑзÑем 100%.`),i=!0),"100%")},a=({w:e,h:i,inline:a=!1,style:l,className:o,children:s,...c})=>{let d={...l};return void 0!==e&&(d.width=n(e)),void 0!==i&&(d.height=n(i)),(0,t.jsx)("div",{className:(0,r.default)("bb__container__VEgjn",{"bb__inline-flex__gDjkg":a},o),style:d,...c,children:s})};a.displayName="Center",e.s(["Center",0,a],48996)},33126,13846,e=>{"use strict";var t=e.i(18864);function r(e){let t;return"string"==typeof e&&"%"===e[e.length-1]&&!isNaN(t=parseFloat(e.substring(0,e.length-1)))&&isFinite(t)}
1function i(e,t,r){0===t&&!r&&e?.style&&e?.children.length>0&&(e.style.display="none")}let n={animating:"rah-animating",animatingUp:"rah-animating--up",animatingDown:"rah-animating--down",animatingToHeightZero:"rah-animating--to-height-zero",animatingToHeightAuto:"rah-animating--to-height-auto",animatingToHeightSpecific:"rah-animating--to-height-specific",static:"rah-static",staticHeightZero:"rah-static--height-zero",staticHeightAuto:"rah-static--height-auto",staticHeightSpecific:"rah-static--height-specific"};function a(e,t){return[e.static,0===t&&e.staticHeightZero,"number"==typeof t&&t>0?e.staticHeightSpecific:null,"auto"===t&&e.staticHeightAuto].filter(e=>e).join(" ")}let l=["animateOpacity","animationStateClasses","applyInlineTransitions","children","className","contentClassName","contentRef","delay","duration","easing","height","onHeightAnimationEnd","onHeightAnimationStart","style","disableDisplayNone"],o=t.default.forwardRef((e,o)=>{let{animateOpacity:s=!1,animationStateClasses:c={},applyInlineTransitions:d=!0,children:u,className:p="",contentClassName:m,delay:h=0,disableDisplayNone:_=!1,duration:y=500,easing:f="ease",height:x,onHeightAnimationEnd:g,onHeightAnimationStart:b,style:v,contentRef:j}=e,S={...e};l.forEach(e=>{delete S[e]});let T=(0,t.useRef)(x),w=(0,t.useRef)(null),P=(0,t.useRef)(void 0),C=(0,t.useRef)(void 0),k=(0,t.useRef)({...n,...c}),q="u">typeof window,$=(0,t.useRef)(!!q&&!!window.matchMedia&&window.matchMedia("(prefers-reduced-motion)").matches),N=$.current?0:h,z=$.current?0:y,B=x,O="visible";"number"==typeof x?(B=x<0?0:x,O="hidden"):r(B)&&(B="0%"===x?0:x,O="hidden");let[I,F]=(0,t.useState)(B),[H,R]=(0,t.useState)(O),[M,E]=(0,t.useState)(!1),[A,G]=(0,t.useState)(a(k.current,x));(0,t.useEffect)(()=>{i(w.current,I,_)},[]),(0,t.useEffect)(()=>{if(x!==T.current&&w.current){var e;let t,n;e=w.current,0===T.current&&e?.style&&(e.style.display=""),w.current.style.overflow="hidden";let l=w.current.offsetHeight;w.current.style.overflow="";let o=z+N,s="hidden",c="auto"===T.current;"number"==typeof x?n=t=x<0?0:x:r(x)?n=t="0%"===x?0:x:(t=l,n="auto",s=void 0),c&&(n=t,t=l);let d=[k.current.animating,("auto"===T.current||x<T.current)&&k.current.animatingUp,("auto"===x||x>T.current)&&k.current.animatingDown,0===n&&k.current.animatingToHeightZero,"auto"===n&&k.current.animatingToHeightAuto,"number"==typeof n&&n>0?k.current.animatingToHeightSpecific:null].filter(e=>e).join(" "),u=a(k.current,n);F(t),R("hidden"),E(!c),G(d),clearTimeout(C.current),clearTimeout(P.current),c?C.current=setTimeout(()=>{F(n),R(s),E(!0),b?.(n),P.current=setTimeout(()=>{E(!1),G(u),i(w.current,n,_),g?.(n)},o)},50):(b?.(t),C.current=setTimeout(()=>{F(n),R(s),E(!1),G(u),"auto"!==x&&i(w.current,t,_),g?.(t)},o))}return T.current=B,()=>{clearTimeout(C.current),clearTimeout(P.current)}},[x]);let W={...v,height:I,overflow:H||v?.overflow};M&&d&&(W.transition=`height ${z}ms ${f} ${N}ms`,v?.transition&&(W.transition=`${v.transition}, ${W.transition}`),W.WebkitTransition=W.transition);let V={};s&&(V.transition=`opacity ${z}ms ${f} ${N}ms`,V.WebkitTransition=V.transition,0===I&&(V.opacity=0));let L=void 0!==S["aria-hidden"]?S["aria-hidden"]:0===x;return t.default.createElement("div",{...S,"aria-hidden":L,className:`${A} ${p}`,style:W,ref:o},t.default.createElement("div",{className:m,style:V,ref:e=>{w.current=e,j&&(j.current=e)}},u))});e.s(["default",0,o],33126);let s=(0,e.i(68517).createIconComponent)({displayName:"IconArrowTopOutline",viewBox:"0 0 56 56",body:'<path fill-rule="evenodd" d="M26.508 18.98Zm1.942-.02Zm-2.548.456.007-.007a2.257 2.257 0 0 1 3.126-.054l15 14a2.25 2.25 0 1 1-3.07 3.29L27.554 24.128 15.09 36.591a2.25 2.25 0 1 1-3.182-3.182l13.993-13.993Z" clip-rule="evenodd"/>'});e.s(["IconArrowTopOutline",0,s],13846)}]);
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.