PageSourceSearch

https://lisoped.ua/_next/static/chunks/pages/user/bonuses-99838390bfc54acf.js

js lisoped.ua collected 2026-10-08 02:30:22 UTC 23,003 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9234],{52874:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});n(88921),n(96248),n(13599),n(11477),n(64362),n(15389),n(90401),n(45164),n(91238),n(54837),n(87485),n(56767),n(76651),n(61437),n(35285),n(39865);var i=n(67294),o=n(11163),s=n(87379),d=n(39943),a=n(28319),l=n(16647);const r=s.ZP.div.withConfig({displayName:"indexstyled__WrapperTextBlock",componentId:"sc-if0dnx-0"})(["width:100%;*{",";}p{",";margin-bottom:5px;}img{max-width:100%;height:auto;}.bold{font-weight:bold;}.font-size-small{margin:1px 0;"," ",";}h1{",";margin-bottom:5px;}h2{",";margin-bottom:5px;}h3,h4,h5,h6{text-transform:uppercase;",";}b,strong{font-weight:bolder;}ol{padding:0 0 0 16px;}ul{list-style:none;padding:0;li::before{content:'\u2022';color:",";padding-right:7px;font-size:16px;float:left;}}li{margin:0 0 8px 30px;",";}iframe{width:100%;height:293.38px;}.text_center{width:100%;text-align:center;padding:40px 120px;",";}.max-content-640{max-width:640px;}.text-grey{",";}.wrapper_left_right_text_image{height:100%;width:100%;display:grid;grid-template-columns:1fr 1fr;margin:10px 0;img{width:100%;}}.mtb-26{margin:26px 0;}.mt-52-mob-15{margin-top:15px;","}.ml-90{margin-left:90px;}.credit{margin-top:10px;",";text-align:center;}.credit-green{margin-top:5px;",";text-align:center;}.text-line-through{text-decoration:line-through;}.block_text_left_right{width:100%;height:100%;margin:0;padding:0 20px;display:flex;justify-content:center;align-items:center;",";}.block_full_width{width:100%;text-align:center;}.img_half_screen{max-width:100%;height:auto;","}.text-center{text-align:center;}.button{height:30px;border-radius:3px;background-color:",";padding:9px 20px;cursor:pointer;transition:0.3s;text-decoration:none;",";&:hover{background-color:transparent;color:",";border:1px solid ",";}}.bg-white{background:",";padding:15px;}.without-list-style::before{content:'';}.upper-case{text-transform:uppercase;}.drop-title{height:50px;padding-left:15px;padding-right:30px;display:flex;align-items:center;","}.horisontal{display:flex;justify-content:space-between;flex-wrap:wrap;margin-top:27px;}.horisontal-column{padding-top:47px;","}.drop{page-break-inside:avoid;display:inline-block;width:100%;height:100%;cursor:pointer;margin-top:10px;transition:300ms;overflow:hidden;position:relative;border-radius:5px;border:solid 1px ",";padding:0;background-color:",";}"," .horisontal .drop{","}.drop-title::before{content:'';display:block;background-image:url(\"data:image/svg+xml;charset=UTF-8, %3csvg width='10' height='8' viewBox='0 0 10 8' fill='none' xmlns='http://www.w3.org/2000/svg' %3e%3cpath d='M10 2.08954L8.82082 0.9104L5 4.73122L1.17918 0.9104L-5.15419e-08 2.08954L5 7.08954L10 2.08954Z' fill='%23001A27' /%3e%3c/svg%3e\");background-repeat:no-repeat;width:20px;height:20px;position:absolute;top:22px;right:5px;}.open{.drop-title{display:flex;align-items:center;height:50px;padding:0 0 0 15px;","}.cards{display:flex;flex-direction:column;gap:15px;",";.card{width:200px;height:274px;border-radius:2px;box-shadow:1px 2px 7px 1px rgba(0,0,0,0.25);padding:15px 7px 3px 5px;margin:0 10px 13px 0;}.faq-card{flex:1 1 0;display:flex;flex-direction:column;border-radius:4px;box-shadow:1px 2px 7px 1px rgba(0,0,0,0.25);padding:10px;}.faq-image-link{display:block;margin:0 auto;}.image{background:green;width:190px;height:114px;}.faq-image{display:block;margin:0 auto;width:200px;}.faq-card-title{display:block;margin-top:15px;min-height:24px;text-decoration:none;"," ",";}.card-title{"," ",";}.status{margin-bottom:12px;","}.faq-status{margin:15px 0 15px;","}.faq-status.faq-status-red{color:",";}.price{display:inline-block;margin-top:10px;"," .old-price{position:relative;margin-right:5px;",";&:before{content:'';display:block;width:52px;height:0.5px;background:",";position:absolute;right:0;top:50%;}}}.flex{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:auto;}.faq-price{display:inline-block;"," .faq-old-price{position:relative;margin-right:5px;",";&:before{content:'';display:block;width:52px;height:0.5px;background:",";position:absolute;right:0;top:50%;}}}.button{margin-top:5px;
1display:inline-block;text-decoration:none;}.faq-button{flex-grow:1;display:inline-block;max-width:130px;padding:9px 0;text-decoration:none;border-radius:3px;background-color:",";cursor:pointer;transition:0.3s;border:1px solid ",";",";&:hover{background-color:transparent;color:",";}}}& > p,& > a,& > a,& > div,& > iframe{display:block;padding:0 15px 15px 15px;}.drop-title::before{background-image:url(\"data:image/svg+xml;charset=UTF-8, %3csvg width='10' height='10' viewBox='0 0 10 10' xmlns='http://www.w3.org/2000/svg' %3e%3cg clipPath='url(%23clip0)'%3e%3cpath d='M5.49505 2.35628L9.79476 6.65612C10.0684 6.92964 10.0684 7.37311 9.79476 7.6465C9.52135 7.91991 9.0779 7.91991 8.80451 7.6465L4.99993 3.8418L1.19548 7.64639C0.921955 7.9198 0.478552 7.9198 0.205141 7.64639C-0.0683805 7.37298 -0.0683805 6.92953 0.205141 6.65601L4.50491 2.35617C4.64169 2.21946 4.82075 2.15119 4.99991 2.15119C5.17915 2.15119 5.35835 2.21959 5.49505 2.35628Z' fill='%23001A27' /%3e%3c/g%3e%3cdefs%3e%3cclipPath id='clip0'%3e%3crect width='9.99998' height='10' transform='translate(0 10) rotate(-90)' /%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\");}}"],(0,a.vq)("14px","16px",d.x5),(0,a.vq)("14px","16.41px",d.x5),(0,a.vq)("14px","16px",d.x5),l.td.desktopXS((0,s.iv)(["",";"],(0,a.vq)("12px","14px",d.x5))),(0,a.vq)("24px","24px",d.x5),(0,a.vq)("18px","21px",d.x5),(0,a.vq)("14px","16px",d.x5),d.ek,(0,a.vq)("14px","16px",d.x5),(0,a.vq)("14px","16px",d.x5),(0,a.vq)("14px","16px",d.O5),l.td.tabletM((0,s.iv)(["margin-top:52px;"])),(0,a.vq)("14px","16px",d.x5),(0,a.vq)("14px","16px",d.ek),(0,a.vq)("14px","16px",d.x5),l.td.desktopXS((0,s.iv)(["max-width:50%;"])),d.ek,(0,a.lm)("14px","14px",d.ix),d.ek,d.ek,d.ix,(0,a.vq)("18px","21.09px",d.x5),l.td.desktopM((0,s.iv)(["column-count:2;column-gap:10px;"])),d.l2,d.ix,(({jsEnabled:e})=>e&&(0,s.iv)([".close{p,ul,a,iframe,.cards{margin-top:23px;display:none;}}"])),l.td.desktopXS((0,s.iv)(["width:45%;"])),(0,a.vq)("18px","21.09px",d.x5),l.td.tabletM((0,s.iv)(["flex-direction:row;"])),(0,a.av)("14px","14px",d.x5),l.td.desktopXS((0,s.iv)(["",";"],(0,a.vq)("12px","12px",d.x5))),(0,a.av)("14px","14px",d.x5),l.td.desktopXS((0,s.iv)(["",";"],(0,a.vq)("12px","12px",d.x5))),(0,a.vq)("14px","14px",d.ek),(0,a.vq)("14px","14px",d.ek),d.o6,(0,a.av)("14px","14px",d.x5),(0,a.qO)("14px","14px",d.O5),d.O5,(0,a.av)("14px","14px",d.x5),(0,a.qO)("14px","14px",d.O5),d.O5,d.ek,d.ek,(0,a.lm)("14px","14px",d.ix),d.ek);var p=n(71794),c=n(81035),x=n(87229),u=n(72421),h=n(85845),g=n(85893);function v({text:e}){const t=(0,i.useRef)(null),n=(0,i.useRef)(new Set),{asPath:s}=(0,o.useRouter)(),{addToBasket:d}=(0,p.Vh)(),{setComponent:a}=(0,x.l)(),{0:l,1:v}=(0,i.useState)(!1);(0,i.useEffect)((()=>{v(!0)}),[]),(0,i.useEffect)((()=>{if(!t.current)return;const e=t.current.getElementsByClassName("drop"),n=[...e].reduce(((e,t)=>{var n;const i=e=>{const t=e.currentTarget.parentElement;null!==t&&void 0!==t&&t.className.includes("open")?(t.classList.add("close"),t.classList.remove("open")):null!==t&&void 0!==t&&t.className.includes("close")?(t.classList.add("open"),t.classList.remove("close")):null===t||void 0===t||t.classList.toggle("close")};e.push(i);return null===(n=t.getElementsByClassName("drop-title")[0])||void 0===n||n.addEventListener("click",i),e}),[]);return()=>{[...e].forEach(((e,t)=>{var i;null===(i=e.getElementsByClassName("drop-title")[0])||void 0===i||i.removeEventListener("click",n[t])}))}}),[s,e]);const m=(0,i.useCallback)((()=>{a(null)}),[a]),f=(0,i.useCallback)((e=>{"masterskaya-request"!==e?"contacts"===e&&a({onClose:m,side:"top",component:(0,g.jsx)(h.Z,{onClose:m})}):a({onClose:m,side:"center",component:(0,g.jsx)(u.Z,{onClose:m})})}),[m,a]),y=(0,i.useCallback)((()=>{a({onClose:m,side:"center",component:(0,g.jsx)(c.Z,{onClose:m})})}),[m,a]),w=(0,i.useCallback)((async e=>{const t=Number(e.dataset.addProductId);if(t&&!n.current.has(t)){n.current.add(t),e.disabled=!0;try{await d(t),y()}finally{n.current.delete(t),e.disabled=!1}}}),[d,y]),b=(0,i.useCallback)((async e=>{const t=e.target;if(!(t instanceof HTMLElement))return;const n=t.closest("[data-open-popup]"),i=null===n||void 0===n?void 0:n.dataset.openPopup;if("masterskaya-request"===(o=i)||"contacts"===o)return e.preventDefault(),e.stopPropagation(),void f(i);var o;const s=t.closest("[data-add-product-id]");s&&(e.preventDefault(),e.stopPropagation(),await w(s))}),[w,f]);return(0,g.jsx)(r,{jsEnabled:l,children:(0,g.jsx)("div",{ref:t,onClick:b,dangerouslySetInnerHTML:{__html:e},role:"presentation"})})}},72421:function(e,t,n){"use strict";const i=(0,n(5152).default)((()=>Promise.all([n.e(551),n.e(3272)]).then(n.bind(n,99514))),{ssr:!1,loadableGenerated:{webpack:()=>[99514],modules:["../components/pages/masterskaya/popup/LazyMasterskayaRequestPopup.tsx 
1-> ./MasterskayaRequestPopup"]}});t.Z=i},19387:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var i=n(67294),o=n(52575);function s(e){const{data:t}=(0,o.q5B)();let n;return e||(e="white"),function(e){e[e.white=0]="white",e[e.silver=1]="silver",e[e.gold=2]="gold",e[e.black=3]="black"}(n||(n={})),(0,i.useMemo)((()=>{if(!t)return null;const i=(({bonusesProps:{items:e}})=>{const t={};return null===e||void 0===e||e[0].fields.forEach((e=>{t[e.code]=e.value})),{white:{name:"White",percent:+t.UF_CARD_WHITE_PERCENT,threshold:+t.UF_THRESHOLD_WHITE,active:!1},silver:{name:"Silver",percent:+t.UF_CARD_SILVER_PERCENT,threshold:+t.UF_THRESHOLD_SILVER,active:!1},gold:{name:"Gold",percent:+t.UF_CARD_GOLD_PERCENT,threshold:+t.UF_THRESHOLD_GOLD,active:!1},black:{name:"Black",percent:+t.UF_CARD_BLACK_PERCENT,threshold:+t.UF_THRESHOLD_BLACK,active:!1}}})(t);return Object.keys(i).forEach(((t,o)=>{o<=n[e]&&(i[n[o]].active=!0)})),i}),[n,t,e])}},78549:function(e,t,n){"use strict";n.d(t,{Z:function(){return H}});var i=n(95780),o=n(50072),s=n(41664),d=n(87379),a=n(16647),l=n(28319),r=n(39943),p=n(26915);const c=d.ZP.div.withConfig({displayName:"indexstyled__WrapperInfo",componentId:"sc-8hwxd3-0"})(["",""],a.td.desktopL((0,d.iv)(["display:flex;justify-content:flex-start;"]))),x=(0,d.ZP)(p.Z).withConfig({displayName:"indexstyled__Svg",componentId:"sc-8hwxd3-1"})(["margin-left:5px;fill:",";",";"],r._Z,a.td.desktopXS((0,d.iv)(["fill:",";"],r.ek))),u=d.ZP.p.withConfig({displayName:"indexstyled__InfoTitle",componentId:"sc-8hwxd3-2"})(["",";margin:15px 0;"],(0,l.vq)("14px","14px",r._Z)),h=d.ZP.span.withConfig({displayName:"indexstyled__InfoText",componentId:"sc-8hwxd3-3"})(["display:block;",";margin:5px 0;&:first-letter{text-transform:uppercase;}"],(0,l.qO)("14px","14px",r.Sn)),g=d.ZP.div.withConfig({displayName:"indexstyled__Button",componentId:"sc-8hwxd3-4"})(["width:180px;margin-top:30px;"]),v=d.ZP.p.withConfig({displayName:"indexstyled__InfoTitleBold",componentId:"sc-8hwxd3-5"})(["",";"],(0,l.vq)("14px","14px",r._Z)),m=d.ZP.span.withConfig({displayName:"indexstyled__InfoTextBold",componentId:"sc-8hwxd3-6"})(["margin-left:5px;",";"],(0,l.av)("14px","14px",r.Sn)),f=d.ZP.a.withConfig({displayName:"indexstyled__Link",componentId:"sc-8hwxd3-7"})(["text-decoration:none;"]);var y=n(67294),w=n(38133),b=n(55989),_=n(69483),k=n(81402);const j=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__Wrapper",componentId:"sc-1xl6dae-0"})(["position:relative;overflow:scroll;width:100%;padding-top:50px;&::-webkit-scrollbar{display:none;}",";",";"],a.td.desktopXS((0,d.iv)(["width:auto;margin:0;"])),a.td.desktopL((0,d.iv)(["width:775px;margin:0 auto;"]))),C=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__Cards",componentId:"sc-1xl6dae-1"})(["display:flex;justify-content:space-between;width:615px;",";"],a.td.desktopM((0,d.iv)(["width:775px;"]))),Z=d.ZP.p.withConfig({displayName:"InfoBonusGraphstyled__CardName",componentId:"sc-1xl6dae-2"})(["display:flex;align-items:center;justify-content:space-around;width:100px;margin:14px 0;",";",";"],(0,l.av)("14px","14px",r.Sn),a.td.desktopM((0,d.iv)(["margin:14px 20px;"]))),P=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__LineGrey",componentId:"sc-1xl6dae-3"})(["width:615px;height:5px;margin-bottom:38px;background:",";",";"],r.l2,a.td.desktopM((0,d.iv)(["width:775px;"]))),I=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__VerticallyLineGrey",componentId:"sc-1xl6dae-4"})(["position:absolute;top:88px;left:",";width:1px;height:21px;background:",";",";"],(({positionMobile:e})=>`${e}px`),(({active:e})=>e?r.ek:r.d0),(({positionDesktop:e})=>a.td.desktopM((0,d.iv)(["left:","px;"],e)))),N=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__Threshold",componentId:"sc-1xl6dae-5"})(["position:absolute;bottom:10px;left:",";width:100px;",";text-align:center;",";"],(({positionMobile:e})=>`calc(${e}px - 50px)`),(({active:e})=>e?(0,l.vq)("14px","14px",r.ek):(0,l.vq)("14px","14px",r.d0)),(({positionDesktop:e})=>a.td.desktopM((0,d.iv)(["left:calc(","px - 50px);"],e)))),q=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__LineGreen",componentId:"sc-1xl6dae-6"})(["width:100%;height:5px;background:",";"],r.ek),B=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__WrapperGreenLine",componentId:"sc-1xl6dae-7"})(["position:absolute;top:96px;display:flex;justify-content:flex-start;align-items:center;width:",";",";"],(({widthMobile:e})=>`${e}px`),(e=>a.td.desktopM((0,d.iv)(["width:","px;"],e.widthDesktopM)))),L=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__CircleGreen",componentId:"sc-1xl6dae-8"})(["position:absolute;right:-8px;width:15px;height:15px;border-radius:50%;background:",";"],r.ek),E=d.ZP.div.withConfig({displayName:"InfoBonusGraphstyled__PreloaderWrapper",componentId:"sc-1xl6dae-9"})(["display:flex;align-items:center;justify-content:center;padding:20px 0;width:100%;height:100%;"]);var O=n(21569),S=n(85893);const M={white:"50",silver:"222",gold:"394",black:"565"},T={white:"70",silver:"282",gold:"494",black:"705"};function U({nextLevel:e,card:t,cardsVariable:n}){var i,s,d,a,l,r,p,c;const{0:x,1:u}=(0,y.useState)(+M.white),{0:h,1:g}=(0,y.useState)(+T.white),v=(0,o.c)();if((0,y.useEffect)((()=>{let n=0;
1e&&(n+=105),"white"===t&&(u(+M.white+n),g(+T.white+n)),"silver"===t&&(u(+M.silver+n),g(+T.silver+n)),"gold"===t&&(u(+M.gold+n),g(+T.gold+n)),"black"===t&&(u(+M.black),g(+T.black))}),[t,e]),!n)return(0,S.jsx)(E,{children:(0,S.jsx)(O.Z,{})});const m=Object.entries(n);return(0,S.jsxs)(j,{children:[(0,S.jsxs)(C,{children:[(0,S.jsxs)(Z,{children:[(0,S.jsx)(w.Z,{stroke:"black",fill:"white"}),null===n||void 0===n||null===(i=n.white)||void 0===i?void 0:i.name," ",null===n||void 0===n||null===(s=n.white)||void 0===s?void 0:s.percent,"%"]}),(0,S.jsxs)(Z,{children:[(0,S.jsx)(b.Z,{}),null===n||void 0===n||null===(d=n.silver)||void 0===d?void 0:d.name," ",null===n||void 0===n||null===(a=n.silver)||void 0===a?void 0:a.percent,"%"]}),(0,S.jsxs)(Z,{children:[(0,S.jsx)(_.Z,{}),null===n||void 0===n||null===(l=n.gold)||void 0===l?void 0:l.name," ",null===n||void 0===n||null===(r=n.gold)||void 0===r?void 0:r.percent,"%"]}),(0,S.jsxs)(Z,{children:[(0,S.jsx)(k.Z,{}),null===n||void 0===n||null===(p=n.black)||void 0===p?void 0:p.name," ",null===n||void 0===n||null===(c=n.black)||void 0===c?void 0:c.percent,"%"]})]}),m.map((e=>(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(I,{positionMobile:M[e[0]],positionDesktop:T[e[0]],active:e[1].active},e[0]),(0,S.jsxs)(N,{active:e[1].active,positionMobile:M[e[0]],positionDesktop:T[e[0]],children:[`${e[1].threshold} ${v.UAH.text}`," "]})]}))),(0,S.jsx)(P,{}),(0,S.jsxs)(B,{widthMobile:x,widthDesktopM:h,children:[(0,S.jsx)(q,{}),(0,S.jsx)(L,{})]})]})}var D=n(19387);function H({level:e,nextLevel:t,bonuses:n}){const d=(0,o.c)(),a=(0,D.Z)(e);return(0,S.jsxs)(S.Fragment,{children:[(0,S.jsxs)(c,{children:[(0,S.jsxs)("div",{children:[(0,S.jsxs)(v,{children:[(0,S.jsx)("span",{"data-lange-code":d.UserBonusQuantity.code,children:d.UserBonusQuantity.text}),(0,S.jsxs)(m,{"data-lang-code":d.UAH.code,children:[n?n.budget:0," ",d.UAH.text]})]}),e&&(0,S.jsxs)(u,{children:[(0,S.jsx)("span",{"data-lange-code":d.UserBonusLevel.code,children:d.UserBonusLevel.text}),(0,S.jsx)(x,{}),(0,S.jsxs)(h,{children:[e," ",(()=>{var t,n,i,o;return a?"silver"===e?null===a||void 0===a||null===(t=a.silver)||void 0===t?void 0:t.percent:"gold"===e?null===a||void 0===a||null===(n=a.gold)||void 0===n?void 0:n.percent:"black"===e?null===a||void 0===a||null===(i=a.black)||void 0===i?void 0:i.percent:null===a||void 0===a||null===(o=a.white)||void 0===o?void 0:o.percent:null})(),"%"]})]}),0!==t&&"black"!==e?(0,S.jsxs)(u,{children:[(0,S.jsx)("span",{"data-lang-code":d.UserBonusLevel.code,children:d.UserBonusToNextLevel.text}),(0,S.jsxs)(h,{"data-lang-code":d.UAH.code,children:[" ",t," ",d.UAH.text]})]}):null]}),e&&a?(0,S.jsx)(U,{card:e,cardsVariable:a,nextLevel:t}):null]}),n&&(0,S.jsx)(g,{children:(0,S.jsx)(s.default,{href:"/aksessuary-dlya-velosipedov",passHref:!0,children:(0,S.jsx)(f,{children:(0,S.jsx)(i.Z,{"data-lane-code":d.UserBonusButton.code,text:d.UserBonusButton.text})})})})]})}},24891:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return R},default:function(){return F}});var i=n(9008),o=n(68429),s=n(40406),d=n(17554),a=n(8376),l=n(92809),r=n(61207),p=n(14416),c=n(52874),x=n(50072),u=n(87379),h=n(39943),g=n(28319);const v=u.ZP.div.withConfig({displayName:"indexstyled__Wrapper",componentId:"sc-1cyhvqs-0"})(["display:flex;width:100%;justify-content:space-between;border-bottom:solid 1px ",";padding:11px 0;"],h.l2),m=u.ZP.div.withConfig({displayName:"indexstyled__WrapperInfo",componentId:"sc-1cyhvqs-1"})([""]),f=u.ZP.div.withConfig({displayName:"indexstyled__WrapperDate",componentId:"sc-1cyhvqs-2"})(["",""],(0,g.vq)("12px","14.06px",h.Sn)),y=u.ZP.p.withConfig({displayName:"indexstyled__Comment",componentId:"sc-1cyhvqs-3"})(["",""],(0,g.vq)("12px","12px",h._Z)),w=u.ZP.p.withConfig({displayName:"indexstyled__CommentText",componentId:"sc-1cyhvqs-4"})(["",""],(0,g.vq)("16px","18.75px",h.Sn)),b=u.ZP.div.withConfig({displayName:"indexstyled__Title",componentId:"sc-1cyhvqs-5"})([""," color:",";"],(0,g.av)("18px","18px"),(({debit:e})=>e?h.ek:h.M));var _=n(85893);function k({date:e,debit:t,notes:n,amount:i}){const o=new Date(e),s=o.getMonth()+1,d=`${o.getDate()}.${s>9?s:`0${s}`}.${o.getFullYear()}`,a=(0,x.c)();return(0,_.jsxs)(v,{children:[(0,_.jsxs)(m,{children:[(0,_.jsxs)(b,{debit:t,"data-lang-code":a.UserBonusBonuses.code,children:[t?"+ ":"- "," ",i," ",a.UserBonusBonuses.text]}),(0,_.jsx)(y,{"data-lang-code":a.UserBonusComment.code,children:a.UserBonusComment.text}),(0,_.jsx)(w,{children:n})]}),(0,_.jsx)(f,{children:d})]})}var j=n(16647),C=n(26915);const Z=(0,u.ZP)(C.Z).withConfig({displayName:"indexstyled__SvgGreen",componentId:"sc-1j4yzuj-0"})(["fill:",";width:15px;height:15px;"],h.ek),P=u.ZP.h1.withConfig({displayName:"indexstyled__Title",componentId:"sc-1j4yzuj-1"})(["",";"," ",""],(0,g.av)("14px","14px",h.x5),j.td.tabletM((0,u.iv)(["",";"],(0,g.av)("24px","28px",h.x5))),j.td.desktopXS((0,u.iv)(["",";"],(0,g.vq)("24px","28px",h.x5)))),I=u.ZP.div.withConfig({displayName:"indexstyled__InfoDetail
1s",componentId:"sc-1j4yzuj-2"})(["display:flex;justify-content:space-around;padding:10px 15px 12px 12px;border:solid 1px ",";border-radius:3px;margin-top:29px;",""],h.kf,j.td.desktopXS((0,u.iv)(["width:635px;"]))),N=u.ZP.div.withConfig({displayName:"indexstyled__InfoDetailsSvg",componentId:"sc-1j4yzuj-3"})(["margin:3px 10px 10px 0;display:flex;justify-content:center;"]),q=u.ZP.div.withConfig({displayName:"indexstyled__InfoDetailsText",componentId:"sc-1j4yzuj-4"})(["",";& a{color:",";text-decoration:none;}"],(0,g.vq)("14px","14px",h._Z),h.ek),B=u.ZP.div.withConfig({displayName:"indexstyled__History",componentId:"sc-1j4yzuj-5"})(["margin-bottom:29px;",";"],j.td.desktopXS((0,u.iv)(["width:535px;"]))),L=u.ZP.h3.withConfig({displayName:"indexstyled__HistoryTitle",componentId:"sc-1j4yzuj-6"})(["",";"],(0,g.av)("18px","18px",h.Sn));var E=n(78549),O=n(13068);function S(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function M({text:e}){var t;const n=(0,x.c)(),i=(0,r.S)(),o=null===(t=i.user)||void 0===t?void 0:t.bonusesTransactions.filter((e=>Number(e.amount)>0));return null===o||void 0===o||o.sort(((e,t)=>e.date>=t.date?-1:1)),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(P,{children:n.BonusSystem.text}),i.user?(0,_.jsx)(E.Z,{level:i.user.card?i.user.card:null,nextLevel:i.user.UF_BONUSOV_DO,bonuses:i.user.bonuses}):(0,_.jsx)(O.Z,{"data-lang-code":n.EmptyBonuses.code+n.GoToCatalog.code,title:n.EmptyBonuses.text,link:"/bmx",textButton:n.GoToCatalog.text}),(0,_.jsxs)(I,{children:[(0,_.jsx)(N,{children:(0,_.jsx)(Z,{})}),(0,_.jsx)(q,{children:e?(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(c.Z,{text:e}),(0,_.jsx)(p.Z,{href:"/clients/bonusy",children:(0,_.jsx)("a",{"data-lang-code":n.MoreDetails.code,children:n.MoreDetails.text})})]}):null})]}),o&&(null===o||void 0===o?void 0:o.length)>0&&(0,_.jsxs)(B,{children:[(0,_.jsx)(L,{"data-lang-code":n.UserBonusHistory.code,children:n.UserBonusHistory.text}),null===o||void 0===o?void 0:o.map((e=>(0,_.jsx)(k,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?S(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):S(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e),e.id)))]})]})}var T=n(22437),U=n(67294),D=n(94904),H=n(15281),G=n(57092),R=!0;function F({clientsInfoProps:e}){const t=(0,x.c)(),n=(0,D.PN)();(0,U.useEffect)((()=>{n({event:"PageView",ecommerce:null})}),[n]);const{text:l}=e;return(0,_.jsxs)(o.Z,{children:[(0,_.jsx)(G.Z,{}),(0,_.jsx)(H.Z,{"data-lang-code":t.PersonalPage.code,title:t.PersonalPage.text}),(0,_.jsxs)(s.Z,{children:[(0,_.jsxs)(i.default,{children:[(0,_.jsx)("title",{children:"User"}),(0,_.jsx)("meta",{property:"og:type",content:"website"}),(0,_.jsx)("meta",{property:"og:title",content:"Index title page"})]}),(0,_.jsx)(T.Z,{}),(0,_.jsx)(d.Z,{children:(0,_.jsx)(a.Z,{children:(0,_.jsx)(M,{text:l})})})]})]})}},26915:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var i=n(85893);function o({className:e}){return(0,i.jsx)("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,i.jsx)("path",{d:"M4.5 7.5H5.5V4.5H4.5V7.5ZM5 0C2.25 0 0 2.25 0 5C0 7.75 2.25 10 5 10C7.75 10 10 7.75 10 5C10 2.25 7.75 0 5 0ZM5 9C2.8 9 1 7.2 1 5C1 2.8 2.8 1 5 1C7.2 1 9 2.8 9 5C9 7.2 7.2 9 5 9ZM4.5 3.5H5.5V2.5H4.5V3.5Z"})})}},12031:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/bonuses",function(){return n(24891)}])}},function(e){e.O(0,[4014,8429,592,382,9774,2888,179],(function(){return t=12031,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.