Guest User

Untitled

a guest
Jun 8th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.16 KB | None | 0 0
  1. (function(global, history, g, m, basePath, thresholds, delegate) {
  2. var __GUESS__ =
  3. /******/ (function(modules) { // webpackBootstrap
  4. /******/ // The module cache
  5. /******/ var installedModules = {};
  6. /******/
  7. /******/ // The require function
  8. /******/ function __webpack_require__(moduleId) {
  9. /******/
  10. /******/ // Check if module is in cache
  11. /******/ if(installedModules[moduleId]) {
  12. /******/ return installedModules[moduleId].exports;
  13. /******/ }
  14. /******/ // Create a new module (and put it into the cache)
  15. /******/ var module = installedModules[moduleId] = {
  16. /******/ i: moduleId,
  17. /******/ l: false,
  18. /******/ exports: {}
  19. /******/ };
  20. /******/
  21. /******/ // Execute the module function
  22. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  23. /******/
  24. /******/ // Flag the module as loaded
  25. /******/ module.l = true;
  26. /******/
  27. /******/ // Return the exports of the module
  28. /******/ return module.exports;
  29. /******/ }
  30. /******/
  31. /******/
  32. /******/ // expose the modules object (__webpack_modules__)
  33. /******/ __webpack_require__.m = modules;
  34. /******/
  35. /******/ // expose the module cache
  36. /******/ __webpack_require__.c = installedModules;
  37. /******/
  38. /******/ // define getter function for harmony exports
  39. /******/ __webpack_require__.d = function(exports, name, getter) {
  40. /******/ if(!__webpack_require__.o(exports, name)) {
  41. /******/ Object.defineProperty(exports, name, {
  42. /******/ configurable: false,
  43. /******/ enumerable: true,
  44. /******/ get: getter
  45. /******/ });
  46. /******/ }
  47. /******/ };
  48. /******/
  49. /******/ // define __esModule on exports
  50. /******/ __webpack_require__.r = function(exports) {
  51. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  52. /******/ };
  53. /******/
  54. /******/ // getDefaultExport function for compatibility with non-harmony modules
  55. /******/ __webpack_require__.n = function(module) {
  56. /******/ var getter = module && module.__esModule ?
  57. /******/ function getDefault() { return module['default']; } :
  58. /******/ function getModuleExports() { return module; };
  59. /******/ __webpack_require__.d(getter, 'a', getter);
  60. /******/ return getter;
  61. /******/ };
  62. /******/
  63. /******/ // Object.prototype.hasOwnProperty.call
  64. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  65. /******/
  66. /******/ // __webpack_public_path__
  67. /******/ __webpack_require__.p = "";
  68. /******/
  69. /******/
  70. /******/ // Load entry module and return exports
  71. /******/ return __webpack_require__(__webpack_require__.s = "./src/runtime.ts");
  72. /******/ })
  73. /************************************************************************/
  74. /******/ ({
  75.  
  76. /***/ "./src sync recursive":
  77. /*!******************!*\
  78. !*** ./src sync ***!
  79. \******************/
  80. /*! no static exports found */
  81. /***/ (function(module, exports) {
  82.  
  83. eval("function webpackEmptyContext(req) {\n\tvar e = new Error('Cannot find module \"' + req + '\".');\n\te.code = 'MODULE_NOT_FOUND';\n\tthrow e;\n}\nwebpackEmptyContext.keys = function() { return []; };\nwebpackEmptyContext.resolve = webpackEmptyContext;\nmodule.exports = webpackEmptyContext;\nwebpackEmptyContext.id = \"./src sync recursive\";\n\n//# sourceURL=webpack://__GUESS__/./src_sync?");
  84.  
  85. /***/ }),
  86.  
  87. /***/ "./src/runtime.ts":
  88. /*!************************!*\
  89. !*** ./src/runtime.ts ***!
  90. \************************/
  91. /*! no static exports found */
  92. /***/ (function(module, exports, __webpack_require__) {
  93.  
  94. "use strict";
  95. eval("\nvar __values = (this && this.__values) || function (o) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator], i = 0;\n if (m) return m.call(o);\n return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar GraphNode = /** @class */ (function () {\n function GraphNode(_node, _map) {\n this._node = _node;\n this._map = _map;\n }\n Object.defineProperty(GraphNode.prototype, \"probability\", {\n get: function () {\n return this._node[0];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GraphNode.prototype, \"route\", {\n get: function () {\n return this._map.routes[this._node[1]];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(GraphNode.prototype, \"chunk\", {\n get: function () {\n return this._map.chunks[this._node[2]];\n },\n enumerable: true,\n configurable: true\n });\n return GraphNode;\n}());\nvar Graph = /** @class */ (function () {\n function Graph(_graph, _map) {\n this._graph = _graph;\n this._map = _map;\n }\n Graph.prototype.findMatch = function (route) {\n var _this = this;\n var result = this._graph.filter(function (_, i) { return matchRoute(_this._map.routes[i], route); }).pop();\n if (!result) {\n return [];\n }\n return result.map(function (n) { return new GraphNode(n, _this._map); });\n };\n return Graph;\n}());\nvar support = function (feature) {\n if (typeof document === 'undefined') {\n return false;\n }\n var fakeLink = document.createElement('link');\n try {\n if (fakeLink.relList && typeof fakeLink.relList.supports === 'function') {\n return fakeLink.relList.supports(feature);\n }\n }\n catch (err) {\n return false;\n }\n};\nvar linkPrefetchStrategy = function (url) {\n if (typeof document === 'undefined') {\n return;\n }\n var link = document.createElement('link');\n link.setAttribute('rel', 'prefetch');\n link.setAttribute('href', url);\n var parentElement = document.getElementsByTagName('head')[0] || document.getElementsByName('script')[0].parentNode;\n parentElement.appendChild(link);\n};\nvar importPrefetchStrategy = function (url) { return Promise.resolve().then(function () { return __webpack_require__(\"./src sync recursive\")(url); }); };\nvar supportedPrefetchStrategy = support('prefetch') ? linkPrefetchStrategy : importPrefetchStrategy;\nvar preFetched = {};\nvar prefetch = function (basePath, url) {\n url = basePath + url;\n if (preFetched[url]) {\n return;\n }\n console.log('Pre-fetching', url);\n preFetched[url] = true;\n supportedPrefetchStrategy(url);\n};\nvar matchRoute = function (route, declaration) {\n var routeParts = route.split('/');\n var declarationParts = declaration.split('/');\n if (routeParts.length > 0 && routeParts[routeParts.length - 1] === '') {\n routeParts.pop();\n }\n if (declarationParts.length > 0 && declarationParts[declarationParts.length - 1] === '') {\n declarationParts.pop();\n }\n if (routeParts.length !== declarationParts.length) {\n return false;\n }\n else {\n return declarationParts.reduce(function (a, p, i) {\n if (p.startsWith(':')) {\n return a;\n }\n return a && p === routeParts[i];\n }, true);\n }\n};\nvar polyfillConnection = {\n effectiveType: '3g'\n};\nvar handleNavigationChange = function (graph, basePath, thresholds, route) {\n var nodes = graph.findMatch(route);\n if (!nodes) {\n return;\n }\n var c = navigator.connection || polyfillConnection;\n var threshold = thresholds[c.effectiveType];\n try {\n for (var nodes_1 = __values(nodes), nodes_1_1 = nodes_1.next(); !nodes_1_1.done; nodes_1_1 = nodes_1.next()) {\n var node = nodes_1_1.value;\n if (node.probability < threshold || preFetched[node.chunk]) {\n continue;\n }\n if (node.chunk) {\n prefetch(basePath, node.chunk);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (nodes_1_1 && !nodes_1_1.done && (_a = nodes_1.return)) _a.call(nodes_1);\n }\n finally { if (e_1) throw e_1.error; }\n }\n var e_1, _a;\n};\nvar guessNavigation = function (graph, current, links) {\n var matches = graph.findMatch(current);\n if (links) {\n return links.reduce(function (result, link) {\n var node = matches.filter(function (m) { return matchRoute(link, m.route); }).pop();\n if (node) {\n result[link] = node.probability;\n }\n return result;\n }, {});\n }\n return matches.reduce(function (p, n) {\n p[n.route] = n.probability;\n return p;\n }, {});\n};\nexports.guess = function (current, links) {\n throw new Error('Guess is not initialized');\n};\nexports.initialize = function (history, global, compressed, map, basePath, thresholds, delegate) {\n var graph = new Graph(compressed, map);\n exports.guess = function (current, links) { return guessNavigation(graph, current, links); };\n if (delegate) {\n return;\n }\n if (typeof global.addEventListener === 'function') {\n global.addEventListener('popstate', function (e) {\n return handleNavigationChange(graph, basePath, thresholds, location.pathname);\n });\n }\n var pushState = history.pushState;\n history.pushState = function (state) {\n if (typeof history.onpushstate === 'function') {\n history.onpushstate({ state: state });\n }\n handleNavigationChange(graph, basePath, thresholds, arguments[2]);\n return pushState.apply(history, arguments);\n };\n};\n\n\n//# sourceURL=webpack://__GUESS__/./src/runtime.ts?");
  96.  
  97. /***/ })
  98.  
  99. /******/ });
  100. __GUESS__.initialize(history, global, g, m, basePath, thresholds, delegate);
  101. global.__GUESS__ = __GUESS__;
  102. })(typeof window === 'undefined' ? global : window, (typeof window === 'undefined' ? global : window).history, [], {"chunks":[],"routes":[]}, '/', {"4g":0.15,"3g":0.3,"2g":0.45,"slow-2g":0.6}, false);
  103.  
  104. webpackJsonp(["main"],{
  105.  
  106. /***/ "./src/$$_lazy_route_resource lazy recursive":
  107. /***/ (function(module, exports, __webpack_require__) {
  108.  
  109. var map = {
  110. "./badges/badges.module": [
  111. "./src/app/main/kid/rewards/badges/badges.module.ts",
  112. "badges.module"
  113. ],
  114. "./earn/earn.module": [
  115. "./src/app/main/kid/earn/earn.module.ts",
  116. "earn.module"
  117. ],
  118. "./faq/faq.module": [
  119. "./src/app/main/parent/faq/faq.module.ts",
  120. "faq.module"
  121. ],
  122. "./friends/friends.module": [
  123. "./src/app/main/kid/friends/friends.module.ts",
  124. "friends.module"
  125. ],
  126. "./games/games.module": [
  127. "./src/app/main/kid/rewards/games/games.module.ts",
  128. "games.module"
  129. ],
  130. "./home/home.module": [
  131. "./src/app/main/kid/home/home.module.ts",
  132. "home.module"
  133. ],
  134. "./intro-info/intro-info.module": [
  135. "./src/app/intro/intro-parent/intro-info/intro-info.module.ts",
  136. "intro-info.module"
  137. ],
  138. "./intro-parent/intro-parent.module": [
  139. "./src/app/intro/intro-parent/intro-parent.module.ts",
  140. "intro-parent.module"
  141. ],
  142. "./intro-personalize/intro-personalize.module": [
  143. "./src/app/intro/intro-parent/intro-personalize/intro-personalize.module.ts",
  144. "intro-personalize.module"
  145. ],
  146. "./intro-reward/intro-reward.module": [
  147. "./src/app/intro/intro-parent/intro-reward/intro-reward.module.ts",
  148. "intro-reward.module"
  149. ],
  150. "./intro/intro.module": [
  151. "./src/app/intro/intro.module.ts",
  152. "intro.module"
  153. ],
  154. "./kid/kid.module": [
  155. "./src/app/main/kid/kid.module.ts",
  156. "kid.module"
  157. ],
  158. "./login/login.module": [
  159. "./src/app/intro/login/login.module.ts",
  160. "login.module"
  161. ],
  162. "./main/main.module": [
  163. "./src/app/main/main.module.ts",
  164. "main.module"
  165. ],
  166. "./parent-home/parent-home.module": [
  167. "./src/app/main/parent/parent-home/parent-home.module.ts",
  168. "parent-home.module"
  169. ],
  170. "./parent/parent.module": [
  171. "./src/app/main/parent/parent.module.ts",
  172. "parent.module"
  173. ],
  174. "./question/question.module": [
  175. "./src/app/main/kid/question/question.module.ts",
  176. "question.module"
  177. ],
  178. "./reports/reports.module": [
  179. "./src/app/main/kid/reports/reports.module.ts",
  180. "reports.module"
  181. ],
  182. "./rewards/rewards.module": [
  183. "./src/app/main/kid/rewards/rewards.module.ts",
  184. "rewards.module"
  185. ],
  186. "./settings/settings.module": [
  187. "./src/app/main/parent/settings/settings.module.ts",
  188. "settings.module"
  189. ],
  190. "./verify/verify.module": [
  191. "./src/app/main/parent/verify/verify.module.ts",
  192. "verify.module"
  193. ]
  194. };
  195. function webpackAsyncContext(req) {
  196. var ids = map[req];
  197. if(!ids)
  198. return Promise.reject(new Error("Cannot find module '" + req + "'."));
  199. return __webpack_require__.e(ids[1]).then(function() {
  200. return __webpack_require__(ids[0]);
  201. });
  202. };
  203. webpackAsyncContext.keys = function webpackAsyncContextKeys() {
  204. return Object.keys(map);
  205. };
  206. webpackAsyncContext.id = "./src/$$_lazy_route_resource lazy recursive";
  207. module.exports = webpackAsyncContext;
  208.  
  209. /***/ }),
  210.  
  211. /***/ "./src/app/app.component.css":
  212. /***/ (function(module, exports) {
  213.  
  214. module.exports = ""
  215.  
  216. /***/ }),
  217.  
  218. /***/ "./src/app/app.component.html":
  219. /***/ (function(module, exports) {
  220.  
  221. module.exports = "<a routerLink=\"/intro\">Intro</a>\n<a routerLink=\"/main\">Main</a>\n\n<router-outlet></router-outlet>\n"
  222.  
  223. /***/ }),
  224.  
  225. /***/ "./src/app/app.component.ts":
  226. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  227.  
  228. "use strict";
  229. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppComponent; });
  230. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("./node_modules/@angular/core/esm5/core.js");
  231. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  232. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  233. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  234. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  235. return c > 3 && r && Object.defineProperty(target, key, r), r;
  236. };
  237.  
  238. var AppComponent = /** @class */ (function () {
  239. function AppComponent() {
  240. this.title = 'app';
  241. }
  242. AppComponent = __decorate([
  243. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["n" /* Component */])({
  244. selector: 'app-root',
  245. template: __webpack_require__("./src/app/app.component.html"),
  246. styles: [__webpack_require__("./src/app/app.component.css")]
  247. })
  248. ], AppComponent);
  249. return AppComponent;
  250. }());
  251.  
  252.  
  253.  
  254. /***/ }),
  255.  
  256. /***/ "./src/app/app.module.ts":
  257. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  258.  
  259. "use strict";
  260. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return AppModule; });
  261. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__ = __webpack_require__("./node_modules/@angular/platform-browser/esm5/platform-browser.js");
  262. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_core__ = __webpack_require__("./node_modules/@angular/core/esm5/core.js");
  263. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__angular_router__ = __webpack_require__("./node_modules/@angular/router/esm5/router.js");
  264. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__app_component__ = __webpack_require__("./src/app/app.component.ts");
  265. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__app_routing_module__ = __webpack_require__("./src/app/app.routing-module.ts");
  266. var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
  267. var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
  268. if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
  269. else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
  270. return c > 3 && r && Object.defineProperty(target, key, r), r;
  271. };
  272.  
  273.  
  274.  
  275.  
  276.  
  277. var AppModule = /** @class */ (function () {
  278. function AppModule() {
  279. }
  280. AppModule = __decorate([
  281. Object(__WEBPACK_IMPORTED_MODULE_1__angular_core__["I" /* NgModule */])({
  282. declarations: [__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* AppComponent */]],
  283. imports: [__WEBPACK_IMPORTED_MODULE_0__angular_platform_browser__["a" /* BrowserModule */], __WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* RouterModule */].forRoot(__WEBPACK_IMPORTED_MODULE_4__app_routing_module__["a" /* appRoutes */])],
  284. exports: [__WEBPACK_IMPORTED_MODULE_2__angular_router__["a" /* RouterModule */]],
  285. bootstrap: [__WEBPACK_IMPORTED_MODULE_3__app_component__["a" /* AppComponent */]]
  286. })
  287. ], AppModule);
  288. return AppModule;
  289. }());
  290.  
  291.  
  292.  
  293. /***/ }),
  294.  
  295. /***/ "./src/app/app.routing-module.ts":
  296. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  297.  
  298. "use strict";
  299. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return appRoutes; });
  300. var appRoutes = [
  301. {
  302. path: '',
  303. pathMatch: 'full',
  304. redirectTo: 'intro'
  305. },
  306. {
  307. loadChildren: './intro/intro.module#IntroModule',
  308. path: 'intro'
  309. },
  310. {
  311. loadChildren: './main/main.module#MainModule',
  312. path: 'main'
  313. }
  314. ];
  315.  
  316.  
  317. /***/ }),
  318.  
  319. /***/ "./src/environments/environment.ts":
  320. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  321.  
  322. "use strict";
  323. /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "a", function() { return environment; });
  324. // The file contents for the current environment will overwrite these during build.
  325. // The build system defaults to the dev environment which uses `environment.ts`, but if you do
  326. // `ng build --env=prod` then `environment.prod.ts` will be used instead.
  327. // The list of which env maps to which file can be found in `.angular-cli.json`.
  328. var environment = {
  329. production: false
  330. };
  331.  
  332.  
  333. /***/ }),
  334.  
  335. /***/ "./src/main.ts":
  336. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  337.  
  338. "use strict";
  339. Object.defineProperty(__webpack_exports__, "__esModule", { value: true });
  340. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__angular_core__ = __webpack_require__("./node_modules/@angular/core/esm5/core.js");
  341. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__ = __webpack_require__("./node_modules/@angular/platform-browser-dynamic/esm5/platform-browser-dynamic.js");
  342. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__app_app_module__ = __webpack_require__("./src/app/app.module.ts");
  343. /* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__environments_environment__ = __webpack_require__("./src/environments/environment.ts");
  344.  
  345.  
  346.  
  347.  
  348. if (__WEBPACK_IMPORTED_MODULE_3__environments_environment__["a" /* environment */].production) {
  349. Object(__WEBPACK_IMPORTED_MODULE_0__angular_core__["_12" /* enableProdMode */])();
  350. }
  351. Object(__WEBPACK_IMPORTED_MODULE_1__angular_platform_browser_dynamic__["a" /* platformBrowserDynamic */])()
  352. .bootstrapModule(__WEBPACK_IMPORTED_MODULE_2__app_app_module__["a" /* AppModule */])
  353. .catch(function (err) { return console.log(err); });
  354.  
  355.  
  356. /***/ }),
  357.  
  358. /***/ 0:
  359. /***/ (function(module, exports, __webpack_require__) {
  360.  
  361. module.exports = __webpack_require__("./src/main.ts");
  362.  
  363.  
  364. /***/ })
  365.  
  366. },[0]);
  367. //# sourceMappingURL=main.bundle.js.map
Add Comment
Please, Sign In to add comment