!function(){function e(t,n,o){function r(a,s){if(!n[a]){if(!t[a]){var c="function"==typeof require&&require;if(!s&&c)return c(a,!0);if(i)return i(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){var n=t[a][1][e];return r(n||e)},u,u.exports,e,t,n,o)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<o.length;a++)r(o[a]);return r}return e}()({1:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(){var e=0;Object.defineProperty(p.debug,"totalSprites",{get:function(){return e},set:function(t){e=t},enumerable:!1,configurable:!1})}var i=e("./src/extensions/SlotComponent"),a=o(i),s=e("./src/extensions/SlotComponentController"),c=o(s),l=e("./src/extensions/SlotModel"),u=o(l),d=e("./src/GameRunner"),f=o(d),p=window.game||{};p.displayGroups={},p.src={},p.registerSources=function(e,t){Object.isObject(t)&&(p.src[e]||(p.src[e]={}),p.src[e]=Object.assign(p.src[e],t))},p.events=c2d.events,p.registerComponent=function(e,t){c2d.registerComponent(e,t),e.src&&p.registerSources(e.ID,e.src)};var v={},g=function(){return v};p.registerState=function(e,t){e&&t&&(v[t]=e)},p.states=g(),p.components=c2d.components;var m=p.slots||{};m.Component=a["default"],m.ComponentController=c["default"],m.Model=u["default"],c2d.env.DEBUG_HHS&&(p.debug={},r()),p.slots=m,p.run=f["default"],window.game=p,Object.seal(window.game)},{"./src/GameRunner":4,"./src/extensions/SlotComponent":5,"./src/extensions/SlotComponentController":6,"./src/extensions/SlotModel":7}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n["default"]={GAME_INITED:"game.inited",GAME_GO_TO_LOBBY:"game.goToLobby",GAME_GO_TO_BANK:"game.goToBank",PRELOADER_STEP:"preloader.step",PRELOADER_COMPLETE:"preloader.complete",SPIN_REQUEST_WAS_SENT:"spin.requestWasSent",START_REQUEST_WAS_SENT:"start.requestWasSent"}},{}],3:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){var e="background: #00FFFF; color: #3c09fc; font-weight: bold";console.log("%c"+c2d.NAME+": - [v "+c2d.VERSION+"]\n Game: - ["+c2d.env.gameName+" - v "+c2d.env.gameVersion+"]\n Renderer: - ["+c2d.env.renderInfo+"]\n Locale: - ["+c2d.env.language+"]\n Environment: - ["+(c2d.env.DEBUG?"DEBUG":"RELEASE")+"]",e)}Object.defineProperty(n,"__esModule",{value:!0});var s=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),c=function d(e,t,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,t);if(void 0===o){var r=Object.getPrototypeOf(e);return null===r?void 0:d(r,t,n)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(n)},l=(new Date).getTime(),u=function(e){function t(){o(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._componentsConfig=null,e._loadingQueue=null,e._preloader=null,e}return i(t,e),s(t,[{key:"initialize",value:function(e){c2d.env.DEBUG_HHS&&e.slots&&(e.slots.components.shifter={type:"shifter",config:{},resources:{}}),this._componentsConfig=e,this._loadingQueue=Object.keys(e);var n={},o=new c2d.display.View;e.slots&&(o.position=Object.assign(o.position,e.slots.config.position)),c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"initialize",this).call(this,n,o)}},{key:"update",value:function(e){c(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e);var n=!0,o=!1,r=void 0;try{for(var i,a=this.components[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){var s=i.value;s.active&&s.update(e)}}catch(l){o=!0,r=l}finally{try{!n&&a["return"]&&a["return"]()}finally{if(o)throw r}}}},{key:"onRun",value:function(){this._loadNextComponent()}},{key:"onProgress",value:function(e,t){this._preloader&&this._preloader.stepProgress(e,t)}},{key:"onComponentAttached",value:function(e){this._loadingQueue.length?this._loadNextComponent():(this._preloader&&(this._preloader.deactivate(),this.detachComponent(this._preloader)),document.dispatchEvent(new CustomEvent(c2d.documentEvents.PRELOADER_COMPLETE,{detail:{loadTime:(new Date).getTime()-l}})),a()),e.activate()}},{key:"_loadNextComponent",value:function(){var e=this,t=this._loadingQueue.shift();void 0!==t&&this._loadAssetsPack(t,function(){return e.onProgress.apply(e,arguments)},function(n,o){e._createComponent(t,n,o)})}},{key:"_loadAssetsPack",value:function(e,t,n){var o=this._componentsConfig[e];c2d.packsLoader.loadPack(e,o,t,function(t){var r=o.type||e;n(r,t)})}},{key:"_createComponent",value:function(e,t,n){var o=c2d.createComponent(t,e);return o.initialize(n,this.context),this.attachComponent(o),o}},{key:"context",get:function(){return{view:this._view}}}]),t}(c2d.ComponentController);n["default"]=u},{}],4:[function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}function r(){c2d.FileManager.setBaseUrl(c2d.env.gamePath),c2d.loader.baseUrl=c2d.env.gamePath,c2d.packsLoader.baseUrl=c2d.env.gamePath,c2d.packsLoader.componentsUrl="data/",c2d.packsLoader.imagesUrl="images/",c2d.packsLoader.animationsUrl="animations/",c2d.packsLoader.audioUrl="audio/",c(),c2d.documentEvents=l({},p["default"]),document.dispatchEvent(new CustomEvent(p["default"].GAME_INITED)),a(function(){return s(function(){return i()})})}function i(){var e=document.createEvent("Event");e.initEvent("GAME.STARTING",!0,!0),document.dispatchEvent(e),c2d.loader.loadAsset("application","data/application.json",function(e){c2d.env.setAppConfig(e);var t=c2d.createGame(e.canvas);t.setDisplayStats(!1),c2d.env.renderInfo=t.getRendererInfo(),c2d.env.renderer=t._renderer;var n="data/";n+=e.instant?"components.json":c2d.env.isDesktop?"componentsDesktop.json":"componentsMobile.json",c2d.loader.loadAsset("components",n,function(e){var n=new d["default"];n.initialize(e),t.setController(n),t.run()})})}function a(e){c2d.loader.loadAsset("manifest","manifest.json",function(t){c2d.FileManager.setManifest(t),e()},!0)}function s(e){c2d.env.language=c2d.toKnownLocale(c2d.env.language),c2d.loader.loadAsset("base-strings","data/strings_base.json",function(t){c2d.loader.loadAsset("strings","data/strings.json",function(n){c2d.setLocaleStrings(c2d.env.language,Object.assign(t,n)),c2d.setLocale(c2d.env.language),c2d.onDOMReady(e)})})}function c(){if(console.enable(c2d.env.DEBUG_HHS),c2d.env.device.mobile()&&!c2d.env.device.mobileEmulator()){console.enableHtmlLog(c2d.env.DEBUG_HHS&&!c2d.env.device.desktop());var e=window.onerror;window.onerror=function(t,n,o){return console.error("line: "+o+" url: "+n+" message: "+t),!!e&&e(t,n,o)}}}Object.defineProperty(n,"__esModule",{value:!0});var l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e};n["default"]=r;var u=e("./GameController"),d=o(u),f=e("./DocumentEvents"),p=o(f);c2d.env.DEBUG&&(window.editorInfo||(window.slotEditor={}),window.addEventListener("message",function(e){"requestEvents"===e.data.message&&top.postMessage(JSON.stringify({type:"events",data:window.game.events}),"*"),"requestConstants"===e.data.message&&top.postMessage(JSON.stringify({type:"constants",data:window.game.slots.constants}),"*"),"requestInitData"===e.data.message&&top.postMessage(JSON.stringify({type:"initData",data:window.slotEditor.initData,gameName:window.gameName()}),"*"),"redrawLines"===e.data.message&&window.slotEditor.redrawLines(e.data.config)}))},{"./DocumentEvents":2,"./GameController":3}],5:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=function l(e,t,n){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,t);if(void 0===o){var r=Object.getPrototypeOf(e);return null===r?void 0:l(r,t,n)}if("value"in o)return o.value;var i=o.get;if(void 0!==i)return i.call(n)},c=function(e){function t(){var e;o(this,t);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];var s=r(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i)));return s._gameMode="UNKNOWN",s._turboMode=!1,s}return i(t,e),a(t,[{key:"initialize",value:function(e,n){s(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"initialize",this).call(this,e,n),this.controller&&this.controller.model&&this.config.model&&this.controller.model.initWithModel(this.config.model)}},{key:"gameMode",set:function(e){this._gameMode=e,this.controller&&this.controller.model instanceof game.slots.Model&&(this.controller.model.gameMode=e,this.controller instanceof game.slots.ComponentController&&this.controller.onGameModeChanged(e))}},{key:"turboMode",set:function(e){this._turboMode=e,this.controller&&this.controller.model instanceof game.slots.Model&&(this.controller.model.turboMode=e,this.controller instanceof game.slots.ComponentController&&this.controller.onTurboModeChanged(e))}},{key:"slotModel",set:function(e){this.controller instanceof game.slots.ComponentController&&(this.controller.slotModel=e)}}]),t}(c2d.Component);n["default"]=c},{}],6:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=function(e){function t(){o(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._slotModel=null,e}return i(t,e),a(t,[{key:"onGameModeChanged",value:function(e){}},{key:"onTurboModeChanged",value:function(e){}},{key:"slotModel",set:function(e){this._slotModel=e},get:function(){return this._slotModel}}]),t}(c2d.ComponentController);n["default"]=s},{}],7:[function(e,t,n){"use strict";function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(n,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),s=function(e){function t(){o(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));return e._gameMode="NOMODE",e._turboMode=!1,e}return i(t,e),a(t,[{key:"gameMode",set:function(e){this._gameMode=e},get:function(){return this._gameMode}},{key:"isBasegameMode",get:function(){return this._gameMode===game.slots.constants.GameMode.BASE_GAME_MODE}},{key:"isFreespinsMode",get:function(){return this._gameMode===game.slots.constants.GameMode.FREESPINS_GAME_MODE}},{key:"turboMode",set:function(e){this._turboMode=e},get:function(){return this._turboMode}}]),t}(c2d.Model);n["default"]=s},{}]},{},[1]);
Так просто пробежавшись взглядом я не смог точно определить, что за функция, откуда, что и как делает, но могу сделать предположение.
Функция из игрового движка или из игры.
Она оснащена обработчиками ошибок и настройкой, поэтому делаю предположение, что она отвечает за ошибки в игре, а также за её настройку, возможно не в полной мере, а лишь частично и есть функции дополняющие её.