1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="18a4fb77-6a36-4756-8dd8-7d6bb1e19aeb",e._sentryDebugIdIdentifier="sentry-dbid-18a4fb77-6a36-4756-8dd8-7d6bb1e19aeb")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2372],{32372:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>I});var n=t(18153),l=t(14232),i=t(37004),s=t(33845),r=t(84315),o=t(29182),d=t(15946),c=t(27142),_=t(77043),m=t(46452),u=t(1549),y=t(90877),w=t(85248),p=t(20518),v=t(28888),b=t(38993);function h(){let e=(0,v._)(["\n position: relative;\n z-index: 0;\n\n .loyalty-system-level-rewards-confetti-container {\n position: absolute;\n top: -200px;\n right: 0;\n left: 0;\n z-index: -100;\n }\n\n .LFIconRate {\n margin-bottom: 16px;\n }\n\n .LFHeading {\n margin-bottom: 24px;\n }\n\n .loyalty-system-rewards-list {\n margin-bottom: 12px;\n }\n\n .LFParagraph {\n margin-bottom: 32px;\n\n &::before {\n content: '';\n display: block;\n border-top: 1px solid var(--neutralGrey);\n width: 64px;\n padding-bottom: 32px;\n }\n }\n\n .phone &,\n .tablet & {\n padding-top: 28px;\n }\n"]);return h=function(){return e},e}let f=()=>(0,b.AH)(h()),I=e=>{var a,t,v;let{currentMicroMarketEvent:b,microMarketData:h,closeRewardsModalClickHandler:I}=e,{sendInternalAnalytics:L}=(0,d.A)(),g=(0,i.d4)(e=>e.loyaltySystem.microMarkets),{translations:A}=(0,l.useContext)(o.q),E=Number(null==b?void 0:b.current_level),S=Number(null==b?void 0:b.previous_level),C=(0,p.DE)(null==g||null==(a=g.data)?void 0:a.micromarkets),N=E>S?A.YOU_UNLOCKED_NEW_BUSINESS_FUNCTIONS:A.THE_NUMBER_OF_BUSINESS_FUNCTIONS_HAS_BEEN_REDUCED,Y=E>S||!C||E>C.level?null==b?void 0:b.current_level:C.level,x=(null==h||null==(t=h.data)?void 0:t.rewards)&&(0,r.Z)({rewards:null==h||null==(v=h.data)?void 0:v.rewards,type:"dynamic-rewards",delay:2500,prevLevel:null==b?void 0:b.previous_level,currentLevel:Y}),R=(0,s.useLottie)({animationData:w,loop:!1});return(0,l.useEffect)(()=>
1{R.setSpeed(.6),L({eventParams:"loyalty:page:loyalty_system:notification:view",eventDetailsParams:"\n notification_type: rewards,\n grade_type: ".concat(E>S?"upgrade":"downgrade",",\n max_level: ").concat(null==b?void 0:b.current_level,",\n ")}),setTimeout(()=>{R.pause()},2e3)},[]),(0,n.FD)("div",{css:f,children:[E>S&&(0,n.Y)("div",{className:"loyalty-system-level-rewards-confetti-container",children:R.View}),(0,n.Y)(m.A,{customClass:"animate__animated animate__fadeIn animate__delay-400ms",size:"48"}),(0,n.Y)(c.A,{customClass:"animate__animated animate__fadeIn animate__delay-800ms",size:"26",text:N,type:"h2",weight:"700"}),(0,n.Y)("div",{className:"animate__animated animate__fadeIn animate__delay-1200ms",children:(0,n.Y)(y.A,{rewardsList:x,hideRewardsTitles:!0})}),(0,n.Y)(_.A,{customClass:"animate__animated animate__fadeIn animate__delay-1600ms",size:"16",text:A.USE_BUSINESS_FUNCTIONS_TO_IMPROVE_PROFILE_TEXT}),(0,n.Y)(u.A,{buttonText:A.CONTINUE,customClassName:"animate__animated animate__fadeIn animate__delay-2000ms",buttonClickHandler:I})]})}},34820:(e,a,t)=>{"use strict";t.d(a,{A:()=>N});var n=t(18153),l=t(14232),i=t(18847),s=t.n(i),r=t(15946),o=t(29182),d=t(93577),c=t(11959),_=t(89391),m=t(61407),u=t(93342),y=t(49471),w=t(32958),p=t(28205),v=t(54387),b=t(15865),h=t(95805),f=t(89903),I=t(64787),L=t(37511),g=t(46767);let A=e=>{let{children:a,waitBeforeShow:t=0}=e,[n,i]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=setTimeout(()=>{i(!0)},t);return()=>clearTimeout(e)},[t]),n?a:null};var E=t(88431),S=t.n(E);let C=s()(()=>Promise.all([t.e(2267),t.e(389),t.e(6462),t.e(9357),t.e(1300),t.e(1849)]).then(t.bind(t,91849)),{loadableGenerated:{webpack:()=>[91849]},ssr:!1}),N=e=>{let{analyticsEvent:a,delay:t=0,isActiveReward:i,isDisabledReward:s,rewardName:E,rewardTitle:N,withCashBackFeature:Y}=e,{sendInternalAnalytics:x}=(0,r.A)(),[R,T]=(0,l.useState)(!1),[k,D]=(0,l.useState)("url"),[z,F]=(0,l.useState)("animate__bounceIn animate__fast"),{translations:P}=(0,l.useContext)(o.q),B={...Y&&{cashback:(0,n.Y)(L.A,{size:"20",color:g.zw})},url:(0,n.Y)(u.A,{size:"20"}),social_network_link:(0,n.Y)(w.A,{}),additional_contacts:(0,n.Y)(b.A,{}),photogallery:(0,n.Y)(h.A,{size:"20"}),working_time:(0,n.Y)(I.A,{}),banner:(0,n.Y)(y.A,{}),branding:(0,n.Y)(c.A,{}),pro_icon:(0,n.Y)(f.A,{}),competitors_absence:(0,n.Y)(v.A,{}),hello_message:(0,n.Y)(p.A,{})},U=e=>{T(e=>
1!e),D(e),a&&!R&&x({eventParams:a,eventDetailsParams:"reward_type: ".concat(E)})};return(0,l.useEffect)(()=>{t&&setTimeout(()=>{F("animate__fadeOut")},t+4e3)},[]),(0,n.FD)("div",{className:"reward-icon-wrap",children:[(0,n.FD)("div",{onClick:()=>U(E),children:[(0,n.FD)("div",{className:S().rewardIcon,children:[B[E],i&&(0,n.Y)(A,{waitBeforeShow:t,children:(0,n.Y)(_.A,{customClass:"animate__animated animate__bounceIn animate__fast",backgroundColor:g.yG,size:"20"})}),s&&(0,n.Y)(A,{waitBeforeShow:t,children:(0,n.Y)(m.A,{customClass:"animate__animated ".concat(z),color:g.uU,size:"20"})})]}),N&&(0,n.Y)(d.A,{text:P[N]||N,size:"10",color:g.zu,customClass:S().rewardIconCaption})]}),R&&(0,n.Y)(C,{analyticsScreenName:"loyalty_replenishment",onboardingSlide:k,closeModalHandler:()=>T(!1),withCashBackFeature:Y})]})}},46452:(e,a,t)=>{"use strict";t.d(a,{A:()=>s});var n=t(37876),l=t(14467),i=t(46767);let s=e=>{let{color:a,customClass:t="",size:s,onClick:r}=e,o=a||i.bH,d=s||"24",c=t?"LFIconRate ".concat(t," ").concat("size-".concat(d)):"LFIconRate";return(0,n.jsx)(l.A,{size:d,customClass:c,onClick:r,children:(0,n.jsx)("svg",{viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,n.jsx)("g",{id:"Property 1=filled, Property 2=enabled",children:(0,n.jsx)("path",{id:"Star",fillRule:"evenodd",clipRule:"evenodd",d:"M48 76.9546L28.9257 87.3607C24.992 89.5067 20.4494 85.9372 21.2154 81.3022L24.8222 59.4799L9.6715 44.1547C6.42631 40.8721 8.17487 35.0505 12.6067 34.3822L33.6754 31.2053L43.2261 11.1236C45.2069 6.95878 50.7931 6.95879 52.7739 11.1237L62.3246 31.2053L83.3933 34.3822C87.8251 35.0505 89.5737 40.8721 86.3285 44.1547L71.1778 59.4799L74.7846 81.3022C75.5506 85.9372 71.008 89.5067 67.0743 87.3607L48 76.9546Z",fill:o})})})})}},53089:e=>{e.exports={rewardIcon:"LoyaltySystemRewardIcon_rewardIcon__ANcBi",main:"LoyaltySystemPurchaseLevelRewardsList_main__BlGs1",title:"LoyaltySystemPurchaseLevelRewardsList_title__p8PIm",icons:"LoyaltySystemPurchaseLevelRewardsList_icons__WiuMJ",onlyIcons:"LoyaltySystemPurchaseLevelRewardsList_onlyIcons__Mngog"}},88431:e=>{e.exports={rewardIcon:"LoyaltySystemRewardIcon_rewardIcon__ANcBi",rewardIconCaption:"LoyaltySystemRewardIcon_rewardIconCaption__X1uKu"}},90877:(e,a,t)=>{"use strict";t.d(a,{A:()=>m});var n=t(18153),l=t(14232),i=t(29182),s=t(86412),r=t(77043),o=t(46767),d=t(34820),c=t(53089),_=t.n(c);let m=e=>{let{analyticsEvent:a,rewardsList:t,hideRewardsTitles:c,withCashBackFeature:m}=e,{translations:u}=(0,l.useContext)(i.q),y=c?_().onlyIcons:"";return(0,n.FD)("div",{className:"".concat(_().main," loyalty-system-rewards-list"),children:[(0,n.Y)(s.A,{size:"16",text:u.FREE_REWARDS_BUSINESS_TEXT,weight:"700",customClass:_().title}),(0,n.Y)(r.A,{size:"14",text:u.THE_HIGHER_THE_CATEGORY_LEVEL_TEXT,color:o.zw}),(0,n.Y)("div",{className:"".concat(_().icons," ").concat(y),children:(null==t?void 0:t.length)>0&&t.map(e=>(0,n.Y)(d.A,{analyticsEvent:a,delay:e.delay,isActiveReward:e.isActiveReward,isDisabledReward:e.isDisabledReward,rewardName:e.rewardName,rewardTitle:c?null:e.rewardTitle,withCashBackFeature:m},e.rewardName))})]})}}}]); 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="32875ed1-5e4e-5912-8ae7-a0b3d32bceb0")}catch(e){}}(); 3//# debugId=32875ed1-5e4e-5912-8ae7-a0b3d32bceb0
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.