var errorPopupInterval;let toTopBtnCont="",webHdr="",initialScrollY=0,oldScrollY=window.scrollY,copyBtnClicked=!1,bottomActiveNavItem="",loaderBtnInnerHtml="";function addCategoryIdToObj(e,t){e.CategoryId.push(t)}function removeCategoryIdFromObj(e,t){for(var n=0;n1?n[1]:n[0];t.startsWith("/")&&(t=t.substring(1));let s=document.querySelectorAll(".js_language_bar_link");if(s.length>0)for(let e of s){let n=e.dataset.lang;n&&n!=""&&(e.href!=void 0?e.href="/"+n+"/"+t:e.value!=void 0&&(e.value="/"+n+"/"+t))}}function CapitalizeText(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function dlAnimate(e){return $(e).css("opacity","0").animate({opacity:"1"},300)}function setStrFormatWithSpChar(e,t){let o="",i="";if(e.includes(".")){let t=e.split(".");o=t[0],i=t[1]}else o=e;for(var a=reverseString(o),s="",n=0;n0){let e=t[0].src;t[0].src=t[0].dataset.src,t[0].dataset.src=e}}function setActiveClassToPrMenuItems(e){const r=document.documentElement.getAttribute("lang"),n=document.getElementsByClassName(e),u=n.length,c=document.location.href.split(document.location.host),i=c.length>1?c[1].replace("/"+r+"/","/"):c[0].replace("/"+r+"/","/"),d=i.split("/").length;let a="",t="",s="",o=0,l=0;for(let e=0;e1){t=a[1].replace("/"+r+"/","/");let s=a[0].replace("www.","");s.length>8&&!s.includes("playin")&&!s.includes("sport")&&(t=n[e].href)}else t=a[0].replace("/"+r+"/","/");switch(d){case 1:case 2:i.toLowerCase()==t.toLowerCase()&&(o1&&t[1].length==2){n="";for(let e=2;e

${e}

`+`

${t}

`;$("body").append(dlAnimate(o)),document.body.classList.add("ofh")}function closeInfoPopup(){document.getElementById("js_info_popup_cont")!=null&&document.getElementById("js_info_popup_cont").remove(),document.body.classList.remove("ofh")}function createToast(e,t,n,s=4e3){var i,a,r,c,l,o=document.createElement("div");o.classList.add("toast"),e&&o.classList.add(e),r=document.createElement("p"),r.classList.add("t-title"),a="",e=="system"?a='':e=="success"?a='':e=="warning"?a='':e=="error"&&(a=''),r.innerHTML+=a+t,o.appendChild(r),l=document.createElement("p"),l.classList.add("t-close"),o.appendChild(l),c=document.createElement("p"),c.classList.add("t-text"),c.innerHTML=n,o.appendChild(c),i=document.getElementById("js-toast-cont"),i==null&&(i=document.createElement("div"),i.classList.add("toast-container"),i.id="js-toast-cont",document.body.appendChild(i)),i.appendChild(o),setTimeout(function(){o.classList.add("active")},1),s>0?setTimeout(function(){o.classList.remove("active"),setTimeout(function(){o.remove()},350)},s):s==null&&setTimeout(function(){o.classList.remove("active"),setTimeout(function(){o.remove()},350)},3e3)}function playAndMuteBannerVideo(e,t){let n=$(e).find("video"),s="";if(typeof $(e).parents(".swiper-initialized")[0].swiper!="undefined"&&(s=$(e).parents(".swiper-initialized")[0].swiper),n){s!=""&&!t&&s.autoplay.start();for(let e=0;e{if(e.target.tagName=="VIDEO")e.isIntersecting?e.target.play():e.target.pause();else{let t=e.target.querySelectorAll("video");t.length>0&&(e.isIntersecting?t.forEach(e=>{e.play()}):t.forEach(e=>{e.pause()}))}})},{threshold:[.4]});function addToVideoBannersObserver(e,t){let n=document.getElementById(e);if(t)videoBannersObserver.observe(n);else{let e=n.querySelectorAll("video");e.forEach(e=>{videoBannersObserver.observe(e)})}}function customPauseResumeTimer(e,t){let n,s,o=t;this.pause=function(){window.clearTimeout(n),n=null,o-=Date.now()-s},this.resume=function(){if(n)return;s=Date.now(),n=window.setTimeout(e,o)},this.cancel=function(){window.clearTimeout(n)},this.resume()}function initPresslHoldEvent(e,t,n,s){let u,i=0,r=!0,f=new CustomEvent("pressHoldStart"),p=new CustomEvent("pressHoldEnd"),o=new CustomEvent("customClick"),a=typeof s,h=10,l="";e.addEventListener("mousedown",d,!1),e.addEventListener("mouseup",c,!1),e.addEventListener("mouseleave",c,!1),e.addEventListener("touchstart",d,!1),e.addEventListener("touchend",c,!1),typeof t=="function"&&e.addEventListener("pressHoldStart",t,!1),typeof n=="function"&&e.addEventListener("pressHoldEnd",n,!1),a=="function"&&e.addEventListener("customClick",s,!1);function d(e){a=="function"&&(e.type=="touchstart"?l=e.touches[0].clientX:l=e.clientX),(e.type=="mousedown"||e.type=="touchstart"&&e.touches.length==1)&&(requestAnimationFrame(m),e.preventDefault())}function c(t){r=!0,cancelAnimationFrame(u),i=h&&r&&(r=!1,e.dispatchEvent(f))}}async function writeToClipboard(e){try{if(typeof CwPwapp!="undefined"&&CwPwapp){navigator.clipboard&&await navigator.clipboard.writeText(e);let t=window.parent||window;await t.postMessage({type:"cw_copy",data:{text:e}},"*")}else await navigator.clipboard.writeText(e)}catch(e){console.error("Failed to copy: ",e)}}function openYoutubeVideo(e){document.getElementById("js_ytb_video_cont")==null&&$("body").append(''),$("#js_ytb_video_cont").html('
').show()}function handleDocumentScroll(){toTopBtnCont!=null&&toTopBtnCont!=""&&(window.scrollY>300?oldScrollY>window.scrollY?toTopBtnCont.classList.remove("hidden"):toTopBtnCont.classList.add("hidden"):toTopBtnCont.classList.add("hidden"),oldScrollY=window.scrollY),webHdr!=null&&webHdr!=""&&(window.scrollY>54?webHdr.classList.add("fixed_head"):webHdr.classList.remove("fixed_head")),document.querySelector('.js_jacpkpots_cont[data-view-type="web"]')&&document.querySelectorAll(".js_jacpkpots").length>0&&setJackpotHoverPosition(),document.documentElement.dataset.type=="Mobile"&&handleMobileHeaderNavBarAppearance()}function handleMobileHeaderNavBarAppearance(){if(document.readyState=="complete"){let e=window.scrollY;initialScrollY>=e?document.documentElement.classList.remove("hide_header_navbar"):initialScrollY>5&&document.documentElement.classList.add("hide_header_navbar"),initialScrollY=e}}function getUrlPathQueryHash(){let e=document.location.href.split(document.location.host);return e.length>0?e[1]:document.location.pathname}function setDatePickerValues(){const n=Number(document.getElementById("js_filter_period").value),e=document.getElementById("js_filter_from"),t=document.getElementById("js_filter_to");switch(e.setAttribute("readonly",!0),t.setAttribute("readonly",!0),n){case 1:e.value=formatDate(addDays(new Date,-1)),t.value=formatDate(addDays(new Date,0));break;case 2:e.value=formatDate(addDays(new Date,-7)),t.value=formatDate(addDays(new Date,0));break;case 3:e.value=formatDate(addDays(new Date,-14)),t.value=formatDate(addDays(new Date,0));break;case 4:e.value=formatDate(addDays(new Date,-30)),t.value=formatDate(addDays(new Date,0));break;case 5:e.removeAttribute("readonly"),t.removeAttribute("readonly");break}}function addDays(e,t){return e.setDate(e.getDate()+t),e}function formatDate(e){let s=new Date(e),t=""+(s.getMonth()+1),n=""+s.getDate(),o=s.getFullYear();return t.length<2&&(t="0"+t),n.length<2&&(n="0"+n),[o,t,n].join("-")}function checkFromToDates(e){const t=document.getElementById("js_filter_from"),n=document.getElementById("js_filter_to");var s=t.value.split("-"),o=n.value.split("-"),i=s[1]+"/"+s[2]+"/"+s[0],a=o[1]+"/"+o[2]+"/"+o[0],r=new Date(i),c=new Date(a),l=c-r,d=l/(1e3*3600*24);if(t.value==""||n.value==""||new Date(t.value)>new Date(n.value)){switch(e.name){case"From":t.value=n.value;break;case"To":n.value=t.value;break}return createToast("error","Error","From date cannot be greater than the To date",4e3),!1}return!(d>90)||(createToast("error","Error",$("#js_ThreeMonthMessage").val(),4e3),!1)}function loaderInsideShowHide(e,t){let n=document.getElementById(e);if(n){let e=n.querySelector("#js_loader_inside"),s=n.querySelector("#js_loading_replace");e&&s&&(e.style.display=t?"block":"none",s.style.display=t?"none":"block")}}function getCss(e,t){return document.getElementById("js_st_"+e.toLowerCase())?Promise.resolve():$.ajax({type:"GET",url:"/Account/GetCss?name="+e+"&v="+t,success:function(e){$("head").append(e)}})}function startEgtJackBorderAnim(e,t){let s=document.getElementsByClassName("js_jacpkpots");for(let t=0;t<4;t++)s[t].style.backgroundImage="url("+e+"Img/icons/redesign/jackpot_backgr.png)";function o(e){let n=0,o=setInterval(function(){s[e].style.backgroundPosition="0px -"+n+"px",n=n+92.6,n>2500&&clearInterval(o)},t)}for(var n=0;n<4;n++)(function(e){setTimeout(function(){o(e)},e*400)})(n)}function CheckClientCashback(){return $.ajax({url:"/Account/CheckCashback",type:"GET",datatype:"json",success:function(e){e&&e!=""&&$("body").append(e).addClass("ofh")}})}function showHideLoader(e){e?typeof showSpinner=="function"&&showSpinner():typeof hideSpinner=="function"&&hideSpinner()}function toggleLeftSidebar(){document.body.classList.contains("cw_mob_root-sidebar_opened")?closeLeftSideBar():openLeftSideBar()}function openLeftSideBar(){document.body.classList.contains("cw_mob_root-right_sidebar_opened")&&closeRightSidebar(),handleBottomActiveNavItemStateChange(!0,"js_nav_left_toggle_btn"),document.body.classList.add("cw_mob_root-sidebar_opened"),document.body.style.overflow="hidden",$("#js_to_top_cont").css("z-index","0")}function closeLeftSideBar(){handleBottomActiveNavItemStateChange(!1,"js_nav_left_toggle_btn"),document.body.classList.remove("cw_mob_root-sidebar_opened"),document.body.removeAttribute("style"),$("#js_to_top_cont").removeAttr("style")}function toggleRightSidebar(){document.body.classList.contains("cw_mob_root-right_sidebar_opened")?closeRightSidebar():openRightSidebar()}function openRightSidebar(){document.body.classList.contains("cw_mob_root-sidebar_opened")&&closeLeftSideBar(),handleBottomActiveNavItemStateChange(!0,"js_nav_right_toggle_btn"),document.body.classList.add("cw_mob_root-right_sidebar_opened"),document.body.style.overflow="hidden",$("#js_to_top_cont").css("z-index","0")}function closeRightSidebar(){handleBottomActiveNavItemStateChange(!1,"js_nav_right_toggle_btn"),document.body.classList.remove("cw_mob_root-right_sidebar_opened"),document.body.removeAttribute("style"),$("#js_to_top_cont").removeAttr("style")}function handleBottomActiveNavItemStateChange(e,t){let n=document.getElementById(t),o=document.getElementById("js_mob_sign_in");if(e){let e=document.querySelectorAll(".js_bm_nav_items");if(n)if(n.classList.contains("tl_main_nav_item-active"))n.dataset.keepActiveClass="true";else{for(var s=0;s`;for(let e=0;e
`+`
`;s+=``;break}$(n).html(s)}function skeletOff(e){switch(e){case"topwins":$("#js_top_winers_skelet").remove();break}}function handleBalancesVisibility(){if(window.withdrawal_balance==void 0&&window.js_balance_content!=void 0){let e=window.bonusBalanceCont&&!window.bonusBalanceCont.classList.contains("hidden"),t=window.CashbackBalancePanel&&!window.CashbackBalancePanel.classList.contains("dis_none"),n=window.TournamentBalancePanel&&!window.TournamentBalancePanel.classList.contains("dis_none"),s=window.SportBonusPanel&&!window.SportBonusPanel.classList.contains("dis_none");e||t||n||s?(window.js_balance_content.classList.add("js_balance_content"),window.js_balances_ddwn.classList.add("js_balances"),window.js_balances_ddwn_arrow.classList.remove("hidden")):(window.js_balance_content.classList.remove("js_balance_content"),window.js_balances_ddwn.classList.remove("js_balances"),window.js_balances_ddwn_arrow.classList.add("hidden"))}}function showHideButtonLoader(e,t){let n=document.getElementById(e),s=36;n&&(t?(s=n.dataset.loaderFontSize!=void 0?n.dataset.loaderFontSize:36,n.style.minWidth=n.getBoundingClientRect().width+"px",loaderBtnInnerHtml=n.innerHTML,n.innerHTML=``+``+``):loaderBtnInnerHtml!=""&&(n.style.minWidth="",n.innerHTML=loaderBtnInnerHtml))}function setJackpotHoverPosition(){let e=$(window).scrollTop(),t=$(".top_jackpots__block").offset().top-$(window).height()/2;e>t?$(".top_jackpots__hover_block").css({bottom:"auto",top:"100%"}):$(".top_jackpots__hover_block").css({bottom:"100%",top:"auto"})}function showHideMoreMenu(e){e?($("#js_nav_more_toggle_btn").addClass("opened_menu"),$("#js_more_content").addClass("opened_circle")):($("#js_nav_more_toggle_btn").removeClass("opened_menu"),$("#js_more_content").removeClass("opened_circle"))}function hasLoginButton(e){let t=$(e).find(".loginDialog");return t.length>0||(t=$(e).find("#js_mob_sign_in"),t.length>0)}function parentsNative(e,t){const n=[];for(;(e=e.parentNode)&&e!==document;)(!t||e.matches(t))&&n.push(e);return n}function isElemOrChildrenSameAsTarget(e,t){if(t.matches(e))return!0;let n=!1,s=parentsNative(t,e);return s.length>0&&s.forEach(t=>{t.matches(e)&&(n=!0)}),n}let allowCashierPopup=!0;function openCashierPopup(e){if(document.body.classList.contains("cw_mob_root-right_sidebar_opened")&&closeRightSidebar(),allowCashierPopup){if(allowCashierPopup=!1,e!=1&&e!=2)return;showHideLoader(!0),$("body").addClass("ofh"),$.ajax({url:"/Account/GetPaymentByCashier",type:"POST",datatype:"json",data:{paymentType:e},success:function(e){$("body").append(e),showHideLoader(!1),allowCashierPopup=!0}})}}function closeCashierPopup(){let e=$("body").find(".js_cashier_wrapper");if(e){typeof click!="undefined"&&(click=0),$(e).remove(),$("body").removeClass("ofh"),showHideLoader(!1);let t=window.location.href.toLowerCase();if(t.includes("?deposit=1")&&(t=t.replace("?deposit=1",""),history.replaceState({id:""},"",t),typeof changeLanguageBarUrl=="function")){let e=document.documentElement.lang,n=t.split("/"+e+"/").length>1;changeLanguageBarUrl(n?"/"+e+"/":"/")}}}let allowBnReqPopup=!0;function openBonusRequestPopup(e){document.body.classList.contains("cw_mob_root-right_sidebar_opened")&&closeRightSidebar(),allowBnReqPopup&&allowCashierPopup&&(allowBnReqPopup=!1,showHideLoader(!0),$("body").hasClass("ofh")||$("body").addClass("ofh"),$.ajax({url:"/Bonus/GetBonusRequest",type:"POST",datatype:"json",success:function(t){t==0?e?(showAccountPopup("/Account/Deposit","deposit_tab",{width:1600,height:681}),allowBnReqPopup=!0):$.ajax({url:"/Account/IsPaymentsByCashier",type:"POST",datatype:"json",success:function(e){e=="True"?openCashierPopup(1):document.location.href="/account/deposit",allowBnReqPopup=!0}}):($("body").append(t),allowBnReqPopup=!0),showHideLoader(!1)}}))}function openDepositFromBnReqPopup(e,t){showHideLoader(!0),$.ajax({url:"/Account/Deposit",type:"POST",datatype:"json",data:{bonusId:e,depWithoutReward:t},success:function(e){$("body").append(e).addClass("ofh"),showHideLoader(!1)}})}function openLogoutConfPopup(){showHideLoader(!0),$.ajax({url:"/Account/ConfirmLogout",success:function(e){$("body").append(e).addClass("ofh"),showHideLoader(!1)}})}String.prototype.format||(String.prototype.format=function(){var e=arguments;return this.replace(/{(\d+)}/g,function(t,n){return typeof e[n]!="undefined"?e[n]:t})}),document.addEventListener("click",function(e){if(!e.target.matches(".t-close"))return;var t=e.target.parentElement;t.classList.remove("active"),setTimeout(function(){t.remove()},350)}),$(document).on("click","#js_close_err_popup",function(){clearInterval(errorPopupInterval),$("#js_error_popup").remove()}),$(document).on("click",".js_banner_video_link",function(e){if($(e.target).hasClass("js_voice_icon")||$(e.target).parents().hasClass("js_voice_icon")){let s=$(e.target).hasClass("js_voice_icon")?e.target:$(e.target).parents(".js_voice_icon")[0],n=$(s).siblings("video")[0],t="";$(this).parents(".swiper-initialized").length>0&&typeof $(this).parents(".swiper-initialized")[0].swiper!="undefined"&&(t=$(this).parents(".swiper-initialized")[0].swiper),n&&(n.muted?(n.muted=!1,$(s).removeClass("muted"),t!=""&&t.autoplay.stop()):($(s).addClass("muted"),n.muted=!0,t!=""&&t.autoplay.start()))}else if($(this).attr("data-href")){let e=$(this).attr("data-target");e=="_self"?location.href=$(this).attr("data-href"):window.open($(this).attr("data-href"),"_blank").focus()}}),$(document).on("click",".js_close_ytb_popup",function(){$("#js_ytb_video_cont").html("").hide()}),window.addEventListener("DOMContentLoaded",e=>{toTopBtnCont=document.getElementById("js_to_top_cont"),webHdr=document.getElementById("header_fix"),document.removeEventListener("scroll",handleDocumentScroll,!1),document.addEventListener("scroll",handleDocumentScroll,!1),document.getElementById("js_to_top")&&document.getElementById("js_to_top").addEventListener("click",function(){window.scrollTo({top:0,behavior:"smooth"})}),handleDocumentScroll()}),$(document).on("click",".js_copy_button",function(){let e=$(this).siblings(".js_copy_val")[0],t="";e.tagName=="INPUT"?t=e.value:t=e.innerText;let n=this.dataset.valMsg!=void 0?this.dataset.valMsg:"Copied";if(!copyBtnClicked){copyBtnClicked=!0,writeToClipboard(t);let e=`
${n}
`;$(this).parent().append(e),setTimeout(function(){$(".js_copy_msg_info").fadeOut(300,function(){$(".js_copy_msg_info").remove()})},1e3),setTimeout(function(){copyBtnClicked=!1},1500)}}),$(document).on("click",".js_sidebar_ddwn_btn",function(){$(this).parents(".js_sidebar_ddwn").toggleClass("opened")}),$(document).on("click",".js_cashier_popup",function(){let t=$(this).attr("data-paymentType");openCashierPopup(t)}),$(document).on("click",".js_cashier_close",function(){closeCashierPopup()}),$(document).on("click","#js_deposit_rm",function(){openBonusRequestPopup()}),$(document).on("click",".js_bn_request_popup",function(){openBonusRequestPopup()}),$(document).on("click",".js_newsletter_checkbox",function(){this.value=this.checked}),$(document).on("click",".js_jackpot_link",function(e){e.preventDefault(),e.stopPropagation();let t=$(this).parents(".js_jacpkpots_cont").attr("data-url");if(t&&t!="")if(document.location.href.toLowerCase().includes("/lobby/")){$("#js_to_top_cont").removeAttr("style");let s="all",i="all",n=t.toLowerCase().split("main"),a=document.location.href.toLowerCase().split("main");if(!document.location.href.toLowerCase().includes(n[0].toLowerCase())){document.location.href=t;return}if(n.length>1){let e=n[1].split("/");e.length==3?(s=e[1],i=e[2]):e.length==2&&(s=e[1])}let r=!0;a.length>1&&n.length>1&&a[1]==n[1]&&(r=!1);let e=$('[data-url="'+s+'"]'),o=$('[data-url="'+i+'"]');if(e.length>0&&o.length>0){r&&($(".js_lobby_groups").removeClass("active"),$(".js_lobby_cats").removeClass("active"),e[0].classList.add("active"),o[0].classList.add("active"),gamesData.Page=0,imgSortIndex=0,gamesData.CategoryId=[o[0].dataset.id],gamesData.GroupId=e[0].dataset.id,gamesData.GroupTypeId=e[0].dataset.typeId,gamesData.TakeCount=e[0].dataset.takeCount,GetGames("js_games_lobby"),setPageUrl());let t=Number(e[0].dataset.pos);Lobbies.slider.slideTo(t>0?t-1:0,0)}else e=$(".js_lobby_groups");window.js_topJackpot_cover&&($("body").removeClass("ofh"),$("#js_topJackpot_cover").remove(),$(".top_jackpots__hover_block").css("bottom","-500px")),$("html, body").animate({scrollTop:$(e[0]).offset().top-500},200)}else document.location.href=t;else window.js_topJackpot_cover&&($("body").removeClass("ofh"),$("#js_topJackpot_cover").remove(),$(".top_jackpots__hover_block").css("bottom","-500px"))}),$(document).on("click",".js_acc_btns",function(){let t=this,e=t.nextElementSibling;t.classList.toggle("active"),t.parentNode.classList.toggle("active"),e.style.maxHeight?e.style.maxHeight=null:e.style.maxHeight=e.scrollHeight+"px"}),$(document).on("click",".js_pass_eye_btn",function(){let e=this.dataset.btnFor;$(this).hasClass("opened_pass")?($(this).removeClass("opened_pass"),$("#"+e).attr("type","text")):($("#"+e).attr("type","password"),$(this).addClass("opened_pass"))}),$(document).on("click",".js_logout_confirm",function(){openLogoutConfPopup(),document.body.classList.contains("cw_mob_root-right_sidebar_opened")&&($(this).parent().removeClass("opened"),closeRightSidebar())}),$(document).on("click",".js_close_logout_confirm_popup",function(e){e.preventDefault(),e.stopPropagation();let t=$("body").find(".js_logout_conf_popup_cont");t&&($(t).remove(),$("body").removeClass("ofh"))}),$(document).on("click",".js_close_restricted_message",function(){var e=window.location.href.toLocaleLowerCase();e.includes("/loginrestricted")?(e=e.replace("/loginrestricted","/"),window.location.href=e):e.includes("/regrestricted")&&(e=e.replace("/regrestricted","/"),window.location.href=e),$("#js_restricted_message_cont").remove()}),window.addEventListener("message",e=>{if(e.data&&e.data.type){let t=e.data.type.toLowerCase();if(t.startsWith("cw"))switch(t){case"cw_open_declarations":if(hasLoginButton(document))LoginTrigger();else{let e=document.documentElement.lang,t=document.documentElement.dataset.type;if(t&&t.toLowerCase()=="mobile"){let t=document.location.href.toLowerCase();if(t.includes("/account/declarations")){let e=document.querySelector(".js_cashier_close");e!=null&&(closeRightSidebar(),closeCashierPopup())}else window.location.href="/"+e+"/Account/Declarations"}else{let n=document.querySelector("#declarations_tab"),t="/"+e+"/Account/Declarations";n!=null?loadTab("declarations_tab",t,function(){activateTab("declarations_tab")}):showAccountPopup(t,"declarations_tab")}}break;case"cw_update_profile":if(!hasLoginButton(document)){let e=document.documentElement.dataset.type;if(e&&e.toLowerCase()=="mobile"){let e=document.location.href.toLowerCase();if(e.includes("/account/profile")){closeRightSidebar();let e=document.querySelector(".js_cashier_close");e!=null&&closeCashierPopup()}else ProfileTrigger()}else{let e=document.querySelector("#profile_tab");e!=null?loadTab("profile_tab",e.dataset.href,function(){activateTab("profile_tab")}):ProfileTrigger()}}break;default:console.warn(`Wrong command: The "${e.data.type}" does not supported.`);break}}})