{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/utils.ts","webpack:///./src/versions/dawnlives/components/base/Button/enum.ts","webpack:///./src/versions/dawnlives/components/base/Button/index.vue","webpack:///./src/versions/dawnlives/components/base/Button/index.vue?7f32","webpack:///./src/versions/dawnlives/components/base/Button/PriceButton.vue","webpack:///./src/versions/dawnlives/components/base/Button/PriceButton.vue?1ee9","webpack:///./src/versions/dawnlives/components/base/ButtonSquare/index.vue","webpack:///./src/versions/dawnlives/components/base/ButtonSquare/index.vue?910a","webpack:///./src/versions/dawnlives/components/base/Ball/index.vue","webpack:///./src/versions/dawnlives/components/base/Ball/index.vue?331c","webpack:///./src/store/modal/index.ts","webpack:///./src/services/api.ts","webpack:///./src/types.ts","webpack:///./src/services/index.ts","webpack:///./src/store/loading/index.ts","webpack:///./src/hooks/useApi.ts","webpack:///./src/constants/tabs.ts","webpack:///./src/store/game/index.ts","webpack:///./src/hooks/useMilestoneMask.ts","webpack:///./src/store/floatText/index.ts","webpack:///./src/versions/dawnlives/components/FloatText/ClickItem.vue","webpack:///./src/versions/dawnlives/components/FloatText/ClickItem.vue?cea7","webpack:///./src/versions/dawnlives/components/LayerA/MilestoneItem.vue","webpack:///./src/versions/dawnlives/components/LayerA/MilestoneItem.vue?b8a2","webpack:///./src/versions/dawnlives/components/LayerA/Milestone.vue","webpack:///./src/versions/dawnlives/components/LayerA/Milestone.vue?703d","webpack:///./src/hooks/useInterval.ts","webpack:///./src/store/storage/index.ts","webpack:///./src/versions/snowfan/components/base/Button/enum.ts","webpack:///./src/constants/drawTypes.ts","webpack:///./src/versions/dawnlives/components/LayerA/index.vue","webpack:///./src/versions/dawnlives/components/LayerA/index.vue?cecd","webpack:///./src/versions/dawnlives/components/base/Reward/index.vue","webpack:///./src/versions/dawnlives/components/base/Reward/index.vue?8028","webpack:///./src/constants/reward.ts","webpack:///./src/versions/dawnlives/components/LayerB/index.vue","webpack:///./src/versions/dawnlives/components/LayerB/index.vue?ee94","webpack:///./src/versions/dawnlives/views/Home.vue","webpack:///./src/versions/dawnlives/views/Home.vue?e0cf","webpack:///./src/versions/dawnlives/components/ComposeModal/index.vue?739a","webpack:///./src/versions/dawnlives/components/base/Modal/index.vue?ca91","webpack:///./src/versions/dawnlives/components/base/Modal/index.vue","webpack:///./src/versions/dawnlives/components/base/Modal/index.vue?3505","webpack:///./src/versions/dawnlives/components/base/Modal/Title.vue?3b01","webpack:///./src/versions/dawnlives/components/base/Modal/Title.vue","webpack:///./src/versions/dawnlives/components/base/Modal/Title.vue?0c74","webpack:///./src/versions/dawnlives/components/base/Modal/Button.vue","webpack:///./src/versions/dawnlives/components/base/Modal/Button.vue?2c45","webpack:///./src/hooks/useHistory.ts","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalHistory.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalHistory.vue?ad7f","webpack:///./src/hooks/useTab.ts","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalRule.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalRule.vue?42bb","webpack:///./src/versions/dawnlives/components/base/Checkbox/index.vue?713b","webpack:///./src/versions/dawnlives/components/base/Checkbox/index.vue","webpack:///./src/versions/dawnlives/components/base/Checkbox/index.vue?3a96","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalConfirmDraw.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalConfirmDraw.vue?39a5","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalPool.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalPool.vue?8bff","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongrats.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongrats.vue?baba","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalGotMilestone.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalGotMilestone.vue?faa1","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsSummon.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsSummon.vue?d42a","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsOverflow.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsOverflow.vue?edfc","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalError.vue?2b45","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalError.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalError.vue?0c89","webpack:///./src/versions/dawnlives/components/ComposeModal/index.vue","webpack:///./src/versions/dawnlives/components/ComposeModal/index.vue?7794","webpack:///./src/versions/dawnlives/components/FloatText/index.vue","webpack:///./src/versions/dawnlives/components/FloatText/index.vue?8ef8","webpack:///./src/versions/dawnlives/components/EventInfo.vue","webpack:///./src/versions/dawnlives/components/EventInfo.vue?4173","webpack:///./src/versions/dawnlives/components/base/Loading/index.vue?07db","webpack:///./src/versions/dawnlives/components/base/Loading/index.vue","webpack:///./src/versions/dawnlives/components/base/Loading/index.vue?3fbf","webpack:///./src/versions/dawnlives/App.vue","webpack:///./src/versions/dawnlives/App.vue?8146","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalRule.vue?b58f","webpack:///./src/i18n/index.js","webpack:///./src/versions/dawnlives/components/base/Button/index.vue?2e83","webpack:///./src/versions/dawnlives/components/LayerA/Milestone.vue?e2c9","webpack:///./src/i18n/node.js","webpack:///./src/versions/dawnlives/App.vue?2b0c","webpack:///./src/versions/dawnlives/components/base/Button/PriceButton.vue?00f9","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsOverflow.vue?b531","webpack:///./src/versions/dawnlives/components/FloatText/ClickItem.vue?5f08","webpack:///./src/versions/dawnlives/components/base/Reward/index.vue?5c22","webpack:///./src/versions/dawnlives/components/base/Modal/Button.vue?a430","webpack:///./src/versions/dawnlives/views/Home.vue?1879","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongrats.vue?dd16","webpack:///./src/versions/dawnlives/components/EventInfo.vue?29b3","webpack:///./src/versions/dawnlives/components/FloatText/index.vue?d086","webpack:///./src/versions/dawnlives/components/LayerA/MilestoneItem.vue?acde","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalError.vue?6e26","webpack:///./src/versions/dawnlives/components/base/Checkbox/index.vue?0088","webpack:///./src/versions/dawnlives/components/LayerB/index.vue?bc9d","webpack:///./src/versions/dawnlives/components/base/Modal/Title.vue?8144","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalHistory.vue?c764","webpack:///./src/versions/dawnlives/components/base/ButtonSquare/index.vue?bda5","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalPool.vue?c402","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalCongratsSummon.vue?25f9","webpack:///./src/layout.ts","webpack:///./src/main.ts","webpack:///./src/versions/dawnlives/components/base/Loading/index.vue?98d5","webpack:///./src/versions/dawnlives/components/LayerA/index.vue?12c1","webpack:///./src/versions/dawnlives/components/base/Ball/index.vue?213b","webpack:///./src/versions/dawnlives/components/base/Modal/index.vue?9afc","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalConfirmDraw.vue?1cd8","webpack:///./src/versions/dawnlives/components/ComposeModal/ModalGotMilestone.vue?8fe8","webpack:///./src/preloader.ts"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","exports","module","l","m","c","d","name","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","p","jsonpArray","window","oldJsonpFunction","slice","getParam","paramName","url","location","href","replace","regex","RegExp","results","exec","decodeURIComponent","camelizeStr","str","_","x","toUpperCase","snakifyStr","toLowerCase","isSupportProxy","Test","a","this","__state","_state","Proxy","ob1","ob2","state1","getState","state2","convertCase","convertFunc","converter","thing","Array","isArray","map","newObj","keys","forEach","k","delay","ms","Promise","resolve","setTimeout","timeStr","padStart","ButtonType","camelizeKeys","snakifyKeys","twoDigitTime","_hoisted_1","class","props","type","default","withSlot","Boolean","disabled","emits","setup","__props","emit","_ctx","_cache","onClick","$event","FREE","SUMMON","$slots","__exports__","_hoisted_2","_hoisted_3","price","discountPrice","Button","onButton","label","String","isActive","state","modals","drawParams","drawAmount","drawPrice","drawType","congratsParams","rewards","innerDrawChance","overflowPoints","milestoneParams","reward","rewardName","rewardAmount","rewardImg","rewardLevel","congratsSummonParams","jackpot","withJackpotTitle","errorMessage","errorCode","modalName","concat","filter","modal","Error","error","code","showCongratsModal","params","showGotMilestone","useModal","modalState","handleModal","handleError","showConfirmDrawModal","showCongratsSummonModal","currentOverflowPoints","utils","partition","roleId","localStorage","setItem","API","instance","baseURL","headers","xsrfCookieName","xsrfHeaderName","withCredentials","timeout","interceptors","request","use","config","TOKEN","getItem","PARTITION","ROLE_ID","birthPartition","response","reject","ErrorTypesEnum","method","requestType","normalizedParams","put","delete","post","getInfo","api","getHistory","postDraw","postClaim","milestoneId","postExchange","isLoading","updateLoading","status","loadingState","useApi","asyncFunc","scope","setTag","JSON","stringify","ERROR__SERVER_ERROR","ERROR__FRONT_END_ERROR","console","HOME_TABS","uniqueId","endTime","singleDraw","freeDrawType","collectiveDraw","banner","overflowPointReward","pointPerToken","playerConfigs","balance","freeDrawCountdown","nextInnerDrawRequiredToken","point","reachMaxToken","remainRounds","token","milestones","rewardConfigs","claimed","pool","isInballAnimation","activeHomeTab","LAYER_A","cacheChargingResult","points","tokens","playerStatus","round","isInfoReady","setState","services","userConfigs","componentName","gameState","chargingDraw","changeTabView","claimMilestone","summonDraw","endAnimation","updateChargingDrawResult","isMaskShow","isExpand","useMask","handleMaskShow","toggleMilestone","closeAll","maskState","text","showFloatText","top","left","floatTextState","updateFloatState","timer","handleShowName","event","clearTimeout","clientX","clientY","handleHideName","onFocusout","tabindex","_hoisted_4","_hoisted_5","target","prizeInfo","isClaimed","style","backgroundImage","image","$t","innerHTML","useMilestoneMask","displaySingleMilestone","milestoneLength","firstUnClaimedMilestone","find","milestone","lastClaimMilestone","expandMilestone","handleClaim","tokenRequired","id","handleUnExpandClaim","item","MilestoneItem","onMilestone","useInterval","interval","doInterval","callback","setInterval","removeInterval","clearInterval","versionName","eventTitle","skipInfo","tenDraw","thirtyDraw","tutorial","skipKey","storageVersion","parsedStorage","parse","userSkipInfo","removeItem","useStorage","updateSkipInfo","storageState","FREE_DRAW_TYPE","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","__default__","doCountdown","removeCountdown","collectiveDrawTypes","TEN_DRAW","THIRTY_DRAW","apiFreedrawCountdown","isFree","FIRST_DRAW_FREE","FIRST_DRAW_FREE_DAILY","singleDrawInfo","SINGLE","isMaxToken","readableCountdown","hours","Math","floor","mins","secs","animationPoints","renderingPoints","count","wonPoints","isGameover","handleDraw","drawInfo","ERROR__INSUFFICIENT_BALANCE","skipCharginAnimation","Ball","ButtonSquare","Milestone","time","ERROR__CHARGE_DRAW_FULL","PriceButton","drawIndex","drawDiscountPrice","level","amount","LEVEL","1","2","3","4","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","rewardsNums","marqueeDuration","remainingRound","toString","withDrawTimes","unClaimReward","inAnimation","handleSummon","ERROR__NO_VALID_INNER_DRAW","isGameEnd","Reward","drawing","index","times","tabs","LayerA","LayerB","summonChance","ERROR__BROWSER_NOT_SUPPORT","ERROR__OUT_GAME","history","replaceState","document","title","tab","tabIndex","LAYER_B","render","$props","$setup","$data","$options","closeIcon","$emit","undefined","useHistory","historyList","format","Modal","Title","useTab","activeTabIdx","onTabClick","tabIdx","TAB","onCloseRule","onClose","outer","TUTORIAL","pagination","renderCustom","swiper","current","total","navigation","checkboxId","onInput","for","isSkip","handleSkip","checked","drawPrize","drawTypeMap","cost","Checkbox","onCheckbox","rewardPool","wonSummonChance","accumlatedSummonChance","withSummonChance","computedTitle","chance","goSummon","remainingRounds","handleClose","nums","prize","_component_Title","_component_Button","_component_Modal","isClosable","nonCloseList","components","includes","ModalCongrats","ModalHistory","ModalRule","ModalConfirmDraw","ModalPool","ModalGotMilestone","ModalCongratsSummon","ModalCongratsOverflow","ModalError","isAdjustPosition","floatText","newVal","clientWidth","body","ref","_value","_refs","eventEndTime","i18n","loadLocale","Home","EventInfo","FloatText","Loading","langMap","process","regionPostfix","loadedLocales","fetchMessage","locale","fetch","res","json","warn","messages","useI18n","setLocaleMessage","setLocale","newLocale","message","createI18n","legacy","fallbackLocale","globalInjection","setRootFontSize","designSafeWidth","designSafeHeight","vmax","max","innerHeight","innerWidth","vmin","min","vmaxToFontSize","vminToFontSize","fontSize","elem","documentElement","height","width","resetTimer","resetRootFontSize","addEventListener","App","app","mount","Sentry","init","dsn","tracesSampleRate","logErrors","trackComponents","images","Image","src"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC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yCAwBpB,sDAxBoB,wCAyBpB,sDAzBoB,wCA0BpB,sDA1BoB,yCA2BpB,sDA3BoB,2BA4BpB,sDA5BoB,oCA+BzBA,EAAOrc,SAAQ,SAACyM,IACd,IAAI6P,OAAQC,IAAM9P,M","file":"assets/js/app.818916f8.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","function getParam(paramName: string, url: string = window.location.href) {\n const name = paramName.replace(/[[]]/g, '\\\\$&');\n const regex = new RegExp(`[?&]${name}(=([^&#]*)|&|#|$)`);\n const results = regex.exec(url);\n if (!results) return null;\n if (!results[2]) return '';\n return decodeURIComponent(results[2].replace(/\\+/g, ' '));\n}\n\nfunction camelizeStr(str: string): string {\n return str.replace(/[_.-](\\w|$)/g, (_, x) => x.toUpperCase());\n}\n\nfunction snakifyStr(str: string): string {\n return str.replace(/(?:^|\\.?)([A-Z])/g, (_, x) => `_${x.toLowerCase()}`);\n}\n\nfunction isSupportProxy() {\n class Test {\n readonly __state: { a?: number } = {};\n readonly _state: { a?: number } = {};\n\n constructor(a: number) {\n this.__state = { a };\n\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy\n this._state = new Proxy(this.__state, {});\n }\n\n getState() {\n return { ...this._state };\n }\n }\n\n const ob1 = new Test(0);\n const ob2 = new Test(0);\n\n // get a copy of the state for both objects; the state should be identical\n // note that e.g. `const state2 = { ...ob1._state };` appears to function as expected\n const state1 = ob1.getState();\n const state2 = ob2.getState();\n\n // expected is `{ a: 0 }` for both\n // however, the second is `{}` if the browser doesn't support proxy well!\n return state1.a === 0 && state2.a === 0;\n}\n\ntype ConvertFunc = (k: string) => string;\nexport type AnyJson = boolean | number | string | null | JsonArray | JsonMap;\ninterface JsonMap {\n [key: string]: AnyJson;\n}\ntype JsonArray = Array;\n\nfunction convertCase(convertFunc: ConvertFunc) {\n function converter(thing: AnyJson): AnyJson {\n if (Array.isArray(thing)) {\n return thing.map((i) => converter(i));\n }\n if (thing !== null && typeof thing === 'object') {\n const newObj: JsonMap = {};\n Object.keys(thing).forEach((k: string) => {\n newObj[convertFunc(k)] = converter(thing[k]);\n });\n return newObj;\n }\n return thing;\n }\n return converter;\n}\n\nfunction delay(ms: number) {\n return new Promise((resolve) => setTimeout(resolve, ms));\n}\nfunction twoDigitTime(timeStr: string) {\n return timeStr.padStart(2, '0');\n}\n\nexport default {\n getParam,\n camelizeStr,\n snakifyStr,\n delay,\n camelizeKeys: convertCase(camelizeStr),\n snakifyKeys: convertCase(snakifyStr),\n twoDigitTime,\n isSupportProxy,\n};\n","export enum ButtonType {\n FREE = 'free',\n SINGLE = 'single-draw',\n TEN_DRAW = 'ten-draw',\n THIRTY_DRAW = 'thirty-draw',\n SUMMON = 'summon',\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-253b1d0e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"animation\"\n}\n\nimport { withDefaults, toRefs } from 'vue';\nimport { ButtonType } from './enum';\ninterface Props {\n type: string;\n withSlot?: boolean;\n disabled?: boolean;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n type: { default: 'free' },\n withSlot: { type: Boolean, default: true },\n disabled: { type: Boolean, default: false }\n },\n emits: ['button'],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props as { type: string, withSlot: boolean, disabled: boolean }\n\n\nconst { type } = toRefs(props);\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass([\n 'button',\n `button--${_unref(type)}`,\n { 'no-slot': !__props.withSlot },\n { disabled: __props.disabled },\n ]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emits('button')))\n }, [\n (\n !__props.disabled && (_unref(type) === _unref(ButtonType).FREE || _unref(type) === _unref(ButtonType).SUMMON)\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"default\")\n ], 2))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=253b1d0e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-253b1d0e\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7b706148\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"cp\" }\nconst _hoisted_2 = { class: \"with-discount\" }\nconst _hoisted_3 = /*#__PURE__*/_createTextVNode(\" Free \")\n\nimport { withDefaults, toRefs } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport Button from '@ui/components/base/Button/index.vue';\n\ninterface Props {\n type: string;\n price: number | string;\n discountPrice?: number;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n type: { default: 'free' },\n price: { default: 10 },\n discountPrice: null\n },\n emits: ['button'],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props as { type: string, price: number | string, discountPrice?: number }\n\n\nconst { t } = useI18n();\nconst { type, price, discountPrice } = toRefs(props);\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Button, {\n class: \"price-button\",\n type: _unref(type),\n onButton: _cache[0] || (_cache[0] = ($event: any) => (emits('button')))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_unref(discountPrice))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 0 }, [\n _createTextVNode(_toDisplayString(_unref(t)('BUTTON__CHARGE_PRICE', { price: _unref(discountPrice) })) + \" \", 1),\n _createElementVNode(\"span\", _hoisted_2, _toDisplayString(_unref(t)('BUTTON__CHARGE_PRICE', { price: _unref(price) })), 1)\n ], 64))\n : (_unref(price) === 0)\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _hoisted_3\n ], 64))\n : (_openBlock(), _createElementBlock(_Fragment, { key: 2 }, [\n _createTextVNode(_toDisplayString(_unref(t)('BUTTON__CHARGE_PRICE', { price: _unref(price) })), 1)\n ], 64))\n ])\n ]),\n _: 1\n }, 8, [\"type\"]))\n}\n}\n\n})","import script from \"./PriceButton.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./PriceButton.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./PriceButton.vue?vue&type=style&index=0&id=7b706148&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-7b706148\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { toRefs } from 'vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n label: String,\n},\n emits: ['button'],\n setup(__props, { emit }) {\n\nconst props = __props\n\n\n\nconst { label } = toRefs(props);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emit('button')))\n }, _toDisplayString(_unref(label)), 1))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=f1bd84a2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f1bd84a2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, Transition as _Transition, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-96435ef2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"ball-container\" }\nconst _hoisted_2 = { class: \"ball\" }\nconst _hoisted_3 = {\n key: 0,\n class: \"ball-sprite\"\n}\n\n\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n isActive: Boolean,\n},\n setup(__props) {\n\nconst props = __props\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(_Transition, { name: \"fade\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (props.isActive)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=96435ef2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-96435ef2\"]])\n\nexport default __exports__","import { reactive, readonly, computed } from 'vue';\nimport { Reward } from '@/services/responseType';\nimport { ModalType } from '@/store/modal/interface';\n\nconst state = reactive({\n modals: [],\n drawParams: {\n drawAmount: 0,\n drawPrice: 0,\n drawType: '',\n },\n congratsParams: {\n rewards: [],\n innerDrawChance: 0,\n overflowPoints: 0,\n },\n milestoneParams: {\n reward: { rewardName: '', rewardAmount: 0, rewardImg: '', rewardLevel: 1 },\n },\n congratsSummonParams: {\n reward: { rewardName: '', rewardAmount: 0, rewardImg: '', rewardLevel: 1 },\n jackpot: null,\n withJackpotTitle: false,\n },\n errorMessage: '',\n errorCode: 0,\n});\n\nconst currentOverflowPoints = computed(() =>\n state.congratsParams.overflowPoints ? state.congratsParams.overflowPoints : 0,\n);\n\nfunction handleModal({ type, modalName }: { type: string; modalName: string }) {\n switch (type) {\n case 'open':\n state.modals = state.modals.concat(modalName);\n break;\n case 'close':\n state.modals = state.modals.filter((modal) => modal !== modalName);\n break;\n default:\n throw new Error(`Invalid type of ${type}, you might have a typo`);\n }\n}\nfunction handleError({ error, code = 0 }: { error: string; code: number }) {\n state.errorMessage = error;\n state.errorCode = code;\n handleModal({ type: 'open', modalName: 'ModalError' });\n}\n\nfunction showCongratsModal(params: {\n rewards: Array;\n innerDrawChance: number;\n overflowPoints: number | null;\n}) {\n state.congratsParams = params;\n handleModal({ type: 'open', modalName: 'ModalCongrats' });\n}\nfunction showGotMilestone(params: { reward: Reward }) {\n state.milestoneParams = params;\n handleModal({ type: 'open', modalName: 'ModalGotMilestone' });\n}\nfunction showConfirmDrawModal(params: {\n drawAmount: number;\n drawPrice: number;\n drawType: string;\n}) {\n state.drawParams = params;\n handleModal({ type: 'open', modalName: 'ModalConfirmDraw' });\n}\n\nfunction showCongratsSummonModal(params: {\n reward: Reward;\n jackpot: Reward | null;\n withJackpotTitle?: boolean;\n}) {\n state.congratsSummonParams = params;\n handleModal({ type: 'open', modalName: 'ModalCongratsSummon' });\n}\n\nfunction useModal() {\n return {\n modalState: readonly(state),\n handleModal,\n handleError,\n showCongratsModal,\n showConfirmDrawModal,\n showGotMilestone,\n showCongratsSummonModal,\n currentOverflowPoints,\n };\n}\n\nexport default useModal;\n","import axios, { AxiosResponse } from 'axios';\nimport utils, { AnyJson } from '@/utils';\n\n// store access_token\nconst token = utils.getParam('access_token');\nconst partition = utils.getParam('partition');\nconst roleId = utils.getParam('role_id');\nconst birthPartition = utils.getParam('birth_partition');\nif (token) localStorage.setItem('TOKEN', token);\nif (partition) localStorage.setItem('PARTITION', partition);\nif (roleId) localStorage.setItem('ROLE_ID', roleId);\nif (birthPartition) localStorage.setItem('BIRTH_PARTITION', birthPartition);\n\nconst API = '/api';\n\nexport const instance = axios.create({\n baseURL: API,\n headers: {\n 'Content-Type': 'application/json',\n 'Utm-Source': 'plt',\n },\n xsrfCookieName: 'csrftoken',\n xsrfHeaderName: 'X-CSRFToken',\n withCredentials: true,\n timeout: 5000,\n});\n\ninstance.interceptors.request.use(function (config) {\n const TOKEN = localStorage.getItem('TOKEN');\n const PARTITION = localStorage.getItem('PARTITION');\n const ROLE_ID = localStorage.getItem('ROLE_ID');\n const birthPartition = localStorage.getItem('BIRTH_PARTITION');\n config.headers = {\n ...config.headers,\n 'Access-Token': TOKEN || '',\n 'Partition': PARTITION || 1,\n 'Role-ID': ROLE_ID || 0,\n ...(birthPartition && { 'birth-partition': birthPartition })\n };\n return config;\n});\n\n// Add a response interceptor\n/* eslint-disable @typescript-eslint/no-explicit-any */\ninstance.interceptors.response.use(\n (response: any) => {\n // Any status code that lie within the range of 2xx cause this function to trigger\n // Do something with response data\n return utils.camelizeKeys(response.data) as unknown as AxiosResponse;\n },\n (error: Error) => {\n // Any status codes that falls outside the range of 2xx cause this function to trigger\n // Do something with response error\n return Promise.reject(error);\n },\n);\n\nexport default function (\n method: string,\n url: string,\n data: AnyJson = null,\n): Promise {\n const requestType = method.toLowerCase();\n const normalizedParams = utils.snakifyKeys(data);\n\n switch (requestType) {\n case 'get':\n return instance.get(url, { params: normalizedParams }) as Promise;\n case 'put':\n return instance.put(url, normalizedParams) as Promise;\n case 'delete':\n return instance.delete(url, { params: normalizedParams }) as Promise;\n case 'post':\n return instance.post(url, normalizedParams) as Promise;\n default:\n throw new Error(\n `Unknown request method of ${method}! You might have a typo.`,\n );\n }\n}\n","export enum ErrorTypesEnum {\n // User\n ERROR__OUT_GAME = 900,\n ERROR__INSUFFICIENT_BALANCE = 901,\n ERROR__CHARGE_DRAW_FULL = 902,\n ERROR__NO_VALID_INNER_DRAW = 903,\n // Browser\n ERROR__COPY_FAIL = 910,\n ERROR__BROWSER_NOT_SUPPORT = 911,\n // Network\n ERROR__FRONT_END_ERROR = 920,\n ERROR__SERVER_ERROR = 921,\n }","import api from './api';\nimport { InfoResponse, DrawResponse, HistoryResponse, ClaimResponse, ExchangeResponse } from './responseType';\n\nif (process.env.NODE_ENV === 'development') {\n // eslint-disable-next-line global-require\n const mock = require('./mock').default;\n mock();\n}\n\ninterface DrawParams {\n drawAmount: number;\n drawPrice: number;\n}\n\nexport default {\n getInfo(): Promise {\n return api('get', 'info');\n },\n getHistory(): Promise {\n return api('get', 'history');\n },\n postDraw({ drawAmount, drawPrice }: DrawParams): Promise {\n return api('post', 'draw', { drawAmount, drawPrice })\n },\n postClaim({ milestoneId }: { milestoneId: number }): Promise {\n return api('post', 'claim', { milestoneId })\n },\n postExchange(): Promise {\n return api('post', 'exchange')\n },\n};\n","import { readonly, reactive } from 'vue';\n\nconst state = reactive({\n isLoading: false,\n});\n\nconst updateLoading = (status: boolean) => {\n state.isLoading = status;\n};\n\nexport default () => ({\n loadingState: readonly(state),\n updateLoading,\n});\n","import * as Sentry from '@sentry/browser';\nimport useModal from '@/store/modal/index';\nimport useLoading from '@/store/loading/index';\nimport {\n HistoryResponse,\n InfoResponse,\n DrawResponse,\n ClaimResponse,\n ExchangeResponse,\n ErrorResponse,\n} from '@/services/responseType';\nimport { ErrorTypesEnum } from '@/types';\ntype APIResponse =\n | HistoryResponse\n | InfoResponse\n | DrawResponse\n | ClaimResponse\n | ExchangeResponse\n | ErrorResponse;\n\nconst { handleError } = useModal();\nconst { updateLoading } = useLoading();\n\nasync function useApi(asyncFunc: () => Promise) {\n try {\n updateLoading(true);\n const response = await asyncFunc();\n\n if (response && typeof response === 'object') {\n if ('error' in response) {\n handleError(response);\n Sentry.withScope((scope) => {\n scope.setTag('type', 'client');\n Sentry.captureMessage(`[Monitor] ${JSON.stringify(response)}`);\n });\n return null;\n } else {\n return response;\n }\n } else {\n handleError({\n error: 'ERROR__SERVER_ERROR',\n code: ErrorTypesEnum.ERROR__SERVER_ERROR,\n });\n }\n } catch (err: any) {\n // eslint-disable-next-line no-console\n Sentry.withScope((scope) => {\n scope.setTag('type', 'client');\n Sentry.captureException(err);\n });\n\n if (err.response?.status === 408 || err.code === 'ECONNABORTED') {\n // handle timeout\n handleError({\n error: 'ERROR__FRONT_END_ERROR',\n code: ErrorTypesEnum.ERROR__FRONT_END_ERROR,\n });\n } else\n handleError({\n error: 'ERROR__SERVER_ERROR',\n code: ErrorTypesEnum.ERROR__SERVER_ERROR,\n });\n console.error(err);\n return false;\n } finally {\n updateLoading(false);\n }\n}\n\nexport default useApi;\n","export enum HOME_TABS {\n LAYER_A = 0,\n LAYER_B = 1\n}\n","import { readonly, reactive } from 'vue';\nimport { GameState } from '@/store/game/interface';\nimport useModal from '@/store/modal/index';\nimport services from '@/services/index';\nimport useApi from '@/hooks/useApi';\nimport { HOME_TABS } from '@/constants/tabs';\nimport { DrawResponse } from '@/services/responseType';\n\nconst { showCongratsModal, showGotMilestone, showCongratsSummonModal } =\n useModal();\n\nconst state = reactive({\n uniqueId: '',\n endTime: 0,\n singleDraw: {\n price: 0,\n freeDrawType: 0,\n },\n collectiveDraw: [],\n banner: [],\n overflowPointReward: {\n rewardName: '',\n rewardImg: '',\n rewardLevel: 1,\n rewardAmount: 1,\n },\n pointPerToken: 100,\n playerConfigs: {\n balance: 0,\n freeDrawCountdown: 0,\n innerDrawChance: 0,\n nextInnerDrawRequiredToken: 10,\n point: 0,\n reachMaxToken: false,\n remainRounds: 0,\n token: 0,\n },\n milestones: [],\n rewardConfigs: {\n jackpot: {\n rewardName: '',\n rewardImg: '',\n rewardLevel: 1,\n rewardAmount: 1,\n claimed: false,\n },\n rewards: [],\n pool: [],\n },\n isInballAnimation: false,\n activeHomeTab: HOME_TABS.LAYER_A,\n cacheChargingResult: {\n points: 0,\n tokens: 0,\n overflowPoints: 0,\n rewards: [],\n innerDrawChance: 0,\n playerStatus: {\n freeDrawCountdown: 0, // seconds\n reachMaxToken: true,\n balance: 0,\n point: 0,\n token: 0, // accumlated token\n nextInnerDrawRequiredToken: 8,\n innerDrawChance: 2,\n remainRounds: 2,\n milestones: [],\n round: {\n jackpot: {\n rewardName: '',\n rewardImg: '',\n rewardLevel: 1,\n rewardAmount: 1,\n claimed: false,\n },\n rewards: [],\n pool: [],\n },\n },\n },\n isInfoReady: false\n});\n\nexport const setState = (\n key: K,\n params: V[K],\n state: V,\n): void => {\n state[key] = params;\n};\n\nconst getInfo = async () => {\n const response = await useApi(services.getInfo);\n \n if (response) {\n const {\n endTime,\n collectiveDraw,\n overflowPointReward,\n playerStatus,\n pointPerToken,\n singleDraw,\n uniqueId,\n banner,\n } = response;\n const { milestones, round, ...userConfigs } = playerStatus;\n\n setState('milestones', milestones, state);\n setState('rewardConfigs', round, state);\n setState('playerConfigs', userConfigs, state);\n setState('endTime', endTime, state);\n setState('singleDraw', singleDraw, state);\n setState('collectiveDraw', collectiveDraw, state);\n setState('uniqueId', uniqueId, state);\n setState('pointPerToken', pointPerToken, state);\n setState('overflowPointReward', overflowPointReward, state);\n setState('banner', banner, state);\n setState('isInfoReady', true, state);\n }\n};\n\nconst chargingDraw = async (drawParams: {\n drawAmount: number;\n drawPrice: number;\n}) => {\n const response = await useApi(() => services.postDraw(drawParams));\n if (response) {\n setState('cacheChargingResult', response, state);\n setState('isInballAnimation', true, state);\n }\n};\nconst updateChargingDrawResult = (result: DrawResponse) => {\n if (result) {\n // innerDrawChance outside playerStatus is times what player get this round.\n // innerDrawChance inside playerStatus is accumlated innerDrawChance times.\n const { rewards, innerDrawChance, overflowPoints, playerStatus } = result;\n const { milestones, round, ...userConfigs } = playerStatus;\n setState('milestones', milestones, state);\n setState('rewardConfigs', round, state);\n setState(\n 'playerConfigs',\n { ...state.playerConfigs, ...userConfigs },\n state,\n );\n showCongratsModal({ rewards, innerDrawChance, overflowPoints });\n }\n};\nconst endAnimation = () => {\n setState('isInballAnimation', false, state);\n if (state.cacheChargingResult) {\n updateChargingDrawResult(state.cacheChargingResult);\n // reset cacheChargingResult\n setState('cacheChargingResult', null, state);\n }\n};\n\nconst changeTabView = (componentName: HOME_TABS) => {\n setState('activeHomeTab', componentName, state);\n};\nconst claimMilestone = async ({ milestoneId }: { milestoneId: number }) => {\n const response = await useApi(() => services.postClaim({ milestoneId }));\n if (response) {\n const { reward, playerStatus } = response;\n const { milestones, ...userConfigs } = playerStatus;\n setState('milestones', milestones, state);\n setState(\n 'playerConfigs',\n { ...state.playerConfigs, ...userConfigs },\n state,\n );\n\n showGotMilestone({ reward });\n }\n};\n\nconst summonDraw = async () => {\n const response = await useApi(services.postExchange);\n\n if (response) {\n const { reward, jackpot, playerStatus } = response;\n const { milestones, round, ...userConfigs } = playerStatus;\n\n setState('milestones', milestones, state);\n setState(\n 'playerConfigs',\n { ...state.playerConfigs, ...userConfigs },\n state,\n );\n setState('rewardConfigs', round, state);\n showCongratsSummonModal({ reward, jackpot });\n }\n};\n\nexport default () => ({\n gameState: readonly(state),\n getInfo,\n chargingDraw,\n changeTabView,\n claimMilestone,\n summonDraw,\n endAnimation,\n updateChargingDrawResult,\n});\n","import { reactive } from 'vue';\nconst state = reactive({\n isMaskShow: false,\n isExpand: false,\n})\n\nfunction useMask() {\n function handleMaskShow(status: boolean) {\n state.isMaskShow = status;\n }\n function toggleMilestone(status: boolean) {\n state.isExpand = status;\n }\n function closeAll() {\n state.isExpand = false;\n state.isMaskShow = false;\n }\n\n return {\n maskState: state,\n handleMaskShow,\n toggleMilestone,\n closeAll,\n }\n}\n\nexport default useMask;\n","import { readonly, reactive } from 'vue';\nimport { setState } from '@/store/game/index';\nimport { FloatText } from './interface';\n\nconst state = reactive({\n text: '',\n showFloatText: false,\n top: 0,\n left: 0,\n});\nconst updateFloatState = (\n key: K,\n value: V,\n) => setState(key, value, state);\n\n\nexport default () => ({\n floatTextState: readonly(state),\n updateFloatState,\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderSlot as _renderSlot, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { ref, toRefs, withDefaults, nextTick } from 'vue';\nimport useFloatText from '@/store/floatText/index';\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n name: { default: '' }\n },\n setup(__props: any) {\n\nconst props = __props as { name: string }\n\n\n\nconst { floatTextState, updateFloatState } = useFloatText();\nconst { showFloatText } = toRefs(floatTextState);\nconst timer = ref>(null);\nconst handleShowName = async (event: MouseEvent) => {\n if (!showFloatText.value) {\n if (timer.value !== null) clearTimeout(timer.value);\n timer.value = setTimeout(() => {\n updateFloatState('showFloatText', false);\n }, 2000);\n updateFloatState('text', props.name);\n await nextTick();\n updateFloatState('left', event.clientX);\n updateFloatState('top', event.clientY);\n updateFloatState('showFloatText', true);\n }\n};\nconst handleHideName = () => {\n if (timer.value) clearTimeout(timer.value);\n\n updateFloatState('showFloatText', false);\n updateFloatState('text', '');\n};\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"float-text-click-wrapper\",\n onClick: handleShowName,\n onFocusout: handleHideName,\n tabindex: \"0\"\n }, [\n _renderSlot(_ctx.$slots, \"default\")\n ], 32))\n}\n}\n\n})","import script from \"./ClickItem.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ClickItem.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ClickItem.vue?vue&type=style&index=0&id=b206fed8&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass, renderSlot as _renderSlot, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-51f3529d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"milestone-item-wrapper\" }\nconst _hoisted_2 = [\"data-claimed\"]\nconst _hoisted_3 = { class: \"requirement-text\" }\nconst _hoisted_4 = [\"innerHTML\"]\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon icon--token-lighten\" }, null, -1))\n\nimport { withDefaults, toRefs } from 'vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\nimport { useI18n } from 'vue-i18n';\ninterface Prize {\n image: string;\n name: string;\n id: number | string;\n}\ninterface Props {\n target: string;\n prizeInfo: Prize;\n isActive: boolean;\n isClaimed: boolean;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n target: { default: '0/3' },\n prizeInfo: null,\n isActive: { type: Boolean, default: false },\n isClaimed: { type: Boolean, default: false }\n },\n emits: ['milestone'],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props as { target: string, prizeInfo: Prize, isActive: boolean, isClaimed: boolean }\n\n\n\n\nconst { target, prizeInfo } = toRefs(props);\n\nconst { t } = useI18n();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(FloatTextWrapper, {\n class: \"prize-image-wrapper\",\n name: _unref(prizeInfo).name\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: \"prize-image\",\n style: _normalizeStyle({ backgroundImage: `url(${_unref(prizeInfo).image})` })\n }, null, 4)\n ]),\n _: 1\n }, 8, [\"name\"]),\n _createElementVNode(\"div\", {\n class: _normalizeClass([\n 'milestone-item',\n { 'milestone-item--active': !__props.isClaimed && __props.isActive },\n ]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (emits('milestone')))\n }, [\n (__props.isClaimed)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"milestone-mask\",\n \"data-claimed\": _ctx.$t('GENERAL__CLAIMED')\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"span\", {\n innerHTML: _unref(t)('MILESTONE__REQUIREMENT', { token: _unref(target) })\n }, null, 8, _hoisted_4)\n ]),\n _hoisted_5\n ], 2),\n _renderSlot(_ctx.$slots, \"default\")\n ]))\n}\n}\n\n})","import script from \"./MilestoneItem.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./MilestoneItem.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./MilestoneItem.vue?vue&type=style&index=0&id=51f3529d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-51f3529d\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, Transition as _Transition, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-10d7edf3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"milestone-wrapper\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = {\n key: 1,\n class: \"milestone-expand\"\n}\nconst _hoisted_4 = { class: \"container\" }\n\nimport { toRefs, computed } from 'vue';\nimport { Milestone } from '@/services/responseType';\nimport useGame from '@/store/game/index';\nimport useMilestoneMask from '@/hooks/useMilestoneMask';\n// components\nimport MilestoneItem from '@ui/components/LayerA/MilestoneItem.vue';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { gameState, claimMilestone } = useGame();\nconst { milestones, playerConfigs } = toRefs(gameState);\nconst { handleMaskShow, maskState, toggleMilestone } = useMilestoneMask();\nconst token = computed(() => playerConfigs.value.token);\nconst displaySingleMilestone = computed(() => {\n const milestoneLength = milestones.value.length;\n const firstUnClaimedMilestone = milestones.value.find(\n (milestone) => !milestone.claimed,\n );\n const lastClaimMilestone = milestones.value[milestoneLength - 1];\n return firstUnClaimedMilestone || lastClaimMilestone;\n});\n\nconst { isExpand } = toRefs(maskState);\n\nfunction expandMilestone(status: boolean) {\n toggleMilestone(status);\n handleMaskShow(status);\n}\n\nasync function handleClaim(milestone: Milestone) {\n if (milestone.claimed) return;\n if (milestone.tokenRequired > playerConfigs.value.token) return;\n await claimMilestone({ milestoneId: milestone.id });\n}\nasync function handleUnExpandClaim(milestone: Milestone) {\n if (milestone.tokenRequired > playerConfigs.value.token) {\n expandMilestone(true);\n } else await handleClaim(milestone);\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_Transition, {\n name: \"slide-fade\",\n mode: \"out-in\"\n }, {\n default: _withCtx(() => [\n (!_unref(isExpand))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(MilestoneItem, {\n target: `${_unref(token)}/${_unref(displaySingleMilestone)?.tokenRequired || 0}`,\n \"is-active\": _unref(token) >= _unref(displaySingleMilestone)?.tokenRequired,\n \"is-claimed\": _unref(displaySingleMilestone)?.claimed,\n \"prize-info\": {\n image: _unref(displaySingleMilestone)?.rewardImg,\n name: _unref(displaySingleMilestone)?.rewardName,\n id: _unref(displaySingleMilestone)?.id,\n },\n onMilestone: _cache[1] || (_cache[1] = ($event: any) => (handleUnExpandClaim(_unref(displaySingleMilestone))))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n class: _normalizeClass([\n `indicator indicator--expand`,\n {\n 'indicator--expand-active':\n _unref(token) >= _unref(displaySingleMilestone)?.tokenRequired,\n },\n ]),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (expandMilestone(true)))\n }, null, 2)\n ]),\n _: 1\n }, 8, [\"target\", \"is-active\", \"is-claimed\", \"prize-info\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", {\n class: \"indicator indicator--collapse\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (expandMilestone(false)))\n }),\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(milestones), (item) => {\n return (_openBlock(), _createBlock(MilestoneItem, {\n key: item.id,\n target: `${_unref(token)}/${item?.tokenRequired || 0}`,\n \"is-active\": _unref(token) >= item.tokenRequired,\n \"is-claimed\": item?.claimed,\n \"prize-info\": {\n image: item.rewardImg,\n name: item.rewardName,\n id: item.id,\n },\n onMilestone: ($event: any) => (handleClaim(item))\n }, null, 8, [\"target\", \"is-active\", \"is-claimed\", \"prize-info\", \"onMilestone\"]))\n }), 128))\n ])\n ]))\n ]),\n _: 1\n })\n ]))\n}\n}\n\n})","import script from \"./Milestone.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Milestone.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Milestone.vue?vue&type=style&index=0&id=10d7edf3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-10d7edf3\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nexport default function useInterval() {\n const interval = ref();\n function doInterval(callback: () => void, ms: number) {\n interval.value = setInterval(callback, ms)\n }\n function removeInterval() {\n clearInterval(interval.value)\n interval.value = null;\n }\n\n return {\n interval,\n doInterval,\n removeInterval,\n }\n}\n","import { reactive, readonly, computed, } from 'vue';\n\nimport useGame from '@/store/game/index';\nconst { gameState } = useGame();\n\n\nconst uniqueId = computed(() => gameState.uniqueId)\nconst versionName = process.env['VERSION_NAME'] || '';\nconst eventTitle = process.env['EVENT_TITLE'] || '';\n\n\nconst state = reactive({\n skipInfo: {\n singleDraw: false,\n tenDraw: false,\n thirtyDraw: false,\n tutorial: false,\n },\n});\nfunction updateSkipInfo(skipKey?: string) {\n if (uniqueId.value) {\n const storageVersion = localStorage.getItem('mbm_tlg_ver');\n const parsedStorage = localStorage.getItem(eventTitle)\n ? JSON.parse(localStorage.getItem(eventTitle) || '')\n : ''\n\n if (storageVersion === versionName) {\n const userSkipInfo = parsedStorage && parsedStorage[uniqueId.value]\n ? parsedStorage[uniqueId.value]\n : state.skipInfo;\n\n if (!skipKey) state.skipInfo = userSkipInfo;\n else {\n localStorage.setItem(eventTitle, JSON.stringify({\n ...parsedStorage,\n [uniqueId.value]: {\n ...userSkipInfo,\n [skipKey]: true\n }\n }))\n state.skipInfo = { ...userSkipInfo, [skipKey]: true };\n }\n } else {\n localStorage.removeItem(eventTitle);\n localStorage.setItem(eventTitle, JSON.stringify({\n [uniqueId.value]: state.skipInfo\n }))\n localStorage.setItem('mbm_tlg_ver', versionName);\n }\n }\n}\n\nfunction useStorage() {\n return {\n updateSkipInfo,\n storageState: readonly(state),\n };\n}\n\nexport default useStorage;\n","export enum ButtonType {\n FREE = 'free',\n SINGLE = 'single-draw',\n TEN_DRAW = 'ten-draw',\n THIRTY_DRAW = 'thirty-draw',\n SUMMON = 'summon',\n}\n","export enum FREE_DRAW_TYPE {\n DISABLED = 0,\n FIRST_DRAW_FREE = 1,\n FIRST_DRAW_FREE_DAILY = 2,\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, createBlock as _createBlock, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-11547990\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"home-main\" }\nconst _hoisted_2 = { class: \"charging-mask__logo\" }\nconst _hoisted_3 = { class: \"main-body\" }\nconst _hoisted_4 = { class: \"balls\" }\nconst _hoisted_5 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"weapon-image\" }, null, -1))\nconst _hoisted_6 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light\" }, null, -1))\nconst _hoisted_7 = [\"innerHTML\"]\nconst _hoisted_8 = { class: \"ball-tips\" }\nconst _hoisted_9 = { class: \"float-prizes\" }\nconst _hoisted_10 = { class: \"footer\" }\nconst _hoisted_11 = {\n key: 0,\n class: \"free-reminder\"\n}\n\nimport { ref, toRefs, computed, watch, onMounted, onUnmounted } from 'vue';\nimport { useI18n } from 'vue-i18n';\nimport utils from '@/utils';\n// components\nimport PriceButton from '@ui/components/base/Button/PriceButton.vue';\nimport Button from '@ui/components/base/Button/index.vue';\nimport ButtonSquare from '@ui/components/base/ButtonSquare/index.vue';\nimport Ball from '@ui/components/base/Ball/index.vue';\nimport Milestone from '@ui/components/LayerA/Milestone.vue';\n// store\nimport useGame from '@/store/game/index';\nimport useModal from '@/store/modal/index';\nimport useInterval from '@/hooks/useInterval';\nimport useStorage from '@/store/storage/index';\nimport useMilestoneMask from '@/hooks/useMilestoneMask';\n//constatns\nimport { ButtonType } from '@/versions/snowfan/components/base/Button/enum';\nimport { FREE_DRAW_TYPE } from '@/constants/drawTypes';\nimport { ErrorTypesEnum } from '@/types';\n\n\nconst __default__ = {\n name: 'LayerA',\n};\n\nfunction setup(__props) {\n\nconst { twoDigitTime } = utils;\nconst { t } = useI18n();\nconst { handleModal, showConfirmDrawModal, handleError } = useModal();\nconst { gameState, endAnimation, chargingDraw } = useGame();\nconst { doInterval, removeInterval } = useInterval();\nconst { doInterval: doCountdown, removeInterval: removeCountdown } =\n useInterval();\nconst { storageState } = useStorage();\nconst {\n singleDraw,\n collectiveDraw,\n playerConfigs,\n isInballAnimation,\n cacheChargingResult,\n} = toRefs(gameState);\nconst { maskState, closeAll } = useMilestoneMask();\nconst { isMaskShow } = toRefs(maskState);\n// except free draw & single draw\nconst collectiveDrawTypes = [ButtonType.TEN_DRAW, ButtonType.THIRTY_DRAW];\nconst freeDrawCountdown = ref(0);\n\nconst apiFreedrawCountdown = computed(\n () => playerConfigs.value.freeDrawCountdown,\n);\nconst isFree = computed(() => {\n return Boolean(\n (singleDraw.value.freeDrawType === FREE_DRAW_TYPE.FIRST_DRAW_FREE &&\n apiFreedrawCountdown.value !== null) ||\n (singleDraw.value.freeDrawType === FREE_DRAW_TYPE.FIRST_DRAW_FREE_DAILY &&\n freeDrawCountdown.value === 0),\n );\n});\nconst singleDrawInfo = computed(() => {\n return isFree.value\n ? { price: 0, type: ButtonType.FREE }\n : { price: singleDraw.value.price, type: ButtonType.SINGLE };\n});\n\nconst isMaxToken = computed(() => playerConfigs.value.reachMaxToken);\n\nconst readableCountdown = computed(() => {\n const hours = Math.floor(freeDrawCountdown.value / 3600);\n const mins = Math.floor((freeDrawCountdown.value % 3600) / 60);\n const secs = freeDrawCountdown.value - hours * 3600 - mins * 60;\n return `${twoDigitTime(`${hours}`)}:${twoDigitTime(`${mins}`)}:${twoDigitTime(\n `${secs}`,\n )}`;\n});\nconst points = computed(() => playerConfigs.value.point);\nconst animationPoints = ref(points.value);\nconst renderingPoints = computed(() =>\n isInballAnimation.value ? animationPoints.value : points.value,\n);\nconst count = ref(0);\n\nconst wonPoints = computed(() => {\n if (cacheChargingResult.value) {\n if (cacheChargingResult.value.tokens > 0) {\n return (\n 10 -\n playerConfigs.value.point +\n (cacheChargingResult.value.tokens - 1) * 10 +\n cacheChargingResult.value.points\n );\n } else {\n return cacheChargingResult.value.points - playerConfigs.value.point;\n }\n }\n return 0;\n});\nconst isGameover = computed(() => playerConfigs.value.reachMaxToken);\n\nasync function handleDraw(drawInfo: {\n drawAmount: number;\n drawPrice: number;\n type: string;\n}) {\n const { drawAmount, drawPrice, type } = drawInfo;\n if (playerConfigs.value.balance < drawPrice) {\n handleError({\n error: 'ERROR__INSUFFICIENT_BALANCE',\n code: ErrorTypesEnum.ERROR__INSUFFICIENT_BALANCE,\n });\n return;\n }\n if (\n drawInfo.drawPrice === 0 ||\n (type === ButtonType.SINGLE && storageState.skipInfo.singleDraw) ||\n (type === ButtonType.TEN_DRAW && storageState.skipInfo.tenDraw) ||\n (type === ButtonType.THIRTY_DRAW && storageState.skipInfo.thirtyDraw)\n ) {\n await chargingDraw({ drawAmount, drawPrice });\n return;\n }\n showConfirmDrawModal({ drawAmount, drawPrice, drawType: type });\n}\nfunction skipCharginAnimation() {\n endAnimation();\n count.value = 0;\n}\nonMounted(() => {\n freeDrawCountdown.value = apiFreedrawCountdown.value;\n});\nwatch(\n () => apiFreedrawCountdown.value,\n () => {\n // if current freeDrawType is FIRST_FREE_DRAW\n // apiFreedrawCountdown will be null, no need countdown\n if (apiFreedrawCountdown.value === null) {\n removeCountdown();\n return;\n }\n freeDrawCountdown.value = apiFreedrawCountdown.value;\n removeCountdown();\n doCountdown(() => {\n if (freeDrawCountdown.value > 0) freeDrawCountdown.value -= 1;\n else {\n removeCountdown();\n }\n }, 1000);\n },\n);\nwatch(\n () => isInballAnimation.value,\n async () => {\n if (isInballAnimation.value) {\n animationPoints.value = points.value;\n doInterval(() => {\n if (count.value >= wonPoints.value) {\n removeInterval();\n endAnimation();\n count.value = 0;\n } else {\n if (animationPoints.value > 9) {\n animationPoints.value = 0;\n } else {\n animationPoints.value += 1;\n count.value += 1;\n }\n }\n }, 1000);\n } else {\n removeInterval();\n endAnimation();\n }\n },\n);\nonUnmounted(() => {\n removeInterval();\n removeCountdown();\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_unref(isMaskShow))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"mask\",\n onClick: _cache[0] || (_cache[0] = \n//@ts-ignore\n(...args) => (_unref(closeAll) && _unref(closeAll)(...args)))\n }))\n : _createCommentVNode(\"\", true),\n (_unref(isInballAnimation))\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"charging-mask\",\n onClick: skipCharginAnimation\n }, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('TIPS__TAP_TO_SKIP_CHARGING')), 1)\n ]))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(renderingPoints), (item) => {\n return (_openBlock(), _createBlock(Ball, {\n key: item,\n class: \"home-main__ball\",\n \"is-active\": \"\"\n }))\n }), 128))\n ]),\n _hoisted_5,\n _hoisted_6,\n _createElementVNode(\"div\", {\n class: \"summon-reminder\",\n innerHTML: \n _unref(t)('BUTTON__SUMMON_REMINDER', {\n token: _unref(playerConfigs).nextInnerDrawRequiredToken,\n count: 1,\n })\n \n }, null, 8, _hoisted_7),\n _createElementVNode(\"div\", _hoisted_8, \"(\" + _toDisplayString(_unref(points)) + \"/10)\", 1),\n _createElementVNode(\"div\", _hoisted_9, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(5, (item) => {\n return _createElementVNode(\"div\", {\n class: \"prize\",\n key: item\n })\n }), 64))\n ]),\n _createVNode(ButtonSquare, {\n class: \"home-main__record\",\n label: _ctx.$t('BUTTON__HISTORY'),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_unref(handleModal)({ type: 'open', modalName: 'ModalHistory' })))\n }, null, 8, [\"label\"]),\n _createVNode(Milestone, { class: \"home-main__milestone\" }),\n _createElementVNode(\"div\", {\n class: \"rule-icon\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_unref(handleModal)({ type: 'open', modalName: 'ModalRule' })))\n }),\n _createElementVNode(\"div\", _hoisted_10, [\n (\n _unref(singleDraw).freeDrawType === _unref(FREE_DRAW_TYPE).FIRST_DRAW_FREE_DAILY &&\n freeDrawCountdown.value !== 0 &&\n !_unref(isMaxToken)\n )\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, _toDisplayString(_unref(t)('FREE_DRAW_REMINDER', { time: _unref(readableCountdown) })), 1))\n : _createCommentVNode(\"\", true),\n (!_unref(isGameover))\n ? (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [\n _createVNode(PriceButton, {\n class: \"button\",\n price: _unref(singleDrawInfo).price,\n type: _unref(singleDrawInfo).type,\n onButton: _cache[3] || (_cache[3] = ($event: any) => (\n handleDraw({\n drawAmount: 1,\n drawPrice: _unref(singleDrawInfo).price,\n type: _unref(singleDrawInfo).type,\n })\n ))\n }, null, 8, [\"price\", \"type\"]),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(collectiveDraw), (drawInfo, drawIndex) => {\n return (_openBlock(), _createBlock(PriceButton, {\n class: \"button\",\n key: drawIndex,\n price: drawInfo.drawPrice,\n \"discount-price\": drawInfo.drawDiscountPrice,\n type: collectiveDrawTypes[drawIndex],\n onButton: ($event: any) => (\n handleDraw({\n drawAmount: drawInfo.drawAmount,\n drawPrice: drawInfo.drawDiscountPrice || drawInfo.drawPrice,\n type: collectiveDrawTypes[drawIndex],\n })\n )\n }, null, 8, [\"price\", \"discount-price\", \"type\", \"onButton\"]))\n }), 128))\n ], 64))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 2 }, _renderList([\n _unref(ButtonType).SINGLE,\n _unref(ButtonType).TEN_DRAW,\n _unref(ButtonType).THIRTY_DRAW,\n ], (item) => {\n return (_openBlock(), _createBlock(Button, {\n key: item,\n class: \"draw-button\",\n type: item,\n disabled: \"\",\n \"with-slot\": false,\n onButton: _cache[4] || (_cache[4] = ($event: any) => (\n _unref(handleError)({\n error: 'ERROR__CHARGE_DRAW_FULL',\n code: _unref(ErrorTypesEnum).ERROR__CHARGE_DRAW_FULL,\n })\n ))\n }, null, 8, [\"type\"]))\n }), 128))\n ])\n ])\n ]))\n}\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=11547990&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-11547990\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, normalizeStyle as _normalizeStyle, createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6be731d3\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"data-level\", \"data-type\"]\nconst _hoisted_2 = [\"data-claimed\"]\nconst _hoisted_3 = {\n key: 1,\n class: \"reward__amount\"\n}\n\nimport { withDefaults, toRefs } from 'vue';\n\ninterface Props {\n type?: string;\n level?: string | number;\n reward: {\n name: string;\n image: string;\n claimed?: boolean;\n amount?: number | string;\n };\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n type: { default: 'md' },\n level: { default: 'normal' },\n reward: null\n },\n setup(__props: any) {\n\nconst props = __props as { type: string, level: string | number, reward: {\n name: string;\n image: string;\n claimed?: boolean;\n amount?: number | string;\n } }\n\n\nconst { reward, level, type } = toRefs(props);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(['reward', `reward--${_unref(type)} reward--${_unref(level)}`]),\n \"data-level\": _unref(level),\n \"data-type\": _unref(type)\n }, [\n _createElementVNode(\"div\", {\n class: \"reward__item\",\n style: _normalizeStyle({ 'background-image': `url(${_unref(reward).image})` })\n }, null, 4),\n (_unref(reward).claimed)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n \"data-claimed\": _ctx.$t('GENERAL__CLAIMED'),\n class: \"reward__claimed\"\n }, null, 8, _hoisted_2))\n : _createCommentVNode(\"\", true),\n (_unref(reward).amount)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, _toDisplayString(_unref(reward).amount), 1))\n : _createCommentVNode(\"\", true)\n ], 10, _hoisted_1))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=6be731d3&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6be731d3\"]])\n\nexport default __exports__","export const LEVEL: { [key: string]: string } = {\n 1: 'normal',\n 2: 'rare',\n 3: 'epic',\n 4: 'legend'\n}\n","import { useCssVars as _useCssVars, defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createVNode as _createVNode, withCtx as _withCtx, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, createCommentVNode as _createCommentVNode, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1111db26\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"home-b\" }\nconst _hoisted_2 = { class: \"home-b-body\" }\nconst _hoisted_3 = { class: \"tagline-area\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"tagline\" }, null, -1))\nconst _hoisted_5 = { class: \"jackpot-area\" }\nconst _hoisted_6 = { class: \"jackpot-area__name-frame\" }\nconst _hoisted_7 = { class: \"jackpot-area__name\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"light\" }, null, -1))\nconst _hoisted_9 = { class: \"info-area\" }\nconst _hoisted_10 = { class: \"round-reminder\" }\nconst _hoisted_11 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"gift\" }, null, -1))\nconst _hoisted_12 = { class: \"marquee\" }\nconst _hoisted_13 = { class: \"prize__name\" }\nconst _hoisted_14 = { class: \"prize__name\" }\nconst _hoisted_15 = { class: \"draw-area\" }\nconst _hoisted_16 = {\n key: 0,\n class: \"draw-button__reminder\"\n}\nconst _hoisted_17 = { class: \"tips\" }\n\nimport { toRefs, ref, computed, onUnmounted } from 'vue';\n// components\nimport ButtonSquare from '@ui/components/base/ButtonSquare/index.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\nimport Button from '@ui/components/base/Button/index.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\n\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\nimport { LEVEL } from '@/constants/reward';\nimport utils from '@/utils';\nimport { ErrorTypesEnum } from '@/types';\n\n\nconst __default__ = {\n name: 'LayerB',\n};\n\nfunction setup(__props) {\n\n_useCssVars(_ctx => ({\n \"72bffe79\": (_unref(rewardsNums)),\n \"1733b35e\": (_unref(marqueeDuration))\n}))\n\nconst { handleModal, handleError } = useModal();\nconst { gameState, summonDraw } = useGame();\nconst { rewardConfigs, playerConfigs } = toRefs(gameState);\nconst jackpot = computed(() => rewardConfigs.value.jackpot);\nconst remainingRound = computed(\n () => playerConfigs.value.remainRounds?.toString().padStart(2, '0') || '00',\n);\nconst withDrawTimes = computed(() => playerConfigs.value.innerDrawChance > 0);\nconst rewards = computed(() =>\n rewardConfigs.value.rewards.map((reward) => ({\n claimed: reward.claimed,\n image: reward.rewardImg,\n level: reward.rewardLevel,\n name: reward.rewardName,\n })),\n);\n\nconst unClaimReward = computed(() =>\n rewards.value.filter((reward) => !reward.claimed),\n);\nconst inAnimation = ref(false);\n\nconst handleSummon = async () => {\n if (!withDrawTimes.value) {\n handleError({\n error: 'ERROR__NO_VALID_INNER_DRAW',\n code: ErrorTypesEnum.ERROR__NO_VALID_INNER_DRAW,\n });\n return;\n }\n if (inAnimation.value) return;\n inAnimation.value = true;\n await utils.delay(1000);\n await summonDraw();\n inAnimation.value = false;\n};\nconst rewardsNums = computed(() => rewards.value.length);\nconst marqueeDuration = computed(() => `${rewardsNums.value * 1.1}s`);\nconst isGameEnd = computed(() => {\n return (\n playerConfigs.value.innerDrawChance === 0 &&\n playerConfigs.value.reachMaxToken\n );\n});\nonUnmounted(() => {\n inAnimation.value = false;\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createElementVNode(\"div\", {\n class: \"rule-icon\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_unref(handleModal)({ type: 'open', modalName: 'ModalRule' })))\n })\n ]),\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_unref(jackpot).rewardName), 1)\n ])\n ]),\n _createVNode(FloatTextWrapper, {\n name: _unref(jackpot).rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n class: \"jackpot-area-reward\",\n reward: {\n image: _unref(jackpot).rewardImg,\n name: _unref(jackpot).rewardName,\n claimed: _unref(jackpot).claimed,\n },\n type: \"lg\",\n level: _unref(LEVEL)[_unref(jackpot).rewardLevel]\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 1\n }, 8, [\"name\"]),\n _hoisted_8,\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(ButtonSquare, {\n class: \"home-b-body__pool-button\",\n label: _ctx.$t('BUTTON__POOL'),\n onButton: _cache[1] || (_cache[1] = ($event: any) => (_unref(handleModal)({ modalName: 'ModalPool', type: 'open' })))\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_10, _toDisplayString(_ctx.$t('GENERAL__ROUND_REMINDER', { round: _unref(remainingRound) })), 1)\n ]),\n _hoisted_11,\n _createElementVNode(\"div\", {\n class: _normalizeClass(['marquee-area', { drawing: inAnimation.value }])\n }, [\n _createElementVNode(\"div\", _hoisted_12, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rewards), (reward, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"prize\",\n key: index\n }, [\n _createVNode(FloatTextWrapper, {\n name: reward.name\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n type: \"md\",\n reward: {\n name: reward.name,\n image: reward.image,\n claimed: reward.claimed,\n },\n level: _unref(LEVEL)[reward.level]\n }, null, 8, [\"reward\", \"level\"]),\n _createElementVNode(\"span\", _hoisted_13, _toDisplayString(reward.name), 1)\n ]),\n _: 2\n }, 1032, [\"name\"])\n ]))\n }), 128)),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rewards), (reward, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"prize\",\n key: index\n }, [\n _createVNode(FloatTextWrapper, {\n name: reward.name\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n type: \"md\",\n reward: {\n name: reward.name,\n image: reward.image,\n claimed: reward.claimed,\n },\n level: _unref(LEVEL)[reward.level]\n }, null, 8, [\"reward\", \"level\"]),\n _createElementVNode(\"span\", _hoisted_14, _toDisplayString(reward.name), 1)\n ]),\n _: 2\n }, 1032, [\"name\"])\n ]))\n }), 128))\n ])\n ], 2),\n _createElementVNode(\"div\", _hoisted_15, [\n (!_unref(isGameEnd))\n ? (_openBlock(), _createBlock(Button, {\n key: 0,\n class: \"draw-button\",\n type: _unref(withDrawTimes) ? 'summon' : 'summon-disabled',\n disabled: !_unref(withDrawTimes),\n \"with-slot\": _unref(withDrawTimes),\n onButton: handleSummon\n }, {\n default: _withCtx(() => [\n (_unref(withDrawTimes))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_16, _toDisplayString(_ctx.$t('BUTTON__DRAW_REMAINING', {\n times: _unref(playerConfigs).innerDrawChance,\n })), 1))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"type\", \"disabled\", \"with-slot\"]))\n : (_openBlock(), _createBlock(Button, {\n key: 1,\n class: \"draw-button\",\n type: \"summon-end\",\n disabled: \"\",\n \"with-slot\": false\n })),\n _createElementVNode(\"div\", _hoisted_17, _toDisplayString(_ctx.$t('TIPS__ACHIEVE_TARGET_LEFT', { times: _unref(unClaimReward).length })), 1)\n ])\n ])\n ]))\n}\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n ...__default__,\n setup})","import script from \"./index.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./index.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=1111db26&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1111db26\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, resolveDynamicComponent as _resolveDynamicComponent, createBlock as _createBlock, KeepAlive as _KeepAlive, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-1c1e9f6a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"home\" }\nconst _hoisted_2 = { class: \"tabs\" }\nconst _hoisted_3 = [\"onClick\"]\n\nimport { computed, toRefs, watch } from 'vue';\nimport LayerA from '@ui/components/LayerA/index.vue';\nimport LayerB from '@ui/components/LayerB/index.vue';\nimport utils from '@/utils';\n\nimport useGame from '@/store/game/index';\nimport useModal from '@/store/modal/index';\nimport useStorage from '@/store/storage/index';\n\nimport { HOME_TABS } from '@/constants/tabs';\nimport { ErrorTypesEnum } from '@/types';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { gameState, changeTabView, getInfo } = useGame();\nconst { updateSkipInfo, storageState } = useStorage();\nconst { handleModal, handleError } = useModal();\n\nconst tabs = [LayerA, LayerB];\nconst { activeHomeTab, playerConfigs, isInfoReady } = toRefs(gameState);\nconst { skipInfo } = toRefs(storageState);\n\nconst summonChance = computed(() => playerConfigs.value.innerDrawChance);\n\nwatch(\n () => activeHomeTab.value,\n () => {\n changeTabView(activeHomeTab.value);\n },\n);\n\n(async () => {\n const TOKEN = localStorage.getItem('TOKEN');\n if (!utils.isSupportProxy()) {\n handleError({\n error: 'ERROR__BROWSER_NOT_SUPPORT',\n code: ErrorTypesEnum.ERROR__BROWSER_NOT_SUPPORT,\n });\n } else if (!TOKEN) {\n handleError({\n error: 'ERROR__GAME_LOGIN_FAILED',\n code: ErrorTypesEnum.ERROR__OUT_GAME,\n });\n return;\n }\n window.history.replaceState({}, document.title, '/');\n await getInfo();\n if (isInfoReady.value) {\n updateSkipInfo();\n if (!skipInfo.value.tutorial)\n handleModal({ modalName: 'ModalRule', type: 'open' });\n }\n})();\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(tabs, (tab, tabIndex) => {\n return _createElementVNode(\"div\", {\n class: _normalizeClass(['tab', { 'tab--active': tabIndex === _unref(activeHomeTab) }]),\n key: tabIndex,\n onClick: ($event: any) => (_unref(changeTabView)(tabIndex))\n }, null, 10, _hoisted_3)\n }), 64)),\n (_unref(summonChance) > 0)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: _normalizeClass([\n 'tabs__reminder',\n { 'tabs__reminder--active': _unref(activeHomeTab) === _unref(HOME_TABS).LAYER_B },\n ])\n }, _toDisplayString(_unref(summonChance)), 3))\n : _createCommentVNode(\"\", true)\n ]),\n (_openBlock(), _createBlock(_KeepAlive, null, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(tabs[_unref(activeHomeTab)])))\n ], 1024))\n ]))\n}\n}\n\n})","import script from \"./Home.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Home.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Home.vue?vue&type=style&index=0&id=1c1e9f6a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-1c1e9f6a\"]])\n\nexport default __exports__","import { resolveDynamicComponent as _resolveDynamicComponent, openBlock as _openBlock, createBlock as _createBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.$props.modalName)))\n}","import { openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderSlot as _renderSlot, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-c1d97d40\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal\" }\nconst _hoisted_2 = { class: \"modal-main\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"modal-mask\" }, null, -1))\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", {\n class: _normalizeClass(['modal-container', `modal-container--${_ctx.type}`])\n }, [\n (_ctx.closeIcon)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"close-icon\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('close')))\n }))\n : _createCommentVNode(\"\", true),\n _renderSlot(_ctx.$slots, \"outer\", {}, undefined, true),\n _createElementVNode(\"div\", _hoisted_2, [\n _renderSlot(_ctx.$slots, \"default\", {}, undefined, true)\n ])\n ], 2),\n _hoisted_3\n ]))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'Modal',\n props: {\n type: {\n type: String,\n default: () => 'basic',\n },\n closeIcon: {\n type: Boolean,\n default: () => false,\n },\n },\n emits: ['close'],\n});\n","import { render } from \"./index.vue?vue&type=template&id=c1d97d40&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=c1d97d40&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-c1d97d40\"]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-b450d67c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"title\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, _toDisplayString(_ctx.label), 1))\n}","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n name: 'Title',\n props: {\n label: {\n type: String,\n },\n },\n});\n","import { render } from \"./Title.vue?vue&type=template&id=b450d67c&scoped=true&ts=true\"\nimport script from \"./Title.vue?vue&type=script&lang=tsx\"\nexport * from \"./Title.vue?vue&type=script&lang=tsx\"\n\nimport \"./Title.vue?vue&type=style&index=0&id=b450d67c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-b450d67c\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { normalizeClass as _normalizeClass, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-28993867\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"disabled\"]\n\nimport { withDefaults } from 'vue';\n\ntype Button = 'charging' | 'summon' | undefined;\n\ninterface Props {\n type?: Button;\n disabled?: boolean;\n}\n\n\nexport default /*#__PURE__*/_defineComponent({\n props: {\n type: null,\n disabled: { type: Boolean, default: false }\n },\n emits: ['button'],\n setup(__props: any, { emit: emits }) {\n\nconst props = __props as { type?: Button, disabled: boolean }\n\n\n\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"button\", {\n class: _normalizeClass(['modal-button', { [`modal-button--${props.type}`]: props.type }]),\n disabled: __props.disabled,\n onClick: _cache[0] || (_cache[0] = (event) => emits('button', event))\n }, null, 10, _hoisted_1))\n}\n}\n\n})","import script from \"./Button.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./Button.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./Button.vue?vue&type=style&index=0&id=28993867&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-28993867\"]])\n\nexport default __exports__","\nimport useApi from '@/hooks/useApi';\nimport services from '@/services';\n\n\nasync function useHistory() {\n const response = await useApi(services.getHistory)\n\n return {\n history: response ? response.history : []\n }\n}\n\nexport default useHistory;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, TransitionGroup as _TransitionGroup, withCtx as _withCtx, unref as _unref, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-f235c63c\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-history\" }\nconst _hoisted_2 = { class: \"table-header\" }\nconst _hoisted_3 = { class: \"row\" }\nconst _hoisted_4 = { class: \"col col--header\" }\nconst _hoisted_5 = { class: \"col col--header\" }\nconst _hoisted_6 = { class: \"modal-history__main\" }\nconst _hoisted_7 = { key: 0 }\nconst _hoisted_8 = { class: \"col\" }\nconst _hoisted_9 = { class: \"col\" }\n\nimport { onBeforeMount, ref } from 'vue';\nimport dayjs from 'dayjs';\nimport { useI18n } from 'vue-i18n';\n\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport useHistory from '@/hooks/useHistory';\nimport useModal from '@/store/modal/index';\n\ninterface History {\n rewardName: string;\n time: string;\n}\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { t } = useI18n();\n\nconst historyList = ref | null>([]);\nconst { handleModal } = useModal();\nonBeforeMount(async () => {\n const { history } = await useHistory();\n if (Array.isArray(history)) {\n historyList.value = history.map((item) => ({\n ...item,\n time: dayjs(item.time).format(t('GENERAL__EVENT_DATE_FORMAT')),\n }));\n }\n});\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, { type: \"frame-lg\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"header\", null, [\n _createVNode(Title, {\n label: _ctx.$t('MODAL_HISTORY__TITLE')\n }, null, 8, [\"label\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.$t('MODAL_HISTORY__REWARD_NAME')), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.$t('MODAL_HISTORY__DATE_TIME')), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(_TransitionGroup, { name: \"fade\" }, {\n default: _withCtx(() => [\n (historyList.value && historyList.value.length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_7, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(historyList.value, (item, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"row\",\n key: index\n }, [\n _createElementVNode(\"div\", _hoisted_8, _toDisplayString(item.rewardName), 1),\n _createElementVNode(\"div\", _hoisted_9, _toDisplayString(item.time), 1)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _createVNode(Button, {\n class: \"modal-history__button\",\n onButton: _cache[0] || (_cache[0] = ($event: any) => (_unref(handleModal)({ modalName: 'ModalHistory', type: 'close' })))\n })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalHistory.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ModalHistory.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ModalHistory.vue?vue&type=style&index=0&id=f235c63c&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f235c63c\"]])\n\nexport default __exports__","import { ref } from 'vue';\n\nfunction useTab() {\n const activeTabIdx = ref(0);\n\n function onTabClick({ tabIdx }: { tabIdx: number }): void {\n if (tabIdx === activeTabIdx.value) return;\n activeTabIdx.value = tabIdx;\n }\n return {\n activeTabIdx,\n onTabClick,\n }\n}\n\nexport default useTab;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, unref as _unref, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, normalizeStyle as _normalizeStyle, withCtx as _withCtx, createBlock as _createBlock, createVNode as _createVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e4930b70\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-rule-tabs\" }\nconst _hoisted_2 = [\"onClick\"]\nconst _hoisted_3 = { class: \"modal-rule\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"tutorial\"\n}\nconst _hoisted_5 = [\"innerHTML\"]\n\nimport { ref, toRefs } from 'vue';\n\n// lib\nimport { Swiper, SwiperSlide } from 'swiper/vue';\nimport SwiperCore, { Pagination, Navigation } from 'swiper';\nimport 'swiper/swiper-bundle.min.css';\nimport 'swiper/swiper.min.css';\n\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport useTab from '@/hooks/useTab';\nimport useModal from '@/store/modal/index';\nimport useStorage from '@/store/storage/index';\nimport useGame from '@/store/game/index';\n\nenum TAB {\n TUTORIAL = 0,\n RULE = 1,\n}\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nSwiperCore.use([Pagination, Navigation]);\n\nconst tabs = ref(['tutorial', 'rule']);\nconst { activeTabIdx, onTabClick } = useTab();\nconst { handleModal } = useModal();\nconst { updateSkipInfo, storageState } = useStorage();\nconst { gameState } = useGame();\nconst { skipInfo } = toRefs(storageState);\nconst { banner } = toRefs(gameState);\n\nfunction onCloseRule() {\n if (!skipInfo.value.tutorial) updateSkipInfo('tutorial');\n handleModal({ modalName: 'ModalRule', type: 'close' });\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, {\n type: \"rule\",\n \"close-icon\": \"\",\n onClose: onCloseRule\n }, {\n outer: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(tabs.value, (tab, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass(['tab', { 'tab--active': _unref(activeTabIdx) === index }]),\n key: tab,\n onClick: ($event: any) => (_unref(onTabClick)({ tabIdx: index }))\n }, null, 10, _hoisted_2))\n }), 128))\n ])\n ]),\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n (_unref(activeTabIdx) === TAB.TUTORIAL)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createVNode(_unref(Swiper), {\n class: \"swiper\",\n pagination: {\n type: 'custom',\n renderCustom: function (swiper, current, total) {\n return `(${current}/${total})`;\n },\n },\n navigation: \"\"\n }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(banner), (item, index) => {\n return (_openBlock(), _createBlock(_unref(SwiperSlide), { key: index }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", {\n style: _normalizeStyle({ backgroundImage: `url(${item})` }),\n class: \"image\"\n }, null, 4)\n ]),\n _: 2\n }, 1024))\n }), 128))\n ]),\n _: 1\n }, 8, [\"pagination\"])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", {\n key: 1,\n class: \"rule\",\n innerHTML: _ctx.$t('MODAL_RULE__CONTENT')\n }, null, 8, _hoisted_5))\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalRule.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ModalRule.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ModalRule.vue?vue&type=style&index=0&id=e4930b70&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e4930b70\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, normalizeClass as _normalizeClass, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0b4017c2\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"checkbox-wrapper\" }\nconst _hoisted_2 = { class: \"checkbox-container\" }\nconst _hoisted_3 = [\"id\", \"value\"]\nconst _hoisted_4 = [\"for\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"input\", {\n id: _ctx.checkboxId,\n class: \"checkbox\",\n value: _ctx.value,\n type: \"checkbox\",\n onInput: _cache[0] || (_cache[0] = (event) => _ctx.$emit('checkbox', event))\n }, null, 40, _hoisted_3),\n _createElementVNode(\"span\", {\n class: _normalizeClass(['checkbox-checkmark', { 'checkbox-checkmark--active': _ctx.value }])\n }, null, 2)\n ]),\n _createElementVNode(\"label\", { for: _ctx.checkboxId }, _toDisplayString(_ctx.label), 9, _hoisted_4)\n ]))\n}","\nimport { defineComponent } from 'vue';\nexport default defineComponent({\n name: 'Checkbox',\n props: {\n value: {\n type: [Boolean, String],\n default: () => false,\n },\n checkboxId: {\n type: String,\n default: () => '',\n },\n label: {\n type: String,\n default: () => '',\n },\n },\n emits: ['checkbox'],\n});\n","import { render } from \"./index.vue?vue&type=template&id=0b4017c2&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=0b4017c2&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0b4017c2\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-bf5e09de\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-confirm\" }\nconst _hoisted_2 = { class: \"content\" }\nconst _hoisted_3 = [\"innerHTML\"]\n\nimport { ref, toRefs } from 'vue';\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport Checkbox from '@ui/components/base/Checkbox/index.vue';\n// store\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\nimport useStorage from '@/store/storage/index';\n\nimport { ButtonType } from '@/versions/snowfan/components/base/Button/enum';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst isSkip = ref(false);\nconst { handleModal, modalState } = useModal();\nconst { chargingDraw } = useGame();\nconst { updateSkipInfo } = useStorage();\nconst { drawParams } = toRefs(modalState);\nfunction handleSkip(event: Event) {\n isSkip.value = (event.target as HTMLInputElement).checked;\n}\n\nasync function drawPrize() {\n const drawTypeMap: { [key: string]: string } = {\n [ButtonType.SINGLE]: 'singleDraw',\n [ButtonType.TEN_DRAW]: 'tenDraw',\n [ButtonType.THIRTY_DRAW]: 'thirtyDraw',\n };\n handleModal({ modalName: 'ModalConfirmDraw', type: 'close' });\n if (isSkip.value) {\n updateSkipInfo(drawTypeMap[drawParams.value.drawType]);\n }\n await chargingDraw({\n drawPrice: drawParams.value.drawPrice,\n drawAmount: drawParams.value.drawAmount,\n });\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, {\n type: \"frame\",\n \"close-icon\": \"\",\n onClose: _cache[0] || (_cache[0] = ($event: any) => (_unref(handleModal)({ modalName: 'ModalConfirmDraw', type: 'close' })))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, {\n class: \"title\",\n label: _ctx.$t('MODAL__TITLE_GENERAL')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"p\", {\n innerHTML: \n _ctx.$t('MODAL_CONFIRM__DRAW_REMINDER', {\n cost: _unref(drawParams).drawPrice,\n count: _unref(drawParams).drawAmount,\n })\n \n }, null, 8, _hoisted_3),\n _createVNode(Checkbox, {\n class: \"modal-confirm__skip\",\n value: isSkip.value,\n onCheckbox: handleSkip,\n label: _ctx.$t('CHECKBOX_LABEL__SKIP'),\n checkboxId: \"skip\"\n }, null, 8, [\"value\", \"label\"])\n ]),\n _createVNode(Button, { onButton: drawPrize })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalConfirmDraw.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./ModalConfirmDraw.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./ModalConfirmDraw.vue?vue&type=style&index=0&id=bf5e09de&scoped=true&lang=scss\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-bf5e09de\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, toDisplayString as _toDisplayString, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-ce23e9c4\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-pool\" }\nconst _hoisted_2 = { class: \"content\" }\nconst _hoisted_3 = { class: \"content__rewards\" }\nconst _hoisted_4 = { class: \"content__reward-name\" }\n\nimport { toRefs, computed } from 'vue';\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\n\nimport { LEVEL } from '@/constants/reward';\n\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { handleModal } = useModal();\nconst { gameState } = useGame();\nconst { rewardConfigs } = toRefs(gameState);\nconst rewardPool = computed(() => rewardConfigs.value.pool);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, { type: \"frame-lg\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"header\", null, [\n _createVNode(Title, {\n class: \"modal-pool__title\",\n label: _ctx.$t('MODAL_POOL__TITLE')\n }, null, 8, [\"label\"])\n ]),\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(rewardPool), (reward, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"content__reward\",\n key: index\n }, [\n _createVNode(FloatTextWrapper, {\n name: reward.rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n reward: { name: reward.rewardName, image: reward.rewardImg },\n level: _unref(LEVEL)[reward.rewardLevel],\n type: \"modal\"\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 2\n }, 1032, [\"name\"]),\n _createElementVNode(\"span\", _hoisted_4, _toDisplayString(reward.rewardName), 1)\n ]))\n }), 128))\n ])\n ]),\n _createVNode(Button, {\n class: \"modal-pool__button\",\n onButton: _cache[0] || (_cache[0] = ($event: any) => (_unref(handleModal)({ modalName: 'ModalPool', type: 'close' })))\n })\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalPool.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalPool.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalPool.vue?vue&type=style&index=0&id=ce23e9c4&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-ce23e9c4\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-0be6eb48\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-congrats\" }\nconst _hoisted_2 = { class: \"modal-congrats__subtitle\" }\nconst _hoisted_3 = { class: \"content\" }\nconst _hoisted_4 = { class: \"content__rewards\" }\nconst _hoisted_5 = { class: \"content__reward-name\" }\nconst _hoisted_6 = { class: \"modal-congrats__button\" }\n\nimport { toRefs, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\n\n// store\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\n// constants\nimport { LEVEL } from '@/constants/reward';\nimport { HOME_TABS } from '@/constants/tabs';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { t } = useI18n();\nconst { handleModal, modalState, currentOverflowPoints } = useModal();\nconst { changeTabView, gameState } = useGame();\nconst { congratsParams } = toRefs(modalState);\nconst { playerConfigs } = toRefs(gameState);\n\nconst wonSummonChance = computed(\n () => congratsParams.value.innerDrawChance > 0,\n);\nconst accumlatedSummonChance = computed(\n () => playerConfigs.value.innerDrawChance,\n);\nconst withSummonChance = computed(\n () => wonSummonChance.value || accumlatedSummonChance.value > 0,\n);\nconst computedTitle = computed(() =>\n wonSummonChance.value\n ? t('MODAL_CONGRATS__TITLE_SUMMON_CHANCE', {\n chance: congratsParams.value.innerDrawChance,\n })\n : t('MODAL_CONGRATS__TITLE'),\n);\nfunction onClose() {\n handleModal({ modalName: 'ModalCongrats', type: 'close' });\n if (currentOverflowPoints.value) {\n handleModal({ modalName: 'ModalCongratsOverflow', type: 'open' });\n return;\n }\n}\nfunction goSummon() {\n if (!withSummonChance.value) return;\n changeTabView(HOME_TABS.LAYER_B);\n onClose();\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, {\n type: \"frame-lg\",\n \"close-icon\": \"\",\n onClose: _cache[0] || (_cache[0] = ($event: any) => (_unref(handleModal)({ modalName: 'ModalCongrats', type: 'close' })))\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, {\n class: \"modal-congrats__title\",\n label: _unref(computedTitle)\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('MODAL_CONGRATS__SUBTITLE')), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(congratsParams).rewards, (reward, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"content__reward\",\n key: index\n }, [\n _createVNode(FloatTextWrapper, {\n name: reward.rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n reward: {\n name: reward.rewardName,\n image: reward.rewardImg,\n amount: reward.rewardAmount,\n },\n level: _unref(LEVEL)[reward.rewardLevel],\n type: \"modal\"\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 2\n }, 1032, [\"name\"]),\n _createElementVNode(\"span\", _hoisted_5, _toDisplayString(reward.rewardName), 1)\n ]))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(Button, {\n type: \"summon\",\n disabled: !_unref(withSummonChance),\n onButton: goSummon\n }, null, 8, [\"disabled\"]),\n _createVNode(Button, {\n type: \"charging\",\n onButton: onClose\n })\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalCongrats.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalCongrats.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalCongrats.vue?vue&type=style&index=0&id=0be6eb48&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-0be6eb48\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, unref as _unref, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-69a385f5\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-milestone\" }\nconst _hoisted_2 = { class: \"modal-milestone__subtitle\" }\nconst _hoisted_3 = { class: \"content\" }\nconst _hoisted_4 = { class: \"content__rewards\" }\nconst _hoisted_5 = { class: \"content__reward\" }\nconst _hoisted_6 = { class: \"content__reward-amount\" }\nconst _hoisted_7 = { class: \"content__reward-name\" }\nconst _hoisted_8 = { class: \"modal-milestone__button\" }\n\nimport { toRefs, computed } from 'vue';\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\n\n// store\nimport useModal from '@/store/modal/index';\n\n// constants\nimport { LEVEL } from '@/constants/reward';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { handleModal, modalState } = useModal();\n\nconst { milestoneParams } = toRefs(modalState);\nconst reward = computed(() => milestoneParams.value.reward);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, { type: \"frame-md\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, {\n class: \"modal-milestone__title\",\n label: _ctx.$t('MODAL_MILESTONE__TITLE')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('MODAL_CONGRATS__SUBTITLE')), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createVNode(FloatTextWrapper, {\n name: _unref(reward).rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n reward: { name: _unref(reward).rewardName, image: _unref(reward).rewardImg },\n level: _unref(LEVEL)[_unref(reward).rewardLevel],\n type: \"modal\"\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 1\n }, 8, [\"name\"]),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_unref(reward).rewardAmount), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_unref(reward).rewardName), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(Button, {\n onButton: _cache[0] || (_cache[0] = ($event: any) => (\n _unref(handleModal)({ modalName: 'ModalGotMilestone', type: 'close' })\n ))\n })\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalGotMilestone.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalGotMilestone.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalGotMilestone.vue?vue&type=style&index=0&id=69a385f5&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-69a385f5\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createVNode as _createVNode, toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-6e493d46\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-summon\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"modal-summon__subtitle\"\n}\nconst _hoisted_3 = { class: \"modal-summon__subtitle\" }\nconst _hoisted_4 = { class: \"content\" }\nconst _hoisted_5 = { class: \"content__rewards\" }\nconst _hoisted_6 = { class: \"content__reward\" }\nconst _hoisted_7 = { class: \"content__reward-amount\" }\nconst _hoisted_8 = { class: \"content__reward-name\" }\nconst _hoisted_9 = { class: \"modal-summon__button\" }\n\nimport { toRefs, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\n\n// store\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\n// constants\nimport { LEVEL } from '@/constants/reward';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { t } = useI18n();\nconst { handleModal, showCongratsSummonModal, modalState } = useModal();\nconst { gameState } = useGame();\n\nconst { congratsSummonParams } = toRefs(modalState);\nconst { playerConfigs } = toRefs(gameState);\nconst remainingRounds = computed(() => playerConfigs.value.remainRounds);\nconst reward = computed(() => congratsSummonParams.value.reward);\nconst jackpot = computed(() => congratsSummonParams.value.jackpot);\n\nconst computedTitle = computed(() =>\n congratsSummonParams.value.withJackpotTitle\n ? t('MODAL_CONGRATS_SUMMON__TITLE_JACKPOT')\n : t('MODAL_CONGRATS_SUMMON__TITLE'),\n);\n\nfunction handleClose() {\n handleModal({ modalName: 'ModalCongratsSummon', type: 'close' });\n if (jackpot.value) {\n // if jackpot is true, means this modal will show again for displaying jackpot\n // and current display is normal reward.\n showCongratsSummonModal({\n reward: jackpot.value,\n jackpot: null,\n withJackpotTitle: true,\n });\n }\n}\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, { type: \"frame-md\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, {\n class: \"modal-summon__title\",\n label: _unref(computedTitle)\n }, null, 8, [\"label\"]),\n (_unref(remainingRounds) !== null && _unref(congratsSummonParams).withJackpotTitle)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(_ctx.$t('MODAL_CONGRATS_SUMMON__RESET_REMINDER')), 1))\n : _createCommentVNode(\"\", true),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.$t('MODAL_CONGRATS__SUBTITLE')), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createVNode(FloatTextWrapper, {\n name: _unref(reward).rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n reward: { name: _unref(reward).rewardName, image: _unref(reward).rewardImg },\n level: _unref(LEVEL)[_unref(reward).rewardLevel],\n type: \"modal\"\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 1\n }, 8, [\"name\"]),\n _createElementVNode(\"div\", _hoisted_7, _toDisplayString(_unref(reward).rewardAmount), 1),\n _createElementVNode(\"span\", _hoisted_8, _toDisplayString(_unref(reward).rewardName), 1)\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createVNode(Button, { onButton: handleClose })\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalCongratsSummon.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalCongratsSummon.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalCongratsSummon.vue?vue&type=style&index=0&id=6e493d46&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-6e493d46\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, unref as _unref, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-3d8748ce\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-overflow\" }\nconst _hoisted_2 = [\"innerHTML\"]\nconst _hoisted_3 = { class: \"modal-overflow__subtitle\" }\nconst _hoisted_4 = { class: \"content\" }\nconst _hoisted_5 = { class: \"content__rewards\" }\nconst _hoisted_6 = { class: \"content__reward-amount\" }\nconst _hoisted_7 = { class: \"content__reward-name\" }\nconst _hoisted_8 = { class: \"modal-overflow__button\" }\n\nimport { toRefs } from 'vue';\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport FloatTextWrapper from '@ui/components/FloatText/ClickItem.vue';\nimport Reward from '@ui/components/base/Reward/index.vue';\n\n// store\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\n// constants\nimport { LEVEL } from '@/constants/reward';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { handleModal, currentOverflowPoints } = useModal();\nconst { gameState } = useGame();\n\nconst { overflowPointReward } = toRefs(gameState);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createBlock(Modal, { type: \"frame-md\" }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(Title, {\n class: \"modal-overflow__title\",\n label: _ctx.$t('MODAL_CONGRATS__TITLE')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", {\n class: \"modal-overflow__description\",\n innerHTML: \n _ctx.$t('MODAL_CONGRATS__OVERFLOW_POINTS_DESCRIPTION', {\n nums: _unref(currentOverflowPoints),\n prize: `${_unref(overflowPointReward).rewardName} x${_unref(currentOverflowPoints)}`,\n })\n \n }, null, 8, _hoisted_2),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.$t('MODAL_CONGRATS__SUBTITLE')), 1),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(currentOverflowPoints), (_, index) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: \"content__reward\",\n key: index\n }, [\n _createVNode(FloatTextWrapper, {\n name: _unref(overflowPointReward).rewardName\n }, {\n default: _withCtx(() => [\n _createVNode(Reward, {\n reward: {\n name: _unref(overflowPointReward).rewardName,\n image: _unref(overflowPointReward).rewardImg,\n },\n level: _unref(LEVEL)[_unref(overflowPointReward).rewardLevel],\n type: \"modal\"\n }, null, 8, [\"reward\", \"level\"])\n ]),\n _: 1\n }, 8, [\"name\"]),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_unref(overflowPointReward).rewardAmount), 1),\n _createElementVNode(\"span\", _hoisted_7, _toDisplayString(_unref(overflowPointReward).rewardName), 1)\n ]))\n }), 128))\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_8, [\n _createVNode(Button, {\n onButton: _cache[0] || (_cache[0] = ($event: any) => (\n _unref(handleModal)({ modalName: 'ModalCongratsOverflow', type: 'close' })\n ))\n })\n ])\n ])\n ]),\n _: 1\n }))\n}\n}\n\n})","import script from \"./ModalCongratsOverflow.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ModalCongratsOverflow.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ModalCongratsOverflow.vue?vue&type=style&index=0&id=3d8748ce&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-3d8748ce\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-9bf4b050\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"modal-error\" }\nconst _hoisted_2 = { class: \"content\" }\nconst _hoisted_3 = { class: \"footer\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_Title = _resolveComponent(\"Title\")!\n const _component_Button = _resolveComponent(\"Button\")!\n const _component_Modal = _resolveComponent(\"Modal\")!\n\n return (_openBlock(), _createBlock(_component_Modal, {\n \"close-icon\": _ctx.isClosable,\n onClose: _ctx.handleClose,\n type: \"frame\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_Title, {\n class: \"modal-error__title\",\n label: _ctx.t('MODAL__TITLE_GENERAL')\n }, null, 8, [\"label\"]),\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.error), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _withDirectives(_createElementVNode(\"div\", { class: \"error-code\" }, \" Error Code: \" + _toDisplayString(_ctx.errorCode), 513), [\n [_vShow, _ctx.errorCode > 0]\n ]),\n (_ctx.isClosable)\n ? (_openBlock(), _createBlock(_component_Button, {\n key: 0,\n class: \"button\",\n label: _ctx.t('BUTTON__CONFIRM'),\n onButton: _ctx.handleClose\n }, null, 8, [\"label\", \"onButton\"]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]),\n _: 1\n }, 8, [\"close-icon\", \"onClose\"]))\n}","\nimport { defineComponent, toRefs, computed } from 'vue';\nimport { useI18n } from 'vue-i18n';\n\n// components\nimport Modal from '@ui/components/base/Modal/index.vue';\nimport Button from '@ui/components/base/Modal/Button.vue';\nimport Title from '@ui/components/base/Modal/Title.vue';\n\n// store\nimport useModal from '@/store/modal/index';\nimport useGame from '@/store/game/index';\n\nconst nonCloseList = [\n 'ERROR__GAME_LOGIN_FAILED',\n 'ERROR__GOP_LOGIN_FAILED',\n 'ERROR__NOT_EVENT_PERIOD',\n 'ERROR__UNDER_MAINTENANCE',\n];\n\nexport default defineComponent({\n name: 'ModalError',\n components: {\n Modal,\n Button,\n Title,\n },\n setup() {\n const { modalState, handleModal } = useModal();\n const { gameState } = useGame();\n const { errorMessage, errorCode } = toRefs(modalState);\n const { t } = useI18n();\n\n const isClosable = computed(\n () => !nonCloseList.includes(errorMessage.value) && gameState.isInfoReady,\n );\n\n function handleClose() {\n if (isClosable.value) {\n handleModal({ type: 'close', modalName: 'ModalError' });\n }\n }\n\n const error = computed(() => {\n return typeof errorMessage.value !== 'string'\n ? t('ERROR__SERVER_ERROR')\n : t(errorMessage.value);\n });\n\n return {\n t,\n isClosable,\n handleClose,\n error,\n errorCode,\n };\n },\n});\n","import { render } from \"./ModalError.vue?vue&type=template&id=9bf4b050&scoped=true&ts=true\"\nimport script from \"./ModalError.vue?vue&type=script&lang=ts\"\nexport * from \"./ModalError.vue?vue&type=script&lang=ts\"\n\nimport \"./ModalError.vue?vue&type=style&index=0&id=9bf4b050&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-9bf4b050\"]])\n\nexport default __exports__","\nimport { defineComponent } from 'vue';\nimport ModalHistory from '@ui/components/ComposeModal/ModalHistory.vue';\nimport ModalRule from '@ui/components/ComposeModal/ModalRule.vue';\nimport ModalConfirmDraw from '@ui/components/ComposeModal/ModalConfirmDraw.vue';\nimport ModalPool from '@ui/components/ComposeModal/ModalPool.vue';\nimport ModalCongrats from '@ui/components/ComposeModal/ModalCongrats.vue';\nimport ModalGotMilestone from '@ui/components/ComposeModal/ModalGotMilestone.vue';\nimport ModalCongratsSummon from '@ui/components/ComposeModal/ModalCongratsSummon.vue';\nimport ModalCongratsOverflow from '@ui/components/ComposeModal/ModalCongratsOverflow.vue';\nimport ModalError from '@ui/components/ComposeModal/ModalError.vue';\n\nexport default defineComponent({\n name: 'ModalWrapper',\n props: {\n modalName: String,\n },\n components: {\n ModalCongrats,\n ModalHistory,\n ModalRule,\n ModalConfirmDraw,\n ModalPool,\n ModalGotMilestone,\n ModalCongratsSummon,\n ModalCongratsOverflow,\n ModalError,\n },\n});\n","import { render } from \"./index.vue?vue&type=template&id=5e765fd4&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nimport { toRefs, ref, watch } from 'vue';\nimport useFloatText from '@/store/floatText/index';\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst isAdjustPosition = ref(false);\nconst floatText = ref(null);\n\nconst { floatTextState } = useFloatText();\nconst { text, left, top, showFloatText } = toRefs(floatTextState);\n\nwatch(\n () => left.value,\n (newVal) => {\n if (newVal && floatText.value) {\n isAdjustPosition.value =\n floatText.value.clientWidth + newVal > document.body.clientWidth;\n }\n },\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n class: _normalizeClass([\n 'float-text',\n {\n 'float-text--show': _unref(showFloatText),\n 'float-text--adjust': isAdjustPosition.value,\n },\n ]),\n style: _normalizeStyle({ top: `${_unref(top)}px`, left: `${_unref(left)}px` }),\n ref: (_value, _refs) => {\n _refs['float-text'] = _value\n }\n }, _toDisplayString(_unref(text)), 7))\n}\n}\n\n})","import script from \"./index.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./index.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./index.vue?vue&type=style&index=0&id=03e80379&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createTextVNode as _createTextVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-e59a3786\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"event-info\" }\nconst _hoisted_2 = { class: \"event-info__time\" }\nconst _hoisted_3 = { class: \"event-info__cp\" }\nconst _hoisted_4 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"icon\" }, null, -1))\n\nimport { toRefs, computed } from 'vue';\nimport dayjs from 'dayjs';\nimport useGame from '@/store/game/index';\nimport { useI18n } from 'vue-i18n';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { t } = useI18n();\n\nconst { gameState } = useGame();\nconst { endTime, playerConfigs } = toRefs(gameState);\nconst balance = computed(() => playerConfigs.value.balance);\nconst eventEndTime = computed(\n () => `${t('GENERAL__EVENT_END_TIME')}${dayjs(endTime.value).format(\n t('GENERAL__EVENT_DATE_FORMAT'),\n )}\n `,\n);\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_unref(eventEndTime)), 1),\n _createElementVNode(\"div\", _hoisted_3, [\n _hoisted_4,\n _createTextVNode(\" \" + _toDisplayString(_unref(balance)), 1)\n ])\n ]))\n}\n}\n\n})","import script from \"./EventInfo.vue?vue&type=script&lang=ts&setup=true\"\nexport * from \"./EventInfo.vue?vue&type=script&lang=ts&setup=true\"\n\nimport \"./EventInfo.vue?vue&type=style&index=0&id=e59a3786&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e59a3786\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, normalizeClass as _normalizeClass, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-7ca2025b\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"loading\" }\nconst _hoisted_2 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"loading__mask\" }, null, -1))\nconst _hoisted_3 = { class: \"loading-circle\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _hoisted_2,\n _createElementVNode(\"div\", _hoisted_3, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList(12, (item) => {\n return _createElementVNode(\"div\", {\n key: item,\n class: _normalizeClass(['loading-child', `loading-circle${item}`])\n }, null, 2)\n }), 64))\n ])\n ]))\n}","\nimport { defineComponent } from 'vue';\nexport default defineComponent({\n name: 'Loading',\n});\n","import { render } from \"./index.vue?vue&type=template&id=7ca2025b&scoped=true&ts=true\"\nimport script from \"./index.vue?vue&type=script&lang=ts\"\nexport * from \"./index.vue?vue&type=script&lang=ts\"\n\nimport \"./index.vue?vue&type=style&index=0&id=7ca2025b&lang=scss&scoped=true\"\n\nimport exportComponent from \"/builds/webtw/tlg.mbm.garena.all/frontend/node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7ca2025b\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createVNode as _createVNode, createElementVNode as _createElementVNode, unref as _unref, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createBlock as _createBlock, TransitionGroup as _TransitionGroup, withCtx as _withCtx, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = { class: \"main\" }\nconst _hoisted_2 = /*#__PURE__*/_createElementVNode(\"div\", { class: \"snow-man\" }, null, -1)\n\nimport { toRefs } from 'vue';\nimport { i18n } from '@/i18n';\n\n// components\nimport Home from '@ui/views/Home.vue';\nimport Modal from '@ui/components/ComposeModal/index.vue';\nimport FloatText from '@ui/components/FloatText/index.vue';\nimport EventInfo from '@ui/components/EventInfo.vue';\nimport Loading from '@ui/components/base/Loading/index.vue';\n\n// store\nimport useModal from '@/store/modal/index';\nimport useLoading from '@/store/loading/index';\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst { modalState } = useModal();\nconst { loadingState } = useLoading();\nconst { modals } = toRefs(modalState);\nconst { loadLocale } = i18n();\n\nloadLocale(process.env.LOCALE || '');\n\nreturn (_ctx: any,_cache: any) => {\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(Home),\n _createVNode(EventInfo),\n _hoisted_2,\n _createVNode(FloatText),\n _createVNode(_TransitionGroup, { name: \"modal\" }, {\n default: _withCtx(() => [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_unref(modals), (modalName) => {\n return (_openBlock(), _createBlock(Modal, {\n class: \"modal\",\n \"modal-name\": modalName,\n key: modalName\n }, null, 8, [\"modal-name\"]))\n }), 128))\n ]),\n _: 1\n }),\n (_unref(loadingState).isLoading)\n ? (_openBlock(), _createBlock(Loading, { key: 0 }))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=40ee3fe7&lang=scss\"\n\nconst __exports__ = script;\n\nexport default __exports__","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalRule.vue?vue&type=style&index=0&id=e4930b70&lang=scss&scoped=true\"","import { createI18n, useI18n } from 'vue-i18n';\nimport messages from './node';\n\nconst langMap = JSON.parse(process.env.LANG_MAP || '');\nconst regionPostfix =\n process.env.REGION === 'sg' ? '' : `-${process.env.REGION}`;\n\nconst loadedLocales = {};\n\nconst fetchMessage = async (locale) => {\n try {\n const res = await fetch(\n `https://rosetta${regionPostfix}.garenanow.com/transify/${process.env.TRANSIFY_ID}?lang=${langMap[locale]}`,\n );\n if (res.status === 200) {\n return res.json();\n }\n throw Error(`Fetch Rosetta failed with status ${res.status}`);\n } catch (e) {\n // eslint-disable-next-line no-console\n console.warn('Referring to local translation due to', e);\n return messages[locale];\n }\n};\n\nexport const i18n = () => {\n const { locale, setLocaleMessage } = useI18n();\n\n const setLocale = (newLocale) => {\n locale.value = newLocale;\n };\n\n const loadLocale = async (newLocale) => {\n if (newLocale in loadedLocales) {\n return setLocale(newLocale);\n }\n const message = await fetchMessage(newLocale);\n setLocaleMessage(newLocale, message);\n return setLocale(newLocale);\n };\n\n return { ...useI18n(), loadLocale };\n};\n\nexport default createI18n({\n legacy: false,\n locale: process.env.LOCALE,\n fallbackLocale: process.env.LOCALE,\n globalInjection: true,\n messages,\n});\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=253b1d0e&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Milestone.vue?vue&type=style&index=0&id=10d7edf3&lang=scss&scoped=true\"","exports['tw'] = {\"GENERAL__EVENT_DATE_FORMAT\":\"YYYY/MM/DD HH:mm\",\"ERROR__SERVER_ERROR\":\"伺服器忙碌,請重新開啟頁面\",\"ERROR__BAD_REQUEST\":\"資訊錯誤,請重新開啟活動頁面\",\"BUTTON__DRAW_REMAINING\":\"還剩 {times} 次\",\"GENERAL__ROUND_REMINDER\":\"剩餘刷新次數:{round}/02\",\"ERROR__UNDER_MAINTENANCE\":\"維護中,請稍後重試\",\"ERROR__GAME_LOGIN_FAILED\":\"鑒權失敗,請使用客戶端開啟並重試\",\"FREE_DRAW_REMINDER\":\"下次免費時間:{time}\",\"CHECKBOX_LABEL__SKIP\":\"之後不再提醒\",\"ERROR__NOT_EVENT_PERIOD\":\"目前非活動期間,請在活動期間重試\",\"ERROR__GOP_LOGIN_FAILED\":\"鑒權失敗,請使用客戶端開啟並重試\",\"MODAL_POOL__TITLE\":\"召喚獎池內容\",\"MODAL_CONGRATS__TITLE\":\"恭喜獲得\",\"MILESTONE__REQUIREMENT\":\"累積
{token}個\",\"ERROR__NO_VALID_INNER_DRAW\":\"暗器數量不足,請前往血玉累積暗器數量\",\"MODAL_CONGRATS__TITLE_SUMMON_CHANCE\":\"恭喜獲得{chance}次召喚機會與以下獎勵\",\"MODAL_HISTORY__TITLE\":\"歷史紀錄\",\"BUTTON__POOL\":\"獎池內容\",\"MODAL_RULE__CONTENT\":\"
  • 活動時間:2025/3/5 12:00 - 2025/4/1 23:59
  • 活動規則
    \\n1. 玩家可自由選擇血玉次數,血玉 1 次花費 50 點券或是血玉 10 次花費 450 點券以及血玉 30 次 1300 點券。
    \\n2. 本活動設有每日「免費血玉」按鈕,使用後需等候至隔天早上 5:00 才可再次使用。
    \\n3. 收集滿指定血玉,可以獲得暗器,用來召喚寶藏。(召喚寶藏所需要的總暗器數分別為 3/7/12/18/25/33/43/55/69/85 個)
    \\n4. 血玉獎勵將會直接寄送至遊戲信箱。
    \\n5. 遊戲內上限信件數量為 200 封,超過 200 封會在前面的獎勵領取完並刪除信件之後收到。
    \\n6. 活動期間累積滿指定暗器個數 (3/5/8/12/15/24/32/45/60/92/100/120 個),可以額外獲得里程碑獎勵。
    \\n7. 一輪召喚寶藏共 10 個,不會抽取到重複獎勵,全部抽取後可以額外獲得該輪最終大獎並進入第二輪召喚寶藏,活動共三輪。
    \\n
  • 活動注意事項
    \\n1. 使用手機與 PC 端皆可進入活動。
    \\n2. 活動結束時,若有剩餘的召喚寶藏次數,會直接協助抽取並發送至玩家信箱。
    \\n3. 若玩家已獲取完成所有寶藏召喚所需的暗器量,多餘的機巧將轉換成綁點 (每個額外機巧換成 30 綁點) 退還給玩家。
    \\n4. 此活動獲得的道具為綁定狀態,僅星·元寶匣、隕焰之石與玲瓏爐可上架世界拍賣。
    \\n5. 此活動進行血玉無法獲得天賞積分,而天賞福利禮盒裡內含天賞積分5000+1000綁點。
    \\n
  • \\n
  • 獎勵內容
    \\n1. 血玉獎勵與機率
    \\n- 神品心法自選禮·參 * 1: 0.86%
    \\n- 高級材料自選禮盒 * 1: 0.17%
    \\n- 神俠招募令 * 4: 1.37%
    \\n- 中級材料自選禮盒 * 4: 0.34%
    \\n- 繪彩寶匣 * 6: 1.37%
    \\n- 神魄 * 10: 17.12%
    \\n- 綰青絲染劑禮盒 * 2: 6.85%
    \\n- 初級材料自選禮盒 * 1: 3.43%
    \\n- 五色琉璃 * 5: 13.70%
    \\n- 緣材·進 * 1: 3.43%
    \\n- 500銀兩 * 1: 17.12%
    \\n- 基礎材料自選禮盒 * 5: 17.12%
    \\n- 碎銀 * 30萬 : 17.12%
    \\n
    \\n2. 寶藏召喚獎勵
    \\n- 星·元寶匣 * 25(可交易): 0.28%
    \\n- 玲瓏爐寶匣 * 6(可交易): 0.28%
    \\n- 隕焰之石寶匣 * 5(可交易): 0.28%
    \\n- 高級材料自選禮盒 * 25: 2.75%
    \\n- 萬用傳奇神兵寶匣 * 6: 5.51%
    \\n- 天涯令·四 * 2: 11.02%
    \\n- 煥彩之砂 * 150: 11.02%
    \\n- 中級材料自選禮盒 * 30: 27.55%
    \\n- 神俠招募令 * 40: 27.55%
    \\n- 繪彩寶匣 * 40: 13.77%
    \\n
    \\n3. 里程碑獎勵與達成所需暗器數
    \\n- 繪彩寶匣 * 10: 3 個暗器
    \\n- 黟山松雲頭像框 * 1: 5 個暗器
    \\n- 黟山松雲聊天氣泡 * 1: 8 個暗器
    \\n- 天涯令-四 * 3: 12 個暗器
    \\n- 天賞福利禮盒 * 1: 15 個暗器
    \\n- 萬象神兵質料 * 3: 24 個暗器
    \\n- 萬用傳奇神兵寶匣 * 3: 32 個暗器
    \\n- 天賞福利禮盒 * 3: 45 個暗器
    \\n- 珍稀髮型自選禮3 * 1: 60 個暗器
    \\n- 綾青絲·冰淩 * 10: 92 個暗器
    \\n- 天涯令·五 * 1: 100 個暗器
    \\n- 天賞福利禮盒 * 6: 120 個暗器
    \\n
    \\n4. 最終大獎
    \\n- 珍稀特效自選禮2 * 1
    \\n- 至尊材料自選禮盒 * 2
    \\n- 至尊材料自選禮盒 * 3
    \\n
  • 注意事項
    \\n本活動須於活動期限內,達成活動指定之條件,才具活動參加、獎項兌換領取之資格。實際任務達成之計算、官方伺服器開放時間均依據《天涯明月刀 M》伺服器、資料庫之數據為準;活動虛寶獎項所呈現之效果,應以遊戲內實際設定為準。
    \\n
    \\n本活動之參加者應依活動規則進行獎項抽取、蒐集及兌換,本活動各個獎項的中獎機率不一,消費者購買或參與活動不代表即可獲得特定商品,請妥善評估再行參加或購買,如對於中獎機率有任何異議,切勿參加本活動。
    \\n因應「防止兒少過度購買遊戲點數(卡)自律行動」政策,凡未成年人於實體通路購買遊戲點數面額為新台幣 1000 元以上者,應由家長陪同購買。
    \\n
    \\n兌換、領取虛寶獎項前,請確認郵件、背包是否有足夠空間,避免因空間不足,以致無法領取虛寶獎項;如因郵件、背包空間不足發生無法領取,或導致物品消失之情況,則不另作補償。
    \\n
    \\n本活動網頁與虛寶獎項均設有領獎及使用期限,請盡速兌換及領取;如未兌換、未領取之獎項即視為失效,無法重新兌換及使用,亦不另做其他補償;本活動之參加、得獎資格及獎項均不得轉讓予任何第三人或轉移至其他帳號,一經兌換即無法進行回復、退換貨、轉移,亦不得要求轉換為現金、遊戲點數/幣值、紅利,或更換其他商品及權益。
    \\n
    如有任何因手機、平板、電腦、網路、電話、技術或不可歸責於本活動主辦單位之事由,若因觸犯遊戲規章遭受凍結處份、個人線路不穩、個人操作不慎或錯誤、未依遊戲設定完整操作、伺服器維護、導致斷線、連接失敗等問題,而使系統誤送活動訊息或得獎通知,或使參加者所寄出或登錄之資料有延遲、遺失、錯誤、無法辨識或毀損之情況,而影響活動參與,本公司均不負責,活動照常舉行,不另做補償。
    \\n本公司有權檢視各參加者之活動參與行為及得獎情形是否涉嫌例:人為操作、惡意灌票(投票活動要寫)、蓄意偽造、多開(重)帳號、短時間異常多筆參與行為、透過任何電腦程式參與活動、詐欺、任何違反會員系統服務合約及停權管理規章之情事者,或以任何其他不正當的方式意圖以進行不實或虛偽活動參與行為,參加者因上述情形所獲得之活動資格及獎項,本公司得一概取消之。
    \\n
    \\n本活動各項辦法及規定,以活動網站公告及本公司官方說明為準,本公司擁有本活動隨時及最終保留、變更、修改、或撤回、取消獎項發送等之權利,若因遇不可抗力之因素,本活動將有一部或全部暫停、延後舉辦或取消之權利。如有其他未盡事宜,本公司有權隨時補充或修正,並以最新公告為主。
    \\n參加者於參加本活動之同時,即同意接受本活動之活動辦法與注意事項之規範,如不同意或有違反,應視為無參加資格 ,或本公司得取消其得獎資格,如因此有致生損害於本公司或其他任何第三人,本公司得向參加者請求損害賠償,參加者應負一切相關責任。
    \\n
  • 其他獎勵細節與注意事項請參閱官網公告。
\",\"ERROR__SERVER_BUSY\":\"伺服器忙碌,請稍後重試\",\"BUTTON__HISTORY\":\"領獎紀錄\",\"MODAL_CONGRATS_SUMMON__TITLE_JACKPOT\":\"恭喜獲得最終大獎\",\"TIPS__TAP_TO_SKIP_CHARGING\":\"血玉中...再點擊一次螢幕跳過動畫\",\"ERROR__REACH_MAX_TOKEN\":\"您已經獲得所有暗器\",\"TIPS__ACHIEVE_TARGET_LEFT\":\"還剩 {times} 次召喚以獲得最終獎勵\",\"MODAL__TITLE_GENERAL\":\"提醒\",\"MODAL_MILESTONE__TITLE\":\"獲得里程碑獎勵\",\"MODAL_HISTORY__REWARD_NAME\":\"道具名稱\",\"MODAL_CONGRATS_SUMMON__TITLE\":\"恭喜獲得大獎\",\"ERROR__FRONT_END_ERROR\":\"請重新整理頁面\",\"BUTTON__CHARGE_PRICE\":\"{price}點卷\",\"ERROR__MILESTONE_UNAVAILABLE\":\"領取獎勵所需暗器不足\",\"GENERAL__CLAIMED\":\"已獲得\",\"GENERAL__EVENT_END_TIME\":\"活動結束時間:\",\"MODAL_CONGRATS__OVERFLOW_POINTS_DESCRIPTION\":\"多出來的x{nums},已轉換成{prize}\",\"ERROR__CHARGE_DRAW_FULL\":\"血玉已達上限\",\"MODAL_CONFIRM__DRAW_REMINDER\":\"是否花費{cost}點卷進行{count}次血玉\",\"BUTTON__SUMMON_REMINDER\":\"再{token}個
可進行{count}次\\n召喚\",\"ERROR__ALREADY_CLAIMED\":\"您已經領過此里程碑獎勵\",\"MODAL_CONGRATS_SUMMON__RESET_REMINDER\":\"獎勵即將刷新\",\"ERROR__INSUFFICIENT_BALANCE\":\"點券不足\",\"MODAL_HISTORY__DATE_TIME\":\"獲獎日期\",\"MODAL_CONGRATS__SUBTITLE\":\"(獎勵將以信件傳送給少俠)\"}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./App.vue?vue&type=style&index=0&id=40ee3fe7&lang=scss\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./PriceButton.vue?vue&type=style&index=0&id=7b706148&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalCongratsOverflow.vue?vue&type=style&index=0&id=3d8748ce&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ClickItem.vue?vue&type=style&index=0&id=b206fed8&lang=scss\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=6be731d3&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Button.vue?vue&type=style&index=0&id=28993867&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Home.vue?vue&type=style&index=0&id=1c1e9f6a&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalCongrats.vue?vue&type=style&index=0&id=0be6eb48&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./EventInfo.vue?vue&type=style&index=0&id=e59a3786&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=03e80379&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./MilestoneItem.vue?vue&type=style&index=0&id=51f3529d&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalError.vue?vue&type=style&index=0&id=9bf4b050&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=0b4017c2&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=1111db26&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Title.vue?vue&type=style&index=0&id=b450d67c&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalHistory.vue?vue&type=style&index=0&id=f235c63c&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=f1bd84a2&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalPool.vue?vue&type=style&index=0&id=ce23e9c4&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalCongratsSummon.vue?vue&type=style&index=0&id=6e493d46&lang=scss&scoped=true\"","export default () => {\n // force single page application\n function setRootFontSize() {\n // designSafeArea = 1334px * 660px (landscape NOT include browser nav 90px)\n const designSafeWidth = 1334;\n const designSafeHeight = 660;\n\n const vmax = Math.max(window.innerHeight, window.innerWidth);\n const vmin = Math.min(window.innerHeight, window.innerWidth);\n const vmaxToFontSize = (vmax / designSafeWidth) * 100;\n const vminToFontSize = (vmin / designSafeHeight) * 100;\n const fontSize = Math.min(vmaxToFontSize, vminToFontSize, 100);\n\n // set root font size and html viewport\n const elem = document.documentElement;\n elem.style.fontSize = `${fontSize}px`;\n elem.style.height = `${vmin}px`;\n elem.style.width = `${vmax}px`;\n }\n\n let resetTimer: null | NodeJS.Timeout;\n function resetRootFontSize() {\n if (resetTimer) {\n clearTimeout(resetTimer);\n }\n resetTimer = setTimeout(() => {\n setRootFontSize();\n }, 200);\n }\n\n setRootFontSize();\n window.addEventListener('orientationchange', resetRootFontSize);\n};\n","import { createApp } from 'vue';\n// import App from '@/App.vue';\nimport i18n from '@/i18n';\nimport '@/preloader';\nimport '@/styles/global.scss';\nimport setupLayout from '@/layout';\nconst App = require(`./versions/${process.env.LAYOUT}/App.vue`).default;\n\nsetupLayout();\n\nconst app = createApp(App).use(i18n).mount('#app');\n\nif (process.env.NODE_ENV === 'production') {\n (window as any).Sentry.init({\n app,\n dsn: 'https://8df7e375cf264f3dbd180cf0cd4fd1f6@pub.sentry.web.garenanow.com/179',\n tracesSampleRate: 1.0,\n logErrors: true,\n trackComponents: true,\n });\n}\n","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=7ca2025b&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=11547990&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=96435ef2&lang=scss&scoped=true\"","export * from \"-!../../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./index.vue?vue&type=style&index=0&id=c1d97d40&lang=scss&scoped=true\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalConfirmDraw.vue?vue&type=style&index=0&id=bf5e09de&scoped=true&lang=scss\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./ModalGotMilestone.vue?vue&type=style&index=0&id=69a385f5&lang=scss&scoped=true\"","/*\n * image preloader\n */\n\n/* eslint-disable global-require */\nconst images: string[] = [\n `${process.env.CDN}/img/btn_red_01.png`,\n `${process.env.CDN}/img/btn_red_02.png`,\n `${process.env.CDN}/img/btn_red_03.png`,\n `${process.env.CDN}/img/btn_t01.png`,\n `${process.env.CDN}/img/btn_t02.png`,\n `${process.env.CDN}/img/btn_t03.png`,\n `${process.env.CDN}/img/btn_t04.png`,\n `${process.env.CDN}/img/btn_t05.png`,\n `${process.env.CDN}/img/btn_t06.png`,\n `${process.env.CDN}/img/btn_yelloe.png`,\n `${process.env.CDN}/img/count_01.png`,\n `${process.env.CDN}/img/count_02.png`,\n `${process.env.CDN}/img/frame_got.png`,\n `${process.env.CDN}/img/frame_ing.png`,\n `${process.env.CDN}/img/tab_01.png`,\n `${process.env.CDN}/img/tab_01_active.png`,\n `${process.env.CDN}/img/tab_02.png`,\n `${process.env.CDN}/img/tab_02_active.png`,\n `${process.env.CDN}/img/pop/pop_bg_01.png`,\n `${process.env.CDN}/img/pop/pop_bg_02.png`,\n `${process.env.CDN}/img/pop/pop_bg_03.png`,\n `${process.env.CDN}/img/pop/pop_bg_04.png`,\n `${process.env.CDN}/img/pop/pop_tab_01_off.png`,\n `${process.env.CDN}/img/pop/pop_tab_01_on.png`,\n `${process.env.CDN}/img/pop/pop_tab_02_on.png`,\n `${process.env.CDN}/img/pop/pop_tab_02_off.png`,\n `${process.env.CDN}/img/ball.png`,\n `${process.env.CDN}/img/animations/ball_sprite.png`,\n];\n\nimages.forEach((image) => {\n new Image().src = image;\n});\n"],"sourceRoot":""}