1"use strict";(self.webpackChunkdesktop_app=self.webpackChunkdesktop_app||[]).push([[7825],{7825:(P,r,a)=>{a.r(r),a.d(r,{PercentageForDepositComponent:()=>v});var e=a(4438),s=a(177),_=a(1934),l=a(8835),d=a(8359),p=a(5935),h=a(8616),g=a(6209),m=a(9731),u=a(9005),y=a(33),k=a(2785);function f(o,b){if(1&o){const t=e.RV6();e.j41(0,"ww-faq-dsk",5),e.bIt("toggle",function(n){e.eBV(t);const c=e.XpG();return e.Njj(c.onFaqToggle(n))}),e.k0s()}if(2&o){const t=e.XpG();e.Y8G("questions",t.percentFAQ.text)("title",t.percentFAQ.title)("wasLoaded",t.isLoaded)}}let v=(()=>{class o extends _.M{constructor(){super(...arguments),this.#e=(0,e.WQX)(l.b),this.#a=(0,e.WQX)(u.Y),this.#i=(0,e.WQX)(y.nX),this.#n=new d.yU,this.isLoaded=!1,this.mechanicType=h._y.PercentageForDeposit,this.#t=(0,e.WQX)(k.S)}#e;#a;#i;#n;#t;get bgImage(){const t=this.percentageData?.header.header?.pic;return t?this.#a.getDestkopUrlImage(t):""}ngOnInit(){this.#t.hitMNEvent("mn_dep_main_open",{source:"profile",mechanic:"dep_perc",lucky_day:!!this.percentageData?.header?.isLuckyDay}),this.#n.add(this.#e.loyaltyPercentData$.subscribe(t=>{this.promosList=this.#e.currentPromos,this.isLoaded=t.isLoaded,this.percentageData=t,this.header=t.header,this.percentFAQ=t.depSettings?.faq,t.isLoaded&&this.tryOpenOnboardingOnFirstPageVisit(this.mechanicType,this.openOnboarding())})),this.#o()}onActionBtnClick(t){let i="";switch(t){case"active":i="mn_dep_to_dep",this.router.navigate(["/payment"]);break;case"takeFreebet":i="mn_dep_to_take_bonus",this.#e.takeRewards()}""!==i&&this.#t.hitMNEvent(i,{mechanic:"dep_perc",lucky_day:!!this.percentageData?.header?.isLuckyDay})}choosePromo(t){this.#e.choosePromo(t)}openOnboarding(){return this.percentageData?.header?.isLuckyDay?this.percentageData?.depSettings?.luckyEventInApp:this.percentageData?.depSettings?.eventInApp}#o(){this.#n.add(this.#i.params.subscribe(t=>{const i=Number(t.promoId);Number.isFinite(i)&&this.#e.choosePromo(i)}))}ngOnDestroy(){this.#n.unsubscribe()}onInfoBtnClick(){this.#t.hitMNEvent("mn_main_about",{mechanic:"dep_perc",lucky_day:!!this.percentageData?.header?.isLuckyDay})}onBackBtnClick(){this.#t.hitMNEvent("mn_main_go_back",{mechanic:"dep_perc",lucky_day:!!this.percentageData?.header?.isLuckyDay}),window.history.back()}onFaqToggle(t){this.#t.hitMNEvent("mn_main_faq",{mechanic:"dep_perc",lucky_day:!!this.percentageData?.header?.isLuckyDay,move:t.move,question_id:t.index+1})}static{this.\u0275fac=(()=>{let t;return function(n){return(t||(t=e.xGo(o)))(n||o)}})()}static{this.\u0275cmp=e.VBU({type:o,selectors:[["ww-percentage-for-deposit-dsk"]],features:[e.Vt3],decls:5,vars:7,consts:[["id","mechanicPage",1,"mechanic__container"],[3,"backBtnClick","infoBtnClick","actionBtnClick","stateData","wasLoaded","iaUrl","mechanicType"],[1,"mechanic__content"],[3,"settings","wasLoaded"],[3,"questions","title","wasLoaded"],[3,"toggle","questions","title","wasLoaded"]],template:function(i,n){1&i&&(e.j41(0,"div",0)(1,"ww-mechanic-header-dsk",1),e.bIt("backBtnClick",function(){return n.onBackBtnClick()})("infoBtnClick",function(){return n.onInfoBtnClick()})("actionBtnClick",function(C){return n.onActionBtnClick(C)}),e.k0s(),e.j41(2,"div",2),e.nrm(3,"ww-mechanic-conditions-dsk",3),e.DNE(4,f,1,3,"ww-faq-dsk",4),e.k0s()()),2&i&&(e.R7$(),e.Y8G("stateData",n.header)("wasLoaded",n.isLoaded)("iaUrl",n.openOnboarding())("mechanicType",n.mechanicType),e.R7$(2),e.Y8G("settings",null==n.percentageData||null==n.percentageData.depSettings?null:n.percentageData.depSettings.conditions)("wasLoaded",n.isLoaded),e.R7$(),e.vxM(n.percentFAQ?4:-1))},dependencies:[s.MD,p.f,g.a,m.C],styles:["@keyframes _ngcontent-%COMP%_skeleton-gradient-animation{0%{background-position:-300px 0}to{background-position:calc(100vw + 300px) 0}}.mechanic-page__overflow-hidden[_ngcontent-%COMP%]{height:100vh;overflow:hidden}.mechanic__container[_ngcontent-%COMP%]{position:relative;background-size:101% 440px;background-repeat:no-repeat;background-position:top}.mechanic__img[_ngcontent-%COMP%]{position:absolute;bottom:0}.mechanic__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--wk-gap-08)}.mechanic__unit[_ngcontent-%COMP%]{padding:var(--padding-mechanic-layer-main-lvl1);border-radius:var(--wk-radius-20);background-color:var(--wk-layer-main-lvl1)}.mechanic-scroll__btn[_ngcontent-%COMP%]{display:flex;width:32px;height:32px;justify-content:center;align-items:center;gap:4px;border-radius:var(--wk-radius-08);background:var(--wk-layer-main-surface);border:none;cursor:pointer}.mechanic-scroll__btn[_ngcontent-%COMP%] svg-icon[_ngcontent-%COMP%]{height:12px}.mechanic-scroll__btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:var
1(--wk-text-main-primary)}.mechanic-scroll__btn--left[_ngcontent-%COMP%]{transform:rotate(180deg)}.mechanic__ticket[_ngcontent-%COMP%]{position:relative;padding:12px 8px;border-radius:var(--wk-radius-12);display:flex;justify-content:center;align-items:center;font-family:var(--onest-font);font-weight:500;font-size:12px;line-height:18px;font-style:normal;color:var(--wk-text-main-secondary);background-color:var(--wk-layer-main-surface)}.mechanic-progress__container[_ngcontent-%COMP%]{width:100%}.mechanic-progress-bar[_ngcontent-%COMP%]{position:relative;height:4px;width:100%;border-radius:2px;background-color:var(--wk-mechanics-progress-bar-empty-bg-color);margin-bottom:8px}.mechanic-progress-bar__filled[_ngcontent-%COMP%]{position:absolute;width:60%;background-color:var(--wk-mechanics-progress-bar-filled-bg-color);height:4px;border-radius:2px}.mechanic-progress-info[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.draw-page__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:var(--wk-gap-08)}.in-development[_ngcontent-%COMP%]{width:100%;text-align:center;font-size:30px;margin:20px;padding:20px}"]})}}return o})()}}]);
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.