try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b123d3ba-b645-478c-9d9d-97e107f2568e",e._sentryDebugIdIdentifier="sentry-dbid-b123d3ba-b645-478c-9d9d-97e107f2568e")}catch(e){}{let e="undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{};e.SENTRY_RELEASE={id:"558896"}}(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d312ac6a"],{a99b:function(e,t,i){"use strict";var n=i("f2bf");const r={class:"menu-burger-link__text"},s={key:1,class:"menu-burger-link__chevrone flex-center"},o={key:1,class:"menu-burger-link__counter-number"},l=["src","alt"],c={key:0,class:"menu-burger-link__submenu"};function a(e,t,i,a,u,d){const h=Object(n["resolveComponent"])("icon"),b=Object(n["resolveComponent"])("menu-burger-link");return Object(n["openBlock"])(),Object(n["createElementBlock"])("li",{ref:"menuBurgerLink",class:Object(n["normalizeClass"])(["menu-burger-link",[{"menu-burger-link--active":d.isActiveLink,"menu-burger-link--verification":d.isNeedLinkVerified},"menu-burger-link--"+i.className]]),onClick:t[2]||(t[2]=Object(n["withModifiers"])((...e)=>d.clickHandler&&d.clickHandler(...e),["stop"]))},[Object(n["createElementVNode"])("div",{class:"menu-burger-link__wr",onMouseenter:t[0]||(t[0]=(...e)=>d.toggleHover&&d.toggleHover(...e)),onMouseleave:t[1]||(t[1]=(...e)=>d.toggleHover&&d.toggleHover(...e))},[(Object(n["openBlock"])(),Object(n["createBlock"])(Object(n["resolveDynamicComponent"])(d.isTag),Object(n["mergeProps"])(d.tagParams,{class:"menu-burger-link__inner-wr"}),{default:Object(n["withCtx"])(()=>[Object(n["createElementVNode"])("div",{class:Object(n["normalizeClass"])(["menu-burger-link__inner",{"menu-burger-link__inner--active":d.isActiveLink,"menu-burger-link__inner--has-children":d.hasSubMenu,"menu-burger-link__inner--title":d.isTitle,"menu-burger-link__inner--two-line":d.isTwoLineTitle}])},[d.hasIcon?(Object(n["openBlock"])(),Object(n["createBlock"])(h,{key:0,class:Object(n["normalizeClass"])(["menu-burger-link__icon","menu-burger-link__icon--"+i.icon]),"icon-name":i.icon},null,8,["class","icon-name"])):Object(n["createCommentVNode"])("",!0),t[4]||(t[4]=Object(n["createTextVNode"])()),Object(n["createElementVNode"])("div",r,Object(n["toDisplayString"])(e.$t(i.text)),1),t[5]||(t[5]=Object(n["createTextVNode"])()),i.isHasChevrone?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",s,[Object(n["createVNode"])(h,{"icon-name":"chevrone-right",class:"menu-burger-link__chevrone-icon"})])):Object(n["createCommentVNode"])("",!0),t[6]||(t[6]=Object(n["createTextVNode"])()),d.isShowCounter?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",{key:2,class:Object(n["normalizeClass"])(["menu-burger-link__counter",{"menu-burger-link__counter--bonus-store":d.isBonusStoreLink}])},[i.counter.icon?(Object(n["openBlock"])(),Object(n["createBlock"])(h,{key:0,"icon-name":i.counter.icon},null,8,["icon-name"])):Object(n["createCommentVNode"])("",!0),t[3]||(t[3]=Object(n["createTextVNode"])()),d.counterNumber?(Object(n["openBlock"])(),Object(n["createElementBlock"])("div",o,Object(n["toDisplayString"])(d.counterNumber),1)):Object(n["createCommentVNode"])("",!0)],2)):Object(n["createCommentVNode"])("",!0)],2)]),_:1},16)),t[7]||(t[7]=Object(n["createTextVNode"])()),i.image?(Object(n["openBlock"])(),Object(n["createElementBlock"])("img",{key:0,src:i.image,alt:i.className,class:"menu-burger-link__image"},null,8,l)):Object(n["createCommentVNode"])("",!0)],32),t[8]||(t[8]=Object(n["createTextVNode"])()),d.hasSubMenu?(Object(n["openBlock"])(),Object(n["createElementBlock"])("ul",c,[(Object(n["openBlock"])(!0),Object(n["createElementBlock"])(n["Fragment"],null,Object(n["renderList"])(i.subMenu,(e,t)=>(Object(n["openBlock"])(),Object(n["createBlock"])(b,{key:t,icon:e.icon,text:e.text,url:e.url,"sub-menu":e.children,gtm:e.gtm,"relative-urls":e.relativeUrls,"is-has-chevrone":i.isInfo},null,8,["icon","text","url","sub-menu","gtm","relative-urls","is-has-chevrone"]))),128))])):Object(n["createCommentVNode"])("",!0)],2)}var u=i("c964"),d=i("f3f3"),h=(i("caad"),i("d81d"),i("14d9"),i("e9f5"),i("ab43"),i("ac1f"),i("2532"),i("5319"),i("5b81"),i("be92")),b=i("d373"),m=i("5d2a"),g=i("8f12");const k="/bonus-store";var f=i("171e"),p=i("17d0");const O=[g["Lf"],g["Hb"],g["Eg"],g["If"]],y=1e4;var j={name:"menu-burger-link",components:{Icon:m["a"]},mixins:[f["a"],p["a"]],props:{icon:{type:String,default:""},image:{type:String,default:""},isHasChevrone:{type:Boolean,default:!1},iconAnimate:{type:String,default:""},text:{type:String,default:""},url:{type:String,default:""},gtm:{type:String,default:""},subMenu:{type:Array,default:()=>[]},type:{type:String,default:""},typeChildren:{type:String,default:""},isParent:{type:Boolean,default:!1},relativeUrls:{type:Array,default:()=>[]},counter:{type:Object,default:()=>({})},isInfo:{type:Boolean,default:!1},className:{type:String,default:"default"}},data(){return{isLinkHover:!1,isClicked:!1}},computed:Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])({},Object(h["f"])(b["a"].player,["getLanguageForUrl","isPlayerAuthorized"])),Object(h["f"])(b["a"].menu,["isMenuOpened"])),Object(h["f"])(b["a"].breakpoints,["isMobileOrTablet"])),Object(h["f"])(b["a"].playerFavoriteGames,["playerFavoriteGamesArray"])),Object(h["f"])(b["a"].playerFriendsAndReferrals,["getActiveCommission","getIsActiveReferral"])),Object(h["f"])(b["a"].modal,["currentModal"])),{},{isNeedLinkVerified(){return"verification"===this.text&&this.isVerifyBadgeShown},isVerifyBadgeShown(){return this.isProfileCountryCodeInRussia?!this.getIsVerified&&this.isAskedForTag:this.getIsNeedCardSelfieNotVerified},isBonusStoreLink(){return this.url===k},counterNumber(){var e;if(null!==(e=this.counter)&&void 0!==e&&e.show){if("string"===typeof this.counter.number){const e=this.counter.number.replaceAll(" ","");return Number.parseInt(e)}return this.counter.number}},isTwoLineTitle(){return this.counterNumber>=y},hasIcon(){if(this.icon)return this.isTypePromo||this.icon},isTypePromo(){return"promo-list"===this.type},hasSubMenu(){return Boolean(this.subMenu.length)},isFriendsAndReferrals(){var e;return this.url===g["pc"]&&(null===(e=this.getActiveCommission)||void 0===e?void 0:e.id)&&this.getIsActiveReferral},isFriendsAndReferralsAuthorized(){return this.isPlayerAuthorized&&this.isFriendsAndReferrals},isTag(){const e=this.isFriendsAndReferralsAuthorized||this.isFavoritesLinkNoAuthorized||this.hasSubMenu||this.isChatLink||this.isTitle||this.isCasino;return e?"div":this.url.includes("http")?"a":"router-link"},tagParams(){if(!this.isTitle&&!this.isCasino)return this.isFavoritesLinkNoAuthorized?{is:"div"}:"a"===this.isTag?{href:this.url,target:"_blank"}:{to:this.getLink(this.url),event:""}},isCasino(){return"casino"===this.url},isFavoritesLinkNoAuthorized(){return!this.isPlayerAuthorized&&this.url===g["zb"].FAVORITES.MAIN},isChatLink(){return this.url===g["pb"]},isTitle(){return this.url===g["vg"]},isActiveLink(){const e=this.isCasinoItem&&!this.isSportUrl,t=this.typeChildren===g["Gf"]&&this.isSportUrl;if(t&&this.isClicked)return!1;if(t&&!this.isClicked||e)return!0;const i=[this.getLink(this.url)];return this.hasSubMenu&&i.push(...this.subMenu.map(({url:e})=>e)),this.relativeUrls.length&&i.push(...this.relativeUrls),(this.$route.name!==g["Lf"]||!i.some(e=>e===`${this.getLanguageForUrl}/${g["If"]}`))&&i.some(e=>this.$route.path.includes(e))},isSportUrl(){return O.some(e=>this.$route.path.includes(e))},isCasinoItem(){return this.typeChildren===g["mb"]},isSportLobbyItem(){return this.url.includes(g["If"])},isSportClickable(){return this.typeChildren===g["Gf"]&&this.isMobileOrTablet&&!this.isPlayerAuthorized},isShowCounter(){var e;return null===(e=this.counter)||void 0===e?void 0:e.show}}),watch:{isMenuOpened(e){e||this.setIsClicked(!1)},$route(){this.setIsClicked(!1)}},methods:Object(d["a"])(Object(d["a"])(Object(d["a"])(Object(d["a"])({},Object(h["e"])(b["a"].menu,["closeMenu"])),Object(h["e"])(b["a"].player,["switchGroup"])),Object(h["e"])(b["a"].modal,["openModal","closeModal"])),{},{toggleHover(){this.isLinkHover=!this.isLinkHover},sendAnalytics(){this.gtm&&!this.hasSubMenu&&this.$analytics.clickEvent({button:this.gtm})},toggleSubmenu(){var e=this;return Object(u["a"])((function*(){var t;e.isSubMenuOpen=!e.isSubMenuOpen,yield e.$nextTick(),null===(t=e.$refs.menuBurgerLink)||void 0===t||t.scrollIntoView({block:"center"})}))()},arrowClickHandler(){this.isSportClickable&&(this.setIsClicked(!this.isClicked),this.toggleSubmenu())},clickHandler(){var e;if(this.sendAnalytics(),(null===(e=this.currentModal)||void 0===e?void 0:e.name)===g["yd"].GAME_INFO&&this.closeModal(g["yd"].GAME_INFO),"router-link"===this.isTag&&this.$router.push(this.getLink(this.url)).catch(()=>({})),this.isFavoritesLinkNoAuthorized)this.openRegistration();else if(O.some(e=>this.url.includes(e))&&this.isPlayerAuthorized&&this.switchGroup({add:"sport:visitor"}),this.isFriendsAndReferralsAuthorized)this.openFriendsAndReferralsInviteModal();else if(this.hasSubMenu){if(this.isSportLobbyItem&&this.setIsClicked(!0),this.isSportClickable){const e=this.getLink(this.url);return this.$router.push(e).catch(()=>({})),void this.closeMenus()}}else this.isParent&&this.$bus.emit("close-opened-sub-menu"),this.isChatLink&&this.openChat(),this.closeMenus()},openFriendsAndReferralsInviteModal(){this.openModal({name:g["yd"].FRIENDS_AND_REFERRALS_INVITE,props:{hasCloseBtn:!0},component:Object(n["defineAsyncComponent"])(()=>i.e("friendsReferralsInviteModal").then(i.bind(null,"2bbb")))})},getLink(e){return`${this.getLanguageForUrl}${e}`},closeMenus(){this.isMobileOrTablet&&this.$bus.emit("close-menu-burger-bottom-sheets"),this.closeMenu()},setIsClicked(e){this.isClicked=e},openRegistration(){this.$router.push({name:g["yd"].REGISTRATION,query:Object(d["a"])(Object(d["a"])({},this.$route.query),{},{[g["zd"].KEY]:g["zd"].TO_REGISTRATION.BONUS_STORE})})}})},v=(i("e4e4"),i("6b0d")),C=i.n(v);const _=C()(j,[["render",a]]);t["a"]=_},d1e9:function(e,t,i){},e4e4:function(e,t,i){"use strict";i("d1e9")}}]); //# sourceMappingURL=chunk-d312ac6a.5cbba560.js.map