-
Notifications
You must be signed in to change notification settings - Fork 0
/
main-es5.js
13009 lines (9386 loc) · 576 KB
/
main-es5.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(function () {
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
function _possibleConstructorReturn(self, call) { if (call && (typeof call === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
(self["webpackChunkmage"] = self["webpackChunkmage"] || []).push([["main"], {
/***/
98255: function _(module) {
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;
webpackEmptyAsyncContext.id = 98255;
module.exports = webpackEmptyAsyncContext;
/***/
},
/***/
90158: function _(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */
__webpack_require__.d(__webpack_exports__, {
/* harmony export */
"routes": function routes() {
return (
/* binding */
_routes
);
},
/* harmony export */
"AppRoutingModule": function AppRoutingModule() {
return (
/* binding */
_AppRoutingModule
);
}
/* harmony export */
});
/* harmony import */
var _angular_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
/*! @angular/router */
71258);
/* harmony import */
var _user_auth_guard__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
/*! ./user/auth.guard */
32881);
/* harmony import */
var _angular_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
/*! @angular/core */
2316);
var _routes = [{
path: '',
redirectTo: 'user/landing',
pathMatch: 'full'
}, {
path: 'user',
loadChildren: function loadChildren() {
return Promise.all(
/*! import() */
[__webpack_require__.e("default-src_app_user_encyclopedia_tome_component_ts"), __webpack_require__.e("src_app_user_user_module_ts")]).then(__webpack_require__.bind(__webpack_require__,
/*! ./user/user.module */
88524)).then(function (m) {
return m.UserModule;
});
}
}, {
path: 'world',
loadChildren: function loadChildren() {
return __webpack_require__.e(
/*! import() */
"src_app_world_world_module_ts").then(__webpack_require__.bind(__webpack_require__,
/*! ./world/world.module */
94303)).then(function (m) {
return m.WorldModule;
});
},
canActivate: [_user_auth_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuard]
}, {
path: 'kingdom',
loadChildren: function loadChildren() {
return Promise.all(
/*! import() */
[__webpack_require__.e("default-src_app_user_encyclopedia_tome_component_ts"), __webpack_require__.e("src_app_kingdom_kingdom_module_ts")]).then(__webpack_require__.bind(__webpack_require__,
/*! ./kingdom/kingdom.module */
34669)).then(function (m) {
return m.KingdomModule;
});
},
canActivate: [_user_auth_guard__WEBPACK_IMPORTED_MODULE_0__.AuthGuard]
}, {
path: '**',
redirectTo: ''
}];
var _AppRoutingModule = function _AppRoutingModule() {
_classCallCheck(this, _AppRoutingModule);
};
_AppRoutingModule.ɵfac = function AppRoutingModule_Factory(t) {
return new (t || _AppRoutingModule)();
};
_AppRoutingModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineNgModule"]({
type: _AppRoutingModule
});
_AppRoutingModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵdefineInjector"]({
imports: [[_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule.forRoot(_routes, {
scrollPositionRestoration: 'top',
// relativeLinkResolution: 'legacy',
onSameUrlNavigation: 'reload',
anchorScrolling: 'enabled' // not working https://github.com/angular/angular/issues/33240
})], _angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
});
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_1__["ɵɵsetNgModuleScope"](_AppRoutingModule, {
imports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule],
exports: [_angular_router__WEBPACK_IMPORTED_MODULE_2__.RouterModule]
});
})();
/***/
},
/***/
55041: function _(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */
__webpack_require__.d(__webpack_exports__, {
/* harmony export */
"AppComponent": function AppComponent() {
return (
/* binding */
_AppComponent
);
}
/* harmony export */
});
/* harmony import */
var _angular_core__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
/*! @angular/core */
2316);
/* harmony import */
var _angular_router__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
/*! @angular/router */
71258);
/* harmony import */
var _angular_common__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
/*! @angular/common */
54364);
/* harmony import */
var _services_cache_service__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
/*! ./services/cache.service */
12622);
/* harmony import */
var _services_firebase_service__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
/*! ./services/firebase.service */
19446);
/* harmony import */
var _services_loading_service__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
/*! ./services/loading.service */
4471);
/* harmony import */
var _services_tutorial_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
/*! ./services/tutorial.service */
80595);
/* harmony import */
var _shared_tour_tour_component__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
/*! ./shared/tour/tour.component */
69078);
/* harmony import */
var _shared_shell_shell_component__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
/*! ./shared/shell/shell.component */
24337);
/* harmony import */
var _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
/*! @angular/material/progress-spinner */
80181);
function AppComponent_div_1_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](0, "div", 1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](1, "mat-progress-spinner", 2);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
}
}
var _AppComponent = /*#__PURE__*/function () {
function _AppComponent(firebaseService, loadingService, tutorialService, router, platformId) {
_classCallCheck(this, _AppComponent);
this.firebaseService = firebaseService;
this.loadingService = loadingService;
this.tutorialService = tutorialService;
this.router = router;
this.platformId = platformId;
}
_createClass(_AppComponent, [{
key: "ngOnInit",
value: function ngOnInit() {
var _this = this;
// anchors
this.router.events.subscribe(function (event) {
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_7__.NavigationEnd && event.url !== '/user/landing') {
localStorage.setItem('route', event.url);
}
if (event instanceof _angular_router__WEBPACK_IMPORTED_MODULE_7__.Scroll && event.anchor && (0, _angular_common__WEBPACK_IMPORTED_MODULE_8__.isPlatformBrowser)(_this.platformId)) {
setTimeout(function () {
var anchor = document.querySelector('#' + event.anchor);
if (!anchor) {
window.scrollTo({
top: 0,
behavior: 'smooth'
});
} else {
anchor.scrollIntoView({
behavior: 'smooth'
});
}
}, 1000);
}
}); // fixtures
this.tutorialService.initialize();
this.firebaseService.loadFixtures([// CollectionType.FACTIONS,
// CollectionType.ATTACKS,
// CollectionType.CATEGORIES,
// CollectionType.FAMILIES,
// CollectionType.GODS,
// CollectionType.GUILDS,
// CollectionType.RESOURCES,
// CollectionType.STRUCTURES,
// CollectionType.SKILLS,
_services_cache_service__WEBPACK_IMPORTED_MODULE_0__.CollectionType.UNITS, _services_cache_service__WEBPACK_IMPORTED_MODULE_0__.CollectionType.SPELLS, _services_cache_service__WEBPACK_IMPORTED_MODULE_0__.CollectionType.ITEMS // CollectionType.HEROES,
// CollectionType.STORES,
// CollectionType.LOCATIONS,
// CollectionType.LEGENDS,
// CollectionType.PERKS,
// CollectionType.PACKS,
]);
}
}]);
return _AppComponent;
}();
_AppComponent.ɵfac = function AppComponent_Factory(t) {
return new (t || _AppComponent)(_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_firebase_service__WEBPACK_IMPORTED_MODULE_1__.FirebaseService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_loading_service__WEBPACK_IMPORTED_MODULE_2__.LoadingService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_services_tutorial_service__WEBPACK_IMPORTED_MODULE_3__.TutorialService), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_router__WEBPACK_IMPORTED_MODULE_7__.Router), _angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdirectiveInject"](_angular_core__WEBPACK_IMPORTED_MODULE_6__.PLATFORM_ID));
};
_AppComponent.ɵcmp = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵdefineComponent"]({
type: _AppComponent,
selectors: [["app-root"]],
decls: 4,
vars: 1,
consts: [["class", "loading-screen", 4, "ngIf"], [1, "loading-screen"], ["mode", "indeterminate"]],
template: function AppComponent_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](0, "app-tour");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵtemplate"](1, AppComponent_div_1_Template, 2, 0, "div", 0);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementStart"](2, "app-shell");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelement"](3, "router-outlet");
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵelementEnd"]();
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_6__["ɵɵproperty"]("ngIf", ctx.loadingService.loading);
}
},
directives: [_shared_tour_tour_component__WEBPACK_IMPORTED_MODULE_4__.TourComponent, _angular_common__WEBPACK_IMPORTED_MODULE_8__.NgIf, _shared_shell_shell_component__WEBPACK_IMPORTED_MODULE_5__.ShellComponent, _angular_router__WEBPACK_IMPORTED_MODULE_7__.RouterOutlet, _angular_material_progress_spinner__WEBPACK_IMPORTED_MODULE_9__.MatProgressSpinner],
styles: [".loading-screen[_ngcontent-%COMP%] {\n background-color: rgba(0, 0, 0, 0.5);\n display: flex;\n justify-content: center;\n align-items: center;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 9999;\n pointer-events: all;\n}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImFwcC5jb21wb25lbnQuc2NzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG9DQUFBO0VBQ0EsYUFBQTtFQUNBLHVCQUFBO0VBQ0EsbUJBQUE7RUFDQSxXQUFBO0VBQ0EsWUFBQTtFQUNBLGtCQUFBO0VBQ0EsYUFBQTtFQUNBLG1CQUFBO0FBQ0YiLCJmaWxlIjoiYXBwLmNvbXBvbmVudC5zY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLmxvYWRpbmctc2NyZWVuIHtcclxuICBiYWNrZ3JvdW5kLWNvbG9yOiByZ2JhKDAsIDAsIDAsIDAuNSk7XHJcbiAgZGlzcGxheTogZmxleDtcclxuICBqdXN0aWZ5LWNvbnRlbnQ6IGNlbnRlcjtcclxuICBhbGlnbi1pdGVtczogY2VudGVyO1xyXG4gIHdpZHRoOiAxMDAlO1xyXG4gIGhlaWdodDogMTAwJTtcclxuICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgei1pbmRleDogOTk5OTtcclxuICBwb2ludGVyLWV2ZW50czogYWxsO1xyXG59XHJcbiJdfQ== */"]
});
/***/
},
/***/
36747: function _(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */
__webpack_require__.d(__webpack_exports__, {
/* harmony export */
"httpLoaderFactory": function httpLoaderFactory() {
return (
/* binding */
_httpLoaderFactory
);
},
/* harmony export */
"appInitializerFactory": function appInitializerFactory() {
return (
/* binding */
_appInitializerFactory
);
},
/* harmony export */
"AppModule": function AppModule() {
return (
/* binding */
_AppModule
);
}
/* harmony export */
});
/* harmony import */
var _angular_platform_browser__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
/*! @angular/platform-browser */
71570);
/* harmony import */
var _angular_core__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
/*! @angular/core */
2316);
/* harmony import */
var _app_routing_module__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
/*! ./app-routing.module */
90158);
/* harmony import */
var _app_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
/*! ./app.component */
55041);
/* harmony import */
var _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
/*! @angular/platform-browser/animations */
20718);
/* harmony import */
var _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
/*! ./shared/shared.module */
44466);
/* harmony import */
var _environments_environment__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
/*! ../environments/environment */
92340);
/* harmony import */
var _angular_fire__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
/*! @angular/fire */
18690);
/* harmony import */
var _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
/*! @angular/fire/firestore */
43789);
/* harmony import */
var _angular_fire_auth__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
/*! @angular/fire/auth */
36363);
/* harmony import */
var _angular_fire_database__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
/*! @angular/fire/database */
60716);
/* harmony import */
var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
/*! @ngx-translate/core */
70325);
/* harmony import */
var _angular_common_http__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
/*! @angular/common/http */
53882);
/* harmony import */
var _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
/*! @ngx-translate/http-loader */
49476);
/* harmony import */
var _angular_material_core__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
/*! @angular/material/core */
32220);
/* harmony import */
var _ngxs_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
/*! @ngxs/store */
14835);
/* harmony import */
var _ngxs_devtools_plugin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
/*! @ngxs/devtools-plugin */
62912);
/* harmony import */
var _shared_auth_auth_state__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
/*! ./shared/auth/auth.state */
35917);
/* harmony import */
var ngx_ui_tour_md_menu__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
/*! ngx-ui-tour-md-menu */
81252);
/* harmony import */
var _angular_material_paginator__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
/*! @angular/material/paginator */
38021);
/* harmony import */
var _shared_custom_paginator_intl__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
/*! ./shared/custom/paginator.intl */
68922);
/* harmony import */
var ngx_currency__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
/*! ngx-currency */
49816);
/* harmony import */
var ngx_disqus__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
/*! ngx-disqus */
45916); // AOT compilation support
function _httpLoaderFactory(http) {
return new _ngx_translate_http_loader__WEBPACK_IMPORTED_MODULE_8__.TranslateHttpLoader(http);
} // i18n initializer to force translations to be loaded before startup
function _appInitializerFactory(translateService) {
return function () {
translateService.setDefaultLang('es');
return translateService.use('es').toPromise();
};
}
var _AppModule = function _AppModule() {
_classCallCheck(this, _AppModule);
};
_AppModule.ɵfac = function AppModule_Factory(t) {
return new (t || _AppModule)();
};
_AppModule.ɵmod = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineNgModule"]({
type: _AppModule,
bootstrap: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent]
});
_AppModule.ɵinj = /*@__PURE__*/_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjector"]({
providers: [{
provide: _angular_material_core__WEBPACK_IMPORTED_MODULE_10__.ErrorStateMatcher,
useClass: _angular_material_core__WEBPACK_IMPORTED_MODULE_10__.ShowOnDirtyErrorStateMatcher
}, {
provide: _angular_material_paginator__WEBPACK_IMPORTED_MODULE_11__.MatPaginatorIntl,
useClass: _shared_custom_paginator_intl__WEBPACK_IMPORTED_MODULE_7__.PaginatorIntl
}, {
provide: _angular_core__WEBPACK_IMPORTED_MODULE_9__.APP_INITIALIZER,
useFactory: _appInitializerFactory,
deps: [_ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateService],
multi: true
}],
imports: [[_angular_platform_browser__WEBPACK_IMPORTED_MODULE_13__.BrowserModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_14__.BrowserAnimationsModule, _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__.SharedModule, _angular_fire__WEBPACK_IMPORTED_MODULE_15__.AngularFireModule.initializeApp(_environments_environment__WEBPACK_IMPORTED_MODULE_3__.environment.firebase), _angular_fire_auth__WEBPACK_IMPORTED_MODULE_16__.AngularFireAuthModule, _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_17__.AngularFirestoreModule, _angular_fire_database__WEBPACK_IMPORTED_MODULE_18__.AngularFireDatabaseModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateModule.forRoot({
loader: {
provide: _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateLoader,
useFactory: _httpLoaderFactory,
deps: [_angular_common_http__WEBPACK_IMPORTED_MODULE_19__.HttpClient]
},
isolate: false
}), _ngxs_store__WEBPACK_IMPORTED_MODULE_4__.NgxsModule.forRoot([_shared_auth_auth_state__WEBPACK_IMPORTED_MODULE_6__.AuthState], {
developmentMode: !_environments_environment__WEBPACK_IMPORTED_MODULE_3__.environment.production
}), _ngxs_devtools_plugin__WEBPACK_IMPORTED_MODULE_5__.NgxsReduxDevtoolsPluginModule.forRoot({
name: 'Legendarium',
disabled: _environments_environment__WEBPACK_IMPORTED_MODULE_3__.environment.production
}), ngx_ui_tour_md_menu__WEBPACK_IMPORTED_MODULE_20__.TourMatMenuModule.forRoot(), ngx_currency__WEBPACK_IMPORTED_MODULE_21__.NgxCurrencyModule, ngx_disqus__WEBPACK_IMPORTED_MODULE_22__.DisqusModule.forRoot('legendarium-test')]]
});
(function () {
(typeof ngJitMode === "undefined" || ngJitMode) && _angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵsetNgModuleScope"](_AppModule, {
declarations: [_app_component__WEBPACK_IMPORTED_MODULE_1__.AppComponent],
imports: [_angular_platform_browser__WEBPACK_IMPORTED_MODULE_13__.BrowserModule, _app_routing_module__WEBPACK_IMPORTED_MODULE_0__.AppRoutingModule, _angular_platform_browser_animations__WEBPACK_IMPORTED_MODULE_14__.BrowserAnimationsModule, _shared_shared_module__WEBPACK_IMPORTED_MODULE_2__.SharedModule, _angular_fire__WEBPACK_IMPORTED_MODULE_15__.AngularFireModule, _angular_fire_auth__WEBPACK_IMPORTED_MODULE_16__.AngularFireAuthModule, _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_17__.AngularFirestoreModule, _angular_fire_database__WEBPACK_IMPORTED_MODULE_18__.AngularFireDatabaseModule, _ngx_translate_core__WEBPACK_IMPORTED_MODULE_12__.TranslateModule, _ngxs_store__WEBPACK_IMPORTED_MODULE_4__["ɵk"], _ngxs_devtools_plugin__WEBPACK_IMPORTED_MODULE_5__.NgxsReduxDevtoolsPluginModule, ngx_ui_tour_md_menu__WEBPACK_IMPORTED_MODULE_20__.TourMatMenuModule, ngx_currency__WEBPACK_IMPORTED_MODULE_21__.NgxCurrencyModule, ngx_disqus__WEBPACK_IMPORTED_MODULE_22__.DisqusModule]
});
})();
/***/
},
/***/
44685: function _(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
"use strict";
__webpack_require__.r(__webpack_exports__);
/* harmony export */
__webpack_require__.d(__webpack_exports__, {
/* harmony export */
"TroopAssignmentType": function TroopAssignmentType() {
return (
/* binding */
_TroopAssignmentType
);
},
/* harmony export */
"ArmyComponent": function ArmyComponent() {
return (
/* binding */
_ArmyComponent
);
}
/* harmony export */
});
/* harmony import */
var tslib__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(
/*! tslib */
3786);
/* harmony import */
var _ngneat_until_destroy__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(
/*! @ngneat/until-destroy */
99758);
/* harmony import */
var _angular_cdk_drag_drop__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(
/*! @angular/cdk/drag-drop */
80395);
/* harmony import */
var angular_animations__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(
/*! angular-animations */
9641);
/* harmony import */
var src_app_shared_auth_auth_state__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(
/*! src/app/shared/auth/auth.state */
35917);
/* harmony import */
var _recruit_component__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
/*! ./recruit.component */
2796);
/* harmony import */
var _disband_component__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(
/*! ./disband.component */
46609);
/* harmony import */
var rxjs__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(
/*! rxjs */
57850);
/* harmony import */
var _angular_core__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(
/*! @angular/core */
2316);
/* harmony import */
var _angular_fire_firestore__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(
/*! @angular/fire/firestore */
43789);
/* harmony import */
var src_app_services_notification_service__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
/*! src/app/services/notification.service */
12013);
/* harmony import */
var _ngxs_store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(
/*! @ngxs/store */
14835);
/* harmony import */
var _angular_material_dialog__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(
/*! @angular/material/dialog */
22213);
/* harmony import */
var src_app_services_api_service__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(
/*! src/app/services/api.service */
5830);
/* harmony import */
var src_app_services_loading_service__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(
/*! src/app/services/loading.service */
4471);
/* harmony import */
var src_app_services_tutorial_service__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(
/*! src/app/services/tutorial.service */
80595);
/* harmony import */
var _angular_flex_layout_flex__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(
/*! @angular/flex-layout/flex */
30582);
/* harmony import */
var _angular_material_card__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(
/*! @angular/material/card */
42118);
/* harmony import */
var _angular_material_button__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(
/*! @angular/material/button */
70781);
/* harmony import */
var _angular_material_icon__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(
/*! @angular/material/icon */
52529);
/* harmony import */
var _angular_material_chips__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(
/*! @angular/material/chips */
79243);
/* harmony import */
var _angular_material_list__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(
/*! @angular/material/list */
28417);
/* harmony import */
var ngx_ui_tour_md_menu__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(
/*! ngx-ui-tour-md-menu */
81252);
/* harmony import */
var _angular_common__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(
/*! @angular/common */
54364);
/* harmony import */
var _angular_flex_layout_extended__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(
/*! @angular/flex-layout/extended */
89460);
/* harmony import */
var _angular_material_badge__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(
/*! @angular/material/badge */
90330);
/* harmony import */
var _angular_material_core__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(
/*! @angular/material/core */
32220);
/* harmony import */
var _ngx_translate_core__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(
/*! @ngx-translate/core */
70325);
/* harmony import */
var _pipes_icon_pipe__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(
/*! ../../pipes/icon.pipe */
38262);
/* harmony import */
var _pipes_long_pipe__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(
/*! ../../pipes/long.pipe */
16757);
/* harmony import */
var _pipes_short_pipe__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(
/*! ../../pipes/short.pipe */
61357);
function ArmyComponent_button_27_img_9_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](0, "img", 29);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "translate");
}
if (rf & 2) {
var family_r10 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](1, 3, family_r10.name))("src", family_r10.image, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"])("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 5, family_r10.name));
}
}
function ArmyComponent_button_27_img_10_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](0, "img", 29);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "translate");
}
if (rf & 2) {
var skill_r11 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](1, 3, skill_r11.name))("src", skill_r11.image, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"])("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 5, skill_r11.name));
}
}
function ArmyComponent_button_27_img_11_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](0, "img", 29);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "translate");
}
if (rf & 2) {
var category_r12 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](1, 3, category_r12.name))("src", category_r12.image, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"])("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 5, category_r12.name));
}
}
function ArmyComponent_button_27_img_12_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](0, "img", 30);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "translate");
}
if (rf & 2) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](1, 2, "category.legendary.name"))("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 4, "category.legendary.name"));
}
}
function ArmyComponent_button_27_div_13_img_1_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](0, "img", 32);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](1, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](3, "translate");
}
if (rf & 2) {
var category_r14 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("title", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](1, 3, "category.resistance.name") + _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 5, category_r14.name))("src", category_r14.image, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"])("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](3, 7, "category.resistance.name"));
}
}
function ArmyComponent_button_27_div_13_Template(rf, ctx) {
if (rf & 1) {
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "div", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](1, ArmyComponent_button_27_div_13_img_1_Template, 4, 9, "img", 31);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
}
if (rf & 2) {
var troop_r4 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]().$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("ngForOf", troop_r4.unit.resistances);
}
}
var _c0 = function _c0(a0, a1) {
return [a0, a1];
};
function ArmyComponent_button_27_Template(rf, ctx) {
if (rf & 1) {
var _r17 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵgetCurrentView"]();
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](0, "button", 21);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵlistener"]("click", function ArmyComponent_button_27_Template_button_click_0_listener() {
var restoredCtx = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵrestoreView"](_r17);
var troop_r4 = restoredCtx.$implicit;
var ctx_r16 = _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵnextContext"]();
return ctx_r16.openDisbandDialog(troop_r4);
});
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](1, "div", 22);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](2, "short");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelement"](3, "img", 23);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](4, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](5, "div", 24);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](6);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipe"](7, "translate");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](8, "div", 25);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](9, ArmyComponent_button_27_img_9_Template, 3, 7, "img", 26);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](10, ArmyComponent_button_27_img_10_Template, 3, 7, "img", 26);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](11, ArmyComponent_button_27_img_11_Template, 3, 7, "img", 26);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](12, ArmyComponent_button_27_img_12_Template, 3, 6, "img", 27);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtemplate"](13, ArmyComponent_button_27_div_13_Template, 2, 1, "div", 28);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementStart"](14, "mat-icon");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtext"](15, "open_with");
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵelementEnd"]();
}
if (rf & 2) {
var troop_r4 = ctx.$implicit;
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("id", troop_r4.fid)("ngClass", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpureFunction2"](17, _c0, troop_r4.unit.faction.id, troop_r4.unit.legendary ? "legendary" : "common"));
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](1);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("matBadge", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](2, 11, troop_r4.quantity));
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](2);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵproperty"]("src", troop_r4.unit.image, _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵsanitizeUrl"])("alt", _angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](4, 13, troop_r4.unit.name));
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵadvance"](3);
_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵtextInterpolate"](_angular_core__WEBPACK_IMPORTED_MODULE_11__["ɵɵpipeBind1"](7, 15, troop_r4.unit.name));