/*! For license information please see web.bundle.js.LICENSE.txt */ !function(){var e,t,n,r,i,o,a={42589:function(e,t,n){var r={"./achievements/Achievements.vue":[69133,9133],"./achievements/AchievementsGroup.vue":[8784,8784],"./achievements/AchievementsItem.vue":[54109,4109],"./achievements/AchievementsItemDescription.vue":[65269,3805],"./achievements/AchievementsNavigation.vue":[94206,4206],"./achievements/AchievementsPage.vue":[17553,7553],"./achievements/AchievementsSymbolsDetails.vue":[17672,7672],"./achievements/AchievementsUserInfo.vue":[93371,3371],"./achievements/AchievementsWidget.vue":[87405,7405],"./banners/PromoBanner.vue":[60314,314],"./basemodal/BaseModal.vue":[82265,2265],"./bonus/Bonus.vue":[52684,1932,8025],"./bonus/BonusGameProgress.vue":[462,462],"./bonus/BonusHorizontalSlider.vue":[28180,1932,3728],"./bonus/BonusList.vue":[30999,1932,5867],"./bonus/BonusListItem.vue":[71932,1932,5197],"./bonus/BonusVerticalSlider.vue":[86536,1932,2600],"./bonus/BonusWelcome.vue":[71163,1163],"./calendar/Calendar.vue":[26712,6712],"./depositbonuses/DepositBonuses.vue":[89386,9386],"./depositbonuses/DepositBonusesItem.vue":[6724,6724],"./dialog/Dialog.vue":[63671,3671],"./form/Form.vue":[78157,8157],"./form/FormBonusConfirmation.vue":[64161,4161],"./form/FormConfirmPhone.vue":[94758,2697,2615,6014],"./form/FormEmailConfirmation.vue":[66086,2697,2615,7854],"./form/FormLogin.vue":[2158,2697,2615,3411],"./form/FormPromoCode.vue":[69078,2697,2615,4796],"./form/FormRecovery.vue":[86378,2697,2615,6703],"./form/FormUploadDocuments.vue":[58212,2697,2615,5395],"./form/user-profile/ChangeEmail.vue":[36812,2697,2615,7937],"./form/user-profile/ConfirmPhone.vue":[94424,2697,2615,6931],"./form/user-profile/account-details/AccountPhone.vue":[68670,2697,2615,8670,3149],"./game/Game.vue":[51461,1461],"./game/GameMaxBetBanner.vue":[827,827],"./games/Games.vue":[56857,6607,6857],"./games/GamesCategories.vue":[93204,3204],"./games/GamesCategoriesNavigation.vue":[1299,1299],"./games/GamesItem.vue":[24447],"./games/GamesItemModal.vue":[76155,6607,6155],"./games/GamesLast.vue":[78720,6607,8720],"./games/GamesList.vue":[78018],"./games/GamesListBanner.vue":[56818],"./games/GamesMaxBetBanner.vue":[85687,5687],"./games/GamesNavigation.vue":[7592,7592],"./games/GamesRouterView.vue":[99742],"./games/GamesSearchBar.vue":[10672,672],"./games/GamesSort.vue":[63616],"./games/GamesSpecial.vue":[60483,483],"./games/GamesTournament.vue":[81969,6607,1969],"./games/splits/common/GamesRecommended.vue":[69084,9084],"./modal/BigWinVideo.vue":[292,292],"./modal/FameVideo.vue":[36970,6970],"./modal/Modal.vue":[35269,5269],"./modal/RemarketingPassword.vue":[91444,1444],"./modal/dialogs/ApplicationManualDialog.vue":[54283,4283],"./modal/dialogs/BonusDeactivationDialog.vue":[9736,9736],"./modal/dialogs/BonusDialog.vue":[48493,1932,3587],"./modal/dialogs/BonusPurchaseDialog.vue":[73134,3134],"./modal/dialogs/ChangeEmailDialog.vue":[67877,2697,2615,8567],"./modal/dialogs/EmailConfirmationDialog.vue":[46097,6097],"./modal/dialogs/LogoutReason.vue":[37228,7228],"./modal/dialogs/PersonalDataApprove.vue":[59204,9204],"./modal/dialogs/PhoneConfirmationDialog.vue":[56346,6346],"./modal/dialogs/PromocodeDialog.vue":[90317,317],"./modal/dialogs/PushPermissionDialog.vue":[48355,8355],"./modal/dialogs/ShopBuyDialog.vue":[57012,7012],"./modal/dialogs/WelcomeBonusPackDialog.vue":[16130,6130],"./modal/games/ChooseCard.vue":[47758,7758],"./modal/personal-data-approve/PersonalDataApprove.vue":[43161,2697,2615,1860],"./payment/Payment.vue":[6090,6090],"./rebill/Rebill.vue":[94446,4446],"./rebill/RebillBonus.vue":[54655,8468,6081],"./rebill/RebillMenu.vue":[84633,8468,110],"./rebill/RebillMobGame.vue":[1053,8468,3793],"./rebill/RebillWidget.vue":[2117,8468,3467],"./shop/CounterOrderShop.vue":[71367,1367],"./shop/Shop.vue":[82615],"./shop/ShopItem.vue":[54733,4733],"./shop/ShopItems.vue":[10865],"./shop/ShopNavigation.vue":[9042],"./shop/ShopTopWidget.vue":[58015,8015],"./signuppromo/PromoBanner.vue":[45493,5493],"./signuppromo/SignupPromo.vue":[37527,7527],"./slider/Slider.vue":[54890,4890],"./socialicons/SocialIcons.vue":[20080,80],"./tabbar/TabBar.vue":[403,403],"./toast/Toast.vue":[96390,6390],"./toast/ToastItem.vue":[2723,2723],"./tournaments/Tournaments.vue":[90887,6607,887],"./tournaments/TournamentsItem.vue":[18762,8762],"./tournaments/TournamentsItemMob.vue":[8135,6607,8135],"./tournaments/TournamentsItemWeb.vue":[18957,8957],"./tournaments/TournamentsLeaderboard.vue":[2465,2465],"./tournaments/TournamentsPage.vue":[99848,9848],"./tournaments/TournamentsPrizes.vue":[71766,1766],"./tournaments/TournamentsRules.vue":[48427,8427],"./tournaments/TournamentsTabs.vue":[14706,4706],"./tournaments/TournamentsWidget.vue":[60926,926],"./ui/Countdown.vue":[4423,4423],"./ui/DatePicker.vue":[13959,3959],"./ui/FilesUploader.vue":[47022,7022],"./ui/FilesUploaderItem.vue":[56587,6587],"./ui/Input.vue":[59575,9575],"./ui/PhonePicker.vue":[92401,2401],"./ui/RadioButton.vue":[87664,7664],"./ui/StepsProgress.vue":[40705,705],"./user/User.vue":[87927,7927],"./user/UserBalance.vue":[24748,4748],"./user/UserBalanceExtended.vue":[61092,1092],"./user/UserCashbackExtended.vue":[54875,4875],"./user/UserDocumentRequestStatus.vue":[92301,2301],"./user/UserLoyaltyWidget.vue":[90728,728],"./user/UserProfileMessages.vue":[28622,8622],"./user/UserProfileMessagesItem.vue":[802,802],"./user/UserSettings.vue":[88703,2697,2615,8670,6784],"./user/UserTalismans.vue":[64965,4965],"./userevents/Counter.vue":[51761,1761],"./userevents/Notifier.vue":[86060,6060],"./userevents/UserEvents.vue":[92839,2839],"./websocket/Websocket.vue":[75451,5451],"./winners/Winners.vue":[2113,2113],"./winners/WinnersItem.vue":[38280,8280],"./winners/WinnersItemSmall.vue":[79177,9177],"./winners/WinnersList.vue":[55468,6607,5468],"./winners/WinnersListSmall.vue":[59903,6607,9903],"./winners/WinnersListVertical.vue":[14987,6607,4987]};function i(e){if(!n.o(r,e))return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],i=t[0];return Promise.all(t.slice(1).map(n.e)).then((function(){return n(i)}))}i.keys=function(){return Object.keys(r)},i.id=42589,e.exports=i},95318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},11443:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(4424);t.default=class{constructor(){this.dbName=`${window.appData.project||"app"}_db`,this.db=(0,r.openDB)(this.dbName,1,{upgrade(e){e.createObjectStore("games"),e.createObjectStore("i18n")}})}async set(e,t,n){if("object"==typeof t)for(const n in t)(await this.db).put(e,t[n],n);else(await this.db).put(e,t,n)}async get(e,t){return(await this.db).get(e,t)}async getAll(e){return(await this.db).getAll(e)}async del(e,t){return(await this.db).delete(e,t)}async isAvailable(){if(window.indexedDB)try{return await this.set("games","test","test"),await this.del("games","test"),!0}catch(e){return!1}return!1}}},14162:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{prettify(e="",t=0,n,r){let i=String(e);if(n){const e=new RegExp(`[^${n}]`,"g");i=i.replace(e,"")}i=i.replace(/\s/g,"");const o=i.split("");r&&o.splice(r),o.reverse();let a="";for(let e=o.length-1,n=0;e>=0;e--,n++)n===t&&(a+=" ",n=0),a+=o[e];return a.trim()}price(e){let t=String(e);t=t.replace(/,/g,".");const n=t.split("."),r=n[0],i=n[1],o=r.split("");let a="";for(let e=o.length-1,t=0;e>=0;e--,t++)3===t&&(a+=" ",t=0),a+=o[e];return a=a.split("").reverse().join(""),a+=i?`.${i}`:"",a}promocode(e){const t=String(e).split("");let n="";for(let e=0,r=0;e{t.addEventListener("click",(function(t){if(t.preventDefault(),e.currentTabName===this.dataset.tab)return!1;e.currentTabName=this.dataset.tab,e.setCurrentTab(),e.changeActiveTab()}))}))}setCurrentTab(){this.currentTab=this.tabsContainer.querySelector("[data-tab="+this.currentTabName+"]"),this.currentTabPane=this.tabsContainer.querySelector("[data-tab-pane="+this.currentTabName+"]")}changeActiveTab(){if(this.tabsPanes.forEach((e=>{e.classList.remove("is-active")})),this.tabsList.forEach((e=>{e.classList.remove("is-active")})),!this.currentTab.getAttribute("href")||this.currentTabPane.innerHTML&&!this.reload)this.currentTab.classList.add("is-active"),this.currentTabPane.classList.add("is-active");else{const e=this;$.ajax({url:this.currentTab.getAttribute("href"),success:function(t){$(e.currentTabPane).html(t),e.currentTab.classList.add("is-active"),e.currentTabPane.classList.add("is-active");const n=new CustomEvent(e.currentTabName+"TabLoaded");e.currentTab.dispatchEvent(n)}})}const e=new CustomEvent(this.currentTabName+"TabActivated");$(this.tabsContainer).trigger("tabChanged"),this.currentTab.dispatchEvent(e)}}},19327:function(){"use strict";window.goToMessage=e=>{try{window.location.pathname===e.url?window.location.href=`${e.url}?rand=${Math.floor(100*Math.random())}`:window.location.href=e.url}catch(e){console.error(e)}},window.showNotification=e=>{try{const t={type:e.type||"info",text:e.text||""};$(".toast").trigger("pushNotification",t)}catch(e){console.error(e)}},window.getConvertedSum=e=>{try{let t=1,n=0;if(window.appData){const e=window.appData.currency;e&&1!==e.ratio&&(t=e.ratio)}return n=1!==t?(Math.floor(1e4*t)*parseFloat(e)/1e4).toFixed(2):parseFloat(e).toFixed(2),n}catch(e){console.error(e)}},window.getFormattedSum=(e,t=!0,n=!1)=>{try{const r=e?t?parseFloat(e).toFixed(2):Math.round(e):0;if(window.appData){const e=window.appData.currency,t=e?e.presentation:"€";let i=e?e.format:t+" {amount}";return i=i.replace("{amount}",r.toLocaleString(window.appData.language.value)),n&&i.match(e.presentation)&&(i=i.replace(e.presentation,`${e.presentation}`)),i}return r.toLocaleString()}catch(e){console.error(e)}},window.getPreparedSum=(e,t=!0,n=!1)=>{const r=window.getConvertedSum(e);return window.getFormattedSum(r,t,n)||!1},window.observeImages=e=>{if("IntersectionObserver"in window){const t=new IntersectionObserver((function(e,n){e.forEach((function(e){if(e.isIntersecting){const n=e.target;"picture"===n.nodeName.toLowerCase()?n.children.forEach((function(e){"source"===e.nodeName.toLowerCase()?e.srcset=e.dataset.srcset:e.src=e.dataset.src})):n.src=n.dataset.src,n.dataset.srcset&&(n.srcset=n.dataset.srcset),n.classList.add("loading"),n.classList.remove("lazy-image"),t.unobserve(n),n.addEventListener("load",(function(){n.classList.remove("loading")})),n.addEventListener("error",(function(){n.parentNode&&(n.parentNode.classList.add("slot__img--empty"),n.parentNode.removeChild(n))}))}}))}));if(e instanceof NodeList)for(let n=0;n{if("IntersectionObserver"in window){const t=new IntersectionObserver((function(e,n){e.forEach((function(e){if(e.isIntersecting){const n=e.target;n.classList.remove("lazy-background"),t.unobserve(n)}}))}));t.observe(e)}else e.classList.remove("lazy-background")},window.startLazyLoading=function(){if("function"==typeof window.observeBackgrounds){const e=[...document.querySelectorAll(".lazy-background")];e.length&&e.forEach((function(e){window.observeBackgrounds(e)}))}if("function"==typeof window.observeImages){const e=[...document.querySelectorAll(".lazy-image")];e.length&&e.forEach((function(e){window.observeImages(e)}))}},window.startLazyLoading(),window.utcToLocal=(e,t)=>{let n;if(e.match(".000Z"))n=new Date(e);else{const[t,r]=e.split(" "),[i,o,a]=t.split("-"),[s,u,c]=r?r.split(":"):[];n=new Date(Date.UTC(i,Number(o)-1,a,s,u,c))}if(!t)return n;const r={YYYY:n.getFullYear(),YY:n.getFullYear().toString().substring(2),MM:n.getMonth()+1,dd:n.getDate(),HH:n.getHours(),mm:n.getMinutes(),ss:n.getSeconds()};for(const e in r)Object.prototype.hasOwnProperty.call(r,e)&&(r[e]<10&&(r[e]=`0${r[e]}`),t=t.replace(e,r[e]));return t},window.setExpandableSeo=(e=!1)=>{const t=[...document.querySelectorAll(".js-expandable-seo")];if(!t.length)return!1;for(let n=0;n{e.preventDefault(),e.target.closest(".js-expandable-seo").classList.toggle("is-expanded")};o.classList.add("seo-read-more"),a.classList.add("seo-read-more","read-less","seo-read-less"),o.innerText=window.seoText?window.seoText.readMore:"",a.innerText=window.seoText?window.seoText.readLess:"",o.addEventListener("ontouchstart"in window?"touchend":"click",s,!1),a.addEventListener("ontouchstart"in window?"touchend":"click",s,!1),i.insertBefore(o,r),i.appendChild(a),t[n].classList.add("is-inited")}},window.setAccordionSeo=()=>{const e=[...document.querySelectorAll(".js-seo-accordion")];if(!e.length)return!1;for(let t=0;t{e.target.classList.toggle("is-open")};n.forEach((e=>{e.addEventListener("ontouchstart"in window?"touchend":"click",r,!1)}))}},window.sleep=e=>new Promise((t=>setTimeout(t,e))),window.trackAction=(e,t,n=!1)=>{if("function"==typeof navigator.sendBeacon&&n){let n=null;if(t&&Object.keys(t).length){n=new FormData;for(const e in t)n.append(e,t[e])}navigator.sendBeacon(e,n)}else $.post(e,t)},window.initAjaxSetup=()=>{$.ajaxSetup({beforeSend:function(e,{type:t}){const n=window.appData.headers;if(n)for(const t in n)Object.prototype.hasOwnProperty.call(n,t)&&e.setRequestHeader(t,n[t]);if(["DELETE","POST","UPDATE"].includes(t)){var r,i;const t=document.querySelector("meta[name=csrf-token]"),n=(null==t?void 0:t.getAttribute("content"))||(null===(r=window.appData)||void 0===r||null===(i=r.csrfToken)||void 0===i?void 0:i.value);n&&e.setRequestHeader("X-CSRF-Token",n)}}})},"function"==typeof $?window.initAjaxSetup():window.EXE(window.initAjaxSetup),window.setInlineSVGIcons=e=>{$.get(e).then((e=>{var t,n;let r=document.getElementById("inlineSVGIcons");r||(r=document.createElement("div"),r.setAttribute("id","inlineSVGIcons"),r.setAttribute("style","display: none;"));const i=document.createElement("div");i.innerHTML=null==e||null===(t=e.documentElement)||void 0===t?void 0:t.outerHTML.trim();const o=null===(n=i.querySelector("svg"))||void 0===n?void 0:n.getAttribute("id");r.innerHTML+=i.innerHTML,document.body.insertBefore(r,document.body.childNodes[0]);const a=new CustomEvent("onSpriteLoaded",{detail:{name:o}});r.dispatchEvent(a)})).catch((e=>{window.handleError(new Error("Get SVG library"),{level:"warning",extra:window.getRequestErrorExtra(e)})}))}},56416:function(e,t,n){"use strict";var r=n(95318);n(19327);var i=r(n(66077)),o=r(n(4239));window.mc=i.default,e.exports=async(e,t)=>{window.appData&&await(0,o.default)(t),(0,i.default)(e)}},66077:function(e,t,n){"use strict";var r=n(70538).Z,i=n(20629).ZP,o=n(78345).Z,a=n(12954).ZP,s=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=s(n(75958)),c=s(n(29237)),l=s(n(68749)),d=s(n(71821));r.use(i),r.use(o),window.$_store||(window.$_store=new i.Store(c.default));t.default=e=>{if(r.use(a,l.default),e&&e.length){window.VueInstances||(window.VueInstances={},window.VueInstances.globals={}),window.VuexModules||(window.VuexModules={}),e.forEach((e=>{r.component(e,(()=>n(42589)(`./${e.toLowerCase()}/${e}.vue`))),window.VueInstances.globals[e]||(window.VueInstances.globals[e]=!0)}));const t=document.querySelectorAll("[data-is]:not([data-tpl-id])"),i=e=>{const t=e.getAttribute("data-is");let n=e.getAttribute("data-params");if(window.VueInstances.globals[t])if(n){n=n.replace(/'/g,'"'),n=JSON.parse(n),e.setAttribute("is",t);const i=(()=>n.template?`${n.template}_${(0,u.default)(4)}`:(0,u.default)(10))();e.setAttribute("data-tpl-id",i),window.VueInstances[i]=new r({el:e,store:window.$_store,router:d.default})}else console.warn("dataParams is undefined",e);else console.warn(`\n Component ${t} is not enabled, but used!\n\n Check module constructor options.\n `)};for(let e=0;e{i(t[e])}),0):i(t[e])}else console.warn("You try to init vue without components list.")}},75958:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const n="abcdefghijklmnopqrstuvwxyz",r="ABCDEFGHIJKLMNOPQRSTUVWXYZ",i="0123456789",o="~!@#$%^&()_+-={}[];',";t.default=(e,t)=>{e||(e=30),t||(t="aA0");let a="";t.split("").forEach((e=>{isNaN(parseInt(e))?/[a-z]/.test(e)?a+=n:/[A-Z]/.test(e)?a+=r:a+=o:a+=i}));let s="";for(let t=0;t{try{var t;const n=(new Date).getTime(),r="i18n",o=1e3*((null===(t=window.appData)||void 0===t?void 0:t.i18nUpdateTime)||0);let a=0,s=0,u="";const c=(()=>{let e="en";return window.appData&&"language"in window.appData&&(e=window.appData.language.value||"en"),e})(),l=await i.isAvailable();if(l)try{a=await i.get(r,"timer"),u=await i.get(r,"slug"),s=await i.get(r,"values")}catch(e){window.handleError(e)}if((o>=a||n-a>864e6||c!==u)&&(s=await $.ajax({url:window.urlTo("/translates/list"),method:"get",data:{locale:c,categories:e.toString()},type:"json"}),l))try{await i.set(r,{timer:n,slug:c,values:s})}catch(e){window.handleError(new Error("Error setting translates to db"),{level:"warning"})}window.TRANSLATES=s,window.i18n.setMessages(window.TRANSLATES)}catch(e){console.warn(e.message)}}},92032:function(){"use strict";var e,t,n,r;Array.from||(Array.from=(e=Object.prototype.toString,t=function(t){return"function"==typeof t||"[object Function]"===e.call(t)},n=Math.pow(2,53)-1,r=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),n)},function(e){var n=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var i,o=arguments.length>1?arguments[1]:void 0;if(void 0!==o){if(!t(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(i=arguments[2])}for(var a,s=r(n.length),u=t(this)?Object(new this(s)):new Array(s),c=0;c>>0,r=arguments[1];let i;for(let o=0;oObject.assign(...Object.keys(e).filter((n=>t(e[n]))).map((t=>({[t]:e[t]})))),(r=Element.prototype).matches=r.matches||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector,r.closest=r.closest||function(e){return this?this.matches(e)?this:this.parentElement?this.parentElement.closest(e):null:null}},3753:function(){"use strict";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,t){t=t||window;for(let n=0;nPromise.all(e.map((e=>e.then((e=>({status:"fulfilled",value:e}))).catch((e=>({status:"rejected",reason:e})))))))},33269:function(){"use strict";window.paymentSourceCookie={get:function(){let e="auto_unknown";return document.cookie.split(";").filter((function(t){if(0===t.trim().indexOf("paymentSource=")){var n=t.split("=")[1];n&&(e=n)}})),e},set:function(e){document.cookie="paymentSource="+e+";Path=/"},delete:function(){document.cookie="paymentSource=;Path=/;Max-Age=-99999999;"},getContextPromise:function(){const e=this.get();return $.ajax({type:"POST",url:window.urlTo("/payment/track-open-cash-box"),data:{source:e},beforeSend:function(e){const t=document.querySelector("meta[name=csrf-token]");t&&e.setRequestHeader("X-CSRF-Token",t.getAttribute("content"))}})}},$(document).on("click",".js-tracking-payment-source",(function(){let e=$("#betting:not(symbol)").length;$("#ifmSportsbook").length&&(e=!0);const t=$(this).data("source")+(e?"_betting":"");window.paymentSourceCookie.set(t)})),window.addEventListener("pagehide",(function(){window.paymentSourceCookie.delete()}));const e=window.location.search.slice(1).split("&");let t=-1;for(var n in e){var r=e[n].split("=");if("source"===r[0]){t=n,window.paymentSourceCookie.set(r[1]);break}}if(t>=0){e.splice(t,1);let n=e.join("&");n=n?"?"+n:n,window.history.replaceState({},document.title,window.location.pathname+n+window.location.hash)}},59833:function(e,t,n){"use strict";var r=n(12954).ZP;r.Validator.extend("minFilesCount",((e,t)=>t[1].length>=t[0])),r.Validator.extend("maxFilesCount",((e,t)=>t[1].length<=t[0])),r.Validator.extend("maxFileSize",((e,t)=>{const n="MB"===t[0].points?1024*t[0].value*1024:1024*t[0].value,r=t[1];for(let e=0;en)return{valid:!1,data:{filename:i.name,maxSize:`${t[0].value} ${t[0].points}`}}}return!0})),r.Validator.extend("fileExtensions",((e,t)=>{const n=RegExp(`\\.(${t[0].join("|")})$`),r=RegExp(`\\.(${t[1].join("|")})$`),i=t[2];for(let e=0;e{const n=t[0];return!(n&&e>n)})),r.Validator.extend("min_age",((e,t)=>{const n=t[0],r=new Date,i=new Date(e),o=r.getMonth()-i.getMonth();let a=r.getFullYear()-i.getFullYear();return(o<0||0===o&&r.getDate()=n})),r.Validator.extend("max_age",((e,t)=>{const n=t[0],r=new Date,i=new Date(e),o=r.getMonth()-i.getMonth();let a=r.getFullYear()-i.getFullYear();return(o<0||0===o&&r.getDate()!/[^A-Za-zА-Яа-яъёы\s`\-"']/.test(e)))},68749:function(e,t,n){"use strict";var r=n(95318);n(59833);var i=r(n(46889));let o="en";window.appData&&"languages"in window.appData&&(o=window.appData.languages.current||o),e.exports={events:"blur",locale:o,dictionary:{[o]:{messages:i.default}}}},46889:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(61875));window.i18n=new i.default(window.TRANSLATES,!0);var o={_default:()=>"Field value is not valid.",required:()=>window.i18n.t("validator","Field can not be empty"),email:()=>window.i18n.t("validator","Please enter a correct email address"),min:(e,t)=>window.i18n.t("validator","Field must contains at least {n} symbols",{n:t[0]}),max:(e,t)=>window.i18n.t("validator","Field can contains maximum {n} symbols",{n:t[0]}),is:e=>"password_repeat"===e?window.i18n.t("validator","Passwords do not match"):window.i18n.t("validator","Field value is not valid"),decimal:()=>window.i18n.t("validator","Field must be numeric and may contain decimal points"),numeric:()=>window.i18n.t("validator","Field may only contain numeric characters"),alpha_spaces:()=>window.i18n.t("validator","Field may only contain alphabetic characters as well as spaces"),alpha_num:()=>window.i18n.t("validator","Field may contain numeric and alphabetic characters as well as spaces"),minFilesCount:(e,t)=>window.i18n.t("validator","You сannot upload less than {n} file",{n:t[0]}),maxFilesCount:(e,t)=>window.i18n.t("validator","You сannot upload more than {n} files",{n:t[0]}),maxFileSize:(e,t,n)=>window.i18n.t("validator","File size should not be more than {maxSize} ({filename})",{maxSize:n.maxSize,filename:n.filename}),fileExtensions:(e,t,n)=>window.i18n.t("validator",'"{ext}" is not accepted',{ext:n.ext}),min_value:(e,t,n)=>"RebillForm[sum]"===e?window.i18n.t("validator","Sum cannot be less than {n}",{n:window.getFormattedSum(t[0])}):"monthlyDepositLimit"===e?window.i18n.t("validator","Please enter a monthly deposit limit greater or equal {n}",{n:window.getFormattedSum(t[0],!1)}):window.i18n.t("validator","Value must be equal or greater then {n}",{n:t[0]}),is_not:(e,t,n)=>window.i18n.t("validator","Value can not be equal to {n}",{n:t[0]}),max_value:(e,t,n)=>"RebillForm[sum]"===e?window.i18n.t("validator","Sum cannot be more than {n}",{n:window.getFormattedSum(t[0])}):"monthlyDepositLimit"===e?window.i18n.t("validator","Monthly deposit limit should be maximum of {n}",{n:window.getFormattedSum(t[0],!1)}):window.i18n.t("validator","Value must be equal or lower then {n}",{n:t[0]}),max_payout_value:(e,t,n)=>{if(n.custom){const e="It seems like you're trying to withdraw your bonus money funds. ",n="To withdraw them, make bets worth {refundSum}. Value must be equal or lower then {sum}.";return window.i18n.t("validator",e+n,{sum:t.maxFormatted,refundSum:t.bonusFormatted})}return window.i18n.t("validator","Value must be equal or lower then {n}",{n:t.maxFormatted})},date_format:(e,t,n)=>{switch(t[0]){case"MM":return window.i18n.t("validator","Month value is not valid");case"YY":return window.i18n.t("validator","Year value is not valid")}return window.i18n.t("validator","Invalid date format")},different_card:(e,t,n)=>n||"diff card",years18:()=>window.i18n.t("profilesettings","You should be older than 18 years"),nameSurname:()=>window.i18n.t("validator","Field may contain alphabetic, hyphen and apostrophes characters as well as spaces"),integer:()=>window.i18n.t("validator","Value must be an integer"),regex:()=>window.i18n.t("validator","Field value is not valid"),min_age:(e,t,n)=>window.i18n.t("validator","You must be over {age} years old",{age:t[0]}),max_age:(e,t,n)=>window.i18n.t("validator","You must be under {age} years old",{age:t[0]}),digits:(e,t)=>window.i18n.t("validator","Field must be numeric and contains exactly {n} digits",{n:t[0]})};t.default=o},46090:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{dataParams:{type:String,required:!0}},computed:{componentParams(){return(e=>{const t={success:null,error:null};if("string"==typeof e){const n=e.replace(/'/g,'"');try{t.success=JSON.parse(n)}catch(e){t.error={message:"JSON parsing error",err:e},console.log(e)}}else t.error={message:`Unexpected input param: "${typeof e}" instead of "string"`};return t})(this.dataParams).success}}};t.default=n},81068:function(e,t,n){"use strict";var r=n(20629).rn,i=n(20629).Se,o=n(20629).nv;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"GamesItem",data:()=>({loading:!1}),props:{game:{type:Object,required:!0},group:{type:String,default:""},isTournamentView:{type:Boolean,default:!1},isRaceView:{type:Boolean,default:!1},isProgressiveJackpotsView:{type:Boolean,default:!1}},computed:{...r("appData",["staticPath"]),...i("appData",["isLogged","platform"]),...i("i18n",["i18n"]),...i("games/list",["isGameFavorite"]),slotStateClass(){return{"slot--new":this.game.new&&!this.isLast,"slot--tournament":this.isTournament,"slot--small":this.isLast,"slot--race":this.isRaceView,"slot--jackpots":this.isProgressiveJackpotsView}},isTournament(){return!!this.isTournamentView||this.game.inTournament},isLast(){return"last"===this.group&&"web"===this.platform},signupLink:()=>window.getUrl("modal","https://trafffers.com/?go=af03e57cff422b7f5060ad74f33693fb032e3f4a").url,fallbackImage(){return`${this.staticPath}/img/bg_thumb-dummy.jpg`},availableThumbPath(){return this.game.imageName?window.getUrl("urls","thumbnailsUrl",{image:`${this.game.imageName}?v=${this.game.version}`}):this.fallbackImage}},methods:{...o("games/list",["toggleFavorite","fetchFavoriteGames"]),...o("games/modal",["updateModalGame","toggleModalVisibility"]),async setFav(){this.loading=!0,await this.toggleFavorite(this.game),this.loading=!1},generateModal(e,t){"mob"===this.platform&&(e.preventDefault(),this.updateModalGame(t||this.game),this.toggleModalVisibility(!0))},setImageFallback(e){e.target.src=this.fallbackImage}}};t.default=a},29640:function(e,t,n){"use strict";var r=n(20629).Se,i=n(20629).rn,o=n(20629).nv;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"GamesRouterView",props:{vendorsView:{type:Boolean,default:!1},favoritesView:{type:Boolean,default:!1}},data:()=>({metaData:{}}),computed:{...r("i18n",["i18n"]),...r("appData",["platform","isLogged"]),...i("games/list",["loading","hasFilteredGames","filterResult","visibleCount","query","scrollingGames","lastPlayedGames","filteredGames","navigation","ingameBanner","sortType","routeParams"]),...r("games/list",["hasFavorites","pagination","isRootView","showRootGroups","isFavoritesView","curVendor"]),emptySearchText(){return this.i18n.t("search",'Sorry, no games found by your request "{search}", but you can try other games:',{search:this.query})},lastGames(){return this.lastPlayedGames.slice(0,6)},showLast(){return this.showRootGroups&&"mob"===this.platform&&this.lastPlayedGames.length},randomGames(){const e=this.filteredGames&&this.filteredGames.popular,t=e&&e.length>3?e.length-3:0,n=t?Math.floor(Math.random()*t)+1:0;return e.slice(n,n+3)},routeTitle(){const e=this.routeParams;return this.isRootView?this.i18n.t("gamelist","Popular games"):e.level1||e.level2?this.i18n.t("gamelist",`${e.level2||e.level1} games`):this.isFavoritesView?this.i18n.t("gamelist","Favorite games"):"vendor"in e?this.i18n.t("gamelist","{vendor} games",{vendor:this.curVendor.name}):void 0}},watch:{async $route(e,t){this.setRouteParams({...e.params,routeName:e.name}),this.setSearchQuery(""),this.filter(),this.isLogged||this.fetchMetaData(e.path)},sortType(e,t){t&&t!==e&&this.filter()},metaData(){this.changeSeoElements()},hasFavorites(){if(this.favoritesView&&!this.hasFavorites){var e,t;const n=null===(e=this.$store.state.games)||void 0===e||null===(t=e.modal)||void 0===t?void 0:t.visibility;this.$router.go("mob"===this.platform&&n?-2:-1)}},routeTitle(){if("mob"===this.platform){const e=document.querySelector(".js-gamelist-title");e&&(e.textContent=this.routeTitle)}}},async beforeMount(){this.setRouteParams({...this.$route.params,routeName:this.$route.name}),this.setSortType("popularity"),this.loading||(this.fetch().then((()=>{this.filter()})),this.isLogged&&this.query.length<2&&this.fetchLastPlayedGames()),this.ingameBanner||await this.fetchIngameBanner()},methods:{...o("games/list",["fetch","fetchIngameBanner","filter","setRouteParams","fetchLastPlayedGames","setSortType","addScrollingGame","incrementVisibleCount","setSearchQuery"]),changeSeoElements(){this.metaData.title&&(document.querySelector("title").text=this.metaData.title),this.metaData.keywords&&this.updateOrCreateMetaElement("keywords",this.metaData.keywords),this.metaData.description&&this.updateOrCreateMetaElement("description",this.metaData.description),this.metaData.seo?$(".js-footer-seo").removeClass("hidden").html(this.metaData.seo):$(".js-footer-seo").addClass("hidden"),$.fn.shortenByHr&&$(".footer-seo").shortenByHr()},showMore(){const e=this.filterResult.length;if(this.visibleCount>=e)return!1;this.filterResult.slice(this.visibleCount,this.visibleCount+this.pagination).forEach((e=>{this.addScrollingGame(e)})),this.incrementVisibleCount(this.pagination)},fetchMetaData(e){$.post(window.urlTo("/site/get-meta-data"),{url:e}).then((e=>{this.metaData=e}))},updateSort(e){this.sortBy!==e&&(this.sortBy=e)},updateOrCreateMetaElement(e,t){const n=document.querySelector(`meta[name=${e}]`);if(n)n.content=t;else{const n=document.createElement("meta");n.name=e,n.content=t,document.querySelector("head").appendChild(n)}}}};t.default=a},49091:function(e,t,n){"use strict";var r=n(20629).Se,i=n(20629).rn,o=n(20629).nv;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"ShopItems",components:{ShopItem:()=>n.e(4733).then(n.bind(n,54733)),GameModal:()=>Promise.all([n.e(6607),n.e(6155)]).then(n.bind(n,76155))},props:{items:{type:Array,default:()=>[]},timeDiff:{type:Number,default:0},gameModal:{type:Boolean,default:!0}},data:()=>({shopGame:null,purchaseAppended:!1,childTriggered:!1}),computed:{...r("i18n",["i18n"]),...r("appData",["platform"]),...i("dialog",{dialogShowed:"isShowed",dialogComponent:"component",dialogResult:"result"})},watch:{dialogResult(){if("web"===this.platform)return!1;"success"===this.dialogResult&&"ShopBuyDialog"===this.dialogComponent&&($("#gameModal").modal("hide"),this.toggleModalVisibility(!1))}},methods:{...o("shop",["getPurchasePossibility"]),...o("games/modal",["toggleModalVisibility"]),onChildMounted(){this.childTriggered||(this.childTriggered=!0,this.$emit("items-mounted"))},onDescriptionToggle(){this.$emit("description-toggle")},onGameClick(e){this.shopGame=e,this.toggleModalVisibility(!0)},async onBuyClick(e){this.purchaseAppended||(this.purchaseAppended=!0,await this.getPurchasePossibility(e),this.purchaseAppended=!1,this.toggleModalVisibility(!1))}}};t.default=a},24486:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"ShopNavigation",props:{items:{type:Array,required:!0}},data:()=>({activeSlug:""}),watch:{$route(){if(this.$route.hash)return!1;this.activeSlug=this.$route.params.slug||this.$route.params.level2,this.$emit("item-changed",this.activeSlug)}},mounted(){this.items.length&&(this.activeSlug=this.$route.params.slug||this.$route.params.level2||this.items[0].slug,this.$emit("item-changed",this.activeSlug))},methods:{getNavigationLink:e=>window.urlTo(`/shop/${e.toLowerCase()}`)}};t.default=n},65695:function(e,t,n){"use strict";var r=n(20629).rn,i=n(20629).Se,o=n(20629).nv,a=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=a(n(46090)),u=a(n(50214)),c=a(n(4962)),l=a(n(9042)),d=a(n(10865)),f={mixins:[s.default],name:"Shop",components:{ShopNavigation:l.default,ShopItems:d.default},data:()=>({activeNavigation:null,timeDiff:0,showAboutDialogTitle:!0}),computed:{...r("shop",["loading","items","categories","lastFetchTime","purchaseResult","isSelected"]),...r("dialog",{dialogShowed:"isShowed",dialogComponent:"component",dialogResult:"result"}),...i("appData",["platform"]),...i("i18n",["i18n"]),containerClass(){return[this.loading?"is-loading":"","web"===this.platform?"is-web":"is-mob"]},filteredItems(){if(!this.items)return null;let e=this.items;return this.activeNavigation&&(e=this.items.filter((e=>e.category===this.activeNavigation))),e.sort(((e,t)=>e.priority-t.priority))}},beforeCreate(){window.VuexModules.shop||(this.$store.registerModule("shop",u.default),window.VuexModules.shop=!0),window.VuexModules.dialog||(this.$store.registerModule("dialog",c.default),window.VuexModules.dialog=!0)},watch:{dialogResult(){"success"===this.dialogResult&&"ShopBuyDialog"===this.dialogComponent&&this.fetchItems()},purchaseResult(){this.purchaseResult&&this.fetchItems()},filteredItems(){this.timeDiff=Math.floor(((new Date).getTime()-this.lastFetchTime)/1e3)}},mounted(){this.fetchItems(),this.fetchCategories()},methods:{...o("shop",["fetchItems","fetchCategories","setSelectedItem"]),...o("dialog",["showDialog"]),onNavigationItemChanged(e){this.activeNavigation=e,this.isSelected&&this.setSelectedItem(!1)},showDescription(){this.showDialog({component:"ShopDescriptionDialog",title:this.showAboutDialogTitle?this.i18n.t("shop","Shop description"):null,canClose:!0})}}};t.default=f},30140:function(e,t,n){"use strict";var r=n(95318)(n(82615));const i=window.urlTo().replace("/",""),o=[{path:`${i.length?`/${i}`:""}/shop/:slug?`,component:r.default}];e.exports=o},23449:function(e,t,n){"use strict";var r=n(70538).Z,i=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o={namespaced:!0,modules:{userInfo:i(n(77243)).default},state:{...window.appData,languagesList:{},languagesLoading:!1,documentRequest:null,documentRequestLoading:!1,sliderInitialized:!1,signupFormId:null,minifiedHeader:!1,menuOpened:!1,depositAttention:!1,dailyQuestAttention:!1},getters:{currentLanguage:e=>"language"in e?e.language.value:null,currency:e=>"currency"in e?e.currency.presentation:null,currencyCode:e=>"currency"in e?e.currency.code:null,platform:e=>"device"in e?e.device.platform:null,deviceOs:e=>"device"in e?e.device.os:null,promocodeAvailable:e=>e.user&&"promocodeAvailable"in e.user?e.user.promocodeAvailable:null,isLogged:e=>!(!e.user||!("id"in e.user)),dataConfirmRequisites:e=>e.features&&"dataConfirmRequisites"in e.features?e.features.dataConfirmRequisites:null,tournamentsFeature:e=>e.features&&"tournaments"in e.features?e.features.tournaments:null,disabledWithdrawalFeature:e=>{const t=e.features;return!(!t||!("billing"in t))&&t.billing.disableWithdrawalForSuspendedUsers},specialGames:e=>e.features&&"specialGames"in e.features?e.features.specialGames:[],recommendedCount:e=>e.user&&"id"in e.user?e.recommendedCount:null,achievementsEnabled:e=>!(!e.features||!("achievements"in e.features))&&e.features.achievements,depositPageUrl:e=>t=>{var n,r;const i="string"==typeof t?t:(null==t?void 0:t.source)||"",o=(null==t?void 0:t.recommendAmount)||"",a={};i&&(a.source=i),o&&(a.recommendAmount=o),(null===(n=e.fpFields)||void 0===n||null===(r=n.deposit)||void 0===r?void 0:r.s2pv3)&&window.ufp&&(a.ufp=window.ufp);const s=new URLSearchParams(a).toString();return window.urlTo("/payment/deposit-page"+(s?"?"+s:""))},notifications:e=>(null==e?void 0:e.notifications)||[],bonusMotivation:e=>e.features&&"bonusMotivation"in e.features?e.features.bonusMotivation:null,personalConfirmRequisites:e=>{var t;return(null==e||null===(t=e.features)||void 0===t?void 0:t.personalConfirmRequisites)||null},currencyPosition:e=>{var t;return 1===(null===(t=e.currency)||void 0===t?void 0:t.position)?"postfix":"prefix"}},mutations:{updateUserModel(e,t){r.set(e,"user",t)},setUserBalance(e,t){r.set(e.user,"wallet",t),window.appData.user.wallet=t},setUserCashback(e,t){r.set(e.user,"cashBack",t),window.appData.user.cashBack=t.cashBack},setDocumentRequest(e,t){e.documentRequest=t},setDocumentRequestLoading(e,t){e.documentRequestLoading=t},setLanguages(e,t){e.languagesList=t},setLanguagesLoading(e,t){e.languagesLoading=t},updateUser(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(e.user,n)&&(e.user[n]=t[n])},setSliderInitFlag(e,t){e.sliderInitialized=t},setLoyaltyPoints(e,t){e.user&&e.user.loyaltyStatus&&(e.user.loyaltyStatus.points=t)},setLoyaltyStatusAvatar(e,t){e.user.loyaltyStatus.avatar=t},setSignupFormId(e,t){e.signupFormId=t},setMinifiedHeader(e,t){e.minifiedHeader=t},setMenuOpenedValue(e,t){e.menuOpened=t},setDepositAttention(e,t){e.depositAttention=t},setDailyQuestAttention(e,t){e.dailyQuestAttention=t},setVerificationLimit(e,t){e.internalVerification.limit=t}},actions:{updateUserBalance({commit:e},t){Object.keys(t).length>0&&e("setUserBalance",t)},updateUserCashback({commit:e},t){Object.keys(t).length>0&&e("setUserCashback",t.cashBack)},getDocumentRequestDetails({state:e,commit:t}){e.user&&!e.documentRequestLoading&&(t("setDocumentRequestLoading",!0),$.get({url:window.urlTo("/rest/document-request/details"),success:e=>{t("setDocumentRequest",e),Array.isArray(e)||t("setDocumentRequestLoading",!1)}}))},loadLanguages({commit:e,state:t}){t.languagesLoading||(e("setLanguagesLoading",!0),$.get({url:window.urlTo("/rest/settings/languages"),success:t=>{e("setLanguages",t),e("setLanguagesLoading",!1)}}))},updateUser({commit:e},t){e("updateUser",t)},setUserModel({commit:e},t){e("updateUserModel",t)},toggleSliderFlag({commit:e},t){e("setSliderInitFlag",t)},updateLoyaltyPoints({commit:e},t){e("setLoyaltyPoints",t)},setSignupFormId({commit:e},t){e("setSignupFormId",t)},setMinifiedHeader({commit:e},t){e("setMinifiedHeader",t)},toggleMenuOpened({commit:e},t){e("setMenuOpenedValue",t)},toggleDepositAttention({commit:e},t){e("setDepositAttention",t)},toggleDailyQuestAttention({commit:e},t){e("setDailyQuestAttention",t)},updateVerificationLimit({commit:e},t){e("setVerificationLimit",t)}}};t.default=o},77243:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(20152)),o=r(n(3340)),a=r(n(87970)),s={namespaced:!0,modules:{location:i.default,phone:o.default,wallet:a.default},state:{profileUpdateAction:window.urlTo("/rest/user/profile-update"),cashBack:null,settings:null},mutations:{setCashBack(e,t){e.cashBack=t},setSettings(e,t){e.settings=t}},getters:{birthday:(e,t,n)=>{if(n.appData.user&&"birthday"in n.appData.user){const e=(n.appData.user.birthday||"0000-00-00").split("-");return{day:e[2],month:e[1],year:e[0]}}return""},birthdayFormatted:(e,t,n)=>n.appData.user&&"birthdayFormatted"in n.appData.user?n.appData.user.birthdayFormatted:"",currentDateFormat(e,t,n){var r;return(null===(r=n.appData)||void 0===r?void 0:r.dateFormat)||""},email:(e,t,n)=>n.appData.user&&"email"in n.appData.user?n.appData.user.email:"",emailConfirmed:(e,t,n)=>!(!n.appData.user||!("emailConfirmed"in n.appData.user))&&!!n.appData.user.emailConfirmed,gender:(e,t,n)=>n.appData.user&&"gender"in n.appData.user&&n.appData.user.gender||"",timezone:(e,t,n)=>{var r;return(null===(r=n.appData.user)||void 0===r?void 0:r.currentTimezone)||!1},allowedTimezones:(e,t,n)=>{var r;return(null===(r=n.appData.user)||void 0===r?void 0:r.allowedTimezones)||{}},id:(e,t,n)=>n.appData.user&&"id"in n.appData.user?n.appData.user.id:"",location:(e,t,n)=>n.appData.user&&"location"in n.appData.user?n.appData.user.location:"",passwordExists:(e,t,n)=>n.appData.user&&"passwordExists"in n.appData.user?n.appData.user.passwordExists:null,sessionLimit:(e,t,n)=>n.appData.user&&"sessionLimit"in n.appData.user?n.appData.user.sessionLimit:"",username:(e,t,n)=>n.appData.user&&"username"in n.appData.user?n.appData.user.username:"",firstName:(e,t,n)=>n.appData.user&&"firstName"in n.appData.user?n.appData.user.firstName:"",lastName:(e,t,n)=>n.appData.user&&"lastName"in n.appData.user?n.appData.user.lastName:"",wallet:(e,t,n)=>n.appData.user&&"wallet"in n.appData.user?n.appData.user.wallet:"",totalNetDeposit:(e,t,n)=>n.appData.user&&"totalNetDeposit"in n.appData.user?n.appData.user.totalNetDeposit:"",registrationDate:(e,t,n)=>n.appData.user&&"registrationDate"in n.appData.user?n.appData.user.registrationDate:"",registrationDateObj:(e,t,n)=>{if(n.appData.user&&"registrationDateObj"in n.appData.user){return n.appData.user.registrationDateObj.split(" ").join("T")}return""},loyaltyStatus:(e,t,n)=>n.appData.user&&"loyaltyStatus"in n.appData.user?n.appData.user.loyaltyStatus:"",tournamentsAutoAssign:(e,t,n)=>{var r,i,o;return null===(r=n.appData)||void 0===r||null===(i=r.features)||void 0===i||null===(o=i.tournaments)||void 0===o?void 0:o.autoAssign},showUserBattleContribution:(e,t,n)=>{var r,i,o;return null===(r=n.appData)||void 0===r||null===(i=r.features)||void 0===i||null===(o=i.tournaments)||void 0===o?void 0:o.showUserContribution},suspendedUser:(e,t,n)=>!(!n.appData.user||!("suspended"in n.appData.user))&&n.appData.user.suspended,gamingStatisticsTimer:(e,t,n)=>{var r,i,o;return(null===(r=n.appData)||void 0===r?void 0:r.user)&&(null===(i=n.appData)||void 0===i||null===(o=i.user)||void 0===o?void 0:o.gamingStatisticsNotification)},cashBackExpireAt:e=>{var t,n;if(null===(t=e.cashBack)||void 0===t||null===(n=t.manualReceiving)||void 0===n?void 0:n.expiredAt){const t=e.cashBack.manualReceiving.expiredAt.split(" "),[n,r,i]=t[0].split("-"),[o,a,s]=t[1].split(":");return new Date(Date.UTC(n,Number(r)-1,i,o,a,s)).toISOString()}return""}},actions:{getCashBack({commit:e}){$.get(window.urlTo("/rest/cashback/get-state")).then((t=>{e("setCashBack",t)}))},applyForCashBack({commit:e}){$.post(window.urlTo("/rest/cashback/receive")).then((t=>{e("setCashBack",t)}))},getSettings({commit:e}){$.post(window.urlTo("/rest/user/profile-settings")).then((t=>{e("setSettings",t)}))},setSettings({commit:e},t){e("setSettings",t)}}};t.default=s},20152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={namespaced:!0,getters:{address:(e,t,n)=>{const r=n.appData.user;return r&&r.location&&"address"in r.location?n.appData.user.location.address:""},city:(e,t,n)=>{const r=n.appData.user;return r&&r.location&&"city"in r.location?n.appData.user.location.city:""},country:(e,t,n)=>{const r=n.appData.user;return r&&r.location&&"country"in r.location?n.appData.user.location.country:""},countryCode:(e,t,n)=>{const r=n.appData.user;return r&&r.location&&"countryCode"in r.location?n.appData.user.location.countryCode:""},zip:(e,t,n)=>{const r=n.appData.user;return r&&r.location&&"zip"in r.location?n.appData.user.location.zip:""}}}},3340:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={namespaced:!0,getters:{code:(e,t,n)=>n.appData.user&&"code"in n.appData.user.phone?n.appData.user.phone.code:"",phoneConfirmed:(e,t,n)=>!(!n.appData.user||!("confirmed"in n.appData.user.phone))&&!!n.appData.user.phone.confirmed,fullPhone:(e,t,n)=>n.appData.user&&"fullPhone"in n.appData.user.phone?n.appData.user.phone.fullPhone:"",number:(e,t,n)=>n.appData.user&&"number"in n.appData.user.phone?n.appData.user.phone.number:"",tokenGenerated:(e,t,n)=>n.appData.user&&"tokenGenerated"in n.appData.user.phone?n.appData.user.phone.tokenGenerated:""}}},87970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={namespaced:!0,getters:{balance:(e,t,n)=>n.appData.user&&"balance"in n.appData.user.wallet?n.appData.user.wallet.balance:"",bonusBalance:(e,t,n)=>n.appData.user&&"bonusBalance"in n.appData.user.wallet?n.appData.user.wallet.bonusBalance:"",bonusRefundSum:(e,t,n)=>n.appData.user&&"bonusRefundSum"in n.appData.user.wallet?n.appData.user.wallet.bonusRefundSum:"",bonusNotRefundSum:(e,t,n)=>n.appData.user&&"bonusNotRefundSum"in n.appData.user.wallet?n.appData.user.wallet.bonusNotRefundSum:"",currency:(e,t,n)=>n.appData.user&&"currency"in n.appData.user.wallet?n.appData.user.wallet.currency:"",formatBalance:(e,t,n)=>n.appData.user&&"formatBalance"in n.appData.user.wallet?n.appData.user.wallet.formatBalance:"",formatBonusBalance:(e,t,n)=>n.appData.user&&"formatBonusBalance"in n.appData.user.wallet?n.appData.user.wallet.formatBonusBalance:"",formatBonusRefundSum:(e,t,n)=>n.appData.user&&"formatBonusRefundSum"in n.appData.user.wallet?n.appData.user.wallet.formatBonusRefundSum:"",formatBonusNotRefundSum:(e,t,n)=>n.appData.user&&"formatBonusNotRefundSum"in n.appData.user.wallet?n.appData.user.wallet.formatBonusNotRefundSum:"",formatWithdrawableBalance:(e,t,n)=>n.appData.user&&"formatWithdrawableBalance"in n.appData.user.wallet?n.appData.user.wallet.formatWithdrawableBalance:"",withdrawableBalance:(e,t,n)=>n.appData.user&&"withdrawableBalance"in n.appData.user.wallet?n.appData.user.wallet.withdrawableBalance:"",formatMoneyBalance:(e,t,n)=>n.appData.user&&"formatMoneyBalance"in n.appData.user.wallet?n.appData.user.wallet.formatMoneyBalance:"",moneyBalance:(e,t,n)=>n.appData.user&&"moneyBalance"in n.appData.user.wallet?n.appData.user.wallet.moneyBalance:""}}},4962:function(e,t,n){"use strict";var r=n(70538).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const i={isShowed:!1,component:"",content:"",title:"",result:null,data:{},dialogClass:"",canClose:!1,onClose:null,actionButton:!1,actionText:"",onActionClick:null};var o={namespaced:!0,state:Object.assign({},i),mutations:{showDialog(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.set(e,n,t[n]);e.isShowed=!0},hideDialog(e){e.isShowed=!1;for(const t in i)Object.prototype.hasOwnProperty.call(i,t)&&r.set(e,t,i[t])},setDialogResult(e,t){e.result=t}},actions:{showDialog({commit:e,dispatch:t},n){e("showDialog","object"==typeof n?n:{component:n}),history.pushState(null,null,null)},hideDialog({commit:e}){e("hideDialog")},setDialogResult({commit:e},t){e("setDialogResult",t)}}};t.default=o},75738:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(61875)),o={namespaced:!0,getters:{i18n:e=>new i.default(window.TRANSLATES)}};t.default=o},29237:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(14162)),o=r(n(75738)),a=r(n(23449)),s=r(n(60810)),u={modules:{i18n:o.default,appData:a.default,modalBus:s.default},state:{formatter:new i.default},getters:{formatter:e=>e.formatter}};t.default=u},60810:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={namespaced:!0,state:{cashdeskIsOpened:!1},mutations:{setCashdeskOpened(e){e.cashdeskIsOpened=!0},setCashdeskClosed(e){e.cashdeskIsOpened=!1}},actions:{onCashdeskOpened({commit:e}){e("setCashdeskOpened")},onCashdeskClosed({commit:e}){e("setCashdeskClosed")}}};t.default=n},50214:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={namespaced:!0,state:{items:null,topItems:null,loading:!1,categories:[],lastFetchTime:0,purchasePossibility:null,purchaseResult:null,isSelected:!1},mutations:{setCategories(e,t){e.categories=t},setItems(e,t){e.items=t},setTopItems(e,t){e.topItems=t},setLoading(e,t){e.loading=t},setLastFetchTime(e,t){e.lastFetchTime=t},setPurchasePossibility(e,t){e.purchasePossibility=t},setPurchaseResult(e,t){e.purchaseResult=t},setSelected(e,t){e.isSelected=t}},getters:{isLoading:e=>e.loading},actions:{async fetchItems({commit:e}){e("setLoading",!0);try{e("setItems",await $.get(window.urlTo("/rest/shop/items"))),e("setLastFetchTime",(new Date).getTime())}catch(e){window.handleError(new Error("Shop fetch items error"),{level:"warning",extra:window.getRequestErrorExtra(e)})}finally{e("setLoading",!1)}},async fetchTopItems({commit:e}){e("setLoading",!0);try{e("setTopItems",await $.get(window.urlTo("/rest/shop/top-items"))),e("setLastFetchTime",(new Date).getTime())}catch(e){window.handleError(new Error("Shop fetch topItems error"),{level:"warning",extra:window.getRequestErrorExtra(e)})}finally{e("setLoading",!1)}},async fetchCategories({commit:e}){e("setLoading",!0);try{e("setCategories",await $.get(window.urlTo("/rest/shop/categories")))}catch(e){window.handleError(new Error("Shop fetch categories error"),{level:"warning",extra:window.getRequestErrorExtra(e)})}finally{e("setLoading",!1)}},async buyItem({commit:e},{id:t,type:n}){let r={};if(t&&n)try{r=await $.post(window.urlTo(`/rest/shop/purchase-for-${n}/${t}`))}catch(e){window.handleError(new Error("Shop purchase error"),{level:"warning",extra:window.getRequestErrorExtra(e)})}return r},async getPurchasePossibility({commit:e},t){let n;try{n=await $.get(window.urlTo(`/rest/shop/purchase-possibility/${t}`))}catch(e){}n&&e("setPurchasePossibility",{[t]:n})},resetPurchasePossibility({commit:e}){e("setPurchasePossibility",null)},updatePurchaseResult({commit:e},t){e("setPurchaseResult",t)},setSelectedItem({commit:e},t){e("setSelected",t)}}};t.default=n},98874:function(){"use strict";window.checkStaticLinkHash=(e,t,n)=>{const r=t.attr("href"),i=r?r.indexOf("#"):-1;if(-1!==i){if("/"===(r.split("#")[0]||"/")){e.preventDefault();let t=r.substring(i);"#Signup"===t&&(t="https://trafffers.com/?go=af03e57cff422b7f5060ad74f33693fb032e3f4a"),"function"==typeof n&&n(t)}}},window.checkLocationHash=e=>{const t=e||document.location.hash,n=$("body").hasClass("user-guest"),r=["modalProfile","modalMessages","modalBonuses","modalLotteries","modalSettings","modalBettingHistory"],i=["modalCash","modalCashOut","modalPayhistory"],o=["modalLogin","modalRegister","modalRecovery","modalNewPassword"];if(!1!==t.indexOf("#")){let e=t.replace("#","");e=e.charAt(0).toUpperCase()+e.slice(1);const a="modal"+e;let s,u="#modal"+e;const c=-1!==$.inArray(a,r),l=-1!==$.inArray(a,i),d=-1!==$.inArray(a,o);void 0!==modalUrls[a]&&(s=modalUrls[a],c&&(u="#modalProfile"),l&&(u="#modalCash"),c&&n||d&&!n||($(u).modal({remote:s+document.location.search}),$(u).modal("show")))}},window.openModalByStaticLink=e=>{const t=e||"";let n;if(!1!==t.indexOf("#")){const e="modal"+t.replace("#","");let r="#"+e;const i=$(".b-modal").filter(":visible");if(i.length&&i.attr("id")!==e&&i.modal("hide"),"modalSettings"===e&&""===modalUrls.modalSettings)return"string"==typeof window.settingsLink&&$("#profile_settings").load(settingsLink),$(r).modal("show"),!1;if("modalProfile"===e&&(window.profileModalLoaded=!0),null!=$(r).html()&&null!=modalUrls[e])return $(r).modal({remote:modalUrls[e]}),$(r).modal("show"),!1;if(modalUrls.modalBonuses)return n="modalProfile"===e?modalUrls.modalProfile+"profile":modalUrls.modalProfile+modalUrls[e],r="#modalProfile",$(r).modal({remote:n}),$(r).modal("show"),!1}}},79452:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.goToMessage=t.alerts=t.getScrollBarWidth=void 0;t.getScrollBarWidth=()=>window.innerWidth-document.body.clientWidth;t.alerts=e=>{const t=$.extend({container:null,close:".js-alert-close",show:"b-alert--show",timeHide:3},e);$(t.container).each((function(){const e=$(this),n=function(){e.addClass("closing").animate({top:-100},100,(function(){e.removeClass("closing").removeClass(t.show)}))};if(!e.hasClass(t.show)&&!e.hasClass("closing")){e.addClass(t.show).animate({top:100},250,(function(){}));const r=setTimeout((function(){n()}),1e3*t.timeHide);$(t.close,e).on("click",(function(){clearTimeout(r),n()}))}}))};t.goToMessage=function(e){if(window.location.pathname==e.url){var t=Math.floor(100*Math.random());window.location.href=e.url+"?rand="+t+"#message"}else window.location.href=e.url+"#message"}},98224:function(e,t,n){"use strict";n(98874);var r=n(79452);function i(e){e||$(document).scrollTop()<$(window).height()?$("#buttonScrollTop").fadeOut():$("#buttonScrollTop").fadeIn()}function o(e){e.is(":checked")?e.parents("label").addClass("checked"):e.parents("label").removeClass("checked")}window.declOfNum=function(e,t){switch(e=parseInt(e),t.length){case 2:return t[1===e?0:1];case 3:return t[e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2]}},window.goToMessage=function(e){if(window.location.pathname==e.url){const t=Math.floor(100*Math.random());window.location.href=`${e.url}?rand=${t}#message`}else window.location.href=`${e.url}#message`},window.setJsStyleInput=function(){$(".js-select").length&&$(".js-select").styler(),$(".js-input").length&&($(".js-input").styler(),$("input:radio, input:checkbox").each((function(){const e=$(this);o($(this)),$("input:radio, input:checkbox").change((function(){o(e)}))})))},window.format=function(e){return parseFloat(e).toFixed(2).replace(".",",").replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$& ").replace(/\,?0+$/,"")},window.onFirstDepositEvent=function(){$("[class*=promo-bonus]").remove()},window.setLowCash=function(){"undefined"==typeof faded&&(faded=!1),$(".js-lowcash-trigger").addClass("cash-is-low"),faded&&($(".js-lowcash-trigger").addClass("js-fadein"),setTimeout((function(){$(".js-lowcash-trigger").addClass("cash-is-low-triggered")}),300))},window.updateJackpotSum=function(e){if("function"==typeof window.getPreparedSum&&$(".js-jackpot-holder").length){const t=window.getPreparedSum(e,!1);$(".js-jackpot-holder").text(t)}},window.showHappySpinPopup=function(e){const t=window.urlTo("/happy-spin/get-wheel");t&&$("#modalHappySpin").attr("data-wheel-id",e).modal({remote:`${t}?id=${e}`})},window.showCashdeskInBetting=function(){document.querySelector("#betting.betting-page")&&(window.paymentSourceCookie.set("betting_money_end"),openModalByStaticLink("#Cash"))},window.updateDateSelect=function(e,t,n,r){const i=$(document).find(t),o=$(document).find(n),a=$(document).find(r),s=parseInt(o.val()),u=parseInt(a.val());let c=parseInt(i.val()),l=31;(s||u)&&(l=window.getDaysInMonth(s,u)),c>l&&(c=l),i.val()&&i.find("option[value=0]").removeAttr("selected"),i.find("option:not([value=0])").remove();const d=[];for(let e=1;e<=l;e++)d.push($('"));i.append(d)},window.getDaysInMonth=function(e,t){return t=t?parseInt(t):(new Date).getFullYear(),e=e?parseInt(e):(new Date).getMonth()+1,new Date(t,e,0).getDate()},window.updateUserBalance=function(e){const t=e.formatBalance,n=e.formatBonusBalance,r=e.formatWithdrawableBalance,i=$(document).find(".js-user-balance"),o=$(document).find(".js-user-bonus-balance"),a=$(document).find(".js-user-withdrawable-balance");i.each((function(){$(this).html(t)})),o.each((function(){$(this).html(n)})),a.each((function(){$(this).html(r)}))},window.showAlert=function(e,t){arguments.length?$(".toast").trigger("pushNotification",{text:e,delay:3e3,type:t}):$.ajax({dataType:"json",url:alertMessageUrl,success:function(e){e&&$(".toast").trigger("pushNotification",{text:e.message,delay:3e3})}})},$.fn.shortenByHr=function(){const e=this;$(document).off("click touched",".seo-read-more"),e.attr("style","").removeClass("restored").find(".seo-read-more").remove();const t=e.find("hr");if(t.length){const n=''+window.seoText.readMore+"",r=''+window.seoText.readLess+"";t.prev().append(n),e.find(":last").append(r);const i=t.position().top,o=e.height();e.height(i),$(document).on("click touched",".seo-read-more",(function(){e.height(e.hasClass("restored")?i:o),e.toggleClass("restored")}))}},window.startCountdownWidget=function(e,t){window.CountDown&&CountDown({container:".js-countdown-"+e,endDate:t})},$((function(){let e,t,n=!1;$(".b-iframe").on({mouseenter:function(){$(".b-fading-overlay").addClass("display-overlay"),e=setTimeout((function(){n=!0}),7e3)},mouseleave:function(){$(".b-fading-overlay").removeClass("display-overlay"),clearTimeout(e),n=!1}}),window.checkLocationHash(),window.setJsStyleInput(),void 0!==window.sec&&function(e,t,n,r){const i=setInterval((function(){t.text(e+" "+window.declOfNum(e,r)),--e<0&&(clearInterval(i),document.getElementById(n).click())}),1e3)}(sec,$(".autoreturn span"),"autoreturn",["second","seconds"]),$("body").hasClass("modal-open")&&!$("body").hasClass("modal-open-noscroll")&&$("body").addClass("modal-open-noscroll"),$(".help-widget").on("click",(function(){return $("#sh_button").trigger("click"),!1})),$(".b-sb-tabs__nav-item").on("click",(function(){const e=$(this).index();return $(this).addClass("active").siblings().removeClass("active"),$(this).parents(".b-sb-tabs").find(".b-sb-tabs__content-item").eq(e).addClass("active").siblings().removeClass("active"),!1})),$("#modalCash").on("hidden.bs.modal",(function(){$(".js-tracking-payment-paytab").trigger("click")})),$(".js-close-top-banner").on("click",(function(e){e.preventDefault();const t=new Date;$(".js-top-banner-panel").fadeOut(),t.setTime(t.getTime()+36e5),Cookies.set("closeTopBanner","0",{expires:t,path:"/"})})),Cookies.get("closeTopBanner")||$(".js-top-banner-panel").show(),$(".js-carousel").jcarousel({wrap:"circular",animation:{duration:400,easing:"swing"}}).jcarouselAutoscroll({interval:4e3,autostart:!0}),$(".js-carousel-pagination").on("jcarouselpagination:active","a",(function(){$(this).addClass("active")})).on("jcarouselpagination:inactive","a",(function(){$(this).removeClass("active")})).on("click",(function(e){e.preventDefault()})).jcarouselPagination({item:function(e){return''}}),$(".js-carousel li:first-child").addClass("active"),$(".js-carousel").on("jcarousel:fullyvisiblein","li",(function(e,t){$(this).parent().find("li").removeClass("active"),$(this).addClass("active")})),$(".js-carousel__prev").jcarouselControl({target:"-=1"}),$(".js-carousel__next").jcarouselControl({target:"+=1"}),$(document).on("click",".js-help-widget",(function(e){e.preventDefault(),$("#sh_button").trigger("click")})),$(document).on("click",".js-check-modal-link",(function(e){window.checkStaticLinkHash(e,$(this),window.openModalByStaticLink)})),$(document).on("shown.bs.modal",".modal, .b-modal",(function(){i(!0)})),$(document).on("hide.bs.modal",".modal, .b-modal",(function(){i()})),$(document).on("hide.bs.modal",".b-modal, .modal",(function(){const e=$(this)[0],t=[];if($(".b-modal, .modal").each((function(){$(this).is(":visible")&&t.push($(this)[0])})),t.length>1&&-1!==t.indexOf(e))return;$("body").removeClass("modal-open-noscroll"),$(".b-static-panel").css("padding-right","");window.location.href.indexOf("#")>0&&history.pushState("",document.title,window.location.pathname)})),$(document).height()>$(window).height()&&(t=(0,r.getScrollBarWidth)()),$(document).on("show.bs.modal",".b-modal, .modal",(function(){$("body").addClass("modal-open-noscroll"),$(document).height()>$(window).height()&&$("body, .b-static-panel").css("padding-right",t)})),$(document).on("click","#buttonScrollTop",(function(){return $("html, body").animate({scrollTop:0},800),!1})),$(document).on("click","#profile-password-form .button",(function(){$(".password-informer").removeClass("is-active")})),$(document).on("focus","#profilepasswordform-password",(function(){$(".password-informer").addClass("is-active")})),$(document).on("openCashbox",(function(){const e=$("#modalCash");e&&modalUrls&&!e.hasClass("in")&&($("#modalCash").on("loaded.bs.modal",(()=>{window.localStorage.getItem("openCashbox")&&window.localStorage.removeItem("openCashbox")})),$(".b-modal.in").modal("hide"),$("#modalCash").modal({remote:modalUrls.modalCash}))})),$(document).on("click","[data-track-action]",(function(){const e=$(this).data("track-label"),t=$(this).data("track-action"),n=$(this).data("track-category"),r=$(this).data("track-value");$.ajax({method:"POST",data:{label:e,action:t,category:n,value:r},url:window.urlTo("/rest/tracking/actions")})})),window.localStorage.getItem("openCashbox")&&$(document).trigger("openCashbox"),$(window).on("scroll ready",(function(){i()})),window.addEventListener("message",(function(e){"gameOpenCashdesk"===e.data&&$('[data-target="#modalCash"]')[0].trigger("click")}))})),$((function(){setJsStyleInput(),function(e){var t=e||document.location.hash,n=$("body").hasClass("user-guest"),r=["modalProfile","modalMessages","modalBonuses","modalLotteries","modalSettings"],i=["modalCash","modalCashOut","modalPayhistory"],o=["modalLogin","modalRegister","modalRecovery","modalNewPassword"];if(!1!==t.indexOf("#")){var a,s=t.replace("#",""),u="modal"+(s=s.charAt(0).toUpperCase()+s.slice(1)),c="#modal"+s,l=-1!==$.inArray(u,r),d=-1!==$.inArray(u,i),f=-1!==$.inArray(u,o);void 0!==modalUrls[u]&&(a=modalUrls[u],l&&(c="#modalProfile"),d&&(c="#modalCash"),l&&n||f&&!n||($(c).modal({remote:a+document.location.search}),$(c).modal("show")))}}(),$("body").hasClass("modal-open")&&!$("body").hasClass("modal-open-noscroll")&&$("body").addClass("modal-open-noscroll"),$(document).on("hide.bs.modal",".b-modal, .modal",(function(){var e=$(this)[0],t=[];($(".b-modal, .modal").each((function(){$(this).is(":visible")&&t.push($(this)[0])})),t.length>1&&-1!==t.indexOf(e))||($("body").removeClass("modal-open-noscroll"),$(".js-static-panel").css("margin-left",""),window.location.href.indexOf("#")>0&&history.pushState("",document.title,window.location.pathname))})),$(".js-close-top-banner").on("click",(function(e){e.preventDefault();var t=new Date;$(".js-top-banner-panel").fadeOut(),t.setTime(t.getTime()+36e5),Cookies.set("closeTopBanner","0",{expires:t,path:"/"})})),Cookies.get("closeTopBanner")||$(".js-top-banner-panel").show(),$((function(){var e;$(".b-iframe").on({mouseenter:function(){$(".b-fading-overlay").addClass("display-overlay"),$(".b-page-game").addClass("display-overlay"),e=setTimeout((function(){!0}),7e3)},mouseleave:function(){$(".b-fading-overlay").removeClass("display-overlay"),$(".b-page-game").removeClass("display-overlay"),clearTimeout(e),!1}})})),$(".help-widget").on("click",(function(){return $("#sh_button").trigger("click"),!1})),$(".b-sb-tabs__nav-item").on("click",(function(){var e=$(this).index();return $(this).addClass("active").siblings().removeClass("active"),$(this).parents(".b-sb-tabs").find(".b-sb-tabs__content-item").eq(e).addClass("active").siblings().removeClass("active"),!1})),$(".jackpot-holder-value")&&($(".jackpot-holder-value").text($(".b-jp__count").text()),$(".jackpot-holder-value").removeClass("hidden")),$(".loyalty-item").on("click",(function(){$(this).hasClass("toggled")?$(this).removeClass("toggled"):($(".loyalty-item").removeClass("toggled"),$(this).addClass("toggled"))})),$(".loyalty-rules").on("click",(function(e){e.stopPropagation()})),$(document).on("change","#lt-show-more-ticks-p",(function(){$(".lt-show-more-ticks-p").text("Показать больше билетов"==$(".lt-show-more-ticks-p").text()?"Скрыть остальные билеты":"Показать больше билетов")})),function(){var e=$("body").hasClass("user-guest"),t=$("body").hasClass("page-bonus"),n=$("body").hasClass("page-lottery");if(e&&!t&&!n)$.get(window.urlTo("/rest/tournaments"),{process:0},(function(e){if(!e.length)return!1;e.forEach((function(e){e.games.forEach((function(e){$(document).find(".js-slot[data-id="+e.id+"]").addClass("slot--tournament")}))}))}))}(),$(".js-carousel").jcarousel({wrap:"circular",animation:{duration:400,easing:"swing"}}).jcarouselAutoscroll({interval:4e3,autostart:!0}),$(".js-carousel-pagination").on("jcarouselpagination:active","a",(function(){$(this).addClass("active")})).on("jcarouselpagination:inactive","a",(function(){$(this).removeClass("active")})).on("click",(function(e){e.preventDefault()})).jcarouselPagination({item:function(e){return''}}),$(".js-carousel li:first-child").addClass("active"),$(".js-carousel").on("jcarousel:fullyvisiblein","li",(function(e,t){$(this).parent().find("li").removeClass("active"),$(this).addClass("active")})),$(".js-carousel__prev").jcarouselControl({target:"-=1"}),$(".js-carousel__next").jcarouselControl({target:"+=1"}),$(".b-foot-carousel").jcarouselAutoscroll("stop")})),$(document).on("click",".js-showdesc",(function(e){$(this).parents(".bonus-item").next().toggleClass("isshown");var t=$(this).text();$(this).text("Правила и условия"==t?"Свернуть":"Правила и условия")})),window.toggleFavorite=function(e,t){if(!$(t).data("processing")){$(t).data("processing",!0);var n=$(t).hasClass("active"),r=window.urlTo("/rest/games/"+e+"/favorite");$.ajax({method:n?"DELETE":"POST",url:r,success:function(e){1==e.result&&($(t).toggleClass("active"),$(t).find(".svg-icon").toggleClass("active"),$(t).data("processing",!1))}})}},window.format=function(e){return parseFloat(e).toFixed(2).replace(".",",").replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$& ").replace(/\,?0+$/,"")},window.setLowCash=function(){"undefined"==typeof faded&&(faded=!1),$(".js-lowcash-trigger").addClass("cash-is-low"),faded&&($(".js-lowcash-trigger").addClass("js-fadein"),setTimeout((function(){$(".js-lowcash-trigger").addClass("cash-is-low-triggered")}),300))},window.updateJackpotSum=function(e){if("function"==typeof window.getPreparedSum&&$(".js-jackpot-holder").length){var t=window.getPreparedSum(e,!1);$(".js-jackpot-holder").text(t)}},window.showHappySpinPopup=function(e){var t=window.urlTo("/happy-spin/get-wheel");t&&$("#modalHappySpin").attr("data-wheel-id",e).modal({remote:t+"?id="+e})},window.isCashboxOpened=function(){return document.querySelector("#modalCash").classList.contains("in")},$(document).on("click","#profile-password-form .button",(function(){$(".password-informer").removeClass("is-active")})),$(document).on("focus","#profilepasswordform-password",(function(){$(".password-informer").addClass("is-active")})),$(document).on("click",".js-help-widget",(function(e){e.preventDefault(),$("#sh_button").trigger("click")})),$(document).on("beforeSubmit","#confirm-email-form",(function(e){var t=$(this),n=t.find('button[type="submit"]');return n.hasClass("is-processing")||(n.addClass("is-processing"),$.ajax(t.attr("action"),{method:t.attr("method"),data:t.serialize(),async:!0,success:function(e){void 0===e.result?t.yiiActiveForm("updateMessages",e,!1):("function"==typeof window.showAlert&&window.showAlert(e.message),$(document).trigger("emailSaved"),$(".confirm-email-input input").prop("readonly",!0),$(".email-info").text(e.message),$(".confirm-email-button, .confirm-email-second-input").hide())},error:function(e){window.errorHandler(e)},complete:function(){n.removeClass("is-processing")}})),!1})),$(document).on("click","[data-base-modal]",(function(e){e.preventDefault();var t=e.currentTarget.dataset.params;try{t=JSON.parse(t),window.$_store.dispatch("baseModal/showModal",{template:t.template,params:t})}catch(e){window.handleError(e)}return!1}))},71821:function(e,t,n){"use strict";var r=n(78345).Z,i=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n(80688));var a=new r({mode:"history",routes:[...i(n(30140)).default,...o.default]});t.default=a},80688:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(n(99742));const o=window.urlTo().replace("/",""),a=o.length?`/${o}`:"";var s=[{path:`${a}/game/favorites`,component:i.default,props:{favoritesView:!0},name:"favorites"},{path:`${a}/game/developer/:vendor?`,component:i.default,props:{vendorsView:!0},name:"vendors"},{path:`${a}/(game)?/:level1?/:level2?`,component:i.default}];t.default=s},49157:function(e,t){"use strict";Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var n={name:"Observer",props:{options:{type:Object,required:!1,default:()=>({})},once:{type:Boolean,default:!1}},data:()=>({observer:null}),mounted(){const e=this.options||{};this.observer=new IntersectionObserver((([e])=>{e&&e.isIntersecting&&(this.$emit("intersect"),this.once&&this.$destroy())}),e),this.observer.observe(this.$el)},destroyed(){this.observer.unobserve(this.$el)}};t.Z=n},39348:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i={mixins:[r(n(81068)).default],props:{pseudogame:{type:Object}},computed:{playButtonAttrs(){return this.isLogged?{href:this.game.gameLink}:{href:this.signupLink,"data-target":"#modalRegister","data-toggle":"modal","data-dismiss":"modal"}},showFavIcon(){return!!this.isLogged&&!("mob"===this.platform&&!this.isGameFavorite(this.game.id))}},watch:{pseudogame(){if("mob"===this.platform&&"recommended"===this.group&&this.pseudogame){const{event:e,game:t}=this.pseudogame;this.generateModal(e,t),this.$emit("remove-pseudogame")}}}};t.Z=i},67032:function(e,t,n){"use strict";var r=n(20629).Se,i=n(20629).rn,o=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var a=o(n(24447)),s=o(n(56818)),u=o(n(93079)),c={name:"GamesList",components:{GameItem:a.default,GameBanner:s.default,Observer:u.default},data:()=>({windowWidth:0}),props:{games:{type:Array,required:!0},group:{type:String,default:""},isTournament:{type:Boolean,default:!1},isRace:{type:Boolean,default:!1},banner:{type:Object,default:()=>({})}},computed:{...r("appData",["platform","isLogged"]),...r("i18n",["i18n"]),...i("games/list",["favoriteGames"]),groupClass(){return[this.group?`games-list--${this.group}`:null]},showBanner(){return["/","/game/hall"].includes(this.$route.fullPath)&&this.banner&&!this.group},correctBannerIndex(){return"web"===this.platform?20:"mob"===this.platform?this.windowWidth<420?13:this.windowWidth<768?20:27:-1},header(){return"last"===this.group?this.i18n.t("gamelist","Last played"):"recommended"===this.group?this.i18n.t("gamelist","Recommended"):void 0}},methods:{setWindowWidth(){this.windowWidth=window.innerWidth}},beforeMount(){this.showBanner&&(this.setWindowWidth(),"mob"===this.platform&&window.addEventListener("resize",this.setWindowWidth,{passive:!0}))},beforeDestroy(){"mob"===this.platform&&this.showBanner&&window.removeEventListener("resize",this.setWindowWidth)}};t.Z=c},88662:function(e,t){"use strict";Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var n={name:"IngameBanner",props:{banner:{type:Object,default:null}}};t.Z=n},67002:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i=r(n(29640)),o=r(n(78018)),a=r(n(63616));var s={mixins:[i.default],components:{GamesList:o.default,GamesSort:a.default,GamesRecommended:()=>n.e(9084).then(n.bind(n,69084)),GamesLast:()=>Promise.all([n.e(6607),n.e(8720)]).then(n.bind(n,78720)),GamesNavigation:()=>n.e(7592).then(n.bind(n,7592)),SearchBar:()=>n.e(672).then(n.bind(n,10672)),ShopTopWidget:()=>n.e(8015).then(n.bind(n,58015))}};t.Z=s},56711:function(e,t,n){"use strict";var r=n(20629).Se;Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i={name:"GamesSort",data:()=>({sortTypes:["popularity","name"]}),props:{currentSortType:{type:String,default:"popularity"}},computed:{...r("i18n",["i18n"])}};t.Z=i},10804:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i={mixins:[r(n(65695)).default]};t.Z=i},46413:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i={mixins:[r(n(49091)).default]};t.Z=i},44958:function(e,t,n){"use strict";var r=n(95318);Object.defineProperty(t,"X",{value:!0}),t.Z=void 0;var i={mixins:[r(n(24486)).default]};t.Z=i},66337:function(){!function(e,t){"use strict";if("IntersectionObserver"in e&&"IntersectionObserverEntry"in e&&"intersectionRatio"in e.IntersectionObserverEntry.prototype)"isIntersecting"in e.IntersectionObserverEntry.prototype||Object.defineProperty(e.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var n=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(e){if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]}))},i.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(e,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,a(e,"resize",this._checkForIntersections,!0),a(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),n=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};this._observationTargets.forEach((function(i){var o=i.element,a=s(o),u=this._rootContainsTarget(o),c=i.entry,l=t&&u&&this._computeTargetAndRootIntersection(o,n),d=i.entry=new r({time:e.performance&&performance.now&&performance.now(),target:o,boundingClientRect:a,rootBounds:n,intersectionRect:l});c?t&&u?this._hasCrossedThreshold(c,d)&&this._queuedEntries.push(d):c&&c.isIntersecting&&this._queuedEntries.push(d):this._queuedEntries.push(d)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,r){if("none"!=e.getComputedStyle(n).display){for(var i,o,a,u,l,d,f,p,h=s(n),v=c(n),m=!1;!m;){var g=null,y=1==v.nodeType?e.getComputedStyle(v):{};if("none"==y.display)return;if(v==this.root||v==t?(m=!0,g=r):v!=t.body&&v!=t.documentElement&&"visible"!=y.overflow&&(g=s(v)),g&&(i=g,o=h,a=void 0,u=void 0,l=void 0,d=void 0,f=void 0,p=void 0,a=Math.max(i.top,o.top),u=Math.min(i.bottom,o.bottom),l=Math.max(i.left,o.left),d=Math.min(i.right,o.right),p=u-a,!(h=(f=d-l)>=0&&p>=0&&{top:a,bottom:u,left:l,right:d,width:f,height:p})))break;v=c(v)}return h}},i.prototype._getRootRect=function(){var e;if(this.root)e=s(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map((function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100})),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var i=0;i0&&t-1 in e)}$.fn=$.prototype={jquery:C,constructor:$,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=$.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return $.each(this,e)},map:function(e){return this.pushStack($.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack($.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack($.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|"+L+")"+L+"*"),z=new RegExp(L+"|>"),W=new RegExp(q),G=new RegExp("^"+F+"$"),Z={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+R),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,X=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+L+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){f()},ae=we((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(A=I.call(_.childNodes),_.childNodes),A[_.childNodes.length].nodeType}catch(e){N={apply:A.length?function(e,t){j.apply(e,I.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,i){var o,s,c,l,d,h,g,y=t&&t.ownerDocument,_=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==_&&9!==_&&11!==_)return r;if(!i&&(f(t),t=t||p,v)){if(11!==_&&(d=J.exec(e)))if(o=d[1]){if(9===_){if(!(c=t.getElementById(o)))return r;if(c.id===o)return r.push(c),r}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return r.push(c),r}else{if(d[2])return N.apply(r,t.getElementsByTagName(e)),r;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!m||!m.test(e))&&(1!==_||"object"!==t.nodeName.toLowerCase())){if(g=e,y=t,1===_&&(z.test(e)||V.test(e))){for((y=ee.test(e)&&ge(t.parentNode)||t)===t&&n.scope||((l=t.getAttribute("id"))?l=l.replace(re,ie):t.setAttribute("id",l=w)),s=(h=a(e)).length;s--;)h[s]=(l?"#"+l:":scope")+" "+be(h[s]);g=h.join(",")}try{return N.apply(r,y.querySelectorAll(g)),r}catch(t){k(e,!0)}finally{l===w&&t.removeAttribute("id")}}}return u(e.replace(H,"$1"),t,r,i)}function ue(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ce(e){return e[w]=!0,e}function le(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ve(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))}))}))}function ge(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},o=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:_;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,v=!o(p),_!=p&&(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",oe,!1):i.attachEvent&&i.attachEvent("onunload",oe)),n.scope=le((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=le((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=le((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=le((function(e){return h.appendChild(e).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&v){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&v)return t.getElementsByClassName(e)},g=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(le((function(e){var t;h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+L+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+L+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+L+"*name"+L+"*="+L+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),le((function(e){e.innerHTML="";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+L+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&le((function(e){n.disconnectedMatch=y.call(e,"*"),y.call(e,"[s!='']:x"),g.push("!=",q)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Q.test(h.compareDocumentPosition),b=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==_&&b(_,e)?-1:t==p||t.ownerDocument==_&&b(_,t)?1:l?M(l,e)-M(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==p?-1:t==p?1:i?-1:o?1:l?M(l,e)-M(l,t):0;if(i===o)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==_?-1:s[r]==_?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&v&&!k[t+" "]&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){k(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),b(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var i=r.attrHandle[t.toLowerCase()],o=i&&E.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):void 0;return void 0!==o?o:n.attributes||!v?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},se.escape=function(e){return(e+"").replace(re,ie)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],i=0,o=0;if(d=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(S),d){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return l=null,e},i=se.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:Z,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+L+")"+e+"("+L+"|$)"))&&$(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var i=se.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(B," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,d,f,p,h,v=o!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),y=!u&&!s,b=!1;if(m){if(o){for(;v;){for(f=t;f=f[v];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=v="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(b=(p=(c=(l=(d=(f=m)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1])&&c[2],f=p&&m.childNodes[p];f=++p&&f&&f[v]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){l[e]=[x,p,b];break}}else if(y&&(b=p=(c=(l=(d=(f=t)[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===x&&c[1]),!1===b)for(;(f=++p&&f&&f[v]||(b=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++b||(y&&((l=(d=f[w]||(f[w]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[x,b]),f!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=M(e,o[a])]=!(n[r]=o[a])})):function(e){return i(e,0,n)}):i}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(H,"$1"));return r[w]?ce((function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))})):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||i(t)).indexOf(e)>-1}})),lang:ce((function(e){return G.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ve(!1),disabled:ve(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return X.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;nt?t:n;--r>=0;)e.push(r);return e})),gt:me((function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function xe(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;s-1&&(o[c]=!(a[c]=d))}}else g=xe(g===a?g.splice(h,g.length):g),i?i(null,a,g,u):N.apply(a,g)}))}function $e(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,l=we((function(e){return e===t}),s,!0),d=we((function(e){return M(t,e)>-1}),s,!0),f=[function(e,n,r){var i=!a&&(r||n!==c)||((t=n).nodeType?l(e,n,r):d(e,n,r));return t=null,i}];u1&&_e(f),u>1&&be(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(H,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,l){var d,h,m,g=0,y="0",b=o&&[],w=[],_=c,C=o||i&&r.find.TAG("*",l),$=x+=null==_?1:Math.random()||.1,T=C.length;for(l&&(c=a==p||a||l);y!==T&&null!=(d=C[y]);y++){if(i&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!v);m=e[h++];)if(m(d,a||p,s)){u.push(d);break}l&&(x=$)}n&&((d=!m&&d)&&g--,o&&b.push(d))}if(g+=y,n&&y!==g){for(h=0;m=t[h++];)m(b,w,a,s);if(o){if(g>0)for(;y--;)b[y]||w[y]||(w[y]=D.call(u));w=xe(w)}N.apply(u,w),l&&!o&&w.length>0&&g+t.length>1&&se.uniqueSort(u)}return l&&(x=$,c=_),b};return n?ce(o):o}(o,i)),s.selector=e}return s},u=se.select=function(e,t,n,i){var o,u,c,l,d,f="function"==typeof e&&e,p=!i&&a(e=f.selector||e);if(n=n||[],1===p.length){if((u=p[0]=p[0].slice(0)).length>2&&"ID"===(c=u[0]).type&&9===t.nodeType&&v&&r.relative[u[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(u.shift().value.length)}for(o=Z.needsContext.test(e)?0:u.length;o--&&(c=u[o],!r.relative[l=c.type]);)if((d=r.find[l])&&(i=d(c.matches[0].replace(te,ne),ee.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&be(u)))return N.apply(n,i),n;break}}return(f||s(e,p))(i,t,!v,n,!t||ee.test(e)&&ge(t.parentNode)||t),n},n.sortStable=w.split("").sort(S).join("")===w,n.detectDuplicates=!!d,f(),n.sortDetached=le((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),le((function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&le((function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),le((function(e){return null==e.getAttribute("disabled")}))||de(P,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);$.find=O,$.expr=O.selectors,$.expr[":"]=$.expr.pseudos,$.uniqueSort=$.unique=O.uniqueSort,$.text=O.getText,$.isXMLDoc=O.isXML,$.contains=O.contains,$.escapeSelector=O.escape;var k=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&$(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=$.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?$.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?$.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?$.grep(e,(function(e){return l.call(t,e)>-1!==n})):$.filter(t,e,n)}$.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?$.find.matchesSelector(r,e)?[r]:[]:$.find.matches(e,$.grep(t,(function(e){return 1===e.nodeType})))},$.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack($(e).filter((function(){for(t=0;t1?$.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&E.test(e)?$(e):e||[],!1).length}});var N,I=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;($.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||N,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:I.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof $?t[0]:t,$.merge(this,$.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:b,!0)),D.test(r[1])&&$.isPlainObject(t))for(r in t)g(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e($):$.makeArray(e,this)}).prototype=$.fn,N=$(b);var M=/^(?:parents|prev(?:Until|All))/,P={children:!0,contents:!0,next:!0,prev:!0};function L(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}$.fn.extend({has:function(e){var t=$(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&$.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?$.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?l.call($(e),this[0]):l.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack($.uniqueSort($.merge(this.get(),$(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),$.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return L(e,"nextSibling")},prev:function(e){return L(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),$.merge([],e.childNodes))}},(function(e,t){$.fn[e]=function(n,r){var i=$.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=$.filter(r,i)),this.length>1&&(P[e]||$.uniqueSort(i),M.test(e)&&i.reverse()),this.pushStack(i)}}));var F=/[^\x20\t\r\n\f]+/g;function R(e){return e}function q(e){throw e}function B(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}$.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return $.each(e.match(F)||[],(function(e,n){t[n]=!0})),t}(e):$.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--})),this},has:function(e){return e?$.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},$.extend({Deferred:function(e){var t=[["notify","progress",$.Callbacks("memory"),$.Callbacks("memory"),2],["resolve","done",$.Callbacks("once memory"),$.Callbacks("once memory"),0,"resolved"],["reject","fail",$.Callbacks("once memory"),$.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return i.then(null,e)},pipe:function(){var e=arguments;return $.Deferred((function(n){$.each(t,(function(t,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]]((function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,i){var o=0;function a(e,t,n,i){return function(){var s=this,u=arguments,c=function(){var r,c;if(!(e=o&&(n!==q&&(s=void 0,u=[r]),t.rejectWith(s,u))}};e?l():($.Deferred.getStackHook&&(l.stackTrace=$.Deferred.getStackHook()),r.setTimeout(l))}}return $.Deferred((function(r){t[0][3].add(a(0,r,g(i)?i:R,r.notifyWith)),t[1][3].add(a(0,r,g(e)?e:R)),t[2][3].add(a(0,r,g(n)?n:q))})).promise()},promise:function(e){return null!=e?$.extend(e,i):i}},o={};return $.each(t,(function(e,r){var a=r[2],s=r[5];i[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=a.fireWith})),i.promise(o),e&&e.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=s.call(arguments),o=$.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?s.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(B(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||g(i[n]&&i[n].then)))return o.then();for(;n--;)B(i[n],a(n),o.reject);return o.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;$.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&H.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},$.readyException=function(e){r.setTimeout((function(){throw e}))};var U=$.Deferred();function V(){b.removeEventListener("DOMContentLoaded",V),r.removeEventListener("load",V),$.ready()}$.fn.ready=function(e){return U.then(e).catch((function(e){$.readyException(e)})),this},$.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--$.readyWait:$.isReady)||($.isReady=!0,!0!==e&&--$.readyWait>0||U.resolveWith(b,[$]))}}),$.ready.then=U.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout($.ready):(b.addEventListener("DOMContentLoaded",V),r.addEventListener("load",V));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===x(n))for(s in i=!0,n)z(e,t,s,n[s],!0,o,a);else if(void 0!==r&&(i=!0,g(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call($(e),n)})),t))for(;s1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),$.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,$.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=$.queue(e,t),r=n.length,i=n.shift(),o=$._queueHooks(e,t);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,(function(){$.dequeue(e,t)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:$.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),$.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length\x20\t\r\n\f]*)/i,ye=/^$|^module$|\/(?:java|ecma)script/i;he=b.createDocumentFragment().appendChild(b.createElement("div")),(ve=b.createElement("input")).setAttribute("type","radio"),ve.setAttribute("checked","checked"),ve.setAttribute("name","t"),he.appendChild(ve),m.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="",m.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="",m.option=!!he.lastChild;var be={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function we(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?$.merge([e],n):n}function _e(e,t){for(var n=0,r=e.length;n",""]);var xe=/<|&#?\w+;/;function Ce(e,t,n,r,i){for(var o,a,s,u,c,l,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p-1)i&&i.push(o);else if(c=se(o),a=we(d.appendChild(o),"script"),c&&_e(a),n)for(l=0;o=a[l++];)ye.test(o.type||"")&&n.push(o);return d}var $e=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Oe=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ee(e,t){return e===function(){try{return b.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,i=function(e){return $().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=$.guid++)),e.each((function(){$.event.add(this,t,i,r,n)}))}function De(e,t,n){n?(Q.set(e,t,!1),$.event.add(e,t,{namespace:!1,handler:function(e){var r,i,o=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(o.length)($.event.special[t]||{}).delegateType&&e.stopPropagation();else if(o=s.call(arguments),Q.set(this,t,o),r=n(this,t),this[t](),o!==(i=Q.get(this,t))||r?Q.set(this,t,!1):i={},o!==i)return e.stopImmediatePropagation(),e.preventDefault(),i.value}else o.length&&(Q.set(this,t,{value:$.event.trigger($.extend(o[0],$.Event.prototype),o.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&$.event.add(e,t,ke)}$.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,v,m=Q.get(e);if(X(e))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&$.find.matchesSelector(ae,i),n.guid||(n.guid=$.guid++),(u=m.events)||(u=m.events=Object.create(null)),(a=m.handle)||(a=m.handle=function(t){return void 0!==$&&$.event.triggered!==t.type?$.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(F)||[""]).length;c--;)p=v=(s=Oe.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=$.event.special[p]||{},p=(i?d.delegateType:d.bindType)||p,d=$.event.special[p]||{},l=$.extend({type:p,origType:v,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&$.expr.match.needsContext.test(i),namespace:h.join(".")},o),(f=u[p])||((f=u[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,l):f.push(l),$.event.global[p]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,d,f,p,h,v,m=Q.hasData(e)&&Q.get(e);if(m&&(u=m.events)){for(c=(t=(t||"").match(F)||[""]).length;c--;)if(p=v=(s=Oe.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=$.event.special[p]||{},f=u[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=f.length;o--;)l=f[o],!i&&v!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,d.remove&&d.remove.call(e,l));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,m.handle)||$.removeEvent(e,p,m.handle),delete u[p])}else for(p in u)$.event.remove(e,p+t[c],n,r,!0);$.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=new Array(arguments.length),u=$.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[u.type]||[],l=$.event.special[u.type]||{};for(s[0]=u,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],a={},n=0;n-1:$.find(i,this,null,[c]).length),a[i]&&o.push(r);o.length&&s.push({elem:c,handlers:o})}return c=this,u\s*$/g;function Me(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&$(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Le(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(i in Q.remove(t,"handle events"),s)for(n=0,r=s[i].length;n1&&"string"==typeof h&&!m.checkClone&&Ne.test(h))return e.each((function(i){var o=e.eq(i);v&&(t[0]=h.call(this,i,o.html())),qe(o,t,n,r)}));if(f&&(o=(i=Ce(t,e[0].ownerDocument,!1,e,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(s=(a=$.map(we(i,"script"),Pe)).length;d0&&_e(a,!u&&we(e,"script")),s},cleanData:function(e){for(var t,n,r,i=$.event.special,o=0;void 0!==(n=e[o]);o++)if(X(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)i[r]?$.event.remove(n,r):$.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),$.fn.extend({detach:function(e){return Be(this,e,!0)},remove:function(e){return Be(this,e)},text:function(e){return z(this,(function(e){return void 0===e?$.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return qe(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return qe(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return qe(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&($.cleanData(we(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return $.clone(this,e,t)}))},html:function(e){return z(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!be[(ge.exec(e)||["",""])[1].toLowerCase()]){e=$.htmlPrefilter(e);try{for(;n3,ae.removeChild(e)),s}}))}();var Ze=["Webkit","Moz","ms"],Ye=b.createElement("div").style,Xe={};function Ke(e){var t=$.cssProps[e]||Xe[e];return t||(e in Ye?e:Xe[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ze.length;n--;)if((e=Ze[n]+t)in Ye)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je=/^--/,et={position:"absolute",visibility:"hidden",display:"block"},tt={letterSpacing:"0",fontWeight:"400"};function nt(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function rt(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=$.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=$.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=$.css(e,"border"+oe[a]+"Width",!0,i))):(u+=$.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=$.css(e,"border"+oe[a]+"Width",!0,i):s+=$.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))||0),u}function it(e,t,n){var r=Ue(e),i=(!m.boxSizingReliable()||n)&&"border-box"===$.css(e,"boxSizing",!1,r),o=i,a=We(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(He.test(a)){if(!n)return a;a="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===$.css(e,"display",!1,r))&&e.getClientRects().length&&(i="border-box"===$.css(e,"boxSizing",!1,r),(o=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+rt(e,t,n||(i?"border":"content"),o,r,a)+"px"}function ot(e,t,n,r,i){return new ot.prototype.init(e,t,n,r,i)}$.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=We(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Y(t),u=Je.test(t),c=e.style;if(u||(t=Ke(s)),a=$.cssHooks[t]||$.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:c[t];"string"===(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=le(e,t,i),o="number"),null!=n&&n==n&&("number"!==o||u||(n+=i&&i[3]||($.cssNumber[s]?"":"px")),m.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var i,o,a,s=Y(t);return Je.test(t)||(t=Ke(s)),(a=$.cssHooks[t]||$.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=We(e,t,r)),"normal"===i&&t in tt&&(i=tt[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),$.each(["height","width"],(function(e,t){$.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test($.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?it(e,t,r):Ve(e,et,(function(){return it(e,t,r)}))},set:function(e,n,r){var i,o=Ue(e),a=!m.scrollboxSize()&&"absolute"===o.position,s=(a||r)&&"border-box"===$.css(e,"boxSizing",!1,o),u=r?rt(e,t,r,s,o):0;return s&&a&&(u-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-rt(e,t,"border",!1,o)-.5)),u&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=$.css(e,t)),nt(0,n,u)}}})),$.cssHooks.marginLeft=Ge(m.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(We(e,"marginLeft"))||e.getBoundingClientRect().left-Ve(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),$.each({margin:"",padding:"",border:"Width"},(function(e,t){$.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&($.cssHooks[e+t].set=nt)})),$.fn.extend({css:function(e,t){return z(this,(function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=Ue(e),i=t.length;a1)}}),$.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||$.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||($.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=$.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=$.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){$.fx.step[e.prop]?$.fx.step[e.prop](e):1!==e.elem.nodeType||!$.cssHooks[e.prop]&&null==e.elem.style[Ke(e.prop)]?e.elem[e.prop]=e.now:$.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},$.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},$.fx=ot.prototype.init,$.fx.step={};var at,st,ut=/^(?:toggle|show|hide)$/,ct=/queueHooks$/;function lt(){st&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(lt):r.setTimeout(lt,$.fx.interval),$.fx.tick())}function dt(){return r.setTimeout((function(){at=void 0})),at=Date.now()}function ft(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function pt(e,t,n){for(var r,i=(ht.tweeners[t]||[]).concat(ht.tweeners["*"]),o=0,a=i.length;o1)},removeAttr:function(e){return this.each((function(){$.removeAttr(this,e)}))}}),$.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?$.prop(e,t,n):(1===o&&$.isXMLDoc(e)||(i=$.attrHooks[t.toLowerCase()]||($.expr.match.bool.test(t)?vt:void 0)),void 0!==n?null===n?void $.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=$.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!m.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(F);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),vt={set:function(e,t,n){return!1===t?$.removeAttr(e,n):e.setAttribute(n,n),n}},$.each($.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||$.find.attr;mt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=mt[a],mt[a]=i,i=null!=n(e,t,r)?a:null,mt[a]=o),i}}));var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;function bt(e){return(e.match(F)||[]).join(" ")}function wt(e){return e.getAttribute&&e.getAttribute("class")||""}function _t(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(F)||[]}$.fn.extend({prop:function(e,t){return z(this,$.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[$.propFix[e]||e]}))}}),$.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&$.isXMLDoc(e)||(t=$.propFix[t]||t,i=$.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=$.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||($.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),$.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){$.propFix[this.toLowerCase()]=this})),$.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){$(this).addClass(e.call(this,t,wt(this)))}));if((t=_t(e)).length)for(;n=this[u++];)if(i=wt(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=bt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each((function(t){$(this).removeClass(e.call(this,t,wt(this)))}));if(!arguments.length)return this.attr("class","");if((t=_t(e)).length)for(;n=this[u++];)if(i=wt(n),r=1===n.nodeType&&" "+bt(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=bt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each((function(n){$(this).toggleClass(e.call(this,n,wt(this),t),t)})):this.each((function(){var t,i,o,a;if(r)for(i=0,o=$(this),a=_t(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=wt(this))&&Q.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Q.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(wt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;$.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=g(e),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,$(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=$.map(i,(function(e){return null==e?"":e+""}))),(t=$.valHooks[this.type]||$.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))}))):i?(t=$.valHooks[i.type]||$.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(xt,""):null==n?"":n:void 0}}),$.extend({valHooks:{option:{get:function(e){var t=$.find.attr(e,"value");return null!=t?t:bt($.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),$.each(["radio","checkbox"],(function(){$.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=$.inArray($(e).val(),t)>-1}},m.checkOn||($.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),m.focusin="onfocusin"in r;var Ct=/^(?:focusinfocus|focusoutblur)$/,$t=function(e){e.stopPropagation()};$.extend($.event,{trigger:function(e,t,n,i){var o,a,s,u,c,l,d,f,h=[n||b],v=p.call(e,"type")?e.type:e,m=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Ct.test(v+$.event.triggered)&&(v.indexOf(".")>-1&&(m=v.split("."),v=m.shift(),m.sort()),c=v.indexOf(":")<0&&"on"+v,(e=e[$.expando]?e:new $.Event(v,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=m.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:$.makeArray(t,[e]),d=$.event.special[v]||{},i||!d.trigger||!1!==d.trigger.apply(n,t))){if(!i&&!d.noBubble&&!y(n)){for(u=d.delegateType||v,Ct.test(u+v)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||b)&&h.push(s.defaultView||s.parentWindow||r)}for(o=0;(a=h[o++])&&!e.isPropagationStopped();)f=a,e.type=o>1?u:d.bindType||v,(l=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&l.apply(a,t),(l=c&&a[c])&&l.apply&&X(a)&&(e.result=l.apply(a,t),!1===e.result&&e.preventDefault());return e.type=v,i||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!X(n)||c&&g(n[v])&&!y(n)&&((s=n[c])&&(n[c]=null),$.event.triggered=v,e.isPropagationStopped()&&f.addEventListener(v,$t),n[v](),e.isPropagationStopped()&&f.removeEventListener(v,$t),$.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=$.extend(new $.Event,n,{type:e,isSimulated:!0});$.event.trigger(r,null,t)}}),$.fn.extend({trigger:function(e,t){return this.each((function(){$.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return $.event.trigger(e,t,n,!0)}}),m.focusin||$.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){$.event.simulate(t,e.target,$.event.fix(e))};$.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t);i||r.addEventListener(e,n,!0),Q.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=Q.access(r,t)-1;i?Q.access(r,t,i):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var Tt=r.location,Ot={guid:Date.now()},kt=/\?/;$.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||$.error("Invalid XML: "+e),t};var St=/\[\]$/,Et=/\r?\n/g,At=/^(?:submit|button|image|reset|file)$/i,Dt=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))$.each(t,(function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)}));else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}$.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!$.isPlainObject(e))$.each(e,(function(){i(this.name,this.value)}));else for(n in e)jt(n,e[n],t,i);return r.join("&")},$.fn.extend({serialize:function(){return $.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=$.prop(this,"elements");return e?$.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!$(this).is(":disabled")&&Dt.test(this.nodeName)&&!At.test(e)&&(this.checked||!me.test(e))})).map((function(e,t){var n=$(this).val();return null==n?null:Array.isArray(n)?$.map(n,(function(e){return{name:t.name,value:e.replace(Et,"\r\n")}})):{name:t.name,value:n.replace(Et,"\r\n")}})).get()}});var Nt=/%20/g,It=/#.*$/,Mt=/([?&])_=[^&]*/,Pt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,Ft=/^\/\//,Rt={},qt={},Bt="*/".concat("*"),Ht=b.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(F)||[];if(g(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Vt(e,t,n,r){var i={},o=e===qt;function a(s){var u;return i[s]=!0,$.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||o||i[c]?o?!(u=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=$.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&$.extend(!0,e,r),e}Ht.href=Tt.href,$.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Tt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Tt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":$.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,$.ajaxSettings),t):zt($.ajaxSettings,e)},ajaxPrefilter:Ut(Rt),ajaxTransport:Ut(qt),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,i,o,a,s,u,c,l,d,f,p=$.ajaxSetup({},t),h=p.context||p,v=p.context&&(h.nodeType||h.jquery)?$(h):$.event,m=$.Deferred(),g=$.Callbacks("once memory"),y=p.statusCode||{},w={},_={},x="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Pt.exec(o);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=_[e.toLowerCase()]=_[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)C.always(e[C.status]);else for(t in e)y[t]=[y[t],e[t]];return this},abort:function(e){var t=e||x;return n&&n.abort(t),T(0,t),this}};if(m.promise(C),p.url=((e||p.url||Tt.href)+"").replace(Ft,Tt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(F)||[""],null==p.crossDomain){u=b.createElement("a");try{u.href=p.url,u.href=u.href,p.crossDomain=Ht.protocol+"//"+Ht.host!=u.protocol+"//"+u.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=$.param(p.data,p.traditional)),Vt(Rt,p,t,C),c)return C;for(d in(l=$.event&&p.global)&&0==$.active++&&$.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),i=p.url.replace(It,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Nt,"+")):(f=p.url.slice(i.length),p.data&&(p.processData||"string"==typeof p.data)&&(i+=(kt.test(i)?"&":"?")+p.data,delete p.data),!1===p.cache&&(i=i.replace(Mt,"$1"),f=(kt.test(i)?"&":"?")+"_="+Ot.guid+++f),p.url=i+f),p.ifModified&&($.lastModified[i]&&C.setRequestHeader("If-Modified-Since",$.lastModified[i]),$.etag[i]&&C.setRequestHeader("If-None-Match",$.etag[i])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&C.setRequestHeader("Content-Type",p.contentType),C.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Bt+"; q=0.01":""):p.accepts["*"]),p.headers)C.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,C,p)||c))return C.abort();if(x="abort",g.add(p.complete),C.done(p.success),C.fail(p.error),n=Vt(qt,p,t,C)){if(C.readyState=1,l&&v.trigger("ajaxSend",[C,p]),c)return C;p.async&&p.timeout>0&&(s=r.setTimeout((function(){C.abort("timeout")}),p.timeout));try{c=!1,n.send(w,T)}catch(e){if(c)throw e;T(-1,e)}}else T(-1,"No Transport");function T(e,t,a,u){var d,f,b,w,_,x=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,o=u||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(w=function(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}(p,C,a)),!d&&$.inArray("script",p.dataTypes)>-1&&(p.converters["text script"]=function(){}),w=function(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=c[u+" "+o]||c["* "+o]))for(i in c)if((s=i.split(" "))[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[i]:!0!==c[i]&&(o=s[0],l.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}(p,w,C,d),d?(p.ifModified&&((_=C.getResponseHeader("Last-Modified"))&&($.lastModified[i]=_),(_=C.getResponseHeader("etag"))&&($.etag[i]=_)),204===e||"HEAD"===p.type?x="nocontent":304===e?x="notmodified":(x=w.state,f=w.data,d=!(b=w.error))):(b=x,!e&&x||(x="error",e<0&&(e=0))),C.status=e,C.statusText=(t||x)+"",d?m.resolveWith(h,[f,x,C]):m.rejectWith(h,[C,x,b]),C.statusCode(y),y=void 0,l&&v.trigger(d?"ajaxSuccess":"ajaxError",[C,p,d?f:b]),g.fireWith(h,[C,x]),l&&(v.trigger("ajaxComplete",[C,p]),--$.active||$.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return $.get(e,t,n,"json")},getScript:function(e,t){return $.get(e,void 0,t,"script")}}),$.each(["get","post"],(function(e,t){$[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),$.ajax($.extend({url:e,type:t,dataType:i,data:n,success:r},$.isPlainObject(e)&&e))}})),$.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),$._evalUrl=function(e,t,n){return $.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){$.globalEval(e,t,n)}})},$.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=$(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return g(e)?this.each((function(t){$(this).wrapInner(e.call(this,t))})):this.each((function(){var t=$(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=g(e);return this.each((function(n){$(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){$(this).replaceWith(this.childNodes)})),this}}),$.expr.pseudos.hidden=function(e){return!$.expr.pseudos.visible(e)},$.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},$.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Gt=$.ajaxSettings.xhr();m.cors=!!Gt&&"withCredentials"in Gt,m.ajax=Gt=!!Gt,$.ajaxTransport((function(e){var t,n;if(m.cors||Gt&&!e.crossDomain)return{send:function(i,o){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)s.setRequestHeader(a,i[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Wt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),$.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),$.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return $.globalEval(e),e}}}),$.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),$.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,i){t=$("