{"version":3,"sources":["webpack:///b-loader.js","webpack:///webpack/bootstrap 29322390610edb929732","webpack:///./babel/app/loader.js","webpack:///./config/themes.yaml","webpack:///./themes/tr/config.js","webpack:///./themes/tr/img/logo-title@2x.png"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","_classCallCheck","instance","Constructor","TypeError","value","__WEBPACK_IMPORTED_MODULE_0_sass_game__","__WEBPACK_IMPORTED_MODULE_1_themes__","__WEBPACK_IMPORTED_MODULE_1_themes___default","_createClass","defineProperties","target","props","length","descriptor","writable","key","protoProps","staticProps","Loader","this","gameCode","UTIL","getQueryParam","themeCode","getTheme","window","__themeCode","__theme","__isMobile","isMobile","primaryColor","hexToString","bgColor","logo","themeLoader","title","__version","document","addEventListener","className","body","classList","add","getElementById","style","backgroundImage","backgroundColor","color","gc","a","tc","re","RegExp","match","check","test","substr","navigator","userAgent","vendor","opera","FelineQueen","TreasureRaider","baseMultiplier","prizeMultipliers","moneyBagMultiplier","font","fontVariations","secondaryFont","parallax","backgroundAnchor","x","y","hasBackgroundView","hasForegroundView","logoYTitle","logoZTitle","ticketIdX","volumes","music","win","sas-louder","spin-button","stop-1","stop-2","stop-3","styles","introText","fontFamily","fontSize","fontWeight","fill","align","lineHeight","wordWrap","wordWrapWidth","stroke","strokeThickness","lineJoin"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAI,EAAAJ,EACAK,GAAA,EACAH,WAUA,OANAJ,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,GAAA,EAGAF,EAAAD,QAvBA,GAAAD,KA4BAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,SAAAP,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KAAAC,eAAA,OH4NZ,SAAUtF,EAAQD,GI5NxBC,EAAOD,SACH4D,MAAO,kBACP4B,eAAgB,GAEhBC,kBAAmB,EAAG,EAAG,EAAG,GAAI,IAAK,KACrCC,mBAAoB,EAEpBC,KAAM,cACNC,eAAgB,SAChBC,cAAe,cAEfC,SAAU,EAEVC,kBACIC,EAAG,EACHC,EAAG,GAGPC,mBAAmB,EACnBC,mBAAmB,EAEnBC,WAAY,EACZC,WAAY,EAEZC,UAAW,EAEX7C,QAAS,QACTF,aAAc,SAEdgD,SACIC,MAAO,GACPC,IAAK,GACLC,aAAc,EACdC,cAAe,GACfC,SAAU,EACVC,SAAU,GACVC,SAAU,IAGdC,QACIC,WACIC,WAAY,cACZC,SAAU,GACVC,WAAY,IACZC,KAAM,SACNC,MAAO,SACPC,WAAY,GACZC,UAAU,EACVC,cAAe,IACfC,OAAQ,EACRC,gBAAiB,EACjBC,SAAU,YJqOhB,SAAU1H,EAAQD,EAASH,GKxRjCI,EAAAD,QAAAH,EAAAyB,EAAA","file":"b-loader.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\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, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\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 = \"./assets/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 6);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sass_game__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_sass_game___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_sass_game__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_themes__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_themes___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_themes__);\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n\n\n\n/**\n * Class for loader.\n */\n\nvar Loader = function () {\n /**\n * Constructs the object.\n */\n function Loader() {\n _classCallCheck(this, Loader);\n\n var gameCode = UTIL.getQueryParam(['gamecode', 'gc']);\n\n var themeCode = this.getTheme(gameCode);\n\n window.__themeCode = themeCode;\n window.__theme = __webpack_require__(9);\n window.__isMobile = this.isMobile(gameCode);\n\n var primaryColor = UTIL.hexToString(__theme.primaryColor);\n var bgColor = UTIL.hexToString(__theme.bgColor);\n\n var logo = __webpack_require__(10);\n\n this.themeLoader(__theme.title, logo, bgColor, primaryColor);\n }\n\n /**\n * Themes the loading screen\n *\n * @param {string} title The title\n * @param {string} logo The logo url\n * @param {string} bgColor The background color hexCode\n * @param {string} primaryColor The primary color hexCode\n */\n\n\n _createClass(Loader, [{\n key: 'themeLoader',\n value: function themeLoader(title, logo, bgColor, primaryColor) {\n // version the logo\n logo = logo + '?v=' + window.__version;\n\n document.addEventListener('DOMContentLoaded', function () {\n document.title = title;\n var className = __isMobile ? 'mobile' : 'desktop';\n\n document.body.classList.add(className);\n\n document.getElementById('logo').style.backgroundImage = 'url(' + logo + ')';\n document.getElementById('initial-loader').style.backgroundColor = bgColor;\n document.getElementById('progress-bar').style.backgroundColor = primaryColor;\n\n document.getElementById('progress-percent').style.color = primaryColor;\n });\n }\n\n /**\n * Gets the theme from the Game Code\n *\n * @param {string} gameCode The game code\n * @return {(object|string)} The theme.\n */\n\n }, {\n key: 'getTheme',\n value: function getTheme(gameCode) {\n for (var gc in __WEBPACK_IMPORTED_MODULE_1_themes___default.a) {\n var tc = __WEBPACK_IMPORTED_MODULE_1_themes___default.a[gc];\n var re = new RegExp(gc, 'gi');\n var match = gameCode.match(re);\n\n if (match) {\n return tc;\n }\n }\n\n return null;\n }\n\n /**\n * Determines if mobile.\n *\n * @param {string} gameCode The game code\n * @return {boolean} True if mobile, False otherwise.\n */\n\n }, {\n key: 'isMobile',\n value: function isMobile(gameCode) {\n var isMobileGameCode = gameCode.match(/_Mobile/);\n\n if (isMobileGameCode) {\n return true;\n }\n\n var check = false;\n\n function test(a) {\n /* eslint-disable max-len*/\n if (/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(a.substr(0, 4))) {\n check = true;\n }\n\n /* eslint-enable max-len*/\n }\n\n test(navigator.userAgent || navigator.vendor || window.opera);\n\n return check;\n }\n }]);\n\n return Loader;\n}();\n\nnew Loader(); // eslint-disable-line\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\"FelineQueen\":\"fq\",\"TreasureRaider\":\"tr\"}\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\n title: 'Treasure Raider',\n baseMultiplier: 0.2,\n\n prizeMultipliers: [1, 3, 5, 10, 250, 3000],\n moneyBagMultiplier: 4,\n\n font: 'ProximaNova',\n fontVariations: ':n4,n7',\n secondaryFont: 'SignPainter',\n\n parallax: 0,\n\n backgroundAnchor: {\n x: 0,\n y: 0\n },\n\n hasBackgroundView: false,\n hasForegroundView: false,\n\n logoYTitle: 0,\n logoZTitle: 2,\n\n ticketIdX: 0,\n\n bgColor: 0x770028,\n primaryColor: 0xFFE186,\n\n volumes: {\n music: 0.8,\n win: 0.8,\n 'sas-louder': 1,\n 'spin-button': 0.4,\n 'stop-1': 1.0,\n 'stop-2': 0.8,\n 'stop-3': 0.7\n },\n\n styles: {\n introText: {\n fontFamily: 'ProximaNova',\n fontSize: 16,\n fontWeight: 400,\n fill: 0xFFFFFF,\n align: 'center',\n lineHeight: 23,\n wordWrap: true,\n wordWrapWidth: 260,\n stroke: 0x000000,\n strokeThickness: 3,\n lineJoin: 'round'\n }\n }\n};\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__.p + \"themes/tr/img/logo-title@2x.png\";\n\n/***/ })\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// b-loader.js"," \t// The module cache\n \tvar installedModules = {};\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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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 = \"./assets/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 6);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 29322390610edb929732","import 'sass/game';\nimport themes from 'themes';\n\n/**\n * Class for loader.\n */\nclass Loader\n{\n /**\n * Constructs the object.\n */\n constructor()\n {\n const gameCode = UTIL.getQueryParam(['gamecode', 'gc']);\n\n const themeCode = this.getTheme(gameCode);\n\n window.__themeCode = themeCode;\n window.__theme = require(`../../themes/${__themeCode}/config.js`);\n window.__isMobile = this.isMobile(gameCode);\n\n const primaryColor = UTIL.hexToString(__theme.primaryColor);\n const bgColor = UTIL.hexToString(__theme.bgColor);\n\n const logo = require(`../../themes/${__themeCode}/img/logo-title@2x.png`);\n\n this.themeLoader(__theme.title, logo, bgColor, primaryColor);\n }\n\n /**\n * Themes the loading screen\n *\n * @param {string} title The title\n * @param {string} logo The logo url\n * @param {string} bgColor The background color hexCode\n * @param {string} primaryColor The primary color hexCode\n */\n themeLoader(title, logo, bgColor, primaryColor)\n {\n // version the logo\n logo = `${logo}?v=${window.__version}`;\n\n document.addEventListener('DOMContentLoaded', () =>\n {\n document.title = title;\n const className = (__isMobile) ? 'mobile' : 'desktop';\n\n document.body.classList.add(className);\n\n document.getElementById('logo').style.backgroundImage = `url(${logo})`;\n document.getElementById('initial-loader').style.backgroundColor = bgColor;\n document.getElementById('progress-bar').style.backgroundColor = primaryColor;\n\n document.getElementById('progress-percent').style.color = primaryColor;\n });\n }\n\n /**\n * Gets the theme from the Game Code\n *\n * @param {string} gameCode The game code\n * @return {(object|string)} The theme.\n */\n getTheme(gameCode)\n {\n for (const gc in themes)\n {\n const tc = themes[gc];\n const re = new RegExp(gc, 'gi');\n const match = gameCode.match(re);\n\n if (match)\n {\n return tc;\n }\n }\n\n return null;\n }\n\n /**\n * Determines if mobile.\n *\n * @param {string} gameCode The game code\n * @return {boolean} True if mobile, False otherwise.\n */\n isMobile(gameCode)\n {\n const isMobileGameCode = gameCode.match(/_Mobile/);\n\n if (isMobileGameCode)\n\n {\n return true;\n }\n\n let check = false;\n\n function test(a)\n {\n /* eslint-disable max-len*/\n if (/(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a) || (/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i).test(a.substr(0, 4)))\n\n {\n check = true;\n }\n\n /* eslint-enable max-len*/\n }\n\n test(navigator.userAgent || navigator.vendor || window.opera);\n\n return check;\n }\n}\n\nnew Loader(); // eslint-disable-line\n\n\n\n// WEBPACK FOOTER //\n// ./babel/app/loader.js","module.exports = {\"FelineQueen\":\"fq\",\"TreasureRaider\":\"tr\"}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./config/themes.yaml\n// module id = 8\n// module chunks = b-loader","module.exports = {\n title: 'Treasure Raider',\n baseMultiplier: 0.2,\n\n prizeMultipliers: [1, 3, 5, 10, 250, 3000],\n moneyBagMultiplier: 4,\n\n font: 'ProximaNova',\n fontVariations: ':n4,n7',\n secondaryFont: 'SignPainter',\n\n parallax: 0,\n\n backgroundAnchor: {\n x: 0,\n y: 0,\n },\n\n hasBackgroundView: false,\n hasForegroundView: false,\n\n logoYTitle: 0,\n logoZTitle: 2,\n\n ticketIdX: 0,\n\n bgColor: 0x770028,\n primaryColor: 0xFFE186,\n\n volumes: {\n music: 0.8,\n win: 0.8,\n 'sas-louder': 1,\n 'spin-button': 0.4,\n 'stop-1': 1.0,\n 'stop-2': 0.8,\n 'stop-3': 0.7,\n },\n\n styles: {\n introText: {\n fontFamily: 'ProximaNova',\n fontSize: 16,\n fontWeight: 400,\n fill: 0xFFFFFF,\n align: 'center',\n lineHeight: 23,\n wordWrap: true,\n wordWrapWidth: 260,\n stroke: 0x000000,\n strokeThickness: 3,\n lineJoin: 'round',\n },\n },\n};\n\n\n\n\n// WEBPACK FOOTER //\n// ./themes/tr/config.js","module.exports = __webpack_public_path__ + \"themes/tr/img/logo-title@2x.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./themes/tr/img/logo-title@2x.png\n// module id = 10\n// module chunks = b-loader"],"sourceRoot":""}