{"version":3,"sources":["webpack:///webpack/bootstrap ba99d219b9a729b4bf17","webpack:///./src/loader/path-resolver.js","webpack:///./src/loader/bootstrap.js","webpack:///./src/loader/loader.js","webpack:///./src/loader/config-parser.js","webpack:///./src/loader/dependency-builder.js","webpack:///./src/loader/event-emitter.js","webpack:///./src/loader/url-builder.js","webpack:///./package.json","webpack:///./node_modules/es6-promise/dist/es6-promise.js","webpack:///./node_modules/process/browser.js","webpack:///(webpack)/buildin/global.js","webpack:///vertx (ignored)"],"names":["PathResolver","root","dependency","indexOf","moduleParts","split","splice","dependencyParts","dependencyName","i","length","dependencyPart","concat","slice","push","join","window","Promise","cfg","__CONFIG__","namespace","undefined","exposeGlobal","loader","ns","Loader","require","prototype","bind","define","amd","config","document","_config","_document","_modulesMap","version","module","_getConfigParser","addModule","args","name","dependencies","implementation","console","log","anonymous","passedArgsCount","arguments","onScriptLoaded","off","loadedModules","_reportMismatchedAnonymousModules","toString","moduleName","getModules","pendingImplementation","_define","on","getConditionalModules","_normalizeRequireArgs","modules","successCallback","failureCallback","configParser","mappedModules","mapModule","rejectTimeout","resolve","reject","_resolveDependencies","then","_log","resolutionError","_getResolutionError","_setRejectTimeout","_loadModules","clearTimeout","moduleImplementations","_getModuleImplementations","apply","call","error","_error","Array","isArray","dependencyErrors","filter","dep","map","substr","Error","getConfig","waitTimeout","setTimeout","registeredModules","filteredDeps","missingDependencies","fetchedMissingDependencies","unfetchedMissingDependencies","dependecies","exports","exportedValue","_getValueGlobalNS","onModuleRegister","registeredModuleName","ignoreModuleVersion","nameParts","packageParts","pathResolver","_getPathResolver","resolvePath","emit","_configParser","_dependencyBuilder","exportVariables","tmpVal","eval","Object","hasOwnProperty","moduleNames","create","mappedDependencies","j","dependencyModule","keys","requiredModules","requiredModule","_pathResolver","_urlBuilder","property","properties","missingModules","registeredModule","found","modulesForLoading","_filterModulesByProperty","modulesURL","_getURLBuilder","build","pendingScripts","_loadScript","all","_waitForModules","catch","self","script","createElement","src","url","async","onload","onreadystatechange","readyState","onerror","head","removeChild","appendChild","msgs","aliasedConsole","explainResolutions","dependencyBuilder","_getDependencyBuilder","resolveDependencies","msg","errorMessage","reportLevel","reportMismatchedAnonymousModules","dependencyImplementations","moduleImpl","localRequire","_createLocalRequire","toUrl","moduleURLs","impl","result","rest","modulePromise","_createModulePromise","modulesPromises","_waitForModule","defineModules","definedModules","_setModuleImplementation","_getMissingDependencies","ConfigParser","_modules","_conditionalModules","_parseConfig","moduleDefinition","key","_registerConditionalModule","contextMap","maps","_getModuleMapper","match","_mapExactMatch","_mapPartialMatch","_mapWildcardMatch","alias","aliasValue","value","exactMatch","substring","_parseModules","condition","existingModules","trigger","DependencyBuilder","_result","_queue","_cachedResolutions","modulesSignature","sort","resolution","reverse","_cleanup","conditionalMark","mark","tmpMark","conditionalModules","conditionalModule","_testConditionalModule","test","_visit","testFunction","_processConditionalModules","mappedDependencyName","moduleDependency","unshift","EventEmitter","_events","event","callback","listeners","callbackIndex","warn","listener","REGEX_EXTERNAL_PROTOCOLS","URLBuilder","bufferAbsoluteURL","bufferRelativeURL","modulesAbsoluteURL","modulesRelativeURL","basePath","charAt","fullPath","_getURLWithParams","path","_getModulePath","absolutePath","combine","requested","_generateBufferURLs","urlMaxLength","urls","urlResult","paths","forEach","item","lastIndexOf","defaultURLParams","queryString"],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;AC7DA;;;IAGqBA,Y;;;;;;;;AACpB;;;;;;;;;8BASYC,I,EAAMC,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C,GADgB,CACZ,UAASqG,GAAT,EAAc;AAClB,WAAOA,MAAM,GAAN,GAAYuE,iBAAiBvE,GAAjB,CAAnB;AACA,IAHgB,EAIhB/K,IAJgB,CAIX,GAJW,CAAlB;;AAMA,UAAOsI,OAAOA,IAAIlJ,OAAJ,CAAY,GAAZ,IAAmB,CAAC,CAApB,GAAwB,GAAxB,GAA8B,GAArC,IAA4CmQ,WAAnD;AACA;;;;;;kBAvOmBvB,U;;;;;;ACNrB,kBAAkB,uIAAuI,ueAAue,eAAe,uEAAuE,SAAS,iJAAiJ,oGAAoG,6DAA6D,gNAAgN,uBAAuB,oBAAoB,iZ;;;;;;uDCA5wC;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,qBAAqB;;AAEtB;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,iFAAiF;;AAEjF;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,0BAA0B,sBAAsB;;AAEhD;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,iBAAiB,SAAS;AAC1B;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA,CAAC;AACD;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP,KAAK;AACL,GAAG;AACH;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,IAAI;AACd;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA,KAAK;;AAEL;AACA;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,wBAAwB;AACzC;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA,iBAAiB,uCAAuC;AACxD;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,OAAO;AACP;AACA,GAAG;AACH;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,MAAM;AAChB,UAAU,OAAO;AACjB;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,GAAG;AACH;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA;AACA,KAAK;AACL,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,UAAU,MAAM;AAChB;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL,GAAG;AACH;AACA;AACA,qBAAqB,YAAY;AACjC;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;AACA,UAAU,IAAI;AACd;AACA,WAAW,QAAQ;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA,GAAG;;AAEH;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;;AAEA;AACA,UAAU,SAAS;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,KAAK;;AAEL;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA,eAAe;AACf;AACA;AACA;AACA,WAAW;AACX,SAAS;AACT;AACA;AACA;AACA;AACA,KAAK;AACL;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;;AAEA;AACA,YAAY,SAAS;AACrB,YAAY,SAAS;AACrB;AACA,aAAa;AACb;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,KAAK;AACL;;AAEA;AACA,YAAY,SAAS;AACrB;AACA,aAAa;AACb;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,KAAK;AACL;AACA,KAAK;AACL;AACA;AACA,SAAS;AACT;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA,CAAC;AACD;;;;;;;;ACroCA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA,KAAK;AACL;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;;;;AAIA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,uBAAuB,sBAAsB;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB;AACrB;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,qCAAqC;;AAErC;AACA;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;AACA,4BAA4B,UAAU;;;;;;;ACvLtC;;AAEA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA,CAAC;AACD;AACA;AACA;AACA;;AAEA;AACA;AACA,4CAA4C;;AAE5C;;;;;;;ACpBA,e","file":"loader.js","sourcesContent":[" \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 = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap ba99d219b9a729b4bf17","/**\n *\n */\nexport default class PathResolver {\n\t/**\n\t * Resolves the path of module.\n\t *\n\t * @param {string} root Root path which will be used as reference to resolve\n\t * the path of the dependency.\n\t * @param {string} dependency The dependency path, which have to be\n\t * resolved.\n\t * @return {string} The resolved dependency path.\n\t */\n\tresolvePath(root, dependency) {\n\t\tif (\n\t\t\tdependency === 'require' ||\n\t\t\tdependency === 'exports' ||\n\t\t\tdependency === 'module' ||\n\t\t\t!(dependency.indexOf('.') === 0 || dependency.indexOf('..') === 0)\n\t\t) {\n\t\t\treturn dependency;\n\t\t}\n\n\t\t// Split module directories\n\t\tlet moduleParts = root.split('/');\n\n\t\t// Remove module name\n\t\tmoduleParts.splice(-1, 1);\n\n\t\t// Split dependency directories\n\t\tconst dependencyParts = dependency.split('/');\n\n\t\t// Extract dependency name\n\t\tconst dependencyName = dependencyParts.splice(-1, 1);\n\n\t\tfor (let i = 0; i < dependencyParts.length; i++) {\n\t\t\tlet dependencyPart = dependencyParts[i];\n\n\t\t\tif (dependencyPart === '.') {\n\t\t\t\tcontinue;\n\t\t\t} else if (dependencyPart === '..') {\n\t\t\t\tif (moduleParts.length) {\n\t\t\t\t\tmoduleParts.splice(-1, 1);\n\t\t\t\t} else {\n\t\t\t\t\tmoduleParts = moduleParts.concat(dependencyParts.slice(i));\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tmoduleParts.push(dependencyPart);\n\t\t\t}\n\t\t}\n\n\t\tmoduleParts.push(dependencyName);\n\n\t\treturn moduleParts.join('/');\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/loader/path-resolver.js","import Loader from './loader.js';\nimport Promise from 'es6-promise';\n\nif (typeof window.Promise === 'undefined') {\n\twindow.Promise = Promise;\n}\n\nconst cfg = window.__CONFIG__ || {};\nconst namespace = typeof cfg.namespace === 'string' ? cfg.namespace : undefined;\nconst exposeGlobal = cfg.exposeGlobal === undefined ? true : cfg.exposeGlobal;\nconst loader = new Loader(cfg);\n\nif (namespace) {\n\tconst ns = window[namespace] ? window[namespace] : {};\n\tns.Loader = loader;\n\twindow[namespace] = ns;\n} else {\n\twindow.Loader = loader;\n}\n\nif (exposeGlobal) {\n\twindow.Loader = loader;\n\twindow.require = Loader.prototype.require.bind(loader);\n\twindow.define = Loader.prototype.define.bind(loader);\n\twindow.define.amd = {};\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/loader/bootstrap.js","import ConfigParser from './config-parser';\nimport DependencyBuilder from './dependency-builder';\nimport EventEmitter from './event-emitter';\nimport PathResolver from './path-resolver';\nimport URLBuilder from './url-builder';\nimport packageJson from '../../package.json';\n\n/**\n *\n */\nexport default class Loader extends EventEmitter {\n\t/**\n\t * Creates an instance of Loader class.\n\t *\n\t * @namespace Loader\n\t * @extends EventEmitter\n\t * @param {object=} config Configuration options (defaults to window.__CONFIG__)\n\t * @param {object} document DOM document object to use (defaults to window.document)\n\t * @constructor\n\t */\n\tconstructor(config = null, document = null) {\n\t\tsuper();\n\n\t\tthis._config = config || window.__CONFIG__;\n\t\tthis._document = document || window.document;\n\t\tthis._modulesMap = {};\n\t}\n\n\t/**\n\t * Get loader version\n\t * @return {String} the version number as specified in package.json\n\t */\n\tversion() {\n\t\treturn packageJson.version;\n\t}\n\n\t/**\n\t * Adds a module to the configuration. See {@link ConfigParser#addModule}\n\t * for more details.\n\t *\n\t * @memberof! Loader#\n\t * @param {Object} module The module which should be added to the configuration. See {@link ConfigParser#addModule}\n\t * \t\t\t\t\t\tfor more details.\n\t * @return {Object} Returns the added module to the configuration.\n\t */\n\taddModule(module) {\n\t\treturn this._getConfigParser().addModule(module);\n\t}\n\n\t/**\n\t * Defines a module in the system and fires {@link Loader#event:moduleRegister} event with the registered module as\n\t * param.\n\t *\n\t * @memberof! Loader#\n\t * @param {string} name The name of the module.\n\t * @param {array} dependencies List of module dependencies.\n\t * @param {function} implementation The implementation of the module.\n\t * @param {object=} config Object configuration:\n\t *