(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ /***/ "./$$_lazy_route_resource lazy recursive": /*!******************************************************!*\ !*** ./$$_lazy_route_resource lazy namespace object ***! \******************************************************/ /*! no static exports found */ /***/ (function(module, exports) { function webpackEmptyAsyncContext(req) { // Here Promise.resolve().then() is used instead of new Promise() to prevent // uncaught exception popping up in devtools return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } webpackEmptyAsyncContext.keys = function() { return []; }; webpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext; module.exports = webpackEmptyAsyncContext; webpackEmptyAsyncContext.id = "./$$_lazy_route_resource lazy recursive"; /***/ }), /***/ "./node_modules/@ionic/core/dist/esm lazy recursive ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$": /*!*****************************************************************************************************************************************!*\ !*** ./node_modules/@ionic/core/dist/esm lazy ^\.\/.*\.entry\.js$ include: \.entry\.js$ exclude: \.system\.entry\.js$ namespace object ***! \*****************************************************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./ion-action-sheet.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-action-sheet.entry.js", "common", 0 ], "./ion-alert.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-alert.entry.js", "common", 1 ], "./ion-app_8.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-app_8.entry.js", "common", 2 ], "./ion-avatar_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-avatar_3.entry.js", "common", 3 ], "./ion-back-button.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-back-button.entry.js", "common", 4 ], "./ion-backdrop.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-backdrop.entry.js", 5 ], "./ion-button_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-button_2.entry.js", "common", 6 ], "./ion-card_5.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-card_5.entry.js", "common", 7 ], "./ion-checkbox.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-checkbox.entry.js", "common", 8 ], "./ion-chip.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-chip.entry.js", "common", 9 ], "./ion-col_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-col_3.entry.js", 10 ], "./ion-datetime_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-datetime_3.entry.js", "common", 11 ], "./ion-fab_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-fab_3.entry.js", "common", 12 ], "./ion-img.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-img.entry.js", 13 ], "./ion-infinite-scroll_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-infinite-scroll_2.entry.js", 14 ], "./ion-input.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-input.entry.js", "common", 15 ], "./ion-item-option_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-item-option_3.entry.js", "common", 16 ], "./ion-item_8.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-item_8.entry.js", "common", 17 ], "./ion-loading.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-loading.entry.js", "common", 18 ], "./ion-menu_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-menu_3.entry.js", "common", 19 ], "./ion-modal.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-modal.entry.js", "common", 20 ], "./ion-nav_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-nav_2.entry.js", "common", 21 ], "./ion-popover.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-popover.entry.js", "common", 22 ], "./ion-progress-bar.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-progress-bar.entry.js", "common", 23 ], "./ion-radio_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-radio_2.entry.js", "common", 24 ], "./ion-range.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-range.entry.js", "common", 25 ], "./ion-refresher_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-refresher_2.entry.js", "common", 26 ], "./ion-reorder_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-reorder_2.entry.js", "common", 27 ], "./ion-ripple-effect.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-ripple-effect.entry.js", 28 ], "./ion-route_4.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-route_4.entry.js", "common", 29 ], "./ion-searchbar.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-searchbar.entry.js", "common", 30 ], "./ion-segment_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-segment_2.entry.js", "common", 31 ], "./ion-select_3.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-select_3.entry.js", "common", 32 ], "./ion-slide_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-slide_2.entry.js", 33 ], "./ion-spinner.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-spinner.entry.js", "common", 34 ], "./ion-split-pane.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-split-pane.entry.js", 35 ], "./ion-tab-bar_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-tab-bar_2.entry.js", "common", 36 ], "./ion-tab_2.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-tab_2.entry.js", "common", 37 ], "./ion-text.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-text.entry.js", "common", 38 ], "./ion-textarea.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-textarea.entry.js", "common", 39 ], "./ion-toast.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-toast.entry.js", "common", 40 ], "./ion-toggle.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-toggle.entry.js", "common", 41 ], "./ion-virtual-scroll.entry.js": [ "./node_modules/@ionic/core/dist/esm/ion-virtual-scroll.entry.js", 42 ] }; function webpackAsyncContext(req) { if(!__webpack_require__.o(map, req)) { return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } var ids = map[req], id = ids[0]; return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() { return __webpack_require__(id); }); } webpackAsyncContext.keys = function webpackAsyncContextKeys() { return Object.keys(map); }; webpackAsyncContext.id = "./node_modules/@ionic/core/dist/esm lazy recursive ^\\.\\/.*\\.entry\\.js$ include: \\.entry\\.js$ exclude: \\.system\\.entry\\.js$"; module.exports = webpackAsyncContext; /***/ }), /***/ "./src/app/Interceptors/no-cache.interceptor.ts": /*!******************************************************!*\ !*** ./src/app/Interceptors/no-cache.interceptor.ts ***! \******************************************************/ /*! exports provided: NoCacheInterceptor */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "NoCacheInterceptor", function() { return NoCacheInterceptor; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js"); class NoCacheInterceptor { constructor() { } intercept(request, next) { if (request.url.includes('https://twl-public-media-v2.s3-eu-west-2.amazonaws.com/resources/rewards/RV_ShockBeatboxDuo_Coming_Going.mp4')) { const httpRequest = request.clone({ headers: new _angular_common_http__WEBPACK_IMPORTED_MODULE_1__["HttpHeaders"]({ 'Cache-Control': 'no-cache', Pragma: 'no-cache', Expires: 'Sat, 01 Jan 2000 00:00:00 GMT' }) }); console.log('no cache http request made'); return next.handle(httpRequest); } return next.handle(request); } } NoCacheInterceptor.ɵfac = function NoCacheInterceptor_Factory(t) { return new (t || NoCacheInterceptor)(); }; NoCacheInterceptor.ɵprov = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjectable"]({ token: NoCacheInterceptor, factory: NoCacheInterceptor.ɵfac }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](NoCacheInterceptor, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Injectable"] }], function () { return []; }, null); })(); /***/ }), /***/ "./src/app/app-routing.module.ts": /*!***************************************!*\ !*** ./src/app/app-routing.module.ts ***! \***************************************/ /*! exports provided: AppRoutingModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppRoutingModule", function() { return AppRoutingModule; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var _angular_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm2015/router.js"); const routes = []; class AppRoutingModule { } AppRoutingModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineNgModule"]({ type: AppRoutingModule }); AppRoutingModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineInjector"]({ factory: function AppRoutingModule_Factory(t) { return new (t || AppRoutingModule)(); }, imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes)], _angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵsetNgModuleScope"](AppRoutingModule, { imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppRoutingModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["NgModule"], args: [{ imports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"].forRoot(routes)], exports: [_angular_router__WEBPACK_IMPORTED_MODULE_1__["RouterModule"]] }] }], null, null); })(); /***/ }), /***/ "./src/app/app.component.ts": /*!**********************************!*\ !*** ./src/app/app.component.ts ***! \**********************************/ /*! exports provided: AppComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppComponent", function() { return AppComponent; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var html2canvas__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! html2canvas */ "./node_modules/html2canvas/dist/html2canvas.js"); /* harmony import */ var html2canvas__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(html2canvas__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var jspdf__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! jspdf */ "./node_modules/jspdf/dist/jspdf.es.min.js"); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js"); /* harmony import */ var _system_requirements_system_requirements_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./system-requirements/system-requirements.component */ "./src/app/system-requirements/system-requirements.component.ts"); /* harmony import */ var _required_connections_required_connections_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./required-connections/required-connections.component */ "./src/app/required-connections/required-connections.component.ts"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js"); class AppComponent { exportAsPDF(div_id) { window.scrollTo(0, 0); const data = document.getElementById(div_id); html2canvas__WEBPACK_IMPORTED_MODULE_1___default()(data).then((canvas) => { const contentDataURL = canvas.toDataURL('image/png'); const pdf = new jspdf__WEBPACK_IMPORTED_MODULE_2__["default"]('l', 'cm', 'a4'); //Generates PDF in landscape mode //const pdf = new jspdf('p', 'cm', 'a4'); //Generates PDF in portrait mode pdf.addImage(contentDataURL, 'PNG', 4, 1, 23, 19.0); pdf.save('configuration_check.pdf'); }); } twlLoginButton() { window.open('https://tutoring.fft.org.uk'); } } AppComponent.ɵfac = function AppComponent_Factory(t) { return new (t || AppComponent)(); }; AppComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: AppComponent, selectors: [["app-root"]], decls: 42, vars: 0, consts: [["ngbNav", "", 1, "navbar", "fixed-top"], ["href", "https://fft.org.uk/fft-tutoring-information/", "target", "_blank"], ["src", "assets\\img\\logo.png", 1, "logo"], ["title", "Sign In", 1, "btn", "btn-primary", 3, "click"], ["id", "print-area", 1, "container"], [1, "mb-5"], ["name", "print-outline", 1, "inline-icon"], [1, "twl-main", "mb-5", "container-fluid"], [1, "row"], [1, "col-md-12"], [1, "col-md-6"], ["href", "mailto:tutoringsupport@fft.org.uk?subject=FFT Tutoring with the Lightning Squad - Configuration Check Page"], [1, "col-md-1"], [1, "text-box"], ["box", ""], [1, "col-md-5"], ["title", "Share As PDF", 1, "pdf_icon", "btn", "btn-primary", 3, "click"]], template: function AppComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "header"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "div", 0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](2, "a", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "img", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "button", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AppComponent_Template_button_click_4_listener() { return ctx.twlLoginButton(); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, " Tutoring Sign In "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "h1"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](8, "Configuration Check"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](9, "p", 5); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](10, " This page checks your device and network connection for compatibility with FFT Tutoring with the Lightning Squad web application using your current device and location. Any issues will be identified with a red status icon below and must be corrected in order for the application to function correctly. If all status icons are green then you are good to go! "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](11, "app-system-requirements"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](12, "app-required-connections"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](13, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](14, "ion-icon", 6); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15, " Getting support "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](16, "div", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](18, "div", 9); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "div", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](21, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](22, "Support telephone: 01446 776262"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](23, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](24, " Save this page as a PDF and email to "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](25, "a", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](26, "tutoringsupport@fft.org.uk"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](28, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "Name"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32, "School"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "div", 12); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](34, "input", 13, 14); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](36, "input", 13, 14); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](38, "div", 8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "button", 16); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function AppComponent_Template_button_click_40_listener() { return ctx.exportAsPDF("print-area"); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](41, " Save as PDF "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } }, directives: [_ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbNavbar"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_3__["NgbNav"], _system_requirements_system_requirements_component__WEBPACK_IMPORTED_MODULE_4__["SystemRequirementsComponent"], _required_connections_required_connections_component__WEBPACK_IMPORTED_MODULE_5__["RequiredConnectionsComponent"], _ionic_angular__WEBPACK_IMPORTED_MODULE_6__["IonIcon"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2FwcC5jb21wb25lbnQuc2NzcyJ9 */"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](AppComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"], args: [{ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], }] }], null, null); })(); /***/ }), /***/ "./src/app/app.module.ts": /*!*******************************!*\ !*** ./src/app/app.module.ts ***! \*******************************/ /*! exports provided: AppModule */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "AppModule", function() { return AppModule; }); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js"); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js"); /* harmony import */ var _app_routing_module__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./app-routing.module */ "./src/app/app-routing.module.ts"); /* harmony import */ var _app_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js"); /* harmony import */ var _Interceptors_no_cache_interceptor__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ./Interceptors/no-cache.interceptor */ "./src/app/Interceptors/no-cache.interceptor.ts"); /* harmony import */ var _system_requirements_system_requirements_component__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ./system-requirements/system-requirements.component */ "./src/app/system-requirements/system-requirements.component.ts"); /* harmony import */ var _required_connections_required_connections_component__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./required-connections/required-connections.component */ "./src/app/required-connections/required-connections.component.ts"); class AppModule { } AppModule.ɵmod = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({ type: AppModule, bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_4__["AppComponent"]] }); AppModule.ɵinj = _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({ factory: function AppModule_Factory(t) { return new (t || AppModule)(); }, providers: [{ provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"], useClass: _Interceptors_no_cache_interceptor__WEBPACK_IMPORTED_MODULE_7__["NoCacheInterceptor"], multi: true }], imports: [[ _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicModule"].forRoot(), _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"] ]] }); (function () { (typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](AppModule, { declarations: [_app_component__WEBPACK_IMPORTED_MODULE_4__["AppComponent"], _system_requirements_system_requirements_component__WEBPACK_IMPORTED_MODULE_8__["SystemRequirementsComponent"], _required_connections_required_connections_component__WEBPACK_IMPORTED_MODULE_9__["RequiredConnectionsComponent"]], imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicModule"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"]] }); })(); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵsetClassMetadata"](AppModule, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_1__["NgModule"], args: [{ declarations: [ _app_component__WEBPACK_IMPORTED_MODULE_4__["AppComponent"], _system_requirements_system_requirements_component__WEBPACK_IMPORTED_MODULE_8__["SystemRequirementsComponent"], _required_connections_required_connections_component__WEBPACK_IMPORTED_MODULE_9__["RequiredConnectionsComponent"] ], imports: [ _angular_platform_browser__WEBPACK_IMPORTED_MODULE_0__["BrowserModule"], _app_routing_module__WEBPACK_IMPORTED_MODULE_3__["AppRoutingModule"], _ionic_angular__WEBPACK_IMPORTED_MODULE_5__["IonicModule"].forRoot(), _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_2__["NgbModule"], _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HttpClientModule"] ], providers: [{ provide: _angular_common_http__WEBPACK_IMPORTED_MODULE_6__["HTTP_INTERCEPTORS"], useClass: _Interceptors_no_cache_interceptor__WEBPACK_IMPORTED_MODULE_7__["NoCacheInterceptor"], multi: true }], bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_4__["AppComponent"]] }] }], null, null); })(); /***/ }), /***/ "./src/app/required-connections/required-connections.component.ts": /*!************************************************************************!*\ !*** ./src/app/required-connections/required-connections.component.ts ***! \************************************************************************/ /*! exports provided: RequiredConnectionsComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RequiredConnectionsComponent", function() { return RequiredConnectionsComponent; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var rxjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! rxjs */ "./node_modules/rxjs/_esm2015/index.js"); /* harmony import */ var rxjs_operators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! rxjs/operators */ "./node_modules/rxjs/_esm2015/operators/index.js"); /* harmony import */ var _angular_common_http__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/http.js"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js"); function RequiredConnectionsComponent_ng_container_8_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " S3 Download Speed "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-icon", 9); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"](); } if (rf & 2) { const downloadSpeed_r10 = ctx.ngIf; _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](5); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("", downloadSpeed_r10, " Mbps"); } } function RequiredConnectionsComponent_ng_template_10_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " S3 Download Speed "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-icon", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Loading..."); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"](); } } function RequiredConnectionsComponent_ng_template_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, RequiredConnectionsComponent_ng_template_10_ng_container_0_Template, 6, 0, "ng-container", 4); } if (rf & 2) { const ctx_r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); const _r3 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](13); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r2.speedCheckError)("ngIfElse", _r3); } } function RequiredConnectionsComponent_ng_template_12_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " S3 Download Speed "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "ion-icon", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Error calculating download speed"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } function RequiredConnectionsComponent_ng_container_15_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " S3 Connection "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-icon", 9); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Connection successful"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"](); } } function RequiredConnectionsComponent_ng_template_17_ng_container_0_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " S3 Connection "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-icon", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Loading connection.."); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"](); } } function RequiredConnectionsComponent_ng_template_17_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](0, RequiredConnectionsComponent_ng_template_17_ng_container_0_Template, 6, 0, "ng-container", 4); } if (rf & 2) { const ctx_r7 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵnextContext"](); const _r8 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](20); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx_r7.s3Error)("ngIfElse", _r8); } } function RequiredConnectionsComponent_ng_template_19_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " S3 Connection "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "ion-icon", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Error with connection"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } class RequiredConnectionsComponent { constructor(httpClient) { this.httpClient = httpClient; this.apiError = false; this.apiLoading = true; this.s3Error = false; this.s3Loading = true; this.speedCheckError = false; } ngOnInit() { this.checkS3Connection(); this.downloadSpeedCheck(); } checkS3Connection() { const url = 'https://twl-public-media-v2.s3-eu-west-2.amazonaws.com/s3test.json'; this.s3Check$ = this.httpClient .get(url) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["finalize"])(() => (this.s3Loading = false))) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(() => (this.s3Error = false)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])((error) => { this.s3Error = true; const x = this.errorHandler(error); return x; })); } downloadSpeedCheck() { const downloadUrl = 'https://twl-public-media-v2.s3-eu-west-2.amazonaws.com/resources/rewards/RV_ShockBeatboxDuo_Coming_Going.mp4'; this.downloadSpeedCheck$ = Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["of"])(null) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((m) => { const startTime = new Date().getTime(); return startTime; })) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["flatMap"])((startTime) => { return this.httpClient .get(downloadUrl, { responseType: 'blob', }) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((response) => { return { startTime, response, }; })); })) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["map"])((m) => { const fileSizeInMegabytes = m.response.size / (1024 * 1024); // Converts to megabytes const fileSizeMegabits = fileSizeInMegabytes * 8; // converts to megabits const endTime = new Date().getTime(); const duration = (endTime - m.startTime) / 1000; //seconds const downloadSpeed = (fileSizeMegabits / duration).toFixed(2); return downloadSpeed; //mb per second rounded to 1 dp })) .pipe(Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["tap"])(() => (this.speedCheckError = false)), Object(rxjs_operators__WEBPACK_IMPORTED_MODULE_2__["catchError"])((error) => { this.speedCheckError = true; const x = this.errorHandler(error); return x; })); } errorHandler(error) { if (error.error instanceof ErrorEvent) { // A client-side or network error occurred. Handle it accordingly. console.error('An error occurred:', error.error.message); } else { // The backend returned an unsuccessful response code. // The response body may contain clues as to what went wrong, console.error(`Backend returned code ${error.status}, ` + `body was: ${error.error}`); } // return an observable with a user-facing error message return Object(rxjs__WEBPACK_IMPORTED_MODULE_1__["throwError"])('Something bad happened; please try again later.'); } } RequiredConnectionsComponent.ɵfac = function RequiredConnectionsComponent_Factory(t) { return new (t || RequiredConnectionsComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdirectiveInject"](_angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"])); }; RequiredConnectionsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: RequiredConnectionsComponent, selectors: [["app-required-connections"]], decls: 21, vars: 8, consts: [["name", "git-compare-outline", 1, "inline-icon"], [1, "twl-main", "mb-5", "container-fluid"], [1, "row"], [1, "col-md-6"], [4, "ngIf", "ngIfElse"], ["downloadSpeedLoading", ""], ["downloadSpeedError", ""], ["s3Loading", ""], ["s3CheckError", ""], ["name", "checkmark-circle", 1, "inline-icon", "has-success"], ["name", "reload-outline", 2, "color", "blue"], ["name", "alert-circle", 1, "inline-icon", "has-failure"]], template: function RequiredConnectionsComponent_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-icon", 0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " Required connections\n"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, " Describes your device's ability to connect to FFT Tutoring with the Lightning Squad.\n"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](8, RequiredConnectionsComponent_ng_container_8_Template, 6, 1, "ng-container", 4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](9, "async"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, RequiredConnectionsComponent_ng_template_10_Template, 1, 2, "ng-template", null, 5, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](12, RequiredConnectionsComponent_ng_template_12_Template, 5, 0, "ng-template", null, 6, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](15, RequiredConnectionsComponent_ng_container_15_Template, 6, 0, "ng-container", 4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipe"](16, "async"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](17, RequiredConnectionsComponent_ng_template_17_Template, 1, 2, "ng-template", null, 7, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](19, RequiredConnectionsComponent_ng_template_19_Template, 5, 0, "ng-template", null, 8, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { const _r1 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](11); const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](18); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](8); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](9, 4, ctx.downloadSpeedCheck$))("ngIfElse", _r1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵpipeBind1"](16, 6, ctx.s3Check$))("ngIfElse", _r6); } }, directives: [_ionic_angular__WEBPACK_IMPORTED_MODULE_4__["IonIcon"], _angular_common__WEBPACK_IMPORTED_MODULE_5__["NgIf"]], pipes: [_angular_common__WEBPACK_IMPORTED_MODULE_5__["AsyncPipe"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3JlcXVpcmVkLWNvbm5lY3Rpb25zL3JlcXVpcmVkLWNvbm5lY3Rpb25zLmNvbXBvbmVudC5zY3NzIn0= */"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](RequiredConnectionsComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"], args: [{ selector: 'app-required-connections', templateUrl: './required-connections.component.html', styleUrls: ['./required-connections.component.scss'] }] }], function () { return [{ type: _angular_common_http__WEBPACK_IMPORTED_MODULE_3__["HttpClient"] }]; }, null); })(); /***/ }), /***/ "./src/app/system-requirements/system-requirements.component.ts": /*!**********************************************************************!*\ !*** ./src/app/system-requirements/system-requirements.component.ts ***! \**********************************************************************/ /*! exports provided: SystemRequirementsComponent */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SystemRequirementsComponent", function() { return SystemRequirementsComponent; }); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var detect_browser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! detect-browser */ "./node_modules/detect-browser/es/index.js"); /* harmony import */ var _ionic_angular__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @ionic/angular */ "./node_modules/@ionic/angular/__ivy_ngcc__/fesm2015/ionic-angular.js"); /* harmony import */ var _angular_common__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm2015/common.js"); /* harmony import */ var _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm2015/ng-bootstrap.js"); function SystemRequirementsComponent_ion_icon_10_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ion-icon", 16); } } function SystemRequirementsComponent_ion_icon_11_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](0, "ion-icon", 15); } } function SystemRequirementsComponent_ng_container_36_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerStart"](0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](1, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " Cookies "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](3, "ion-icon", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](4, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](5, "Cookies are enabled"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementContainerEnd"](); } } function SystemRequirementsComponent_ng_template_37_Template(rf, ctx) { if (rf & 1) { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](1, " Cookies "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](2, "ion-icon", 16); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, "Cookies are not enabled"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } } class SystemRequirementsComponent { constructor() { this.browserStatus = ''; this.browserName = ''; this.browserVersion = ''; this.hasGoodBrowser = false; this.cookiesEnabled = false; this.isCollapsed = true; } ngOnInit() { this.checkBrowser(); this.checkCookiesEnabled(); } checkBrowser() { const browser = Object(detect_browser__WEBPACK_IMPORTED_MODULE_1__["detect"])(); if (browser) { this.browserName = browser.name; const version = browser.version; this.browserVersion = version.substring(0, version.indexOf('.')); } switch (browser && browser.name) { case 'chrome': case 'firefox': case 'safari': case 'ios': case 'edge': case 'edge-chromium': this.browserStatus = 'supported'; this.hasGoodBrowser = true; break; default: this.browserStatus = 'not supported'; } } checkCookiesEnabled() { if (navigator.cookieEnabled) { this.cookiesEnabled = true; } else { return false; } } } SystemRequirementsComponent.ɵfac = function SystemRequirementsComponent_Factory(t) { return new (t || SystemRequirementsComponent)(); }; SystemRequirementsComponent.ɵcmp = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵdefineComponent"]({ type: SystemRequirementsComponent, selectors: [["app-system-requirements"]], decls: 49, vars: 9, consts: [["name", "laptop-outline", 1, "inline-icon"], [1, "twl-main", "mb-5", "container-fluid"], [1, "row"], [1, "col-md-6"], ["name", "alert-circle", "class", "inline-icon has-failure", 4, "ngIf"], ["name", "checkmark-circle", "class", "inline-icon has-success", 4, "ngIf"], [1, "mb-0"], ["type", "button", 1, "btn", "btn-outline-primary", "btn-sm", 3, "click"], [3, "ngbCollapse", "ngbCollapseChange"], ["collapse", "ngbCollapse"], [1, "mb-small"], [1, "body-list", "mb-large"], [4, "ngIf", "ngIfElse"], ["cookiesNotEnabled", ""], [1, "col-md-12"], ["name", "checkmark-circle", 1, "inline-icon", "has-success"], ["name", "alert-circle", 1, "inline-icon", "has-failure"]], template: function SystemRequirementsComponent_Template(rf, ctx) { if (rf & 1) { const _r6 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵgetCurrentView"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](0, "h3"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](1, "ion-icon", 0); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](2, " System requirements\n"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](3, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](4, " Describes your device's settings and whether they're compatible with Tutoring with the Lightning Squad.\n"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](5, "div", 1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](6, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](7, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](8, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](9, " Supported browser "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](10, SystemRequirementsComponent_ion_icon_10_Template, 1, 0, "ion-icon", 4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](11, SystemRequirementsComponent_ion_icon_11_Template, 1, 0, "ion-icon", 5); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](12, "p", 6); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](13, " You're running "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](14, "strong"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](16); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](17, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](18); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](19, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](20, "button", 7); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("click", function SystemRequirementsComponent_Template_button_click_20_listener() { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵrestoreView"](_r6); const _r2 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](23); return _r2.toggle(); }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](21, " Show all supported browsers "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](22, "div", 8, 9); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵlistener"]("ngbCollapseChange", function SystemRequirementsComponent_Template_div_ngbCollapseChange_22_listener($event) { return ctx.isCollapsed = $event; }); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](24, "p", 10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](25, " FFT develops its services to be compatible with the latest and previous major version of the following web browsers unless otherwise stated: "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](26, "ul", 11); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](27, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](28, "Chrome (Windows and Mac)"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](29, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](30, "Firefox (Windows and Mac)"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](31, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](32, "Microsoft Edge (Windows)"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](33, "li"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](34, "Safari (Mac and iOS)"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](35, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](36, SystemRequirementsComponent_ng_container_36_Template, 6, 0, "ng-container", 12); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplate"](37, SystemRequirementsComponent_ng_template_37_Template, 5, 0, "ng-template", null, 13, _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtemplateRefExtractor"]); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](39, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](40, "div", 14); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](41, "div", 2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](42, "div", 3); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](43, "br"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](44, "h5"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](45, " Javascript "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelement"](46, "ion-icon", 15); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementStart"](47, "p"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtext"](48, "Javascript is enabled"); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵelementEnd"](); } if (rf & 2) { const _r4 = _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵreference"](38); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](10); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", !ctx.hasGoodBrowser); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.hasGoodBrowser); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](4); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate"](ctx.browserName); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](1); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"](" version ", ctx.browserVersion, " "); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵtextInterpolate1"]("This browser is ", ctx.browserStatus, ""); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵattribute"]("aria-expanded", !ctx.isCollapsed); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](2); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngbCollapse", ctx.isCollapsed); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵadvance"](14); _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵɵproperty"]("ngIf", ctx.cookiesEnabled)("ngIfElse", _r4); } }, directives: [_ionic_angular__WEBPACK_IMPORTED_MODULE_2__["IonIcon"], _angular_common__WEBPACK_IMPORTED_MODULE_3__["NgIf"], _ng_bootstrap_ng_bootstrap__WEBPACK_IMPORTED_MODULE_4__["NgbCollapse"]], styles: ["\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL3N5c3RlbS1yZXF1aXJlbWVudHMvc3lzdGVtLXJlcXVpcmVtZW50cy5jb21wb25lbnQuc2NzcyJ9 */"] }); /*@__PURE__*/ (function () { _angular_core__WEBPACK_IMPORTED_MODULE_0__["ɵsetClassMetadata"](SystemRequirementsComponent, [{ type: _angular_core__WEBPACK_IMPORTED_MODULE_0__["Component"], args: [{ selector: 'app-system-requirements', templateUrl: './system-requirements.component.html', styleUrls: ['./system-requirements.component.scss'] }] }], function () { return []; }, null); })(); /***/ }), /***/ "./src/environments/environment.ts": /*!*****************************************!*\ !*** ./src/environments/environment.ts ***! \*****************************************/ /*! exports provided: environment */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "environment", function() { return environment; }); // This file can be replaced during build by using the `fileReplacements` array. // `ng build --prod` replaces `environment.ts` with `environment.prod.ts`. // The list of file replacements can be found in `angular.json`. const environment = { production: false }; /* * For easier debugging in development mode, you can import the following file * to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`. * * This import should be commented out in production mode because it will have a negative impact * on performance if an error is thrown. */ // import 'zone.js/dist/zone-error'; // Included with Angular CLI. /***/ }), /***/ "./src/main.ts": /*!*********************!*\ !*** ./src/main.ts ***! \*********************/ /*! no exports provided */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _angular_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm2015/core.js"); /* harmony import */ var _environments_environment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./environments/environment */ "./src/environments/environment.ts"); /* harmony import */ var _app_app_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./app/app.module */ "./src/app/app.module.ts"); /* harmony import */ var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm2015/platform-browser.js"); if (_environments_environment__WEBPACK_IMPORTED_MODULE_1__["environment"].production) { Object(_angular_core__WEBPACK_IMPORTED_MODULE_0__["enableProdMode"])(); } _angular_platform_browser__WEBPACK_IMPORTED_MODULE_3__["platformBrowser"]().bootstrapModule(_app_app_module__WEBPACK_IMPORTED_MODULE_2__["AppModule"]) .catch(err => console.error(err)); /***/ }), /***/ 0: /*!***************************!*\ !*** multi ./src/main.ts ***! \***************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__(/*! C:\dev\twl-config-check\src\main.ts */"./src/main.ts"); /***/ }) },[[0,"runtime","vendor"]]]); //# sourceMappingURL=main.js.map