1(this["webpackJsonpelf-client"]=this["webpackJsonpelf-client"]||[]).push([[115],{1054:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(5),r={locked:"#CED0DA",active:"linear-gradient(90deg, #FF7B00 0%, #FFCB00 100%)",progress:"linear-gradient(90deg, #00B83E 0%, #85C300 100%)",complete:"linear-gradient(90deg, #00B83E 0%, #85C300 100%)"},o=i.f.div.withConfig({displayName:"styled__ScProgressBar",componentId:"sc-1dzkwsb-0"})(["width:100%;height:4px;background:#1f202c;border-radius:12px;overflow:hidden;position:relative;"]),a=i.f.div.withConfig({displayName:"styled__ScProgressFill",componentId:"sc-1dzkwsb-1"})(["height:100%;background:",";border-radius:",";transition:width 0.3s ease;position:relative;"],(function(e){var t=e.$variant;return r[t]}),(function(e){return"complete"===e.$variant?"12px":"12px 0 0 12px"})),c=n(1),s=function(e){var t=e.value,n=e.max,i=void 0===n?100:n,r=e.className,s=Math.min(t/i*100,100),d=0===t?"locked":100===s?"complete":s<50?"active":"progress";return Object(c.jsx)(o,{className:r,children:Object(c.jsx)(a,{$variant:d,style:{width:"locked"===d?"5px":"max(5px, ".concat(s,"%)")}})})}},1094:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var i=n(4),r=n(2),o=n(22),a=n(24),c=n(0),s=n(865),d=n(939),l=n(1),p=["type","variant","text","withArrow","onClick"],u=function(e){var t,n=e.type,u=e.variant,b=void 0===u?"big":u,g=e.text,m=e.withArrow,x=e.onClick,f=Object(o.a)(e,p),h=Object(a.a)(),j=h.successIcon,v=h.infoIcon,O=h.warningIcon,w=h.errorIcon,y=h.images,k=Object(c.useMemo)((function(){return{big:{fontSize:14,bgColor:"grayColor6",padding:"16px",fontWeight:700,lineHeight:20},small:{fontSize:12,bgColor:"blueViolet",padding:"12px 16px",fontWeight:400,lineHeight:18}}[b]}),[b]),C=(t={},Object(r.a)(t,s.c.SUCCESS,Object(l.jsx)(j,{})),Object(r.a)(t,s.c.INFO,Object(l.jsx)(v,{})),Object(r.a)(t,s.c.WARNING,Object(l.jsx)(O,{})),Object(r.a)(t,s.c.ERROR,Object(l.jsx)(w,{})),t)[n];return Object(l.jsxs)(d.b,Object(i.a)(Object(i.a)({clickable:!!x,error:n===s.c.ERROR,info:n===s.c.INFO,onClick:x,success:n===s.c.SUCCESS,variantConfig:k,warning:n===s.c.WARNING},f),{},{children:[C,g,m&&Object(l.jsx)("div",{className:"arrow",children:Object(l.jsx)(y.arrowRightIcon.component,{})})]}))}},802:function(e,t,n){"use strict";n.r(t);var i=n(4),r=n(1094),o=n(47),a=n(33),c=n(835),s=n(24),d=n(1054),l=n(50),p=n(474),u=n(177),b=n(249),g=n(390),m=n(32),x=n(0),f=n(125),h=n(19),j=n(829),v=n(5),O=v.f.div.withConfig({displayName:"styled__ScNotificationMessage",componentId:"sc-1xr50l6-0"})(["& > .launch-text{cursor:pointer;color:",";text-decoration:underline;font-weight:700;line-height:18px;letter-spacing:0;}"],(function(e){return e.theme.blueColor})),w=n(1),y=["notification.expired","notification.bonusesDisabled"],k=Object(x.memo)((function(e){var t=e.messageKey,n=e.prizeAmount,i=e.prizeType,r=Object(f.a)("missions").t;return t&&n?"notification.cpCredited"===t?r(t,{amount:"cp"===i?n:""}):y.includes(t)?Object(w.jsx)(O,{children:Object(w.jsx)(j.a,{components:{s:Object(w.jsx)("span",{className:"launch-text",id:"intercomcustomLauncher"})},i18nKey:t,ns:"missions"})}):r(t):null})),C=n(9),N=Object(x.memo)((function(e){var t=e.prizeType,n=e.prizeAmount,i=Object(f.a)("missions"),r=i.t,o=i.i18n.language;return Object(w.jsxs)("div",{className:"prize",children:["cp"===t&&Object(w.jsx)("span",{children:r("glossary:compPoints",{amount:n})}),"fs"===t&&Object(w.jsx)("span",{children:r("glossary:freespins",{amount:n})}),"cash"===t&&Object(w.jsx)("span",{children:r("glossary:cash",{amount:Object(C.j)("{{".concat(n,"}}"),o)})})]})})),S=n(865),z=n(163),I=n(39),E={close:{grayGradient:!0},exchangeCp:{green:!0},default:{green:!0}},R=n(939),_=n(10),A=v.f.div.withConfig({displayName:"styled__ScMission",componentId:"sc-1jkfvpi-0"})(["position:relative;display:flex;flex-direction:column;align-items:center;& > .img-card{z-index:1;filter:",';}&::before{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient( 50.03% 50.03% at 50% 43.55%,rgba(13,155,219,0.15) 0%,rgba(13,155,219,0) 100% );max-height:264px;pointer-events:none;z-index:0;}& > .done-mission-wrapper{display:flex;align-items:center;gap:8px;margin-top:4px;margin-bottom:4px;& > .done-text{background:',";-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-size:16px;font-weight:700;line-height:28px;letter-spacing:0.16px;}& > .done-icon{width:22px;height:22px;background:",";border-radius:50%;display:flex;justify-content:center;align-items:center;svg path{stroke:#1a1b24;}}}& > .prize-wrapper{display:flex;gap:8px;margin-top:8px;align-items:baseline;filter:",";& > .prize{font-size:24px;font-weight:800;line-height:24px;letter-spacing:0.18px;background:linear-gradient(90deg,#ff7b00 0%,#ffcb00 100%);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;}}& > .progress-bar-wrapper{display:flex;flex-direction:column;width:100%;max-width:134px;margin-top:4px;& > .progress{height:8px;}& > .percentage{color:rgba(255,255,255,0.6);text-align:center;font-size:10px;font-weight:400;line-height:13px;letter-spacing:0;margin-top:4px;}}& > .completed-wrapper{display:flex;align-items:center;gap:8px;margin-top:13.5px;& > span{color:rgba(255,255,255,0.6);font-size:14px;font-weight:500;line-height:20px;}}& > .description{font-size:14px;line-height:20px;letter-spacing:0;text-align:center;width:100%;margin-top:16px;}","{@media (","){width:100%;margin-top:auto;}}& > .action-wrapper{display:flex;flex-direction:column;width:100%;justify-content:center;gap:24px;align-items:center;margin-top:24px;& > .navigate-btn{display:flex;width:280px;justify-content:center;& .btn-content{height:100%;}@media (","){width:100%;}}}@media (","){width:100%;& > .action-wrapper{display:flex;flex-direction:column;gap:8px;width:100%;margin-top:80px;}}"],(function(e){return e.$isActive?"none":"grayscale(100%)"}),(function(e){return e.theme.springWaveGradient}),(function(e){return e.theme.springWaveGradient}),(function(e){return e.$isRewardActive?"none":"grayscale(100%)"}),R.b,_.b.mobileS,_.b.mobileS,_.b.mobileS),T=Object(x.forwardRef)((function(e,t){var n,j,v,O=e.onClose,y=e.missionData,C=e.progress,R=Object(f.a)("missions").t,_=Object(l.a)().isMobileS,T=Object(h.g)().navigate,D=Object(s.a)(),B=D.goldGiftIcon,M=D.tickIcon,P=Object(u.a)(y,C),U=P.isMissionDone,W=P.missionProgress,F=P.isRewardInactive,G=Object(p.a)(y,C).buttonText,L=Object(b.a)(y,C),H=L.notificationState,$=L.messageKey,X=L.button,K=Object(g.a)(y,null===(n=y.itemImg)||void 0===n?void 0:n.url,C).streakImage,q=Object(x.useMemo)((function(){return _?{type:"mobile",mode:{type:"bottom"}}:{type:"desktop",size:"large",mode:{type:"default"}}}),[_]),J=y.longTitle,V=y.itemImg,Y=y.description,Q=y.prizeType,Z=y.prizeAmount,ee=y.realTimeProgress,te=y.button1Link,ne=y.button2Link,ie=Object(x.useMemo)((function(){return _?R("mobileTitle"):J}),[_,J,R]),re=Object(x.useCallback)((function(){!function(e,t,n,i,r){var o=r.onClose,a=r.navigate,c=i?n:t;"close"!==(null===e||void 0===e?void 0:e.action)&&c!==I.b?Object(z.a)(c)?window.location.replace(c):(null===o||void 0===o||o(),a(c)):null===o||void 0===o||o()}(X,te,ne,U,{onClose:O,navigate:T})}),[X,te,ne,O,T,U]),oe=U&&H!==m.d.NONE,ae=function(e){switch(e){case m.d.CP_CREDITED:case m.d.BONUS_ACTIVATED:case m.d.CASH_BONUS_CREDITED:case m.d.SUCCESS:return S.c.SUCCESS;case m.d.BONUS_EXPIRED:case m.d.CASH_BONUS_EXPIRED:case m.d.CANCELLED:case m.d.BONUSES_DISABLED:return S.c.WARNING;default:return S.c.INFO}}(H),ce=null!==(j=null!==K&&void 0!==K?K:null===V||void 0===V?void 0:V.url)&&void 0!==j?j:"";return Object(w.jsx)(c.a,{mobileSubtitle:J,onClose:O,ref:t,settings:q,title:ie,children:Object(w.jsxs)(A,{$isActive:!!U||W>0,$isRewardActive:!F,children:[Object(w.jsx)(a.a,{alt:"mission img card",className:"img-card",height:180,src:ce,width:180}),!!U&&Object(w.jsxs)("div",{className:"done-mission-wrapper",children:[Object(w.jsx)("span",{className:"done-text",children:R("done")}),Object(w.jsx)("div",{className:"done-icon",children:Object(w.jsx)(M,{})})]}),!!ee&&!U&&Object(w.jsxs)("div",{className:"progress-bar-wrapper",children:[Object(w.jsx)(d.a,{className:"progress",value:W}),Object(w.jsxs)("span",{className:"percentage",children:[W,"%"]})]}),Q&&Z&&Object(w.jsxs)("div",{className:"prize-wrapper",children:[Object(w.jsx)(B,{}),Object(w.jsx)(N,{prizeAmount:Z,prizeType:Q})]}
1),!!Y&&Object(w.jsx)("div",{className:"description",dangerouslySetInnerHTML:{__html:Y}}),Object(w.jsxs)("div",{className:"action-wrapper",children:[oe&&Object(w.jsx)(r.a,{text:Object(w.jsx)(k,{messageKey:$,prizeAmount:Z,prizeType:Q}),type:ae,variant:"small"}),Object(w.jsx)(o.a,Object(i.a)(Object(i.a)({className:"navigate-btn",onClick:re,xLarge:!0},E[null!==(v=null===X||void 0===X?void 0:X.action)&&void 0!==v?v:"default"]),{},{children:G}))]})]})})}));t.default=T},835:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var i=n(4),r=n(22),o=n(47),a=n(353),c=n(0),s=n(846),d=n(1),l=["footer","title","mobileSubtitle","description","settings","onClose","isButtonCrossHidden","children","isCrossSquare"],p=Object(c.forwardRef)((function(e,t){var n=e.footer,c=e.title,p=e.mobileSubtitle,u=e.description,b=e.settings,g=e.onClose,m=e.isButtonCrossHidden,x=void 0!==m&&m,f=e.children,h=e.isCrossSquare,j=void 0===h||h,v=Object(r.a)(e,l),O=null!=c||null!=u,w="bottom"!==b.mode.type,y="bottom"===b.mode.type,k=null!=u&&y||O&&w,C="mobile"===b.type,N=C&&("background"===b.mode.type||"background-custom"===b.mode.type),S=Object(a.a)(),z=p&&C&&y;return Object(d.jsx)(s.a,Object(i.a)(Object(i.a)({height:S,settings:b},v),{},{children:Object(d.jsxs)("div",{className:"container",ref:t,children:[c&&C&&y&&Object(d.jsx)("div",{className:"title",children:c}),Object(d.jsxs)("div",{className:"inner",children:[Object(d.jsxs)("div",{className:"body",children:[!x&&Object(d.jsx)(o.b,{onClick:g,square:j,transparent:N}),k&&Object(d.jsxs)("div",{className:"headline",children:[c&&w&&Object(d.jsx)("div",{className:"title",children:c}),u&&Object(d.jsx)("div",{className:"description",children:u})]}),z&&Object(d.jsx)("div",{className:"subtitle",children:p}),f]}),n&&Object(d.jsx)("div",{className:"footer",children:n})]})]})}))}))},846:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var i,r,o,a,c,s,d,l,p,u,b,g,m,x,f,h,j,v,O,w=n(18),y=n(5),k=y.f.div.withConfig({displayName:"styled__ScModalTemplate",componentId:"sc-1c84uwy-0"})([""," display:flex;flex-direction:column;align-items:center;justify-content:",";min-height:",";min-height:100dvh;& > .container{width:100%;position:relative;margin:0 auto;color:",";max-width:",";padding:",";& > .title{font-weight:700;font-size:18px;line-height:1.33;letter-spacing:0.01em;color:",";padding:8px 12px;margin-bottom:12px;margin-top:-52px;}& > .inner{position:relative;",";& > .body{width:100%;overflow:var(--modal-body-overflow,hidden);position:var(--modal-body-position,relative);& > button{top:var(--modal-cross-top,4px);right:var(--modal-cross-right,4px);}"," "," & > .headline{margin-bottom:var(--modal-headline-margin,32px);text-align:center;letter-spacing:0.01em;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:",";& > .title{color:",";width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;overflow-wrap:break-word;","}& > .description{","}}& > .subtitle{font-size:18px;font-weight:700;line-height:24px;letter-spacing:0.18px;color:",";width:100%;text-align:center;margin-bottom:16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;word-wrap:break-word;overflow-wrap:break-word;}}& > .footer{background:",";margin-top:12px;","}}}"],(function(e){var t=e.settings;return"mobile"===t.type&&("background"===t.mode.type||"background-custom"===t.mode.type)&&Object(y.e)(i||(i=Object(w.a)(["\n --modal-body-overflow: visible;\n --modal-body-position: static;\n --modal-cross-top: 12px;\n --modal-cross-right: 12px;\n "])))}),(function(e){var t=e.settings;return"mobile"===t.type&&"bottom"===t.mode.type?"flex-end":"center"}),(function(e){var t=e.height;return t?"".concat(t,"px"):"100vh"}),(function(e){return e.theme.secondaryColor}),(function(e){var t=e.settings;if("desktop"===t.type)switch(t.size){case"small":return"568px";case"xSmall":return"528px";case"xLarge":return"896px";default:return"768px"}return"100%"}),(function(e){var t=e.settings;if("mobile"===t.type)switch(t.mode.type){case"background":case"background-custom":return"0px";case"bottom":return"64px 0px 0px";default:return"16px 12px"}return"12px 64px"}),(function(e){return e.theme.whiteColor}),(function(e){var t=e.settings;if("mobile"===t.type)switch(t.mode.type){case"background":return Object(y.e)(r||(r=Object(w.a)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n min-height: 100dvh;\n background-image: url(",");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: top center;\n padding: 64px 12px 12px;\n border-radius: 0;\n "])),t.mode.src);case"background-custom":return Object(y.e)(o||(o=Object(w.a)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: 100vh;\n min-height: 100dvh;\n background-image: url(",");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: ",";\n padding: 0;\n border-radius: 0;\n "])),t.mode.src,t.mode.position||"top center");default:return Object(y.e)(a||(a=Object(w.a)(["\n border-radius: 16px;\n "])))}switch(t.mode.type){case"background":return Object(y.e)(c||(c=Object(w.a)(["\n padding: 24px;\n border-radius: 16px;\n background-image: url(",");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: top center;\n "])),t.mode.src);case"background-custom":return Object(y.e)(s||(s=Object(w.a)(["\n border-radius: 16px;\n background-image: url(",");\n background-size: cover;\n background-repeat: no-repeat;\n background-position: ",";\n "])),t.mode.src,t.mode.position||"top center");default:return""}}),(function(e){var t=e.settings;if("mobile"===t.type)switch(t.mode.type){case"background-custom":return Object(y.e)(d||(d=Object(w.a)([""])));case"bottom":return"wide"===t.footerMode?Object(y.e)(l||(l=Object(w.a)(["\n border-radius: 16px;\n background: ",";\n padding: var(--modal-body-padding, 24px 12px);\n "])),(function(e){return e.theme.grayColor5})):Object(y.e)(p||(p=Object(w.a)(["\n border-radius: 16px;\n background: ",";\n padding: var(\n --modal-body-padding,\n ","\n );\n border-top-left-radius: 16px;\n border-top-right-radius: 16px;\n border-bottom-left-radius: 0px;\n border-bottom-right-radius: 0px;\n "])),(function(e){return e.theme.grayColor5}),t.smallYPadding?"8px 16px":t.smallXPadding?"24px 12px":"24px 16px");default:return Object(y.e)(u||(u=Object(w.a)(["\n border-radius: 16px;\n background: ",";\n padding: var(\n --modal-body-padding,\n ","\n );\n "])),(function(e){return e.theme.grayColor5}),t.smallYPadding?"8px 16px":t.smallXPadding?"24px 12px":"24px 16px")}return"background-custom"===t.mode.type?Object(y.e)(b||(b=Object(w.a)([""]))):Object(y.e)(g||(g=Object(w.a)(["\n background: ",";\n padding: var(--modal-body-padding, 32px 24px);\n border-radius: 16px;\n "])),(function(e){return e.theme.grayColor5}))}),(function(e){return e.settings.isReservedCrossSpace&&Object(y.e)(m||(m=Object(w.a)(["\n padding-top: 48px;\n "])))}),(function(e){var t=e.settings;return(null===t||void 0===t?void 0:t.headlineGapSm)?"8px":"12px"}),(function(e){return e.theme.whiteColor}),(function(e){return"mobile"===e.settings.type?Object(y.e)(x||(x=Object(w.a)(["\n font-size: 18px;\n line-height: 24px;\n "]))):Object(y.e)(f||(f=Object(w.a)(["\n font-size: 22px;\n line-height: 28px;\n "])))}),(function(e){return"mobile"===e.settings.type?Object(y.e)(h||(h=Object(w.a)(["\n font-size: 14px;\n line-height: 20px;\n "]))):Object(y.e)(j||(j=Object(w.a)(["\n font-size: 16px;\n line-height: 28px;\n "])))}),(function(e){return e.theme.whiteColor}),(function(e){return e.theme.grayColor5}),(function(e){var t=e.settings;return"mobile"===t.type&&"wide"===t.footerMode?Object(y.e)(v||(v=Object(w.a)(["\n border-radius: 16px 16px 0px 0px;\n padding: 24px 12px;\n "]))):Object(y.e)(O||(O=Object(w.a)(["\n border-radius: 16px;\n padding: 14px 24px;\n width: 100%;\n "])))}))},865:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return a}));var i,r,o=n(0);!function(e){e[e.SUCCESS=0]="SUCCESS",e[e.WARNING=1]="WARNING",e[e.INFO=2]="INFO",e[e.ERROR=3]="ERROR"}(i||(i={})),function(e){e.Deposit="deposit",e.EditCurrencies="editCurrencies",e.Withdraw="withdraw",e.Support="support"}(r||(r={}));var a=Object(o.createContext)(null)},939:function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return o}
1));var i=n(5),r=i.f.div.withConfig({displayName:"styled__ScTooltipMessage",componentId:"enlary-0"})(["display:flex;gap:16px;width:100%;align-items:center;padding:",";border-radius:12px;color:",";background:",";font-size:","px;font-style:normal;font-weight:",";line-height:","px;margin-bottom:",";margin-top:",";svg{width:24px;height:24px;object-fit:contain;flex-shrink:0;}.arrow{display:flex;transition:transform 0.2s;svg path{will-change:fill,fill-opacity;transition:fill-opacity 0.2s;}}"," @media (hover:hover){&:hover{& > .arrow{transform:translateX(2px);svg path{fill-opacity:1;}}}}"],(function(e){return e.variantConfig.padding}),(function(e){return e.theme.whiteColor}),(function(e){var t=e.variantConfig;return e.theme[t.bgColor]}),(function(e){return e.variantConfig.fontSize}),(function(e){return e.variantConfig.fontWeight}),(function(e){return e.variantConfig.lineHeight}),(function(e){var t=e.marginBottom;return t?"".concat(t,"px"):0}),(function(e){var t=e.marginTop;return t?"".concat(t,"px"):0}),(function(e){return e.clickable&&Object(i.e)(["cursor:pointer;"])})),o=i.f.div.withConfig({displayName:"styled__ScCustomTooltip",componentId:"enlary-1"})(["display:flex;align-items:center;cursor:pointer;&:hover svg path{fill:white;}"])}}]); 2//# sourceMappingURL=115.dbe0f65b.chunk.js.map
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.