hydra-crawler 1.4.6 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (305) hide show
  1. package/dist/apis/autocomplete.api.d.ts +7 -0
  2. package/dist/apis/autocomplete.api.js +15 -9
  3. package/dist/apis/autocomplete.api.js.map +1 -0
  4. package/dist/apis/bugs.api.d.ts +7 -0
  5. package/dist/apis/bugs.api.js +21 -15
  6. package/dist/apis/bugs.api.js.map +1 -0
  7. package/dist/apis/crawl.api.d.ts +7 -0
  8. package/dist/apis/crawl.api.js +15 -9
  9. package/dist/apis/crawl.api.js.map +1 -0
  10. package/dist/apis/domains.api.d.ts +7 -0
  11. package/dist/apis/domains.api.js +24 -19
  12. package/dist/apis/domains.api.js.map +1 -0
  13. package/dist/apis/images.api.d.ts +7 -0
  14. package/dist/apis/images.api.js +20 -14
  15. package/dist/apis/images.api.js.map +1 -0
  16. package/dist/apis/statistics.api.d.ts +8 -0
  17. package/dist/apis/statistics.api.js +27 -20
  18. package/dist/apis/statistics.api.js.map +1 -0
  19. package/dist/apis/test.api.d.ts +5 -0
  20. package/dist/apis/test.api.js +15 -9
  21. package/dist/apis/test.api.js.map +1 -0
  22. package/dist/apis/urls.api.d.ts +7 -0
  23. package/dist/apis/urls.api.js +21 -15
  24. package/dist/apis/urls.api.js.map +1 -0
  25. package/dist/apps/cleanup.app.d.ts +19 -0
  26. package/dist/apps/cleanup.app.js +118 -100
  27. package/dist/apps/cleanup.app.js.map +1 -0
  28. package/dist/apps/cross-populate-export.app.d.ts +12 -0
  29. package/dist/apps/cross-populate-export.app.js +60 -47
  30. package/dist/apps/cross-populate-export.app.js.map +1 -0
  31. package/dist/apps/cross-populate-import.app.d.ts +12 -0
  32. package/dist/apps/cross-populate-import.app.js +64 -51
  33. package/dist/apps/cross-populate-import.app.js.map +1 -0
  34. package/dist/apps/denylist.app.d.ts +17 -0
  35. package/dist/apps/denylist.app.js +115 -98
  36. package/dist/apps/denylist.app.js.map +1 -0
  37. package/dist/apps/expire.app.d.ts +19 -0
  38. package/dist/apps/expire.app.js +44 -31
  39. package/dist/apps/expire.app.js.map +1 -0
  40. package/dist/apps/extract-text.app.d.ts +8 -0
  41. package/dist/apps/extract-text.app.js +43 -35
  42. package/dist/apps/extract-text.app.js.map +1 -0
  43. package/dist/apps/hydra.app.d.ts +34 -0
  44. package/dist/apps/hydra.app.js +150 -137
  45. package/dist/apps/hydra.app.js.map +1 -0
  46. package/dist/apps/import.app.d.ts +11 -0
  47. package/dist/apps/import.app.js +44 -32
  48. package/dist/apps/import.app.js.map +1 -0
  49. package/dist/apps/internal-hydra-common.app.d.ts +28 -0
  50. package/dist/apps/internal-hydra-common.app.js +5 -11
  51. package/dist/apps/internal-hydra-common.app.js.map +1 -0
  52. package/dist/apps/query.app.d.ts +20 -0
  53. package/dist/apps/query.app.js +63 -49
  54. package/dist/apps/query.app.js.map +1 -0
  55. package/dist/apps/reattempt.app.d.ts +17 -0
  56. package/dist/apps/reattempt.app.js +66 -53
  57. package/dist/apps/reattempt.app.js.map +1 -0
  58. package/dist/apps/requeue-domain.app.d.ts +13 -0
  59. package/dist/apps/requeue-domain.app.js +50 -37
  60. package/dist/apps/requeue-domain.app.js.map +1 -0
  61. package/dist/apps/seed.app.d.ts +15 -0
  62. package/dist/apps/seed.app.js +53 -40
  63. package/dist/apps/seed.app.js.map +1 -0
  64. package/dist/apps/startup.app.d.ts +11 -0
  65. package/dist/apps/startup.app.js +51 -38
  66. package/dist/apps/startup.app.js.map +1 -0
  67. package/dist/apps/unarchive.app.d.ts +15 -0
  68. package/dist/apps/unarchive.app.js +67 -54
  69. package/dist/apps/unarchive.app.js.map +1 -0
  70. package/dist/classes/cleaner.d.ts +12 -0
  71. package/dist/classes/cleaner.js +227 -207
  72. package/dist/classes/cleaner.js.map +1 -0
  73. package/dist/classes/crawler.d.ts +34 -0
  74. package/dist/classes/crawler.js +248 -241
  75. package/dist/classes/crawler.js.map +1 -0
  76. package/dist/classes/dns.d.ts +3 -0
  77. package/dist/classes/dns.js +10 -13
  78. package/dist/classes/dns.js.map +1 -0
  79. package/dist/classes/expirer.d.ts +10 -0
  80. package/dist/classes/expirer.js +107 -94
  81. package/dist/classes/expirer.js.map +1 -0
  82. package/dist/classes/expiry.d.ts +8 -0
  83. package/dist/classes/expiry.js +16 -19
  84. package/dist/classes/expiry.js.map +1 -0
  85. package/dist/classes/lists.d.ts +9 -0
  86. package/dist/classes/lists.js +13 -18
  87. package/dist/classes/lists.js.map +1 -0
  88. package/dist/classes/robot.d.ts +15 -0
  89. package/dist/classes/robot.js +40 -30
  90. package/dist/classes/robot.js.map +1 -0
  91. package/dist/classes/tracker.d.ts +25 -0
  92. package/dist/classes/tracker.js +82 -64
  93. package/dist/classes/tracker.js.map +1 -0
  94. package/dist/cli.d.ts +1 -0
  95. package/dist/cli.js +72 -65
  96. package/dist/cli.js.map +1 -0
  97. package/dist/enums/eavailable-strategy.d.ts +4 -0
  98. package/dist/enums/eavailable-strategy.js +3 -5
  99. package/dist/enums/eavailable-strategy.js.map +1 -0
  100. package/dist/enums/elist.d.ts +7 -0
  101. package/dist/enums/elist.js +7 -11
  102. package/dist/enums/elist.js.map +1 -0
  103. package/dist/enums/eserver.d.ts +8 -0
  104. package/dist/enums/eserver.js +3 -5
  105. package/dist/enums/eserver.js.map +1 -0
  106. package/dist/enums/ex-powered-by.d.ts +6 -0
  107. package/dist/enums/ex-powered-by.js +3 -5
  108. package/dist/enums/ex-powered-by.js.map +1 -0
  109. package/dist/helpers/matcher.d.ts +5 -0
  110. package/dist/helpers/matcher.js +2 -5
  111. package/dist/helpers/matcher.js.map +1 -0
  112. package/dist/helpers/random.d.ts +4 -0
  113. package/dist/helpers/random.js +2 -5
  114. package/dist/helpers/random.js.map +1 -0
  115. package/dist/helpers/utf-decoder.d.ts +4 -0
  116. package/dist/helpers/utf-decoder.js +3 -6
  117. package/dist/helpers/utf-decoder.js.map +1 -0
  118. package/dist/interfaces/iexpiry.d.ts +7 -0
  119. package/dist/interfaces/iexpiry.js +9 -13
  120. package/dist/interfaces/iexpiry.js.map +1 -0
  121. package/dist/interfaces/imatch.d.ts +6 -0
  122. package/dist/interfaces/imatch.js +6 -9
  123. package/dist/interfaces/imatch.js.map +1 -0
  124. package/dist/interfaces/iparser-config.d.ts +4 -0
  125. package/dist/interfaces/iparser-config.js +4 -7
  126. package/dist/interfaces/iparser-config.js.map +1 -0
  127. package/dist/interfaces/iparser.d.ts +8 -0
  128. package/dist/interfaces/iparser.js +2 -2
  129. package/dist/interfaces/iparser.js.map +1 -0
  130. package/dist/interfaces/irequest-outcome.d.ts +11 -0
  131. package/dist/interfaces/irequest-outcome.js +2 -2
  132. package/dist/interfaces/irequest-outcome.js.map +1 -0
  133. package/dist/interfaces/iserver.d.ts +4 -0
  134. package/dist/interfaces/iserver.js +2 -2
  135. package/dist/interfaces/iserver.js.map +1 -0
  136. package/dist/parsers/accessibility-metrics.parser.d.ts +11 -0
  137. package/dist/parsers/accessibility-metrics.parser.js +34 -26
  138. package/dist/parsers/accessibility-metrics.parser.js.map +1 -0
  139. package/dist/parsers/asp-error.parser.d.ts +12 -0
  140. package/dist/parsers/asp-error.parser.js +36 -28
  141. package/dist/parsers/asp-error.parser.js.map +1 -0
  142. package/dist/parsers/bad-words.parser.d.ts +10 -0
  143. package/dist/parsers/bad-words.parser.js +21 -13
  144. package/dist/parsers/bad-words.parser.js.map +1 -0
  145. package/dist/parsers/complex-english.parser.d.ts +15 -0
  146. package/dist/parsers/complex-english.parser.js +33 -25
  147. package/dist/parsers/complex-english.parser.js.map +1 -0
  148. package/dist/parsers/data.parser.d.ts +14 -0
  149. package/dist/parsers/data.parser.js +12 -16
  150. package/dist/parsers/data.parser.js.map +1 -0
  151. package/dist/parsers/dictionary.parser.d.ts +19 -0
  152. package/dist/parsers/dictionary.parser.js +47 -39
  153. package/dist/parsers/dictionary.parser.js.map +1 -0
  154. package/dist/parsers/html.parser.d.ts +13 -0
  155. package/dist/parsers/html.parser.js +4 -8
  156. package/dist/parsers/html.parser.js.map +1 -0
  157. package/dist/parsers/hyperlinks.parser.d.ts +20 -0
  158. package/dist/parsers/hyperlinks.parser.js +82 -77
  159. package/dist/parsers/hyperlinks.parser.js.map +1 -0
  160. package/dist/parsers/image-tags.parser.d.ts +19 -0
  161. package/dist/parsers/image-tags.parser.js +31 -35
  162. package/dist/parsers/image-tags.parser.js.map +1 -0
  163. package/dist/parsers/jpeg.parser.d.ts +11 -0
  164. package/dist/parsers/jpeg.parser.js +28 -20
  165. package/dist/parsers/jpeg.parser.js.map +1 -0
  166. package/dist/parsers/paragraphs.parser.d.ts +13 -0
  167. package/dist/parsers/paragraphs.parser.js +33 -40
  168. package/dist/parsers/paragraphs.parser.js.map +1 -0
  169. package/dist/parsers/parser.d.ts +19 -0
  170. package/dist/parsers/parser.js +30 -17
  171. package/dist/parsers/parser.js.map +1 -0
  172. package/dist/parsers/php-error.parser.d.ts +12 -0
  173. package/dist/parsers/php-error.parser.js +42 -34
  174. package/dist/parsers/php-error.parser.js.map +1 -0
  175. package/dist/parsers/phrase.parser.d.ts +8 -0
  176. package/dist/parsers/phrase.parser.js +16 -11
  177. package/dist/parsers/phrase.parser.js.map +1 -0
  178. package/dist/parsers/regex.parser.d.ts +10 -0
  179. package/dist/parsers/regex.parser.js +30 -22
  180. package/dist/parsers/regex.parser.js.map +1 -0
  181. package/dist/parsers/server.parser.d.ts +11 -0
  182. package/dist/parsers/server.parser.js +58 -57
  183. package/dist/parsers/server.parser.js.map +1 -0
  184. package/dist/parsers/spelling.parser.d.ts +10 -0
  185. package/dist/parsers/spelling.parser.js +21 -13
  186. package/dist/parsers/spelling.parser.js.map +1 -0
  187. package/dist/parsers/string.parser.d.ts +8 -0
  188. package/dist/parsers/string.parser.js +5 -8
  189. package/dist/parsers/string.parser.js.map +1 -0
  190. package/dist/parsers/text.parser.d.ts +8 -0
  191. package/dist/parsers/text.parser.js +24 -18
  192. package/dist/parsers/text.parser.js.map +1 -0
  193. package/dist/parsers/words.parser.d.ts +11 -0
  194. package/dist/parsers/words.parser.js +32 -28
  195. package/dist/parsers/words.parser.js.map +1 -0
  196. package/dist/queries/complex-english.query.d.ts +2 -0
  197. package/dist/queries/complex-english.query.js +37 -38
  198. package/dist/queries/complex-english.query.js.map +1 -0
  199. package/dist/queries/flash-content.query.d.ts +2 -0
  200. package/dist/queries/flash-content.query.js +39 -30
  201. package/dist/queries/flash-content.query.js.map +1 -0
  202. package/dist/queries/linking-to-domains.query.d.ts +2 -0
  203. package/dist/queries/linking-to-domains.query.js +35 -27
  204. package/dist/queries/linking-to-domains.query.js.map +1 -0
  205. package/dist/queries/readability-score.query.d.ts +2 -0
  206. package/dist/queries/readability-score.query.js +21 -13
  207. package/dist/queries/readability-score.query.js.map +1 -0
  208. package/dist/servers/crawl.server.d.ts +35 -0
  209. package/dist/servers/crawl.server.js +133 -121
  210. package/dist/servers/crawl.server.js.map +1 -0
  211. package/dist/servers/express.server.d.ts +8 -0
  212. package/dist/servers/express.server.js +7 -10
  213. package/dist/servers/express.server.js.map +1 -0
  214. package/dist/servers/maintenance.server.d.ts +22 -0
  215. package/dist/servers/maintenance.server.js +42 -36
  216. package/dist/servers/maintenance.server.js.map +1 -0
  217. package/dist/servers/rest.server.d.ts +7 -0
  218. package/dist/servers/rest.server.js +40 -51
  219. package/dist/servers/rest.server.js.map +1 -0
  220. package/dist/servers/socket-io.server.d.ts +12 -0
  221. package/dist/servers/socket-io.server.js +48 -15
  222. package/dist/servers/socket-io.server.js.map +1 -0
  223. package/dist/services/database.service.d.ts +68 -0
  224. package/dist/services/database.service.js +527 -462
  225. package/dist/services/database.service.js.map +1 -0
  226. package/dist/types/tcrawl-config.d.ts +14 -0
  227. package/dist/types/tcrawl-config.js +14 -17
  228. package/dist/types/tcrawl-config.js.map +1 -0
  229. package/dist/types/thydra-config.d.ts +4 -0
  230. package/dist/types/thydra-config.js +4 -7
  231. package/dist/types/thydra-config.js.map +1 -0
  232. package/dist/types/tparser-ctor.d.ts +7 -0
  233. package/dist/types/tparser-ctor.js +2 -2
  234. package/dist/types/tparser-ctor.js.map +1 -0
  235. package/dist/types/tquery.d.ts +7 -0
  236. package/dist/types/tquery.js +2 -2
  237. package/dist/types/tquery.js.map +1 -0
  238. package/dist/types/trobots-config.d.ts +4 -0
  239. package/dist/types/trobots-config.js +4 -7
  240. package/dist/types/trobots-config.js.map +1 -0
  241. package/package.json +41 -29
  242. package/angular/10-es2015.bacd4ae5dd7913ce55f0.js +0 -1
  243. package/angular/10-es5.bacd4ae5dd7913ce55f0.js +0 -1
  244. package/angular/11-es2015.0f031dcf752d1e8eda6b.js +0 -1
  245. package/angular/11-es5.0f031dcf752d1e8eda6b.js +0 -1
  246. package/angular/3rdpartylicenses.txt +0 -1127
  247. package/angular/5-es2015.951498ca9c1bc74e57bf.js +0 -1
  248. package/angular/5-es5.951498ca9c1bc74e57bf.js +0 -1
  249. package/angular/6-es2015.65f680261a3506b88381.js +0 -1
  250. package/angular/6-es5.65f680261a3506b88381.js +0 -1
  251. package/angular/7-es2015.625197f3af1dbf3e805d.js +0 -1
  252. package/angular/7-es5.625197f3af1dbf3e805d.js +0 -1
  253. package/angular/8-es2015.55518901987a5b834309.js +0 -1
  254. package/angular/8-es5.55518901987a5b834309.js +0 -1
  255. package/angular/9-es2015.6cc9bde262564e7836f2.js +0 -1
  256. package/angular/9-es5.6cc9bde262564e7836f2.js +0 -1
  257. package/angular/Roboto-Black.41ed1105a6ebb8ffe34e.woff2 +0 -0
  258. package/angular/Roboto-Black.937491dfcbe64ca9a9f1.woff +0 -0
  259. package/angular/Roboto-BlackItalic.2e1ee657996854c6f427.woff +0 -0
  260. package/angular/Roboto-BlackItalic.50ca4c51ebc27e7e7d2f.woff2 +0 -0
  261. package/angular/Roboto-Bold.73288d91c325e82a5b92.woff +0 -0
  262. package/angular/Roboto-Bold.92fbd4e93cf0a5dbebaa.woff2 +0 -0
  263. package/angular/Roboto-BoldItalic.5f600d98a73d800ae575.woff2 +0 -0
  264. package/angular/Roboto-BoldItalic.6d89acbd21d7e3fbecb2.woff +0 -0
  265. package/angular/Roboto-Light.c27d89ac77468ae18f28.woff2 +0 -0
  266. package/angular/Roboto-Light.d923dfafc0c5183b59aa.woff +0 -0
  267. package/angular/Roboto-LightItalic.506274c7228cf81cae4d.woff2 +0 -0
  268. package/angular/Roboto-LightItalic.d4b8c137518d9d92bb28.woff +0 -0
  269. package/angular/Roboto-Medium.092c6130df8fd2199888.woff +0 -0
  270. package/angular/Roboto-Medium.1d3bced88509b0838984.woff2 +0 -0
  271. package/angular/Roboto-MediumItalic.18ff1628c628080166c1.woff +0 -0
  272. package/angular/Roboto-MediumItalic.d620b8f53f75966fe42e.woff2 +0 -0
  273. package/angular/Roboto-Regular.64cfb66c866ea50cad47.woff2 +0 -0
  274. package/angular/Roboto-Regular.e02e9d6ff5547f7e9962.woff +0 -0
  275. package/angular/Roboto-RegularItalic.4dd2af1e8df532f41db8.woff2 +0 -0
  276. package/angular/Roboto-RegularItalic.5ea38fff9eebef99c5df.woff +0 -0
  277. package/angular/Roboto-Thin.dbd56bd3357dc3617fe5.woff2 +0 -0
  278. package/angular/Roboto-Thin.e7f7c82374bd0ebef14b.woff +0 -0
  279. package/angular/Roboto-ThinItalic.5dd9349c940073834e9a.woff +0 -0
  280. package/angular/Roboto-ThinItalic.a8cef84f735ef887abdc.woff2 +0 -0
  281. package/angular/assets/config/app-config.json +0 -16
  282. package/angular/assets/images/splashbg.jpg +0 -0
  283. package/angular/assets/web-app-commons/fonts/material-icons/MaterialDesignIcons-Community-2.7.94.woff +0 -0
  284. package/angular/assets/web-app-commons/fonts/material-icons/MaterialDesignIcons-Community-2.7.94.woff2 +0 -0
  285. package/angular/assets/web-app-commons/fonts/material-icons/material-design-icons-community.css +0 -11293
  286. package/angular/favicon.ico +0 -0
  287. package/angular/flUhRq6tzZclQEJ-Vdg-IuiaDsNa.f2a0933406f783065152.woff +0 -0
  288. package/angular/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.6467d9a24f234e8e8e07.woff2 +0 -0
  289. package/angular/index.html +0 -16
  290. package/angular/main-es2015.3a582572476c7f292e52.js +0 -1
  291. package/angular/main-es5.3a582572476c7f292e52.js +0 -1
  292. package/angular/polyfills-es2015.7df68534018bc2f6cb09.js +0 -1
  293. package/angular/polyfills-es5.e79468f406fae2989221.js +0 -1
  294. package/angular/runtime-es2015.6d2cff76cdb2790d3308.js +0 -1
  295. package/angular/runtime-es5.6d2cff76cdb2790d3308.js +0 -1
  296. package/angular/styles.c5c6c2534225b85c4ff0.css +0 -1
  297. package/config/bad-words.json +0 -1
  298. package/config/complex-english.json +0 -400
  299. package/config/hydra-auth.json +0 -8
  300. package/config/hydra-crawler.json +0 -84
  301. package/config/list-allow.json +0 -171
  302. package/config/list-deny.json +0 -248
  303. package/config/list-expiry.json +0 -7
  304. package/config/schedule.json +0 -25
  305. package/config/spelling.json +0 -1
@@ -1 +0,0 @@
1
- function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_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 _iterableToArrayLimit(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(c){o=!0,i=c}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _wrapNativeSuper(e){var t="function"==typeof Map?new Map:void 0;return(_wrapNativeSuper=function(e){if(null===e||!_isNativeFunction(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return _construct(e,arguments,_getPrototypeOf(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(n,e)})(e)}function _construct(e,t,n){return(_construct=_isNativeReflectConstruct()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&_setPrototypeOf(o,n.prototype),o}).apply(null,arguments)}function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_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(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _get(e,t,n){return(_get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=_superPropBase(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=_getPrototypeOf(e)););return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=_isNativeReflectConstruct();return function(){var n,r=_getPrototypeOf(e);if(t){var o=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _createForOfIteratorHelper(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{"+/2v":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("Uho7"))},"+05S":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("KSuy"))},"+2C2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isIImage=function(e){return!!r.CommonsType.hasPropertyString(e,"url")&&!!r.CommonsType.hasPropertyNumber(e,"size")}},"+SKG":function(e,t){e.exports=function(e){return n&&Buffer.isBuffer(e)||r&&(e instanceof ArrayBuffer||function(e){return"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer}(e))};var n="function"==typeof Buffer&&"function"==typeof Buffer.isBuffer,r="function"==typeof ArrayBuffer},"/2bj":function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var o=n("WB8P"),i=n("Cb9d"),a=n("7Zlx");t.CommonsSynchronised=function(){function e(){_classCallCheck(this,e),this.semaphores=new Map}return _createClass(e,[{key:"synchronised",value:function(e,t,n,s){return r(this,void 0,void 0,regeneratorRuntime.mark((function r(){var c,u;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return this.semaphores.has(e)||this.semaphores.set(e,new i.CommonsSemaphore),c=o.CommonsType.assertObject(this.semaphores.get(e)),u=!1,r.prev=3,r.next=6,c.claim(t);case 6:u=!0,r.next=12;break;case 9:r.prev=9,r.t0=r.catch(3),u=!1;case 12:if(u||n!==a.ECommonsSynchronisedTimeoutAction.ABORT){r.next=14;break}throw new Error("Timeout on synchronised block");case 14:return r.prev=14,r.next=17,s();case 17:return r.abrupt("return",r.sent);case 18:return r.prev=18,u&&c.release(),r.finish(18);case 21:case"end":return r.stop()}}),r,this,[[3,9],[14,,18,21]])})))}}]),e}()},"/UVI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Hcel"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"decToBaseNChunks",value:function(e,t){if(0===e)return[0];for(var n=[],r=Math.floor(Math.log(e)/Math.log(t))+1,o=0;r-- >0;o++){var i=Math.pow(t,r),a=Math.floor(e/i);n.push(a),e-=a*i}return n}},{key:"digitToBaseN",value:function(e,t){if(t<1||t>62)throw new Error("Base is less than 1 or greater than 62. This cannot be represented using 0-9A-Za-z notation");if(e<0||e>t-1)throw new Error("Digit out of range of base ".concat(e," vs base ").concat(t));return e<10?e.toString():(e-=10)<26?String.fromCharCode(65+e):(e-=26,String.fromCharCode(97+e))}},{key:"baseNToDigit",value:function(e,t){if(t<1||t>62)throw new Error("Base is less than 1 or greater than 62. This cannot be represented using 0-9A-Za-z notation");var n=e.charCodeAt(0);if(n<48)throw new Error("Character is outside scope of given base");if(n<58){var r=n-48;if(r>=t)throw new Error("Character is outside scope of given base");return r}if(n<91){var o=n-65+10;if(o>=t)throw new Error("Character is outside scope of given base");return o}if(n<123){var i=n-97+10+26;if(i>=t)throw new Error("Character is outside scope of given base");return i}throw new Error("Character is outside scope of given base")}},{key:"decToBaseN",value:function(t,n){var r,o="",i=_createForOfIteratorHelper(e.decToBaseNChunks(t,n));try{for(i.s();!(r=i.n()).done;){var a=r.value;o="".concat(o).concat(e.digitToBaseN(a,n))}}catch(s){i.e(s)}finally{i.f()}return o}},{key:"baseNToDec",value:function(t,n){for(var r=0;""!==t;){var o=e.baseNToDigit(t.substring(0,1),n);t=t.substring(1),r*=n,r+=o}return r}},{key:"generateRandomBaseNId",value:function(t,n){for(var r="",o=t;o-- >0;){var i=Math.floor(Math.random()*n);r="".concat(r).concat(e.digitToBaseN(i,n))}return r}},{key:"isBaseNIdArray",value:function(e,t){if(!r.CommonsType.isStringArray(e))return!1;var n,o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){if(!t(n.value))return!1}}catch(i){o.e(i)}finally{o.f()}return!0}},{key:"isBaseNIdKeyObject",value:function(e,t){if(!r.CommonsType.isStringKeyObject(e))return!1;for(var n=0,o=Object.keys(e);n<o.length;n++){if(!t(e[o[n]]))return!1}return!0}},{key:"isBaseNIdOrUndefinedKeyObject",value:function(e,t){if(!r.CommonsType.isStringOrUndefinedKeyObject(e))return!1;for(var n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];if(r.CommonsType.hasProperty(e,i)&&void 0!==e[i]&&!t(e[i]))return!1}return!0}},{key:"isBaseNIdArrayKeyObject",value:function(t,n){if(!r.CommonsType.isStringArrayKeyObject(t))return!1;for(var o=0,i=Object.keys(t);o<i.length;o++){var a=i[o];if(!e.isBaseNIdArray(t[a],n))return!1}return!0}},{key:"hasPropertyBaseNId",value:function(e,t,n){return!!r.CommonsType.hasPropertyString(e,t)&&n(e[t])}},{key:"hasPropertyBaseNIdArray",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringArray(t,n)&&e.isBaseNIdArray(t[n],o)}},{key:"hasPropertyBaseNIdKeyObject",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringKeyObject(t,n)&&e.isBaseNIdArrayKeyObject(t[n],o)}},{key:"hasPropertyBaseNIdOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNId(t,n,o))}},{key:"hasPropertyBaseNIdArrayOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringArrayOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNIdArray(t,n,o))}},{key:"hasPropertyBaseNIdKeyObjectOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringKeyObjectOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNIdKeyObject(t,n,o))}}]),e}();t.CommonsBase=o;var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,10,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE36).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE36_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase36=i,i.BASE=36,i.REGEX_PATTERN_BASE36="^[0-9A-Z]+$",i.REGEX_PATTERN_BASE36_ID="^[0-9A-Z]{10}$";var a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,6,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE41).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE41_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase41=a,a.BASE=41,a.REGEX_PATTERN_BASE41="^[0-9A-Za-e]+$",a.REGEX_PATTERN_BASE41_ID="^[0-9A-Za-e]{6}$";var s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,8,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE62).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE62_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase62=s,s.BASE=62,s.REGEX_PATTERN_BASE62="^[0-9A-Za-z]+$",s.REGEX_PATTERN_BASE62_ID="^[0-9A-Za-z]{8}$"},"/seU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isTAspError=function(e){return!!r.CommonsType.hasPropertyString(e,"application")&&!!r.CommonsType.hasPropertyString(e,"message")&&!!r.CommonsType.hasPropertyString(e,"stack")}},0:function(e,t,n){e.exports=n("zUnb")},"0z79":function(e,t,n){var r=n("AdPF"),o=n("CUme"),i=n("cpc2"),a=n("Yvos"),s=n("NOtv")("engine.io-client:polling-xhr");function c(){}function u(e){if(o.call(this,e),this.requestTimeout=e.requestTimeout,this.extraHeaders=e.extraHeaders,"undefined"!=typeof location){var t="https:"===location.protocol,n=location.port;n||(n=t?443:80),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port,this.xs=e.secure!==t}}function l(e){this.method=e.method||"GET",this.uri=e.uri,this.xd=!!e.xd,this.xs=!!e.xs,this.async=!1!==e.async,this.data=void 0!==e.data?e.data:null,this.agent=e.agent,this.isBinary=e.isBinary,this.supportsBinary=e.supportsBinary,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.requestTimeout=e.requestTimeout,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.extraHeaders=e.extraHeaders,this.create()}if(e.exports=u,e.exports.Request=l,a(u,o),u.prototype.supportsBinary=!0,u.prototype.request=function(e){return(e=e||{}).uri=this.uri(),e.xd=this.xd,e.xs=this.xs,e.agent=this.agent||!1,e.supportsBinary=this.supportsBinary,e.enablesXDR=this.enablesXDR,e.withCredentials=this.withCredentials,e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized,e.requestTimeout=this.requestTimeout,e.extraHeaders=this.extraHeaders,new l(e)},u.prototype.doWrite=function(e,t){var n=this.request({method:"POST",data:e,isBinary:"string"!=typeof e&&void 0!==e}),r=this;n.on("success",t),n.on("error",(function(e){r.onError("xhr post error",e)})),this.sendXhr=n},u.prototype.doPoll=function(){s("xhr poll");var e=this.request(),t=this;e.on("data",(function(e){t.onData(e)})),e.on("error",(function(e){t.onError("xhr poll error",e)})),this.pollXhr=e},i(l.prototype),l.prototype.create=function(){var e={agent:this.agent,xdomain:this.xd,xscheme:this.xs,enablesXDR:this.enablesXDR};e.pfx=this.pfx,e.key=this.key,e.passphrase=this.passphrase,e.cert=this.cert,e.ca=this.ca,e.ciphers=this.ciphers,e.rejectUnauthorized=this.rejectUnauthorized;var t=this.xhr=new r(e),n=this;try{s("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var o in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(o)&&t.setRequestHeader(o,this.extraHeaders[o])}catch(i){}if("POST"===this.method)try{t.setRequestHeader("Content-type",this.isBinary?"application/octet-stream":"text/plain;charset=UTF-8")}catch(i){}try{t.setRequestHeader("Accept","*/*")}catch(i){}"withCredentials"in t&&(t.withCredentials=this.withCredentials),this.requestTimeout&&(t.timeout=this.requestTimeout),this.hasXDR()?(t.onload=function(){n.onLoad()},t.onerror=function(){n.onError(t.responseText)}):t.onreadystatechange=function(){if(2===t.readyState)try{var e=t.getResponseHeader("Content-Type");(n.supportsBinary&&"application/octet-stream"===e||"application/octet-stream; charset=UTF-8"===e)&&(t.responseType="arraybuffer")}catch(i){}4===t.readyState&&(200===t.status||1223===t.status?n.onLoad():setTimeout((function(){n.onError("number"==typeof t.status?t.status:0)}),0))},s("xhr data %s",this.data),t.send(this.data)}catch(i){return void setTimeout((function(){n.onError(i)}),0)}"undefined"!=typeof document&&(this.index=l.requestsCount++,l.requests[this.index]=this)},l.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},l.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},l.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},l.prototype.cleanup=function(e){if(null!=this.xhr){if(this.hasXDR()?this.xhr.onload=this.xhr.onerror=c:this.xhr.onreadystatechange=c,e)try{this.xhr.abort()}catch(t){}"undefined"!=typeof document&&delete l.requests[this.index],this.xhr=null}},l.prototype.onLoad=function(){var e;try{var t;try{t=this.xhr.getResponseHeader("Content-Type")}catch(n){}e=("application/octet-stream"===t||"application/octet-stream; charset=UTF-8"===t)&&this.xhr.response||this.xhr.responseText}catch(n){this.onError(n)}null!=e&&this.onData(e)},l.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},l.prototype.abort=function(){this.cleanup()},l.requestsCount=0,l.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",d);else if("function"==typeof addEventListener){var h="onpagehide"in self?"pagehide":"unload";addEventListener(h,d,!1)}function d(){for(var e in l.requests)l.requests.hasOwnProperty(e)&&l.requests[e].abort()}},1:function(e,t){},"12Mk":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("eY2s")),r(n("3XH2")),r(n("V0VN")),r(n("uD+L")),r(n("znQF")),r(n("e7dE")),r(n("i5Gp")),r(n("b/jT")),r(n("r517"))},"14A5":function(e,t){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,r=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),o=r&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),i=n&&n.prototype.append&&n.prototype.getBlob;function a(e){return e.map((function(e){if(e.buffer instanceof ArrayBuffer){var t=e.buffer;if(e.byteLength!==t.byteLength){var n=new Uint8Array(e.byteLength);n.set(new Uint8Array(t,e.byteOffset,e.byteLength)),t=n.buffer}return t}return e}))}function s(e,t){t=t||{};var r=new n;return a(e).forEach((function(e){r.append(e)})),t.type?r.getBlob(t.type):r.getBlob()}function c(e,t){return new Blob(a(e),t||{})}"undefined"!=typeof Blob&&(s.prototype=Blob.prototype,c.prototype=Blob.prototype),e.exports=r?o?Blob:c:i?s:void 0},"1mEP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Hcel");t.isTSegmentTree=function e(t){if(!r.CommonsType.isObject(t))return!1;var n=t;if(!r.CommonsType.hasPropertyNumber(n,"tally"))return!1;if(!r.CommonsType.hasPropertyObjectOrUndefined(n,"children"))return!1;if(r.CommonsType.hasProperty(n,"children"))for(var o=0,i=Object.keys(n.children);o<i.length;o++){var a=i[o];if(!e(n.children[a]))return!1}return!0};var o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"stringSegmentArrayToTree",value:function(e){var t,n={tally:0,children:{}},o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;)for(var i=t.value,a=n;;){var s=i.shift();if(void 0===s)break;r.CommonsType.hasProperty(a,"children")||(a.children={}),r.CommonsType.hasProperty(a.children,s)?a.children[s].tally++:a.children[s]={tally:1},a=a.children[s]}}catch(c){o.e(c)}finally{o.f()}return n.children[""]}},{key:"getDepth",value:function(t){if(void 0===t.children)return 1;for(var n=[],r=0,o=Object.keys(t.children||{});r<o.length;r++){var i=o[r];n.push(e.getDepth(t.children[i]))}return 0===n.length?1:1+(n=n.sort().reverse())[0]}},{key:"treeToStacksRecurse",value:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100;if(0===o)throw new Error("Exceeded TTL");for(var i=t.tally,a=0,s=Object.keys(t.children||{});a<s.length;a++){var c=s[a],u=t.children[c];n[r].push({name:c,tally:u.tally}),i-=u.tally,e.treeToStacksRecurse(u,n,r+1,o-1)}if(i>0)for(var l=r;l<n.length;l++)n[l].push({name:"",tally:i})}},{key:"treeToStacks",value:function(t){for(var n=[],r=e.getDepth(t)-1;r-- >0;)n.push([]);return e.treeToStacksRecurse(t,n,0),n}}]),e}();t.CommonsTree=o},"2Dig":function(e,t){e.exports=function(e,t,n){return e.on(t,n),{destroy:function(){e.removeListener(t,n)}}}},"2QA8":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random()},"2Uj6":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("Sa8y"))},"2Vo4":function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("XNiG"),o=n("9ppp"),i=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._value=e,r}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new o.a;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(r.a)},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=!1,o={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}}},"2opj":function(e,t,n){"use strict";n.d(t,"a",(function(){return ge})),n.d(t,"b",(function(){return ye})),n.d(t,"c",(function(){return Ee})),n.d(t,"d",(function(){return be})),n.d(t,"e",(function(){return ve})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Oe})),n.d(t,"h",(function(){return ke})),n.d(t,"i",(function(){return Pe})),n.d(t,"j",(function(){return _e})),n.d(t,"k",(function(){return Ce})),n.d(t,"l",(function(){return pe})),n.d(t,"m",(function(){return me})),n.d(t,"n",(function(){return Ae}));var r=n("fXoL"),o=n("k4C/"),i=n("XNiG"),a=n("hi8z"),s=n("RPfa"),c=n("R0Ic"),u=n("WB8P"),l=n("ofXK"),h=n("jhN1"),d=n("aEx1"),f=["*"];function p(e,t){if(1&e){var n=r.Rb();r.Ob(0),r.Qb(1,"i",6),r.Yb("click",(function(){return r.qc(n),r.cc(2).doUp()})),r.zc(2,"arrow_back"),r.Pb(),r.Nb()}}function m(e,t){if(1&e){var n=r.Rb();r.Qb(0,"i",6),r.Yb("click",(function(){return r.qc(n),r.cc(2).doToggleMenu()})),r.zc(1,"menu"),r.Pb()}}function g(e,t){if(1&e&&(r.Qb(0,"section",5),r.xc(1,p,3,0,"ng-container",2),r.xc(2,m,2,0,"ng-template",null,5,r.yc),r.Pb()),2&e){var n=r.oc(3),o=r.cc();r.zb(1),r.jc("ngIf",o.downTitle)("ngIfElse",n)}}function y(e,t){if(1&e&&(r.Qb(0,"h2"),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.title)}}function b(e,t){if(1&e&&(r.Ob(0),r.Qb(1,"h1"),r.zc(2),r.Pb(),r.xc(3,y,2,1,"h2",7),r.Nb()),2&e){var n=r.cc();r.zb(2),r.Ac(n.downTitle),r.zb(1),r.jc("ngIf",n.title)}}function v(e,t){if(1&e&&(r.Qb(0,"h1"),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.title)}}function _(e,t){if(1&e&&(r.Qb(0,"h2"),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.subtitle)}}function C(e,t){if(1&e&&(r.xc(0,v,2,1,"h1",7),r.xc(1,_,2,1,"h2",7)),2&e){var n=r.cc();r.jc("ngIf",n.title),r.zb(1),r.jc("ngIf",n.subtitle)}}function O(e,t){if(1&e&&(r.Qb(0,"section",8),r.hc(1),r.hc(2,1),r.Mb(3,"commons-overflow-icon"),r.Pb()),2&e){var n=r.cc();r.Cb("numberOfItems-1",1===n.statusCount)("numberOfItems-2",2===n.statusCount)("numberOfItems-3",3===n.statusCount)("numberOfItems-4",4===n.statusCount)("numberOfItems-5",5===n.statusCount)("numberOfItems-6",6===n.statusCount)("numberOfItems-7",7===n.statusCount)("numberOfItems-8",8===n.statusCount)}}var k=[[["","commons-toolbar-status",""]],[["commons-toolbar-signal-strength"]]],P=["[commons-toolbar-status]","commons-toolbar-signal-strength"],w=["commons-toolbar-status",""];function M(e,t){1&e&&(r.Ob(0),r.hc(1),r.Nb())}var E=["commons-bottom-navigation-bar-item",""];function S(e,t){if(1&e&&(r.Qb(0,"i",6),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.icon)}}function T(e,t){if(1&e&&(r.Qb(0,"i",7),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.icon)}}function x(e,t){if(1&e&&r.Mb(0,"i"),2&e){var n=r.cc(2);r.Bb("mdi mdi-"+n.icon)}}function A(e,t){if(1&e&&(r.Ob(0),r.Ob(1,2),r.xc(2,S,2,1,"i",3),r.xc(3,T,2,1,"i",4),r.xc(4,x,1,2,"i",5),r.Nb(),r.Nb()),2&e){var n=r.cc();r.zb(1),r.jc("ngSwitch",n.iconSet),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN3),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MDI)}}function I(e,t){if(1&e&&(r.Qb(0,"span"),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.caption)}}function j(e,t){if(1&e&&(r.Qb(0,"label"),r.zc(1),r.Pb()),2&e){var n=r.cc();r.Cb("important",n.important),r.zb(1),r.Ac(n.label)}}var D=["commons-drawer-menu-item",""];function N(e,t){if(1&e&&(r.Qb(0,"i",1),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.icon)}}function R(e,t){1&e&&(r.Qb(0,"section",1),r.Qb(1,"section",2),r.hc(2),r.Pb(),r.Pb())}var U=["commons-tab",""];function F(e,t){if(1&e&&(r.Qb(0,"label"),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.label)}}function L(e,t){if(1&e&&(r.Qb(0,"i",6),r.zc(1),r.Pb()),2&e){var n=r.cc().$implicit;r.zb(1),r.Ac(n.icon)}}function B(e,t){1&e&&(r.Qb(0,"i",7),r.zc(1,"check"),r.Pb())}function H(e,t){if(1&e){var n=r.Rb();r.Ob(0),r.Qb(1,"commons-inline-menu-item",3),r.Yb("click",(function(){r.qc(n);var e=t.$implicit;return r.cc(2).doSelect(e)})),r.xc(2,L,2,1,"i",4),r.xc(3,B,2,0,"i",5),r.zc(4),r.Pb(),r.Nb()}if(2&e){var o=t.$implicit;r.zb(1),r.jc("menu","_overflow")("autoclose",!0),r.zb(1),r.jc("ngIf",o.icon),r.zb(1),r.jc("ngIf",!o.icon),r.zb(1),r.Bc(" ",o.caption," ")}}function z(e,t){if(1&e){var n=r.Rb();r.Qb(0,"commons-inline-menu",1),r.Yb("onSelect",(function(e){return r.qc(n),r.cc().doSelect(e)})),r.xc(1,H,5,5,"ng-container",2),r.Pb()}if(2&e){var o=r.cc();r.jc("name","_overflow"),r.zb(1),r.jc("ngForOf",o.items)}}function V(e,t){if(1&e){var n=r.Rb();r.Qb(0,"div"),r.Qb(1,"commons-snack",1),r.Yb("onClose",(function(){r.qc(n);var e=t.$implicit;return r.cc().doClose(e)})),r.Pb(),r.Pb()}if(2&e){var o=t.$implicit,i=r.cc();r.jc("@closeAnimation","open"),r.zb(1),r.jc("snack",o)("timeout",i.timeout)("allowClose",i.allowClose)}}function G(e,t){if(1&e&&r.Mb(0,"div",5),2&e){var n=r.cc();r.wc("background-image","url("+n.background+")",r.Eb),r.Cb("hasAvatar",n.avatar)}}function K(e,t){1&e&&r.Mb(0,"div",6)}function q(e,t){if(1&e&&r.Mb(0,"div",7),2&e){var n=r.cc();r.wc("background-image","url("+n.getUrlAvatar()+")",r.Eb)}}function Y(e,t){if(1&e&&(r.Qb(0,"i",13),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.getAvatar().icon)}}function Q(e,t){if(1&e&&(r.Qb(0,"i",14),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.getAvatar().icon)}}function W(e,t){if(1&e&&r.Mb(0,"i"),2&e){var n=r.cc(2);r.Bb("mdi mdi-"+n.getAvatar().icon)}}function X(e,t){if(1&e&&(r.Qb(0,"div",8),r.Ob(1,9),r.xc(2,Y,2,1,"i",10),r.xc(3,Q,2,1,"i",11),r.xc(4,W,1,2,"i",12),r.Nb(),r.Pb()),2&e){var n=r.cc();r.wc("background-color",n.getAvatar().background)("color",n.getAvatar().foreground),r.zb(1),r.jc("ngSwitch",n.getIconSet()),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN3),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MDI)}}function Z(e,t){if(1&e&&(r.Qb(0,"h1"),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.text)}}function $(e,t){if(1&e){var n=r.Rb();r.Qb(0,"aside",2),r.Yb("click",(function(){return r.qc(n),r.cc().doClose()}))("swipe",(function(e){return r.qc(n),r.cc().doSwipe(e)})),r.Pb()}2&e&&r.jc("@drawerBackgroundFadeInOutAnimation",!0)}var J=["commons-card",""];function ee(e,t){if(1&e){var n=r.Rb();r.Qb(0,"i",1),r.Yb("click",(function(){return r.qc(n),r.cc().doShowOverflow()})),r.zc(1,"more_vert"),r.Pb()}}var te={BOTTOM:"bottom",LEFT:"left",RIGHT:"right",TOP:"top"},ne=function(){var e=function(){function e(){_classCallCheck(this,e),this.showEmitter=new r.n(!0),this.hideEmitter=new r.n(!0)}return _createClass(e,[{key:"show",value:function(e){this.showEmitter.emit(e)}},{key:"hide",value:function(e){this.hideEmitter.emit(e)}},{key:"showObservable",value:function(){return this.showEmitter}},{key:"hideObservable",value:function(){return this.hideEmitter}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),re=function(){var e=function(){function e(t){_classCallCheck(this,e),this.menuService=t,this.setSubject=new r.n(!0),this.showSubject=new r.n(!0),this.selectSubject=new r.n(!0)}return _createClass(e,[{key:"setObservable",value:function(){return this.setSubject}},{key:"showObservable",value:function(){return this.showSubject}},{key:"selectObservable",value:function(){return this.selectSubject}},{key:"setMenuItems",value:function(e){this.setSubject.emit(e)}},{key:"clear",value:function(){this.setSubject.emit([])}},{key:"open",value:function(){this.showSubject.emit()}},{key:"close",value:function(){this.menuService.hide("_overflow")}},{key:"select",value:function(e){this.selectSubject.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.h))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),oe=function(){var e=function(){function e(){_classCallCheck(this,e),this.subject=new i.a}return _createClass(e,[{key:"observable",value:function(){return this.subject.asObservable()}},{key:"notification",value:function(t){this.subject.next(e.generate(o.k.NOTIFICATION,t))}},{key:"error",value:function(t){this.subject.next(e.generate(o.k.ERROR,t))}},{key:"success",value:function(t){this.subject.next(e.generate(o.k.SUCCESS,t))}}],[{key:"generate",value:function(e,t){return{type:e,message:t,timestamp:Date.now()}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),ie=function(){var e=function(){function e(){_classCallCheck(this,e),this.showEmitter=new r.n(!0),this.hideEmitter=new r.n(!0),this.cancelledEmitter=new r.n(!0)}return _createClass(e,[{key:"show",value:function(e){this.showEmitter.emit(e)}},{key:"hide",value:function(e){this.hideEmitter.emit(e)}},{key:"cancelled",value:function(e){this.cancelledEmitter.emit(e)}},{key:"showObservable",value:function(){return this.showEmitter}},{key:"hideObservable",value:function(){return this.hideEmitter}},{key:"cancelledObservable",value:function(){return this.cancelledEmitter}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),ae=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.upService=t,this.tabService=n}return _createClass(e,[{key:"open",value:function(e,t){this.upService.down(e),t&&this.tabService.hide(t)}},{key:"close",value:function(e){this.tabService.show(e)}},{key:"back",value:function(){this.upService.up()}},{key:"reset",value:function(){this.upService.reset()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.j),r.Ub(ne))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),se=function(){function e(){_classCallCheck(this,e),this.onItemCountChanged=new r.n(!0),this.items=[]}return _createClass(e,[{key:"itemCountChangedObservable",value:function(){return this.onItemCountChanged}},{key:"getExistingByComponent",value:function(e){return this.items.find((function(t){return t.component===e}))}},{key:"getExistingByName",value:function(e){return this.items.find((function(t){return t.name===e}))}},{key:"refresh",value:function(){var e=this.items.filter((function(e){return e.visible})).length;this.onItemCountChanged.emit(e)}},{key:"getComponentByName",value:function(e){var t=this.getExistingByName(e);if(t)return t.component}},{key:"getNameByComponent",value:function(e){var t=this.getExistingByComponent(e);if(t)return t.name}},{key:"addItem",value:function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=this.getExistingByComponent(e);if(r)r.component=e;else{var o=this.buildItem(e,t,n);this.items.push(o),this.refresh()}}},{key:"removeItem",value:function(e){this.getExistingByComponent(e)&&(this.items=this.items.filter((function(t){return t.component!==e})),this.refresh())}},{key:"setVisible",value:function(e,t){var n=this.getExistingByComponent(e);return!!n&&(n.visible=t,this.refresh(),!0)}},{key:"show",value:function(e){return this.setVisible(e,!0)}},{key:"hide",value:function(e){return this.setVisible(e,!1)}},{key:"setVisibleByName",value:function(e,t){var n=this.getExistingByName(e);return!!n&&(n.visible=t,this.refresh(),!0)}},{key:"showByName",value:function(e){return this.setVisibleByName(e,!0)}},{key:"hideByName",value:function(e){return this.setVisibleByName(e,!1)}}]),e}(),ce=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildItem",value:function(e,t,n){return{component:e,name:t,visible:n,labelChangeEmitter:new r.n(!0)}}},{key:"labelChangedObservable",value:function(e){var t=this.getExistingByComponent(e);if(!t)throw new Error("Bottom navigation bar item not added before observable for label called");return t.labelChangeEmitter}},{key:"setLabel",value:function(e,t){var n=this.getExistingByComponent(e);n&&n.labelChangeEmitter.emit(t)}},{key:"setLabelByName",value:function(e,t){var n=this.getComponentByName(e);if(n)return this.setLabel(n,t)}}]),n}(se);return e.\u0275fac=function(t){return ue(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),ue=r.Sb(ce),le=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"buildItem",value:function(e,t,n){return{component:e,name:t,visible:n}}}]),n}(se);return e.\u0275fac=function(t){return he(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),he=r.Sb(le),de=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(a.a);return e.\u0275fac=function(t){return fe(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-main"]],features:[r.wb],ngContentSelectors:f,decls:2,vars:0,template:function(e,t){1&e&&(r.ic(),r.Qb(0,"main"),r.hc(1),r.Pb())},styles:["@charset 'utf8';main[_ngcontent-%COMP%]{display:block;position:relative;box-sizing:border-box;margin:0;padding:0 0 56px;top:64px}"]}),e}(),fe=r.Sb(de),pe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this)).upService=e,i.drawerService=r,i.toolbarStatusService=o,i.hasMenu=!0,i.statusCount=0,i}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.toolbarStatusService.itemCountChangedObservable(),(function(t){e.statusCount=t})),this.subscribe(this.upService.titleObservable(),(function(t){e.downTitle=t}))}},{key:"doToggleMenu",value:function(){this.drawerService.show("_drawermenu")}},{key:"doUp",value:function(){this.upService.up()}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(o.j),r.Lb(ie),r.Lb(le))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-toolbar"]],inputs:{hasMenu:"hasMenu",title:"title",subtitle:"subtitle"},features:[r.wb],ngContentSelectors:P,decls:7,vars:22,consts:[["menu","",4,"ngIf"],["title",""],[4,"ngIf","ngIfElse"],["titleheader",""],["status","",3,"numberOfItems-1","numberOfItems-2","numberOfItems-3","numberOfItems-4","numberOfItems-5","numberOfItems-6","numberOfItems-7","numberOfItems-8",4,"ngIf"],["menu",""],[1,"material-icons",3,"click"],[4,"ngIf"],["status",""]],template:function(e,t){if(1&e&&(r.ic(k),r.Qb(0,"header"),r.xc(1,g,4,2,"section",0),r.Qb(2,"section",1),r.xc(3,b,4,2,"ng-container",2),r.xc(4,C,2,2,"ng-template",null,3,r.yc),r.Pb(),r.xc(6,O,4,16,"section",4),r.Pb()),2&e){var n=r.oc(5);r.Cb("hasMenu",t.hasMenu||t.downTitle)("numberOfItems-1",1===t.statusCount)("numberOfItems-2",2===t.statusCount)("numberOfItems-3",3===t.statusCount)("numberOfItems-4",4===t.statusCount)("numberOfItems-5",5===t.statusCount)("numberOfItems-6",6===t.statusCount)("numberOfItems-7",7===t.statusCount)("numberOfItems-8",8===t.statusCount),r.zb(1),r.jc("ngIf",t.hasMenu||t.downTitle),r.zb(2),r.jc("ngIf",t.downTitle)("ngIfElse",n),r.zb(3),r.jc("ngIf",t.statusCount>0)}},directives:function(){return[l.j,Se]},styles:["@charset 'utf8';header[_ngcontent-%COMP%]{position:fixed;top:0;left:0;display:-ms-grid;display:grid;-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:1fr;grid-template-columns:1fr;box-sizing:border-box;margin:0;width:100%;height:64px;white-space:nowrap;overflow:hidden;z-index:3000}header.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr;grid-template-columns:64px 1fr}body.webappcommons-theme-blue[_nghost-%COMP%] header[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] header[_ngcontent-%COMP%]{background-color:#304ffe;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}body.webappcommons-theme-darkred[_nghost-%COMP%] header[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] header[_ngcontent-%COMP%]{background-color:#d50000;color:#fff;box-shadow:0 0 10px 0 rgba(222,222,222,.5)}body.webappcommons-theme-nightoil[_nghost-%COMP%] header[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] header[_ngcontent-%COMP%]{background-color:#104e7c;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}body.webappcommons-theme-purple[_nghost-%COMP%] header[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] header[_ngcontent-%COMP%]{background-color:#609;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}body.webappcommons-theme-hydra[_nghost-%COMP%] header[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] header[_ngcontent-%COMP%]{background-color:#54637a;color:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,.5)}section[title][_ngcontent-%COMP%]{overflow:hidden;padding-left:20px}header.hasMenu[_ngcontent-%COMP%] section[title][_ngcontent-%COMP%]{padding-left:0}section[menu][_ngcontent-%COMP%]{display:flex;box-sizing:border-box;justify-content:center;align-items:center;width:100%;height:100%}section[status][_ngcontent-%COMP%]{display:block;box-sizing:border-box;padding-right:20px;margin-top:19px;width:100%;height:100%}header.numberOfItems-0[_ngcontent-%COMP%]{-ms-grid-columns:1fr 20px;grid-template-columns:1fr 20px}header.numberOfItems-0.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 20px;grid-template-columns:64px 1fr 20px}section[status].numberOfItems-0[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[0];grid-template-columns:repeat(0,37px)}header.numberOfItems-1[_ngcontent-%COMP%]{-ms-grid-columns:1fr 57px;grid-template-columns:1fr 57px}header.numberOfItems-1.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 57px;grid-template-columns:64px 1fr 57px}section[status].numberOfItems-1[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[1];grid-template-columns:repeat(1,37px)}header.numberOfItems-2[_ngcontent-%COMP%]{-ms-grid-columns:1fr 94px;grid-template-columns:1fr 94px}header.numberOfItems-2.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 94px;grid-template-columns:64px 1fr 94px}section[status].numberOfItems-2[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[2];grid-template-columns:repeat(2,37px)}header.numberOfItems-3[_ngcontent-%COMP%]{-ms-grid-columns:1fr 131px;grid-template-columns:1fr 131px}header.numberOfItems-3.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 131px;grid-template-columns:64px 1fr 131px}section[status].numberOfItems-3[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[3];grid-template-columns:repeat(3,37px)}header.numberOfItems-4[_ngcontent-%COMP%]{-ms-grid-columns:1fr 168px;grid-template-columns:1fr 168px}header.numberOfItems-4.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 168px;grid-template-columns:64px 1fr 168px}section[status].numberOfItems-4[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[4];grid-template-columns:repeat(4,37px)}header.numberOfItems-5[_ngcontent-%COMP%]{-ms-grid-columns:1fr 205px;grid-template-columns:1fr 205px}header.numberOfItems-5.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 205px;grid-template-columns:64px 1fr 205px}section[status].numberOfItems-5[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[5];grid-template-columns:repeat(5,37px)}header.numberOfItems-6[_ngcontent-%COMP%]{-ms-grid-columns:1fr 242px;grid-template-columns:1fr 242px}header.numberOfItems-6.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 242px;grid-template-columns:64px 1fr 242px}section[status].numberOfItems-6[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[6];grid-template-columns:repeat(6,37px)}header.numberOfItems-7[_ngcontent-%COMP%]{-ms-grid-columns:1fr 279px;grid-template-columns:1fr 279px}header.numberOfItems-7.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 279px;grid-template-columns:64px 1fr 279px}section[status].numberOfItems-7[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[7];grid-template-columns:repeat(7,37px)}header.numberOfItems-8[_ngcontent-%COMP%]{-ms-grid-columns:1fr 316px;grid-template-columns:1fr 316px}header.numberOfItems-8.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 316px;grid-template-columns:64px 1fr 316px}section[status].numberOfItems-8[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[8];grid-template-columns:repeat(8,37px)}header.numberOfItems-9[_ngcontent-%COMP%]{-ms-grid-columns:1fr 353px;grid-template-columns:1fr 353px}header.numberOfItems-9.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 353px;grid-template-columns:64px 1fr 353px}section[status].numberOfItems-9[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[9];grid-template-columns:repeat(9,37px)}header.numberOfItems-10[_ngcontent-%COMP%]{-ms-grid-columns:1fr 390px;grid-template-columns:1fr 390px}header.numberOfItems-10.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 390px;grid-template-columns:64px 1fr 390px}section[status].numberOfItems-10[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[10];grid-template-columns:repeat(10,37px)}header.numberOfItems-11[_ngcontent-%COMP%]{-ms-grid-columns:1fr 427px;grid-template-columns:1fr 427px}header.numberOfItems-11.hasMenu[_ngcontent-%COMP%]{-ms-grid-columns:64px 1fr 427px;grid-template-columns:64px 1fr 427px}section[status].numberOfItems-11[_ngcontent-%COMP%]{-ms-grid-columns:(37px)[11];grid-template-columns:repeat(11,37px)}h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%]{font-family:Roboto}h1[_ngcontent-%COMP%]{margin:18px 0 0;font-weight:500;font-size:20px}h2[_ngcontent-%COMP%]{margin:-2px 0 0;font-weight:400;font-size:12px}"]}),e}(),me=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).statusService=e,o.toolbarStatusService=r,o.state=!1,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.toolbarStatusService.addItem(this,this.name,this.state),this.state=this.default,this.subscribe(this.statusService.observable(this.name,this.default),(function(t){e.state=t,e.toolbarStatusService.setVisible(e,t)}))}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(a.c),r.Lb(le))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-toolbar-status",""]],inputs:{name:"name",default:"default"},features:[r.wb],attrs:w,ngContentSelectors:f,decls:1,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(r.ic(),r.xc(0,M,2,0,"ng-container",0)),2&e&&r.jc("ngIf",t.state)},directives:[l.j],styles:["@charset 'utf8';[_nghost-%COMP%]{float:left;width:24px;margin-left:13px}"]}),e}(),ge=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).bottomNavigationBarService=r,o.itemCount=0,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;this.subscribe(this.bottomNavigationBarService.itemCountChangedObservable(),(function(t){e.itemCount=t}))}}]),n}(s.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(s.g),r.Lb(ce))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-bottom-navigation-bar"]],features:[r.wb],ngContentSelectors:f,decls:2,vars:24,template:function(e,t){1&e&&(r.ic(),r.Qb(0,"footer"),r.hc(1),r.Pb()),2&e&&r.Cb("numberOfItems-1",1===t.itemCount)("numberOfItems-2",2===t.itemCount)("numberOfItems-3",3===t.itemCount)("numberOfItems-4",4===t.itemCount)("numberOfItems-5",5===t.itemCount)("numberOfItems-6",6===t.itemCount)("numberOfItems-7",7===t.itemCount)("numberOfItems-8",8===t.itemCount)("numberOfItems-9",9===t.itemCount)("numberOfItems-10",10===t.itemCount)("numberOfItems-11",11===t.itemCount)("numberOfItems-12",12===t.itemCount)},styles:["@charset 'utf8';footer[_ngcontent-%COMP%]{display:-ms-grid;display:grid;box-sizing:border-box;position:fixed;bottom:0;left:0;margin:0;width:100%;height:56px;white-space:nowrap;overflow:hidden;font-size:0;text-align:center;z-index:3000}body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(0,0,0,.5);background-color:#fff;color:rgba(51,51,51,.76)}body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(255,255,255,.5);background-color:#000;color:rgba(204,204,204,.76)}body.webappcommons-theme-blue .primary[_nghost-%COMP%] footer[_ngcontent-%COMP%]{background-color:#304ffe;color:rgba(255,255,255,.76)}body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(222,222,222,.5);background-color:#212121;color:rgba(184,184,184,.76)}body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(33,33,33,.5);background-color:#dedede;color:rgba(71,71,71,.76)}body.webappcommons-theme-darkred .primary[_nghost-%COMP%] footer[_ngcontent-%COMP%]{background-color:#d50000;color:rgba(255,255,255,.76)}body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(0,0,0,.5);background-color:#fff;color:rgba(51,51,51,.76)}body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(255,255,255,.5);background-color:#000;color:rgba(204,204,204,.76)}body.webappcommons-theme-nightoil .primary[_nghost-%COMP%] footer[_ngcontent-%COMP%]{background-color:#104e7c;color:rgba(255,255,255,.76)}body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(0,0,0,.5);background-color:#fff;color:rgba(51,51,51,.76)}body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(255,255,255,.5);background-color:#000;color:rgba(204,204,204,.76)}body.webappcommons-theme-purple .primary[_nghost-%COMP%] footer[_ngcontent-%COMP%]{background-color:#609;color:rgba(255,255,255,.76)}body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(0,0,0,.5);background-color:#fff;color:rgba(51,51,51,.76)}body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] footer[_ngcontent-%COMP%]{box-shadow:0 3px 10px 0 rgba(255,255,255,.5);background-color:#000;color:rgba(204,204,204,.76)}body.webappcommons-theme-hydra .primary[_nghost-%COMP%] footer[_ngcontent-%COMP%]{background-color:#54637a;color:rgba(255,255,255,.76)}footer.numberOfItems-0[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[0];grid-template-columns:repeat(0,1fr)}footer.numberOfItems-1[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[1];grid-template-columns:repeat(1,1fr)}footer.numberOfItems-2[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[2];grid-template-columns:repeat(2,1fr)}footer.numberOfItems-3[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[3];grid-template-columns:repeat(3,1fr)}footer.numberOfItems-4[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[4];grid-template-columns:repeat(4,1fr)}footer.numberOfItems-5[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[5];grid-template-columns:repeat(5,1fr)}footer.numberOfItems-6[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[6];grid-template-columns:repeat(6,1fr)}footer.numberOfItems-7[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[7];grid-template-columns:repeat(7,1fr)}footer.numberOfItems-8[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[8];grid-template-columns:repeat(8,1fr)}footer.numberOfItems-9[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[9];grid-template-columns:repeat(9,1fr)}footer.numberOfItems-10[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[10];grid-template-columns:repeat(10,1fr)}footer.numberOfItems-11[_ngcontent-%COMP%]{-ms-grid-rows:1fr;grid-template-rows:1fr;-ms-grid-columns:(1fr)[11];grid-template-columns:repeat(11,1fr)}.relative[_nghost-%COMP%] footer[_ngcontent-%COMP%]{position:relative;bottom:auto;left:auto;z-index:1000}"]}),e}(),ye=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).upService=e,o.bottomNavigationBarService=r,o.EMaterialDesignIcons=s.i,o.disabled=void 0,o.iconSet=s.i.MATERIALDESIGN,o.important=!1,o.visible=!0,o.itemCount=0,o}return _createClass(n,[{key:"resetUp",value:function(){this.upService.reset()}},{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.bottomNavigationBarService.itemCountChangedObservable(),(function(t){e.itemCount=t})),this.bottomNavigationBarService.addItem(this,this.name,this.visible),this.subscribe(this.bottomNavigationBarService.labelChangedObservable(this),(function(t){e.label=t}))}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this),this.bottomNavigationBarService.removeItem(this)}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(o.j),r.Lb(ce))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-bottom-navigation-bar-item",""]],hostVars:1,hostBindings:function(e,t){1&e&&r.Yb("click",(function(){return t.resetUp()})),2&e&&r.Ab("disabled",t.disabled)},inputs:{disabled:"disabled",iconSet:"iconSet",important:"important",visible:"visible",label:"label",name:"name",icon:"icon",caption:"caption"},features:[r.wb],attrs:E,decls:4,vars:5,consts:[[4,"ngIf"],[3,"important",4,"ngIf"],[3,"ngSwitch"],["class","material-icons",4,"ngSwitchCase"],["class","material-icons-3",4,"ngSwitchCase"],[3,"class",4,"ngSwitchCase"],[1,"material-icons"],[1,"material-icons-3"]],template:function(e,t){1&e&&(r.Qb(0,"section"),r.xc(1,A,5,4,"ng-container",0),r.xc(2,I,2,1,"span",0),r.xc(3,j,2,3,"label",1),r.Pb()),2&e&&(r.Cb("noText",t.itemCount<5),r.zb(1),r.jc("ngIf",void 0!==t.icon),r.zb(1),r.jc("ngIf",void 0!==t.caption),r.zb(1),r.jc("ngIf",t.label))},directives:[l.j,l.k,l.l],styles:["@charset 'utf8';[_nghost-%COMP%]{color:inherit;text-decoration:none}[disabled=true][_nghost-%COMP%]{pointer-events:none}section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;width:100%;height:56px;padding-top:8px;transition:padding-top .1s ease-in-out,font-size .1s ease-in-out,line-height .1s ease-in-out;position:relative;top:0;left:0;text-align:center;text-decoration:none;font-family:Roboto;font-size:12px;line-height:18px}section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block;position:absolute;bottom:10px;left:0;width:100%;overflow:hidden;text-overflow:ellipsis;transition:bottom .1s ease-in-out}section[_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%], section[_ngcontent-%COMP%] i.mdi[_ngcontent-%COMP%]:before{display:block;font-size:24px;line-height:24px}section body.webappcommons-theme-blue.selected[_nghost-%COMP%], body.webappcommons-theme-blue .selected[_nghost-%COMP%]{color:#ffc107}section body.webappcommons-theme-blue[disabled=true][_nghost-%COMP%], body.webappcommons-theme-blue [disabled=true][_nghost-%COMP%]{color:#c2c2c2}section body.webappcommons-theme-darkred.selected[_nghost-%COMP%], body.webappcommons-theme-darkred .selected[_nghost-%COMP%]{color:#ffeb3b}section body.webappcommons-theme-darkred[disabled=true][_nghost-%COMP%], body.webappcommons-theme-darkred [disabled=true][_nghost-%COMP%]{color:#4e4e4e}section body.webappcommons-theme-nightoil.selected[_nghost-%COMP%], body.webappcommons-theme-nightoil .selected[_nghost-%COMP%]{color:#e7c385}section body.webappcommons-theme-nightoil[disabled=true][_nghost-%COMP%], body.webappcommons-theme-nightoil [disabled=true][_nghost-%COMP%]{color:#c2c2c2}section body.webappcommons-theme-purple.selected[_nghost-%COMP%], body.webappcommons-theme-purple .selected[_nghost-%COMP%]{color:#fc3}section body.webappcommons-theme-purple[disabled=true][_nghost-%COMP%], body.webappcommons-theme-purple [disabled=true][_nghost-%COMP%]{color:#c2c2c2}section body.webappcommons-theme-hydra.selected[_nghost-%COMP%], body.webappcommons-theme-hydra .selected[_nghost-%COMP%]{color:#fdd835}section body.webappcommons-theme-hydra[disabled=true][_nghost-%COMP%], body.webappcommons-theme-hydra [disabled=true][_nghost-%COMP%]{color:#c2c2c2}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{position:absolute;top:6px;right:calc(50% - 24px);display:flex;box-sizing:border-box;justify-content:center;align-items:center;width:18px;height:18px;border-radius:9px;font-size:12px;line-height:18px}body.webappcommons-theme-blue[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-nightoil[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#54637a;color:#fff}section.noText[_ngcontent-%COMP%]{padding-top:14px}section.noText[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:none}.selected[_nghost-%COMP%] section.noText[_ngcontent-%COMP%]{padding-top:6px}.selected[_nghost-%COMP%] section.noText[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.all-text[_nghost-%COMP%] section.noText[_ngcontent-%COMP%]{padding-top:6px}.all-text[_nghost-%COMP%] section.noText[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:block}.selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding-top:6px;font-size:14px;line-height:16.8px}.selected[_nghost-%COMP%] section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{bottom:8px}.selected[_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:none}.all-text[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding-top:6px;font-size:14px;line-height:16.8px}.all-text[_nghost-%COMP%] section[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{bottom:8px}body.webappcommons-theme-blue[disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue [disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#c2c2c2;color:#fff}body.webappcommons-theme-darkred[disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred [disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#4e4e4e;color:#212121}body.webappcommons-theme-nightoil[disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#c2c2c2;color:#fff}body.webappcommons-theme-purple[disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple [disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#c2c2c2;color:#fff}body.webappcommons-theme-hydra[disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra [disabled=true][_nghost-%COMP%] section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{background-color:#c2c2c2;color:#fff}"]}),e}(),be=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).drawerService=r,o.ECommonsDrawerDirection=te,o}return _createClass(n,[{key:"doClose",value:function(){this.drawerService.hide("_drawermenu")}},{key:"doSwipe",value:function(e){2===e.direction&&this.doClose()}}]),n}(s.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(s.g),r.Lb(ie))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-drawer-menu"]],features:[r.wb],ngContentSelectors:f,decls:5,vars:2,consts:[[3,"name","direction"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"commons-drawer",0),r.Qb(1,"section"),r.Qb(2,"menu"),r.Qb(3,"commons-menu"),r.hc(4),r.Pb(),r.Pb(),r.Pb(),r.Pb()),2&e&&r.jc("name","_drawermenu")("direction",t.ECommonsDrawerDirection.LEFT)},directives:function(){return[Me,o.g]},styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;margin:0;padding:0;width:80vw;max-width:300px;height:100vh}body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#212121}body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#dedede}body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}menu[_ngcontent-%COMP%]{display:block;box-sizing:border-box;margin:0;padding:10px 0}"]}),e}(),ve=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).drawerService=e,r.disabled=!1,r.autoclose=!0,r}return _createClass(n,[{key:"doClick",value:function(){!this.disabled&&this.autoclose&&this.doClose()}},{key:"doClose",value:function(){this.drawerService.hide("_drawermenu")}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(ie))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-drawer-menu-item",""]],hostBindings:function(e,t){1&e&&r.Yb("click",(function(){return t.doClick()}))},inputs:{disabled:"disabled",autoclose:"autoclose",icon:"icon"},features:[r.wb],attrs:D,ngContentSelectors:f,decls:3,vars:3,consts:[["class","material-icons",4,"ngIf"],[1,"material-icons"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"li"),r.xc(1,N,2,1,"i",0),r.hc(2),r.Pb()),2&e&&(r.Cb("disabled",t.disabled),r.zb(1),r.jc("ngIf",t.icon))},directives:[l.j],styles:["@charset 'utf8';li[_ngcontent-%COMP%]{display:block;box-sizing:border-box;width:100%;padding:10px 16px;height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:none;font-family:Roboto;font-size:16px;font-weight:400;line-height:16px}li.disabled[_ngcontent-%COMP%]{cursor:inherit}body.webappcommons-theme-blue [_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-blue [_nghost-%COMP%] li.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-darkred [_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#dedede}body.webappcommons-theme-darkred [_nghost-%COMP%] li.disabled[_ngcontent-%COMP%]{color:#4e4e4e}body.webappcommons-theme-nightoil [_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-nightoil [_nghost-%COMP%] li.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-purple [_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-purple [_nghost-%COMP%] li.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-hydra [_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-hydra [_nghost-%COMP%] li.disabled[_ngcontent-%COMP%]{color:#c2c2c2}li[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:block;float:left;width:40px;font-size:24px;line-height:24px;position:relative;top:-4px}li[_ngcontent-%COMP%] i.filler[_ngcontent-%COMP%]{height:40px}.indent-without-icon[_nghost-%COMP%] li[_ngcontent-%COMP%]{padding-left:56px}"]}),e}(),_e=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var o;return _classCallCheck(this,n),(o=t.call(this)).tabBarService=e,o.tabs=[],o.show=!0,o.tabCount=0,o.onTabsChanged=new r.n(!0),o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.show=!0,this.subscribe(this.tabBarService.showObservable(),(function(t){t===e.name&&(e.show=!0)})),this.subscribe(this.tabBarService.hideObservable(),(function(t){t===e.name&&(e.show=!1)}))}},{key:"tabsChangedObservable",value:function(){return this.onTabsChanged}},{key:"addTab",value:function(e){this.tabs.push(e),this.tabCount++,this.onTabsChanged.emit(this.tabCount)}},{key:"removeTab",value:function(e){var t=this.tabs.indexOf(e);-1!==t&&(this.tabs.slice(t,1),this.tabCount>0&&this.tabCount--,this.onTabsChanged.emit(this.tabCount))}},{key:"addMore",value:function(e){this.more=e,this.tabCount++,this.onTabsChanged.emit(this.tabCount)}},{key:"removeMore",value:function(){this.more=void 0,this.tabCount>0&&this.tabCount--}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(ne))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-tab-bar"]],inputs:{name:"name"},features:[r.wb],ngContentSelectors:f,decls:1,vars:1,consts:[["tabbar","",4,"ngIf"],["tabbar",""],["tabs",""]],template:function(e,t){1&e&&(r.ic(),r.xc(0,R,3,0,"section",0)),2&e&&r.jc("ngIf",t.show)},directives:[l.j],styles:["@charset 'utf8';section[tabbar][_ngcontent-%COMP%]{display:block;width:100%;height:48px}section[tabs][_ngcontent-%COMP%]{position:fixed;top:64px;left:0;display:block;width:100%;height:48px;margin:0;padding:0;box-sizing:border-box;z-index:3000}body.webappcommons-theme-blue [_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{background-color:#304ffe;box-shadow:0 6px 10px -5px rgba(0,0,0,.5)}body.webappcommons-theme-darkred [_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{background-color:#d50000;box-shadow:0 6px 10px -5px rgba(222,222,222,.5)}body.webappcommons-theme-nightoil [_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{background-color:#104e7c;box-shadow:0 6px 10px -5px rgba(0,0,0,.5)}body.webappcommons-theme-purple [_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{background-color:#609;box-shadow:0 6px 10px -5px rgba(0,0,0,.5)}body.webappcommons-theme-hydra [_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{background-color:#54637a;box-shadow:0 6px 10px -5px rgba(0,0,0,.5)}.relative[_nghost-%COMP%] section[tabs][_ngcontent-%COMP%]{position:relative;top:auto;left:auto;z-index:1000}section[more][_ngcontent-%COMP%]{position:fixed;top:64px;left:auto;right:0;z-index:999}"]}),e}(),Ce=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).tabbar=e,r.disabled=void 0,r.tabBarCount=0,r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.tabbar.tabsChangedObservable(),(function(t){e.tabBarCount=t})),this.tabbar.addTab(this)}},{key:"ngOnDestroy",value:function(){this.tabbar.removeTab(this),_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(_e))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-tab",""]],hostVars:1,hostBindings:function(e,t){2&e&&r.Ab("disabled",t.disabled)},inputs:{disabled:"disabled",label:"label"},features:[r.wb],attrs:U,ngContentSelectors:f,decls:3,vars:21,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"section"),r.hc(1),r.xc(2,F,2,1,"label",0),r.Pb()),2&e&&(r.Cb("numberOfTabs-1",1===t.tabBarCount)("numberOfTabs-2",2===t.tabBarCount)("numberOfTabs-3",3===t.tabBarCount)("numberOfTabs-4",4===t.tabBarCount)("numberOfTabs-5",5===t.tabBarCount)("numberOfTabs-6",6===t.tabBarCount)("numberOfTabs-7",7===t.tabBarCount)("numberOfTabs-8",8===t.tabBarCount)("numberOfTabs-9",9===t.tabBarCount)("numberOfTabs-10",10===t.tabBarCount),r.zb(2),r.jc("ngIf",t.label))},directives:[l.j],styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;float:left;height:48px;padding:17px 0 0;font-family:Roboto;font-weight:400;font-size:14px;line-height:14px;text-transform:uppercase;text-align:center;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.6)}body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.6)}body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.6)}body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.6)}body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.6)}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-left:.5em}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:before{content:'('}section[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:after{content:')'}[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{pointer-events:none}body.webappcommons-theme-blue.selected[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue .selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{border-bottom:3px solid #ffc107;color:#fff}body.webappcommons-theme-blue[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue [disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.25)}body.webappcommons-theme-darkred.selected[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred .selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{border-bottom:3px solid #ffeb3b;color:#fff}body.webappcommons-theme-darkred[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred [disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.25)}body.webappcommons-theme-nightoil.selected[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{border-bottom:3px solid #e7c385;color:#fff}body.webappcommons-theme-nightoil[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.25)}body.webappcommons-theme-purple.selected[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple .selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{border-bottom:3px solid #fc3;color:#fff}body.webappcommons-theme-purple[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple [disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.25)}body.webappcommons-theme-hydra.selected[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra .selected[_nghost-%COMP%] section[_ngcontent-%COMP%]{border-bottom:3px solid #fdd835;color:#fff}body.webappcommons-theme-hydra[disabled][_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra [disabled][_nghost-%COMP%] section[_ngcontent-%COMP%]{color:rgba(255,255,255,.25)}section.numberOfTabs-0[_ngcontent-%COMP%]{width:Infinity%}section.numberOfTabs-1[_ngcontent-%COMP%]{width:100%}section.numberOfTabs-2[_ngcontent-%COMP%]{width:50%}section.numberOfTabs-3[_ngcontent-%COMP%]{width:33.33333333%}section.numberOfTabs-4[_ngcontent-%COMP%]{width:25%}section.numberOfTabs-5[_ngcontent-%COMP%]{width:20%}section.numberOfTabs-6[_ngcontent-%COMP%]{width:16.66666667%}section.numberOfTabs-7[_ngcontent-%COMP%]{width:14.28571429%}section.numberOfTabs-8[_ngcontent-%COMP%]{width:12.5%}section.numberOfTabs-9[_ngcontent-%COMP%]{width:11.11111111%}[_nghost-%COMP%] i.material-icons{position:relative;top:-5px}"]}),e}(),Oe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).overflowService=e,o.menuService=r,o.menuVisible=!1,o.items=[],o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.overflowService.showObservable(),(function(){e.menuVisible=!0})),this.subscribe(this.menuService.hideObservable(),(function(t){"_overflow"===t&&(e.menuVisible=!1)})),this.subscribe(this.overflowService.setObservable(),(function(t){e.items=t}))}},{key:"doSelect",value:function(e){e.disabled||(this.overflowService.select(e),this.overflowService.close())}}],[{key:"divider",value:function(){return{name:"_divider",caption:"",divider:!0}}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(re),r.Lb(o.h))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-overflow-menu"]],features:[r.wb],decls:1,vars:1,consts:[["class","overflow",3,"name","onSelect",4,"ngIf"],[1,"overflow",3,"name","onSelect"],[4,"ngFor","ngForOf"],[3,"menu","autoclose","click"],["class","material-icons",4,"ngIf"],["class","material-icons filler",4,"ngIf"],[1,"material-icons"],[1,"material-icons","filler"]],template:function(e,t){1&e&&r.xc(0,z,2,2,"commons-inline-menu",0),2&e&&r.jc("ngIf",t.menuVisible)},directives:[l.j,o.e,l.i,o.f],styles:["@charset 'utf8';i[_ngcontent-%COMP%]{position:relative;top:-5px;float:left;width:40px}i.filler[_ngcontent-%COMP%]{height:0;overflow:hidden}"]}),e}(),ke=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).snackService=e,r.allowClose=!0,r.maxSnacks=5,r.snacks=[],r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.maxSnacks>10&&(this.maxSnacks=10),this.subscribe(this.snackService.observable(),(function(t){return e.snacks.push(t)}))}},{key:"doClose",value:function(e){this.snacks.splice(this.snacks.indexOf(e),1)}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(oe))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-snackbar"]],inputs:{allowClose:"allowClose",maxSnacks:"maxSnacks",timeout:"timeout"},features:[r.wb],decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"snack","timeout","allowClose","onClose"]],template:function(e,t){1&e&&(r.Qb(0,"aside"),r.xc(1,V,2,4,"div",0),r.Pb()),2&e&&(r.zb(1),r.jc("ngForOf",t.snacks.slice(0,t.maxSnacks).reverse()))},directives:[l.i,o.i],styles:["@charset 'utf8';aside[_ngcontent-%COMP%]{position:fixed;left:0;width:100%;bottom:56px;z-index:6000}"],data:{animation:[Object(c.j)("closeAnimation",[Object(c.i)("* => void",[Object(c.h)({opacity:1}),Object(c.e)("100ms",Object(c.h)({opacity:0}))])])]}}),e}(),Pe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).EMaterialDesignIcons=s.i,e}return _createClass(n,[{key:"getUrlAvatar",value:function(){if(this.avatar)return u.CommonsType.isString(this.avatar)?this.avatar:u.CommonsType.hasPropertyString(this.avatar,"image")?this.avatar.image:void 0}},{key:"isIconAvatar",value:function(){return!!this.avatar&&!u.CommonsType.isString(this.avatar)&&!!u.CommonsType.hasPropertyString(this.avatar,"icon")}},{key:"getAvatar",value:function(){if(!this.isIconAvatar())throw new Error("Avatar is invalid");return this.avatar}},{key:"getIconSet",value:function(){return this.getAvatar().iconSet||s.i.MATERIALDESIGN}}]),n}(a.a);return e.\u0275fac=function(t){return we(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-splash"]],inputs:{background:"background",avatar:"avatar",text:"text",fade:"fade"},features:[r.wb],ngContentSelectors:f,decls:8,vars:7,consts:[["background","",3,"hasAvatar","background-image",4,"ngIf"],["fade","",4,"ngIf"],["avatar","",3,"background-image",4,"ngIf"],["avatar","","class","icon",3,"background-color","color",4,"ngIf"],[4,"ngIf"],["background",""],["fade",""],["avatar",""],["avatar","",1,"icon"],[3,"ngSwitch"],["class","material-icons",4,"ngSwitchCase"],["class","material-icons-3",4,"ngSwitchCase"],[3,"class",4,"ngSwitchCase"],[1,"material-icons"],[1,"material-icons-3"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"section"),r.xc(1,G,1,4,"div",0),r.xc(2,K,1,0,"div",1),r.xc(3,q,1,2,"div",2),r.xc(4,X,5,8,"div",3),r.xc(5,Z,2,1,"h1",4),r.Qb(6,"h2"),r.hc(7),r.Pb(),r.Pb()),2&e&&(r.Cb("bw",t.background&&t.avatar),r.zb(1),r.jc("ngIf",t.background),r.zb(1),r.jc("ngIf",t.fade),r.zb(1),r.jc("ngIf",void 0!==t.getUrlAvatar()),r.zb(1),r.jc("ngIf",t.isIconAvatar()),r.zb(1),r.jc("ngIf",t.text))},directives:[l.j,l.k,l.l],styles:["@charset 'utf8';section[_ngcontent-%COMP%]{position:relative;top:0;left:0;display:block;box-sizing:border-box;width:100%;height:180px;margin:0;padding:0;overflow:hidden}body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#7a7cff}body.webappcommons-theme-blue [_nghost-%COMP%] section.bw[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#ff5131}body.webappcommons-theme-darkred [_nghost-%COMP%] section.bw[_ngcontent-%COMP%]{background-color:#dedede}body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#8fadc5}body.webappcommons-theme-nightoil [_nghost-%COMP%] section.bw[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#bf73e6}body.webappcommons-theme-purple [_nghost-%COMP%] section.bw[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#819ca9}body.webappcommons-theme-hydra [_nghost-%COMP%] section.bw[_ngcontent-%COMP%]{background-color:#000}section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:110px}body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{background:rgba(0,0,0,.55)}body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{background:rgba(222,222,222,.55)}body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{background:rgba(0,0,0,.55)}body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{background:rgba(0,0,0,.55)}body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%] div[fade][_ngcontent-%COMP%]{background:rgba(0,0,0,.55)}section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{position:absolute;left:20px;margin:-15px;padding:15px;font-family:Roboto;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;width:calc(100% - (20px * 2))}body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-shadow:0 0 15px rgba(0,0,0,.6)}body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#212121;text-shadow:0 0 15px rgba(222,222,222,.6)}body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-shadow:0 0 15px rgba(0,0,0,.6)}body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-shadow:0 0 15px rgba(0,0,0,.6)}body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff;text-shadow:0 0 15px rgba(0,0,0,.6)}section[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{bottom:40px;font-size:56px;line-height:67.2px;font-weight:300}section[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{bottom:10px;font-size:24px;font-weight:400;line-height:28.8px}div[avatar][_ngcontent-%COMP%], div[background][_ngcontent-%COMP%]{background-size:cover;background-repeat:no-repeat;background-position:center center;position:absolute}div[background][_ngcontent-%COMP%]{top:0;left:0;width:100%;height:180px}div[background].hasAvatar[_ngcontent-%COMP%]{opacity:.8}.blur[_nghost-%COMP%] div[background][_ngcontent-%COMP%]{top:-40px;left:-40px;width:calc(100% + (20px * 4));height:260px;-webkit-filter:blur(20px);filter:blur(20px)}.blur.subtle[_nghost-%COMP%] div[background][_ngcontent-%COMP%]{-webkit-filter:blur(8px);filter:blur(8px)}div[avatar][_ngcontent-%COMP%]{display:block;padding:0;top:25px;left:20px;width:110px;height:110px;border-radius:55px}body.webappcommons-theme-blue [_nghost-%COMP%] div[avatar][_ngcontent-%COMP%]{box-shadow:0 0 25px 2px rgba(0,0,0,.1)}body.webappcommons-theme-darkred [_nghost-%COMP%] div[avatar][_ngcontent-%COMP%]{box-shadow:0 0 25px 2px rgba(222,222,222,.1)}body.webappcommons-theme-nightoil [_nghost-%COMP%] div[avatar][_ngcontent-%COMP%]{box-shadow:0 0 25px 2px rgba(0,0,0,.1)}body.webappcommons-theme-purple [_nghost-%COMP%] div[avatar][_ngcontent-%COMP%]{box-shadow:0 0 25px 2px rgba(0,0,0,.1)}body.webappcommons-theme-hydra [_nghost-%COMP%] div[avatar][_ngcontent-%COMP%]{box-shadow:0 0 25px 2px rgba(0,0,0,.1)}div[avatar].icon[_ngcontent-%COMP%]{display:-ms-grid;display:grid;justify-content:center;align-content:center}div[avatar][_ngcontent-%COMP%] i.material-icons[_ngcontent-%COMP%], div[avatar][_ngcontent-%COMP%] i.material-icons-3[_ngcontent-%COMP%], div[avatar][_ngcontent-%COMP%] i.mdi[_ngcontent-%COMP%]{font-size:77px}div[text][_ngcontent-%COMP%]{position:absolute;top:10px;left:10px}"]}),e}(),we=r.Sb(Pe),Me=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).drawerService=r,o.ECommonsDrawerDirection=te,o.leftState="na",o.bottomState="na",o.rightState="na",o.topState="na",o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;switch(_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.direction){case te.BOTTOM:this.bottomState="inactive";break;case te.LEFT:this.leftState="inactive";break;case te.RIGHT:this.rightState="inactive";break;case te.TOP:this.topState="inactive"}this.subscribe(this.drawerService.showObservable(),(function(t){if(t===e.name)switch(e.direction){case te.BOTTOM:e.bottomState="active";break;case te.LEFT:e.leftState="active";break;case te.RIGHT:e.rightState="active";break;case te.TOP:e.topState="active"}})),this.subscribe(this.drawerService.hideObservable(),(function(t){if(t===e.name)switch(e.direction){case te.BOTTOM:e.bottomState="inactive";break;case te.LEFT:e.leftState="inactive";break;case te.RIGHT:e.rightState="inactive";break;case te.TOP:e.topState="inactive"}}))}},{key:"doClose",value:function(){this.drawerService.hide(this.name),this.drawerService.cancelled(this.name)}},{key:"doSwipe",value:function(e){this.direction===te.LEFT&&2===e.direction&&this.doClose(),this.direction===te.BOTTOM&&16===e.direction&&this.doClose(),this.direction===te.RIGHT&&4===e.direction&&this.doClose(),this.direction===te.TOP&&8===e.direction&&this.doClose()}}]),n}(s.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(s.g),r.Lb(ie))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-drawer"]],inputs:{name:"name",direction:"direction"},features:[r.wb],ngContentSelectors:f,decls:3,vars:13,consts:[[3,"click","swipe",4,"ngIf"],[3,"swipe"],[3,"click","swipe"]],template:function(e,t){1&e&&(r.ic(),r.xc(0,$,1,1,"aside",0),r.Qb(1,"section",1),r.Yb("swipe",(function(e){return t.doSwipe(e)})),r.hc(2),r.Pb()),2&e&&(r.jc("ngIf","active"===t.bottomState||"active"===t.leftState||"active"===t.rightState||"active"===t.topState),r.zb(1),r.Cb("bottom",t.direction===t.ECommonsDrawerDirection.BOTTOM)("left",t.direction===t.ECommonsDrawerDirection.LEFT)("right",t.direction===t.ECommonsDrawerDirection.RIGHT)("top",t.direction===t.ECommonsDrawerDirection.TOP),r.jc("@drawerSlideInOutAnimationBottom",t.bottomState)("@drawerSlideInOutAnimationLeft",t.leftState)("@drawerSlideInOutAnimationRight",t.rightState)("@drawerSlideInOutAnimationTop",t.topState))},directives:[l.j],styles:["@charset 'utf8';aside[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100vw;height:100vh;z-index:4000}body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(222,222,222,.5)}body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(33,33,33,.5)}body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}section[_ngcontent-%COMP%]{display:block;position:fixed;box-sizing:border-box;z-index:4001;margin:0;padding:0}section.left[_ngcontent-%COMP%]{top:0;left:0}section.bottom[_ngcontent-%COMP%]{bottom:0;left:0}section.right[_ngcontent-%COMP%]{top:0;right:0}section.top[_ngcontent-%COMP%]{top:0;left:0}"],data:{animation:[Object(c.j)("drawerBackgroundFadeInOutAnimation",[Object(c.i)("void => *",[Object(c.h)({opacity:0}),Object(c.e)("200ms",Object(c.h)({opacity:1}))]),Object(c.i)("* => void",[Object(c.h)({opacity:1}),Object(c.e)("200ms",Object(c.h)({opacity:0}))])]),Object(c.j)("drawerSlideInOutAnimationBottom",[Object(c.g)("inactive",Object(c.h)({bottom:"-100vh"})),Object(c.g)("active",Object(c.h)({bottom:0})),Object(c.g)("na",Object(c.h)({})),Object(c.i)("inactive => active",Object(c.e)("200ms ease-in")),Object(c.i)("active => inactive",Object(c.e)("200ms ease-out"))]),Object(c.j)("drawerSlideInOutAnimationLeft",[Object(c.g)("inactive",Object(c.h)({left:"-100vw"})),Object(c.g)("active",Object(c.h)({left:0})),Object(c.g)("na",Object(c.h)({})),Object(c.i)("inactive => active",Object(c.e)("150ms ease-in")),Object(c.i)("active => inactive",Object(c.e)("150ms ease-out"))]),Object(c.j)("drawerSlideInOutAnimationTop",[Object(c.g)("inactive",Object(c.h)({top:"-100vh"})),Object(c.g)("active",Object(c.h)({top:0})),Object(c.g)("na",Object(c.h)({})),Object(c.i)("inactive => active",Object(c.e)("200ms ease-in")),Object(c.i)("active => inactive",Object(c.e)("200ms ease-out"))]),Object(c.j)("drawerSlideInOutAnimationRight",[Object(c.g)("inactive",Object(c.h)({right:"-100vw"})),Object(c.g)("active",Object(c.h)({right:0})),Object(c.g)("na",Object(c.h)({})),Object(c.i)("inactive => active",Object(c.e)("150ms ease-in")),Object(c.i)("active => inactive",Object(c.e)("150ms ease-out"))])]}}),e}(),Ee=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(s.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(s.g))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-card",""]],features:[r.wb],attrs:J,ngContentSelectors:f,decls:2,vars:0,template:function(e,t){1&e&&(r.ic(),r.Qb(0,"section"),r.hc(1),r.Pb())},styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;margin:0;padding:16px;border-radius:3px;width:100%;z-index:1000}body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#fff;box-shadow:.5px .5px 2px 0 rgba(0,0,0,.5)}body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#000;box-shadow:-.5px -.5px 2px 0 rgba(255,255,255,.5)}body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#212121;box-shadow:.5px .5px 2px 0 rgba(222,222,222,.5)}body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#dedede;box-shadow:-.5px -.5px 2px 0 rgba(33,33,33,.5)}body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#fff;box-shadow:.5px .5px 2px 0 rgba(0,0,0,.5)}body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#000;box-shadow:-.5px -.5px 2px 0 rgba(255,255,255,.5)}body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#fff;box-shadow:.5px .5px 2px 0 rgba(0,0,0,.5)}body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#000;box-shadow:-.5px -.5px 2px 0 rgba(255,255,255,.5)}body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#fff;box-shadow:.5px .5px 2px 0 rgba(0,0,0,.5)}body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#000;box-shadow:-.5px -.5px 2px 0 rgba(255,255,255,.5)}.no-padding[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:0}.full-height[_nghost-%COMP%] section[_ngcontent-%COMP%]{height:100%}body.webappcommons-theme-blue.theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#f2f2f2}body.webappcommons-theme-blue.theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#0d0d0d}body.webappcommons-theme-darkred.theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#2a2a2a}body.webappcommons-theme-darkred.theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#d5d5d5}body.webappcommons-theme-nightoil.theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#f2f2f2}body.webappcommons-theme-nightoil.theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#0d0d0d}body.webappcommons-theme-purple.theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#f2f2f2}body.webappcommons-theme-purple.theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#0d0d0d}body.webappcommons-theme-hydra.theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#f2f2f2}body.webappcommons-theme-hydra.theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark.filled[_nghost-%COMP%] section[_ngcontent-%COMP%]{background:#0d0d0d}"]}),e}(),Se=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).overflowService=e,r.hasOverflow=!1,r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.overflowService.setObservable(),(function(t){e.hasOverflow=t.length>0}))}},{key:"doShowOverflow",value:function(){this.overflowService.open()}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(re))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-overflow-icon"]],features:[r.wb],decls:1,vars:1,consts:[["commons-toolbar-status","","class","material-icons",3,"click",4,"ngIf"],["commons-toolbar-status","",1,"material-icons",3,"click"]],template:function(e,t){1&e&&r.xc(0,ee,2,0,"i",0),2&e&&r.jc("ngIf",t.hasOverflow)},directives:[l.j,me],styles:["@charset 'utf8';"]}),e}(),Te=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).overrides={swipe:{direction:31},pan:{direction:30},press:{time:600}},e}return n}(h.d);return e.\u0275fac=function(t){return xe(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),xe=r.Sb(Te),Ae=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[ne,re,oe,ie,ae,ce,le,{provide:h.c,useClass:Te}]}}}]),e}();return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[l.b,a.e,s.j,o.l,d.b]]}),e}()},"2pII":function(e,t,n){var r=n("akSB"),o=n("cpc2"),i=n("NOtv")("engine.io-client:socket"),a=n("7jRU"),s=n("Wm4p"),c=n("Uxeu"),u=n("TypT");function l(e,t){if(!(this instanceof l))return new l(e,t);t=t||{},e&&"object"==typeof e&&(t=e,e=null),e?(e=c(e),t.hostname=e.host,t.secure="https"===e.protocol||"wss"===e.protocol,t.port=e.port,e.query&&(t.query=e.query)):t.host&&(t.hostname=c(t.host).host),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.agent=t.agent||!1,this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?443:80),this.query=t.query||{},"string"==typeof this.query&&(this.query=u.decode(this.query)),this.upgrade=!1!==t.upgrade,this.path=(t.path||"/engine.io").replace(/\/$/,"")+"/",this.forceJSONP=!!t.forceJSONP,this.jsonp=!1!==t.jsonp,this.forceBase64=!!t.forceBase64,this.enablesXDR=!!t.enablesXDR,this.withCredentials=!1!==t.withCredentials,this.timestampParam=t.timestampParam||"t",this.timestampRequests=t.timestampRequests,this.transports=t.transports||["polling","websocket"],this.transportOptions=t.transportOptions||{},this.readyState="",this.writeBuffer=[],this.prevBufferLen=0,this.policyPort=t.policyPort||843,this.rememberUpgrade=t.rememberUpgrade||!1,this.binaryType=null,this.onlyBinaryUpgrades=t.onlyBinaryUpgrades,this.perMessageDeflate=!1!==t.perMessageDeflate&&(t.perMessageDeflate||{}),!0===this.perMessageDeflate&&(this.perMessageDeflate={}),this.perMessageDeflate&&null==this.perMessageDeflate.threshold&&(this.perMessageDeflate.threshold=1024),this.pfx=t.pfx||null,this.key=t.key||null,this.passphrase=t.passphrase||null,this.cert=t.cert||null,this.ca=t.ca||null,this.ciphers=t.ciphers||null,this.rejectUnauthorized=void 0===t.rejectUnauthorized||t.rejectUnauthorized,this.forceNode=!!t.forceNode,this.isReactNative="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase(),("undefined"==typeof self||this.isReactNative)&&(t.extraHeaders&&Object.keys(t.extraHeaders).length>0&&(this.extraHeaders=t.extraHeaders),t.localAddress&&(this.localAddress=t.localAddress)),this.id=null,this.upgrades=null,this.pingInterval=null,this.pingTimeout=null,this.pingIntervalTimer=null,this.pingTimeoutTimer=null,this.open()}e.exports=l,l.priorWebsocketSuccess=!1,o(l.prototype),l.protocol=s.protocol,l.Socket=l,l.Transport=n("Gbct"),l.transports=n("akSB"),l.parser=n("Wm4p"),l.prototype.createTransport=function(e){i('creating transport "%s"',e);var t=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}(this.query);t.EIO=s.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new r[e]({query:t,socket:this,agent:n.agent||this.agent,hostname:n.hostname||this.hostname,port:n.port||this.port,secure:n.secure||this.secure,path:n.path||this.path,forceJSONP:n.forceJSONP||this.forceJSONP,jsonp:n.jsonp||this.jsonp,forceBase64:n.forceBase64||this.forceBase64,enablesXDR:n.enablesXDR||this.enablesXDR,withCredentials:n.withCredentials||this.withCredentials,timestampRequests:n.timestampRequests||this.timestampRequests,timestampParam:n.timestampParam||this.timestampParam,policyPort:n.policyPort||this.policyPort,pfx:n.pfx||this.pfx,key:n.key||this.key,passphrase:n.passphrase||this.passphrase,cert:n.cert||this.cert,ca:n.ca||this.ca,ciphers:n.ciphers||this.ciphers,rejectUnauthorized:n.rejectUnauthorized||this.rejectUnauthorized,perMessageDeflate:n.perMessageDeflate||this.perMessageDeflate,extraHeaders:n.extraHeaders||this.extraHeaders,forceNode:n.forceNode||this.forceNode,localAddress:n.localAddress||this.localAddress,requestTimeout:n.requestTimeout||this.requestTimeout,protocols:n.protocols||void 0,isReactNative:this.isReactNative})},l.prototype.open=function(){var e;if(this.rememberUpgrade&&l.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket"))e="websocket";else{if(0===this.transports.length){var t=this;return void setTimeout((function(){t.emit("error","No transports available")}),0)}e=this.transports[0]}this.readyState="opening";try{e=this.createTransport(e)}catch(n){return this.transports.shift(),void this.open()}e.open(),this.setTransport(e)},l.prototype.setTransport=function(e){i("setting transport %s",e.name);var t=this;this.transport&&(i("clearing existing transport %s",this.transport.name),this.transport.removeAllListeners()),this.transport=e,e.on("drain",(function(){t.onDrain()})).on("packet",(function(e){t.onPacket(e)})).on("error",(function(e){t.onError(e)})).on("close",(function(){t.onClose("transport close")}))},l.prototype.probe=function(e){i('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,r=this;function o(){r.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&r.transport.supportsBinary),n||(i('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(function(o){if(!n)if("pong"===o.type&&"probe"===o.data){if(i('probe transport "%s" pong',e),r.upgrading=!0,r.emit("upgrading",t),!t)return;l.priorWebsocketSuccess="websocket"===t.name,i('pausing current transport "%s"',r.transport.name),r.transport.pause((function(){n||"closed"!==r.readyState&&(i("changing transport and sending upgrade packet"),d(),r.setTransport(t),t.send([{type:"upgrade"}]),r.emit("upgrade",t),t=null,r.upgrading=!1,r.flush())}))}else{i('probe transport "%s" failed',e);var a=new Error("probe error");a.transport=t.name,r.emit("upgradeError",a)}})))}function a(){n||(n=!0,d(),t.close(),t=null)}function s(n){var o=new Error("probe error: "+n);o.transport=t.name,a(),i('probe transport "%s" failed because of error: %s',e,n),r.emit("upgradeError",o)}function c(){s("transport closed")}function u(){s("socket closed")}function h(e){t&&e.name!==t.name&&(i('"%s" works - aborting "%s"',e.name,t.name),a())}function d(){t.removeListener("open",o),t.removeListener("error",s),t.removeListener("close",c),r.removeListener("close",u),r.removeListener("upgrading",h)}l.priorWebsocketSuccess=!1,t.once("open",o),t.once("error",s),t.once("close",c),this.once("close",u),this.once("upgrading",h),t.open()},l.prototype.onOpen=function(){if(i("socket open"),this.readyState="open",l.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){i("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},l.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(i('socket receive: type "%s", data "%s"',e.type,e.data),this.emit("packet",e),this.emit("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"pong":this.setPing(),this.emit("pong");break;case"error":var t=new Error("server error");t.code=e.data,this.onError(t);break;case"message":this.emit("data",e.data),this.emit("message",e.data)}else i('packet received with socket readyState "%s"',this.readyState)},l.prototype.onHandshake=function(e){this.emit("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this.upgrades=this.filterUpgrades(e.upgrades),this.pingInterval=e.pingInterval,this.pingTimeout=e.pingTimeout,this.onOpen(),"closed"!==this.readyState&&(this.setPing(),this.removeListener("heartbeat",this.onHeartbeat),this.on("heartbeat",this.onHeartbeat))},l.prototype.onHeartbeat=function(e){clearTimeout(this.pingTimeoutTimer);var t=this;t.pingTimeoutTimer=setTimeout((function(){"closed"!==t.readyState&&t.onClose("ping timeout")}),e||t.pingInterval+t.pingTimeout)},l.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout((function(){i("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)}),e.pingInterval)},l.prototype.ping=function(){var e=this;this.sendPacket("ping",(function(){e.emit("ping")}))},l.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},l.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(i("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},l.prototype.write=l.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},l.prototype.sendPacket=function(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var o={type:e,data:t,options:n};this.emit("packetCreate",o),this.writeBuffer.push(o),r&&this.once("flush",r),this.flush()}},l.prototype.close=function(){if("opening"===this.readyState||"open"===this.readyState){this.readyState="closing";var e=this;this.writeBuffer.length?this.once("drain",(function(){this.upgrading?r():t()})):this.upgrading?r():t()}function t(){e.onClose("forced close"),i("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function r(){e.once("upgrade",n),e.once("upgradeError",n)}return this},l.prototype.onError=function(e){i("socket error %j",e),l.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},l.prototype.onClose=function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(i('socket close with reason: "%s"',e),clearTimeout(this.pingIntervalTimer),clearTimeout(this.pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),this.readyState="closed",this.id=null,this.emit("close",e,t),this.writeBuffer=[],this.prevBufferLen=0)},l.prototype.filterUpgrades=function(e){for(var t=[],n=0,r=e.length;n<r;n++)~a(this.transports,e[n])&&t.push(e[n]);return t}},"312O":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("oqX0")),r(n("AdLH")),r(n("Wwcn")),r(n("ySuH")),r(n("Cb9d"))},"3JDX":function(e,t,n){e.exports=function(e){function t(e){for(var t=0,n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return r.colors[Math.abs(t)%r.colors.length]}function r(e){var n;function a(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];if(a.enabled){var i=a,s=Number(new Date);i.diff=s-(n||s),i.prev=n,i.curr=s,n=s,t[0]=r.coerce(t[0]),"string"!=typeof t[0]&&t.unshift("%O");var c=0;t[0]=t[0].replace(/%([a-zA-Z%])/g,(function(e,n){if("%%"===e)return e;c++;var o=r.formatters[n];return"function"==typeof o&&(e=o.call(i,t[c]),t.splice(c,1),c--),e})),r.formatArgs.call(i,t),(i.log||r.log).apply(i,t)}}return a.namespace=e,a.enabled=r.enabled(e),a.useColors=r.useColors(),a.color=t(e),a.destroy=o,a.extend=i,"function"==typeof r.init&&r.init(a),r.instances.push(a),a}function o(){var e=r.instances.indexOf(this);return-1!==e&&(r.instances.splice(e,1),!0)}function i(e,t){var n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return r.debug=r,r.default=r,r.coerce=function(e){return e instanceof Error?e.stack||e.message:e},r.disable=function(){var e=[].concat(_toConsumableArray(r.names.map(a)),_toConsumableArray(r.skips.map(a).map((function(e){return"-"+e})))).join(",");return r.enable(""),e},r.enable=function(e){var t;r.save(e),r.names=[],r.skips=[];var n=("string"==typeof e?e:"").split(/[\s,]+/),o=n.length;for(t=0;t<o;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?r.skips.push(new RegExp("^"+e.substr(1)+"$")):r.names.push(new RegExp("^"+e+"$")));for(t=0;t<r.instances.length;t++){var i=r.instances[t];i.enabled=r.enabled(i.namespace)}},r.enabled=function(e){if("*"===e[e.length-1])return!0;var t,n;for(t=0,n=r.skips.length;t<n;t++)if(r.skips[t].test(e))return!1;for(t=0,n=r.names.length;t<n;t++)if(r.names[t].test(e))return!0;return!1},r.humanize=n("FGiv"),Object.keys(e).forEach((function(t){r[t]=e[t]})),r.instances=[],r.names=[],r.skips=[],r.formatters={},r.selectColor=t,r.enable(r.load()),r}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return Ne})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return je}));var r=n("fXoL"),o=n("ofXK"),i=n("HDdC"),a=n("DH7j"),s=n("lJxs"),c=n("XoHu"),u=n("Cfvw");function l(e,t){return new i.a((function(n){var r=e.length;if(0!==r)for(var o=new Array(r),i=0,a=0,s=function(s){var c=Object(u.a)(e[s]),l=!1;n.add(c.subscribe({next:function(e){l||(l=!0,a++),o[s]=e},error:function(e){return n.error(e)},complete:function(){++i!==r&&l||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=o[n],e}),{}):o),n.complete())}}))},c=0;c<r;c++)s(c);else n.complete()}))}var h,d,f,p,m=new r.q("NgValueAccessor"),g={provide:m,useExisting:Object(r.S)((function(){return y})),multi:!0},y=((h=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||h)(r.Lb(r.D),r.Lb(r.l))},h.\u0275dir=r.Gb({type:h,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([g])]}),h),b={provide:m,useExisting:Object(r.S)((function(){return _})),multi:!0},v=new r.q("CompositionEventMode"),_=((p=function(){function e(t,n,r){var i;_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._compositionMode=r,this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=Object(o.r)()?Object(o.r)().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=e}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_handleInput",value:function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}},{key:"_compositionStart",value:function(){this._composing=!0}},{key:"_compositionEnd",value:function(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}]),e}()).\u0275fac=function(e){return new(e||p)(r.Lb(r.D),r.Lb(r.l),r.Lb(v,8))},p.\u0275dir=r.Gb({type:p,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(e,t){1&e&&r.Yb("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},features:[r.yb([b])]}),p),C=((f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"reset",value:function(e){this.control&&this.control.reset(e)}},{key:"hasError",value:function(e,t){return!!this.control&&this.control.hasError(e,t)}},{key:"getError",value:function(e,t){return this.control?this.control.getError(e,t):null}},{key:"value",get:function(){return this.control?this.control.value:null}},{key:"valid",get:function(){return this.control?this.control.valid:null}},{key:"invalid",get:function(){return this.control?this.control.invalid:null}},{key:"pending",get:function(){return this.control?this.control.pending:null}},{key:"disabled",get:function(){return this.control?this.control.disabled:null}},{key:"enabled",get:function(){return this.control?this.control.enabled:null}},{key:"errors",get:function(){return this.control?this.control.errors:null}},{key:"pristine",get:function(){return this.control?this.control.pristine:null}},{key:"dirty",get:function(){return this.control?this.control.dirty:null}},{key:"touched",get:function(){return this.control?this.control.touched:null}},{key:"status",get:function(){return this.control?this.control.status:null}},{key:"untouched",get:function(){return this.control?this.control.untouched:null}},{key:"statusChanges",get:function(){return this.control?this.control.statusChanges:null}},{key:"valueChanges",get:function(){return this.control?this.control.valueChanges:null}},{key:"path",get:function(){return null}}]),e}()).\u0275fac=function(e){return new(e||f)},f.\u0275dir=r.Gb({type:f}),f),O=((d=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"formDirective",get:function(){return null}},{key:"path",get:function(){return null}}]),n}(C)).\u0275fac=function(e){return k(e||d)},d.\u0275dir=r.Gb({type:d,features:[r.wb]}),d),k=r.Sb(O);function P(){throw new Error("unimplemented")}var w,M=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments))._parent=null,e.name=null,e.valueAccessor=null,e._rawValidators=[],e._rawAsyncValidators=[],e}return _createClass(n,[{key:"validator",get:function(){return P()}},{key:"asyncValidator",get:function(){return P()}}]),n}(C),E=((w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(function(){function e(t){_classCallCheck(this,e),this._cd=t}return _createClass(e,[{key:"ngClassUntouched",get:function(){return!!this._cd.control&&this._cd.control.untouched}},{key:"ngClassTouched",get:function(){return!!this._cd.control&&this._cd.control.touched}},{key:"ngClassPristine",get:function(){return!!this._cd.control&&this._cd.control.pristine}},{key:"ngClassDirty",get:function(){return!!this._cd.control&&this._cd.control.dirty}},{key:"ngClassValid",get:function(){return!!this._cd.control&&this._cd.control.valid}},{key:"ngClassInvalid",get:function(){return!!this._cd.control&&this._cd.control.invalid}},{key:"ngClassPending",get:function(){return!!this._cd.control&&this._cd.control.pending}}]),e}())).\u0275fac=function(e){return new(e||w)(r.Lb(M,2))},w.\u0275dir=r.Gb({type:w,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&r.Cb("ng-untouched",t.ngClassUntouched)("ng-touched",t.ngClassTouched)("ng-pristine",t.ngClassPristine)("ng-dirty",t.ngClassDirty)("ng-valid",t.ngClassValid)("ng-invalid",t.ngClassInvalid)("ng-pending",t.ngClassPending)},features:[r.wb]}),w);function S(e){return null==e||0===e.length}var T=new r.q("NgValidators"),x=new r.q("NgAsyncValidators"),A=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,I=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"min",value:function(e){return function(t){if(S(t.value)||S(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}},{key:"max",value:function(e){return function(t){if(S(t.value)||S(e))return null;var n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}},{key:"required",value:function(e){return S(e.value)?{required:!0}:null}},{key:"requiredTrue",value:function(e){return!0===e.value?null:{required:!0}}},{key:"email",value:function(e){return S(e.value)||A.test(e.value)?null:{email:!0}}},{key:"minLength",value:function(e){return function(t){if(S(t.value))return null;var n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}},{key:"maxLength",value:function(e){return function(t){var n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}},{key:"pattern",value:function(t){return t?("string"==typeof t?(r="","^"!==t.charAt(0)&&(r+="^"),r+=t,"$"!==t.charAt(t.length-1)&&(r+="$"),n=new RegExp(r)):(r=t.toString(),n=t),function(e){if(S(e.value))return null;var t=e.value;return n.test(t)?null:{pattern:{requiredPattern:r,actualValue:t}}}):e.nullValidator;var n,r}},{key:"nullValidator",value:function(e){return null}},{key:"compose",value:function(e){if(!e)return null;var t=e.filter(j);return 0==t.length?null:function(e){return N(function(e,t){return t.map((function(t){return t(e)}))}(e,t))}}},{key:"composeAsync",value:function(e){if(!e)return null;var t=e.filter(j);return 0==t.length?null:function(e){return function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(Object(a.a)(r))return l(r,null);if(Object(c.a)(r)&&Object.getPrototypeOf(r)===Object.prototype){var o=Object.keys(r);return l(o.map((function(e){return r[e]})),o)}}if("function"==typeof t[t.length-1]){var i=t.pop();return l(t=1===t.length&&Object(a.a)(t[0])?t[0]:t,null).pipe(Object(s.a)((function(e){return i.apply(void 0,_toConsumableArray(e))})))}return l(t,null)}(function(e,t){return t.map((function(t){return t(e)}))}(e,t).map(D)).pipe(Object(s.a)(N))}}}]),e}();function j(e){return null!=e}function D(e){var t=Object(r.qb)(e)?Object(u.a)(e):e;if(!Object(r.pb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function N(e){var t={};return e.forEach((function(e){t=null!=e?Object.assign(Object.assign({},t),e):t})),0===Object.keys(t).length?null:t}function R(e){return e.validate?function(t){return e.validate(t)}:e}function U(e){return e.validate?function(t){return e.validate(t)}:e}var F,L,B,H,z,V,G={provide:m,useExisting:Object(r.S)((function(){return K})),multi:!0},K=((F=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||F)(r.Lb(r.D),r.Lb(r.l))},F.\u0275dir=r.Gb({type:F,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([G])]}),F),q={provide:m,useExisting:Object(r.S)((function(){return Q})),multi:!0},Y=((B=function(){function e(){_classCallCheck(this,e),this._accessors=[]}return _createClass(e,[{key:"add",value:function(e,t){this._accessors.push([e,t])}},{key:"remove",value:function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}},{key:"select",value:function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n[1]!==e&&n[1].fireUncheck(e.value)}))}},{key:"_isSameGroup",value:function(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}]),e}()).\u0275fac=function(e){return new(e||B)},B.\u0275prov=r.Hb({token:B,factory:B.\u0275fac}),B),Q=((L=function(){function e(t,n,r,o){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._registry=r,this._injector=o,this.onChange=function(){},this.onTouched=function(){}}return _createClass(e,[{key:"ngOnInit",value:function(){this._control=this._injector.get(M),this._checkName(),this._registry.add(this._control,this)}},{key:"ngOnDestroy",value:function(){this._registry.remove(this)}},{key:"writeValue",value:function(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}},{key:"registerOnChange",value:function(e){var t=this;this._fn=e,this.onChange=function(){e(t.value),t._registry.select(t)}}},{key:"fireUncheck",value:function(e){this.writeValue(e)}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_checkName",value:function(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}},{key:"_throwNameError",value:function(){throw new Error('\n If you define both a name and a formControlName attribute on your radio button, their values\n must match. Ex: <input type="radio" formControlName="food" name="food">\n ')}}]),e}()).\u0275fac=function(e){return new(e||L)(r.Lb(r.D),r.Lb(r.l),r.Lb(Y),r.Lb(r.r))},L.\u0275dir=r.Gb({type:L,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[r.yb([q])]}),L),W={provide:m,useExisting:Object(r.S)((function(){return X})),multi:!0},X=((H=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this.onChange=function(e){},this.onTouched=function(){}}return _createClass(e,[{key:"writeValue",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}},{key:"registerOnChange",value:function(e){this.onChange=function(t){e(""==t?null:parseFloat(t))}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}]),e}()).\u0275fac=function(e){return new(e||H)(r.Lb(r.D),r.Lb(r.l))},H.\u0275dir=r.Gb({type:H,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(e){return t.onChange(e.target.value)}))("input",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},features:[r.yb([W])]}),H),Z='\n <div [formGroup]="myGroup">\n <div formGroupName="person">\n <input formControlName="firstName">\n </div>\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n person: new FormGroup({ firstName: new FormControl() })\n });',$='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',J={provide:m,useExisting:Object(r.S)((function(){return ee})),multi:!0},ee=((z=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r.rb}return _createClass(e,[{key:"writeValue",value:function(e){this.value=e;var t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);var n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),"".concat(e,": ").concat(t).slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){t.value=t._getOptionValue(n),e(t.value)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(){return(this._idCounter++).toString()}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r),e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||z)(r.Lb(r.D),r.Lb(r.l))},z.\u0275dir=r.Gb({type:z,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.yb([J])]}),z),te={provide:m,useExisting:Object(r.S)((function(){return ne})),multi:!0},ne=((V=function(){function e(t,n){_classCallCheck(this,e),this._renderer=t,this._elementRef=n,this._optionMap=new Map,this._idCounter=0,this.onChange=function(e){},this.onTouched=function(){},this._compareWith=r.rb}return _createClass(e,[{key:"writeValue",value:function(e){var t,n=this;if(this.value=e,Array.isArray(e)){var r=e.map((function(e){return n._getOptionId(e)}));t=function(e,t){e._setSelected(r.indexOf(t.toString())>-1)}}else t=function(e,t){e._setSelected(!1)};this._optionMap.forEach(t)}},{key:"registerOnChange",value:function(e){var t=this;this.onChange=function(n){var r=[];if(n.hasOwnProperty("selectedOptions"))for(var o=n.selectedOptions,i=0;i<o.length;i++){var a=o.item(i),s=t._getOptionValue(a.value);r.push(s)}else for(var c=n.options,u=0;u<c.length;u++){var l=c.item(u);if(l.selected){var h=t._getOptionValue(l.value);r.push(h)}}t.value=r,e(r)}}},{key:"registerOnTouched",value:function(e){this.onTouched=e}},{key:"setDisabledState",value:function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}},{key:"_registerOption",value:function(e){var t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}},{key:"_getOptionId",value:function(e){for(var t=0,n=Array.from(this._optionMap.keys());t<n.length;t++){var r=n[t];if(this._compareWith(this._optionMap.get(r)._value,e))return r}return null}},{key:"_getOptionValue",value:function(e){var t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}},{key:"compareWith",set:function(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}}]),e}()).\u0275fac=function(e){return new(e||V)(r.Lb(r.D),r.Lb(r.l))},V.\u0275dir=r.Gb({type:V,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&r.Yb("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[r.yb([te])]}),V);function re(e,t){return[].concat(_toConsumableArray(t.path),[e])}function oe(e,t){e||ae(t,"Cannot find control with"),t.valueAccessor||ae(t,"No value accessor for form control with"),e.validator=I.compose([e.validator,t.validator]),e.asyncValidator=I.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange((function(n){e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&ie(e,t)}))}(e,t),function(e,t){e.registerOnChange((function(e,n){t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)}))}(e,t),function(e,t){t.valueAccessor.registerOnTouched((function(){e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&ie(e,t),"submit"!==e.updateOn&&e.markAsTouched()}))}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange((function(e){t.valueAccessor.setDisabledState(e)})),t._rawValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))})),t._rawAsyncValidators.forEach((function(t){t.registerOnValidatorChange&&t.registerOnValidatorChange((function(){return e.updateValueAndValidity()}))}))}function ie(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function ae(e,t){var n;throw n=e.path.length>1?"path: '".concat(e.path.join(" -> "),"'"):e.path[0]?"name: '".concat(e.path,"'"):"unspecified name attribute",new Error("".concat(t," ").concat(n))}function se(e){return null!=e?I.compose(e.map(R)):null}function ce(e){return null!=e?I.composeAsync(e.map(U)):null}var ue=[y,X,K,ee,ne,Q];function le(e){var t=de(e)?e.validators:e;return Array.isArray(t)?se(t):t||null}function he(e,t){var n=de(t)?t.asyncValidators:e;return Array.isArray(n)?ce(n):n||null}function de(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}var fe,pe,me,ge,ye,be,ve=function(){function e(t,n){_classCallCheck(this,e),this.validator=t,this.asyncValidator=n,this._onCollectionChange=function(){},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}return _createClass(e,[{key:"setValidators",value:function(e){this.validator=le(e)}},{key:"setAsyncValidators",value:function(e){this.asyncValidator=he(e)}},{key:"clearValidators",value:function(){this.validator=null}},{key:"clearAsyncValidators",value:function(){this.asyncValidator=null}},{key:"markAsTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}},{key:"markAllAsTouched",value:function(){this.markAsTouched({onlySelf:!0}),this._forEachChild((function(e){return e.markAllAsTouched()}))}},{key:"markAsUntouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=!1,this._pendingTouched=!1,this._forEachChild((function(e){e.markAsUntouched({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"markAsDirty",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}},{key:"markAsPristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!0,this._pendingDirty=!1,this._forEachChild((function(e){e.markAsPristine({onlySelf:!0})})),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"markAsPending",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}},{key:"disable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild((function(t){t.disable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this._updateValue(),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!0)}))}},{key:"enable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild((function(t){t.enable(Object.assign(Object.assign({},e),{onlySelf:!0}))})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},e),{skipPristineCheck:t})),this._onDisabledChange.forEach((function(e){return e(!1)}))}},{key:"_updateAncestors",value:function(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}},{key:"setParent",value:function(e){this._parent=e}},{key:"updateValueAndValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),"VALID"!==this.status&&"PENDING"!==this.status||this._runAsyncValidator(e.emitEvent)),!1!==e.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!e.onlySelf&&this._parent.updateValueAndValidity(e)}},{key:"_updateTreeValidity",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{emitEvent:!0};this._forEachChild((function(t){return t._updateTreeValidity(e)})),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}},{key:"_setInitialStatus",value:function(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}},{key:"_runValidator",value:function(){return this.validator?this.validator(this):null}},{key:"_runAsyncValidator",value:function(e){var t=this;if(this.asyncValidator){this.status="PENDING";var n=D(this.asyncValidator(this));this._asyncValidationSubscription=n.subscribe((function(n){return t.setErrors(n,{emitEvent:e})}))}}},{key:"_cancelExistingSubscription",value:function(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}},{key:"setErrors",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}},{key:"get",value:function(e){return function(e,t,n){if(null==t)return null;if(Array.isArray(t)||(t=t.split(".")),Array.isArray(t)&&0===t.length)return null;var r=e;return t.forEach((function(e){r=r instanceof Ce?r.controls.hasOwnProperty(e)?r.controls[e]:null:r instanceof Oe&&r.at(e)||null})),r}(this,e)}},{key:"getError",value:function(e,t){var n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}},{key:"hasError",value:function(e,t){return!!this.getError(e,t)}},{key:"_updateControlsErrors",value:function(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}},{key:"_initObservables",value:function(){this.valueChanges=new r.n,this.statusChanges=new r.n}},{key:"_calculateStatus",value:function(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}},{key:"_anyControlsHaveStatus",value:function(e){return this._anyControls((function(t){return t.status===e}))}},{key:"_anyControlsDirty",value:function(){return this._anyControls((function(e){return e.dirty}))}},{key:"_anyControlsTouched",value:function(){return this._anyControls((function(e){return e.touched}))}},{key:"_updatePristine",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}},{key:"_updateTouched",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}},{key:"_isBoxedValue",value:function(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}},{key:"_registerOnCollectionChange",value:function(e){this._onCollectionChange=e}},{key:"_setUpdateStrategy",value:function(e){de(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}},{key:"_parentMarkedDirty",value:function(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}},{key:"parent",get:function(){return this._parent}},{key:"valid",get:function(){return"VALID"===this.status}},{key:"invalid",get:function(){return"INVALID"===this.status}},{key:"pending",get:function(){return"PENDING"==this.status}},{key:"disabled",get:function(){return"DISABLED"===this.status}},{key:"enabled",get:function(){return"DISABLED"!==this.status}},{key:"dirty",get:function(){return!this.pristine}},{key:"untouched",get:function(){return!this.touched}},{key:"updateOn",get:function(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}},{key:"root",get:function(){for(var e=this;e._parent;)e=e._parent;return e}}]),e}(),_e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,o=arguments.length>1?arguments[1]:void 0,i=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this,le(o),he(i,o)))._onChange=[],e._applyFormState(r),e._setUpdateStrategy(o),e.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),e._initObservables(),e}return _createClass(n,[{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.value=this._pendingValue=e,this._onChange.length&&!1!==n.emitModelToViewChange&&this._onChange.forEach((function(e){return e(t.value,!1!==n.emitViewToModelChange)})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.setValue(e,t)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}},{key:"_updateValue",value:function(){}},{key:"_anyControls",value:function(e){return!1}},{key:"_allControlsDisabled",value:function(){return this.disabled}},{key:"registerOnChange",value:function(e){this._onChange.push(e)}},{key:"_clearChangeFns",value:function(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=function(){}}},{key:"registerOnDisabledChange",value:function(e){this._onDisabledChange.push(e)}},{key:"_forEachChild",value:function(e){}},{key:"_syncPendingControls",value:function(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}},{key:"_applyFormState",value:function(e){this._isBoxedValue(e)?(this.value=this._pendingValue=e.value,e.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=e}}]),n}(ve),Ce=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,le(r),he(o,r))).controls=e,i._initObservables(),i._setUpdateStrategy(r),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return _createClass(n,[{key:"registerControl",value:function(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}},{key:"addControl",value:function(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"removeControl",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"contains",value:function(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),Object.keys(e).forEach((function(r){t._throwIfControlMissing(r),t.controls[r].setValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){t.controls[r]&&t.controls[r].patchValue(e[r],{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this._reduceChildren({},(function(e,t,n){return e[n]=t instanceof _e?t.value:t.getRawValue(),e}))}},{key:"_syncPendingControls",value:function(){var e=this._reduceChildren(!1,(function(e,t){return!!t._syncPendingControls()||e}));return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[e])throw new Error("Cannot find form control with name: ".concat(e,"."))}},{key:"_forEachChild",value:function(e){var t=this;Object.keys(this.controls).forEach((function(n){return e(t.controls[n],n)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){t.setParent(e),t._registerOnCollectionChange(e._onCollectionChange)}))}},{key:"_updateValue",value:function(){this.value=this._reduceValue()}},{key:"_anyControls",value:function(e){var t=this,n=!1;return this._forEachChild((function(r,o){n=n||t.contains(o)&&e(r)})),n}},{key:"_reduceValue",value:function(){var e=this;return this._reduceChildren({},(function(t,n,r){return(n.enabled||e.disabled)&&(t[r]=n.value),t}))}},{key:"_reduceChildren",value:function(e,t){var n=e;return this._forEachChild((function(e,r){n=t(n,e,r)})),n}},{key:"_allControlsDisabled",value:function(){for(var e=0,t=Object.keys(this.controls);e<t.length;e++){var n=t[e];if(this.controls[n].enabled)return!1}return Object.keys(this.controls).length>0||this.disabled}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control with name: '".concat(n,"'."))}))}}]),n}(ve),Oe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,le(r),he(o,r))).controls=e,i._initObservables(),i._setUpdateStrategy(r),i._setUpControls(),i.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),i}return _createClass(n,[{key:"at",value:function(e){return this.controls[e]}},{key:"push",value:function(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"insert",value:function(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}},{key:"removeAt",value:function(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),this.updateValueAndValidity()}},{key:"setControl",value:function(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange((function(){})),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}},{key:"setValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._checkAllValuesPresent(e),e.forEach((function(e,r){t._throwIfControlMissing(r),t.at(r).setValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"patchValue",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e,r){t.at(r)&&t.at(r).patchValue(e,{onlySelf:!0,emitEvent:n.emitEvent})})),this.updateValueAndValidity(n)}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this._forEachChild((function(n,r){n.reset(e[r],{onlySelf:!0,emitEvent:t.emitEvent})})),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}},{key:"getRawValue",value:function(){return this.controls.map((function(e){return e instanceof _e?e.value:e.getRawValue()}))}},{key:"clear",value:function(){this.controls.length<1||(this._forEachChild((function(e){return e._registerOnCollectionChange((function(){}))})),this.controls.splice(0),this.updateValueAndValidity())}},{key:"_syncPendingControls",value:function(){var e=this.controls.reduce((function(e,t){return!!t._syncPendingControls()||e}),!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}},{key:"_throwIfControlMissing",value:function(e){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(e))throw new Error("Cannot find form control at index "+e)}},{key:"_forEachChild",value:function(e){this.controls.forEach((function(t,n){e(t,n)}))}},{key:"_updateValue",value:function(){var e=this;this.value=this.controls.filter((function(t){return t.enabled||e.disabled})).map((function(e){return e.value}))}},{key:"_anyControls",value:function(e){return this.controls.some((function(t){return t.enabled&&e(t)}))}},{key:"_setUpControls",value:function(){var e=this;this._forEachChild((function(t){return e._registerControl(t)}))}},{key:"_checkAllValuesPresent",value:function(e){this._forEachChild((function(t,n){if(void 0===e[n])throw new Error("Must supply a value for form control at index: ".concat(n,"."))}))}},{key:"_allControlsDisabled",value:function(){var e,t=_createForOfIteratorHelper(this.controls);try{for(t.s();!(e=t.n()).done;){if(e.value.enabled)return!1}}catch(n){t.e(n)}finally{t.f()}return this.controls.length>0||this.disabled}},{key:"_registerControl",value:function(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}},{key:"length",get:function(){return this.controls.length}}]),n}(ve),ke={provide:O,useExisting:Object(r.S)((function(){return we}))},Pe=Promise.resolve(null),we=((pe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o){var i;return _classCallCheck(this,n),(i=t.call(this)).submitted=!1,i._directives=[],i.ngSubmit=new r.n,i.form=new Ce({},se(e),ce(o)),i}return _createClass(n,[{key:"ngAfterViewInit",value:function(){this._setUpdateStrategy()}},{key:"addControl",value:function(e){var t=this;Pe.then((function(){var n=t._findContainer(e.path);e.control=n.registerControl(e.name,e.control),oe(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),t._directives.push(e)}))}},{key:"getControl",value:function(e){return this.form.get(e.path)}},{key:"removeControl",value:function(e){var t=this;Pe.then((function(){var n,r,o,i=t._findContainer(e.path);i&&i.removeControl(e.name),n=t._directives,r=e,(o=n.indexOf(r))>-1&&n.splice(o,1)}))}},{key:"addFormGroup",value:function(e){var t=this;Pe.then((function(){var n=t._findContainer(e.path),r=new Ce({});(function(e,t){null==e&&ae(t,"Cannot find control with"),e.validator=I.compose([e.validator,t.validator]),e.asyncValidator=I.composeAsync([e.asyncValidator,t.asyncValidator])})(r,e),n.registerControl(e.name,r),r.updateValueAndValidity({emitEvent:!1})}))}},{key:"removeFormGroup",value:function(e){var t=this;Pe.then((function(){var n=t._findContainer(e.path);n&&n.removeControl(e.name)}))}},{key:"getFormGroup",value:function(e){return this.form.get(e.path)}},{key:"updateModel",value:function(e,t){var n=this;Pe.then((function(){n.form.get(e.path).setValue(t)}))}},{key:"setValue",value:function(e){this.control.setValue(e)}},{key:"onSubmit",value:function(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach((function(e){var t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})),this.ngSubmit.emit(e),!1;var t}},{key:"onReset",value:function(){this.resetForm()}},{key:"resetForm",value:function(e){this.form.reset(e),this.submitted=!1}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}},{key:"_findContainer",value:function(e){return e.pop(),e.length?this.form.get(e):this.form}},{key:"formDirective",get:function(){return this}},{key:"control",get:function(){return this.form}},{key:"path",get:function(){return[]}},{key:"controls",get:function(){return this.form.controls}}]),n}(O)).\u0275fac=function(e){return new(e||pe)(r.Lb(T,10),r.Lb(x,10))},pe.\u0275dir=r.Gb({type:pe,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&r.Yb("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[r.yb([ke]),r.wb]}),pe),Me=((fe=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"ngOnInit",value:function(){this._checkParentType(),this.formDirective.addFormGroup(this)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeFormGroup(this)}},{key:"_checkParentType",value:function(){}},{key:"control",get:function(){return this.formDirective.getFormGroup(this)}},{key:"path",get:function(){return re(null==this.name?this.name:this.name.toString(),this._parent)}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return se(this._validators)}},{key:"asyncValidator",get:function(){return ce(this._asyncValidators)}}]),n}(O)).\u0275fac=function(e){return Ee(e||fe)},fe.\u0275dir=r.Gb({type:fe,features:[r.wb]}),fe),Ee=r.Sb(Me),Se=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"modelParentException",value:function(){throw new Error('\n ngModel cannot be used to register form controls with a parent formGroup directive. Try using\n formGroup\'s partner directive "formControlName" instead. Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n </div>\n\n In your class:\n\n this.myGroup = new FormGroup({\n firstName: new FormControl()\n });\n\n Or, if you\'d like to avoid registering this form control, indicate that it\'s standalone in ngModelOptions:\n\n Example:\n\n \n <div [formGroup]="myGroup">\n <input formControlName="firstName">\n <input [(ngModel)]="showMoreControls" [ngModelOptions]="{standalone: true}">\n </div>\n ')}},{key:"formGroupNameException",value:function(){throw new Error("\n ngModel cannot be used to register form controls with a parent formGroupName or formArrayName directive.\n\n Option 1: Use formControlName instead of ngModel (reactive strategy):\n\n ".concat(Z,"\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ").concat($))}},{key:"missingNameException",value:function(){throw new Error('If ngModel is used within a form tag, either the name attribute must be set or the form\n control must be defined as \'standalone\' in ngModelOptions.\n\n Example 1: <input [(ngModel)]="person.firstName" name="first">\n Example 2: <input [(ngModel)]="person.firstName" [ngModelOptions]="{standalone: true}">')}},{key:"modelGroupParentException",value:function(){throw new Error("\n ngModelGroup cannot be used with a parent formGroup directive.\n\n Option 1: Use formGroupName instead of ngModelGroup (reactive strategy):\n\n ".concat(Z,"\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ").concat($))}}]),e}(),Te={provide:O,useExisting:Object(r.S)((function(){return xe}))},xe=((me=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this))._parent=e,i._validators=r,i._asyncValidators=o,i}return _createClass(n,[{key:"_checkParentType",value:function(){this._parent instanceof n||this._parent instanceof we||Se.modelGroupParentException()}}]),n}(Me)).\u0275fac=function(e){return new(e||me)(r.Lb(O,5),r.Lb(T,10),r.Lb(x,10))},me.\u0275dir=r.Gb({type:me,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[r.yb([Te]),r.wb]}),me),Ae={provide:M,useExisting:Object(r.S)((function(){return je}))},Ie=Promise.resolve(null),je=((be=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o,i,a){var s;return _classCallCheck(this,n),(s=t.call(this)).control=new _e,s._registered=!1,s.update=new r.n,s._parent=e,s._rawValidators=o||[],s._rawAsyncValidators=i||[],s.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||ae(e,"Value accessor was not provided as an array for form control with");var n=void 0,r=void 0,o=void 0;return t.forEach((function(t){var i;t.constructor===_?n=t:(i=t,ue.some((function(e){return i.constructor===e}))?(r&&ae(e,"More than one built-in value accessor matches form control with"),r=t):(o&&ae(e,"More than one custom value accessor matches form control with"),o=t))})),o||r||n||(ae(e,"No valid value accessor for form control with"),null)}(_assertThisInitialized(s),a),s}return _createClass(n,[{key:"ngOnChanges",value:function(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;var n=e.model;return!!n.isFirstChange()||!Object(r.rb)(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}},{key:"ngOnDestroy",value:function(){this.formDirective&&this.formDirective.removeControl(this)}},{key:"viewToModelUpdate",value:function(e){this.viewModel=e,this.update.emit(e)}},{key:"_setUpControl",value:function(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}},{key:"_setUpdateStrategy",value:function(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}},{key:"_isStandalone",value:function(){return!this._parent||!(!this.options||!this.options.standalone)}},{key:"_setUpStandalone",value:function(){oe(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}},{key:"_checkForErrors",value:function(){this._isStandalone()||this._checkParentType(),this._checkName()}},{key:"_checkParentType",value:function(){!(this._parent instanceof xe)&&this._parent instanceof Me?Se.formGroupNameException():this._parent instanceof xe||this._parent instanceof we||Se.modelParentException()}},{key:"_checkName",value:function(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||Se.missingNameException()}},{key:"_updateValue",value:function(e){var t=this;Ie.then((function(){t.control.setValue(e,{emitViewToModelChange:!1})}))}},{key:"_updateDisabled",value:function(e){var t=this,n=e.isDisabled.currentValue,r=""===n||n&&"false"!==n;Ie.then((function(){r&&!t.control.disabled?t.control.disable():!r&&t.control.disabled&&t.control.enable()}))}},{key:"path",get:function(){return this._parent?re(this.name,this._parent):[this.name]}},{key:"formDirective",get:function(){return this._parent?this._parent.formDirective:null}},{key:"validator",get:function(){return se(this._rawValidators)}},{key:"asyncValidator",get:function(){return ce(this._rawAsyncValidators)}}]),n}(M)).\u0275fac=function(e){return new(e||be)(r.Lb(O,9),r.Lb(T,10),r.Lb(x,10),r.Lb(m,10))},be.\u0275dir=r.Gb({type:be,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[r.yb([Ae]),r.wb,r.xb]}),be),De=((ye=function e(){_classCallCheck(this,e)}).\u0275mod=r.Jb({type:ye}),ye.\u0275inj=r.Ib({factory:function(e){return new(e||ye)}}),ye),Ne=((ge=function e(){_classCallCheck(this,e)}).\u0275mod=r.Jb({type:ge}),ge.\u0275inj=r.Ib({factory:function(e){return new(e||ge)},providers:[Y],imports:[De]}),ge)},"3XH2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("r517"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"decToBaseNChunks",value:function(e,t){if(0===e)return[0];for(var n=[],r=Math.floor(Math.log(e)/Math.log(t))+1,o=0;r-- >0;o++){var i=Math.pow(t,r),a=Math.floor(e/i);n.push(a),e-=a*i}return n}},{key:"digitToBaseN",value:function(e,t){if(t<1||t>62)throw new Error("Base is less than 1 or greater than 62. This cannot be represented using 0-9A-Za-z notation");if(e<0||e>t-1)throw new Error("Digit out of range of base ".concat(e," vs base ").concat(t));return e<10?e.toString():(e-=10)<26?String.fromCharCode(65+e):(e-=26,String.fromCharCode(97+e))}},{key:"baseNToDigit",value:function(e,t){if(t<1||t>62)throw new Error("Base is less than 1 or greater than 62. This cannot be represented using 0-9A-Za-z notation");var n=e.charCodeAt(0);if(n<48)throw new Error("Character is outside scope of given base");if(n<58){var r=n-48;if(r>=t)throw new Error("Character is outside scope of given base");return r}if(n<91){var o=n-65+10;if(o>=t)throw new Error("Character is outside scope of given base");return o}if(n<123){var i=n-97+10+26;if(i>=t)throw new Error("Character is outside scope of given base");return i}throw new Error("Character is outside scope of given base")}},{key:"decToBaseN",value:function(t,n){var r,o="",i=_createForOfIteratorHelper(e.decToBaseNChunks(t,n));try{for(i.s();!(r=i.n()).done;){var a=r.value;o="".concat(o).concat(e.digitToBaseN(a,n))}}catch(s){i.e(s)}finally{i.f()}return o}},{key:"baseNToDec",value:function(t,n){for(var r=0;""!==t;){var o=e.baseNToDigit(t.substring(0,1),n);t=t.substring(1),r*=n,r+=o}return r}},{key:"generateRandomBaseNId",value:function(t,n){for(var r="",o=t;o-- >0;){var i=Math.floor(Math.random()*n);r="".concat(r).concat(e.digitToBaseN(i,n))}return r}},{key:"isBaseNIdArray",value:function(e,t){if(!r.CommonsType.isStringArray(e))return!1;var n,o=_createForOfIteratorHelper(e);try{for(o.s();!(n=o.n()).done;){if(!t(n.value))return!1}}catch(i){o.e(i)}finally{o.f()}return!0}},{key:"isBaseNIdKeyObject",value:function(e,t){if(!r.CommonsType.isStringKeyObject(e))return!1;for(var n=0,o=Object.keys(e);n<o.length;n++){if(!t(e[o[n]]))return!1}return!0}},{key:"isBaseNIdOrUndefinedKeyObject",value:function(e,t){if(!r.CommonsType.isStringOrUndefinedKeyObject(e))return!1;for(var n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];if(r.CommonsType.hasProperty(e,i)&&void 0!==e[i]&&!t(e[i]))return!1}return!0}},{key:"isBaseNIdArrayKeyObject",value:function(t,n){if(!r.CommonsType.isStringArrayKeyObject(t))return!1;for(var o=0,i=Object.keys(t);o<i.length;o++){var a=i[o];if(!e.isBaseNIdArray(t[a],n))return!1}return!0}},{key:"hasPropertyBaseNId",value:function(e,t,n){return!!r.CommonsType.hasPropertyString(e,t)&&n(e[t])}},{key:"hasPropertyBaseNIdArray",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringArray(t,n)&&e.isBaseNIdArray(t[n],o)}},{key:"hasPropertyBaseNIdKeyObject",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringKeyObject(t,n)&&e.isBaseNIdArrayKeyObject(t[n],o)}},{key:"hasPropertyBaseNIdOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNId(t,n,o))}},{key:"hasPropertyBaseNIdArrayOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringArrayOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNIdArray(t,n,o))}},{key:"hasPropertyBaseNIdKeyObjectOrUndefined",value:function(t,n,o){return!!r.CommonsType.hasPropertyStringKeyObjectOrUndefined(t,n)&&(!r.CommonsType.hasProperty(t,n)||!r.CommonsType.isDefined(t[n])||e.hasPropertyBaseNIdKeyObject(t,n,o))}}]),e}();t.CommonsBase=o;var i=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,10,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE36).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE36_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase36=i,i.BASE=36,i.REGEX_PATTERN_BASE36="^[0-9A-Z]+$",i.REGEX_PATTERN_BASE36_ID="^[0-9A-Z]{10}$";var a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,6,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE41).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE41_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase41=a,a.BASE=41,a.REGEX_PATTERN_BASE41="^[0-9A-Za-e]+$",a.REGEX_PATTERN_BASE41_ID="^[0-9A-Za-e]{6}$";var s=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,null,[{key:"decToChunks",value:function(e){return _get(_getPrototypeOf(n),"decToBaseNChunks",this).call(this,e,n.BASE)}},{key:"digitToBase",value:function(e){return _get(_getPrototypeOf(n),"digitToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDigit",value:function(e){return _get(_getPrototypeOf(n),"baseNToDigit",this).call(this,e.toUpperCase(),n.BASE)}},{key:"decToBase",value:function(e){return _get(_getPrototypeOf(n),"decToBaseN",this).call(this,e,n.BASE)}},{key:"baseToDec",value:function(e){return _get(_getPrototypeOf(n),"baseNToDec",this).call(this,e.toUpperCase(),n.BASE)}},{key:"generateRandomId",value:function(){return _get(_getPrototypeOf(n),"generateRandomBaseNId",this).call(this,8,n.BASE)}},{key:"is",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE62).test(e)}},{key:"isId",value:function(e){return new RegExp(n.REGEX_PATTERN_BASE62_ID).test(e)}},{key:"isIdArray",value:function(e){return o.isBaseNIdArray(e,n.isId)}},{key:"isIdKeyObject",value:function(e){return o.isBaseNIdKeyObject(e,n.isId)}},{key:"isIdOrUndefinedKeyObject",value:function(e){return o.isBaseNIdOrUndefinedKeyObject(e,n.isId)}},{key:"isIdArrayKeyObject",value:function(e){return o.isBaseNIdArrayKeyObject(e,n.isId)}},{key:"hasPropertyId",value:function(e,t){return o.hasPropertyBaseNId(e,t,n.isId)}},{key:"hasPropertyIdArray",value:function(e,t){return o.hasPropertyBaseNIdArray(e,t,n.isId)}},{key:"hasPropertyIdKeyObject",value:function(e,t){return o.hasPropertyBaseNIdKeyObject(e,t,n.isId)}},{key:"hasPropertyIdOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdArrayOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdArrayOrUndefined(e,t,n.isId)}},{key:"hasPropertyIdKeyObjectOrUndefined",value:function(e,t){return o.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n.isId)}}]),n}(o);t.CommonsBase62=s,s.BASE=62,s.REGEX_PATTERN_BASE62="^[0-9A-Za-z]+$",s.REGEX_PATTERN_BASE62_ID="^[0-9A-Za-z]{8}$"},"3liX":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.ERgba||(t.ERgba={})).RED="red",r.GREEN="green",r.BLUE="blue",r.ALPHA="alpha"},"4+du":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("UxI3")),r(n("cS81")),r(n("pL1S")),r(n("u3qa"))},"49sm":function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},"4I5i":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}()},"4Mep":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ"),o=n("u3qa");t.isTStatusTallies=function(e){return r.CommonsType.isNumberEnumObject(e,o.isEStatus)}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("ZUHj"),o=n("l7GE"),i=n("51Dv"),a=n("lJxs"),s=n("Cfvw");function c(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof t?function(r){return r.pipe(c((function(n,r){return Object(s.a)(e(n,r)).pipe(Object(a.a)((function(e,o){return t(n,e,r,o)})))}),n))}:("number"==typeof t&&(n=t),function(t){return t.lift(new u(e,n))})}var u=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new l(e,this.project,this.concurrent))}}]),e}(),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.concurrent=i,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var o=new i.a(this,t,n),a=this.destination;a.add(o);var s=Object(r.a)(this,e,void 0,void 0,o);s!==o&&a.add(s)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,o){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(o.a)},"5/2J":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("fXoL"),o=n("WB8P"),i=n("cu1R"),a=n("Mm3/"),s=n("vihK"),c=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var o;return _classCallCheck(this,n),(o=t.call(this,e.getSocketIoUrl(),!0,e.getSocketIoOptions())).onFetching=new r.n(!0),o.onOutcome=new r.n(!0),o.onStatusTallies=new r.n(!0),o.onLinkTallies=new r.n(!0),o.onDomainTallies=new r.n(!0),o.onBandwidth=new r.n(!0),o.connect(),o}return _createClass(n,[{key:"setupOns",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"on",this).call(this,"fetching",(function(t){if(!Object(i.isTFetch)(t))throw new Error("Unable to parse fetching");e.onFetching.emit(t)})),_get(_getPrototypeOf(n.prototype),"on",this).call(this,"outcome",(function(t){if(!Object(i.isTOutcome)(t))throw new Error("Unable to parse outcome");e.onOutcome.emit(t)})),_get(_getPrototypeOf(n.prototype),"on",this).call(this,"statusTallies",(function(t){if(!Object(i.isTStatusTallies)(t))throw new Error("Unable to parse status tallies");e.onStatusTallies.emit(t)})),_get(_getPrototypeOf(n.prototype),"on",this).call(this,"linkTallies",(function(t){o.CommonsType.assertNumber(t),e.onLinkTallies.emit(t)})),_get(_getPrototypeOf(n.prototype),"on",this).call(this,"domainTallies",(function(t){o.CommonsType.assertNumber(t),e.onDomainTallies.emit(t)})),_get(_getPrototypeOf(n.prototype),"on",this).call(this,"bandwidth",(function(t){if("number"!=typeof t)throw new Error("Unable to parse bandwidth bps");e.onBandwidth.emit(t)}))}},{key:"fetchingObservable",value:function(){return this.onFetching}},{key:"outcomeObservable",value:function(){return this.onOutcome}},{key:"statusTalliesObservable",value:function(){return this.onStatusTallies}},{key:"linkTalliesObservable",value:function(){return this.onLinkTallies}},{key:"domainTalliesObservable",value:function(){return this.onDomainTallies}},{key:"bandwidthObservable",value:function(){return this.onBandwidth}}]),n}(a.a);return e.\u0275fac=function(t){return new(t||e)(r.Ub(s.a))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e}()},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this)).parent=e,i.outerValue=r,i.outerIndex=o,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(n("7o/Q").a)},"5E2r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isTDomainQueue=function(e){return!!r.CommonsType.hasPropertyString(e,"domain")&&!!r.CommonsType.hasPropertyNumber(e,"queue")}},"5M3R":function(e,t,n){function r(){var e;try{e=t.storage.debug}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e}(t=e.exports=n("Nq7k")).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),n){var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=r,t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}},t.enable(r())},"5rE5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("WB8P"),o=n("3liX"),i=n("EdyX"),a=n("gQEu"),s=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"rgbToHsl",value:function(e){var t,n,a=(_defineProperty(t={},o.ERgba.RED,e[o.ERgba.RED]),_defineProperty(t,o.ERgba.GREEN,e[o.ERgba.GREEN]),_defineProperty(t,o.ERgba.BLUE,e[o.ERgba.BLUE]),t);a[o.ERgba.RED]/=255,a[o.ERgba.GREEN]/=255,a[o.ERgba.BLUE]/=255;var s=Math.max(a[o.ERgba.RED],a[o.ERgba.GREEN],a[o.ERgba.BLUE]),c=Math.min(a[o.ERgba.RED],a[o.ERgba.GREEN],a[o.ERgba.BLUE]),u=0,l=0,h=(s+c)/2;if(s===c)u=l=0;else{var d=s-c;switch(l=h>.5?d/(2-s-c):d/(s+c),s){case a[o.ERgba.RED]:u=(a[o.ERgba.GREEN]-a[o.ERgba.BLUE])/d+(a[o.ERgba.GREEN]<a[o.ERgba.BLUE]?6:0);break;case a[o.ERgba.GREEN]:u=(a[o.ERgba.BLUE]-a[o.ERgba.RED])/d+2;break;case a[o.ERgba.BLUE]:u=(a[o.ERgba.RED]-a[o.ERgba.GREEN])/d+4}u/=6}var f=(_defineProperty(n={},i.EHsla.HUE,u),_defineProperty(n,i.EHsla.SATURATION,l),_defineProperty(n,i.EHsla.LIGHTNESS,h),n);if(r.CommonsType.hasPropertyNumber(e,o.ERgba.ALPHA)){var p=f;return p[i.EHsla.ALPHA]=e[o.ERgba.ALPHA],p}return f}},{key:"rgbToHex",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return"".concat(t?"#":"").concat([Math.floor(e[o.ERgba.RED]).toString(16).padStart(2,"0"),Math.floor(e[o.ERgba.GREEN]).toString(16).padStart(2,"0"),Math.floor(e[o.ERgba.BLUE]).toString(16).padStart(2,"0")].join(""))}},{key:"hexToRgb",value:function(e){var t,n=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);if(!n)throw new Error("Invalid hex color");return _defineProperty(t={},o.ERgba.RED,parseInt(n[1],16)),_defineProperty(t,o.ERgba.GREEN,parseInt(n[2],16)),_defineProperty(t,o.ERgba.BLUE,parseInt(n[3],16)),t}},{key:"hueToRgb",value:function(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}},{key:"hslToRgb",value:function(t){var n,a=(_defineProperty(n={},o.ERgba.RED,0),_defineProperty(n,o.ERgba.GREEN,0),_defineProperty(n,o.ERgba.BLUE,0),n);if(0===t[i.EHsla.SATURATION])a[o.ERgba.RED]=a[o.ERgba.GREEN]=a[o.ERgba.BLUE]=t[i.EHsla.LIGHTNESS];else{var s=t[i.EHsla.LIGHTNESS]<.5?t[i.EHsla.LIGHTNESS]*(1+t[i.EHsla.SATURATION]):t[i.EHsla.LIGHTNESS]+t[i.EHsla.SATURATION]-t[i.EHsla.LIGHTNESS]*t[i.EHsla.SATURATION],c=2*t[i.EHsla.LIGHTNESS]-s;a[o.ERgba.RED]=e.hueToRgb(c,s,t[i.EHsla.HUE]+1/3),a[o.ERgba.GREEN]=e.hueToRgb(c,s,t[i.EHsla.HUE]),a[o.ERgba.BLUE]=e.hueToRgb(c,s,t[i.EHsla.HUE]-1/3)}if(a[o.ERgba.RED]=Math.round(255*a[o.ERgba.RED]),a[o.ERgba.GREEN]=Math.round(255*a[o.ERgba.GREEN]),a[o.ERgba.BLUE]=Math.round(255*a[o.ERgba.BLUE]),r.CommonsType.hasPropertyNumber(t,i.EHsla.ALPHA)){var u=a;return u[o.ERgba.ALPHA]=t[i.EHsla.ALPHA],u}return a}},{key:"hsvToHsl",value:function(e){var t,n=e[a.EHsva.VALUE]/2*(2-e[a.EHsva.SATURATION]),o=e[a.EHsva.SATURATION];0!==n&&(o=1===n?0:n<.5?o*e[a.EHsva.VALUE]/(2*n):o*e[a.EHsva.VALUE]/(2-2*n));var s=(_defineProperty(t={},i.EHsla.HUE,e[a.EHsva.HUE]),_defineProperty(t,i.EHsla.SATURATION,o),_defineProperty(t,i.EHsla.LIGHTNESS,n),t);if(r.CommonsType.hasPropertyNumber(s,i.EHsla.ALPHA)){var c=s;return c[i.EHsla.ALPHA]=e[a.EHsva.ALPHA],c}return s}},{key:"hsvToRgb",value:function(t){var n=e.hsvToHsl(t);return e.hslToRgb(n)}},{key:"blendRgbs",value:function(t,n,a){var s,c=arguments.length>3&&void 0!==arguments[3]&&arguments[3],u=0,l=e.rgbToHsl(t),h=e.rgbToHsl(n);c?l[i.EHsla.HUE]<n[i.EHsla.HUE]?(u=h[i.EHsla.HUE]+(l[i.EHsla.HUE]+(1-h[i.EHsla.HUE]))*a)>1&&(u-=1):(u=l[i.EHsla.HUE]+(h[i.EHsla.HUE]+(1-l[i.EHsla.HUE]))*a)>1&&(u-=1):u=h[i.EHsla.HUE]*a+l[i.EHsla.HUE]*(1-a);var d=e.hslToRgb((_defineProperty(s={},i.EHsla.HUE,u),_defineProperty(s,i.EHsla.SATURATION,h[i.EHsla.SATURATION]*a+l[i.EHsla.SATURATION]*(1-a)),_defineProperty(s,i.EHsla.LIGHTNESS,h[i.EHsla.LIGHTNESS]*a+l[i.EHsla.LIGHTNESS]*(1-a)),s));if(r.CommonsType.hasPropertyNumber(d,o.ERgba.ALPHA)){var f=d;return f[i.EHsla.ALPHA]=t[i.EHsla.ALPHA]*a+t[i.EHsla.ALPHA]*(1-a),f}return d}}]),e}();t.CommonsColor=s},"6F/j":function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.r(t),n.d(t,"Observable",(function(){return k})),n.d(t,"ConnectableObservable",(function(){return j})),n.d(t,"GroupedObservable",(function(){return N})),n.d(t,"observable",(function(){return b})),n.d(t,"Subject",(function(){return T})),n.d(t,"BehaviorSubject",(function(){return U})),n.d(t,"ReplaySubject",(function(){return re})),n.d(t,"AsyncSubject",(function(){return ie})),n.d(t,"asapScheduler",(function(){return pe})),n.d(t,"asyncScheduler",(function(){return me})),n.d(t,"queueScheduler",(function(){return z})),n.d(t,"animationFrameScheduler",(function(){return ye})),n.d(t,"VirtualTimeScheduler",(function(){return be})),n.d(t,"VirtualAction",(function(){return ve})),n.d(t,"Scheduler",(function(){return B})),n.d(t,"Subscription",(function(){return d})),n.d(t,"Subscriber",(function(){return m})),n.d(t,"Notification",(function(){return ee})),n.d(t,"NotificationKind",(function(){return J})),n.d(t,"pipe",(function(){return _})),n.d(t,"noop",(function(){return _e})),n.d(t,"identity",(function(){return v})),n.d(t,"isObservable",(function(){return Ce})),n.d(t,"ArgumentOutOfRangeError",(function(){return Oe})),n.d(t,"EmptyError",(function(){return ke})),n.d(t,"ObjectUnsubscribedError",(function(){return M})),n.d(t,"UnsubscriptionError",(function(){return h})),n.d(t,"TimeoutError",(function(){return Pe})),n.d(t,"bindCallback",(function(){return Se})),n.d(t,"bindNodeCallback",(function(){return Ae})),n.d(t,"combineLatest",(function(){return Ve})),n.d(t,"concat",(function(){return Ze})),n.d(t,"defer",(function(){return $e})),n.d(t,"empty",(function(){return G})),n.d(t,"forkJoin",(function(){return Je})),n.d(t,"from",(function(){return Ye})),n.d(t,"fromEvent",(function(){return tt})),n.d(t,"fromEventPattern",(function(){return nt})),n.d(t,"generate",(function(){return rt})),n.d(t,"iif",(function(){return it})),n.d(t,"interval",(function(){return st})),n.d(t,"merge",(function(){return ut})),n.d(t,"never",(function(){return ht})),n.d(t,"of",(function(){return W})),n.d(t,"onErrorResumeNext",(function(){return dt})),n.d(t,"pairs",(function(){return ft})),n.d(t,"partition",(function(){return vt})),n.d(t,"race",(function(){return _t})),n.d(t,"range",(function(){return kt})),n.d(t,"throwError",(function(){return X})),n.d(t,"timer",(function(){return wt})),n.d(t,"using",(function(){return Et})),n.d(t,"zip",(function(){return St})),n.d(t,"scheduled",(function(){return qe})),n.d(t,"EMPTY",(function(){return V})),n.d(t,"NEVER",(function(){return lt})),n.d(t,"config",(function(){return i}));var o=!1,i={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){var t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}};function a(e){setTimeout((function(){throw e}),0)}var s={closed:!0,next:function(e){},error:function(e){if(i.useDeprecatedSynchronousErrorHandling)throw e;a(e)},complete:function(){}},c=Array.isArray||function(e){return e&&"number"==typeof e.length};function u(e){return null!==e&&"object"==typeof e}var l,h=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),d=((l=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,o=this._unsubscribe,i=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var a=0;a<n.length;++a)n[a].remove(this);if(r(o))try{o.call(this)}catch(p){t=p instanceof h?f(p.errors):[p]}if(c(i))for(var s=-1,l=i.length;++s<l;){var d=i[s];if(u(d))try{d.unsubscribe()}catch(p){t=t||[],p instanceof h?t=t.concat(f(p.errors)):t.push(p)}}if(t)throw new h(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=function(e){return e.closed=!0,e}(new l),l);function f(e){return e.reduce((function(e,t){return e.concat(t instanceof h?t.errors:t)}),[])}var p="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random(),m=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;switch(_classCallCheck(this,n),(i=t.call(this)).syncErrorValue=null,i.syncErrorThrown=!1,i.syncErrorThrowable=!1,i.isStopped=!1,arguments.length){case 0:i.destination=s;break;case 1:if(!e){i.destination=s;break}if("object"==typeof e){e instanceof n?(i.syncErrorThrowable=e.syncErrorThrowable,i.destination=e,e.add(_assertThisInitialized(i))):(i.syncErrorThrowable=!0,i.destination=new g(_assertThisInitialized(i),e));break}default:i.syncErrorThrowable=!0,i.destination=new g(_assertThisInitialized(i),e,r,o)}return i}return _createClass(n,[{key:p,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var o=new n(e,t,r);return o.syncErrorThrowable=!1,o}}]),n}(d),g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o,i,a){var c,u;_classCallCheck(this,n),(c=t.call(this))._parentSubscriber=e;var l=_assertThisInitialized(c);return r(o)?u=o:o&&(u=o.next,i=o.error,a=o.complete,o!==s&&(r((l=Object.create(o)).unsubscribe)&&c.add(l.unsubscribe.bind(l)),l.unsubscribe=c.unsubscribe.bind(_assertThisInitialized(c)))),c._context=l,c._next=u,c._error=i,c._complete=a,c}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=i.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):a(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;a(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};i.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),i.useDeprecatedSynchronousErrorHandling)throw n;a(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!i.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return i.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(a(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(m);function y(e){for(;e;){var t=e,n=t.closed,r=t.destination,o=t.isStopped;if(n||o)return!1;e=r&&r instanceof m?r:null}return!0}var b="function"==typeof Symbol&&Symbol.observable||"@@observable";function v(e){return e}function _(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(t)}function C(e){return 0===e.length?v:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var O,k=((O=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,o=function(e,t,n){if(e){if(e instanceof m)return e;if(e[p])return e[p]()}return e||t||n?new m(e,t,n):new m(s)}(e,t,n);if(o.add(r?r.call(o,this.source):this.source||i.useDeprecatedSynchronousErrorHandling&&!o.syncErrorThrowable?this._subscribe(o):this._trySubscribe(o)),i.useDeprecatedSynchronousErrorHandling&&o.syncErrorThrowable&&(o.syncErrorThrowable=!1,o.syncErrorThrown))throw o.syncErrorValue;return o}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){i.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),y(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=P(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:b,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:C(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=P(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),e}()).create=function(e){return new O(e)},O);function P(e){if(e||(e=i.Promise||Promise),!e)throw new Error("no Promise impl found");return e}var w,M=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}(),E=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).subject=e,o.subscriber=r,o.closed=!1,o}return _createClass(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(d),S=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).destination=e,r}return n}(m),T=((w=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:p,value:function(){return new S(this)}},{key:"lift",value:function(e){var t=new x(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new M;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)}},{key:"error",value:function(e){if(this.closed)throw new M;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new M;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new M;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new M;return this.hasError?(e.error(this.thrownError),d.EMPTY):this.isStopped?(e.complete(),d.EMPTY):(this.observers.push(e),new E(this,e))}},{key:"asObservable",value:function(){var e=new k;return e.source=this,e}}]),n}(k)).create=function(e,t){return new x(e,t)},w),x=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).destination=e,o.source=r,o}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):d.EMPTY}}]),n}(T),A=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new I(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).connectable=r,o}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(m),j=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).source=e,o.subjectFactory=r,o._refCount=0,o._isComplete=!1,o}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new d).add(this.source.subscribe(new D(this.getSubject(),this))),e.closed&&(this._connection=null,e=d.EMPTY)),e}},{key:"refCount",value:function(){return(e=this).lift(new A(e));var e}}]),n}(k),D=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).connectable=r,o}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(S),N=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this)).key=e,i.groupSubject=r,i.refCountSubscription=o,i}return _createClass(n,[{key:"_subscribe",value:function(e){var t=new d,n=this.refCountSubscription,r=this.groupSubject;return n&&!n.closed&&t.add(new R(n)),t.add(r.subscribe(e)),t}}]),n}(k),R=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).parent=e,e.count++,r}return _createClass(n,[{key:"unsubscribe",value:function(){var e=this.parent;e.closed||this.closed||(_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}]),n}(d),U=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._value=e,r}return _createClass(n,[{key:"_subscribe",value:function(e){var t=_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e);return t&&!t.closed&&e.next(this._value),t}},{key:"getValue",value:function(){if(this.hasError)throw this.thrownError;if(this.closed)throw new M;return this._value}},{key:"next",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,this._value=e)}},{key:"value",get:function(){return this.getValue()}}]),n}(T),F=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o.pending=!1,o}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(d)),L=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t>0?_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}},{key:"execute",value:function(e,t){return t>0||this.closed?_get(_getPrototypeOf(n.prototype),"execute",this).call(this,e,t):this._execute(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0||null===r&&this.delay>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,r):e.flush(this)}}]),n}(F),B=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),H=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B.now;return _classCallCheck(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():o()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(B),z=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(H))(L),V=new k((function(e){return e.complete()}));function G(e){return e?function(e){return new k((function(t){return e.schedule((function(){return t.complete()}))}))}(e):V}function K(e){return e&&"function"==typeof e.schedule}var q=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}};function Y(e,t){return new k((function(n){var r=new d,o=0;return r.add(t.schedule((function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}function Q(e,t){return t?Y(e,t):new k(q(e))}function W(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return K(r)?(t.pop(),Y(t,r)):Q(t)}function X(e,t){return new k(t?function(n){return t.schedule(Z,0,{error:e,subscriber:n})}:function(t){return t.error(e)})}function Z(e){var t=e.error;e.subscriber.error(t)}var $,J=function(e){return e.NEXT="N",e.ERROR="E",e.COMPLETE="C",e}({}),ee=(($=function(){function e(t,n,r){_classCallCheck(this,e),this.kind=t,this.value=n,this.error=r,this.hasValue="N"===t}return _createClass(e,[{key:"observe",value:function(e){switch(this.kind){case"N":return e.next&&e.next(this.value);case"E":return e.error&&e.error(this.error);case"C":return e.complete&&e.complete()}}},{key:"do",value:function(e,t,n){switch(this.kind){case"N":return e&&e(this.value);case"E":return t&&t(this.error);case"C":return n&&n()}}},{key:"accept",value:function(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}},{key:"toObservable",value:function(){switch(this.kind){case"N":return W(this.value);case"E":return X(this.error);case"C":return G()}throw new Error("unexpected notification kind value")}}],[{key:"createNext",value:function(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}},{key:"createError",value:function(t){return new e("E",void 0,t)}},{key:"createComplete",value:function(){return e.completeNotification}}]),e}()).completeNotification=new $("C"),$.undefinedValueNotification=new $("N",void 0),$),te=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return _classCallCheck(this,n),(o=t.call(this,e)).scheduler=r,o.delay=i,o}return _createClass(n,[{key:"scheduleMessage",value:function(e){this.destination.add(this.scheduler.schedule(n.dispatch,this.delay,new ne(e,this.destination)))}},{key:"_next",value:function(e){this.scheduleMessage(ee.createNext(e))}},{key:"_error",value:function(e){this.scheduleMessage(ee.createError(e)),this.unsubscribe()}},{key:"_complete",value:function(){this.scheduleMessage(ee.createComplete()),this.unsubscribe()}}],[{key:"dispatch",value:function(e){var t=e.notification,n=e.destination;t.observe(n),this.unsubscribe()}}]),n}(m),ne=function e(t,n){_classCallCheck(this,e),this.notification=t,this.destination=n},re=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY,i=arguments.length>2?arguments[2]:void 0;return _classCallCheck(this,n),(e=t.call(this)).scheduler=i,e._events=[],e._infiniteTimeWindow=!1,e._bufferSize=r<1?1:r,e._windowTime=o<1?1:o,o===Number.POSITIVE_INFINITY?(e._infiniteTimeWindow=!0,e.next=e.nextInfiniteTimeWindow):e.next=e.nextTimeWindow,e}return _createClass(n,[{key:"nextInfiniteTimeWindow",value:function(e){var t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"nextTimeWindow",value:function(e){this._events.push(new oe(this._getNow(),e)),this._trimBufferThenGetEvents(),_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"_subscribe",value:function(e){var t,n=this._infiniteTimeWindow,r=n?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,i=r.length;if(this.closed)throw new M;if(this.isStopped||this.hasError?t=d.EMPTY:(this.observers.push(e),t=new E(this,e)),o&&e.add(e=new te(e,o)),n)for(var a=0;a<i&&!e.closed;a++)e.next(r[a]);else for(var s=0;s<i&&!e.closed;s++)e.next(r[s].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),t}},{key:"_getNow",value:function(){return(this.scheduler||z).now()}},{key:"_trimBufferThenGetEvents",value:function(){for(var e=this._getNow(),t=this._bufferSize,n=this._windowTime,r=this._events,o=r.length,i=0;i<o&&!(e-r[i].time<n);)i++;return o>t&&(i=Math.max(i,o-t)),i>0&&r.splice(0,i),r}}]),n}(T),oe=function e(t,n){_classCallCheck(this,e),this.time=t,this.value=n},ie=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).value=null,e.hasNext=!1,e.hasCompleted=!1,e}return _createClass(n,[{key:"_subscribe",value:function(e){return this.hasError?(e.error(this.thrownError),d.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),d.EMPTY):_get(_getPrototypeOf(n.prototype),"_subscribe",this).call(this,e)}},{key:"next",value:function(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}},{key:"error",value:function(e){this.hasCompleted||_get(_getPrototypeOf(n.prototype),"error",this).call(this,e)}},{key:"complete",value:function(){this.hasCompleted=!0,this.hasNext&&_get(_getPrototypeOf(n.prototype),"next",this).call(this,this.value),_get(_getPrototypeOf(n.prototype),"complete",this).call(this)}}]),n}(T),ae=1,se=Promise.resolve(),ce={};function ue(e){return e in ce&&(delete ce[e],!0)}var le,he=function(e){var t=ae++;return ce[t]=!0,se.then((function(){return ue(t)&&e()})),t},de=function(e){ue(e)},fe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o}return _createClass(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=he(e.flush.bind(e,null))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(de(t),e.scheduled=void 0)}}]),n}(F),pe=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(H))(fe),me=new H(F),ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o}return _createClass(n,[{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return null!==r&&r>0?_get(_getPrototypeOf(n.prototype),"requestAsyncId",this).call(this,e,t,r):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame((function(){return e.flush(null)}))))}},{key:"recycleAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==r&&r>0||null===r&&this.delay>0)return _get(_getPrototypeOf(n.prototype),"recycleAsyncId",this).call(this,e,t,r);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}]),n}(F),ye=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"flush",value:function(e){this.active=!0,this.scheduled=void 0;var t,n=this.actions,r=-1,o=n.length;e=e||n.shift();do{if(t=e.execute(e.state,e.delay))break}while(++r<o&&(e=n.shift()));if(this.active=!1,t){for(;++r<o&&(e=n.shift());)e.unsubscribe();throw t}}}]),n}(H))(ge),be=((le=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ve,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(e=t.call(this,r,(function(){return e.frame}))).maxFrames=o,e.frame=0,e.index=-1,e}return _createClass(n,[{key:"flush",value:function(){for(var e,t,n=this.actions,r=this.maxFrames;(t=n[0])&&t.delay<=r&&(n.shift(),this.frame=t.delay,!(e=t.execute(t.state,t.delay))););if(e){for(;t=n.shift();)t.unsubscribe();throw e}}}]),n}(H)).frameTimeFactor=10,le),ve=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.index+=1;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o.index=i,o.active=!0,o.index=e.index=i,o}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(!this.id)return _get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t);this.active=!1;var r=new n(this.scheduler,this.work);return this.add(r),r.schedule(e,t)}},{key:"requestAsyncId",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;this.delay=e.frame+r;var o=e.actions;return o.push(this),o.sort(n.sortActions),!0}},{key:"recycleAsyncId",value:function(e,t){arguments.length>2&&void 0!==arguments[2]&&arguments[2]}},{key:"_execute",value:function(e,t){if(!0===this.active)return _get(_getPrototypeOf(n.prototype),"_execute",this).call(this,e,t)}}],[{key:"sortActions",value:function(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}]),n}(F);function _e(){}function Ce(e){return!!e&&(e instanceof k||"function"==typeof e.lift&&"function"==typeof e.subscribe)}var Oe=function(){function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e}(),ke=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),Pe=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}();function we(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new Me(e,t))}}var Me=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ee(e,this.project,this.thisArg))}}]),e}(),Ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.count=0,i.thisArg=o||_assertThisInitialized(i),i}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(m);function Se(e,t,n){if(t){if(!K(t))return function(){return Se(e,n).apply(void 0,arguments).pipe(we((function(e){return c(e)?t.apply(void 0,_toConsumableArray(e)):t(e)})))};n=t}return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i,a=this,s={context:a,subject:i,callbackFunc:e,scheduler:n};return new k((function(t){if(n)return n.schedule(Te,0,{args:r,subscriber:t,params:s});if(!i){i=new ie;try{e.apply(a,[].concat(r,[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];i.next(t.length<=1?t[0]:t),i.complete()}]))}catch(o){y(i)?i.error(o):console.warn(o)}}return i.subscribe(t)}))}}function Te(e){var t=this,n=e.args,r=e.subscriber,o=e.params,i=o.callbackFunc,a=o.context,s=o.scheduler,c=o.subject;if(!c){c=o.subject=new ie;try{i.apply(a,[].concat(_toConsumableArray(n),[function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.add(s.schedule(xe,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(u){c.error(u)}}this.add(c.subscribe(r))}function xe(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function Ae(e,t,n){if(t){if(!K(t))return function(){return Ae(e,n).apply(void 0,arguments).pipe(we((function(e){return c(e)?t.apply(void 0,_toConsumableArray(e)):t(e)})))};n=t}return function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];var i={subject:void 0,args:r,callbackFunc:e,scheduler:n,context:this};return new k((function(t){var o=i.context,a=i.subject;if(n)return n.schedule(Ie,0,{params:i,subscriber:t,context:o});if(!a){a=i.subject=new ie;try{e.apply(o,[].concat(r,[function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t.shift();r?a.error(r):(a.next(t.length<=1?t[0]:t),a.complete())}]))}catch(s){y(a)?a.error(s):console.warn(s)}}return a.subscribe(t)}))}}function Ie(e){var t=this,n=e.params,r=e.subscriber,o=e.context,i=n.callbackFunc,a=n.args,s=n.scheduler,c=n.subject;if(!c){c=n.subject=new ie;try{i.apply(o,[].concat(_toConsumableArray(a),[function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=n.shift();t.add(o?s.schedule(De,0,{err:o,subject:c}):s.schedule(je,0,{value:n.length<=1?n[0]:n,subject:c}))}]))}catch(u){this.add(s.schedule(De,0,{err:u,subject:c}))}}this.add(c.subscribe(r))}function je(e){var t=e.value,n=e.subject;n.next(t),n.complete()}function De(e){var t=e.err;e.subject.error(t)}var Ne=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,o){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(m),Re=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this)).parent=e,i.outerValue=r,i.outerIndex=o,i.index=0,i}return _createClass(n,[{key:"_next",value:function(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}},{key:"_error",value:function(e){this.parent.notifyError(e,this),this.unsubscribe()}},{key:"_complete",value:function(){this.parent.notifyComplete(this),this.unsubscribe()}}]),n}(m);var Ue="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",Fe=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e};function Le(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}var Be=function(e){if(e&&"function"==typeof e[b])return r=e,function(e){var t=r[b]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Fe(e))return q(e);if(Le(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,a),e};if(e&&"function"==typeof e[Ue])return t=e,function(e){for(var n=t[Ue]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,r,o=u(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(o," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))};function He(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new Re(e,n,r);if(!o.closed)return t instanceof k?t.subscribe(o):Be(t)(o)}var ze={};function Ve(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,o=null;return K(t[t.length-1])&&(o=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&c(t[0])&&(t=t[0]),Q(t,o).lift(new Ge(r))}var Ge=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ke(e,this.resultSelector))}}]),e}(),Ke=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).resultSelector=r,o.active=0,o.values=[],o.observables=[],o}return _createClass(n,[{key:"_next",value:function(e){this.values.push(ze),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(He(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,o){var i=this.values,a=this.toRespond?i[n]===ze?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(Ne);function qe(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[b]}(e))return function(e,t){return new k((function(n){var r=new d;return r.add(t.schedule((function(){var o=e[b]();r.add(o.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Le(e))return function(e,t){return new k((function(n){var r=new d;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Fe(e))return Y(e,t);if(function(e){return e&&"function"==typeof e[Ue]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new k((function(n){var r,o=new d;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(t.schedule((function(){r=e[Ue](),o.add(t.schedule((function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}})))}))),o}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Ye(e,t){return t?qe(e,t):e instanceof k?e:new k(Be(e))}var Qe=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.POSITIVE_INFINITY;_classCallCheck(this,e),this.project=t,this.concurrent=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new We(e,this.project,this.concurrent))}}]),e}(),We=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.concurrent=i,o.hasCompleted=!1,o.buffer=[],o.active=0,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=new Re(this,t,n),o=this.destination;o.add(r);var i=He(this,e,void 0,void 0,r);i!==r&&o.add(i)}},{key:"_complete",value:function(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}},{key:"notifyNext",value:function(e,t,n,r,o){this.destination.next(t)}},{key:"notifyComplete",value:function(e){var t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}]),n}(Ne);function Xe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Number.POSITIVE_INFINITY;return"function"==typeof n?function(o){return o.pipe(e((function(e,r){return Ye(t(e,r)).pipe(we((function(t,o){return n(e,t,r,o)})))}),r))}:("number"==typeof n&&(r=n),function(e){return e.lift(new Qe(t,r))})}(v,e)}function Ze(){return Xe(1)(W.apply(void 0,arguments))}function $e(e){return new k((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Ye(n):G()).subscribe(t)}))}function Je(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){var r=t[0];if(c(r))return et(r,null);if(u(r)&&Object.getPrototypeOf(r)===Object.prototype){var o=Object.keys(r);return et(o.map((function(e){return r[e]})),o)}}if("function"==typeof t[t.length-1]){var i=t.pop();return et(t=1===t.length&&c(t[0])?t[0]:t,null).pipe(we((function(e){return i.apply(void 0,_toConsumableArray(e))})))}return et(t,null)}function et(e,t){return new k((function(n){var r=e.length;if(0!==r)for(var o=new Array(r),i=0,a=0,s=function(s){var c=Ye(e[s]),u=!1;n.add(c.subscribe({next:function(e){u||(u=!0,a++),o[s]=e},error:function(e){return n.error(e)},complete:function(){++i!==r&&u||(a===r&&n.next(t?t.reduce((function(e,t,n){return e[t]=o[n],e}),{}):o),n.complete())}}))},c=0;c<r;c++)s(c);else n.complete()}))}function tt(e,t,n,o){return r(n)&&(o=n,n=void 0),o?tt(e,t,n).pipe(we((function(e){return c(e)?o.apply(void 0,_toConsumableArray(e)):o(e)}))):new k((function(r){!function e(t,n,r,o,i){var a;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){var s=t;t.addEventListener(n,r,i),a=function(){return s.removeEventListener(n,r,i)}}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){var c=t;t.on(n,r),a=function(){return c.off(n,r)}}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){var u=t;t.addListener(n,r),a=function(){return u.removeListener(n,r)}}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(var l=0,h=t.length;l<h;l++)e(t[l],n,r,o,i)}o.add(a)}(e,t,(function(e){r.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),r,n)}))}function nt(e,t,n){return n?nt(e,t).pipe(we((function(e){return c(e)?n.apply(void 0,_toConsumableArray(e)):n(e)}))):new k((function(n){var o,i=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return n.next(1===t.length?t[0]:t)};try{o=e(i)}catch(a){return void n.error(a)}if(r(t))return function(){return t(i,o)}}))}function rt(e,t,n,r,o){var i,a;return 1==arguments.length?(a=e.initialState,t=e.condition,n=e.iterate,i=e.resultSelector||v,o=e.scheduler):void 0===r||K(r)?(a=e,i=v,o=r):(a=e,i=r),new k((function(e){var r=a;if(o)return o.schedule(ot,0,{subscriber:e,iterate:n,condition:t,resultSelector:i,state:r});for(;;){if(t){var s=void 0;try{s=t(r)}catch(u){return void e.error(u)}if(!s){e.complete();break}}var c=void 0;try{c=i(r)}catch(u){return void e.error(u)}if(e.next(c),e.closed)break;try{r=n(r)}catch(u){return void e.error(u)}}}))}function ot(e){var t=e.subscriber,n=e.condition;if(!t.closed){if(e.needIterate)try{e.state=e.iterate(e.state)}catch(i){return void t.error(i)}else e.needIterate=!0;if(n){var r;try{r=n(e.state)}catch(i){return void t.error(i)}if(!r)return void t.complete();if(t.closed)return}var o;try{o=e.resultSelector(e.state)}catch(i){return void t.error(i)}return t.closed||(t.next(o),t.closed)?void 0:this.schedule(e)}}function it(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:V,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V;return $e((function(){return e()?t:n}))}function at(e){return!c(e)&&e-parseFloat(e)+1>=0}function st(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:me;return(!at(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=me),new k((function(n){return n.add(t.schedule(ct,e,{subscriber:n,counter:0,period:e})),n}))}function ct(e){var t=e.subscriber,n=e.counter,r=e.period;t.next(n),this.schedule({subscriber:t,counter:n+1,period:r},r)}function ut(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Number.POSITIVE_INFINITY,o=null,i=t[t.length-1];return K(i)?(o=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof i&&(r=t.pop()),null===o&&1===t.length&&t[0]instanceof k?t[0]:Xe(r)(Q(t,o))}var lt=new k(_e);function ht(){return lt}function dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(0===t.length)return V;var r=t[0],o=t.slice(1);return 1===t.length&&c(r)?dt.apply(void 0,_toConsumableArray(r)):new k((function(e){var t=function(){return e.add(dt.apply(void 0,_toConsumableArray(o)).subscribe(e))};return Ye(r).subscribe({next:function(t){e.next(t)},error:t,complete:t})}))}function ft(e,t){return new k(t?function(n){var r=Object.keys(e),o=new d;return o.add(t.schedule(pt,0,{keys:r,index:0,subscriber:n,subscription:o,obj:e})),o}:function(t){for(var n=Object.keys(e),r=0;r<n.length&&!t.closed;r++){var o=n[r];e.hasOwnProperty(o)&&t.next([o,e[o]])}t.complete()})}function pt(e){var t=e.keys,n=e.index,r=e.subscriber,o=e.subscription,i=e.obj;if(!r.closed)if(n<t.length){var a=t[n];r.next([a,i[a]]),o.add(this.schedule({keys:t,index:n+1,subscriber:r,subscription:o,obj:i}))}else r.complete()}function mt(e,t){function n(){return!n.pred.apply(n.thisArg,arguments)}return n.pred=e,n.thisArg=t,n}function gt(e,t){return function(n){return n.lift(new yt(e,t))}}var yt=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new bt(e,this.predicate,this.thisArg))}}]),e}(),bt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).predicate=r,i.thisArg=o,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(m);function vt(e,t,n){return[gt(t,n)(new k(Be(e))),gt(mt(t,n))(new k(Be(e)))]}function _t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(1===t.length){if(!c(t[0]))return t[0];t=t[0]}return Q(t,void 0).lift(new Ct)}var Ct=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Ot(e))}}]),e}(),Ot=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).hasFirst=!1,r.observables=[],r.subscriptions=[],r}return _createClass(n,[{key:"_next",value:function(e){this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(var n=0;n<t&&!this.hasFirst;n++){var r=e[n],o=He(this,r,r,n);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}}},{key:"notifyNext",value:function(e,t,n,r,o){if(!this.hasFirst){this.hasFirst=!0;for(var i=0;i<this.subscriptions.length;i++)if(i!==n){var a=this.subscriptions[i];a.unsubscribe(),this.remove(a)}this.subscriptions=null}this.destination.next(t)}}]),n}(Ne);function kt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;return new k((function(r){void 0===t&&(t=e,e=0);var o=0,i=e;if(n)return n.schedule(Pt,0,{index:o,count:t,start:e,subscriber:r});for(;;){if(o++>=t){r.complete();break}if(r.next(i++),r.closed)break}}))}function Pt(e){var t=e.start,n=e.index,r=e.count,o=e.subscriber;n>=r?o.complete():(o.next(t),o.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}function wt(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=-1;return at(t)?r=Number(t)<1?1:Number(t):K(t)&&(n=t),K(n)||(n=me),new k((function(t){var o=at(e)?e:+e-n.now();return n.schedule(Mt,o,{index:0,period:r,subscriber:t})}))}function Mt(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}function Et(e,t){return new k((function(n){var r,o;try{r=e()}catch(a){return void n.error(a)}try{o=t(r)}catch(a){return void n.error(a)}var i=(o?Ye(o):V).subscribe(n);return function(){i.unsubscribe(),r&&r.unsubscribe()}}))}function St(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return"function"==typeof r&&t.pop(),Q(t,void 0).lift(new Tt(r))}var Tt=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new xt(e,this.resultSelector))}}]),e}(),xt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Object.create(null);return _classCallCheck(this,n),(o=t.call(this,e)).iterators=[],o.active=0,o.resultSelector="function"==typeof r?r:null,o.values=i,o}return _createClass(n,[{key:"_next",value:function(e){var t=this.iterators;c(e)?t.push(new It(e)):t.push("function"==typeof e[Ue]?new At(e[Ue]()):new jt(this.destination,this,e))}},{key:"_complete",value:function(){var e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(var n=0;n<t;n++){var r=e[n];r.stillUnsubscribed?this.destination.add(r.subscribe(r,n)):this.active--}}else this.destination.complete()}},{key:"notifyInactive",value:function(){this.active--,0===this.active&&this.destination.complete()}},{key:"checkIterators",value:function(){for(var e=this.iterators,t=e.length,n=this.destination,r=0;r<t;r++){var o=e[r];if("function"==typeof o.hasValue&&!o.hasValue())return}for(var i=!1,a=[],s=0;s<t;s++){var c=e[s],u=c.next();if(c.hasCompleted()&&(i=!0),u.done)return void n.complete();a.push(u.value)}this.resultSelector?this._tryresultSelector(a):n.next(a),i&&n.complete()}},{key:"_tryresultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(m),At=function(){function e(t){_classCallCheck(this,e),this.iterator=t,this.nextResult=t.next()}return _createClass(e,[{key:"hasValue",value:function(){return!0}},{key:"next",value:function(){var e=this.nextResult;return this.nextResult=this.iterator.next(),e}},{key:"hasCompleted",value:function(){var e=this.nextResult;return e&&e.done}}]),e}(),It=function(){function e(t){_classCallCheck(this,e),this.array=t,this.index=0,this.length=0,this.length=t.length}return _createClass(e,[{key:Ue,value:function(){return this}},{key:"next",value:function(e){var t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}},{key:"hasValue",value:function(){return this.array.length>this.index}},{key:"hasCompleted",value:function(){return this.array.length===this.index}}]),e}(),jt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).parent=r,i.observable=o,i.stillUnsubscribed=!0,i.buffer=[],i.isComplete=!1,i}return _createClass(n,[{key:Ue,value:function(){return this}},{key:"next",value:function(){var e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}},{key:"hasValue",value:function(){return this.buffer.length>0}},{key:"hasCompleted",value:function(){return 0===this.buffer.length&&this.isComplete}},{key:"notifyComplete",value:function(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,o){this.buffer.push(t),this.parent.checkIterators()}},{key:"subscribe",value:function(e,t){return He(this,this.observable,this,t)}}]),n}(Ne)},"6HB4":function(e,t,n){"use strict";n.d(t,"a",(function(){return m})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return b}));var r=n("DgCp"),o=n("v8Qv"),i=n("po00"),a=n("RPfa"),s=(n("hi8z"),n("b31r"),n("ofXK")),c=n("fXoL"),u=n("jhN1");function l(e,t){if(1&e&&c.Mb(0,"div",6),2&e){var n=t.index,r=c.cc();c.wc("top",r.internalIntervalPositions[n],"%")}}function h(e,t){if(1&e&&(c.Qb(0,"label"),c.zc(1),c.Pb()),2&e){var n=c.cc().$implicit;c.zb(1),c.Ac(n.label)}}function d(e,t){if(1&e&&(c.Qb(0,"span",11),c.zc(1),c.Pb()),2&e){var n=c.cc().$implicit;c.Cb("expanded",n.expanded),c.zb(1),c.Ac(n.name)}}function f(e,t){if(1&e&&(c.Qb(0,"section",7),c.Qb(1,"div",8),c.xc(2,h,2,1,"label",9),c.xc(3,d,2,3,"span",10),c.Pb(),c.Pb()),2&e){var n=t.$implicit,r=t.index,o=c.cc();c.wc("width",100/o.internalItems.length,"%")("left",r*(100/o.internalItems.length),"%"),c.zb(1),c.wc("background-color",n.styleColor)("height",100*n.height,"%"),c.Cb("red","red"===n.classColor)("orange","orange"===n.classColor)("yellow","yellow"===n.classColor)("green","green"===n.classColor)("cyan","cyan"===n.classColor)("blue","blue"===n.classColor)("indigo","indigo"===n.classColor)("magenta","magenta"===n.classColor)("primary","primary"===n.classColor)("primary-light","primary-light"===n.classColor)("primary-dark","primary-dark"===n.classColor)("secondary","secondary"===n.classColor)("secondary-light","secondary-light"===n.classColor)("secondary-dark","secondary-dark"===n.classColor),c.zb(1),c.jc("ngIf",n.label),c.zb(1),c.jc("ngIf",n.name)}}function p(e,t){if(1&e&&(c.Qb(0,"span",12),c.Qb(1,"span",13),c.zc(2),c.dc(3,"commonsPrettyFigure"),c.Pb(),c.Pb()),2&e){var n=t.$implicit,r=t.index,o=c.cc();c.wc("top",o.internalIntervalPositions[r],"%"),c.zb(2),c.Ac(c.ec(3,3,n))}}var m=function(){var e={NONE:0,NUMBER:1,PERCENT:2};return e[e.NONE]="NONE",e[e.NUMBER]="NUMBER",e[e.PERCENT]="PERCENT",e}(),g=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"listRainbowDistribution",value:function(e){for(var t=0,n=0===e?1:Math.max(1,Object.keys(r.ECommonsColor).length/e),o=[],i=0;i<e;i++){var a=Math.round(t);switch(a<0&&(a=0),a>=Object.keys(r.ECommonsColor).length&&(a=Object.keys(r.ECommonsColor).length-1),a){case 0:o.push(r.ECommonsColor.RED);break;case 1:o.push(r.ECommonsColor.ORANGE);break;case 2:o.push(r.ECommonsColor.YELLOW);break;case 3:o.push(r.ECommonsColor.GREEN);break;case 4:o.push(r.ECommonsColor.CYAN);break;case 5:o.push(r.ECommonsColor.BLUE);break;case 6:o.push(r.ECommonsColor.INDIGO);break;case 7:o.push(r.ECommonsColor.MAGENTA)}t+=n}return o}},{key:"allocateColor",value:function(e,t){return e===r.ECommonsColor.RED?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.RED)}:e===r.ECommonsColor.ORANGE?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.ORANGE)}:e===r.ECommonsColor.YELLOW?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.YELLOW)}:e===r.ECommonsColor.GREEN?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.GREEN)}:e===r.ECommonsColor.CYAN?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.CYAN)}:e===r.ECommonsColor.BLUE?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.BLUE)}:e===r.ECommonsColor.INDIGO?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.INDIGO)}:e===r.ECommonsColor.MAGENTA?{classColor:Object(r.fromECommonsColor)(r.ECommonsColor.MAGENTA)}:e===i.a.PRIMARY.toString()?{classColor:Object(i.d)(i.a.PRIMARY)}:e===i.a.PRIMARY_LIGHT.toString()?{classColor:Object(i.d)(i.a.PRIMARY_LIGHT)}:e===i.a.PRIMARY_DARK.toString()?{classColor:Object(i.d)(i.a.PRIMARY_DARK)}:e===i.a.SECONDARY.toString()?{classColor:Object(i.d)(i.a.SECONDARY)}:e===i.a.SECONDARY_LIGHT.toString()?{classColor:Object(i.d)(i.a.SECONDARY_LIGHT)}:e===i.a.SECONDARY_DARK.toString()?{classColor:Object(i.d)(i.a.SECONDARY_DARK)}:"string"==typeof e&&(/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{6}$/i.test(e)||/^rgb(a?)\([ 0-9.,]+\)$/i.test(e))?{styleColor:t.bypassSecurityTrustStyle("fill:"+e)}:{}}},{key:"prettyNumber",value:function(e){return(new o.a).transform(e)}},{key:"prettyPercent",value:function(e,t){return(e/Math.max(1,t)).toLocaleString(void 0,{style:"percent",maximumSignificantDigits:3})}},{key:"getScaleWidth",value:function(t){return 0===t.length?1:Math.max.apply(Math,_toConsumableArray(t.map((function(t){var n=e.prettyNumber(t);return 2*n.replace(/[^0-9]/g,"").length+n.replace(/[^-.,]/g,"").length}))))}},{key:"getScaleMax",value:function(e){if(0===e)return 0;var t=Math.floor(Math.log10(e))+1,n=Math.pow(10,t);if(e===n/10)return e;var r=n;return e<=n/2&&(r=n/2),e<=n/5&&(r=n/5),r}},{key:"listIntervals",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=e.getScaleMax(t)/n,o=[0],i=1;i<=n;i++)o.push(i*r);return o}},{key:"movingAverage",value:function(e,t){if(0===t)return e;if(e.length<2+2*t)return[];var n,r=[],o=[],i=0,a=_createForOfIteratorHelper(e);try{for(a.s();!(n=a.n()).done;){var s=n.value;if(o.length>=t){var c=s.y+o.reduce((function(e,t){return e+t.y}),0)+e.slice(i,i+t).reduce((function(e,t){return e+t.y}),0);r.push({x:s.x,y:c/(1+2*t)})}for(o.push(s);o.length>t;)o.shift();if(++i+t>=e.length)break}}catch(u){a.e(u)}finally{a.f()}return r}}]),e}(),y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,r)).sanitized=e,o.bars=[],o.xIntervalThreshold=13,o.internalItems=[],o.internalScaleWidth=0,o.internalMaxValue=0,o.internalListIntervals=[],o.internalIntervalPositions=[],o}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.refresh()}},{key:"ngOnChanges",value:function(e){this.refresh()}},{key:"refresh",value:function(){var e=this;this.internalScaleWidth=this.getScaleWidth(),this.internalMaxValue=this.getMaxValue(),this.internalItems=this.listItems(),this.internalListIntervals=this.listIntervals(),this.internalIntervalPositions=this.internalListIntervals.map((function(t){return 100*(1-e.getValuePosition(t))}))}},{key:"listItems",value:function(){var e,t=this,n=this.bars.length<this.xIntervalThreshold+1?1:Math.ceil(this.bars.length/this.xIntervalThreshold),r=this.bars.map((function(e,t){return t%n==0?e.name:""})),o=0,i=_createForOfIteratorHelper(this.bars);try{for(i.s();!(e=i.n()).done;){if(!1!==e.value.major)for(var a=-n;a<=n;a++){var s=o+a;s>=0&&s<r.length&&(r[s]="")}o++}}catch(p){i.e(p)}finally{i.f()}o=0;var c,u=_createForOfIteratorHelper(this.bars);try{for(u.s();!(c=u.n()).done;){var l=c.value;!1!==l.major&&(r[o]=l.name),o++}}catch(p){u.e(p)}finally{u.f()}var h=this.bars.filter((function(e){return void 0===e.color})).length,d=g.listRainbowDistribution(h),f=0;return this.bars.map((function(e,o){var i=void 0!==e.color?e.color:d[f++],a=e.label;return void 0===a&&t.labelType===m.NUMBER&&e.value>.2*t.internalMaxValue&&(a=g.prettyNumber(e.value)),Object.assign({},g.allocateColor(i,t.sanitized),{height:t.getValuePosition(e.value),name:r[o],label:a,expanded:!!e.major||n>1})}))}},{key:"getScaleWidth",value:function(){return 7}},{key:"getMaxValue",value:function(){return this.maxValue?this.maxValue:0===this.bars.length?0:Math.max.apply(Math,[this.minValue?this.minValue:1].concat(_toConsumableArray(this.bars.map((function(e){return e.value})))))}},{key:"listIntervals",value:function(){return g.listIntervals(g.getScaleMax(this.internalMaxValue))}},{key:"getValuePosition",value:function(e){if(this.maxValue)return 0===this.maxValue?0:e/this.internalMaxValue;var t=g.getScaleMax(this.internalMaxValue);return 0===t?0:e/t}}]),n}(a.f);return e.\u0275fac=function(t){return new(t||e)(c.Lb(u.b),c.Lb(a.g))},e.\u0275cmp=c.Fb({type:e,selectors:[["graphics-bar-chart"]],inputs:{bars:"bars",xIntervalThreshold:"xIntervalThreshold",labelType:"labelType",maxValue:"maxValue",minValue:"minValue"},features:[c.wb,c.xb],decls:6,vars:63,consts:[["container",""],["inner",""],["area",""],["class","grid",3,"top",4,"ngFor","ngForOf"],["bar","",3,"width","left",4,"ngFor","ngForOf"],["class","scale",3,"top",4,"ngFor","ngForOf"],[1,"grid"],["bar",""],[1,"bar"],[4,"ngIf"],["class","name",3,"expanded",4,"ngIf"],[1,"name"],[1,"scale"],[1,"inner"]],template:function(e,t){1&e&&(c.Qb(0,"section",0),c.Qb(1,"section",1),c.Qb(2,"section",2),c.xc(3,l,1,2,"div",3),c.xc(4,f,4,38,"section",4),c.Pb(),c.xc(5,p,4,5,"span",5),c.Pb(),c.Pb()),2&e&&(c.zb(1),c.Cb("inset-1",t.internalScaleWidth<=1)("inset-2",2===t.internalScaleWidth)("inset-3",3===t.internalScaleWidth)("inset-4",4===t.internalScaleWidth)("inset-5",5===t.internalScaleWidth)("inset-6",6===t.internalScaleWidth)("inset-7",7===t.internalScaleWidth)("inset-8",8===t.internalScaleWidth)("inset-9",9===t.internalScaleWidth)("inset-10",10===t.internalScaleWidth)("inset-11",11===t.internalScaleWidth)("inset-12",12===t.internalScaleWidth)("inset-13",13===t.internalScaleWidth)("inset-14",14===t.internalScaleWidth)("inset-15",15===t.internalScaleWidth)("inset-16",16===t.internalScaleWidth)("inset-17",17===t.internalScaleWidth)("inset-18",18===t.internalScaleWidth)("inset-19",19===t.internalScaleWidth)("inset-20",20===t.internalScaleWidth)("inset-21",21===t.internalScaleWidth)("inset-22",22===t.internalScaleWidth)("inset-23",23===t.internalScaleWidth)("inset-24",24===t.internalScaleWidth)("inset-25",25===t.internalScaleWidth)("inset-26",26===t.internalScaleWidth)("inset-27",27===t.internalScaleWidth)("inset-28",28===t.internalScaleWidth)("inset-29",29===t.internalScaleWidth)("inset-30",30===t.internalScaleWidth),c.zb(2),c.jc("ngForOf",t.internalListIntervals),c.zb(1),c.jc("ngForOf",t.internalItems),c.zb(1),c.jc("ngForOf",t.internalListIntervals))},directives:[s.i,s.j],pipes:[o.a],styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;padding:0;margin:0;width:100%;height:100%;position:relative;top:0;left:0}section[container][_ngcontent-%COMP%]{padding:8px 0 29.2px}section[area][_ngcontent-%COMP%]{width:100%;height:100%}section[bar][_ngcontent-%COMP%]{height:100%;position:absolute;top:0}div.bar[_ngcontent-%COMP%]{position:absolute;bottom:0;left:10px;width:calc(100% - 20px)}.tight[_nghost-%COMP%] div.bar[_ngcontent-%COMP%]{left:3px;width:calc(100% - 6px)}.vtight[_nghost-%COMP%] div.bar[_ngcontent-%COMP%]{left:1px;width:calc(100% - 2px)}div.bar[_ngcontent-%COMP%] label[_ngcontent-%COMP%], div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{display:block;position:absolute;left:0;width:100%;text-align:center;white-space:no-wrap;overflow:hidden;text-overflow:ellipsis;font-family:Roboto;font-weight:500;font-size:16px;line-height:19.2px}div.bar[_ngcontent-%COMP%] label.expanded[_ngcontent-%COMP%], div.bar[_ngcontent-%COMP%] span.name.expanded[_ngcontent-%COMP%]{left:-20px;width:calc(100% + 40px)}div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{bottom:-26px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] div.bar[_ngcontent-%COMP%] span.name[_ngcontent-%COMP%]{color:#666}div.bar[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{top:10px;color:#fff}div.grid[_ngcontent-%COMP%]{position:absolute;height:1px;width:100%}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] div.grid[_ngcontent-%COMP%]{background-color:#666}span.scale[_ngcontent-%COMP%]{display:block;box-sizing:border-box;padding:0 10px 0 0;font-family:Roboto;font-weight:500;font-size:16px;line-height:19.2px;position:absolute;left:0;text-align:right}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#b8b8b8}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#474747}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] span.scale[_ngcontent-%COMP%]{color:#ccc}span.inner[_ngcontent-%COMP%]{position:relative;top:-9px;overflow:hidden;white-space:no-wrap;text-overflow:ellipsis;width:100%}section[inner].inset-0[_ngcontent-%COMP%]{padding-left:10px}section[inner].inset-0[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:10px}section[inner].inset-1[_ngcontent-%COMP%]{padding-left:15px}section[inner].inset-1[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:15px}section[inner].inset-2[_ngcontent-%COMP%]{padding-left:20px}section[inner].inset-2[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:20px}section[inner].inset-3[_ngcontent-%COMP%]{padding-left:25px}section[inner].inset-3[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:25px}section[inner].inset-4[_ngcontent-%COMP%]{padding-left:30px}section[inner].inset-4[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:30px}section[inner].inset-5[_ngcontent-%COMP%]{padding-left:35px}section[inner].inset-5[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:35px}section[inner].inset-6[_ngcontent-%COMP%]{padding-left:40px}section[inner].inset-6[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:40px}section[inner].inset-7[_ngcontent-%COMP%]{padding-left:45px}section[inner].inset-7[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:45px}section[inner].inset-8[_ngcontent-%COMP%]{padding-left:50px}section[inner].inset-8[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:50px}section[inner].inset-9[_ngcontent-%COMP%]{padding-left:55px}section[inner].inset-9[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:55px}section[inner].inset-10[_ngcontent-%COMP%]{padding-left:60px}section[inner].inset-10[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:60px}section[inner].inset-11[_ngcontent-%COMP%]{padding-left:65px}section[inner].inset-11[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:65px}section[inner].inset-12[_ngcontent-%COMP%]{padding-left:70px}section[inner].inset-12[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:70px}section[inner].inset-13[_ngcontent-%COMP%]{padding-left:75px}section[inner].inset-13[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:75px}section[inner].inset-14[_ngcontent-%COMP%]{padding-left:80px}section[inner].inset-14[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:80px}section[inner].inset-15[_ngcontent-%COMP%]{padding-left:85px}section[inner].inset-15[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:85px}section[inner].inset-16[_ngcontent-%COMP%]{padding-left:90px}section[inner].inset-16[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:90px}section[inner].inset-17[_ngcontent-%COMP%]{padding-left:95px}section[inner].inset-17[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:95px}section[inner].inset-18[_ngcontent-%COMP%]{padding-left:100px}section[inner].inset-18[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:100px}section[inner].inset-19[_ngcontent-%COMP%]{padding-left:105px}section[inner].inset-19[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:105px}section[inner].inset-20[_ngcontent-%COMP%]{padding-left:110px}section[inner].inset-20[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:110px}section[inner].inset-21[_ngcontent-%COMP%]{padding-left:115px}section[inner].inset-21[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:115px}section[inner].inset-22[_ngcontent-%COMP%]{padding-left:120px}section[inner].inset-22[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:120px}section[inner].inset-23[_ngcontent-%COMP%]{padding-left:125px}section[inner].inset-23[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:125px}section[inner].inset-24[_ngcontent-%COMP%]{padding-left:130px}section[inner].inset-24[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:130px}section[inner].inset-25[_ngcontent-%COMP%]{padding-left:135px}section[inner].inset-25[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:135px}section[inner].inset-26[_ngcontent-%COMP%]{padding-left:140px}section[inner].inset-26[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:140px}section[inner].inset-27[_ngcontent-%COMP%]{padding-left:145px}section[inner].inset-27[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:145px}section[inner].inset-28[_ngcontent-%COMP%]{padding-left:150px}section[inner].inset-28[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:150px}section[inner].inset-29[_ngcontent-%COMP%]{padding-left:155px}section[inner].inset-29[_ngcontent-%COMP%] span.scale[_ngcontent-%COMP%]{width:155px}"]}),e}();Math;var b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[s.b,o.f,i.c]]}),e}()},"7Zlx":function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.ECommonsSynchronisedTimeoutAction||(t.ECommonsSynchronisedTimeoutAction={})).PROCEED="proceed",r.ABORT="abort"},"7jRU":function(e,t){var n=[].indexOf;e.exports=function(e,t){if(n)return e.indexOf(t);for(var r=0;r<e.length;++r)if(e[r]===t)return r;return-1}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n("n6bG"),o=n("gRHU"),i=n("quSY"),a=n("2QA8"),s=n("2fFW"),c=n("NJ4a"),u=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,i){var a;switch(_classCallCheck(this,n),(a=t.call(this)).syncErrorValue=null,a.syncErrorThrown=!1,a.syncErrorThrowable=!1,a.isStopped=!1,arguments.length){case 0:a.destination=o.a;break;case 1:if(!e){a.destination=o.a;break}if("object"==typeof e){e instanceof n?(a.syncErrorThrowable=e.syncErrorThrowable,a.destination=e,e.add(_assertThisInitialized(a))):(a.syncErrorThrowable=!0,a.destination=new l(_assertThisInitialized(a),e));break}default:a.syncErrorThrowable=!0,a.destination=new l(_assertThisInitialized(a),e,r,i)}return a}return _createClass(n,[{key:a.a,value:function(){return this}},{key:"next",value:function(e){this.isStopped||this._next(e)}},{key:"error",value:function(e){this.isStopped||(this.isStopped=!0,this._error(e))}},{key:"complete",value:function(){this.isStopped||(this.isStopped=!0,this._complete())}},{key:"unsubscribe",value:function(){this.closed||(this.isStopped=!0,_get(_getPrototypeOf(n.prototype),"unsubscribe",this).call(this))}},{key:"_next",value:function(e){this.destination.next(e)}},{key:"_error",value:function(e){this.destination.error(e),this.unsubscribe()}},{key:"_complete",value:function(){this.destination.complete(),this.unsubscribe()}},{key:"_unsubscribeAndRecycle",value:function(){var e=this._parentOrParents;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}],[{key:"create",value:function(e,t,r){var o=new n(e,t,r);return o.syncErrorThrowable=!1,o}}]),n}(i.a),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,i,a,s){var c,u;_classCallCheck(this,n),(c=t.call(this))._parentSubscriber=e;var l=_assertThisInitialized(c);return Object(r.a)(i)?u=i:i&&(u=i.next,a=i.error,s=i.complete,i!==o.a&&(l=Object.create(i),Object(r.a)(l.unsubscribe)&&c.add(l.unsubscribe.bind(l)),l.unsubscribe=c.unsubscribe.bind(_assertThisInitialized(c)))),c._context=l,c._next=u,c._error=a,c._complete=s,c}return _createClass(n,[{key:"next",value:function(e){if(!this.isStopped&&this._next){var t=this._parentSubscriber;s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}},{key:"error",value:function(e){if(!this.isStopped){var t=this._parentSubscriber,n=s.a.useDeprecatedSynchronousErrorHandling;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):Object(c.a)(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;Object(c.a)(e)}}}},{key:"complete",value:function(){var e=this;if(!this.isStopped){var t=this._parentSubscriber;if(this._complete){var n=function(){return e._complete.call(e._context)};s.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}},{key:"__tryOrUnsub",value:function(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}},{key:"__tryOrSetError",value:function(e,t,n){if(!s.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return s.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(Object(c.a)(r),!0)}return!1}},{key:"_unsubscribe",value:function(){var e=this._parentSubscriber;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}]),n}(u)},"90Vn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,n){_classCallCheck(this,e),this.windowSize=t,this.poolSize=n,this.display=[],this.queue=[],this.upto=0;for(var r=0;r<this.poolSize;r++)this.display.push({empty:!0})}return _createClass(e,[{key:"getArray",value:function(){var e=this,t=0;return this.display.filter((function(n){return t++<e.windowSize})).map((function(e){if(!e.empty)return e.item}))}},{key:"addItem",value:function(e,t){var n=[];if(void 0!==t){if(t<1)throw new Error("Cannot shift for zero or negative length");for(;this.getQueueSize()>=t-1;){var r=this.queue.shift();r&&r.item&&n.push(r.item)}}return this.queue.push({empty:!1,sort:this.upto++,item:e}),n}},{key:"getQueueSize",value:function(){return this.queue.length}},{key:"getWindowSize",value:function(){return this.windowSize}},{key:"getPoolSize",value:function(){return this.poolSize}},{key:"rotate",value:function(){var t,n,r=e.lowestItem(this.display),o=this.display.pop();if(void 0===o)throw new Error("Last item in display is undefined. This should not be possible");if(0===this.queue.length?n=o:o.empty||o===r?(o===r&&o.item&&(t=o),n=this.queue.shift()):n=o,void 0!==n&&this.display.unshift(n),t&&!t.empty&&t.item)return t.item}}],[{key:"lowestItem",value:function(e){if(0!==e.length){var t=e.find((function(e){return e.empty}));if(void 0!==t)return t;var n=e.filter((function(e){return!e.empty})).sort((function(e,t){return void 0===e.sort&&void 0===t.sort?0:void 0===e.sort?-1:void 0===t.sort?1:e.sort<t.sort?-1:e.sort>t.sort?1:0}));if(0!==n.length)return n[0]}}}]),e}();t.CommonsWindowCarousell=r},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e}()},A3jA:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonsMemoryObservable=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.observable=t,this.value=n,this.observable.subscribe((function(e){r.value=e}))}return _createClass(e,[{key:"get",value:function(){return this.value}}]),e}()},A5Bq:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return C}));var r=n("fXoL"),o=n("RPfa"),i=n("FYIv"),a=n("k4C/"),s=(n("mrSG"),n("hi8z"),n("3Pt+")),c=n("ofXK"),u=n("v8Qv");n("jhN1");var l=["textbox"];function h(e,t){if(1&e){var n=r.Rb();r.Qb(0,"i",11),r.Yb("click",(function(){return r.qc(n),r.cc().doDropdown()})),r.zc(1,"arrow_drop_down"),r.Pb()}if(2&e){var o=r.cc();r.Cb("hasClear",o.clearable)("disabled",o.disabled)("focused",o.focused)}}function d(e,t){if(1&e){var n=r.Rb();r.Qb(0,"i",12),r.Yb("click",(function(){return r.qc(n),r.cc().doClear()})),r.zc(1,"clear"),r.Pb()}if(2&e){var o=r.cc();r.Cb("disabled",o.disabled)("focused",o.focused)}}function f(e,t){if(1&e){var n=r.Rb();r.Qb(0,"i",12),r.Yb("click",(function(){return r.qc(n),r.cc().doCustomIcon()})),r.zc(1),r.Pb()}if(2&e){var o=r.cc();r.Cb("disabled",o.disabled)("focused",o.focused),r.zb(1),r.Ac(o.customIcon)}}function p(e,t){if(1&e&&(r.Qb(0,"label",13),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.helper)}}function m(e,t){if(1&e&&(r.Qb(0,"label",14),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.error)}}function g(e,t){1&e&&(r.Qb(0,"i",20),r.zc(1,"check"),r.Pb())}function y(e,t){1&e&&r.Mb(0,"i",21)}function b(e,t){if(1&e){var n=r.Rb();r.Ob(0),r.Qb(1,"commons-inline-menu-item",17),r.Yb("click",(function(){r.qc(n);var e=t.$implicit;return r.cc(2).doSelect(e)})),r.xc(2,g,2,0,"i",18),r.xc(3,y,1,0,"i",19),r.zc(4),r.Pb(),r.Nb()}if(2&e){var o=t.$implicit,i=r.cc(2);r.zb(1),r.jc("menu",i.dropdownName)("autoclose",!0)("none",""===o),r.zb(1),r.jc("ngIf",i.value===o),r.zb(1),r.jc("ngIf",i.value!==o),r.zb(1),r.Bc(" ",o," ")}}function v(e,t){if(1&e&&(r.Qb(0,"commons-inline-menu",15),r.xc(1,b,5,6,"ng-container",16),r.Pb()),2&e){var n=r.cc();r.jc("name",n.dropdownName),r.zb(1),r.jc("ngForOf",n.options)}}var _=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).menuService=o,i.type="text",i.disabled=!1,i.options=[],i.optionsOnly=!1,i.editable=!0,i.clearable=!0,i.autocompleteDelay=500,i.autocompleteLength=3,i.valueChange=new r.n,i.onEdit=new r.n(!0),i.onLostFocusAndChanged=new r.n(!0),i.onEnterPressed=new r.n(!0),i.onSelectChanged=new r.n(!0),i.onCustomIcon=new r.n(!0),i.onAutocomplete=new r.n(!0),i.focused=!1,i.isDropped=!1,i.dropdownName="_dropdown_"+Math.random(),i}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.menuService.showObservable(),(function(t){t===e.dropdownName&&(e.forefront=!0,e.isDropped=!0)})),this.subscribe(this.menuService.hideObservable(),(function(t){t===e.dropdownName&&(e.forefront=!1,e.isDropped=!1)})),this.lastFocusValue=this.value,this.autocomplete=new i.CommonsFinalValue(this.autocompleteDelay),this.subscribe(this.autocomplete.releaseObservable(),(function(t){e.onAutocomplete.emit(t.value)}))}},{key:"getType",value:function(){return void 0===this.type?"text":this.type}},{key:"getValue",value:function(){return null==this.value?"":this.value}},{key:"doChanged",value:function(e){this.disabled||(this.valueChange.emit(e),!this.value||!this.autocomplete||"string"!=typeof this.value||this.value.length<this.autocompleteLength||this.autocomplete.push(this.value))}},{key:"doFocus",value:function(e){this.focused=e,this.focused?this.lastFocusValue=this.value:this.lastFocusValue!==this.value&&this.onLostFocusAndChanged.emit()}},{key:"doDropdown",value:function(){this.disabled||(this.textbox.nativeElement.focus(),this.menuService.show(this.dropdownName))}},{key:"doSelect",value:function(e){this.disabled||(this.valueChange.emit(e),this.textbox.nativeElement.focus(),this.onSelectChanged.emit())}},{key:"doClick",value:function(){this.disabled||(this.optionsOnly&&this.doDropdown(),this.editable&&this.onEdit.emit())}},{key:"doEnterPressed",value:function(){this.disabled||this.onEnterPressed.emit()}},{key:"doEscPressed",value:function(){this.disabled||(this.value=this.lastFocusValue)}},{key:"doClear",value:function(){!this.disabled&&this.clearable&&this.valueChange.emit("")}},{key:"doCustomIcon",value:function(){!this.disabled&&this.customIcon&&this.onCustomIcon.emit()}}]),n}(o.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(o.g),r.Lb(a.h))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-textbox"]],viewQuery:function(e,t){var n;1&e&&r.uc(l,!0),2&e&&r.nc(n=r.Zb())&&(t.textbox=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&r.Cb("forefront",t.forefront)},inputs:{type:"type",disabled:"disabled",options:"options",optionsOnly:"optionsOnly",editable:"editable",clearable:"clearable",autocompleteDelay:"autocompleteDelay",autocompleteLength:"autocompleteLength",value:"value",placeholder:"placeholder",helper:"helper",error:"error",customIcon:"customIcon"},outputs:{valueChange:"valueChange",onEdit:"onEdit",onLostFocusAndChanged:"onLostFocusAndChanged",onEnterPressed:"onEnterPressed",onSelectChanged:"onSelectChanged",onCustomIcon:"onCustomIcon",onAutocomplete:"onAutocomplete"},features:[r.wb],decls:14,vars:32,consts:[["container",""],["placeholder",""],["textbox",""],[3,"type","disabled","placeholder","readonly","ngModel","ngModelChange","focus","focusout","click","keydown.enter","keydown.esc"],["underline",""],["dropper","","class","material-icons",3,"hasClear","disabled","focused","click",4,"ngIf"],["clear","","class","material-icons",3,"disabled","focused","click",4,"ngIf"],["helper","",4,"ngIf"],["error","",4,"ngIf"],["dropdown",""],[3,"name",4,"ngIf"],["dropper","",1,"material-icons",3,"click"],["clear","",1,"material-icons",3,"click"],["helper",""],["error",""],[3,"name"],[4,"ngFor","ngForOf"],[3,"menu","autoclose","none","click"],["class","material-icons",4,"ngIf"],["class","material-icons filler",4,"ngIf"],[1,"material-icons"],[1,"material-icons","filler"]],template:function(e,t){1&e&&(r.Qb(0,"section",0),r.Qb(1,"label",1),r.zc(2),r.Pb(),r.Qb(3,"section",2),r.Qb(4,"input",3,2),r.Yb("ngModelChange",(function(e){return t.value=e}))("ngModelChange",(function(e){return t.doChanged(e)}))("focus",(function(){return t.doFocus(!0)}))("focusout",(function(){return t.doFocus(!1)}))("click",(function(){return t.doClick()}))("keydown.enter",(function(){return t.doEnterPressed()}))("keydown.esc",(function(){return t.doEscPressed()})),r.Pb(),r.Mb(6,"aside",4),r.xc(7,h,2,6,"i",5),r.xc(8,d,2,4,"i",6),r.xc(9,f,2,5,"i",6),r.Pb(),r.xc(10,p,2,1,"label",7),r.xc(11,m,2,1,"label",8),r.Pb(),r.Qb(12,"aside",9),r.xc(13,v,2,2,"commons-inline-menu",10),r.Pb()),2&e&&(r.Cb("hasHelper",void 0!==t.helper)("hasError",void 0!==t.error),r.zb(1),r.Cb("hasError",void 0!==t.error)("visible",""!==t.getValue())("focused",t.focused),r.zb(1),r.Ac(t.placeholder),r.zb(1),r.Cb("empty",""===t.getValue()),r.zb(1),r.Cb("hasError",void 0!==t.error),r.jc("type",t.getType())("disabled",t.disabled)("placeholder",""!==t.getValue()?"":t.placeholder)("readonly",!t.editable||t.options&&t.options.length&&t.optionsOnly)("ngModel",t.value),r.zb(2),r.Cb("hasError",void 0!==t.error)("disabled",t.disabled)("focused",t.focused),r.zb(1),r.jc("ngIf",t.options&&t.options.length),r.zb(1),r.jc("ngIf",t.clearable),r.zb(1),r.jc("ngIf",t.customIcon),r.zb(1),r.jc("ngIf",void 0!==t.helper&&void 0===t.error),r.zb(1),r.jc("ngIf",void 0!==t.error),r.zb(2),r.jc("ngIf",t.isDropped))},directives:[s.a,s.c,s.d,c.j,a.e,c.i,a.f],styles:["@charset 'utf8';section[container][_ngcontent-%COMP%]{box-sizing:border-box;display:block;width:100%;height:48px;margin:15px 0;position:relative;top:0;left:0}section[container].hasError[_ngcontent-%COMP%], section[container].hasHelper[_ngcontent-%COMP%]{height:69px}.compact[_nghost-%COMP%] section[container][_ngcontent-%COMP%]{margin:0}[_nghost-%COMP%]{display:block;box-sizing:border-box;position:relative;top:0;left:0;width:100%}.forefront[_nghost-%COMP%]{z-index:500}.forefront.drawer[_nghost-%COMP%]{z-index:auto}aside[underline][_ngcontent-%COMP%]{position:absolute;bottom:0;left:0;width:100%;height:1px}body.webappcommons-theme-blue[_nghost-%COMP%] aside[underline][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[underline][_ngcontent-%COMP%]{border-bottom:1px solid #999}body.webappcommons-theme-blue[_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%]{border-bottom:1px solid #e63322}body.webappcommons-theme-blue[_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%]{border-bottom:1px dashed #c2c2c2}body.webappcommons-theme-blue[_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%]{border-bottom:2px solid #304ffe}body.webappcommons-theme-blue[_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%]{border-bottom-color:#e63322}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[underline][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[underline][_ngcontent-%COMP%]{border-bottom:1px solid #6d6d6d}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%]{border-bottom:1px solid #e63322}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%]{border-bottom:1px dashed #4e4e4e}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%]{border-bottom:2px solid #d50000}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%]{border-bottom-color:#e63322}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[underline][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[underline][_ngcontent-%COMP%]{border-bottom:1px solid #999}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%]{border-bottom:1px solid #e63322}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%]{border-bottom:1px dashed #c2c2c2}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%]{border-bottom:2px solid #104e7c}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%]{border-bottom-color:#e63322}body.webappcommons-theme-purple[_nghost-%COMP%] aside[underline][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[underline][_ngcontent-%COMP%]{border-bottom:1px solid #999}body.webappcommons-theme-purple[_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%]{border-bottom:1px solid #e63322}body.webappcommons-theme-purple[_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%]{border-bottom:1px dashed #c2c2c2}body.webappcommons-theme-purple[_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%]{border-bottom:2px solid #609}body.webappcommons-theme-purple[_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%]{border-bottom-color:#e63322}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[underline][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[underline][_ngcontent-%COMP%]{border-bottom:1px solid #999}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[underline].hasError[_ngcontent-%COMP%]{border-bottom:1px solid #e63322}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[underline].disabled[_ngcontent-%COMP%]{border-bottom:1px dashed #c2c2c2}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[underline].focused[_ngcontent-%COMP%]{border-bottom:2px solid #54637a}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[underline].focused.hasError[_ngcontent-%COMP%]{border-bottom-color:#e63322}i[_ngcontent-%COMP%]{position:absolute;top:0;right:0}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-blue[_nghost-%COMP%] i.disabled[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] i.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-darkred[_nghost-%COMP%] i.disabled[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] i.disabled[_ngcontent-%COMP%]{color:#4e4e4e}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-nightoil[_nghost-%COMP%] i.disabled[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] i.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple[_nghost-%COMP%] i.disabled[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] i.disabled[_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] i[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-hydra[_nghost-%COMP%] i.disabled[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] i.disabled[_ngcontent-%COMP%]{color:#c2c2c2}i[dropper].hasClear[_ngcontent-%COMP%]{right:24px}input[_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:Roboto;font-size:16px;line-height:16px;font-weight:400;box-sizing:border-box;display:block;margin:0;padding:0;width:100%;border:0;background:0 0;outline:0}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#999}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#999}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#999}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#666}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#666}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#666}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#666}body.webappcommons-theme-blue[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] input[_ngcontent-%COMP%]{caret-color:#304ffe}body.webappcommons-theme-blue[_nghost-%COMP%] input.hasError[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] input.hasError[_ngcontent-%COMP%]{caret-color:#e63322}body.webappcommons-theme-blue[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-blue[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-blue [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder{color:#c2c2c2}body.webappcommons-theme-blue[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-blue [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-blue[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-blue [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder{color:#c2c2c2}body.webappcommons-theme-blue[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-blue [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#b8b8b8}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#6d6d6d}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#6d6d6d}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#6d6d6d}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#474747}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#929292}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#929292}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#929292}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#929292}body.webappcommons-theme-darkred[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] input[_ngcontent-%COMP%]{caret-color:#d50000}body.webappcommons-theme-darkred[_nghost-%COMP%] input.hasError[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] input.hasError[_ngcontent-%COMP%]{caret-color:#e63322}body.webappcommons-theme-darkred[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]{color:#4e4e4e}body.webappcommons-theme-darkred[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-darkred [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder{color:#4e4e4e}body.webappcommons-theme-darkred[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-darkred [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder{color:#4e4e4e}body.webappcommons-theme-darkred[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-darkred [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder{color:#4e4e4e}body.webappcommons-theme-darkred[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-darkred [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder{color:#4e4e4e}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#999}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#999}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#999}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#666}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#666}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#666}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#666}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] input[_ngcontent-%COMP%]{caret-color:#104e7c}body.webappcommons-theme-nightoil[_nghost-%COMP%] input.hasError[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] input.hasError[_ngcontent-%COMP%]{caret-color:#e63322}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-nightoil [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder{color:#c2c2c2}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-nightoil [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-nightoil [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder{color:#c2c2c2}body.webappcommons-theme-nightoil[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-nightoil [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#999}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#999}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#999}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#666}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#666}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#666}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#666}body.webappcommons-theme-purple[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] input[_ngcontent-%COMP%]{caret-color:#609}body.webappcommons-theme-purple[_nghost-%COMP%] input.hasError[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] input.hasError[_ngcontent-%COMP%]{caret-color:#e63322}body.webappcommons-theme-purple[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-purple[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-purple [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder{color:#c2c2c2}body.webappcommons-theme-purple[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-purple [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-purple[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-purple [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder{color:#c2c2c2}body.webappcommons-theme-purple[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-purple [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#999}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#999}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#999}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#666}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]::-moz-placeholder{color:#666}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#666}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] input[_ngcontent-%COMP%]:-moz-placeholder{color:#666}body.webappcommons-theme-hydra[_nghost-%COMP%] input[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] input[_ngcontent-%COMP%]{caret-color:#54637a}body.webappcommons-theme-hydra[_nghost-%COMP%] input.hasError[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] input.hasError[_ngcontent-%COMP%]{caret-color:#e63322}body.webappcommons-theme-hydra[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-hydra[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder, body.webappcommons-theme-hydra [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-webkit-input-placeholder{color:#c2c2c2}body.webappcommons-theme-hydra[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder, body.webappcommons-theme-hydra [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]::-moz-placeholder{color:#c2c2c2}body.webappcommons-theme-hydra[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder, body.webappcommons-theme-hydra [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-ms-input-placeholder{color:#c2c2c2}body.webappcommons-theme-hydra[_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder, body.webappcommons-theme-hydra [_nghost-%COMP%] input[disabled][_ngcontent-%COMP%]:-moz-placeholder{color:#c2c2c2}.rightAlign[_nghost-%COMP%] input[_ngcontent-%COMP%]{text-align:right}.centerAlign[_nghost-%COMP%] input[_ngcontent-%COMP%]{text-align:center}section[textbox][_ngcontent-%COMP%]{display:block;border:0;position:absolute;bottom:0;left:0;width:100%;height:29px;overflow:hidden;margin:0;padding:0}section[container].hasError[_ngcontent-%COMP%] section[textbox][_ngcontent-%COMP%], section[container].hasHelper[_ngcontent-%COMP%] section[textbox][_ngcontent-%COMP%]{bottom:21px}label[_ngcontent-%COMP%]{box-sizing:border-box;font-family:Roboto;font-size:16px;line-height:16px;font-weight:400;position:absolute;left:0;width:100%;display:block;height:14px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-blue[_nghost-%COMP%] label.focused[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] label.focused[_ngcontent-%COMP%]{color:#304ffe}body.webappcommons-theme-blue[_nghost-%COMP%] label.hasError[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] label.hasError[_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-darkred[_nghost-%COMP%] label.focused[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] label.focused[_ngcontent-%COMP%]{color:#d50000}body.webappcommons-theme-darkred[_nghost-%COMP%] label.hasError[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] label.hasError[_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-nightoil[_nghost-%COMP%] label.focused[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] label.focused[_ngcontent-%COMP%]{color:#104e7c}body.webappcommons-theme-nightoil[_nghost-%COMP%] label.hasError[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] label.hasError[_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple[_nghost-%COMP%] label.focused[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] label.focused[_ngcontent-%COMP%]{color:#609}body.webappcommons-theme-purple[_nghost-%COMP%] label.hasError[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] label.hasError[_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-hydra[_nghost-%COMP%] label.focused[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] label.focused[_ngcontent-%COMP%]{color:#54637a}body.webappcommons-theme-hydra[_nghost-%COMP%] label.hasError[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] label.hasError[_ngcontent-%COMP%]{color:#e63322}label[placeholder][_ngcontent-%COMP%]{opacity:0;top:19px;transition:opacity .1s linear,top .1s ease-in-out,font-size .1s ease-in-out,line-height .1s ease-in-out}label[placeholder].visible[_ngcontent-%COMP%]{opacity:1;font-size:12px;line-height:12px;top:0}label[error][_ngcontent-%COMP%], label[helper][_ngcontent-%COMP%]{bottom:0;font-size:12px;line-height:12px}body.webappcommons-theme-blue[_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-blue[_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-darkred[_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-darkred[_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-nightoil[_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-nightoil[_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-purple[_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-purple[_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%]{color:#e63322}body.webappcommons-theme-hydra[_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] label[error][error][_ngcontent-%COMP%], body.webappcommons-theme-hydra[_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] label[helper][error][_ngcontent-%COMP%]{color:#e63322}.rightAlign[_nghost-%COMP%] label[_ngcontent-%COMP%]{text-align:right}.centerAlign[_nghost-%COMP%] label[_ngcontent-%COMP%]{text-align:center}aside[dropdown][_ngcontent-%COMP%]{position:absolute;top:0;right:0}.upwards[_nghost-%COMP%] aside[dropdown][_ngcontent-%COMP%]{top:auto;bottom:0}"]}),e}(),C=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[c.b,s.b,u.f,o.j,a.l]]}),e}()},AdLH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonsDebouncer=function(){function e(t){_classCallCheck(this,e),this.release=t,this.last=void 0,this.unique=void 0,this.history=[]}return _createClass(e,[{key:"debounce",value:function(e){var t=this;if(this.last=e,this.last!==this.unique&&(this.unique=this.last,!this.history.includes(this.unique)))return this.history.push(this.unique),setTimeout((function(){var e=t.history.indexOf(t.unique);t.history.splice(e,1)}),this.release),this.unique}}]),e}()},AdPF:function(e,t,n){var r=n("yeub");e.exports=function(e){var t=e.xdomain,n=e.xscheme,o=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||r))return new XMLHttpRequest}catch(i){}try{if("undefined"!=typeof XDomainRequest&&!n&&o)return new XDomainRequest}catch(i){}if(!t)try{return new(self[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(i){}}},Aplp:function(e,t,n){"use strict";var r,o="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),i={},a=0,s=0;function c(e){var t="";do{t=o[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function u(){var e=c(+new Date);return e!==r?(a=0,r=e):e+"."+c(a++)}for(;s<64;s++)i[o[s]]=s;u.encode=c,u.decode=function(e){var t=0;for(s=0;s<e.length;s++)t=64*t+i[e.charAt(s)];return t},e.exports=u},BLNT:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("A3jA")),r(n("FHVI")),r(n("XDnL")),r(n("/2bj"))},C2QD:function(e,t){function n(e){this.ms=(e=e||{}).min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}e.exports=n,n.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=0==(1&Math.floor(10*t))?e-n:e+n}return 0|Math.min(e,this.max)},n.prototype.reset=function(){this.attempts=0},n.prototype.setMin=function(e){this.ms=e},n.prototype.setMax=function(e){this.max=e},n.prototype.setJitter=function(e){this.jitter=e}},CIKq:function(e,t,n){var r,o,i=n("Gbct"),a=n("Wm4p"),s=n("TypT"),c=n("Yvos"),u=n("Aplp"),l=n("NOtv")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?r=WebSocket:"undefined"!=typeof self&&(r=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{o=n(1)}catch(f){}var h=r||o;function d(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=r&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(h=o),i.call(this,e)}e.exports=d,c(d,i),d.prototype.name="websocket",d.prototype.supportsBinary=!0,d.prototype.doOpen=function(){if(this.check()){var e=this.uri(),t=this.protocols,n={agent:this.agent,perMessageDeflate:this.perMessageDeflate};n.pfx=this.pfx,n.key=this.key,n.passphrase=this.passphrase,n.cert=this.cert,n.ca=this.ca,n.ciphers=this.ciphers,n.rejectUnauthorized=this.rejectUnauthorized,this.extraHeaders&&(n.headers=this.extraHeaders),this.localAddress&&(n.localAddress=this.localAddress);try{this.ws=this.usingBrowserWebSocket&&!this.isReactNative?t?new h(e,t):new h(e):new h(e,t,n)}catch(r){return this.emit("error",r)}void 0===this.ws.binaryType&&(this.supportsBinary=!1),this.ws.supports&&this.ws.supports.binary?(this.supportsBinary=!0,this.ws.binaryType="nodebuffer"):this.ws.binaryType="arraybuffer",this.addEventListeners()}},d.prototype.addEventListeners=function(){var e=this;this.ws.onopen=function(){e.onOpen()},this.ws.onclose=function(){e.onClose()},this.ws.onmessage=function(t){e.onData(t.data)},this.ws.onerror=function(t){e.onError("websocket error",t)}},d.prototype.write=function(e){var t=this;this.writable=!1;for(var n=e.length,r=0,o=n;r<o;r++)!function(e){a.encodePacket(e,t.supportsBinary,(function(r){if(!t.usingBrowserWebSocket){var o={};e.options&&(o.compress=e.options.compress),t.perMessageDeflate&&("string"==typeof r?Buffer.byteLength(r):r.length)<t.perMessageDeflate.threshold&&(o.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(r):t.ws.send(r,o)}catch(f){l("websocket closed before onclose event")}--n||(t.emit("flush"),setTimeout((function(){t.writable=!0,t.emit("drain")}),0))}))}(e[r])},d.prototype.onClose=function(){i.prototype.onClose.call(this)},d.prototype.doClose=function(){void 0!==this.ws&&this.ws.close()},d.prototype.uri=function(){var e=this.query||{},t=this.secure?"wss":"ws",n="";return this.port&&("wss"===t&&443!==Number(this.port)||"ws"===t&&80!==Number(this.port))&&(n=":"+this.port),this.timestampRequests&&(e[this.timestampParam]=u()),this.supportsBinary||(e.b64=1),(e=s.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},d.prototype.check=function(){return!(!h||"__initialize"in h&&this.name===d.prototype.name)}},CUme:function(e,t,n){var r=n("Gbct"),o=n("TypT"),i=n("Wm4p"),a=n("Yvos"),s=n("Aplp"),c=n("NOtv")("engine.io-client:polling");e.exports=l;var u=null!=new(n("AdPF"))({xdomain:!1}).responseType;function l(e){u&&!(e&&e.forceBase64)||(this.supportsBinary=!1),r.call(this,e)}a(l,r),l.prototype.name="polling",l.prototype.doOpen=function(){this.poll()},l.prototype.pause=function(e){var t=this;function n(){c("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var r=0;this.polling&&(c("we are currently polling - waiting to pause"),r++,this.once("pollComplete",(function(){c("pre-pause polling complete"),--r||n()}))),this.writable||(c("we are currently writing - waiting to pause"),r++,this.once("drain",(function(){c("pre-pause writing complete"),--r||n()})))}else n()},l.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},l.prototype.onData=function(e){var t=this;c("polling got data %s",e),i.decodePayload(e,this.socket.binaryType,(function(e,n,r){if("opening"===t.readyState&&t.onOpen(),"close"===e.type)return t.onClose(),!1;t.onPacket(e)})),"closed"!==this.readyState&&(this.polling=!1,this.emit("pollComplete"),"open"===this.readyState?this.poll():c('ignoring poll - transport state "%s"',this.readyState))},l.prototype.doClose=function(){var e=this;function t(){c("writing close packet"),e.write([{type:"close"}])}"open"===this.readyState?(c("transport open - closing"),t()):(c("transport not open - deferring close"),this.once("open",t))},l.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};i.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,n)}))},l.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=s()),this.supportsBinary||e.sid||(e.b64=1),e=o.encode(e),this.port&&("https"===t&&443!==Number(this.port)||"http"===t&&80!==Number(this.port))&&(n=":"+this.port),e.length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e}},Cb9d:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var o=n("oqX0");t.CommonsSemaphore=function(){function e(){_classCallCheck(this,e),this.flag=!1}return _createClass(e,[{key:"claim",value:function(e){return r(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,i){return r(n,void 0,void 0,regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=Math.floor(e/50);case 1:if(!this.flag){n.next=9;break}return n.next=4,o.CommonsAsync.timeout(50);case 4:if(!(--r<0)){n.next=7;break}return n.abrupt("return",void i(new Error("Timeout whilst waiting to claim semaphore")));case 7:n.next=1;break;case 9:this.flag=!0,t();case 10:case"end":return n.stop()}}),n,this)})))})));case 1:case"end":return t.stop()}}),t)})))}},{key:"release",value:function(){this.flag=!1}}]),e}()},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n("HDdC"),o=n("SeVD"),i=n("quSY"),a=n("kJWO"),s=n("jZKg"),c=n("Lhse"),u=n("c2HN"),l=n("I55L");function h(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[a.a]}(e))return function(e,t){return new r.a((function(n){var r=new i.a;return r.add(t.schedule((function(){var o=e[a.a]();r.add(o.subscribe({next:function(e){r.add(t.schedule((function(){return n.next(e)})))},error:function(e){r.add(t.schedule((function(){return n.error(e)})))},complete:function(){r.add(t.schedule((function(){return n.complete()})))}}))}))),r}))}(e,t);if(Object(u.a)(e))return function(e,t){return new r.a((function(n){var r=new i.a;return r.add(t.schedule((function(){return e.then((function(e){r.add(t.schedule((function(){n.next(e),r.add(t.schedule((function(){return n.complete()})))})))}),(function(e){r.add(t.schedule((function(){return n.error(e)})))}))}))),r}))}(e,t);if(Object(l.a)(e))return Object(s.a)(e,t);if(function(e){return e&&"function"==typeof e[c.a]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new r.a((function(n){var r,o=new i.a;return o.add((function(){r&&"function"==typeof r.return&&r.return()})),o.add(t.schedule((function(){r=e[c.a](),o.add(t.schedule((function(){if(!n.closed){var e,t;try{var o=r.next();e=o.value,t=o.done}catch(i){return void n.error(i)}t?n.complete():(n.next(e),this.schedule())}})))}))),o}))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}(e,t):e instanceof r.a?e:new r.a(Object(o.a)(e))}},Cl5A:function(e,t,n){var r=n("CUme"),o=n("Yvos");e.exports=l;var i,a=/\n/g,s=/\\n/g;function c(){}function u(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}function l(e){if(r.call(this,e),this.query=this.query||{},!i){var t=u();i=t.___eio=t.___eio||[]}this.index=i.length;var n=this;i.push((function(e){n.onData(e)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=c)}),!1)}o(l,r),l.prototype.supportsBinary=!1,l.prototype.doClose=function(){this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),this.form&&(this.form.parentNode.removeChild(this.form),this.form=null,this.iframe=null),r.prototype.doClose.call(this)},l.prototype.doPoll=function(){var e=this,t=document.createElement("script");this.script&&(this.script.parentNode.removeChild(this.script),this.script=null),t.async=!0,t.src=this.uri(),t.onerror=function(t){e.onError("jsonp poll error",t)};var n=document.getElementsByTagName("script")[0];n?n.parentNode.insertBefore(t,n):(document.head||document.body).appendChild(t),this.script=t,"undefined"!=typeof navigator&&/gecko/i.test(navigator.userAgent)&&setTimeout((function(){var e=document.createElement("iframe");document.body.appendChild(e),document.body.removeChild(e)}),100)},l.prototype.doWrite=function(e,t){var n=this;if(!this.form){var r,o=document.createElement("form"),i=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;o.className="socketio",o.style.position="absolute",o.style.top="-1000px",o.style.left="-1000px",o.target=c,o.method="POST",o.setAttribute("accept-charset","utf-8"),i.name="d",o.appendChild(i),document.body.appendChild(o),this.form=o,this.area=i}function u(){l(),t()}function l(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{r=document.createElement('<iframe src="javascript:0" name="'+n.iframeId+'">')}catch(e){(r=document.createElement("iframe")).name=n.iframeId,r.src="javascript:0"}r.id=n.iframeId,n.form.appendChild(r),n.iframe=r}this.form.action=this.uri(),l(),e=e.replace(s,"\\\n"),this.area.value=e.replace(a,"\\n");try{this.form.submit()}catch(h){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&u()}:this.iframe.onload=u}},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e,r)).scheduler=e,o.work=r,o.pending=!1,o}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(this.closed)return this;this.state=e;var n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(r,this.id,t),this}},{key:"requestAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return setInterval(e.flush.bind(e,this),n)}},{key:"recycleAsyncId",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}},{key:"execute",value:function(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}},{key:"_execute",value:function(e,t){var n=!1,r=void 0;try{this.work(e)}catch(o){n=!0,r=!!o&&o||new Error(o)}if(n)return this.unsubscribe(),r}},{key:"_unsubscribe",value:function(){var e=this.id,t=this.scheduler,n=t.actions,r=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==r&&n.splice(r,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"schedule",value:function(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this}}]),n}(n("quSY").a)),o=function(){var e=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.now;_classCallCheck(this,e),this.SchedulerAction=t,this.now=n}return _createClass(e,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0;return new this.SchedulerAction(this,e).schedule(n,t)}}]),e}();return e.now=function(){return Date.now()},e}(),i=new(function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.now;return _classCallCheck(this,n),(r=t.call(this,e,(function(){return n.delegate&&n.delegate!==_assertThisInitialized(r)?n.delegate.now():i()}))).actions=[],r.active=!1,r.scheduled=void 0,r}return _createClass(n,[{key:"schedule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2?arguments[2]:void 0;return n.delegate&&n.delegate!==this?n.delegate.schedule(e,t,r):_get(_getPrototypeOf(n.prototype),"schedule",this).call(this,e,t,r)}},{key:"flush",value:function(e){var t=this.actions;if(this.active)t.push(e);else{var n;this.active=!0;do{if(n=e.execute(e.state,e.delay))break}while(e=t.shift());if(this.active=!1,n){for(;e=t.shift();)e.unsubscribe();throw n}}}}]),n}(o))(r)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=Array.isArray||function(e){return e&&"number"==typeof e.length}},DgCp:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("NlqC")),r(n("brk/"))},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n("HDdC"),o=new r.a((function(e){return e.complete()}));function i(e){return e?function(e){return new r.a((function(t){return e.schedule((function(){return t.complete()}))}))}(e):o}},EdyX:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.EHsla||(t.EHsla={})).HUE="hue",r.SATURATION="saturation",r.LIGHTNESS="lightness",r.ALPHA="alpha"},FGiv:function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,t){t=t||{};var s,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===u&&isFinite(e))return t.long?(s=e,(c=Math.abs(s))>=i?a(s,c,i,"day"):c>=o?a(s,c,o,"hour"):c>=r?a(s,c,r,"minute"):c>=n?a(s,c,n,"second"):s+" ms"):function(e){var t=Math.abs(e);return t>=i?Math.round(e/i)+"d":t>=o?Math.round(e/o)+"h":t>=r?Math.round(e/r)+"m":t>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},FHVI:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var o=n("WB8P"),i=n("WB8P"),a=n("oqX0"),s=n("yoYU"),c=n("tl0M"),u=function(){function e(t){_classCallCheck(this,e),this.id=t,this.schedules=new Map,this.isRunning=!1}return _createClass(e,[{key:"schedule",value:function(e,t,n){n&&this.schedules.has(n)&&this.clearSchedule(n),n||(n=i.CommonsBase62.generateRandomId()),this.schedules.set(n,{at:e,callback:t})}},{key:"clearSchedule",value:function(e){this.schedules.delete(e)}},{key:"dispatch",value:function(){return r(this,void 0,void 0,regeneratorRuntime.mark((function t(){var n,o,i,a,s=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(n=new Date,o=function(){var t=a[i];e.doesMatchSchedule(n,t.at)&&r(s,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.callback();case 1:case"end":return e.stop()}}),e)})))},i=0,a=Array.from(this.schedules.values());i<a.length;i++)o();case 3:case"end":return t.stop()}}),t,this)})))}},{key:"start",value:function(){var e=this;return!this.isRunning&&(a.CommonsAsync.interval(1e3,c.ECommonsInvocation.FIXED,(function(){return r(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.dispatch();case 2:case"end":return e.stop()}}),e,this)})))}),"schedule_"+this.id),!0)}},{key:"stop",value:function(){return!!this.isRunning&&(a.CommonsAsync.abortInterval("schedule_"+this.id),!0)}},{key:"parse",value:function(e,t,n){var o,i=this,a=_createForOfIteratorHelper(e);try{var c=function(){var e=o.value;if(!s.isTCommonsSchedule(e))throw new Error("Schedule JSON contains an invalid entry");var a=t(e.action);if(void 0===a)throw new Error("Schedule JSON contains an invalid action");i.schedule(e.at,(function(){return r(i,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(a);case 2:case"end":return e.stop()}}),e)})))}))};for(a.s();!(o=a.n()).done;)c()}catch(u){a.e(u)}finally{a.f()}}}],[{key:"doesMatchSchedule",value:function(e,t){var n=[];if(void 0!==t.year&&(o.CommonsType.isNumberArray(t.year)?n.push.apply(n,_toConsumableArray(t.year)):n.push(t.year)),n.length>0&&!n.includes(e.getFullYear()))return!1;var r=[];if(void 0!==t.month&&(o.CommonsType.isNumberArray(t.month)?r.push.apply(r,_toConsumableArray(t.month)):r.push(t.month)),r.length>0&&!r.includes(e.getMonth()))return!1;var i=[];if(void 0!==t.day&&(o.CommonsType.isNumberArray(t.day)?i.push.apply(i,_toConsumableArray(t.day)):i.push(t.day)),i.length>0&&!i.includes(e.getDate()))return!1;var a=[];if(void 0!==t.dow&&(o.CommonsType.isNumberArray(t.dow)?a.push.apply(a,_toConsumableArray(t.dow)):a.push(t.dow)),a.length>0&&!a.includes(e.getDay()))return!1;var s=[];if(void 0!==t.hour&&(o.CommonsType.isNumberArray(t.hour)?s.push.apply(s,_toConsumableArray(t.hour)):s.push(t.hour)),s.length>0&&!s.includes(e.getHours()))return!1;var c=[];if(void 0!==t.minute&&(o.CommonsType.isNumberArray(t.minute)?c.push.apply(c,_toConsumableArray(t.minute)):c.push(t.minute)),c.length>0&&!c.includes(e.getMinutes()))return!1;var u=[];return void 0!==t.second&&(o.CommonsType.isNumberArray(t.second)?u.push.apply(u,_toConsumableArray(t.second)):u.push(t.second)),!(u.length>0&&!u.includes(e.getSeconds()))}}]),e}();t.CommonsSchedule=u},FXLk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMONS_REGEX_PATTERN_NUMERIC=/^-?[0-9]{1,10}(\.[0-9]{1,64})?$/,t.COMMONS_REGEX_PATTERN_INT=/^-?[0-9]{1,10}$/,t.COMMONS_REGEX_PATTERN_ID=/^[0-9]{1,8}$/,t.COMMONS_REGEX_PATTERN_DIGIT=/^[0-9]$/,t.COMMONS_REGEX_PATTERN_ID_CHAR=/^[a-z0-9'#]$/i,t.COMMONS_REGEX_PATTERN_ID_NAME=/^[a-z0-9()'#]([-a-z0-9()'_#. ]{0,62}[-a-z0-9()'_#.])?$/i,t.COMMONS_REGEX_PATTERN_LETTER=/^[A-Z]$/,t.COMMONS_REGEX_PATTERN_LETTERDIGIT=/^[A-Z0-9]$/,t.COMMONS_REGEX_PATTERN_TEXT_255=/^.{1,255}$/,t.COMMONS_REGEX_PATTERN_MD5=/^[a-f0-9]{32}$/i,t.COMMONS_REGEX_PATTERN_SHA224=/^[a-f0-9]{56}$/i,t.COMMONS_REGEX_PATTERN_SHA256=/^[a-f0-9]{64}$/i,t.COMMONS_REGEX_PATTERN_SHA512=/^[a-f0-9]{128}$/i,t.COMMONS_REGEX_PATTERN_BASE36_ID=/^[0-9A-Z]{10}$/i,t.COMMONS_REGEX_PATTERN_BASE41_ID=/^[0-9A-Za-e]{6}$/,t.COMMONS_REGEX_PATTERN_BASE62_ID=/^[0-9A-Za-z]{8}$/,t.COMMONS_REGEX_PATTERN_HEXCOLOR=/^[a-f0-9]{6}$/i,t.COMMONS_REGEX_PATTERN_CSS_COLOR=/^#([0-9a-f]{3}){1,2}$/i,t.COMMONS_REGEX_PATTERN_DATE_DMY=/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/,t.COMMONS_REGEX_PATTERN_DATETIME_DMYHI=/^([0-9]{2})\/([0-9]{2})\/([0-9]{4}) ([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_TIME_HI=/^([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATE_YMD=/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS=/^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_TIME_HIS=/^([0-9]{2}):([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATE_ECMA=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(\.[0-9]{3})?[A-Z]$/,t.COMMONS_REGEX_PATTERN_EMAIL=/^[-a-z0-9._%+']{1,64}@([-a-z0-9]{1,64}\.)*[-a-z]{2,12}$/i,t.COMMONS_REGEX_PATTERN_PHONE=/^[+()0-9#*]?[- +()0-9#*]*[0-9#*]$/,t.COMMONS_REGEX_PATTERN_URL=/^http(s)?:\/\/([a-z0-9][-a-z0-9]{0,62})(\.[a-z0-9][-a-z0-9]{0,62}){0,32}(:[0-9]+)?(\/[-a-z0-9\/._?&=!~*'():#\[\]@$+,;%]{0,940})?$/i,t.COMMONS_REGEX_PATTERN_IP=/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/i,t.COMMONS_REGEX_PATTERN_IPv4=/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/i,t.COMMONS_REGEX_PATTERN_IPv6=/^((([0-9a-f]{1,4}:){7,7}[0-9a-f]{1,4})|(([0-9a-f]{1,4}:){1,7}:)|(([0-9a-f]{1,4}:){1,6}:[0-9a-f]{1,4})|(([0-9a-f]{1,4}:){1,5}(:[0-9a-f]{1,4}){1,2})|(([0-9a-f]{1,4}:){1,4}(:[0-9a-f]{1,4}){1,3})|(([0-9a-f]{1,4}:){1,3}(:[0-9a-f]{1,4}){1,4})|(([0-9a-f]{1,4}:){1,2}(:[0-9a-f]{1,4}){1,5})|([0-9a-f]{1,4}:((:[0-9a-f]{1,4}){1,6}))|(:((:[0-9a-f]{1,4}){1,7}|:)))$/i},FYIv:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("BLNT")),r(n("is2o")),r(n("312O")),r(n("aYyv"))},Gbct:function(e,t,n){var r=n("Wm4p"),o=n("cpc2");function i(e){this.path=e.path,this.hostname=e.hostname,this.port=e.port,this.secure=e.secure,this.query=e.query,this.timestampParam=e.timestampParam,this.timestampRequests=e.timestampRequests,this.readyState="",this.agent=e.agent||!1,this.socket=e.socket,this.enablesXDR=e.enablesXDR,this.withCredentials=e.withCredentials,this.pfx=e.pfx,this.key=e.key,this.passphrase=e.passphrase,this.cert=e.cert,this.ca=e.ca,this.ciphers=e.ciphers,this.rejectUnauthorized=e.rejectUnauthorized,this.forceNode=e.forceNode,this.isReactNative=e.isReactNative,this.extraHeaders=e.extraHeaders,this.localAddress=e.localAddress}e.exports=i,o(i.prototype),i.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},i.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},i.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},i.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},i.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},i.prototype.onData=function(e){var t=r.decodePacket(e,this.socket.binaryType);this.onPacket(t)},i.prototype.onPacket=function(e){this.emit("packet",e)},i.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r,o=n("7o/Q"),i=n("2QA8"),a=n("gRHU"),s=n("kJWO"),c=n("mCNh"),u=n("2fFW"),l=((r=function(){function e(t){_classCallCheck(this,e),this._isScalar=!1,t&&(this._subscribe=t)}return _createClass(e,[{key:"lift",value:function(t){var n=new e;return n.source=this,n.operator=t,n}},{key:"subscribe",value:function(e,t,n){var r=this.operator,s=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[i.a])return e[i.a]()}return e||t||n?new o.a(e,t,n):new o.a(a.a)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||u.a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),u.a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}},{key:"_trySubscribe",value:function(e){try{return this._subscribe(e)}catch(t){u.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){var t=e,n=t.closed,r=t.destination,i=t.isStopped;if(n||i)return!1;e=r&&r instanceof o.a?r:null}return!0}(e)?e.error(t):console.warn(t)}}},{key:"forEach",value:function(e,t){var n=this;return new(t=h(t))((function(t,r){var o;o=n.subscribe((function(t){try{e(t)}catch(n){r(n),o&&o.unsubscribe()}}),r,t)}))}},{key:"_subscribe",value:function(e){var t=this.source;return t&&t.subscribe(e)}},{key:s.a,value:function(){return this}},{key:"pipe",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?this:Object(c.b)(t)(this)}},{key:"toPromise",value:function(e){var t=this;return new(e=h(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))}}]),e}()).create=function(e){return new r(e)},r);function h(e){if(e||(e=u.a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}},HIIe:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f}));var r=n("RPfa"),o=n("ofXK"),i=n("v8Qv"),a=n("po00"),s=n("fXoL");function c(e,t){1&e&&(s.bc(),s.Ob(0),s.zc(1,"-"),s.Nb())}function u(e,t){if(1&e&&(s.bc(),s.Qb(0,"g",39),s.Mb(1,"path",37),s.Mb(2,"rect",38),s.Pb()),2&e){var n=s.cc(2);s.Ab("transform","rotate("+n.getNeedleRotation()+" 200,200)")}}function l(e,t){if(1&e&&(s.bc(),s.Qb(0,"g",40),s.Mb(1,"path",37),s.Mb(2,"rect",38),s.Pb()),2&e){var n=s.cc(2);s.Ab("transform","rotate("+n.getSecondaryNeedleRotation()+" 200,200)")}}function h(e,t){if(1&e&&(s.Qb(0,"graphics-svg",2),s.bc(),s.Mb(1,"path",3),s.Mb(2,"path",4),s.Mb(3,"path",5),s.Mb(4,"path",6),s.Mb(5,"path",7),s.Mb(6,"path",8),s.Mb(7,"path",9),s.Mb(8,"path",10),s.Mb(9,"path",11),s.Mb(10,"path",12),s.Qb(11,"text",13),s.Qb(12,"tspan",14),s.zc(13),s.dc(14,"commonsPrettyFigure"),s.xc(15,c,2,0,"ng-container",15),s.Pb(),s.Pb(),s.Qb(16,"text",16),s.Qb(17,"tspan",17),s.zc(18),s.dc(19,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(20,"text",18),s.Qb(21,"tspan",19),s.zc(22),s.dc(23,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(24,"text",20),s.Qb(25,"tspan",21),s.zc(26),s.dc(27,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(28,"text",22),s.Qb(29,"tspan",23),s.zc(30),s.dc(31,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(32,"text",24),s.Qb(33,"tspan",25),s.zc(34),s.dc(35,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(36,"text",26),s.Qb(37,"tspan",27),s.zc(38),s.dc(39,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(40,"text",28),s.Qb(41,"tspan",29),s.zc(42),s.dc(43,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(44,"text",30),s.Qb(45,"tspan",31),s.zc(46),s.dc(47,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.Qb(48,"text",32),s.Qb(49,"tspan",33),s.zc(50),s.dc(51,"commonsPrettyFigure"),s.Pb(),s.Pb(),s.xc(52,u,3,1,"g",34),s.xc(53,l,3,1,"g",35),s.Qb(54,"g",36),s.Mb(55,"path",37),s.Mb(56,"rect",38),s.Pb(),s.Pb()),2&e){var n=s.cc();s.jc("width",n.SIZE)("height",n.SIZE),s.zb(13),s.Ac(s.ec(14,16,n.scale[0])),s.zb(2),s.jc("ngIf",n.scale[0]>0),s.zb(3),s.Ac(s.ec(19,18,n.scale[1])),s.zb(4),s.Ac(s.ec(23,20,n.scale[2])),s.zb(4),s.Ac(s.ec(27,22,n.scale[3])),s.zb(4),s.Ac(s.ec(31,24,n.scale[4])),s.zb(4),s.Ac(s.ec(35,26,n.scale[5])),s.zb(4),s.Ac(s.ec(39,28,n.scale[6])),s.zb(4),s.Ac(s.ec(43,30,n.scale[7])),s.zb(4),s.Ac(s.ec(47,32,n.scale[8])),s.zb(4),s.Bc("",s.ec(51,34,n.scale[9]),"+"),s.zb(2),s.jc("ngIf",n.average),s.zb(1),s.jc("ngIf",void 0!==n.secondary),s.zb(1),s.Ab("transform","rotate("+n.getNeedleRotation()+" 200,200)")}}var d=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).SIZE=400,r.value=0,r.average=!1,r.scale=[],r}return _createClass(n,[{key:"getRotation",value:function(e){e<this.scale[0]&&(e=this.scale[0]),e>this.scale[this.scale.length-1]&&(e=this.scale[this.scale.length-1]-.1);var t,n=-1,r=0,o=_createForOfIteratorHelper(this.scale);try{for(o.s();!(t=o.n()).done;){var i=t.value;if(n++,!(e>=i))return 30*n-135+(e-i)/(i-r)*30;r=i}}catch(a){o.e(a)}finally{o.f()}return 0}},{key:"getNeedleRotation",value:function(){return this.getRotation(this.value)}},{key:"getSecondaryNeedleRotation",value:function(){return void 0===this.secondary?0:this.getRotation(this.secondary)}}]),n}(r.f);return e.\u0275fac=function(t){return new(t||e)(s.Lb(r.g))},e.\u0275cmp=s.Fb({type:e,selectors:[["graphics-speedometer"]],inputs:{value:"value",average:"average",scale:"scale",secondary:"secondary"},features:[s.wb],decls:2,vars:1,consts:[["container",""],[3,"width","height",4,"ngIf"],[3,"width","height"],["d","m 195,70.104601 c -20.01605,0.7612 -38.88584,6.06916 -55.60742,14.91992 l 9.96289,17.257799 c 13.75988,-7.128599 29.22594,-11.435679 45.64453,-12.165999 z",2,"fill","#4ad200"],["d","m 205,70.104601 0,20.01172 c 16.41859,0.73032 31.88465,5.0374 45.64453,12.165999 l 9.96289,-17.257799 c -16.72158,-8.85076 -35.59137,-14.15872 -55.60742,-14.91992 z",2,"fill","#b5dc00"],["d","M 130.73829,90.036241 C 114.33682,100.40439 100.40508,114.33774 90.037129,130.73935 l 17.242181,9.95313 c 8.58335,-13.41489 20,-24.83071 33.41406,-33.41407 z",2,"fill","#00c000"],["d","m 269.26173,90.036241 -9.95508,17.242169 c 13.41489,8.58336 24.83071,20 33.41406,33.41407 l 17.24219,-9.95313 C 299.59494,114.33774 285.6632,100.40439 269.26173,90.036241 Z",2,"fill","#e6d800"],["d","m 85.023456,139.3917 c -8.8505,16.72138 -14.15678,35.59169 -14.91797,55.60742 l 20.011723,0 c 0.73029,-16.41798 5.03787,-31.88309 12.166001,-45.64258 z",2,"fill","#00c000"],["d","m 314.97657,139.3917 -17.25976,9.96484 c 7.12814,13.75949 11.43572,29.2246 12.16601,45.64258 l 20.01172,0 c -0.76119,-20.01573 -6.06747,-38.88604 -14.91797,-55.60742 z",2,"fill","#e6a300"],["d","m 70.105486,205 c 0.76119,20.01572 6.06747,38.88604 14.91797,55.60742 L 102.28321,250.6417 C 95.155079,236.8822 90.847499,221.4171 90.117209,205 Z",2,"fill","#00c000"],["d","m 309.88282,205 c -0.73029,16.41798 -5.03787,31.88308 -12.16601,45.64258 l 17.25976,9.96484 c 8.8505,-16.72138 14.15678,-35.5917 14.91797,-55.60742 z",2,"fill","#e65100"],["d","m 107.27931,259.30576 -17.242181,9.95312 c 10.368241,16.40209 24.301031,30.33488 40.703111,40.70313 l 9.95313,-17.24219 c -13.41489,-8.58335 -24.83071,-20 -33.41406,-33.41406 z",2,"fill","#00c000"],["d","m 292.72071,259.30576 c -8.58335,13.41489 -20,24.83071 -33.41406,33.41406 l 9.95313,17.24219 c 16.40208,-10.36825 30.33487,-24.30104 40.70312,-40.70313 z",2,"fill","#e60000"],["y","320","x","100",2,"text-align","end","text-anchor","end"],["y","320","x","100"],[4,"ngIf"],["x","60","y","250",2,"text-align","end","text-anchor","end"],["x","60","y","250"],["y","170","x","60",2,"text-align","end","text-anchor","end"],["y","170","x","60"],["x","100","y","100",2,"text-align","end","text-anchor","end"],["x","100","y","100"],["y","60","x","170",2,"text-align","end","text-anchor","end"],["y","60","x","170"],["x","230","y","60",2,"text-align","start","text-anchor","start"],["x","230","y","60"],["y","100","x","300",2,"text-align","start","text-anchor","start"],["y","100","x","300"],["x","340","y","170",2,"text-align","start","text-anchor","start"],["x","340","y","170"],["y","250","x","340",2,"text-align","start","text-anchor","start"],["y","250","x","340"],["x","300","y","320",2,"text-align","start","text-anchor","start"],["x","300","y","320"],["id","average",4,"ngIf"],["id","secondary",4,"ngIf"],["id","needle"],["d","m 200.00001,100 -14.78906,73.9414 a 30,30 0 0 0 -15.21094,26.0586 30,30 0 0 0 10,22.31836 l 0,17.68164 40,0 0,-17.6875 a 30,30 0 0 0 10,-22.3125 30,30 0 0 0 -15.2168,-26.08008 l -14.7832,-73.91992 z m 0,90 a 10,10 0 0 1 10,10 10,10 0 0 1 -10,10 10,10 0 0 1 -10,-10 10,10 0 0 1 10,-10 z",2,"opacity","1"],["width","10","height","60","x","195","y","240",2,"opacity","0","fill","#ffffff"],["id","average"],["id","secondary"]],template:function(e,t){1&e&&(s.Qb(0,"section",0),s.xc(1,h,57,36,"graphics-svg",1),s.Pb()),2&e&&(s.zb(1),s.jc("ngIf",t.scale.length))},directives:[o.j,a.b],pipes:[i.a],styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;padding:0;margin:0;width:100%;position:relative;top:0;left:0}text[_ngcontent-%COMP%]{font-family:Roboto;font-weight:300;font-style:normal;font-size:20.39215686px;line-height:125%}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#ccc}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#e6e6e6}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#474747}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#343434}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#ccc}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#e6e6e6}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#ccc}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] text[_ngcontent-%COMP%]{fill:#e6e6e6}g#needle[_ngcontent-%COMP%]{transition:1s linear}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#333}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#ccc}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#b8b8b8}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#474747}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#333}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#ccc}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#333}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] g#needle[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#ccc}g#secondary[_ngcontent-%COMP%]{transition:1s linear}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] g#secondary[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}g#average[_ngcontent-%COMP%]{transition:15s linear}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] g#average[_ngcontent-%COMP%] path[_ngcontent-%COMP%]{fill:#666}"]}),e}(),f=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=s.Jb({type:e}),e.\u0275inj=s.Ib({factory:function(t){return new(t||e)},imports:[[o.b,i.f,a.c]]}),e}()},Hcel:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("FXLk"),i=n("UcNE");!function(e){e.STRING="string",e.NUMBER="number",e.BOOLEAN="boolean",e.OBJECT="object",e.DATE="date"}(r=t.EVariableType||(t.EVariableType={}));var a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"isDefined",value:function(e){return void 0!==e}},{key:"assertDefined",value:function(t){if(!e.isDefined(t))throw new Error("Assertion fail: variable is undefined");return t}},{key:"isPrimative",value:function(t){if(!e.isDefined(t))return!1;if(null===t)return!1;switch(typeof t){case"string":case"number":case"boolean":return!0;default:return!1}}},{key:"assertPrimative",value:function(t){if(!e.isPrimative(t))throw new Error("Assertion fail: variable is not a primative");return t}},{key:"isString",value:function(t){return e.isPrimative(t)&&"string"==typeof t}},{key:"assertString",value:function(t){if(!e.isString(t))throw new Error("Assertion fail: variable is not a string");return t}},{key:"attemptString",value:function(t){return e.isString(t)?t:void 0!==t&&null!=t?e.isArray(t)?t.map((function(t){return e.attemptString(t)})).filter((function(e){return void 0!==e})).join(", "):"object"==typeof t?JSON.stringify(t):"number"==typeof t?t.toString():"boolean"==typeof t?t?"true":"false":String(t):void 0}},{key:"isNumber",value:function(t){return e.isPrimative(t)&&"number"==typeof t}},{key:"assertNumber",value:function(t){if(!e.isNumber(t))throw new Error("Assertion fail: variable is not a number");return t}},{key:"attemptNumber",value:function(t){if(e.isNumber(t))return t;if(void 0!==t&&null!=t){if("string"==typeof t){var n=t.indexOf(".")>-1?parseFloat(t):parseInt(t,10);if(Number.isNaN(n))return;return n}return"boolean"==typeof t?t?1:0:Number(t)}}},{key:"isBoolean",value:function(t){return e.isPrimative(t)&&"boolean"==typeof t}},{key:"assertBoolean",value:function(t){if(!e.isBoolean(t))throw new Error("Assertion fail: variable is not a boolean");return t}},{key:"attemptBoolean",value:function(t){return e.isBoolean(t)?t:void 0!==t&&null!=t&&e.isPrimative(t)?e.checkboxBoolean(t):void 0}},{key:"isObject",value:function(t){return!!e.isDefined(t)&&null!==t&&"object"==typeof t}},{key:"assertObject",value:function(t){if(!e.isObject(t))throw new Error("Assertion fail: variable is not an object");return t}},{key:"attemptObject",value:function(t){if(e.isObject(t))return t;if(void 0!==t&&null!=t){if("string"==typeof t)try{var n=JSON.parse(t);return"object"==typeof n?n:void 0}catch(r){return}if("object"==typeof t&&!e.isArray(t))return t}}},{key:"isDate",value:function(t){return e.isObject(t)&&t instanceof Date}},{key:"assertDate",value:function(t){if(!e.isDate(t))throw new Error("Assertion fail: variable is not a Date object");return t}},{key:"attemptDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.isDate(t))return t;if(void 0!==t&&null!=t&&"string"==typeof t){if(i.CommonsDate.isYmdHis(t))return i.CommonsDate.YmdHisToDate(t,n);if(i.CommonsDate.isdmYHi(t))return i.CommonsDate.dmYHiToDate(t,n);if(i.CommonsDate.isYmd(t))return i.CommonsDate.YmdToDate(t,n);if(i.CommonsDate.isdmY(t))return i.CommonsDate.dmYToDate(t,n);if(i.CommonsDate.isHis(t))return i.CommonsDate.HisToDate(t,n);if(i.CommonsDate.isHi(t))return i.CommonsDate.HiToDate(t,n);var r=Date.parse(t);if(Number.isNaN(r))return;return new Date(r)}}},{key:"isError",value:function(t){return e.isObject(t)&&t instanceof Error}},{key:"assertError",value:function(t){if(!e.isError(t))throw new Error("Assertion fail: variable is not an Error object");return t}},{key:"isArray",value:function(t){return e.isObject(t)&&Array.isArray(t)}},{key:"assertArray",value:function(t){if(!e.isArray(t))throw new Error("Assertion fail: variable is not an array");return t}},{key:"validateTKeyObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){if(!n(t[o[r]]))return!1}return!0}},{key:"validateTOrUndefinedKeyObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];if(e.hasProperty(t,i)&&void 0!==t[i]&&!n(t[i]))return!1}return!0}},{key:"validateTEnumObject",value:function(t,n,r){if(!e.isObject(t))return!1;for(var o=0,i=Object.keys(t);o<i.length;o++){var a=i[o];if(!r(a))return!1;if(!n(t[a]))return!1}return!0}},{key:"validateTOrUndefinedEnumObject",value:function(t,n,r){if(!e.isObject(t))return!1;for(var o=0,i=Object.keys(t);o<i.length;o++){var a=i[o];if(!r(a))return!1;if(e.hasProperty(t,a)&&void 0!==t[a]&&!n(t[a]))return!1}return!0}},{key:"isDefinedArray",value:function(t){if(!e.isArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isDefined(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertDefinedArray",value:function(t){if(!e.isDefinedArray(t))throw new Error("Assertion fail: variable is not a defined array");return t}},{key:"isDefinedKeyObject",value:function(t){if(!e.isObject(t))return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!e.isDefined(t[o]))return!1}return!0}},{key:"assertDefinedKeyObject",value:function(t){if(!e.isDefinedKeyObject(t))throw new Error("Assertion fail: variable is not a defined key object");return t}},{key:"isDefinedEnumObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];if(!n(i))return!1;if(!e.isDefined(t[i]))return!1}return!0}},{key:"assertDefinedEnumObject",value:function(t,n){if(!e.isDefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a defined enum object");return t}},{key:"isPrimativeArray",value:function(t){if(!e.isDefinedArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isPrimative(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertPrimativeArray",value:function(t){if(!e.isPrimativeArray(t))throw new Error("Assertion fail: variable is not a primative array");return t}},{key:"isPrimativeKeyObject",value:function(t){if(!e.isObject(t))return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!e.isPrimative(t[o]))return!1}return!0}},{key:"assertPrimativeKeyObject",value:function(t){if(!e.isPrimativeKeyObject(t))throw new Error("Assertion fail: variable is not a primative key object");return t}},{key:"isPrimativeEnumObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];if(!n(i))return!1;if(!e.isPrimative(t[i]))return!1}return!0}},{key:"assertPrimativeEnumObject",value:function(t,n){if(!e.isPrimativeEnumObject(t,n))throw new Error("Assertion fail: variable is not a primative enum object");return t}},{key:"isStringArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isString(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertStringArray",value:function(t){if(!e.isStringArray(t))throw new Error("Assertion fail: variable is not a string array");return t}},{key:"isStringKeyObject",value:function(t){return e.validateTKeyObject(t,e.isString)}},{key:"assertStringKeyObject",value:function(t){if(!e.isStringKeyObject(t))throw new Error("Assertion fail: variable is not a string key object");return t}},{key:"isStringEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isString,n)}},{key:"assertStringEnumObject",value:function(t,n){if(!e.isStringEnumObject(t,n))throw new Error("Assertion fail: variable is not a string enum object");return t}},{key:"isStringOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isString)}},{key:"assertStringOrUndefinedKeyObject",value:function(t){if(!e.isStringOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a string or undefined key object");return t}},{key:"isStringOrUndefinedEnumObject",value:function(t,n){return e.validateTOrUndefinedEnumObject(t,e.isString,n)}},{key:"assertStringOrUndefinedEnumObject",value:function(t,n){if(!e.isStringOrUndefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a string or undefined key object");return t}},{key:"isStringArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isStringArray)}},{key:"assertStringArrayKeyObject",value:function(t){if(!e.isStringArrayKeyObject(t))throw new Error("Assertion fail: variable is not a string array key object");return t}},{key:"isStringArrayEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isStringArray,n)}},{key:"assertStringArrayEnumObject",value:function(t,n){if(!e.isStringArrayEnumObject(t,n))throw new Error("Assertion fail: variable is not a string array key object");return t}},{key:"isNumberArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isNumber(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertNumberArray",value:function(t){if(!e.isNumberArray(t))throw new Error("Assertion fail: variable is not a number array");return t}},{key:"isNumberKeyObject",value:function(t){return e.validateTKeyObject(t,e.isNumber)}},{key:"assertNumberKeyObject",value:function(t){if(!e.isNumberKeyObject(t))throw new Error("Assertion fail: variable is not a number key object");return t}},{key:"isNumberEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isNumber,n)}},{key:"assertNumberEnumObject",value:function(t,n){if(!e.isNumberEnumObject(t,n))throw new Error("Assertion fail: variable is not a number key object");return t}},{key:"isNumberOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isNumber)}},{key:"assertNumberOrUndefinedKeyObject",value:function(t){if(!e.isNumberOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a number or undefined key object");return t}},{key:"isNumberOrUndefinedEnumObject",value:function(t,n){return e.validateTOrUndefinedEnumObject(t,e.isNumber,n)}},{key:"assertNumberOrUndefinedEnumObject",value:function(t,n){if(!e.isNumberOrUndefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a number or undefined key object");return t}},{key:"isNumberArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isNumberArray)}},{key:"assertNumberArrayKeyObject",value:function(t){if(!e.isNumberArrayKeyObject(t))throw new Error("Assertion fail: variable is not a number array key object");return t}},{key:"isNumberArrayEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isNumberArray,n)}},{key:"assertNumberArrayEnumObject",value:function(t,n){if(!e.isNumberArrayEnumObject(t,n))throw new Error("Assertion fail: variable is not a number array key object");return t}},{key:"isBooleanArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isBoolean(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertBooleanArray",value:function(t){if(!e.isBooleanArray(t))throw new Error("Assertion fail: variable is not a boolean array");return t}},{key:"isBooleanKeyObject",value:function(t){return e.validateTKeyObject(t,e.isBoolean)}},{key:"assertBooleanKeyObject",value:function(t){if(!e.isBooleanKeyObject(t))throw new Error("Assertion fail: variable is not a boolean key object");return t}},{key:"isBooleanEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isBoolean,n)}},{key:"assertBooleanEnumObject",value:function(t,n){if(!e.isBooleanEnumObject(t,n))throw new Error("Assertion fail: variable is not a boolean key object");return t}},{key:"isBooleanOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isBoolean)}},{key:"assertBooleanOrUndefinedKeyObject",value:function(t){if(!e.isBooleanOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return t}},{key:"isBooleanOrUndefinedEnumObject",value:function(t,n){return e.validateTOrUndefinedEnumObject(t,e.isBoolean,n)}},{key:"assertBooleanOrUndefinedEnumObject",value:function(t,n){if(!e.isBooleanOrUndefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return t}},{key:"isBooleanArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isBooleanArray)}},{key:"assertBooleanArrayKeyObject",value:function(t){if(!e.isBooleanArrayKeyObject(t))throw new Error("Assertion fail: variable is not a boolean array key object");return t}},{key:"isBooleanArrayEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isBooleanArray,n)}},{key:"assertBooleanArrayEnumObject",value:function(t,n){if(!e.isBooleanArrayEnumObject(t,n))throw new Error("Assertion fail: variable is not a boolean array key object");return t}},{key:"isObjectArray",value:function(t){if(!e.isDefinedArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isObject(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertObjectArray",value:function(t){if(!e.isObjectArray(t))throw new Error("Assertion fail: variable is not an object array");return t}},{key:"isObjectKeyObject",value:function(t){return e.validateTKeyObject(t,e.isObject)}},{key:"assertObjectKeyObject",value:function(t){if(!e.isObjectKeyObject(t))throw new Error("Assertion fail: variable is not a object key object");return t}},{key:"isObjectEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isObject,n)}},{key:"assertObjectEnumObject",value:function(t,n){if(!e.isObjectEnumObject(t,n))throw new Error("Assertion fail: variable is not a object key object");return t}},{key:"isObjectOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isObject)}},{key:"assertObjectOrUndefinedKeyObject",value:function(t){if(!e.isObjectOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a object or undefined key object");return t}},{key:"isObjectOrUndefinedEnumObject",value:function(t,n){return e.validateTOrUndefinedEnumObject(t,e.isObject,n)}},{key:"assertObjectOrUndefinedEnumObject",value:function(t,n){if(!e.isObjectOrUndefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a object or undefined key object");return t}},{key:"isObjectArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isObjectArray)}},{key:"assertObjectArrayKeyObject",value:function(t){if(!e.isObjectArrayKeyObject(t))throw new Error("Assertion fail: variable is not a object array key object");return t}},{key:"isObjectArrayEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isObjectArray,n)}},{key:"assertObjectArrayEnumObject",value:function(t,n){if(!e.isObjectArrayEnumObject(t,n))throw new Error("Assertion fail: variable is not a object array key object");return t}},{key:"isDateArray",value:function(t){if(!e.isObjectArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isDate(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertDateArray",value:function(t){if(!e.isDateArray(t))throw new Error("Assertion fail: variable is not a Date array");return t}},{key:"isDateKeyObject",value:function(t){return e.validateTKeyObject(t,e.isDate)}},{key:"assertDateKeyObject",value:function(t){if(!e.isDateKeyObject(t))throw new Error("Assertion fail: variable is not a Date key object");return t}},{key:"isDateEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isDate,n)}},{key:"assertDateEnumObject",value:function(t,n){if(!e.isDateEnumObject(t,n))throw new Error("Assertion fail: variable is not a Date key object");return t}},{key:"isDateOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isDate)}},{key:"assertDateOrUndefinedKeyObject",value:function(t){if(!e.isDateOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a Date or undefined key object");return t}},{key:"isDateOrUndefinedEnumObject",value:function(t,n){return e.validateTOrUndefinedEnumObject(t,e.isDate,n)}},{key:"assertDateOrUndefinedEnumObject",value:function(t,n){if(!e.isDateOrUndefinedEnumObject(t,n))throw new Error("Assertion fail: variable is not a Date or undefined key object");return t}},{key:"isDateArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isDateArray)}},{key:"assertDateArrayKeyObject",value:function(t){if(!e.isDateArrayKeyObject(t))throw new Error("Assertion fail: variable is not a Date array key object");return t}},{key:"isDateArrayEnumObject",value:function(t,n){return e.validateTEnumObject(t,e.isDateArray,n)}},{key:"assertDateArrayEnumObject",value:function(t,n){if(!e.isDateArrayEnumObject(t,n))throw new Error("Assertion fail: variable is not a Date array key object");return t}},{key:"isPropertyObject",value:function(t){return!!e.isObject(t)&&!e.isArray(t)&&!e.isDate(t)&&e.isStringArray(Object.keys(t))}},{key:"assertPropertyObject",value:function(t){if(!e.isPropertyObject(t))throw new Error("Assertion fail: variable is not a property object");return t}},{key:"isEncoded",value:function(t){if(!e.isDefined(t))return!1;if(null===t)return!0;if(e.isPrimative(t))return!0;if(e.isDate(t))return!1;if(e.isArray(t)){var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isEncoded(o))return!1}}catch(c){r.e(c)}finally{r.f()}return!0}if(e.isObject(t)){for(var i=0,a=Object.keys(t);i<a.length;i++){var s=a[i];if(!e.isDefined(t[s]))return!1;if(!e.isEncoded(t[s]))return!1}return!0}return!1}},{key:"isEncodedObject",value:function(t){return!!e.isPropertyObject(t)&&e.isEncoded(t)}},{key:"assertEncodedObject",value:function(t){if(!e.isEncodedObject(t))throw new Error("Assertion fail: variable is not an encoded object");return t}},{key:"isT",value:function(t,n){return!!e.isObject(t)&&n(t)}},{key:"assertT",value:function(t,n,r){if(!e.isT(t,n))throw new Error("Assertion fail: variable is not an object of type "+r);return t}},{key:"isTArray",value:function(t,n){if(!e.isObjectArray(t))return!1;var r,o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(!e.isT(i,n))return!1}}catch(a){o.e(a)}finally{o.f()}return!0}},{key:"assertTArray",value:function(t,n,r){if(!e.isTArray(t,n))throw new Error("Assertion fail: variable is not an array of objects of type "+r);return t}},{key:"isTKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isT(t,n)}))}},{key:"assertTKeyObject",value:function(t,n,r){if(!e.isTKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isTEnumObject",value:function(t,n,r){return e.validateTEnumObject(t,(function(t){return e.isT(t,n)}),r)}},{key:"assertTEnumObject",value:function(t,n,r,o){if(!e.isTEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isTOrUndefinedKeyObject",value:function(t,n){return e.validateTOrUndefinedKeyObject(t,(function(t){return e.isT(t,n)}))}},{key:"assertTOrUndefinedKeyObject",value:function(t,n,r){if(!e.isTKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+r);return t}},{key:"isTOrUndefinedEnumObject",value:function(t,n,r){return e.validateTOrUndefinedEnumObject(t,(function(t){return e.isT(t,n)}),r)}},{key:"assertTOrUndefinedEnumObject",value:function(t,n,r,o){if(!e.isTEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+r);return t}},{key:"isTArrayKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isTArray(t,n)}))}},{key:"assertTArrayKeyObject",value:function(t,n,r){if(!e.isTArrayKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isTArrayEnumObject",value:function(t,n,r){return e.validateTEnumObject(t,(function(t){return e.isTArray(t,n)}),r)}},{key:"assertTArrayEnumObject",value:function(t,n,r,o){if(!e.isTArrayEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isEnum",value:function(t,n){return!!e.isString(t)&&void 0!==n(t)}},{key:"assertEnum",value:function(t,n,r){if(!e.isEnum(t,n))throw new Error("Assertion fail: variable is not an enum of type "+r);return t}},{key:"isEnumArray",value:function(t,n){if(!e.isStringArray(t))return!1;var r,o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(!e.isEnum(i,n))return!1}}catch(a){o.e(a)}finally{o.f()}return!0}},{key:"assertEnumArray",value:function(t,n,r){if(!e.isEnumArray(t,n))throw new Error("Assertion fail: variable is not an array of enums of type "+r);return t}},{key:"isEnumKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isEnum(t,n)}))}},{key:"assertEnumKeyObject",value:function(t,n,r){if(!e.isEnumKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumEnumObject",value:function(t,n,r){return e.validateTEnumObject(t,(function(t){return e.isEnum(t,n)}),r)}},{key:"assertEnumEnumObject",value:function(t,n,r,o){if(!e.isEnumEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumOrUndefinedKeyObject",value:function(t,n){return e.validateTOrUndefinedKeyObject(t,(function(t){return e.isEnum(t,n)}))}},{key:"assertEnumOrUndefinedKeyObject",value:function(t,n,r){if(!e.isEnumKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumOrUndefinedEnumObject",value:function(t,n,r){return e.validateTOrUndefinedEnumObject(t,(function(t){return e.isEnum(t,n)}),r)}},{key:"assertEnumOrUndefinedEnumObject",value:function(t,n,r,o){if(!e.isEnumEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumArrayKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isEnumArray(t,n)}))}},{key:"assertEnumArrayKeyObject",value:function(t,n,r){if(!e.isEnumArrayKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isEnumArrayEnumObject",value:function(t,n,r){return e.validateTEnumObject(t,(function(t){return e.isEnumArray(t,n)}),r)}},{key:"assertEnumArrayEnumObject",value:function(t,n,r,o){if(!e.isEnumArrayEnumObject(t,n,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"hasProperty",value:function(t,n,o){if(void 0!==o&&"string"!=typeof o)throw new Error("Type is invalid");if(!e.isPropertyObject(t))return!1;if(-1===Object.keys(t).indexOf(n))return!1;if(void 0===o)return!0;switch(o){case r.STRING:return e.isString(t[n]);case r.NUMBER:return e.isNumber(t[n]);case r.BOOLEAN:return e.isBoolean(t[n]);case r.OBJECT:return e.isObject(t[n]);case r.DATE:return e.isDate(t[n]);default:throw new Error("Unknown variable type")}}},{key:"hasPropertyNumber",value:function(t,n){return e.hasProperty(t,n,r.NUMBER)}},{key:"hasPropertyString",value:function(t,n){return e.hasProperty(t,n,r.STRING)}},{key:"hasPropertyBoolean",value:function(t,n){return e.hasProperty(t,n,r.BOOLEAN)}},{key:"hasPropertyObject",value:function(t,n){return e.hasProperty(t,n,r.OBJECT)}},{key:"hasPropertyDate",value:function(t,n){return e.hasProperty(t,n,r.DATE)}},{key:"hasPropertyArray",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isArray(t[n])}},{key:"hasPropertyEnum",value:function(t,n,r){return e.hasPropertyString(t,n)&&r(t[n])}},{key:"hasPropertyEnumArray",value:function(t,n,r){if(!e.hasPropertyStringArray(t,n))return!1;var o,i=_createForOfIteratorHelper(t[n]);try{for(i.s();!(o=i.n()).done;){if(!r(o.value))return!1}}catch(a){i.e(a)}finally{i.f()}return!0}},{key:"hasPropertyT",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isT(t[n],r)}},{key:"hasPropertyTArray",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isTArray(t[n],r)}},{key:"hasPropertyTKeyObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isTKeyObject(t[n],r)}},{key:"hasPropertyTEnumObject",value:function(t,n,r,o){return e.hasPropertyObject(t,n)&&e.isTEnumObject(t[n],r,o)}},{key:"hasPropertyNumberArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isNumberArray(t[n])}},{key:"hasPropertyNumberKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isNumberKeyObject(t[n])}},{key:"hasPropertyNumberEnumObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isNumberEnumObject(t[n],r)}},{key:"hasPropertyStringArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isStringArray(t[n])}},{key:"hasPropertyStringKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isStringKeyObject(t[n])}},{key:"hasPropertyStringEnumObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isStringEnumObject(t[n],r)}},{key:"hasPropertyBooleanArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isBooleanArray(t[n])}},{key:"hasPropertyBooleanKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isBooleanKeyObject(t[n])}},{key:"hasPropertyBooleanEnumObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isBooleanEnumObject(t[n],r)}},{key:"hasPropertyDateArray",value:function(t,n){return e.hasPropertyTArray(t,n,e.isDate)}},{key:"hasPropertyDateKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isDateKeyObject(t[n])}},{key:"hasPropertyDateEnumObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isDateEnumObject(t[n],r)}},{key:"hasPropertyObjectArray",value:function(t,n){return e.hasPropertyTArray(t,n,e.isObject)}},{key:"hasPropertyObjectKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isObjectKeyObject(t[n])}},{key:"hasPropertyObjectEnumObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isObjectEnumObject(t[n],r)}},{key:"hasPropertyNumberOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumber(t,n)}},{key:"hasPropertyStringOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyString(t,n)}},{key:"hasPropertyBooleanOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBoolean(t,n)}},{key:"hasPropertyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyObject(t,n)}},{key:"hasPropertyDateOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyDate(t,n)}},{key:"hasPropertyArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyArray(t,n)}},{key:"hasPropertyEnumOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyEnum(t,n,r)}},{key:"hasPropertyEnumArrayOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyEnumArray(t,n,r)}},{key:"hasPropertyTOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyT(t,n,r)}},{key:"hasPropertyTArrayOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyTArray(t,n,r)}},{key:"hasPropertyTKeyObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyTKeyObject(t,n,r)}},{key:"hasPropertyTEnumObjectOrUndefined",value:function(t,n,r,o){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyTEnumObject(t,n,r,o)}},{key:"hasPropertyNumberArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumberArray(t,n)}},{key:"hasPropertyNumberKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumberKeyObject(t,n)}},{key:"hasPropertyNumberEnumObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumberEnumObject(t,n,r)}},{key:"hasPropertyStringArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyStringArray(t,n)}},{key:"hasPropertyStringKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyStringKeyObject(t,n)}},{key:"hasPropertyStringEnumObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyStringEnumObject(t,n,r)}},{key:"hasPropertyBooleanArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBooleanArray(t,n)}},{key:"hasPropertyBooleanKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBooleanKeyObject(t,n)}},{key:"hasPropertyBooleanEnumObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBooleanEnumObject(t,n,r)}},{key:"hasPropertyDateArrayOrUndefined",value:function(t,n){return e.hasPropertyTArrayOrUndefined(t,n,e.isDate)}},{key:"hasPropertyDateKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyDateKeyObject(t,n)}},{key:"hasPropertyDateEnumObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyDateEnumObject(t,n,r)}},{key:"hasPropertyObjectArrayOrUndefined",value:function(t,n){return e.hasPropertyTArrayOrUndefined(t,n,e.isObject)}},{key:"hasPropertyObjectKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyObjectKeyObject(t,n)}},{key:"hasPropertyObjectEnumObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyObjectEnumObject(t,n,r)}},{key:"valueOrDefault",value:function(e,t){return void 0===e?t:e}},{key:"trimStringOrUndefined",value:function(t){if(!e.isBlank(t)&&""!==(t=t.toString().trim()))return t}},{key:"isBlank",value:function(e){return null==e||""===e}},{key:"isLooselyEqual",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e.isBlank(t)&&e.isBlank(n))return!0;if(e.isDate(t)&&e.isDate(n)&&t.getTime()===n.getTime())return!0;if(e.isDate(t)&&"string"==typeof n&&i.CommonsDate.dateToYmdHis(t,o)===n)return!0;if(e.isDate(n)&&"string"==typeof t&&i.CommonsDate.dateToYmdHis(n,o)===t)return!0;if("string"==typeof t&&"string"==typeof n){if(t.trim()===n.trim())return!0;if(r&&t.toLowerCase().trim()===n.toLowerCase().trim())return!0}return"number"==typeof t&&"string"==typeof n&&""+t===n||"number"==typeof n&&"string"==typeof t&&""+n===t||"boolean"==typeof t&&"string"==typeof n&&(t?"true":"false")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"true":"false")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"1":"0")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"1":"0")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"yes":"no")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"yes":"no")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"on":"off")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"on":"off")===t.toLowerCase().trim()||"boolean"==typeof t&&"number"==typeof n&&(t?1:0)===n||"boolean"==typeof n&&"number"==typeof t&&(n?1:0)===t||t===n}},{key:"checkboxBoolean",value:function(t){return e.isLooselyEqual(!0,t)}},{key:"encode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===t)return null;if(e.isPrimative(t))return t;if(e.isDate(t))return i.CommonsDate.dateToYmdHis(t,n);if(Array.isArray(t)){var r,o=[],a=t,s=_createForOfIteratorHelper(a);try{for(s.s();!(r=s.n()).done;){var c=r.value;o.push(e.encode(c,n))}}catch(p){s.e(p)}finally{s.f()}return o}if(e.isObject(t)){for(var u={},l=t,h=0,d=Object.keys(l);h<d.length;h++){var f=d[h];void 0!==l[f]&&(u[f]=e.encode(l[f],n))}return u}return t}},{key:"encodePropertyObject",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.encode(t,n)}},{key:"decode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===t)return null;if(e.isPrimative(t)){if(e.isString(t)){if(i.CommonsDate.isYmdHis(t))return i.CommonsDate.YmdHisToDate(t,n);if(i.CommonsDate.isYmd(t))return i.CommonsDate.YmdToDate(t,n);if(o.COMMONS_REGEX_PATTERN_DATE_ECMA.test(t))return new Date(t)}return t}if(Array.isArray(t)){var r,a=[],s=t,c=_createForOfIteratorHelper(s);try{for(c.s();!(r=c.n()).done;){var u=r.value;a.push(e.decode(u,n))}}catch(m){c.e(m)}finally{c.f()}return a}if(e.isObject(t)){for(var l={},h=t,d=0,f=Object.keys(h);d<f.length;d++){var p=f[d];void 0!==h[p]&&(l[p]=e.decode(h[p],n))}return l}return t}},{key:"decodePropertyObject",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.decode(t,n)}},{key:"assertArrayLengths",value:function(t,n){var r=e.assertArray(t),o=e.assertArray(n);if(r.length!==o.length)throw new Error("Assertion fail: two arrays are not the same length")}}]),e}();t.CommonsType=a},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return e&&"number"==typeof e.length&&"function"!=typeof e}},Imd5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"unicodeToAscii",value:function(e){return e.replace(/[\u007F-\uFFFF]/g,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)}))}},{key:"asciiToUnicode",value:function(e){return e.replace(/\\u[0-9a-f]{4}/g,(function(e){return String.fromCharCode(parseInt(e.substr(-4),16))}))}},{key:"asciiToHex",value:function(e){return e.split("").map((function(e){return("0"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")}},{key:"hexToAscii",value:function(e){return e.length<2?"":e.match(/.{2}/g).map((function(e){return String.fromCharCode(parseInt(e,16))})).join("")}},{key:"unicodeToHex",value:function(t){return e.asciiToHex(e.unicodeToAscii(t))}},{key:"hexToUnicode",value:function(t){return e.asciiToUnicode(e.hexToAscii(t))}}]),e}();t.CommonsEncoding=r},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("7o/Q"),o=n("4I5i"),i=n("EY2u");function a(e){return function(t){return 0===e?Object(i.b)():t.lift(new s(e))}}var s=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new o.a}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new c(e,this.total))}}]),e}(),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).total=r,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}]),n}(r.a)},KFGy:function(e,t,n){var r=n("Vo14"),o=n("cpc2"),i=n("kSER"),a=n("2Dig"),s=n("QN7Q"),c=n("NOtv")("socket.io-client:socket"),u=n("TypT"),l=n("WLGk");e.exports=f;var h={connect:1,connect_error:1,connect_timeout:1,connecting:1,disconnect:1,error:1,reconnect:1,reconnect_attempt:1,reconnect_failed:1,reconnect_error:1,reconnecting:1,ping:1,pong:1},d=o.prototype.emit;function f(e,t,n){this.io=e,this.nsp=t,this.json=this,this.ids=0,this.acks={},this.receiveBuffer=[],this.sendBuffer=[],this.connected=!1,this.disconnected=!0,this.flags={},n&&n.query&&(this.query=n.query),this.io.autoConnect&&this.open()}o(f.prototype),f.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[a(e,"open",s(this,"onopen")),a(e,"packet",s(this,"onpacket")),a(e,"close",s(this,"onclose"))]}},f.prototype.open=f.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},f.prototype.send=function(){var e=i(arguments);return e.unshift("message"),this.emit.apply(this,e),this},f.prototype.emit=function(e){if(h.hasOwnProperty(e))return d.apply(this,arguments),this;var t=i(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:l(t))?r.BINARY_EVENT:r.EVENT,data:t,options:{}};return n.options.compress=!this.flags||!1!==this.flags.compress,"function"==typeof t[t.length-1]&&(c("emitting packet with ack id %d",this.ids),this.acks[this.ids]=t.pop(),n.id=this.ids++),this.connected?this.packet(n):this.sendBuffer.push(n),this.flags={},this},f.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},f.prototype.onopen=function(){if(c("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?u.encode(this.query):this.query;c("sending connect packet with query %s",e),this.packet({type:r.CONNECT,query:e})}else this.packet({type:r.CONNECT})},f.prototype.onclose=function(e){c("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},f.prototype.onpacket=function(e){if(e.nsp===this.nsp||e.type===r.ERROR&&"/"===e.nsp)switch(e.type){case r.CONNECT:this.onconnect();break;case r.EVENT:case r.BINARY_EVENT:this.onevent(e);break;case r.ACK:case r.BINARY_ACK:this.onack(e);break;case r.DISCONNECT:this.ondisconnect();break;case r.ERROR:this.emit("error",e.data)}},f.prototype.onevent=function(e){var t=e.data||[];c("emitting event %j",t),null!=e.id&&(c("attaching ack callback to event"),t.push(this.ack(e.id))),this.connected?d.apply(this,t):this.receiveBuffer.push(t)},f.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var o=i(arguments);c("sending ack %j",o),t.packet({type:l(o)?r.BINARY_ACK:r.ACK,id:e,data:o})}}},f.prototype.onack=function(e){var t=this.acks[e.id];"function"==typeof t?(c("calling ack %s with %j",e.id,e.data),t.apply(this,e.data),delete this.acks[e.id]):c("bad ack %s",e.id)},f.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},f.prototype.emitBuffered=function(){var e;for(e=0;e<this.receiveBuffer.length;e++)d.apply(this,this.receiveBuffer[e]);for(this.receiveBuffer=[],e=0;e<this.sendBuffer.length;e++)this.packet(this.sendBuffer[e]);this.sendBuffer=[]},f.prototype.ondisconnect=function(){c("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},f.prototype.destroy=function(){if(this.subs){for(var e=0;e<this.subs.length;e++)this.subs[e].destroy();this.subs=null}this.io.destroy(this)},f.prototype.close=f.prototype.disconnect=function(){return this.connected&&(c("performing disconnect (%s)",this.nsp),this.packet({type:r.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},f.prototype.compress=function(e){return this.flags.compress=e,this},f.prototype.binary=function(e){return this.flags.binary=e,this}},KSuy:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.COMMONS_REGEX_PATTERN_NUMERIC=/^-?[0-9]{1,10}(\.[0-9]{1,64})?$/,t.COMMONS_REGEX_PATTERN_INT=/^-?[0-9]{1,10}$/,t.COMMONS_REGEX_PATTERN_ID=/^[0-9]{1,8}$/,t.COMMONS_REGEX_PATTERN_DIGIT=/^[0-9]$/,t.COMMONS_REGEX_PATTERN_ID_CHAR=/^[a-z0-9'#]$/i,t.COMMONS_REGEX_PATTERN_ID_NAME=/^[a-z0-9()'#]([-a-z0-9()'_#. ]{0,62}[-a-z0-9()'_#.])?$/i,t.COMMONS_REGEX_PATTERN_LETTER=/^[A-Z]$/,t.COMMONS_REGEX_PATTERN_LETTERDIGIT=/^[A-Z0-9]$/,t.COMMONS_REGEX_PATTERN_TEXT_255=/^.{1,255}$/,t.COMMONS_REGEX_PATTERN_MD5=/^[a-f0-9]{32}$/i,t.COMMONS_REGEX_PATTERN_SHA224=/^[a-f0-9]{56}$/i,t.COMMONS_REGEX_PATTERN_SHA256=/^[a-f0-9]{64}$/i,t.COMMONS_REGEX_PATTERN_SHA512=/^[a-f0-9]{128}$/i,t.COMMONS_REGEX_PATTERN_BASE36_ID=/^[0-9A-Z]{10}$/i,t.COMMONS_REGEX_PATTERN_BASE41_ID=/^[0-9A-Za-e]{6}$/,t.COMMONS_REGEX_PATTERN_BASE62_ID=/^[0-9A-Za-z]{8}$/,t.COMMONS_REGEX_PATTERN_HEXCOLOR=/^[a-f0-9]{6}$/i,t.COMMONS_REGEX_PATTERN_CSS_COLOR=/^#([0-9a-f]{3}){1,2}$/i,t.COMMONS_REGEX_PATTERN_DATE_DMY=/^([0-9]{2})\/([0-9]{2})\/([0-9]{4})$/,t.COMMONS_REGEX_PATTERN_DATETIME_DMYHI=/^([0-9]{2})\/([0-9]{2})\/([0-9]{4}) ([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_TIME_HI=/^([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATE_YMD=/^([0-9]{4})-([0-9]{2})-([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS=/^([0-9]{4})-([0-9]{2})-([0-9]{2}) ([0-9]{2}):([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_TIME_HIS=/^([0-9]{2}):([0-9]{2}):([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})$/,t.COMMONS_REGEX_PATTERN_DATE_ECMA=/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(\.[0-9]{3})?[A-Z]$/,t.COMMONS_REGEX_PATTERN_EMAIL=/^[-a-z0-9._%+']{1,64}@([-a-z0-9]{1,64}\.)*[-a-z]{2,12}$/i,t.COMMONS_REGEX_PATTERN_PHONE=/^[+()0-9#*]?[- +()0-9#*]*[0-9#*]$/,t.COMMONS_REGEX_PATTERN_URL=/^http(s)?:\/\/([a-z0-9][-a-z0-9]{0,62})(\.[a-z0-9][-a-z0-9]{0,62}){0,32}(:[0-9]+)?(\/[-a-z0-9\/._?&=!~*'():#\[\]@$+,;%]{0,940})?$/i,t.COMMONS_REGEX_PATTERN_IP=/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/i,t.COMMONS_REGEX_PATTERN_IPv4=/^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$/i,t.COMMONS_REGEX_PATTERN_IPv6=/^((([0-9a-f]{1,4}:){7,7}[0-9a-f]{1,4})|(([0-9a-f]{1,4}:){1,7}:)|(([0-9a-f]{1,4}:){1,6}:[0-9a-f]{1,4})|(([0-9a-f]{1,4}:){1,5}(:[0-9a-f]{1,4}){1,2})|(([0-9a-f]{1,4}:){1,4}(:[0-9a-f]{1,4}){1,3})|(([0-9a-f]{1,4}:){1,3}(:[0-9a-f]{1,4}){1,4})|(([0-9a-f]{1,4}:){1,2}(:[0-9a-f]{1,4}){1,5})|([0-9a-f]{1,4}:((:[0-9a-f]{1,4}){1,6}))|(:((:[0-9a-f]{1,4}){1,7}|:)))$/i},KqfI:function(e,t,n){"use strict";function r(){}n.d(t,"a",(function(){return r}))},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("z+Ro"),o=n("yCtX"),i=n("jZKg");function a(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var a=t[t.length-1];return Object(r.a)(a)?(t.pop(),Object(i.a)(t,a)):Object(o.a)(t)}},Lhse:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},"Mm3/":function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return a}));var r=n("mrSG"),o=n("fXoL"),i=n("gFX4"),a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"buildOptions",value:function(e){var t={transports:["websocket","polling"]};if(e.startsWith("/"))t.path="".concat(e).concat(e.endsWith("/")?"":"/","socket.io");else{var n=/^http(?:s?):\/\/[^\/]+\/(.+)$/i.exec(e);null!==n&&(t.path="/".concat(n[1]).concat(n[1].endsWith("/")?"":"/","socket.io"))}return t}},{key:"buildUrl",value:function(e){if(e.startsWith("/"))return"/";var t=/^(http(?:s?):\/\/[^\/]+\/).+$/i.exec(e);return null!==t?t[1]:e}}]),e}(),s=function(){function e(t,n,r){_classCallCheck(this,e),this.url=t,this.defaultEnabled=n,this.options=r,this.connectEmitter=new o.n(!0),this.disconnectEmitter=new o.n(!0),this.connected=!1}return _createClass(e,[{key:"connectObservable",value:function(){return this.connectEmitter}},{key:"disconnectObservable",value:function(){return this.disconnectEmitter}},{key:"connect",value:function(e){var t=this;if(this.socket)return!0;var n=this.options||{};if(e){for(var r=[],o=0,a=Object.keys(e);o<a.length;o++){var s=a[o];r.push("".concat(s,"=").concat(e[s]))}n.query=r.join("&")}return this.socket=Object(i.connect)(this.url,n),!!this.socket&&(this.socket.on("connect",(function(){t.connected=!0,void 0===t.enabled&&(t.enabled=!1!==t.defaultEnabled),t.connectEmitter.emit()})),this.socket.on("disconnect",(function(){t.connected=!1,t.disconnectEmitter.emit()})),this.setupOns(),!0)}},{key:"connectAndAwait",value:function(e,t){var n=this;return new Promise((function(r,o){var i,a,s;n.connect(t)?n.connected?r(!0):(i=n.connectEmitter.subscribe((function(){s&&clearTimeout(s),i&&i.unsubscribe(),a&&a.unsubscribe(),r(!0)})),a=n.disconnectEmitter.subscribe((function(){s&&clearTimeout(s),i&&i.unsubscribe(),a&&a.unsubscribe(),r(!1)})),s=setTimeout((function(){s&&clearTimeout(s),i&&i.unsubscribe(),a&&a.unsubscribe(),r(!1)}),e)):r(!1)}))}},{key:"disconnect",value:function(){void 0!==this.socket&&this.socket.disconnect()}},{key:"setEnabled",value:function(e){this.enabled=e}},{key:"getEnabled",value:function(){return!!this.enabled}},{key:"isConnected",value:function(){return void 0!==this.socket&&this.connected}},{key:"on",value:function(e,t){var n=this;this.socket&&this.socket.on(e,(function(e){n.isConnected()&&n.getEnabled()&&t(e)}))}},{key:"emit",value:function(e,t){return Object(r.a)(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r=this;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",new Promise((function(n,o){void 0!==r.socket?r.isConnected()?r.getEnabled()?r.socket.emit(e,t,(function(e){n(e)})):o("Not enabled"):o("Not connected"):o("No socket yet")})));case 1:case"end":return n.stop()}}),n)})))}}]),e}()},NJ4a:function(e,t,n){"use strict";function r(e){setTimeout((function(){throw e}),0)}n.d(t,"a",(function(){return r}))},NOtv:function(e,t,n){t.log=function(){var e;return"object"==typeof console&&console.log&&(e=console).log.apply(e,arguments)},t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),this.useColors){var n="color: "+this.color;t.splice(1,0,n,"color: inherit");var r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)}},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){var e;try{e=t.storage.getItem("debug")}catch(n){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],e.exports=n("3JDX")(t),e.exports.formatters.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},NlqC:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("z1W9")),r(n("EdyX")),r(n("gQEu")),r(n("3liX"))},Nq7k:function(e,t,n){function r(e){var n;function r(){if(r.enabled){var e=r,o=+new Date,i=o-(n||o);e.diff=i,e.prev=n,e.curr=o,n=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var c=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;c++;var o=t.formatters[r];return"function"==typeof o&&(n=o.call(e,a[c]),a.splice(c,1),c--),n})),t.formatArgs.call(e,a);var u=r.log||t.log||console.log.bind(console);u.apply(e,a)}}return r.namespace=e,r.enabled=t.enabled(e),r.useColors=t.useColors(),r.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),r.destroy=o,"function"==typeof t.init&&t.init(r),t.instances.push(r),r}function o(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=r.debug=r.default=r).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){var n;t.save(e),t.names=[],t.skips=[];var r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")));for(n=0;n<t.instances.length;n++){var i=t.instances[n];i.enabled=t.enabled(i.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n("uDUn"),t.instances=[],t.names=[],t.skips=[],t.formatters={}},Ovbl:function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"b",(function(){return _})),n.d(t,"c",(function(){return C}));var r=n("hi8z"),o=n("RPfa"),i=n("ofXK"),a=n("v8Qv"),s=n("k4C/"),c=n("A5Bq"),u=n("fXoL");function l(e,t){if(1&e&&(u.Qb(0,"th"),u.zc(1),u.Pb()),2&e){var n=t.$implicit;u.zb(1),u.Ac(n)}}function h(e,t){if(1&e&&(u.Qb(0,"td"),u.zc(1),u.dc(2,"commonsPrettyFigure"),u.Pb()),2&e){var n=t.$implicit,r=u.cc();u.zb(1),u.Ac(u.ec(2,1,r.tallies.get(n)))}}function d(e,t){if(1&e&&(u.Qb(0,"label"),u.zc(1),u.Pb()),2&e){var n=u.cc(2);u.zb(1),u.Ac(n.leftLabel)}}function f(e,t){if(1&e&&(u.Qb(0,"aside"),u.zc(1),u.dc(2,"commonsPrettyPercentage"),u.Pb()),2&e){var n=u.cc(2);u.zb(1),u.Ac(u.fc(2,1,n.leftPercent,!0))}}function p(e,t){if(1&e&&(u.Qb(0,"div",3),u.xc(1,d,2,1,"label",4),u.Qb(2,"figure"),u.zc(3),u.dc(4,"commonsPrettyFigure"),u.xc(5,f,3,4,"aside",4),u.Pb(),u.Pb()),2&e){var n=u.cc();u.zb(1),u.jc("ngIf",n.leftLabel),u.zb(2),u.Ac(u.ec(4,3,n.left)),u.zb(2),u.jc("ngIf",n.leftPercent)}}function m(e,t){if(1&e&&(u.Qb(0,"label"),u.zc(1),u.Pb()),2&e){var n=u.cc(2);u.zb(1),u.Ac(n.rightLabel)}}function g(e,t){if(1&e&&(u.Qb(0,"aside"),u.zc(1),u.dc(2,"commonsPrettyPercentage"),u.Pb()),2&e){var n=u.cc(2);u.zb(1),u.Ac(u.fc(2,1,n.rightPercent,!0))}}function y(e,t){if(1&e&&(u.Qb(0,"div",5),u.xc(1,m,2,1,"label",4),u.Qb(2,"figure"),u.zc(3),u.dc(4,"commonsPrettyFigure"),u.xc(5,g,3,4,"aside",4),u.Pb(),u.Pb()),2&e){var n=u.cc();u.zb(1),u.jc("ngIf",n.rightLabel),u.zb(2),u.Ac(u.ec(4,3,n.right)),u.zb(2),u.jc("ngIf",n.rightPercent)}}n("zCZe");var b=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).labels=[],e.tallies=new Map,e}return n}(r.a);return e.\u0275fac=function(t){return v(t||e)},e.\u0275cmp=u.Fb({type:e,selectors:[["commons-figure-tally-bar"]],inputs:{labels:"labels",tallies:"tallies"},features:[u.wb],decls:7,vars:26,consts:[[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(u.Qb(0,"table"),u.Qb(1,"thead"),u.Qb(2,"tr"),u.xc(3,l,2,1,"th",0),u.Pb(),u.Pb(),u.Qb(4,"tbody"),u.Qb(5,"tr"),u.xc(6,h,3,3,"td",0),u.Pb(),u.Pb(),u.Pb()),2&e&&(u.Cb("cols-1",1===t.labels.length)("cols-2",2===t.labels.length)("cols-3",3===t.labels.length)("cols-4",4===t.labels.length)("cols-5",5===t.labels.length)("cols-6",6===t.labels.length)("cols-7",7===t.labels.length)("cols-8",8===t.labels.length)("cols-9",9===t.labels.length)("cols-10",10===t.labels.length)("cols-11",11===t.labels.length)("cols-12",12===t.labels.length),u.zb(3),u.jc("ngForOf",t.labels),u.zb(3),u.jc("ngForOf",t.labels))},directives:[i.i],pipes:[a.a],styles:["@charset 'utf8';table.cols-0[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-0[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 0)}table.cols-2[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-2[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 2)}table.cols-3[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-3[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 3)}table.cols-4[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-4[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 4)}table.cols-5[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-5[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 5)}table.cols-6[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-6[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 6)}table.cols-7[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-7[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 7)}table.cols-8[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-8[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 8)}table.cols-9[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-9[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 9)}table[_ngcontent-%COMP%]{table-layout:fixed;width:100%}table[_ngcontent-%COMP%], tbody[_ngcontent-%COMP%], td[_ngcontent-%COMP%], th[_ngcontent-%COMP%], thead[_ngcontent-%COMP%], tr[_ngcontent-%COMP%]{margin:0;padding:0;border:0}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{text-align:center;font-family:Roboto}table.cols-1[_ngcontent-%COMP%] td[_ngcontent-%COMP%], table.cols-1[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{width:calc(100% / 1)}th[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:20px}body.webappcommons-theme-blue[_nghost-%COMP%] th[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] th[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-darkred[_nghost-%COMP%] th[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] th[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-nightoil[_nghost-%COMP%] th[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] th[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple[_nghost-%COMP%] th[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] th[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra[_nghost-%COMP%] th[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] th[_ngcontent-%COMP%]{color:#999}td[_ngcontent-%COMP%]{font-size:34px;font-weight:400;line-height:34px}body.webappcommons-theme-blue[_nghost-%COMP%] td[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] td[_ngcontent-%COMP%]{color:#304ffe}body.webappcommons-theme-darkred[_nghost-%COMP%] td[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] td[_ngcontent-%COMP%]{color:#d50000}body.webappcommons-theme-nightoil[_nghost-%COMP%] td[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] td[_ngcontent-%COMP%]{color:#104e7c}body.webappcommons-theme-purple[_nghost-%COMP%] td[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] td[_ngcontent-%COMP%]{color:#609}body.webappcommons-theme-hydra[_nghost-%COMP%] td[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] td[_ngcontent-%COMP%]{color:#54637a}"]}),e}(),v=u.Sb(b),_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).label="",r}return n}(o.f);return e.\u0275fac=function(t){return new(t||e)(u.Lb(o.g))},e.\u0275cmp=u.Fb({type:e,selectors:[["commons-figure-tally-summary"]],inputs:{label:"label",tally:"tally",leftLabel:"leftLabel",left:"left",leftPercent:"leftPercent",rightLabel:"rightLabel",right:"right",rightPercent:"rightPercent"},features:[u.wb],decls:8,vars:6,consts:[[1,"main"],["class","left",4,"ngIf"],["class","right",4,"ngIf"],[1,"left"],[4,"ngIf"],[1,"right"]],template:function(e,t){1&e&&(u.Qb(0,"div",0),u.Qb(1,"label"),u.zc(2),u.Pb(),u.Qb(3,"figure"),u.zc(4),u.dc(5,"commonsPrettyFigure"),u.Pb(),u.Pb(),u.xc(6,p,6,5,"div",1),u.xc(7,y,6,5,"div",2)),2&e&&(u.zb(2),u.Ac(t.label),u.zb(2),u.Ac(u.ec(5,4,t.tally)),u.zb(2),u.jc("ngIf",t.leftLabel),u.zb(1),u.jc("ngIf",t.rightLabel))},directives:[i.j],pipes:[a.a,a.c],styles:["@charset 'utf8';div[_ngcontent-%COMP%]{display:block;box-sizing:border-box;margin:0;padding:0}div.main[_ngcontent-%COMP%]{width:100%}div.left[_ngcontent-%COMP%], div.right[_ngcontent-%COMP%]{display:inline-block;width:50%;margin-top:10px}figure[_ngcontent-%COMP%], label[_ngcontent-%COMP%]{display:block;box-sizing:border-box;margin:0;padding:0;width:100%;text-align:center;font-family:Roboto}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#304ffe}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#7a7cff}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#d50000}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#ff5131}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#104e7c}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#8fadc5}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#609}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#bf73e6}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#54637a}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] figure[_ngcontent-%COMP%], body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#819ca9}label[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:20px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] label[_ngcontent-%COMP%]{color:#666}@media (max-width:1279px){label[_ngcontent-%COMP%]{font-size:16px;line-height:16px}}figure[_ngcontent-%COMP%]{font-size:45px;font-weight:400;line-height:45px}div.main[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{font-size:112px;font-weight:300;line-height:112px}@media (max-width:1279px){figure[_ngcontent-%COMP%]{font-size:34px;line-height:34px}div.main[_ngcontent-%COMP%] figure[_ngcontent-%COMP%]{font-size:56px;line-height:56px}}figure[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]{display:inline-block;margin-left:15px;font-size:20px;font-weight:400;line-height:20px}figure[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]:before{content:'('}figure[_ngcontent-%COMP%] aside[_ngcontent-%COMP%]:after{content:')'}"]}),e}(),C=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[]}}}]),e}();return e.\u0275mod=u.Jb({type:e}),e.\u0275inj=u.Ib({factory:function(t){return new(t||e)},imports:[[i.b,a.f,o.j,s.l,c.b]]}),e}()},PCNd:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var r,o,i=n("tyNb"),a=n("ofXK"),s=n("v8Qv"),c=n("RPfa"),u=n("k4C/"),l=n("Ovbl"),h=n("po00"),d=n("6HB4"),f=n("HIIe"),p=n("mrSG"),m=n("WB8P"),g=n("cu1R"),y=n("cScS"),b=n("vihK"),v=n("fXoL"),_=n("tk/3"),C=((r=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;_classCallCheck(this,n),(o=t.call(this,r.getUrl(),e)).configService=r;var i=o.configService.getConfig();return i.timeout&&o.setTimeout(i.timeout),o.reattempts=i.reattempts,i.reattemptTimeout&&o.setReattemptTimeout(i.reattemptTimeout),o}return _createClass(n,[{key:"getStatusTallies",value:function(){var e=this,t=Object.create(null,{get:{get:function(){return _get(_getPrototypeOf(n.prototype),"get",e)}}});return Object(p.a)(this,void 0,void 0,regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.get.call(this,"statistics/status",void 0,this.reattempts);case 2:return r=e.sent,e.abrupt("return",n.parseStatusTallies(r));case 4:case"end":return e.stop()}}),e,this)})))}}],[{key:"parseStatusTallies",value:function(e){if(!m.CommonsType.isEncodedObject(e))throw new Error("Unable to parse status tallies");var t=m.CommonsType.decodePropertyObject(e);if(!Object(g.isTStatusTallies)(t))throw new Error("Object is not an instance of TStatusTallies");return t}}]),n}(y.a)).\u0275fac=function(e){return new(e||r)(v.Ub(_.a),v.Ub(b.a))},r.\u0275prov=v.Hb({token:r,factory:r.\u0275fac,providedIn:"root"}),r),O=n("5/2J"),k=((o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[C,O.a]}}}]),e}()).\u0275mod=v.Jb({type:o}),o.\u0275inj=v.Ib({factory:function(e){return new(e||o)},imports:[[a.b,i.i,c.j,u.l,s.f,l.c,h.c,d.c,f.b]]}),o)},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n("HDdC"),o=n("D0XW"),i=n("DH7j");function a(e){return!Object(i.a)(e)&&e-parseFloat(e)+1>=0}var s=n("z+Ro");function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,i=-1;return a(t)?i=Number(t)<1?1:Number(t):Object(s.a)(t)&&(n=t),Object(s.a)(n)||(n=o.a),new r.a((function(t){var r=a(e)?e:+e-n.now();return n.schedule(u,r,{index:0,period:i,subscriber:t})}))}function u(e){var t=e.index,n=e.period,r=e.subscriber;if(r.next(t),!r.closed){if(-1===n)return r.complete();e.index=t+1,this.schedule(e,n)}}},PswW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ"),o=n("cS81");t.isTUrlLinks=function(e){return!!r.CommonsType.isStringArrayEnumObject(e,o.isEDirection)&&!!Object.keys(e).includes(o.EDirection.INBOUND)&&!!Object.keys(e).includes(o.EDirection.OUTBOUND)}},Q2sQ:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("s3Rx")),r(n("X4s7")),r(n("aYxV")),r(n("+/2v"))},QN7Q:function(e,t){var n=[].slice;e.exports=function(e,t){if("string"==typeof t&&(t=e[t]),"function"!=typeof t)throw new Error("bind() requires a function");var r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"d",(function(){return f})),n.d(t,"e",(function(){return s})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return u})),n.d(t,"i",(function(){return h})),n.d(t,"j",(function(){return a})),n.d(t,"k",(function(){return p})),n.d(t,"l",(function(){return m}));var r=function e(){_classCallCheck(this,e)},o=function e(){_classCallCheck(this,e)},i="*";function a(e,t){return{type:7,name:e,definitions:t,options:{}}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:4,styles:t,timings:e}}function c(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{type:2,steps:e,options:t}}function u(e){return{type:6,styles:e,offset:null}}function l(e,t,n){return{type:0,name:e,styles:t,options:n}}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{type:1,expr:e,animation:t,options:n}}function d(e){Promise.resolve(null).then(e)}var f=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=t+n}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"init",value:function(){}},{key:"play",value:function(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}},{key:"triggerMicrotask",value:function(){var e=this;d((function(){return e._onFinish()}))}},{key:"_onStart",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"pause",value:function(){}},{key:"restart",value:function(){}},{key:"finish",value:function(){this._onFinish()}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){}},{key:"setPosition",value:function(e){}},{key:"getPosition",value:function(){return 0}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),p=function(){function e(t){var n=this;_classCallCheck(this,e),this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=t;var r=0,o=0,i=0,a=this.players.length;0==a?d((function(){return n._onFinish()})):this.players.forEach((function(e){e.onDone((function(){++r==a&&n._onFinish()})),e.onDestroy((function(){++o==a&&n._onDestroy()})),e.onStart((function(){++i==a&&n._onStart()}))})),this.totalTime=this.players.reduce((function(e,t){return Math.max(e,t.totalTime)}),0)}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this.players.forEach((function(e){return e.init()}))}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"_onStart",value:function(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[])}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach((function(e){return e.play()}))}},{key:"pause",value:function(){this.players.forEach((function(e){return e.pause()}))}},{key:"restart",value:function(){this.players.forEach((function(e){return e.restart()}))}},{key:"finish",value:function(){this._onFinish(),this.players.forEach((function(e){return e.finish()}))}},{key:"destroy",value:function(){this._onDestroy()}},{key:"_onDestroy",value:function(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach((function(e){return e.destroy()})),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"reset",value:function(){this.players.forEach((function(e){return e.reset()})),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"setPosition",value:function(e){var t=e*this.totalTime;this.players.forEach((function(e){var n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)}))}},{key:"getPosition",value:function(){var e=0;return this.players.forEach((function(t){var n=t.getPosition();e=Math.min(n,e)})),e}},{key:"beforeDestroy",value:function(){this.players.forEach((function(e){e.beforeDestroy&&e.beforeDestroy()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}}]),e}(),m="!"},R5ff:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("/seU")),r(n("5E2r")),r(n("iWUv")),r(n("a7pM")),r(n("ncEt")),r(n("xChw")),r(n("4Mep")),r(n("PswW"))},RPfa:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return v})),n.d(t,"d",(function(){return y})),n.d(t,"e",(function(){return p})),n.d(t,"f",(function(){return g})),n.d(t,"g",(function(){return m})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return f})),n.d(t,"j",(function(){return C}));var r=n("WB8P"),o=n("fXoL"),i=n("zCZe"),a=n("hi8z"),s=n("ofXK");function c(e,t){if(1&e&&(o.Qb(0,"h4"),o.zc(1),o.Pb()),2&e){var n=o.cc();o.zb(1),o.Ac(n.title)}}var u=["*"],l=["commons-button",""];function h(e,t){if(1&e){var n=o.Rb();o.Qb(0,"i",6),o.Yb("click",(function(){return o.qc(n),o.cc().onClose.emit()})),o.zc(1,"close"),o.Pb()}}var d={LIGHT:"light",DARK:"dark"},f={MATERIALDESIGN:"material-design",MATERIALDESIGN3:"material-design-3",MDI:"mdi"},p=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"stringToTheme",value:function(e){switch(e){case"light":return d.LIGHT;case"dark":return d.DARK;default:return}}},{key:"themeToString",value:function(e){switch(e){case d.LIGHT:return"light";case d.DARK:return"dark"}}},{key:"getFromConfig",value:function(t){var n=t.getString("system","default-theme");if(void 0!==n)return e.stringToTheme(r.CommonsType.assertString(n))}}]),e}(),m=function(){var e=function(){function e(t){_classCallCheck(this,e),this.onThemeChange=new o.n(!0);var n=t.getString("theme","default");if(n){var r=p.stringToTheme(n);this.currentTheme=void 0!==r?r:d.LIGHT}else this.currentTheme=d.LIGHT}return _createClass(e,[{key:"themeChangeObservable",value:function(){return this.onThemeChange}},{key:"getCurrentTheme",value:function(){return this.currentTheme}},{key:"themeChange",value:function(e){this.currentTheme=e,this.onThemeChange.emit(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Ub(i.a))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Hb)({factory:function(){return new e(Object(o.Ub)(i.a))},token:e,providedIn:"root"}),e}(),g=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).themeService=e,r.ECommonsTheme=d,r.isThemeLight=!1,r.isThemeDark=!1,r.theme=r.themeService.getCurrentTheme(),r.updateHostBinding(),r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.theme=this.themeService.getCurrentTheme(),this.updateHostBinding(),this.subscribe(this.themeService.themeChangeObservable(),(function(t){e.theme=t,e.updateHostBinding()}))}},{key:"updateHostBinding",value:function(){this.isThemeLight=this.theme===d.LIGHT,this.isThemeDark=this.theme===d.DARK}}]),n}(a.a);return e.\u0275fac=function(e){o.Xb()},e.\u0275dir=o.Gb({type:e,hostVars:4,hostBindings:function(e,t){2&e&&o.Cb("theme-light",t.isThemeLight)("theme-dark",t.isThemeDark)},features:[o.wb]}),e}(),y=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(g);return e.\u0275fac=function(t){return new(t||e)(o.Lb(m))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-pane"]],inputs:{title:"title"},features:[o.wb],ngContentSelectors:u,decls:3,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"section"),o.xc(1,c,2,1,"h4",0),o.hc(2),o.Pb()),2&e&&(o.zb(1),o.jc("ngIf",t.title))},directives:[s.j],styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;box-sizing:border-box;padding:13px 20px;z-index:1000}h4[_ngcontent-%COMP%]{font-family:Roboto;font-weight:400;font-size:16px;margin:0 0 10px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] h4[_ngcontent-%COMP%]{color:#666}.no-top-gap[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding-top:0}.no-bottom-gap[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding-bottom:0}.no-padding[_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:0}.no-padding[_nghost-%COMP%] section[_ngcontent-%COMP%], .no-padding [_nghost-%COMP%] section[_ngcontent-%COMP%]{padding:0}.bigger-top-gap[_nghost-%COMP%] section[_ngcontent-%COMP%]{margin-top:15px}"]}),e}(),b=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(g);return e.\u0275fac=function(t){return new(t||e)(o.Lb(m))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-button",""]],features:[o.wb],attrs:l,ngContentSelectors:u,decls:1,vars:0,template:function(e,t){1&e&&(o.ic(),o.hc(0))},styles:["@charset 'utf8';[_nghost-%COMP%]{-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:Roboto;font-size:16px;line-height:16px;font-weight:500;text-transform:uppercase;box-sizing:border-box;padding:10px 16px;height:36px;min-width:64px;border:0;border-radius:2px;margin:4px;outline:0}.icon[_nghost-%COMP%]{width:44px;height:44px;border-radius:22px;padding:0;min-width:0;margin:2px}.icon.small[_nghost-%COMP%]{width:30px;height:30px;border-radius:15px}.icon.huge[_nghost-%COMP%]{width:100px;height:100px;border-radius:50px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%]{background-color:#fff;color:#304ffe}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%]:active{background-color:#fff;color:#fff350}body.webappcommons-theme-blue.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.raised[_nghost-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-blue.theme-light.raised[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-light.raised[_nghost-%COMP%]:active{background-color:#fff;color:#ffc107}body.webappcommons-theme-blue.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.filled[_nghost-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-blue.theme-light.filled[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-light.filled[_nghost-%COMP%]:active{background-color:#ffc107;color:#000}body.webappcommons-theme-blue.theme-light.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.filled.secondary[_nghost-%COMP%]{background-color:#ffc107;color:#000}body.webappcommons-theme-blue.theme-light.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-light.filled[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2}body.webappcommons-theme-blue.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-blue.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.raised[_nghost-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-blue.theme-light.transparent[_nghost-%COMP%], body.webappcommons-theme-blue .theme-light.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-blue.theme-light.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-light.icon.filled[_nghost-%COMP%]:disabled{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%]{background-color:#000;color:#304ffe}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%]:active{background-color:#000;color:#c79100}body.webappcommons-theme-blue.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.raised[_nghost-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-blue.theme-dark.raised[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-dark.raised[_nghost-%COMP%]:active{background-color:#000;color:#ffc107}body.webappcommons-theme-blue.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.filled[_nghost-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-blue.theme-dark.filled[_nghost-%COMP%]:active, body.webappcommons-theme-blue .theme-dark.filled[_nghost-%COMP%]:active{background-color:#ffc107;color:#000}body.webappcommons-theme-blue.theme-dark.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.filled.secondary[_nghost-%COMP%]{background-color:#ffc107;color:#000}body.webappcommons-theme-blue.theme-dark.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-dark.filled[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2}body.webappcommons-theme-blue.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-blue.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.raised[_nghost-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-blue.theme-dark.transparent[_nghost-%COMP%], body.webappcommons-theme-blue .theme-dark.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-blue.theme-dark.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-blue .theme-dark.icon.filled[_nghost-%COMP%]:disabled{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%]{background-color:#212121;color:#d50000}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%]:active{background-color:#212121;color:#ffff72}body.webappcommons-theme-darkred.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.raised[_nghost-%COMP%]{background-color:#212121;color:#b8b8b8}body.webappcommons-theme-darkred.theme-light.raised[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-light.raised[_nghost-%COMP%]:active{background-color:#212121;color:#ffeb3b}body.webappcommons-theme-darkred.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.filled[_nghost-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-darkred.theme-light.filled[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-light.filled[_nghost-%COMP%]:active{background-color:#ffeb3b;color:#000}body.webappcommons-theme-darkred.theme-light.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.filled.secondary[_nghost-%COMP%]{background-color:#ffeb3b;color:#000}body.webappcommons-theme-darkred.theme-light.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-light.filled[_nghost-%COMP%]:disabled{background-color:#212121;color:#4e4e4e}body.webappcommons-theme-darkred.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-darkred.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.raised[_nghost-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(222,222,222,.5)}body.webappcommons-theme-darkred.theme-light.transparent[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-light.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%]:disabled{background-color:#212121;color:#4e4e4e;box-shadow:none}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-darkred.theme-light.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-light.icon.filled[_nghost-%COMP%]:disabled{box-shadow:.7px 1px 5px -.3px rgba(222,222,222,.5)}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%]{background-color:#dedede;color:#d50000}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%]:active{background-color:#dedede;color:#c8b900}body.webappcommons-theme-darkred.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.raised[_nghost-%COMP%]{background-color:#dedede;color:#474747}body.webappcommons-theme-darkred.theme-dark.raised[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-dark.raised[_nghost-%COMP%]:active{background-color:#dedede;color:#ffeb3b}body.webappcommons-theme-darkred.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.filled[_nghost-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-darkred.theme-dark.filled[_nghost-%COMP%]:active, body.webappcommons-theme-darkred .theme-dark.filled[_nghost-%COMP%]:active{background-color:#ffeb3b;color:#000}body.webappcommons-theme-darkred.theme-dark.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.filled.secondary[_nghost-%COMP%]{background-color:#ffeb3b;color:#000}body.webappcommons-theme-darkred.theme-dark.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-dark.filled[_nghost-%COMP%]:disabled{background-color:#dedede;color:#4e4e4e}body.webappcommons-theme-darkred.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-darkred.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.raised[_nghost-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(33,33,33,.5)}body.webappcommons-theme-darkred.theme-dark.transparent[_nghost-%COMP%], body.webappcommons-theme-darkred .theme-dark.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%]:disabled{background-color:#dedede;color:#4e4e4e;box-shadow:none}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-darkred.theme-dark.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-darkred .theme-dark.icon.filled[_nghost-%COMP%]:disabled{box-shadow:-.7px -1px 5px -.3px rgba(33,33,33,.5)}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%]{background-color:#fff;color:#104e7c}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%]:active{background-color:#fff;color:#e8d9bf}body.webappcommons-theme-nightoil.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.raised[_nghost-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-nightoil.theme-light.raised[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-light.raised[_nghost-%COMP%]:active{background-color:#fff;color:#e7c385}body.webappcommons-theme-nightoil.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.filled[_nghost-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-nightoil.theme-light.filled[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-light.filled[_nghost-%COMP%]:active{background-color:#e7c385;color:#000}body.webappcommons-theme-nightoil.theme-light.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.filled.secondary[_nghost-%COMP%]{background-color:#e7c385;color:#000}body.webappcommons-theme-nightoil.theme-light.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-light.filled[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2}body.webappcommons-theme-nightoil.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.raised[_nghost-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-nightoil.theme-light.transparent[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-light.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-nightoil.theme-light.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-light.icon.filled[_nghost-%COMP%]:disabled{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%]{background-color:#000;color:#104e7c}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%]:active{background-color:#000;color:#948467}body.webappcommons-theme-nightoil.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.raised[_nghost-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-nightoil.theme-dark.raised[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-dark.raised[_nghost-%COMP%]:active{background-color:#000;color:#e7c385}body.webappcommons-theme-nightoil.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.filled[_nghost-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-nightoil.theme-dark.filled[_nghost-%COMP%]:active, body.webappcommons-theme-nightoil .theme-dark.filled[_nghost-%COMP%]:active{background-color:#e7c385;color:#000}body.webappcommons-theme-nightoil.theme-dark.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.filled.secondary[_nghost-%COMP%]{background-color:#e7c385;color:#000}body.webappcommons-theme-nightoil.theme-dark.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-dark.filled[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2}body.webappcommons-theme-nightoil.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-nightoil.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.raised[_nghost-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-nightoil.theme-dark.transparent[_nghost-%COMP%], body.webappcommons-theme-nightoil .theme-dark.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-nightoil.theme-dark.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-nightoil .theme-dark.icon.filled[_nghost-%COMP%]:disabled{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%]{background-color:#fff;color:#609}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%]:active{background-color:#fff;color:#fff350}body.webappcommons-theme-purple.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.raised[_nghost-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-purple.theme-light.raised[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-light.raised[_nghost-%COMP%]:active{background-color:#fff;color:#fc3}body.webappcommons-theme-purple.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.filled[_nghost-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-purple.theme-light.filled[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-light.filled[_nghost-%COMP%]:active{background-color:#fc3;color:#000}body.webappcommons-theme-purple.theme-light.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.filled.secondary[_nghost-%COMP%]{background-color:#fc3;color:#000}body.webappcommons-theme-purple.theme-light.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-light.filled[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2}body.webappcommons-theme-purple.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-purple.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.raised[_nghost-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-purple.theme-light.transparent[_nghost-%COMP%], body.webappcommons-theme-purple .theme-light.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-purple.theme-light.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-light.icon.filled[_nghost-%COMP%]:disabled{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%]{background-color:#000;color:#609}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%]:active{background-color:#000;color:#c79100}body.webappcommons-theme-purple.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.raised[_nghost-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-purple.theme-dark.raised[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-dark.raised[_nghost-%COMP%]:active{background-color:#000;color:#fc3}body.webappcommons-theme-purple.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.filled[_nghost-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-purple.theme-dark.filled[_nghost-%COMP%]:active, body.webappcommons-theme-purple .theme-dark.filled[_nghost-%COMP%]:active{background-color:#fc3;color:#000}body.webappcommons-theme-purple.theme-dark.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.filled.secondary[_nghost-%COMP%]{background-color:#fc3;color:#000}body.webappcommons-theme-purple.theme-dark.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-dark.filled[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2}body.webappcommons-theme-purple.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-purple.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.raised[_nghost-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-purple.theme-dark.transparent[_nghost-%COMP%], body.webappcommons-theme-purple .theme-dark.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-purple.theme-dark.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-purple .theme-dark.icon.filled[_nghost-%COMP%]:disabled{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%]{background-color:#fff;color:#54637a}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%]:active{background-color:#fff;color:#ffff6b}body.webappcommons-theme-hydra.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.raised[_nghost-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-hydra.theme-light.raised[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-light.raised[_nghost-%COMP%]:active{background-color:#fff;color:#fdd835}body.webappcommons-theme-hydra.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.filled[_nghost-%COMP%]{background-color:#54637a;color:#fff}body.webappcommons-theme-hydra.theme-light.filled[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-light.filled[_nghost-%COMP%]:active{background-color:#fdd835;color:#000}body.webappcommons-theme-hydra.theme-light.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.filled.secondary[_nghost-%COMP%]{background-color:#fdd835;color:#000}body.webappcommons-theme-hydra.theme-light.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-light.filled[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2}body.webappcommons-theme-hydra.theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.filled[_nghost-%COMP%], body.webappcommons-theme-hydra.theme-light.raised[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.raised[_nghost-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-hydra.theme-light.transparent[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-light.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%]:disabled{background-color:#fff;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-hydra.theme-light.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-light.icon.filled[_nghost-%COMP%]:disabled{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5)}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%]{background-color:#000;color:#54637a}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%]:active{background-color:#000;color:#c6a700}body.webappcommons-theme-hydra.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.raised[_nghost-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-hydra.theme-dark.raised[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-dark.raised[_nghost-%COMP%]:active{background-color:#000;color:#fdd835}body.webappcommons-theme-hydra.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.filled[_nghost-%COMP%]{background-color:#54637a;color:#fff}body.webappcommons-theme-hydra.theme-dark.filled[_nghost-%COMP%]:active, body.webappcommons-theme-hydra .theme-dark.filled[_nghost-%COMP%]:active{background-color:#fdd835;color:#000}body.webappcommons-theme-hydra.theme-dark.filled.secondary[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.filled.secondary[_nghost-%COMP%]{background-color:#fdd835;color:#000}body.webappcommons-theme-hydra.theme-dark.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-dark.filled[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2}body.webappcommons-theme-hydra.theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.filled[_nghost-%COMP%], body.webappcommons-theme-hydra.theme-dark.raised[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.raised[_nghost-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}body.webappcommons-theme-hydra.theme-dark.transparent[_nghost-%COMP%], body.webappcommons-theme-hydra .theme-dark.transparent[_nghost-%COMP%]{background-color:none}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%]:disabled{background-color:#000;color:#c2c2c2;box-shadow:none}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%]:disabled.transparent, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%]:disabled.transparent{background-color:none}body.webappcommons-theme-hydra.theme-dark.icon.filled[_nghost-%COMP%]:disabled, body.webappcommons-theme-hydra .theme-dark.icon.filled[_nghost-%COMP%]:disabled{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5)}"]}),e}(),v=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).onClose=new o.n,r}return n}(g);return e.\u0275fac=function(t){return new(t||e)(o.Lb(m))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-info-line"]],inputs:{allowClose:"allowClose"},outputs:{onClose:"onClose"},features:[o.wb],ngContentSelectors:u,decls:13,vars:1,consts:[[1,"material-icons","info"],[1,"material-icons","error"],[1,"material-icons","notification"],[1,"material-icons","success"],[1,"material-icons","help"],["class","material-icons close",3,"click",4,"ngIf"],[1,"material-icons","close",3,"click"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"aside"),o.Qb(1,"i",0),o.zc(2,"info"),o.Pb(),o.Qb(3,"i",1),o.zc(4,"warning"),o.Pb(),o.Qb(5,"i",2),o.zc(6,"priority_high"),o.Pb(),o.Qb(7,"i",3),o.zc(8,"check"),o.Pb(),o.Qb(9,"i",4),o.zc(10,"lightbulb_outline"),o.Pb(),o.xc(11,h,2,0,"i",5),o.hc(12),o.Pb()),2&e&&(o.zb(11),o.jc("ngIf",t.allowClose))},directives:[s.j],styles:["@charset 'utf8';[_nghost-%COMP%] i.error[_ngcontent-%COMP%], [_nghost-%COMP%] i.help[_ngcontent-%COMP%], [_nghost-%COMP%] i.info[_ngcontent-%COMP%], [_nghost-%COMP%] i.notification[_ngcontent-%COMP%], [_nghost-%COMP%] i.subtle[_ngcontent-%COMP%], [_nghost-%COMP%] i.success[_ngcontent-%COMP%]{display:none}[info][_nghost-%COMP%] i.info[_ngcontent-%COMP%]{display:inline-block}[error][_nghost-%COMP%] i.error[_ngcontent-%COMP%]{display:inline-block}[notification][_nghost-%COMP%] i.notification[_ngcontent-%COMP%]{display:inline-block}[success][_nghost-%COMP%] i.success[_ngcontent-%COMP%]{display:inline-block}[help][_nghost-%COMP%] i.help[_ngcontent-%COMP%]{display:inline-block}[subtle][_nghost-%COMP%] i.info[_ngcontent-%COMP%]{display:inline-block}aside[_ngcontent-%COMP%]{position:relative;top:0;left:0;display:block;width:100%;height:50px;box-sizing:border-box;padding-top:18px;font-family:Roboto;font-size:14px;font-weight:500;line-height:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:left;padding-left:1em;padding-right:1em;margin:20px 0 10px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fff;color:#000}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#000;color:#fff}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#212121;color:#dedede}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#dedede;color:#212121}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fff;color:#000}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#000;color:#fff}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fff;color:#000}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#000;color:#fff}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fff;color:#000}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#000;color:#fff}aside[_ngcontent-%COMP%] i.error[_ngcontent-%COMP%], aside[_ngcontent-%COMP%] i.help[_ngcontent-%COMP%], aside[_ngcontent-%COMP%] i.info[_ngcontent-%COMP%], aside[_ngcontent-%COMP%] i.notification[_ngcontent-%COMP%], aside[_ngcontent-%COMP%] i.subtle[_ngcontent-%COMP%], aside[_ngcontent-%COMP%] i.success[_ngcontent-%COMP%]{float:left;font-size:inherit;margin-right:1em;color:inherit}aside[_ngcontent-%COMP%] i.close[_ngcontent-%COMP%]{position:absolute;right:1em;top:18px;font-size:inherit;color:inherit}.compact[_nghost-%COMP%] aside[_ngcontent-%COMP%]{margin:0}body.webappcommons-theme-blue[info][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [info][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-blue[error][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [error][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-blue[notification][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [notification][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#ffc107;color:#000}body.webappcommons-theme-blue[success][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [success][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-blue[help][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [help][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fffbcb;color:#000}body.webappcommons-theme-blue[subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#999;color:#333}body.webappcommons-theme-blue[subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#666;color:#000}body.webappcommons-theme-blue[subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#333}body.webappcommons-theme-blue[subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#404040;color:#000}body.webappcommons-theme-blue[subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#333}body.webappcommons-theme-blue[subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#0d0d0d;color:#000}body.webappcommons-theme-darkred[info][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [info][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-darkred[error][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [error][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-darkred[notification][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [notification][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#ffeb3b;color:#000}body.webappcommons-theme-darkred[success][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [success][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-darkred[help][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [help][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#646439;color:#000}body.webappcommons-theme-darkred[subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#6d6d6d;color:#b8b8b8}body.webappcommons-theme-darkred[subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#929292;color:#dedede}body.webappcommons-theme-darkred[subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#505050;color:#b8b8b8}body.webappcommons-theme-darkred[subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#afafaf;color:#dedede}body.webappcommons-theme-darkred[subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#2a2a2a;color:#b8b8b8}body.webappcommons-theme-darkred[subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#d5d5d5;color:#dedede}body.webappcommons-theme-nightoil[info][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [info][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-nightoil[error][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [error][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-nightoil[notification][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [notification][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e7c385;color:#000}body.webappcommons-theme-nightoil[success][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [success][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-nightoil[help][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [help][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#f8f4ec;color:#000}body.webappcommons-theme-nightoil[subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#999;color:#333}body.webappcommons-theme-nightoil[subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#666;color:#000}body.webappcommons-theme-nightoil[subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#333}body.webappcommons-theme-nightoil[subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#404040;color:#000}body.webappcommons-theme-nightoil[subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#333}body.webappcommons-theme-nightoil[subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#0d0d0d;color:#000}body.webappcommons-theme-purple[info][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [info][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-purple[error][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [error][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-purple[notification][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [notification][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fc3;color:#000}body.webappcommons-theme-purple[success][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [success][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-purple[help][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [help][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fffbcb;color:#000}body.webappcommons-theme-purple[subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#999;color:#333}body.webappcommons-theme-purple[subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#666;color:#000}body.webappcommons-theme-purple[subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#333}body.webappcommons-theme-purple[subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#404040;color:#000}body.webappcommons-theme-purple[subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#333}body.webappcommons-theme-purple[subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#0d0d0d;color:#000}body.webappcommons-theme-hydra[info][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [info][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#54637a;color:#fff}body.webappcommons-theme-hydra[error][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [error][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-hydra[notification][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [notification][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#fdd835;color:#000}body.webappcommons-theme-hydra[success][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [success][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-hydra[help][_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [help][_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#ffffd3;color:#000}body.webappcommons-theme-hydra[subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtle].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#999;color:#333}body.webappcommons-theme-hydra[subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtle].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#666;color:#000}body.webappcommons-theme-hydra[subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtler].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#333}body.webappcommons-theme-hydra[subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtler].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#404040;color:#000}body.webappcommons-theme-hydra[subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtlest].theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#f2f2f2;color:#333}body.webappcommons-theme-hydra[subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [subtlest].theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:#0d0d0d;color:#000}"]}),e}(),_=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return n}(g);return e.\u0275fac=function(t){return new(t||e)(o.Lb(m))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-body-background"]],features:[o.wb],decls:1,vars:0,template:function(e,t){1&e&&o.Mb(0,"section")},styles:["@charset 'utf8';section[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;margin:0;padding:0;z-index:-1000}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#212121}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#dedede}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#fff}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[_ngcontent-%COMP%]{background-color:#000}"]}),e}(),C=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[m]}}}]),e}();return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[s.b,i.d,a.e]]}),e}()},Sa8y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("r517");t.isTDateRange=function(e){return!!r.CommonsType.hasPropertyDate(e,"from")&&!!r.CommonsType.hasPropertyDate(e,"to")}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n("ngJS"),o=n("NJ4a"),i=n("Lhse"),a=n("kJWO"),s=n("I55L"),c=n("c2HN"),u=n("XoHu"),l=function(e){if(e&&"function"==typeof e[a.a])return l=e,function(e){var t=l[a.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(s.a)(e))return Object(r.a)(e);if(Object(c.a)(e))return n=e,function(e){return n.then((function(t){e.closed||(e.next(t),e.complete())}),(function(t){return e.error(t)})).then(null,o.a),e};if(e&&"function"==typeof e[i.a])return t=e,function(e){for(var n=t[i.a]();;){var r=n.next();if(r.done){e.complete();break}if(e.next(r.value),e.closed)break}return"function"==typeof n.return&&e.add((function(){n.return&&n.return()})),e};var t,n,l,h=Object(u.a)(e)?"an invalid object":"'".concat(e,"'");throw new TypeError("You provided ".concat(h," where a stream was expected. You can provide an Observable, Promise, Array, or Iterable."))}},SpAZ:function(e,t,n){"use strict";function r(e){return e}n.d(t,"a",(function(){return r}))},SwOk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("pJsf"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"fillIntRange",value:function(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}},{key:"symmetricFloor",value:function(e){return e<0?Math.ceil(e):Math.floor(e)}},{key:"symmetricCeil",value:function(e){return e<0?Math.floor(e):Math.ceil(e)}},{key:"fixedDigitRange",value:function(e,t,n){for(var r=n||Math.floor(Math.log10(t)),o=[],i=e;i<=t;i++){for(var a=i.toString();a.length<r;)a="0"+a;o.push(a)}return o}},{key:"randRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e===t)return e;var r=t-e+(n?1:0);return e+Math.floor(Math.random()*r)}},{key:"longRandom",value:function(t){for(var n=e.randRange(1,10).toString();n.length<t;)n+=e.randRange(0,10).toString();return n}},{key:"hertz",value:function(e){return 1e3/e}},{key:"sort",value:function(e){return e.sort((function(e,t){return e-t}))}},{key:"percentile",value:function(t,n){if(0!==t.length){if(n<0||n>1)throw new Error("Invalid percentile");var r=e.sort(t.slice());return 0===n?r[0]:1===n?r[t.length-1]:r[Math.round((t.length-1)*n)]}}},{key:"quartile",value:function(t,n){if(0!==t.length){if(![1,2,3].includes(n))throw new Error("Invalid quartile");return e.percentile(t,n/4)}}},{key:"average",value:function(e){if(0!==e.length){var t,n=0,r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){n+=t.value}}catch(o){r.e(o)}finally{r.f()}return n/e.length}}},{key:"quartileAverage",value:function(t){if(0!==t.length){var n=e.quartile(t,1),r=e.quartile(t,2),o=e.quartile(t,3);return void 0!==n&&void 0!==r&&void 0!==o?e.average([n,r,o]):void 0}}},{key:"mean",value:function(t){return e.average(t)}},{key:"modes",value:function(e){if(0===e.length)return[];var t,n,r,o=new Map,i=_createForOfIteratorHelper(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;o.has(a)?o.set(a,o.get(a)+1):o.set(a,1)}}catch(m){i.e(m)}finally{i.f()}var s,c=_createForOfIteratorHelper(e);try{for(c.s();!(s=c.n()).done;){var u=s.value,l=o.get(u);(void 0===n||l>n)&&(n=l),(void 0===r||l<r)&&(r=l)}}catch(m){c.e(m)}finally{c.f()}if(n===r)return[];var h,d=[],f=_createForOfIteratorHelper(e);try{for(f.s();!(h=f.n()).done;){var p=h.value;o.get(p)===n&&d.push(p)}}catch(m){f.e(m)}finally{f.f()}return d}},{key:"median",value:function(t){if(0!==t.length)return e.quartile(t,2)}},{key:"trimDecimalZeros",value:function(e){var t=e.toString();return-1===t.indexOf(".")||"."===(t=r.CommonsString.rtrim(t,"0")).substr(t.length-1,1)&&(t=r.CommonsString.rtrim(t,".")),t}},{key:"prettyFigure",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t<1?e.trimDecimalZeros(t.toPrecision(3)):t<10||t<100||t<1e3?e.trimDecimalZeros(t.toPrecision(4)):(t=Math.round(t))<1e3?t.toString():n||t<1e4?t.toLocaleString():t<1e6?parseFloat((t/1e3).toPrecision(3))+"K":parseFloat((t/1e6).toPrecision(2))+"M"}},{key:"prettyFileSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?1024:1e3;if(e<Math.pow(n,1))return e.toString();if(e<10*Math.pow(n,1))return e.toLocaleString();var r,o=2,i=_createForOfIteratorHelper("KMGTPEZY".split(""));try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e<Math.pow(n,o))return"".concat(parseFloat((e/Math.pow(n,o-1)).toPrecision(3))).concat(a);o++}}catch(s){i.e(s)}finally{i.f()}return"Oversize"}},{key:"prettyPercent",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=100*t;if(n)return(r=Math.round(r))+"%";if(100===r)return"100%";if(r>100)return Math.round(r)+"%";var o=r.toPrecision(2);return/[0-9]e\+/.test(o)?e.prettyPercent(t,!0):e.trimDecimalZeros(o)+"%"}},{key:"asDuration",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return"".concat((e=Math.round(e)).toLocaleString()).concat(o?"":" ").concat(o?n:r.CommonsString.pluralise(t,e,!0))}},{key:"prettyDuration",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(t))return"NaN";if(t<500)return e.asDuration(t,"millisecond","ms",n);if(t<1e3)return e.asDuration(t/1e3,"second","s",n);var r=t/1e3;if(r<=60)return e.asDuration(r,"second","s",n);var o=t/6e4;if(o<=60)return e.asDuration(o,"minute","mins",n);var i=t/36e5;return i<=24?e.asDuration(i,"hour","hrs",n):e.asDuration(t/864e5,"day","days",n)}},{key:"ordinalUnit",value:function(t){if(isNaN(t)||t!==Math.floor(t))throw new Error("Cannot compute ordinal unit for invalid integer");var n=t.toString();if(1===n.length)switch(n){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}var r=n.substr(n.length-2);return"1"===r[0]?"th":e.ordinalUnit(parseInt(r[1],10))}},{key:"prettyOrdinal",value:function(t){return"".concat((t=e.symmetricFloor(t)).toLocaleString()).concat(e.ordinalUnit(Math.abs(t)))}},{key:"sampleIndices",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===e)return[];if(n>e&&!r)return[];if(t<1)throw new Error("Minimum of 2 samples required");if(n<1)throw new Error("Minimum of block size 1 required");var o=Math.floor(e/t);o<n&&(o=n);for(var i=[],a=0;i.push(a),!((a+=o)+n>e););return i}},{key:"roughFactor",value:function(e,t){if(0===t)throw new Error("Cannot factor into zero");if(e<t)return[e];for(var n=Math.round(e/t),r=n*t,o=[],i=n;i-- >0;)o.push(t);if(e===r)return o;var a=e;if(e<r)for(var s=o.length-1;a-- >0;){var c,u=0,l=_createForOfIteratorHelper(o);try{for(l.s();!(c=l.n()).done;){u+=c.value}}catch(m){l.e(m)}finally{l.f()}if(u===e)break;o[s]--,--s<0&&(s=o.length-1)}else for(var h=0;a-- >0;){var d,f=0,p=_createForOfIteratorHelper(o);try{for(p.s();!(d=p.n()).done;){f+=d.value}}catch(m){p.e(m)}finally{p.f()}if(f===e)break;o[h]++,++h===o.length&&(h=0)}if(a<0)throw new Error("TTL expired during attempt roughtFactor");return o}}]),e}();t.CommonsNumber=o},TypT:function(e,t){t.encode=function(e){var t="";for(var n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t},t.decode=function(e){for(var t={},n=e.split("&"),r=0,o=n.length;r<o;r++){var i=n[r].split("=");t[decodeURIComponent(i[0])]=decodeURIComponent(i[1])}return t}},UcNE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("FXLk"),o=n("SwOk"),i=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"parseIsoString",value:function(e){var t=e.toISOString().match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?Z$/);if(!t)throw new Error("Unable to parse ISO string");return{y:t[1],m:t[2],d:t[3],h:t[4],i:t[5],s:t[6]}}},{key:"fromDate",value:function(e){return{y:e.getFullYear().toString().padStart(4,"0"),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),i:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")}}},{key:"dateToYmd",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.y,"-").concat(r.m,"-").concat(r.d)}},{key:"dateTodmY",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.d,"/").concat(r.m,"/").concat(r.y)}},{key:"dateToHi",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.h,":").concat(r.i)}},{key:"dateToHis",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(e.dateToHi(t,n),":").concat(r.s)}},{key:"dateToYmdHis",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(e.dateToYmd(t,n)," ").concat(e.dateToHis(t,n))}},{key:"dateTodmYHi",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(e.dateTodmY(t,n)," ").concat(e.dateToHi(t,n))}},{key:"isYmdHis",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS).test(e)}},{key:"YmdHisToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[1],"-").concat(n[2],"-").concat(n[3],"T").concat(n[4],":").concat(n[5],":").concat(n[6],".000Z")));var o=new Date;return o.setFullYear(parseInt(n[1],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[3],10)),o.setHours(parseInt(n[4],10)),o.setMinutes(parseInt(n[5],10)),o.setSeconds(parseInt(n[6],10)),o.setMilliseconds(0),o}},{key:"isdmYHi",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATETIME_DMYHI).test(e)}},{key:"dmYHiToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATETIME_DMYHI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[3],"-").concat(n[2],"-").concat(n[1],"T").concat(n[4],":").concat(n[5],":00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[3],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[1],10)),o.setHours(parseInt(n[4],10)),o.setMinutes(parseInt(n[5],10)),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"isYmd",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATE_YMD).test(e)}},{key:"isdmY",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATE_DMY).test(e)}},{key:"YmdToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATE_YMD);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[1],"-").concat(n[2],"-").concat(n[3],"T00:00:00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[1],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[3],10)),o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"dmYToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATE_DMY);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[3],"-").concat(n[2],"-").concat(n[1],"T00:00:00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[3],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[1],10)),o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"isHis",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_TIME_HIS).test(e)}},{key:"HisToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_TIME_HIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("1970-01-01T".concat(n[1],":").concat(n[2],":").concat(n[3],".000Z")));var o=new Date;return o.setFullYear(1970),o.setMonth(0),o.setDate(1),o.setHours(parseInt(n[1],10)),o.setMinutes(parseInt(n[2],10)),o.setSeconds(parseInt(n[3],10)),o.setMilliseconds(0),o}},{key:"isHi",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_TIME_HI).test(e)}},{key:"HiToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_TIME_HI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("1970-01-01T".concat(n[1],":").concat(n[2],":00.000Z")));var o=new Date;return o.setFullYear(1970),o.setMonth(0),o.setDate(1),o.setHours(parseInt(n[1],10)),o.setMinutes(parseInt(n[2],10)),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"dateWithoutTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.YmdToDate(e.dateToYmd(t,n),n)}},{key:"dateWithTime",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateToYmd(t,r),i=e.dateToHis(n,r);return e.YmdHisToDate("".concat(o," ").concat(i))}},{key:"todayTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.dateWithTime(new Date,t,n)}},{key:"isSameDate",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.dateWithoutTime(t,r).getTime()===e.dateWithoutTime(n,r).getTime()}},{key:"isToday",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.isSameDate(t,new Date,n)}},{key:"isYesterday",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Date;return r.setDate(r.getDate()-1),e.isSameDate(t,r,n)}},{key:"isTomorrow",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Date;return r.setDate(r.getDate()+1),e.isSameDate(t,r,n)}},{key:"isLast24Hours",value:function(e){return(new Date).getTime()-e.getTime()<864e5}},{key:"isLeapYear",value:function(e){return 29===new Date(e,1,29).getDate()}},{key:"listTextMonths",value:function(){return"January,February,March,April,May,June,July,August,September,October,November,December".split(",")}},{key:"getTextMonth",value:function(t){return t<0||t>11?"":e.listTextMonths()[t]}},{key:"getNumericMonth",value:function(t){return e.listTextMonths().map((function(e){return e.toUpperCase()})).map((function(e){return 3===t.length?e.substring(0,3):e})).indexOf(t.toUpperCase())}},{key:"listTextDays",value:function(){return"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(",")}},{key:"getTextDay",value:function(t){return t<0||t>6?"":e.listTextDays()[t]}},{key:"getNumericDay",value:function(t){return e.listTextDays().map((function(e){return e.toUpperCase()})).map((function(e){return 3===t.length?e.substring(0,3):e})).indexOf(t.toUpperCase())}},{key:"getWeekDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t<0||t>6)throw new Error("Trying to get week start for day outside 0-6");var n=new Date(e.getTime());for(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0);n.getDay()!==t;)n.setDate(n.getDate()-1);return n}},{key:"getNumberOfDaysInMonth",value:function(t,n){switch(e.getTextMonth(t)){case"September":case"April":case"June":case"November":return 30;case"February":return e.isLeapYear(n)?29:28;default:return 31}}},{key:"getDayOfYear",value:function(t){for(var n=0,r=0;r<t.getMonth();r++)n+=e.getNumberOfDaysInMonth(r,t.getFullYear());return n+=t.getDate()}},{key:"listTwoDigitDays",value:function(e){return o.CommonsNumber.fixedDigitRange(1,e,2)}},{key:"dateToBashTimestamp",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.dateTodmY(t,n).split("/");return"".concat(r[0]," ").concat(e.getTextMonth(t.getMonth()).toUpperCase().substring(0,3)," ").concat(r[2]," ").concat(e.dateToHis(t))}},{key:"dateToCompressed",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.dateToYmdHis(t,n).replace(/[-: ]/g,"")}},{key:"compressedToDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.match(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED);if(null===o)throw new Error("Unable to parse compressed date");return e.YmdHisToDate("".concat(o[1],"-").concat(o[2],"-").concat(o[3]," ").concat(o[4],":").concat(o[5],":").concat(o[6]),n)}},{key:"buildDateFromYmdAndOptionals",value:function(t,n,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=e.YmdToDate(t,a);return void 0!==n&&s.setHours(n),void 0!==r&&s.setMinutes(r),void 0!==o&&s.setSeconds(o),void 0!==i&&s.setMilliseconds(i),s}},{key:"getPastTime",value:function(e,t){var n=new Date(e.getTime());return n.setHours(t.getHours()),n.setMinutes(t.getMinutes()),n.setSeconds(t.getSeconds()),n.setMilliseconds(t.getMilliseconds()),n.getTime()>e.getTime()&&n.setDate(n.getDate()-1),n}},{key:"buildClosestDateFromTime",value:function(t,n,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(a&&n<13){var s=(n+12)%24,c=e.buildClosestDateFromTime(t,n,r,o,i),u=e.buildClosestDateFromTime(t,s,r,o,i),l=Math.abs(t.getTime()-c.getTime());return Math.abs(t.getTime()-u.getTime())<l?u:c}var h,d,f=new Date(t.getTime());void 0!==n&&f.setHours(n),void 0!==r&&f.setMinutes(r),void 0!==o&&f.setSeconds(o),void 0!==i&&f.setMilliseconds(i),f.setDate(f.getDate()-1);for(var p=-1;p<=1;p++){var m=Math.abs(f.getTime()-t.getTime());(void 0===d||m<d)&&(h=new Date(f.getTime()),d=m),f.setDate(f.getDate()+1)}if(!h)throw new Error("Unable to match closest. This should not be possible");return h}},{key:"fillEmptyMinutes",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setMinutes(t.getMinutes()+1);return a}},{key:"fillEmptyHours",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setHours(t.getHours()+1);return a}},{key:"fillEmptyDays",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setDate(t.getDate()+1);return a}},{key:"phpDate",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n||(n=new Date);var i=r?e.parseIsoString(n):e.fromDate(n),a=n;return t.split("").map((function(t){switch(t){case"d":return i.d;case"D":return e.getTextDay(a.getDay()).substr(0,3);case"j":return parseInt(i.d,10).toString(10);case"l":return e.getTextDay(a.getDay());case"S":return o.CommonsNumber.ordinalUnit(parseInt(i.d,10));case"w":return a.getDay().toString(10);case"F":return e.getTextMonth(parseInt(i.m,10)-1);case"m":return i.m;case"M":return e.getTextMonth(parseInt(i.m,10)-1).substr(0,3);case"n":return parseInt(i.m,10).toString(10);case"Y":return i.y;case"y":return i.y.substr(2);case"a":return parseInt(i.h,10)<12?"am":"pm";case"A":return parseInt(i.h,10)<12?"AM":"PM";case"g":var n=parseInt(i.h,10)%12;return 0===n?"12":n.toString(10);case"G":return parseInt(i.h,10).toString(10);case"h":var r=parseInt(i.h,10)%12;return 0===r?"12":r.toString(10).padStart(2,"0");case"H":return i.h;case"i":return i.i;case"s":return i.s;default:return t}})).join("")}},{key:"getDeltaHours",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date(e.from.getTime()),r=new Date(e.to.getTime());n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0);for(var o=0;n.getTime()<r.getTime();)o++,n.setHours(n.getHours()+1);return o+(t?1:0)}},{key:"getDeltaDays",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r),a=0;o.getTime()<i.getTime();)a++,o.setDate(o.getDate()+1);return a+(n?1:0)}},{key:"getDeltaMonths",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r);o.setDate(1),i.setDate(1);for(var a=0;o.getTime()<i.getTime();)a++,o.setMonth(o.getMonth()+1);return a+(n?1:0)}},{key:"getDeltaYears",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r);o.setDate(1),o.setMonth(0),i.setDate(1),i.setMonth(0);for(var a=0;o.getTime()<i.getTime();)a++,o.setFullYear(o.getFullYear()+1);return a+(n?1:0)}},{key:"prettyDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r||(r=new Date),!n){var a=new Date(r.getTime());if(e.isSameDate(t,a))return"Today";if(a.setDate(r.getDate()-1),e.isSameDate(t,a))return"Yesterday";if(a.setDate(r.getDate()+1),e.isSameDate(t,a))return"Tomorrow"}return e.phpDate("D d M"+(o?" Y":""),t,i)}},{key:"getDeltaSeconds",value:function(e,t){var n=(t.getTime()-e.getTime())/1e3;if(!(n<0))return n}},{key:"prettyTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(r||(r=new Date),!n){var i=e.getDeltaSeconds(t,r);if(void 0!==i){if(i<60)return"Just now";if(i<120)return"1 min ago";if(i<600)return Math.floor(i/60)+" mins ago"}}return e.phpDate("H:i",t,o)}},{key:"prettyDateTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r||(r=new Date),!n){var a=e.getDeltaSeconds(t,r);if(void 0!==a&&a<600)return e.prettyTime(t,!1,r,i)}return"".concat(e.prettyDate(t,n,r,o,i)," ").concat(e.prettyTime(t,n,r,i))}},{key:"prettyTimeRange",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.prettyTime(t.from,n,r,o),a=e.prettyTime(t.to,n,r,o);return e.isSameDate(t.from,t.to)&&i===a?i:"".concat(i," - ").concat(a)}},{key:"prettyDateTimeRange",value:function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=void 0!==n&&n,s=void 0===n||n;return e.isSameDate(t.from,t.to)?"".concat(e.prettyDate(t.from,a,r,o,i)," ").concat(e.prettyTimeRange(t,s,r,i)):"".concat(e.prettyDate(t.from,a,r,o,i)," ").concat(e.prettyTime(t.from,s,r,i)," - ").concat(e.prettyDate(t.to,a,r,o,i)," ").concat(e.prettyTime(t.to,s,r,i))}}]),e}();t.CommonsDate=i},Uho7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Hcel");t.isTDateRange=function(e){return!!r.CommonsType.hasPropertyDate(e,"from")&&!!r.CommonsType.hasPropertyDate(e,"to")}},UxI3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Q2sQ");function i(e){switch(e){case r.GT.toString():return r.GT;case r.LT.toString():return r.LT;case r.GTE.toString():return r.GTE;case r.LTE.toString():return r.LTE}}function a(e){switch(e){case"GT":return r.GT;case"LT":return r.LT;case"GTE":return r.GTE;case"LTE":return r.LTE}throw new Error("Unable to obtain EComparator for key: "+e)}!function(e){e.GT="gt",e.LT="lt",e.GTE="gte",e.LTE="lte"}(r=t.EComparator||(t.EComparator={})),t.toEComparator=i,t.fromEComparator=function(e){switch(e){case r.GT:return r.GT.toString();case r.LT:return r.LT.toString();case r.GTE:return r.GTE.toString();case r.LTE:return r.LTE.toString()}throw new Error("Unknown EComparator")},t.isEComparator=function(e){return!!o.CommonsType.isString(e)&&void 0!==i(e)},t.keyToEComparator=a,t.ECOMPARATORS=Object.keys(r).map((function(e){return a(e)}))},Uxeu:function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,r=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,o=e.indexOf("["),i=e.indexOf("]");-1!=o&&-1!=i&&(e=e.substring(0,o)+e.substring(o,i).replace(/:/g,";")+e.substring(i,e.length));for(var a=n.exec(e||""),s={},c=14;c--;)s[r[c]]=a[c]||"";return-1!=o&&-1!=i&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s}},V0VN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("KSuy"),o=n("znQF"),i=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"parseIsoString",value:function(e){var t=e.toISOString().match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?Z$/);if(!t)throw new Error("Unable to parse ISO string");return{y:t[1],m:t[2],d:t[3],h:t[4],i:t[5],s:t[6]}}},{key:"fromDate",value:function(e){return{y:e.getFullYear().toString().padStart(4,"0"),m:(e.getMonth()+1).toString().padStart(2,"0"),d:e.getDate().toString().padStart(2,"0"),h:e.getHours().toString().padStart(2,"0"),i:e.getMinutes().toString().padStart(2,"0"),s:e.getSeconds().toString().padStart(2,"0")}}},{key:"dateToYmd",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.y,"-").concat(r.m,"-").concat(r.d)}},{key:"dateTodmY",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.d,"/").concat(r.m,"/").concat(r.y)}},{key:"dateToHi",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(r.h,":").concat(r.i)}},{key:"dateToHis",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=n?e.parseIsoString(t):e.fromDate(t);return"".concat(e.dateToHi(t,n),":").concat(r.s)}},{key:"dateToYmdHis",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(e.dateToYmd(t,n)," ").concat(e.dateToHis(t,n))}},{key:"dateTodmYHi",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"".concat(e.dateTodmY(t,n)," ").concat(e.dateToHi(t,n))}},{key:"isYmdHis",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS).test(e)}},{key:"YmdHisToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[1],"-").concat(n[2],"-").concat(n[3],"T").concat(n[4],":").concat(n[5],":").concat(n[6],".000Z")));var o=new Date;return o.setFullYear(parseInt(n[1],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[3],10)),o.setHours(parseInt(n[4],10)),o.setMinutes(parseInt(n[5],10)),o.setSeconds(parseInt(n[6],10)),o.setMilliseconds(0),o}},{key:"isdmYHi",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATETIME_DMYHI).test(e)}},{key:"dmYHiToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATETIME_DMYHI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[3],"-").concat(n[2],"-").concat(n[1],"T").concat(n[4],":").concat(n[5],":00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[3],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[1],10)),o.setHours(parseInt(n[4],10)),o.setMinutes(parseInt(n[5],10)),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"isYmd",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATE_YMD).test(e)}},{key:"isdmY",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_DATE_DMY).test(e)}},{key:"YmdToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATE_YMD);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[1],"-").concat(n[2],"-").concat(n[3],"T00:00:00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[1],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[3],10)),o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"dmYToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_DATE_DMY);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("".concat(n[3],"-").concat(n[2],"-").concat(n[1],"T00:00:00.000Z")));var o=new Date;return o.setFullYear(parseInt(n[3],10)),o.setMonth(parseInt(n[2],10)-1),o.setDate(parseInt(n[1],10)),o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"isHis",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_TIME_HIS).test(e)}},{key:"HisToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_TIME_HIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("1970-01-01T".concat(n[1],":").concat(n[2],":").concat(n[3],".000Z")));var o=new Date;return o.setFullYear(1970),o.setMonth(0),o.setDate(1),o.setHours(parseInt(n[1],10)),o.setMinutes(parseInt(n[2],10)),o.setSeconds(parseInt(n[3],10)),o.setMilliseconds(0),o}},{key:"isHi",value:function(e){return new RegExp(r.COMMONS_REGEX_PATTERN_TIME_HI).test(e)}},{key:"HiToDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.match(r.COMMONS_REGEX_PATTERN_TIME_HI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse("1970-01-01T".concat(n[1],":").concat(n[2],":00.000Z")));var o=new Date;return o.setFullYear(1970),o.setMonth(0),o.setDate(1),o.setHours(parseInt(n[1],10)),o.setMinutes(parseInt(n[2],10)),o.setSeconds(0),o.setMilliseconds(0),o}},{key:"dateWithoutTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.YmdToDate(e.dateToYmd(t,n),n)}},{key:"dateWithTime",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateToYmd(t,r),i=e.dateToHis(n,r);return e.YmdHisToDate("".concat(o," ").concat(i))}},{key:"todayTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.dateWithTime(new Date,t,n)}},{key:"isSameDate",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.dateWithoutTime(t,r).getTime()===e.dateWithoutTime(n,r).getTime()}},{key:"isToday",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.isSameDate(t,new Date,n)}},{key:"isYesterday",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Date;return r.setDate(r.getDate()-1),e.isSameDate(t,r,n)}},{key:"isTomorrow",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=new Date;return r.setDate(r.getDate()+1),e.isSameDate(t,r,n)}},{key:"isLast24Hours",value:function(e){return(new Date).getTime()-e.getTime()<864e5}},{key:"isLeapYear",value:function(e){return 29===new Date(e,1,29).getDate()}},{key:"listTextMonths",value:function(){return"January,February,March,April,May,June,July,August,September,October,November,December".split(",")}},{key:"getTextMonth",value:function(t){return t<0||t>11?"":e.listTextMonths()[t]}},{key:"getNumericMonth",value:function(t){return e.listTextMonths().map((function(e){return e.toUpperCase()})).map((function(e){return 3===t.length?e.substring(0,3):e})).indexOf(t.toUpperCase())}},{key:"listTextDays",value:function(){return"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(",")}},{key:"getTextDay",value:function(t){return t<0||t>6?"":e.listTextDays()[t]}},{key:"getNumericDay",value:function(t){return e.listTextDays().map((function(e){return e.toUpperCase()})).map((function(e){return 3===t.length?e.substring(0,3):e})).indexOf(t.toUpperCase())}},{key:"getWeekDate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(t<0||t>6)throw new Error("Trying to get week start for day outside 0-6");var n=new Date(e.getTime());for(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0);n.getDay()!==t;)n.setDate(n.getDate()-1);return n}},{key:"getNumberOfDaysInMonth",value:function(t,n){switch(e.getTextMonth(t)){case"September":case"April":case"June":case"November":return 30;case"February":return e.isLeapYear(n)?29:28;default:return 31}}},{key:"getDayOfYear",value:function(t){for(var n=0,r=0;r<t.getMonth();r++)n+=e.getNumberOfDaysInMonth(r,t.getFullYear());return n+=t.getDate()}},{key:"listTwoDigitDays",value:function(e){return o.CommonsNumber.fixedDigitRange(1,e,2)}},{key:"dateToBashTimestamp",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.dateTodmY(t,n).split("/");return"".concat(r[0]," ").concat(e.getTextMonth(t.getMonth()).toUpperCase().substring(0,3)," ").concat(r[2]," ").concat(e.dateToHis(t))}},{key:"dateToCompressed",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.dateToYmdHis(t,n).replace(/[-: ]/g,"")}},{key:"compressedToDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],o=t.match(r.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED);if(null===o)throw new Error("Unable to parse compressed date");return e.YmdHisToDate("".concat(o[1],"-").concat(o[2],"-").concat(o[3]," ").concat(o[4],":").concat(o[5],":").concat(o[6]),n)}},{key:"buildDateFromYmdAndOptionals",value:function(t,n,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=e.YmdToDate(t,a);return void 0!==n&&s.setHours(n),void 0!==r&&s.setMinutes(r),void 0!==o&&s.setSeconds(o),void 0!==i&&s.setMilliseconds(i),s}},{key:"getPastTime",value:function(e,t){var n=new Date(e.getTime());return n.setHours(t.getHours()),n.setMinutes(t.getMinutes()),n.setSeconds(t.getSeconds()),n.setMilliseconds(t.getMilliseconds()),n.getTime()>e.getTime()&&n.setDate(n.getDate()-1),n}},{key:"buildClosestDateFromTime",value:function(t,n,r,o,i){var a=arguments.length>5&&void 0!==arguments[5]&&arguments[5];if(a&&n<13){var s=(n+12)%24,c=e.buildClosestDateFromTime(t,n,r,o,i),u=e.buildClosestDateFromTime(t,s,r,o,i),l=Math.abs(t.getTime()-c.getTime());return Math.abs(t.getTime()-u.getTime())<l?u:c}var h,d,f=new Date(t.getTime());void 0!==n&&f.setHours(n),void 0!==r&&f.setMinutes(r),void 0!==o&&f.setSeconds(o),void 0!==i&&f.setMilliseconds(i),f.setDate(f.getDate()-1);for(var p=-1;p<=1;p++){var m=Math.abs(f.getTime()-t.getTime());(void 0===d||m<d)&&(h=new Date(f.getTime()),d=m),f.setDate(f.getDate()+1)}if(!h)throw new Error("Unable to match closest. This should not be possible");return h}},{key:"fillEmptyMinutes",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setMinutes(t.getMinutes()+1);return a}},{key:"fillEmptyHours",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setHours(t.getHours()+1);return a}},{key:"fillEmptyDays",value:function(e){var t,n,r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;(void 0===t||i.getTime()<t.getTime())&&(t=i),(void 0===n||i.getTime()>n.getTime())&&(n=i)}}catch(s){o.e(s)}finally{o.f()}if(void 0===t||void 0===n)return[];t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);for(var a=[];t.getTime()<=n.getTime();)a.push(new Date(t.getTime())),t.setDate(t.getDate()+1);return a}},{key:"phpDate",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];n||(n=new Date);var i=r?e.parseIsoString(n):e.fromDate(n),a=n;return t.split("").map((function(t){switch(t){case"d":return i.d;case"D":return e.getTextDay(a.getDay()).substr(0,3);case"j":return parseInt(i.d,10).toString(10);case"l":return e.getTextDay(a.getDay());case"S":return o.CommonsNumber.ordinalUnit(parseInt(i.d,10));case"w":return a.getDay().toString(10);case"F":return e.getTextMonth(parseInt(i.m,10)-1);case"m":return i.m;case"M":return e.getTextMonth(parseInt(i.m,10)-1).substr(0,3);case"n":return parseInt(i.m,10).toString(10);case"Y":return i.y;case"y":return i.y.substr(2);case"a":return parseInt(i.h,10)<12?"am":"pm";case"A":return parseInt(i.h,10)<12?"AM":"PM";case"g":var n=parseInt(i.h,10)%12;return 0===n?"12":n.toString(10);case"G":return parseInt(i.h,10).toString(10);case"h":var r=parseInt(i.h,10)%12;return 0===r?"12":r.toString(10).padStart(2,"0");case"H":return i.h;case"i":return i.i;case"s":return i.s;default:return t}})).join("")}},{key:"getDeltaHours",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=new Date(e.from.getTime()),r=new Date(e.to.getTime());n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0);for(var o=0;n.getTime()<r.getTime();)o++,n.setHours(n.getHours()+1);return o+(t?1:0)}},{key:"getDeltaDays",value:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r),a=0;o.getTime()<i.getTime();)a++,o.setDate(o.getDate()+1);return a+(n?1:0)}},{key:"getDeltaMonths",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r);o.setDate(1),i.setDate(1);for(var a=0;o.getTime()<i.getTime();)a++,o.setMonth(o.getMonth()+1);return a+(n?1:0)}},{key:"getDeltaYears",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=e.dateWithoutTime(t.from,r),i=e.dateWithoutTime(t.to,r);o.setDate(1),o.setMonth(0),i.setDate(1),i.setMonth(0);for(var a=0;o.getTime()<i.getTime();)a++,o.setFullYear(o.getFullYear()+1);return a+(n?1:0)}},{key:"prettyDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r||(r=new Date),!n){var a=new Date(r.getTime());if(e.isSameDate(t,a))return"Today";if(a.setDate(r.getDate()-1),e.isSameDate(t,a))return"Yesterday";if(a.setDate(r.getDate()+1),e.isSameDate(t,a))return"Tomorrow"}return e.phpDate("D d M"+(o?" Y":""),t,i)}},{key:"getDeltaSeconds",value:function(e,t){var n=(t.getTime()-e.getTime())/1e3;if(!(n<0))return n}},{key:"prettyTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(r||(r=new Date),!n){var i=e.getDeltaSeconds(t,r);if(void 0!==i){if(i<60)return"Just now";if(i<120)return"1 min ago";if(i<600)return Math.floor(i/60)+" mins ago"}}return e.phpDate("H:i",t,o)}},{key:"prettyDateTime",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(r||(r=new Date),!n){var a=e.getDeltaSeconds(t,r);if(void 0!==a&&a<600)return e.prettyTime(t,!1,r,i)}return"".concat(e.prettyDate(t,n,r,o,i)," ").concat(e.prettyTime(t,n,r,i))}},{key:"prettyTimeRange",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=e.prettyTime(t.from,n,r,o),a=e.prettyTime(t.to,n,r,o);return e.isSameDate(t.from,t.to)&&i===a?i:"".concat(i," - ").concat(a)}},{key:"prettyDateTimeRange",value:function(t,n,r){var o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=void 0!==n&&n,s=void 0===n||n;return e.isSameDate(t.from,t.to)?"".concat(e.prettyDate(t.from,a,r,o,i)," ").concat(e.prettyTimeRange(t,s,r,i)):"".concat(e.prettyDate(t.from,a,r,o,i)," ").concat(e.prettyTime(t.from,s,r,i)," - ").concat(e.prettyDate(t.to,a,r,o,i)," ").concat(e.prettyTime(t.to,s,r,i))}}]),e}();t.CommonsDate=i},Vfn7:function(e,t,n){var r;!function(){"use strict";function o(e,t,n){var r=t.x,o=t.y,i=n.x-r,a=n.y-o;if(0!==i||0!==a){var s=((e.x-r)*i+(e.y-o)*a)/(i*i+a*a);s>1?(r=n.x,o=n.y):s>0&&(r+=i*s,o+=a*s)}return(i=e.x-r)*i+(a=e.y-o)*a}function i(e,t,n){if(e.length<=2)return e;var r=void 0!==t?t*t:1;return function(e,t){var n=e.length-1,r=[e[0]];return function e(t,n,r,i,a){for(var s,c=i,u=n+1;u<r;u++){var l=o(t[u],t[n],t[r]);l>c&&(s=u,c=l)}c>i&&(s-n>1&&e(t,n,s,i,a),a.push(t[s]),r-s>1&&e(t,s,r,i,a))}(e,0,n,t,r),r.push(e[n]),r}(e=n?e:function(e,t){for(var n,r,o,i,a,s=e[0],c=[s],u=1,l=e.length;u<l;u++)(i=(r=n=e[u]).x-(o=s).x)*i+(a=r.y-o.y)*a>t&&(c.push(n),s=n);return s!==n&&c.push(n),c}(e,r),r)}void 0===(r=(function(){return i}).call(t,n,t,e))||(e.exports=r)}()},Vo14:function(e,t,n){var r=n("5M3R")("socket.io-parser"),o=n("cpc2"),i=n("cD5x"),a=n("49sm"),s=n("+SKG");function c(){}t.protocol=4,t.types=["CONNECT","DISCONNECT","EVENT","ACK","ERROR","BINARY_EVENT","BINARY_ACK"],t.CONNECT=0,t.DISCONNECT=1,t.EVENT=2,t.ACK=3,t.ERROR=4,t.BINARY_EVENT=5,t.BINARY_ACK=6,t.Encoder=c,t.Decoder=h;var u=t.ERROR+'"encode error"';function l(e){var n=""+e.type;if(t.BINARY_EVENT!==e.type&&t.BINARY_ACK!==e.type||(n+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(n+=e.nsp+","),null!=e.id&&(n+=e.id),null!=e.data){var o=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===o)return u;n+=o}return r("encoded %j as %s",e,n),n}function h(){this.reconstructor=null}function d(e){this.reconPack=e,this.buffers=[]}function f(e){return{type:t.ERROR,data:"parser error: "+e}}c.prototype.encode=function(e,n){r("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type?function(e,t){i.removeBlobs(e,(function(e){var n=i.deconstructPacket(e),r=l(n.packet),o=n.buffers;o.unshift(r),t(o)}))}(e,n):n([l(e)])},o(h.prototype),h.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,o={type:Number(e.charAt(0))};if(null==t.types[o.type])return f("unknown packet type "+o.type);if(t.BINARY_EVENT===o.type||t.BINARY_ACK===o.type){for(var i="";"-"!==e.charAt(++n)&&(i+=e.charAt(n),n!=e.length););if(i!=Number(i)||"-"!==e.charAt(n))throw new Error("Illegal attachments");o.attachments=Number(i)}if("/"===e.charAt(n+1))for(o.nsp="";++n&&","!==(c=e.charAt(n))&&(o.nsp+=c,n!==e.length););else o.nsp="/";var s=e.charAt(n+1);if(""!==s&&Number(s)==s){for(o.id="";++n;){var c;if(null==(c=e.charAt(n))||Number(c)!=c){--n;break}if(o.id+=e.charAt(n),n===e.length)break}o.id=Number(o.id)}if(e.charAt(++n)){var u=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!1===u||o.type!==t.ERROR&&!a(u))return f("invalid payload");o.data=u}return r("decoded %s as %j",e,o),o}(e),t.BINARY_EVENT===n.type||t.BINARY_ACK===n.type?(this.reconstructor=new d(n),0===this.reconstructor.reconPack.attachments&&this.emit("decoded",n)):this.emit("decoded",n);else{if(!s(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");(n=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,this.emit("decoded",n))}},h.prototype.destroy=function(){this.reconstructor&&this.reconstructor.finishedReconstruction()},d.prototype.takeBinaryData=function(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t=i.reconstructPacket(this.reconPack,this.buffers);return this.finishedReconstruction(),t}return null},d.prototype.finishedReconstruction=function(){this.reconPack=null,this.buffers=[]}},WB8P:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("rLqr")),r(n("+05S")),r(n("12Mk")),r(n("2Uj6"))},WLGk:function(e,t,n){var r=n("49sm"),o=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===o.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===o.call(File);e.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(r(t)){for(var n=0,o=t.length;n<o;n++)if(e(t[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||i&&t instanceof Blob||a&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var s in t)if(Object.prototype.hasOwnProperty.call(t,s)&&e(t[s]))return!0;return!1}},Wm4p:function(e,t,n){var r,o=n("dkv/"),i=n("WLGk"),a=n("ypnn"),s=n("zMFY"),c=n("oIG/");"undefined"!=typeof ArrayBuffer&&(r=n("g5Dd"));var u="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),l="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),h=u||l;t.protocol=3;var d=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},f=o(d),p={type:"error",data:"parser error"},m=n("14A5");function g(e,t,n){for(var r=new Array(e.length),o=s(e.length,n),i=function(e,n,o){t(n,(function(t,n){r[e]=n,o(t,r)}))},a=0;a<e.length;a++)i(a,e[a],o)}t.encodePacket=function(e,n,r,o){"function"==typeof n&&(o=n,n=!1),"function"==typeof r&&(o=r,r=null);var i=void 0===e.data?void 0:e.data.buffer||e.data;if("undefined"!=typeof ArrayBuffer&&i instanceof ArrayBuffer)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=e.data,i=new Uint8Array(o),a=new Uint8Array(1+o.byteLength);a[0]=d[e.type];for(var s=0;s<i.length;s++)a[s+1]=i[s];return r(a.buffer)}(e,n,o);if(void 0!==m&&i instanceof m)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);if(h)return function(e,n,r){if(!n)return t.encodeBase64Packet(e,r);var o=new FileReader;return o.onload=function(){t.encodePacket({type:e.type,data:o.result},n,!0,r)},o.readAsArrayBuffer(e.data)}(e,n,r);var o=new Uint8Array(1);return o[0]=d[e.type],r(new m([o.buffer,e.data]))}(e,n,o);if(i&&i.base64)return function(e,n){return n("b"+t.packets[e.type]+e.data.data)}(e,o);var a=d[e.type];return void 0!==e.data&&(a+=r?c.encode(String(e.data),{strict:!1}):String(e.data)),o(""+a)},t.encodeBase64Packet=function(e,n){var r,o="b"+t.packets[e.type];if(void 0!==m&&e.data instanceof m){var i=new FileReader;return i.onload=function(){var e=i.result.split(",")[1];n(o+e)},i.readAsDataURL(e.data)}try{r=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(u){for(var a=new Uint8Array(e.data),s=new Array(a.length),c=0;c<a.length;c++)s[c]=a[c];r=String.fromCharCode.apply(null,s)}return o+=btoa(r),n(o)},t.decodePacket=function(e,n,r){if(void 0===e)return p;if("string"==typeof e){if("b"===e.charAt(0))return t.decodeBase64Packet(e.substr(1),n);if(r&&!1===(e=function(e){try{e=c.decode(e,{strict:!1})}catch(t){return!1}return e}(e)))return p;var o=e.charAt(0);return Number(o)==o&&f[o]?e.length>1?{type:f[o],data:e.substring(1)}:{type:f[o]}:p}o=new Uint8Array(e)[0];var i=a(e,1);return m&&"blob"===n&&(i=new m([i])),{type:f[o],data:i}},t.decodeBase64Packet=function(e,t){var n=f[e.charAt(0)];if(!r)return{type:n,data:{base64:!0,data:e.substr(1)}};var o=r.decode(e.substr(1));return"blob"===t&&m&&(o=new m([o])),{type:n,data:o}},t.encodePayload=function(e,n,r){"function"==typeof n&&(r=n,n=null);var o=i(e);return n&&o?m&&!h?t.encodePayloadAsBlob(e,r):t.encodePayloadAsArrayBuffer(e,r):e.length?void g(e,(function(e,r){t.encodePacket(e,!!o&&n,!1,(function(e){r(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return r(t.join(""))})):r("0:")},t.decodePayload=function(e,n,r){if("string"!=typeof e)return t.decodePayloadAsBinary(e,n,r);var o;if("function"==typeof n&&(r=n,n=null),""===e)return r(p,0,1);for(var i,a,s="",c=0,u=e.length;c<u;c++){var l=e.charAt(c);if(":"===l){if(""===s||s!=(i=Number(s)))return r(p,0,1);if(s!=(a=e.substr(c+1,i)).length)return r(p,0,1);if(a.length){if(o=t.decodePacket(a,n,!1),p.type===o.type&&p.data===o.data)return r(p,0,1);if(!1===r(o,c+i,u))return}c+=i,s=""}else s+=l}return""!==s?r(p,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,n){if(!e.length)return n(new ArrayBuffer(0));g(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){return n(null,e)}))}),(function(e,t){var r=t.reduce((function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2}),0),o=new Uint8Array(r),i=0;return t.forEach((function(e){var t="string"==typeof e,n=e;if(t){for(var r=new Uint8Array(e.length),a=0;a<e.length;a++)r[a]=e.charCodeAt(a);n=r.buffer}o[i++]=t?0:1;var s=n.byteLength.toString();for(a=0;a<s.length;a++)o[i++]=parseInt(s[a]);for(o[i++]=255,r=new Uint8Array(n),a=0;a<r.length;a++)o[i++]=r[a]})),n(o.buffer)}))},t.encodePayloadAsBlob=function(e,n){g(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){var t=new Uint8Array(1);if(t[0]=1,"string"==typeof e){for(var r=new Uint8Array(e.length),o=0;o<e.length;o++)r[o]=e.charCodeAt(o);e=r.buffer,t[0]=0}var i=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),a=new Uint8Array(i.length+1);for(o=0;o<i.length;o++)a[o]=parseInt(i[o]);if(a[i.length]=255,m){var s=new m([t.buffer,a.buffer,e]);n(null,s)}}))}),(function(e,t){return n(new m(t))}))},t.decodePayloadAsBinary=function(e,n,r){"function"==typeof n&&(r=n,n=null);for(var o=e,i=[];o.byteLength>0;){for(var s=new Uint8Array(o),c=0===s[0],u="",l=1;255!==s[l];l++){if(u.length>310)return r(p,0,1);u+=s[l]}o=a(o,2+u.length),u=parseInt(u);var h=a(o,0,u);if(c)try{h=String.fromCharCode.apply(null,new Uint8Array(h))}catch(m){var d=new Uint8Array(h);for(h="",l=0;l<d.length;l++)h+=String.fromCharCode(d[l])}i.push(h),o=a(o,u)}var f=i.length;i.forEach((function(e,o){r(t.decodePacket(e,n,!0),o,f)}))}},Wwcn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("6F/j");t.CommonsFinalValue=function(){function e(t){_classCallCheck(this,e),this.delay=t,this.onRelease=new r.Subject}return _createClass(e,[{key:"push",value:function(e){var t=this;this.timeout&&clearTimeout(this.timeout);var n=new Date;this.timeout=setTimeout((function(){t.onRelease.next({value:e,timestamp:n})}),this.delay)}},{key:"releaseObservable",value:function(){return this.onRelease}}]),e}()},X4s7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("FXLk"))},XDnL:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var o=n("WB8P"),i=n("oqX0"),a=n("YQRO"),s=function(){function e(){_classCallCheck(this,e),this.timedOut=!1,this.aborted=!1,this.state=a.ECommonsRunState.PRE}return _createClass(e,[{key:"getState",value:function(){return this.state}},{key:"isAborted",value:function(){return this.aborted}},{key:"isTimedOut",value:function(){return this.timedOut}},{key:"getError",value:function(){return this.error}},{key:"start",value:function(e,t){var n=this;this.state=a.ECommonsRunState.RUNNING,t&&t();var s=o.CommonsBase62.generateRandomId();r(n,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i.CommonsAsync.timeout(e,s);case 3:this.timedOut=!0,this.abort(),t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,this,[[0,7]])}))),r(n,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.run();case 3:this.state=this.timedOut?a.ECommonsRunState.TIMEDOUT:this.aborted?a.ECommonsRunState.ABORTED:a.ECommonsRunState.COMPLETED,e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),this.error=e.t0,this.state=a.ECommonsRunState.ERROR;case 9:return e.prev=9,i.CommonsAsync.abortTimeout(s),t&&t(),e.finish(9);case 12:case"end":return e.stop()}}),e,this,[[0,6,9,12]])})))}},{key:"abort",value:function(){this.aborted=!0}}],[{key:"maximumTimeoutThread",value:function(t,n){return r(this,void 0,void 0,regeneratorRuntime.mark((function o(){var i;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=new(function(e){_inherits(o,e);var t=_createSuper(o);function o(){return _classCallCheck(this,o),t.apply(this,arguments)}return _createClass(o,[{key:"run",value:function(){return r(this,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n(this);case 2:case"end":return e.stop()}}),e,this)})))}}]),o}(e)),o.abrupt("return",new Promise((function(e,n){i.start(t,(function(){switch(i.getState()){case a.ECommonsRunState.PRE:case a.ECommonsRunState.RUNNING:return;case a.ECommonsRunState.ERROR:return void n(i.getError()||new Error("Unknown thread error"));case a.ECommonsRunState.COMPLETED:return void e(!0);case a.ECommonsRunState.TIMEDOUT:case a.ECommonsRunState.ABORTED:return void e(!1)}throw new Error("Unknown thread state")}))})));case 2:case"end":return o.stop()}}),o)})))}}]),e}();t.CommonsStateThread=s},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return h}));var r,o=n("HDdC"),i=n("7o/Q"),a=n("quSY"),s=n("9ppp"),c=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).subject=e,o.subscriber=r,o.closed=!1,o}return _createClass(n,[{key:"unsubscribe",value:function(){if(!this.closed){this.closed=!0;var e=this.subject,t=e.observers;if(this.subject=null,t&&0!==t.length&&!e.isStopped&&!e.closed){var n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}}}]),n}(a.a),u=n("2QA8"),l=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e)).destination=e,r}return n}(i.a),h=((r=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.call(this)).observers=[],e.closed=!1,e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return _createClass(n,[{key:u.a,value:function(){return new l(this)}},{key:"lift",value:function(e){var t=new d(this,this);return t.operator=e,t}},{key:"next",value:function(e){if(this.closed)throw new s.a;if(!this.isStopped)for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].next(e)}},{key:"error",value:function(e){if(this.closed)throw new s.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;for(var t=this.observers,n=t.length,r=t.slice(),o=0;o<n;o++)r[o].error(e);this.observers.length=0}},{key:"complete",value:function(){if(this.closed)throw new s.a;this.isStopped=!0;for(var e=this.observers,t=e.length,n=e.slice(),r=0;r<t;r++)n[r].complete();this.observers.length=0}},{key:"unsubscribe",value:function(){this.isStopped=!0,this.closed=!0,this.observers=null}},{key:"_trySubscribe",value:function(e){if(this.closed)throw new s.a;return _get(_getPrototypeOf(n.prototype),"_trySubscribe",this).call(this,e)}},{key:"_subscribe",value:function(e){if(this.closed)throw new s.a;return this.hasError?(e.error(this.thrownError),a.a.EMPTY):this.isStopped?(e.complete(),a.a.EMPTY):(this.observers.push(e),new c(this,e))}},{key:"asObservable",value:function(){var e=new o.a;return e.source=this,e}}]),n}(o.a)).create=function(e,t){return new d(e,t)},r),d=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).destination=e,o.source=r,o}return _createClass(n,[{key:"next",value:function(e){var t=this.destination;t&&t.next&&t.next(e)}},{key:"error",value:function(e){var t=this.destination;t&&t.error&&this.destination.error(e)}},{key:"complete",value:function(){var e=this.destination;e&&e.complete&&this.destination.complete()}},{key:"_subscribe",value:function(e){return this.source?this.source.subscribe(e):a.a.EMPTY}}]),n}(h)},XoHu:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return r}))},YQRO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("WB8P");function i(e){switch(e.toLowerCase()){case r.PRE.toString():return r.PRE;case r.RUNNING.toString():return r.RUNNING;case r.COMPLETED.toString():return r.COMPLETED;case r.TIMEDOUT.toString():return r.TIMEDOUT;case r.ERROR.toString():return r.ERROR;case r.ABORTED.toString():return r.ABORTED;default:return}}!function(e){e.PRE="pre",e.RUNNING="running",e.COMPLETED="completed",e.TIMEDOUT="timedout",e.ERROR="error",e.ABORTED="aborted"}(r=t.ECommonsRunState||(t.ECommonsRunState={})),t.fromECommonsRunState=function(e){switch(e){case r.PRE:return r.PRE.toString();case r.RUNNING:return r.RUNNING.toString();case r.COMPLETED:return r.COMPLETED.toString();case r.TIMEDOUT:return r.TIMEDOUT.toString();case r.ERROR:return r.ERROR.toString();case r.ABORTED:return r.ABORTED.toString();default:throw new Error("Unknown ECommonsRunState")}},t.toECommonsRunState=i,t.isECommonsRunState=function(e){return!!o.CommonsType.isString(e)&&void 0!==i(e)}},Yvos:function(e,t){e.exports=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},ZUHj:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("51Dv"),o=n("SeVD"),i=n("HDdC");function a(e,t,n,a){var s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:new r.a(e,n,a);if(!s.closed)return t instanceof i.a?t.subscribe(s):Object(o.a)(t)(s)}},a7pM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isTFetch=function(e){return!!r.CommonsType.hasPropertyNumber(e,"index")&&!!r.CommonsType.hasPropertyString(e,"url")}},aEx1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n("hi8z"),o=n("ofXK"),i=n("fXoL"),a=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).thickness=2,e}return n}(r.a);return e.\u0275fac=function(t){return s(t||e)},e.\u0275cmp=i.Fb({type:e,selectors:[["commons-wait-rotate"]],inputs:{thickness:"thickness"},features:[i.wb],decls:2,vars:2,consts:[["viewBox","0 0 50 50"],["fill","none","stroke-linecap","round","cx","25","cy","25","r","20","stroke-miterlimit","10"]],template:function(e,t){1&e&&(i.bc(),i.Qb(0,"svg",0),i.Mb(1,"circle",1),i.Pb()),2&e&&(i.zb(1),i.wc("stroke-width",t.thickness))},styles:["@charset 'utf8';@-webkit-keyframes rotate{100%{transform:rotate(360deg)}}@keyframes rotate{100%{transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35}100%{stroke-dasharray:89,200;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35}100%{stroke-dasharray:89,200;stroke-dashoffset:-124}}@-webkit-keyframes color{0%,100%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}@keyframes color{0%,100%{stroke:#d62d20}40%{stroke:#0057e7}66%{stroke:#008744}80%,90%{stroke:#ffa700}}svg[_ngcontent-%COMP%]{position:relative;-webkit-animation:2s linear infinite rotate;animation:2s linear infinite rotate;height:100%;width:100%}svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke-dasharray:1,200;stroke-dashoffset:0;-webkit-animation:1.5s ease-in-out infinite dash;animation:1.5s ease-in-out infinite dash;stroke-linecap:round}body.webappcommons-theme-blue[_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ffc107}body.webappcommons-theme-darkred[_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#ffeb3b}body.webappcommons-theme-nightoil[_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#e7c385}body.webappcommons-theme-purple[_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#fc3}body.webappcommons-theme-hydra[_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{stroke:#fdd835}[rainbow][_nghost-%COMP%] svg[_ngcontent-%COMP%] circle[_ngcontent-%COMP%]{-webkit-animation:1.5s ease-in-out infinite dash,6s ease-in-out infinite color;animation:1.5s ease-in-out infinite dash,6s ease-in-out infinite color}"]}),e}(),s=i.Sb(a),c=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[o.b]]}),e}()},aYxV:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("bKqd")),r(n("/UVI")),r(n("UcNE")),r(n("Imd5")),r(n("SwOk")),r(n("trlK")),r(n("pJsf")),r(n("1mEP")),r(n("Hcel"))},aYyv:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("c8QO")),r(n("yoYU"))},akSB:function(e,t,n){var r=n("AdPF"),o=n("0z79"),i=n("Cl5A"),a=n("CIKq");t.polling=function(e){var t=!1,n=!1,a=!1!==e.jsonp;if("undefined"!=typeof location){var s="https:"===location.protocol,c=location.port;c||(c=s?443:80),t=e.hostname!==location.hostname||c!==e.port,n=e.secure!==s}if(e.xdomain=t,e.xscheme=n,"open"in new r(e)&&!e.forceJSONP)return new o(e);if(!a)throw new Error("JSONP disabled");return new i(e)},t.websocket=a},"b/jT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("r517");t.isTSegmentTree=function e(t){if(!r.CommonsType.isObject(t))return!1;var n=t;if(!r.CommonsType.hasPropertyNumber(n,"tally"))return!1;if(!r.CommonsType.hasPropertyObjectOrUndefined(n,"children"))return!1;if(r.CommonsType.hasProperty(n,"children"))for(var o=0,i=Object.keys(n.children);o<i.length;o++){var a=i[o];if(!e(n.children[a]))return!1}return!0};var o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"stringSegmentArrayToTree",value:function(e){var t,n={tally:0,children:{}},o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;)for(var i=t.value,a=n;;){var s=i.shift();if(void 0===s)break;r.CommonsType.hasProperty(a,"children")||(a.children={}),r.CommonsType.hasProperty(a.children,s)?a.children[s].tally++:a.children[s]={tally:1},a=a.children[s]}}catch(c){o.e(c)}finally{o.f()}return n.children[""]}},{key:"getDepth",value:function(t){if(void 0===t.children)return 1;for(var n=[],r=0,o=Object.keys(t.children||{});r<o.length;r++){var i=o[r];n.push(e.getDepth(t.children[i]))}return 0===n.length?1:1+(n=n.sort().reverse())[0]}},{key:"treeToStacksRecurse",value:function(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100;if(0===o)throw new Error("Exceeded TTL");for(var i=t.tally,a=0,s=Object.keys(t.children||{});a<s.length;a++){var c=s[a],u=t.children[c];n[r].push({name:c,tally:u.tally}),i-=u.tally,e.treeToStacksRecurse(u,n,r+1,o-1)}if(i>0)for(var l=r;l<n.length;l++)n[l].push({name:"",tally:i})}},{key:"treeToStacks",value:function(t){for(var n=[],r=e.getDepth(t)-1;r-- >0;)n.push([]);return e.treeToStacksRecurse(t,n,0),n}}]),e}();t.CommonsTree=o},b31r:function(e,t,n){"use strict";var r=n("Vfn7");function o(e,t,n){var o=function(e){return e.map((function(e){return{x:e[0],y:e[1]}}))}(e);return function(e){for(var t=[],n=0,r=e.length;n<r;n++){var o=[e[n-1],e[n],e[n+1],e[n+2]];0===n&&(o[0]={x:e[0].x,y:e[0].y}),n===r-2&&(o[3]={x:e[r-2].x,y:e[r-2].y}),n===r-1&&(o[2]={x:e[r-1].x,y:e[r-1].y},o[3]={x:e[r-1].x,y:e[r-1].y}),t.push([(6*o[1].x-o[0].x+o[2].x)/6,(6*o[1].y-o[0].y+o[2].y)/6,(o[1].x+6*o[2].x-o[3].x)/6,(o[1].y+6*o[2].y-o[3].y)/6,o[2].x,o[2].y])}return t}(void 0!==t||void 0!==n?r(o,t,n):o)}e.exports={toPoints:o,toPath:function(e,t,n){for(var r=o(e,t,n),i="M".concat(e[0][0],", ").concat(e[0][1]),a=0;a<r.length;a++)i+="C".concat(r[a][0],",").concat(r[a][1]," ").concat(r[a][2],",").concat(r[a][3]," ").concat(r[a][4],",").concat(r[a][5]);return i}}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("5+tZ"),o=n("SpAZ");function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Number.POSITIVE_INFINITY;return Object(r.a)(o.a,e)}},bKqd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Hcel"),o=n("SwOk"),i=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"remove",value:function(e,t,n){var r=-1;if(n){for(var o=0;o<e.length;o++)if(n(t,e[o])){r=o;break}}else r=e.indexOf(t);return-1!==r&&(e.splice(r,1),!0)}},{key:"chunk",value:function(e,t){for(var n=[],r=0,o=e.length;r<o;r+=t)n.push(e.slice(r,r+t));return n}},{key:"unique",value:function(e,t,n){if(t&&!r.CommonsType.isTArray(e,t))throw new Error("Invalid array supplied to CommonsArray.unique");if(!n)return _toConsumableArray(new Set(e));var o,i=[],a=_createForOfIteratorHelper(e);try{var s=function(){var e=o.value;i.find((function(t){return n(e,t)}))||i.push(e)};for(a.s();!(o=a.n()).done;)s()}catch(c){a.e(c)}finally{a.f()}return i}},{key:"intersect",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.intersect");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.intersect");if(!i){var a=t.filter((function(e){return n.includes(e)}));return e.unique(a)}var s,c=[],u=_createForOfIteratorHelper(t);try{var l=function(){var e=s.value;n.find((function(t){return i(e,t)}))&&c.push(e)};for(u.s();!(s=u.n()).done;)l()}catch(h){u.e(h)}finally{u.f()}return e.unique(c,void 0,i)}},{key:"union",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.union");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.union");var a=[].concat(_toConsumableArray(t),_toConsumableArray(n));return e.unique(a,void 0,i)}},{key:"difference",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.difference");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.difference");var a=e.union(t,n,void 0,i),s=e.intersect(t,n,void 0,i);if(!i)return a.filter((function(e){return!s.includes(e)}));var c,u=[],l=_createForOfIteratorHelper(a);try{var h=function(){var e=c.value;s.find((function(t){return i(e,t)}))||u.push(e)};for(l.s();!(c=l.n()).done;)h()}catch(d){l.e(d)}finally{l.f()}return u}},{key:"removeAll",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.removeAll");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.removeAll");var a,s=!1,c=_createForOfIteratorHelper(n);try{for(c.s();!(a=c.n()).done;){var u=a.value;e.remove(t,u,i)&&(s=!0)}}catch(l){c.e(l)}finally{c.f()}return s}},{key:"unionWithout",value:function(t,n,r,o,i){var a=e.union(t,n,o,i);return e.removeAll(a,r,o,i),a}},{key:"added",value:function(e,t,n,o){if(n&&!r.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.added");if(n&&!r.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.added");var i,a=[],s=_createForOfIteratorHelper(t);try{var c=function(){var t=i.value;o?e.find((function(e){return o(t,e)}))||a.push(t):e.includes(t)||a.push(t)};for(s.s();!(i=s.n()).done;)c()}catch(u){s.e(u)}finally{s.f()}return a}},{key:"removed",value:function(t,n,r,o){return e.added(n,t,r,o)}},{key:"setCombinationsRecurse",value:function(t,n,r,o,i,a){r!==n?i>=t.length||(o[r]=t[i],e.setCombinationsRecurse(t,n,r+1,o,i+1,a),e.setCombinationsRecurse(t,n,r,o,i+1,a)):a.push(o.slice(0,n))}},{key:"setCombinations",value:function(t,n){var r=[],o=Array(n).fill("");return e.setCombinationsRecurse(t,n,0,o,0,r),r}},{key:"randomize",value:function(e){for(var t=e.length,n=t;n-- >0;){var r=o.CommonsNumber.randRange(0,t),i=[e[r],e[n]];e[n]=i[0],e[r]=i[1]}}},{key:"getMinDistance",value:function(e){for(var t=e.length,n=1;n<e.length;n++){var r=Math.abs(e[n]-e[n-1]);t=Math.min(t,r)}return t}},{key:"shuffle",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=t.length;if(r<3)return 2===r&&e.randomize(t),!1;if((n=Math.min(n,Math.floor(r/2)))<1)return e.randomize(t),!1;for(var o=[],i=r,a=0;i-- >0;)o.push(a++);for(var s=o,c=0,u=Math.max(1e3,r);u-- >0;){e.randomize(o);var l=e.getMinDistance(o);if(l>c&&(s=o.slice(),(c=l)>=n))break}for(var h=t.slice(),d=0;d<r;d++)t[d]=h[s[d]];return c>=n}},{key:"splitMapErrors",value:function(e){var t,n=[],r=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;try{if(i instanceof Error){n.push(i);continue}}catch(a){}r.push(i)}}catch(s){o.e(s)}finally{o.f()}return{errors:n,array:r}}},{key:"mapWithErrors",value:function(t,n){var o,i=[],a=_createForOfIteratorHelper(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;try{var c=n(s);i.push(c)}catch(u){r.CommonsType.isError(u)?i.push(u):i.push(new Error(u))}}}catch(l){a.e(l)}finally{a.f()}return e.splitMapErrors(i)}}]),e}();t.CommonsArray=i},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("5+tZ");function o(e,t){return Object(r.a)(e,t,1)}},"brk/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("5rE5"))},c2HN:function(e,t,n){"use strict";function r(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return r}))},c8QO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("WB8P");t.isTCommonsScheduleTime=function(e){if(!r.CommonsType.isObject(e))return!1;var t,n=_createForOfIteratorHelper("year,month,day,dow,hour,minute,second".split(","));try{for(n.s();!(t=n.n()).done;){var o=t.value;if(!r.CommonsType.hasPropertyNumberOrUndefined(e,o)&&!r.CommonsType.hasPropertyArrayOrUndefined(e,o))return!1;if(r.CommonsType.hasPropertyArray(e,o)&&!r.CommonsType.isNumberArray(e[o]))return!1}}catch(i){n.e(i)}finally{n.f()}return!0}},cD5x:function(e,t,n){var r=n("49sm"),o=n("+SKG"),i=Object.prototype.toString,a="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===i.call(Blob),s="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===i.call(File);t.deconstructPacket=function(e){var t=[],n=e;return n.data=function e(t,n){if(!t)return t;if(o(t)){var i={_placeholder:!0,num:n.length};return n.push(t),i}if(r(t)){for(var a=new Array(t.length),s=0;s<t.length;s++)a[s]=e(t[s],n);return a}if("object"==typeof t&&!(t instanceof Date)){for(var c in a={},t)a[c]=e(t[c],n);return a}return t}(e.data,t),n.attachments=t.length,{packet:n,buffers:t}},t.reconstructPacket=function(e,t){return e.data=function e(t,n){if(!t)return t;if(t&&t._placeholder)return n[t.num];if(r(t))for(var o=0;o<t.length;o++)t[o]=e(t[o],n);else if("object"==typeof t)for(var i in t)t[i]=e(t[i],n);return t}(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,i=e;!function e(c,u,l){if(!c)return c;if(a&&c instanceof Blob||s&&c instanceof File){n++;var h=new FileReader;h.onload=function(){l?l[u]=this.result:i=this.result,--n||t(i)},h.readAsArrayBuffer(c)}else if(r(c))for(var d=0;d<c.length;d++)e(c[d],d,c);else if("object"==typeof c&&!o(c))for(var f in c)e(c[f],f,c)}(i),n||t(i)}},cS81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Q2sQ");function i(e){switch(e){case r.INBOUND.toString():return r.INBOUND;case r.OUTBOUND.toString():return r.OUTBOUND}}function a(e){switch(e){case"INBOUND":return r.INBOUND;case"OUTBOUND":return r.OUTBOUND}throw new Error("Unable to obtain EDirection for key: "+e)}!function(e){e.INBOUND="inbound",e.OUTBOUND="outbound"}(r=t.EDirection||(t.EDirection={})),t.toEDirection=i,t.fromEDirection=function(e){switch(e){case r.INBOUND:return r.INBOUND.toString();case r.OUTBOUND:return r.OUTBOUND.toString()}throw new Error("Unknown EDirection")},t.isEDirection=function(e){return!!o.CommonsType.isString(e)&&void 0!==i(e)},t.keyToEDirection=a,t.EDIRECTIONS=Object.keys(r).map((function(e){return a(e)}))},cScS:function(e,t,n){"use strict";n.d(t,"a",(function(){return E}));var r=n("tk/3"),o=n("mrSG"),i=n("LRne"),a=n("Cfvw"),s=n("IzEk"),c=n("D0XW"),u=function(){function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e}(),l=n("l7GE"),h=n("ZUHj"),d=function(){function e(t,n,r,o){_classCallCheck(this,e),this.waitFor=t,this.absoluteTimeout=n,this.withObservable=r,this.scheduler=o}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new f(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}]),e}(),f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i,a){var s;return _classCallCheck(this,n),(s=t.call(this,e)).absoluteTimeout=r,s.waitFor=o,s.withObservable=i,s.scheduler=a,s.action=null,s.scheduleTimeout(),s}return _createClass(n,[{key:"scheduleTimeout",value:function(){var e=this.action;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(n.dispatchTimeout,this.waitFor,this))}},{key:"_next",value:function(e){this.absoluteTimeout||this.scheduleTimeout(),_get(_getPrototypeOf(n.prototype),"_next",this).call(this,e)}},{key:"_unsubscribe",value:function(){this.action=null,this.scheduler=null,this.withObservable=null}}],[{key:"dispatchTimeout",value:function(e){var t=e.withObservable;e._unsubscribeAndRecycle(),e.add(Object(h.a)(e,t))}}]),n}(l.a),p=n("HDdC");function m(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.a;return function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.a;return function(r){var o,i=(o=e)instanceof Date&&!isNaN(+o),a=i?+e-n.now():Math.abs(e);return r.lift(new d(a,i,t,n))}}(e,(t=new u,new p.a((function(e){return e.error(t)}))),n)}var g=n("5+tZ"),y=n("WB8P");n("ofXK"),n("fXoL");var b=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"encodeBody",value:function(e,t){switch(t){case"json":return e;case"form_url":var n=new r.d;if(e)for(var o=0,i=Object.keys(e);o<i.length;o++){var a=i[o],s=e[a];n=n.set(a,null===s?"":s.toString())}return n.toString()}throw new Error("Unknown encoding type")}}]),e}(),v=function(e){_inherits(n,_wrapNativeSuper(Error));var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(),_=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),C=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),O=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),w=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),M=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),r=t.call(this,e),Object.setPrototypeOf(_assertThisInitialized(r),n.prototype),r}return n}(v),E=function(){function e(t,n){_classCallCheck(this,e),this.rootURL=t,this.http=n}return _createClass(e,[{key:"setTimeout",value:function(e){this.timeout=e}},{key:"setReattemptTimeout",value:function(e){this.reattemptTimeout=e}},{key:"internalHead",value:function(t,n,r){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i={},r&&(i.headers=e.buildParamsOrHeaders(r)),n&&(i.params=e.buildParamsOrHeaders(n)),a=this.http.head("".concat(this.rootURL).concat(t),i),o.prev=3,o.next=6,a.pipe(Object(s.a)(1)).toPromise();case 6:o.next=11;break;case 8:throw o.prev=8,o.t0=o.catch(3),console.log("Error during CommonsRestService.internalHead: "+o.t0.message),e.handleHttpCodeErrors(o.t0);case 11:case"end":return o.stop()}}),o,this,[[3,8]])})))}},{key:"head",value:function(e,t,n){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.internalHead(e,t,n);case 2:case"end":return r.stop()}}),r,this)})))}},{key:"internalGet",value:function(t,n,r,i){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var a,c,u,l,h,d;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:c={},i&&(c.headers=e.buildParamsOrHeaders(i)),n&&(c.params=e.buildParamsOrHeaders(n)),o.prev=2,u=r||1,l=0;case 5:if(!(l<u)){o.next=24;break}return l>0&&(h=y.CommonsDate.dateToYmdHis(new Date),console.log("".concat(h,": Timeout for ").concat(t,". Reattempt ").concat(l))),o.prev=7,d=this.http.get("".concat(this.rootURL).concat(t),c),r&&this.reattemptTimeout?d=d.pipe(m(this.reattemptTimeout)):this.timeout&&(d=d.pipe(m(this.timeout))),o.next=12,d.pipe(Object(s.a)(1)).toPromise();case 12:return o.abrupt("return",o.sent);case 15:if(o.prev=15,o.t0=o.catch(7),!o.t0.message||!/timeout/i.test(o.t0.message)){o.next=20;break}return void 0===a&&(a=o.t0),o.abrupt("continue",21);case 20:throw o.t0;case 21:l++,o.next=5;break;case 24:o.next=29;break;case 26:throw o.prev=26,o.t1=o.catch(2),console.log("Error during CommonsRestService.internalGet: "+o.t1.message),e.handleHttpCodeErrors(o.t1);case 29:if(!a){o.next=31;break}throw a;case 31:throw new Error("Max attempts exceeded");case 32:case"end":return o.stop()}}),o,this,[[2,26],[7,15]])})))}},{key:"get",value:function(e,t,n,r){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.internalGet(e,t,n,r);case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}}),o,this)})))}},{key:"internalPost",value:function(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var c,u;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=e.appendContentType(i,a),c={headers:e.buildParamsOrHeaders(i)},r&&(c.params=e.buildParamsOrHeaders(r)),u=this.http.post("".concat(this.rootURL).concat(t),b.encodeBody(n,a),c),this.timeout&&(u=u.pipe(m(this.timeout))),o.prev=5,o.next=8,u.pipe(Object(s.a)(1)).toPromise();case 8:return o.abrupt("return",o.sent);case 11:throw o.prev=11,o.t0=o.catch(5),console.log("Error during CommonsRestService.internalPost: "+o.t0.message),e.handleHttpCodeErrors(o.t0);case 14:case"end":return o.stop()}}),o,this,[[5,11]])})))}},{key:"post",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.internalPost(e,t,n,r,i);case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}}),o,this)})))}},{key:"internalPut",value:function(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var c,u;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=e.appendContentType(i,a),c={headers:e.buildParamsOrHeaders(i)},r&&(c.params=e.buildParamsOrHeaders(r)),u=this.http.put("".concat(this.rootURL).concat(t),b.encodeBody(n,a),c),this.timeout&&(u=u.pipe(m(this.timeout))),o.prev=5,o.next=8,u.pipe(Object(s.a)(1)).toPromise();case 8:return o.abrupt("return",o.sent);case 11:throw o.prev=11,o.t0=o.catch(5),console.log("Error during CommonsRestService.internalPut: "+o.t0.message),e.handleHttpCodeErrors(o.t0);case 14:case"end":return o.stop()}}),o,this,[[5,11]])})))}},{key:"put",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.internalPut(e,t,n,r,i);case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}}),o,this)})))}},{key:"internalPatch",value:function(t,n,r,i){var a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var c,u;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i=e.appendContentType(i,a),c={headers:e.buildParamsOrHeaders(i)},r&&(c.params=e.buildParamsOrHeaders(r)),u=this.http.patch("".concat(this.rootURL).concat(t),b.encodeBody(n,a),c),this.timeout&&(u=u.pipe(m(this.timeout))),o.prev=5,o.next=8,u.pipe(Object(s.a)(1)).toPromise();case 8:return o.abrupt("return",o.sent);case 11:throw o.prev=11,o.t0=o.catch(5),console.log("Error during CommonsRestService.internalPatch: "+o.t0.message),e.handleHttpCodeErrors(o.t0);case 14:case"end":return o.stop()}}),o,this,[[5,11]])})))}},{key:"patch",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"form_url";return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,this.internalPatch(e,t,n,r,i);case 2:return o.abrupt("return",o.sent);case 3:case"end":return o.stop()}}),o,this)})))}},{key:"internalDelete",value:function(t,n,r){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function o(){var i,a;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return i={},r&&(i.headers=e.buildParamsOrHeaders(r)),n&&(i.params=e.buildParamsOrHeaders(n)),a=this.http.delete("".concat(this.rootURL).concat(t),i),this.timeout&&(a=a.pipe(m(this.timeout))),o.prev=4,o.next=7,a.pipe(Object(s.a)(1)).toPromise();case 7:return o.abrupt("return",o.sent);case 10:throw o.prev=10,o.t0=o.catch(4),console.log("Error during CommonsRestService.internalDelete: "+o.t0.message),e.handleHttpCodeErrors(o.t0);case 13:case"end":return o.stop()}}),o,this,[[4,10]])})))}},{key:"delete",value:function(e,t,n){return Object(o.a)(this,void 0,void 0,regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,this.internalDelete(e,t,n);case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r,this)})))}},{key:"populateMissing",value:function(e,t,n,r){if(0===e.length)return Object(i.a)([]);var o,s=e.map((function(e){return n(e)})),c=new Map,u=[],l=0,h=_createForOfIteratorHelper(e);try{for(h.s();!(o=h.n()).done;){var d=o.value;void 0===s[l]?u.push(d):c.set(d,s[l]),l++}}catch(f){h.e(f)}finally{h.f()}return 0===u.length?Object(i.a)(s.map((function(e){return e}))):Object(a.a)(t(u)).pipe(Object(g.a)((function(t){return Object(i.a)(e.map((function(e){if(c.has(e))return c.get(e);var n=u.indexOf(e);if(-1===n)throw new Error("Unable to locate missing item");var o=t[n];return r(e,o),o})))})))}}],[{key:"isTimeoutError",value:function(e){return y.CommonsType.isObject(e)&&y.CommonsType.hasProperty(e,"name")&&"TimeoutError"===e.name}},{key:"handleHttpCodeErrors",value:function(e){if(e instanceof r.c)switch(e.status){case 400:return new k(e.error.message);case 401:return new _(e.error.message);case 403:return new O(e.error.message);case 404:return new C(e.error.message);case 409:return new P(e.error.message);case 500:return new w(e.error.message);case 503:return new M(e.error.message)}return e}},{key:"buildParamsOrHeaders",value:function(e){if(!y.CommonsType.isObject(e))throw new Error("REST data is not an object");return y.CommonsObject.mapObject(e,(function(e){return null==e?"":e.toString()}))}},{key:"appendContentType",value:function(e,t){var n=void 0===e?{}:Object.assign({},e);switch(t){case"form_url":n["Content-Type"]="application/x-www-form-urlencoded";break;case"json":n["Content-Type"]="application/json"}return n}}]),e}()},cpc2:function(e,t,n){function r(e){if(e)return function(e){for(var t in r.prototype)e[t]=r.prototype[t];return e}(e)}e.exports=r,r.prototype.on=r.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},r.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},r.prototype.off=r.prototype.removeListener=r.prototype.removeAllListeners=r.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<r.length;o++)if((n=r[o])===t||n.fn===t){r.splice(o,1);break}return this},r.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var r=0,o=(n=n.slice(0)).length;r<o;++r)n[r].apply(this,t);return this},r.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},r.prototype.hasListeners=function(e){return!!this.listeners(e).length}},crnd:function(e,t){function n(e){return Promise.resolve().then((function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},cu1R:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("4+du")),r(n("n/ur")),r(n("R5ff"))},"dkv/":function(e,t){e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var r in e)n.call(e,r)&&t.push(r);return t}},e7dE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("r517"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"mapObject",value:function(e,t){if(!r.CommonsType.isObject(e))throw new Error("Trying to map a non-object");for(var n={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];n[a]=t(e[a],a)}return n}},{key:"isEmpty",value:function(e){return 0===Object.keys(e).length}},{key:"stripNulls",value:function(t){if(null!=t){if(r.CommonsType.isDate(t))return t;if(r.CommonsType.isArray(t))return t.map((function(t){return e.stripNulls(t)}));if(r.CommonsType.isObject(t)){for(var n={},o=0,i=Object.keys(t);o<i.length;o++){var a=i[o],s=t[a];null!=s&&(n[a]=e.stripNulls(s))}return n}return t}}}]),e}();t.CommonsObject=o},eOtv:function(e,t,n){var r=n("lKxJ"),o=n("KFGy"),i=n("cpc2"),a=n("Vo14"),s=n("2Dig"),c=n("QN7Q"),u=n("NOtv")("socket.io-client:manager"),l=n("7jRU"),h=n("C2QD"),d=Object.prototype.hasOwnProperty;function f(e,t){if(!(this instanceof f))return new f(e,t);e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.nsps={},this.subs=[],this.opts=t,this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(t.randomizationFactor||.5),this.backoff=new h({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this.readyState="closed",this.uri=e,this.connecting=[],this.lastPing=null,this.encoding=!1,this.packetBuffer=[];var n=t.parser||a;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=f,f.prototype.emitAll=function(){for(var e in this.emit.apply(this,arguments),this.nsps)d.call(this.nsps,e)&&this.nsps[e].emit.apply(this.nsps[e],arguments)},f.prototype.updateSocketIds=function(){for(var e in this.nsps)d.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},f.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},i(f.prototype),f.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},f.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},f.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},f.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},f.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},f.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},f.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},f.prototype.open=f.prototype.connect=function(e,t){if(u("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;u("opening %s",this.uri),this.engine=r(this.uri,this.opts);var n=this.engine,o=this;this.readyState="opening",this.skipReconnect=!1;var i=s(n,"open",(function(){o.onopen(),e&&e()})),a=s(n,"error",(function(t){if(u("connect_error"),o.cleanup(),o.readyState="closed",o.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else o.maybeReconnectOnOpen()}));if(!1!==this._timeout){var c=this._timeout;u("connect attempt will timeout after %d",c);var l=setTimeout((function(){u("connect attempt timed out after %d",c),i.destroy(),n.close(),n.emit("error","timeout"),o.emitAll("connect_timeout",c)}),c);this.subs.push({destroy:function(){clearTimeout(l)}})}return this.subs.push(i),this.subs.push(a),this},f.prototype.onopen=function(){u("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(s(e,"data",c(this,"ondata"))),this.subs.push(s(e,"ping",c(this,"onping"))),this.subs.push(s(e,"pong",c(this,"onpong"))),this.subs.push(s(e,"error",c(this,"onerror"))),this.subs.push(s(e,"close",c(this,"onclose"))),this.subs.push(s(this.decoder,"decoded",c(this,"ondecoded")))},f.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},f.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},f.prototype.ondata=function(e){this.decoder.add(e)},f.prototype.ondecoded=function(e){this.emit("packet",e)},f.prototype.onerror=function(e){u("error",e),this.emitAll("error",e)},f.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new o(this,e,t),this.nsps[e]=n;var r=this;n.on("connecting",i),n.on("connect",(function(){n.id=r.generateId(e)})),this.autoConnect&&i()}function i(){~l(r.connecting,n)||r.connecting.push(n)}return n},f.prototype.destroy=function(e){var t=l(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},f.prototype.packet=function(e){u("writing packet %j",e);var t=this;e.query&&0===e.type&&(e.nsp+="?"+e.query),t.encoding?t.packetBuffer.push(e):(t.encoding=!0,this.encoder.encode(e,(function(n){for(var r=0;r<n.length;r++)t.engine.write(n[r],e.options);t.encoding=!1,t.processPacketQueue()})))},f.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},f.prototype.cleanup=function(){u("cleanup");for(var e=this.subs.length,t=0;t<e;t++)this.subs.shift().destroy();this.packetBuffer=[],this.encoding=!1,this.lastPing=null,this.decoder.destroy()},f.prototype.close=f.prototype.disconnect=function(){u("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},f.prototype.onclose=function(e){u("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},f.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)u("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();u("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(u("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(u("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(u("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},f.prototype.onreconnect=function(){var e=this.backoff.attempts;this.reconnecting=!1,this.backoff.reset(),this.updateSocketIds(),this.emitAll("reconnect",e)}},eY2s:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("r517"),o=n("znQF"),i=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"remove",value:function(e,t,n){var r=-1;if(n){for(var o=0;o<e.length;o++)if(n(t,e[o])){r=o;break}}else r=e.indexOf(t);return-1!==r&&(e.splice(r,1),!0)}},{key:"chunk",value:function(e,t){for(var n=[],r=0,o=e.length;r<o;r+=t)n.push(e.slice(r,r+t));return n}},{key:"unique",value:function(e,t,n){if(t&&!r.CommonsType.isTArray(e,t))throw new Error("Invalid array supplied to CommonsArray.unique");if(!n)return _toConsumableArray(new Set(e));var o,i=[],a=_createForOfIteratorHelper(e);try{var s=function(){var e=o.value;i.find((function(t){return n(e,t)}))||i.push(e)};for(a.s();!(o=a.n()).done;)s()}catch(c){a.e(c)}finally{a.f()}return i}},{key:"intersect",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.intersect");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.intersect");if(!i){var a=t.filter((function(e){return n.includes(e)}));return e.unique(a)}var s,c=[],u=_createForOfIteratorHelper(t);try{var l=function(){var e=s.value;n.find((function(t){return i(e,t)}))&&c.push(e)};for(u.s();!(s=u.n()).done;)l()}catch(h){u.e(h)}finally{u.f()}return e.unique(c,void 0,i)}},{key:"union",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.union");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.union");var a=[].concat(_toConsumableArray(t),_toConsumableArray(n));return e.unique(a,void 0,i)}},{key:"difference",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.difference");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.difference");var a=e.union(t,n,void 0,i),s=e.intersect(t,n,void 0,i);if(!i)return a.filter((function(e){return!s.includes(e)}));var c,u=[],l=_createForOfIteratorHelper(a);try{var h=function(){var e=c.value;s.find((function(t){return i(e,t)}))||u.push(e)};for(l.s();!(c=l.n()).done;)h()}catch(d){l.e(d)}finally{l.f()}return u}},{key:"removeAll",value:function(t,n,o,i){if(o&&!r.CommonsType.isTArray(t,o))throw new Error("Invalid array supplied to CommonsArray.removeAll");if(o&&!r.CommonsType.isTArray(n,o))throw new Error("Invalid array supplied to CommonsArray.removeAll");var a,s=!1,c=_createForOfIteratorHelper(n);try{for(c.s();!(a=c.n()).done;){var u=a.value;e.remove(t,u,i)&&(s=!0)}}catch(l){c.e(l)}finally{c.f()}return s}},{key:"unionWithout",value:function(t,n,r,o,i){var a=e.union(t,n,o,i);return e.removeAll(a,r,o,i),a}},{key:"added",value:function(e,t,n,o){if(n&&!r.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.added");if(n&&!r.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.added");var i,a=[],s=_createForOfIteratorHelper(t);try{var c=function(){var t=i.value;o?e.find((function(e){return o(t,e)}))||a.push(t):e.includes(t)||a.push(t)};for(s.s();!(i=s.n()).done;)c()}catch(u){s.e(u)}finally{s.f()}return a}},{key:"removed",value:function(t,n,r,o){return e.added(n,t,r,o)}},{key:"setCombinationsRecurse",value:function(t,n,r,o,i,a){r!==n?i>=t.length||(o[r]=t[i],e.setCombinationsRecurse(t,n,r+1,o,i+1,a),e.setCombinationsRecurse(t,n,r,o,i+1,a)):a.push(o.slice(0,n))}},{key:"setCombinations",value:function(t,n){var r=[],o=Array(n).fill("");return e.setCombinationsRecurse(t,n,0,o,0,r),r}},{key:"randomize",value:function(e){for(var t=e.length,n=t;n-- >0;){var r=o.CommonsNumber.randRange(0,t),i=[e[r],e[n]];e[n]=i[0],e[r]=i[1]}}},{key:"getMinDistance",value:function(e){for(var t=e.length,n=1;n<e.length;n++){var r=Math.abs(e[n]-e[n-1]);t=Math.min(t,r)}return t}},{key:"shuffle",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=t.length;if(r<3)return 2===r&&e.randomize(t),!1;if((n=Math.min(n,Math.floor(r/2)))<1)return e.randomize(t),!1;for(var o=[],i=r,a=0;i-- >0;)o.push(a++);for(var s=o,c=0,u=Math.max(1e3,r);u-- >0;){e.randomize(o);var l=e.getMinDistance(o);if(l>c&&(s=o.slice(),(c=l)>=n))break}for(var h=t.slice(),d=0;d<r;d++)t[d]=h[s[d]];return c>=n}},{key:"splitMapErrors",value:function(e){var t,n=[],r=[],o=_createForOfIteratorHelper(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;try{if(i instanceof Error){n.push(i);continue}}catch(a){}r.push(i)}}catch(s){o.e(s)}finally{o.f()}return{errors:n,array:r}}},{key:"mapWithErrors",value:function(t,n){var o,i=[],a=_createForOfIteratorHelper(t);try{for(a.s();!(o=a.n()).done;){var s=o.value;try{var c=n(s);i.push(c)}catch(u){r.CommonsType.isError(u)?i.push(u):i.push(new Error(u))}}}catch(l){a.e(l)}finally{a.f()}return e.splitMapErrors(i)}}]),e}();t.CommonsArray=i},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ni})),n.d(t,"b",(function(){return Zc})),n.d(t,"c",(function(){return qc})),n.d(t,"d",(function(){return Gc})),n.d(t,"e",(function(){return Kc})),n.d(t,"f",(function(){return Vu})),n.d(t,"g",(function(){return ju})),n.d(t,"h",(function(){return bi})),n.d(t,"i",(function(){return cu})),n.d(t,"j",(function(){return _s})),n.d(t,"k",(function(){return eu})),n.d(t,"l",(function(){return Cs})),n.d(t,"m",(function(){return Tn})),n.d(t,"n",(function(){return Pc})),n.d(t,"o",(function(){return re})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return ne})),n.d(t,"r",(function(){return Di})),n.d(t,"s",(function(){return Bs})),n.d(t,"t",(function(){return Hs})),n.d(t,"u",(function(){return Jc})),n.d(t,"v",(function(){return ge})),n.d(t,"w",(function(){return Nu})),n.d(t,"x",(function(){return me})),n.d(t,"y",(function(){return Eu})),n.d(t,"z",(function(){return du})),n.d(t,"A",(function(){return C})),n.d(t,"B",(function(){return Xc})),n.d(t,"C",(function(){return Wc})),n.d(t,"D",(function(){return ws})),n.d(t,"E",(function(){return ks})),n.d(t,"F",(function(){return Ps})),n.d(t,"G",(function(){return Es})),n.d(t,"H",(function(){return gr})),n.d(t,"I",(function(){return k})),n.d(t,"J",(function(){return Fu})),n.d(t,"K",(function(){return Ks})),n.d(t,"L",(function(){return _u})),n.d(t,"M",(function(){return Ss})),n.d(t,"N",(function(){return Ys})),n.d(t,"O",(function(){return we})),n.d(t,"P",(function(){return Vi})),n.d(t,"Q",(function(){return Su})),n.d(t,"R",(function(){return Yn})),n.d(t,"S",(function(){return B})),n.d(t,"T",(function(){return qn})),n.d(t,"U",(function(){return Hu})),n.d(t,"V",(function(){return Ou})),n.d(t,"W",(function(){return $c})),n.d(t,"X",(function(){return _i})),n.d(t,"Y",(function(){return uc})),n.d(t,"Z",(function(){return pr})),n.d(t,"ab",(function(){return vr})),n.d(t,"bb",(function(){return Zn})),n.d(t,"cb",(function(){return Un})),n.d(t,"db",(function(){return Ln})),n.d(t,"eb",(function(){return Vn})),n.d(t,"fb",(function(){return Hn})),n.d(t,"gb",(function(){return Bn})),n.d(t,"hb",(function(){return zn})),n.d(t,"ib",(function(){return ic})),n.d(t,"jb",(function(){return Bu})),n.d(t,"kb",(function(){return ac})),n.d(t,"lb",(function(){return sc})),n.d(t,"mb",(function(){return Fn})),n.d(t,"nb",(function(){return Q})),n.d(t,"ob",(function(){return Gi})),n.d(t,"pb",(function(){return da})),n.d(t,"qb",(function(){return ha})),n.d(t,"rb",(function(){return zi})),n.d(t,"sb",(function(){return oc})),n.d(t,"tb",(function(){return We})),n.d(t,"ub",(function(){return U})),n.d(t,"vb",(function(){return Rn})),n.d(t,"wb",(function(){return ts})),n.d(t,"xb",(function(){return ss})),n.d(t,"yb",(function(){return ys})),n.d(t,"zb",(function(){return Gr})),n.d(t,"Ab",(function(){return Zi})),n.d(t,"Bb",(function(){return Ra})),n.d(t,"Cb",(function(){return ja})),n.d(t,"Db",(function(){return Uc})),n.d(t,"Eb",(function(){return Or})),n.d(t,"Fb",(function(){return Te})),n.d(t,"Gb",(function(){return Re})),n.d(t,"Hb",(function(){return E})),n.d(t,"Ib",(function(){return S})),n.d(t,"Jb",(function(){return je})),n.d(t,"Kb",(function(){return Ue})),n.d(t,"Lb",(function(){return ea})),n.d(t,"Mb",(function(){return sa})),n.d(t,"Nb",(function(){return ua})),n.d(t,"Ob",(function(){return ca})),n.d(t,"Pb",(function(){return aa})),n.d(t,"Qb",(function(){return ia})),n.d(t,"Rb",(function(){return la})),n.d(t,"Sb",(function(){return wn})),n.d(t,"Tb",(function(){return Ja})),n.d(t,"Ub",(function(){return he})),n.d(t,"Vb",(function(){return ta})),n.d(t,"Wb",(function(){return Vc})),n.d(t,"Xb",(function(){return na})),n.d(t,"Yb",(function(){return fa})),n.d(t,"Zb",(function(){return Fc})),n.d(t,"ac",(function(){return Bt})),n.d(t,"bc",(function(){return Lt})),n.d(t,"cc",(function(){return ga})),n.d(t,"dc",(function(){return bc})),n.d(t,"ec",(function(){return vc})),n.d(t,"fc",(function(){return _c})),n.d(t,"gc",(function(){return Cc})),n.d(t,"hc",(function(){return va})),n.d(t,"ic",(function(){return ba})),n.d(t,"jc",(function(){return ra})),n.d(t,"kc",(function(){return pc})),n.d(t,"lc",(function(){return mc})),n.d(t,"mc",(function(){return gc})),n.d(t,"nc",(function(){return Nc})),n.d(t,"oc",(function(){return Ji})),n.d(t,"pc",(function(){return sn})),n.d(t,"qc",(function(){return pt})),n.d(t,"rc",(function(){return _r})),n.d(t,"sc",(function(){return Cr})),n.d(t,"tc",(function(){return De})),n.d(t,"uc",(function(){return Rc})),n.d(t,"vc",(function(){return Da})),n.d(t,"wc",(function(){return Ia})),n.d(t,"xc",(function(){return $i})),n.d(t,"yc",(function(){return zc})),n.d(t,"zc",(function(){return Wa})),n.d(t,"Ac",(function(){return Xa})),n.d(t,"Bc",(function(){return Za})),n.d(t,"Cc",(function(){return $a}));var r=n("XNiG"),o=n("quSY"),i=n("HDdC"),a=n("z+Ro"),s=n("bHdf"),c=n("yCtX"),u=n("7o/Q");function l(){return function(e){return e.lift(new d(e))}}var h,d=function(){function e(t){_classCallCheck(this,e),this.connectable=t}return _createClass(e,[{key:"call",value:function(e,t){var n=this.connectable;n._refCount++;var r=new f(e,n),o=t.subscribe(r);return r.closed||(r.connection=n.connect()),o}}]),e}(),f=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).connectable=r,o}return _createClass(n,[{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._refCount;if(t<=0)this.connection=null;else if(e._refCount=t-1,t>1)this.connection=null;else{var n=this.connection,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}else this.connection=null}}]),n}(u.a),p=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).source=e,o.subjectFactory=r,o._refCount=0,o._isComplete=!1,o}return _createClass(n,[{key:"_subscribe",value:function(e){return this.getSubject().subscribe(e)}},{key:"getSubject",value:function(){var e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}},{key:"connect",value:function(){var e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new o.a).add(this.source.subscribe(new g(this.getSubject(),this))),e.closed&&(this._connection=null,e=o.a.EMPTY)),e}},{key:"refCount",value:function(){return l()(this)}}]),n}(i.a),m={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:(h=p.prototype)._subscribe},_isComplete:{value:h._isComplete,writable:!0},getSubject:{value:h.getSubject},connect:{value:h.connect},refCount:{value:h.refCount}},g=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).connectable=r,o}return _createClass(n,[{key:"_error",value:function(e){this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_error",this).call(this,e)}},{key:"_complete",value:function(){this.connectable._isComplete=!0,this._unsubscribe(),_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"_unsubscribe",value:function(){var e=this.connectable;if(e){this.connectable=null;var t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}]),n}(r.b);function y(){return new r.a}function b(e){return{toString:e}.toString()}function v(e,t,n){return b((function(){var r=function(e){return function(){if(e){var t=e.apply(void 0,arguments);for(var n in t)this[n]=t[n]}}}(t);function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=_construct(o,t);return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}))}var _=v("Inject",(function(e){return{token:e}})),C=v("Optional"),O=v("Self"),k=v("SkipSelf"),P=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function w(e){for(var t in e)if(e[t]===w)return t;throw Error("Could not find renamed property on target object.")}function M(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function E(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function S(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function T(e){return x(e,e[I])||x(e,e[N])}function x(e,t){return t&&t.token===e?t:null}function A(e){return e&&(e.hasOwnProperty(j)||e.hasOwnProperty(R))?e[j]:null}var I=w({"\u0275prov":w}),j=w({"\u0275inj":w}),D=w({"\u0275provFallback":w}),N=w({ngInjectableDef:w}),R=w({ngInjectorDef:w});function U(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(U).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function F(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}var L=w({__forward_ref__:w});function B(e){return e.__forward_ref__=B,e.toString=function(){return U(this())},e}function H(e){return z(e)?e():e}function z(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===B}var V,G="undefined"!=typeof globalThis&&globalThis,K="undefined"!=typeof window&&window,q="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Y="undefined"!=typeof global&&global,Q=G||Y||K||q,W=w({"\u0275cmp":w}),X=w({"\u0275dir":w}),Z=w({"\u0275pipe":w}),$=w({"\u0275mod":w}),J=w({"\u0275loc":w}),ee=w({"\u0275fac":w}),te=w({__NG_ELEMENT_ID__:w}),ne=function(){function e(t,n){_classCallCheck(this,e),this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=E({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}return _createClass(e,[{key:"toString",value:function(){return"InjectionToken "+this._desc}}]),e}(),re=new ne("INJECTOR",-1),oe={},ie=/\n/gm,ae=w({provide:String,useValue:w}),se=void 0;function ce(e){var t=se;return se=e,t}function ue(e){var t=V;return V=e,t}function le(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.Default;if(void 0===se)throw new Error("inject() must be called from an injection context");return null===se?de(e,void 0,t):se.get(e,t&P.Optional?null:void 0,t)}function he(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.Default;return(V||le)(H(e),t)}function de(e,t,n){var r=T(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&P.Optional)return null;if(void 0!==t)return t;throw new Error("Injector: NOT_FOUND [".concat(U(e),"]"))}function fe(e){for(var t=[],n=0;n<e.length;n++){var r=H(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");for(var o=void 0,i=P.Default,a=0;a<r.length;a++){var s=r[a];s instanceof C||"Optional"===s.ngMetadataName||s===C?i|=P.Optional:s instanceof k||"SkipSelf"===s.ngMetadataName||s===k?i|=P.SkipSelf:s instanceof O||"Self"===s.ngMetadataName||s===O?i|=P.Self:o=s instanceof _||s===_?s.token:s}t.push(he(o,i))}else t.push(he(r))}return t}var pe=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;if(t===oe){var n=new Error("NullInjectorError: No provider for ".concat(U(e),"!"));throw n.name="NullInjectorError",n}return t}}]),e}(),me=function e(){_classCallCheck(this,e)},ge=function e(){_classCallCheck(this,e)};function ye(e,t){e.forEach((function(e){return Array.isArray(e)?ye(e,t):t(e)}))}function be(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ve(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _e(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function Ce(e,t,n){var r=ke(e,t);return r>=0?e[1|r]=n:function(e,t,n,r){var o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Oe(e,t){var n=ke(e,t);if(n>=0)return e[1|n]}function ke(e,t){return function(e,t,n){for(var r=0,o=e.length>>1;o!==r;){var i=r+(o-r>>1),a=e[i<<1];if(t===a)return i<<1;a>t?o=i:r=i+1}return~(o<<1)}(e,t)}var Pe=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),we=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Me={},Ee=[],Se=0;function Te(e){return b((function(){var t=e.type,n=t.prototype,r={},o={type:t,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:r,inputs:null,outputs:null,exportAs:e.exportAs||null,onChanges:null,onInit:n.ngOnInit||null,doCheck:n.ngDoCheck||null,afterContentInit:n.ngAfterContentInit||null,afterContentChecked:n.ngAfterContentChecked||null,afterViewInit:n.ngAfterViewInit||null,afterViewChecked:n.ngAfterViewChecked||null,onDestroy:n.ngOnDestroy||null,onPush:e.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||we.Emulated,id:"c",styles:e.styles||Ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,a=e.features,s=e.pipes;return o.id+=Se++,o.inputs=Ne(e.inputs,r),o.outputs=Ne(e.outputs),a&&a.forEach((function(e){return e(o)})),o.directiveDefs=i?function(){return("function"==typeof i?i():i).map(xe)}:null,o.pipeDefs=s?function(){return("function"==typeof s?s():s).map(Ae)}:null,o}))}function xe(e){return Fe(e)||function(e){return e[X]||null}(e)}function Ae(e){return function(e){return e[Z]||null}(e)}var Ie={};function je(e){var t={type:e.type,bootstrap:e.bootstrap||Ee,declarations:e.declarations||Ee,imports:e.imports||Ee,exports:e.exports||Ee,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&b((function(){Ie[e.id]=e.type})),t}function De(e,t){return b((function(){var n=Be(e,!0);n.declarations=t.declarations||Ee,n.imports=t.imports||Ee,n.exports=t.exports||Ee}))}function Ne(e,t){if(null==e)return Me;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}var Re=Te;function Ue(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Fe(e){return e[W]||null}function Le(e,t){return e.hasOwnProperty(ee)?e[ee]:null}function Be(e,t){var n=e[$]||null;if(!n&&!0===t)throw new Error("Type ".concat(U(e)," does not have '\u0275mod' property."));return n}function He(e){return Array.isArray(e)&&"object"==typeof e[1]}function ze(e){return Array.isArray(e)&&!0===e[1]}function Ve(e){return 0!=(8&e.flags)}function Ge(e){return 2==(2&e.flags)}function Ke(e){return 1==(1&e.flags)}function qe(e){return null!==e.template}function Ye(e){return 0!=(512&e[2])}var Qe=void 0;function We(e){Qe=e}function Xe(e){return!!e.listen}var Ze={createRenderer:function(e,t){return void 0!==Qe?Qe:"undefined"!=typeof document?document:void 0}};function $e(e){for(;Array.isArray(e);)e=e[0];return e}function Je(e,t){return $e(t[e+20])}function et(e,t){return $e(t[e.index])}function tt(e,t){return e.data[t+20]}function nt(e,t){return e[t+20]}function rt(e,t){var n=t[e];return He(n)?n:n[0]}function ot(e){var t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function it(e){return 4==(4&e[2])}function at(e){return 128==(128&e[2])}function st(e,t){return null===e||null==t?null:e[t]}function ct(e){e[18]=0}function ut(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}var lt={lFrame:It(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ht(){return lt.bindingsEnabled}function dt(){return lt.lFrame.lView}function ft(){return lt.lFrame.tView}function pt(e){lt.lFrame.contextLView=e}function mt(){return lt.lFrame.previousOrParentTNode}function gt(e,t){lt.lFrame.previousOrParentTNode=e,lt.lFrame.isParent=t}function yt(){return lt.lFrame.isParent}function bt(){lt.lFrame.isParent=!1}function vt(){return lt.checkNoChangesMode}function _t(e){lt.checkNoChangesMode=e}function Ct(){var e=lt.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ot(){return lt.lFrame.bindingIndex}function kt(){return lt.lFrame.bindingIndex++}function Pt(e){var t=lt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function wt(e,t){var n=lt.lFrame;n.bindingIndex=n.bindingRootIndex=e,Mt(t)}function Mt(e){lt.lFrame.currentDirectiveIndex=e}function Et(){return lt.lFrame.currentQueryIndex}function St(e){lt.lFrame.currentQueryIndex=e}function Tt(e,t){var n=At();lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function xt(e,t){var n=At(),r=e[1];lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function At(){var e=lt.lFrame,t=null===e?null:e.child;return null===t?It(e):t}function It(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function jt(){var e=lt.lFrame;return lt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var Dt=jt;function Nt(){var e=jt();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Rt(){return lt.lFrame.selectedIndex}function Ut(e){lt.lFrame.selectedIndex=e}function Ft(){var e=lt.lFrame;return tt(e.tView,e.selectedIndex)}function Lt(){lt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Bt(){lt.lFrame.currentNamespace=null}function Ht(e,t){for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var o=e.data[n];o.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,o.afterContentInit),o.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,o.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o.afterContentChecked)),o.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,o.afterViewInit),o.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,o.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,o.afterViewChecked)),null!=o.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,o.onDestroy)}}function zt(e,t,n){Kt(e,t,3,n)}function Vt(e,t,n,r){(3&e[2])===n&&Kt(e,t,n,r)}function Gt(e,t){var n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Kt(e,t,n,r){for(var o=null!=r?r:-1,i=0,a=void 0!==r?65535&e[18]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(i=t[a],null!=r&&i>=r)break}else t[a]<0&&(e[18]+=65536),(i<o||-1==o)&&(qt(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function qt(e,t,n,r){var o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,i.call(a)):i.call(a)}var Yt=function e(t,n,r){_classCallCheck(this,e),this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r};function Qt(e,t,n){for(var r=Xe(e),o=0;o<n.length;){var i=n[o];if("number"==typeof i){if(0!==i)break;o++;var a=n[o++],s=n[o++],c=n[o++];r?e.setAttribute(t,s,c,a):t.setAttributeNS(a,s,c)}else{var u=i,l=n[++o];Xt(u)?r&&e.setProperty(t,u,l):r?e.setAttribute(t,u,l):t.setAttribute(u,l),o++}}return o}function Wt(e){return 3===e||4===e||6===e}function Xt(e){return 64===e.charCodeAt(0)}function Zt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var o=t[r];"number"==typeof o?n=o:0===n||$t(e,n,o,null,-1===n||2===n?t[++r]:null)}return e}function $t(e,t,n,r,o){var i=0,a=e.length;if(-1===t)a=-1;else for(;i<e.length;){var s=e[i++];if("number"==typeof s){if(s===t){a=-1;break}if(s>t){a=i-1;break}}}for(;i<e.length;){var c=e[i];if("number"==typeof c)break;if(c===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==a&&(e.splice(a,0,t),i=a+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Jt(e){return-1!==e}function en(e){return 32767&e}function tn(e){return e>>16}function nn(e,t){for(var n=tn(e),r=t;n>0;)r=r[15],n--;return r}function rn(e){return"string"==typeof e?e:null==e?"":""+e}function on(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():rn(e)}var an=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Q);function sn(e){return{name:"document",target:e.ownerDocument}}function cn(e){return e instanceof Function?e():e}var un=!0;function ln(e){var t=un;return un=e,t}var hn=0;function dn(e,t){var n=pn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,fn(r.data,e),fn(t,null),fn(r.blueprint,null));var o=mn(e,t),i=e.injectorIndex;if(Jt(o))for(var a=en(o),s=nn(o,t),c=s[1].data,u=0;u<8;u++)t[i+u]=s[a+u]|c[a+u];return t[i+8]=o,i}function fn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function pn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function mn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function gn(e,t,n){!function(e,t,n){var r="string"!=typeof n?n[te]:n.charCodeAt(0)||0;null==r&&(r=n[te]=hn++);var o=255&r,i=1<<o,a=64&o,s=32&o,c=t.data;128&o?a?s?c[e+7]|=i:c[e+6]|=i:s?c[e+5]|=i:c[e+4]|=i:a?s?c[e+3]|=i:c[e+2]|=i:s?c[e+1]|=i:c[e]|=i}(e,t,n)}function yn(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:P.Default,o=arguments.length>4?arguments[4]:void 0;if(null!==e){var i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[te];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof i){Tt(t,e);try{var a=i();if(null!=a||r&P.Optional)return a;throw new Error("No provider for ".concat(on(n),"!"))}finally{Dt()}}else if("number"==typeof i){if(-1===i)return new Pn(e,t);var s=null,c=pn(e,t),u=-1,l=r&P.Host?t[16][6]:null;for((-1===c||r&P.SkipSelf)&&(u=-1===c?mn(e,t):t[c+8],kn(r,!1)?(s=t[1],c=en(u),t=nn(u,t)):c=-1);-1!==c;){u=t[c+8];var h=t[1];if(On(i,c,h.data)){var d=vn(c,t,n,s,r,l);if(d!==bn)return d}kn(r,t[1].data[c+8]===l)&&On(i,c,t)?(s=h,c=en(u),t=nn(u,t)):c=-1}}}if(r&P.Optional&&void 0===o&&(o=null),0==(r&(P.Self|P.Host))){var f=t[9],p=ue(void 0);try{return f?f.get(n,o,r&P.Optional):de(n,o,r&P.Optional)}finally{ue(p)}}if(r&P.Optional)return o;throw new Error("NodeInjector: NOT_FOUND [".concat(on(n),"]"))}var bn={};function vn(e,t,n,r,o,i){var a=t[1],s=a.data[e+8],c=_n(s,a,n,null==r?Ge(s)&&un:r!=a&&3===s.type,o&P.Host&&i===s);return null!==c?Cn(t,a,c,s):bn}function _n(e,t,n,r,o){for(var i=e.providerIndexes,a=t.data,s=65535&i,c=e.directiveStart,u=i>>16,l=o?s+u:e.directiveEnd,h=r?s:s+u;h<l;h++){var d=a[h];if(h<c&&n===d||h>=c&&d.type===n)return h}if(o){var f=a[c];if(f&&qe(f)&&f.type===n)return c}return null}function Cn(e,t,n,r){var o=e[n],i=t.data;if(o instanceof Yt){var a=o;if(a.resolving)throw new Error("Circular dep for "+on(i[n]));var s,c=ln(a.canSeeViewProviders);a.resolving=!0,a.injectImpl&&(s=ue(a.injectImpl)),Tt(e,r);try{o=e[n]=a.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){var r=t.onChanges,o=t.onInit,i=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{a.injectImpl&&ue(s),ln(c),a.resolving=!1,Dt()}}return o}function On(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function kn(e,t){return!(e&P.Self||e&P.Host&&t)}var Pn=function(){function e(t,n){_classCallCheck(this,e),this._tNode=t,this._lView=n}return _createClass(e,[{key:"get",value:function(e,t){return yn(this._tNode,this._lView,e,void 0,t)}}]),e}();function wn(e){return b((function(){var t=Object.getPrototypeOf(e.prototype).constructor,n=t[ee]||function e(t){var n=t;if(z(t))return function(){var t=e(H(n));return t?t():null};var r=Le(n);if(null===r){var o=A(n);r=o&&o.factory}return r||null}(t);return null!==n?n:function(e){return new e}}))}function Mn(e){return e.ngDebugContext}function En(e){return e.ngOriginalError}function Sn(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];e.error.apply(e,n)}var Tn=function(){function e(){_classCallCheck(this,e),this._console=console}return _createClass(e,[{key:"handleError",value:function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e.ngErrorLogger||Sn}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}},{key:"_findContext",value:function(e){return e?Mn(e)?Mn(e):this._findContext(En(e)):null}},{key:"_findOriginalError",value:function(e){for(var t=En(e);t&&En(t);)t=En(t);return t}}]),e}(),xn=function(){function e(t){_classCallCheck(this,e),this.changingThisBreaksApplicationSecurity=t}return _createClass(e,[{key:"toString",value:function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}]),e}(),An=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"HTML"}}]),n}(xn),In=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Style"}}]),n}(xn),jn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"Script"}}]),n}(xn),Dn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"URL"}}]),n}(xn),Nn=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getTypeName",value:function(){return"ResourceURL"}}]),n}(xn);function Rn(e){return e instanceof xn?e.changingThisBreaksApplicationSecurity:e}function Un(e,t){var n=Fn(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe ".concat(t,", got a ").concat(n," (see http://g.co/ng/security#xss)"))}return n===t}function Fn(e){return e instanceof xn&&e.getTypeName()||null}function Ln(e){return new An(e)}function Bn(e){return new In(e)}function Hn(e){return new jn(e)}function zn(e){return new Dn(e)}function Vn(e){return new Nn(e)}var Gn=!0,Kn=!1;function qn(){return Kn=!0,Gn}function Yn(){if(Kn)throw new Error("Cannot enable prod mode after platform setup.");Gn=!1}var Qn=function(){function e(t){_classCallCheck(this,e),this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var n=this.inertDocument.body;if(null==n){var r=this.inertDocument.createElement("html");this.inertDocument.appendChild(r),n=this.inertDocument.createElement("body"),r.appendChild(n)}n.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!n.querySelector||n.querySelector("svg")?(n.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=n.querySelector&&n.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return _createClass(e,[{key:"getInertBodyElement_XHR",value:function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n}},{key:"getInertBodyElement_DOMParser",value:function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(n){return null}}},{key:"getInertBodyElement_InertDocument",value:function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}},{key:"stripCustomNsAttrs",value:function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling}}]),e}(),Wn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Xn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Zn(e){return(e=String(e)).match(Wn)||e.match(Xn)?e:(qn()&&console.warn("WARNING: sanitizing unsafe URL value ".concat(e," (see http://g.co/ng/security#xss)")),"unsafe:"+e)}function $n(e){var t,n={},r=_createForOfIteratorHelper(e.split(","));try{for(r.s();!(t=r.n()).done;){n[t.value]=!0}}catch(o){r.e(o)}finally{r.f()}return n}function Jn(){for(var e={},t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o=0,i=n;o<i.length;o++){var a=i[o];for(var s in a)a.hasOwnProperty(s)&&(e[s]=!0)}return e}var er,tr=$n("area,br,col,hr,img,wbr"),nr=$n("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rr=$n("rp,rt"),or=Jn(rr,nr),ir=Jn(tr,Jn(nr,$n("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Jn(rr,$n("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),or),ar=$n("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sr=$n("srcset"),cr=Jn(ar,sr,$n("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),$n("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),ur=$n("script,style,template"),lr=function(){function e(){_classCallCheck(this,e),this.sanitizedSomething=!1,this.buf=[]}return _createClass(e,[{key:"sanitizeChildren",value:function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}},{key:"startElement",value:function(e){var t=e.nodeName.toLowerCase();if(!ir.hasOwnProperty(t))return this.sanitizedSomething=!0,!ur.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n,r=e.attributes,o=0;o<r.length;o++){var i=r.item(o),a=i.name,s=a.toLowerCase();if(cr.hasOwnProperty(s)){var c=i.value;ar[s]&&(c=Zn(c)),sr[s]&&(n=c,c=(n=String(n)).split(",").map((function(e){return Zn(e.trim())})).join(", ")),this.buf.push(" ",a,'="',fr(c),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0}},{key:"endElement",value:function(e){var t=e.nodeName.toLowerCase();ir.hasOwnProperty(t)&&!tr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}},{key:"chars",value:function(e){this.buf.push(fr(e))}},{key:"checkClobberedElement",value:function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t}}]),e}(),hr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,dr=/([^\#-~ |!])/g;function fr(e){return e.replace(/&/g,"&amp;").replace(hr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(dr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function pr(e,t){var n=null;try{er=er||new Qn(e);var r=t?String(t):"";n=er.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=er.getInertBodyElement(r)}while(r!==i);var a=new lr,s=a.sanitizeChildren(mr(n)||n);return qn()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),s}finally{if(n)for(var c=mr(n)||n;c.firstChild;)c.removeChild(c.firstChild)}}function mr(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var gr=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}(),yr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),br=/^url\(([^)]+)\)$/;function vr(e){if(!(e=String(e).trim()))return"";var t=e.match(br);return t&&Zn(t[1])===t[1]||e.match(yr)&&function(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(qn()&&console.warn("WARNING: sanitizing unsafe style value ".concat(e," (see http://g.co/ng/security#xss).")),"unsafe")}function _r(e){var t=Pr();return t?t.sanitize(gr.STYLE,e)||"":Un(e,"Style")?Rn(e):vr(rn(e))}function Cr(e){var t=Pr();return t?t.sanitize(gr.URL,e)||"":Un(e,"URL")?Rn(e):Zn(rn(e))}var Or=function(e,t,n){if(void 0===t&&void 0===n)return _r(e);var r=!0;return 1&(n=n||3)&&(r=kr(e)),2&n?r?_r(t):Rn(t):r};function kr(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function Pr(){var e=dt();return e&&e[12]}function wr(e,t){e.__ngContext__=t}function Mr(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Er(){throw new Error("Cannot mix multi providers and regular providers")}function Sr(e,t,n){for(var r=e.length;;){var o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){var i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}function Tr(e,t,n){for(var r=0;r<e.length;){var o=e[r++];if(n&&"class"===o){if(-1!==Sr((o=e[r]).toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function xr(e){return 0===e.type&&"ng-template"!==e.tagName}function Ar(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Ir(e,t,n){for(var r=4,o=e.attrs||[],i=function(e){for(var t=0;t<e.length;t++)if(Wt(e[t]))return t;return e.length}(o),a=!1,s=0;s<t.length;s++){var c=t[s];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!Ar(e,c,n)||""===c&&1===t.length){if(jr(r))return!1;a=!0}}else{var u=8&r?c:t[++s];if(8&r&&null!==e.attrs){if(!Tr(e.attrs,u,n)){if(jr(r))return!1;a=!0}continue}var l=Dr(8&r?"class":c,o,xr(e),n);if(-1===l){if(jr(r))return!1;a=!0;continue}if(""!==u){var h;h=l>i?"":o[l+1].toLowerCase();var d=8&r?h:null;if(d&&-1!==Sr(d,u,0)||2&r&&u!==h){if(jr(r))return!1;a=!0}}}}else{if(!a&&!jr(r)&&!jr(c))return!1;if(a&&jr(c))continue;a=!1,r=c|1&r}}return jr(r)||a}function jr(e){return 0==(1&e)}function Dr(e,t,n,r){if(null===t)return-1;var o=0;if(r||!n){for(var i=!1;o<t.length;){var a=t[o];if(a===e)return o;if(3===a||6===a)i=!0;else{if(1===a||2===a){for(var s=t[++o];"string"==typeof s;)s=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=i?1:2}return-1}return function(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Nr(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=0;r<t.length;r++)if(Ir(e,t[r],n))return!0;return!1}function Rr(e,t){e:for(var n=0;n<t.length;n++){var r=t[n];if(e.length===r.length){for(var o=0;o<e.length;o++)if(e[o]!==r[o])continue e;return!0}}return!1}function Ur(e,t){return e?":not("+t.trim()+")":t}function Fr(e){for(var t=e[0],n=1,r=2,o="",i=!1;n<e.length;){var a=e[n];if("string"==typeof a)if(2&r){var s=e[++n];o+="["+a+(s.length>0?'="'+s+'"':"")+"]"}else 8&r?o+="."+a:4&r&&(o+=" "+a);else""===o||jr(a)||(t+=Ur(i,o),o=""),r=a,i=i||!jr(r);n++}return""!==o&&(t+=Ur(i,o)),t}var Lr={};function Br(e){var t=e[3];return ze(t)?t[3]:t}function Hr(e){return Vr(e[13])}function zr(e){return Vr(e[4])}function Vr(e){for(;null!==e&&!ze(e);)e=e[4];return e}function Gr(e){Kr(ft(),dt(),Rt()+e,vt())}function Kr(e,t,n,r){if(!r)if(3==(3&t[2])){var o=e.preOrderCheckHooks;null!==o&&zt(t,o,n)}else{var i=e.preOrderHooks;null!==i&&Vt(t,i,0,n)}Ut(n)}function qr(e,t){return e<<17|t<<2}function Yr(e){return e>>17&32767}function Qr(e){return 2|e}function Wr(e){return(131068&e)>>2}function Xr(e,t){return-131069&e|t<<2}function Zr(e){return 1|e}function $r(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1];if(-1!==i){var a=e.data[i];St(o),a.contentQueries(2,t[i],i)}}}function Jr(e,t,n){return Xe(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function eo(e,t,n,r,o,i,a,s,c,u){var l=t.blueprint.slice();return l[0]=o,l[2]=140|r,ct(l),l[3]=l[15]=e,l[8]=n,l[10]=a||e&&e[10],l[11]=s||e&&e[11],l[12]=c||e&&e[12]||null,l[9]=u||e&&e[9]||null,l[6]=i,l[16]=2==t.type?e[16]:l,l}function to(e,t,n,r,o,i){var a=n+20,s=e.data[a]||function(e,t,n,r,o,i){var a=mt(),s=yt(),c=s?a:a&&a.parent,u=e.data[n]=ho(0,c&&c!==t?c:null,r,n,o,i);return null===e.firstChild&&(e.firstChild=u),a&&(!s||null!=a.child||null===u.parent&&2!==a.type?s||(a.next=u):a.child=u),u}(e,t,a,r,o,i);return gt(s,!0),s}function no(e,t,n){xt(t,t[6]);try{var r=e.viewQuery;null!==r&&Do(1,r,n);var o=e.template;null!==o&&io(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&$r(e,t),e.staticViewQueries&&Do(2,e.viewQuery,n);var i=e.components;null!==i&&function(e,t){for(var n=0;n<t.length;n++)To(e,t[n])}(t,i)}catch(a){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),a}finally{t[2]&=-5,Nt()}}function ro(e,t,n,r){var o=t[2];if(256!=(256&o)){xt(t,t[6]);var i=vt();try{ct(t),lt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&io(e,t,n,2,r);var a=3==(3&o);if(!i)if(a){var s=e.preOrderCheckHooks;null!==s&&zt(t,s,null)}else{var c=e.preOrderHooks;null!==c&&Vt(t,c,0,null),Gt(t,0)}if(function(e){for(var t=Hr(e);null!==t;t=zr(t))if(t[2])for(var n=t[9],r=0;r<n.length;r++){var o=n[r],i=o[3];0==(1024&o[2])&&ut(i,1),o[2]|=1024}}(t),function(e){for(var t=Hr(e);null!==t;t=zr(t))for(var n=10;n<t.length;n++){var r=t[n],o=r[1];at(r)&&ro(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&$r(e,t),!i)if(a){var u=e.contentCheckHooks;null!==u&&zt(t,u)}else{var l=e.contentHooks;null!==l&&Vt(t,l,1),Gt(t,1)}!function(e,t){try{var n=e.expandoInstructions;if(null!==n)for(var r=e.expandoStartIndex,o=-1,i=0;i<n.length;i++){var a=n[i];"number"==typeof a?a<=0?(Ut(0-a),o=r+=9+n[++i]):r+=a:(null!==a&&(wt(r,o),a(2,t[o])),o++)}}finally{Ut(-1)}}(e,t);var h=e.components;null!==h&&function(e,t){for(var n=0;n<t.length;n++)So(e,t[n])}(t,h);var d=e.viewQuery;if(null!==d&&Do(2,d,r),!i)if(a){var f=e.viewCheckHooks;null!==f&&zt(t,f)}else{var p=e.viewHooks;null!==p&&Vt(t,p,2),Gt(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,ut(t[3],-1))}finally{Nt()}}}function oo(e,t,n,r){var o=t[10],i=!vt(),a=it(t);try{i&&!a&&o.begin&&o.begin(),a&&no(e,t,r),ro(e,t,n,r)}finally{i&&!a&&o.end&&o.end()}}function io(e,t,n,r,o){var i=Rt();try{Ut(-1),2&r&&t.length>20&&Kr(e,t,0,vt()),n(r,o)}finally{Ut(i)}}function ao(e,t,n){if(Ve(t))for(var r=t.directiveEnd,o=t.directiveStart;o<r;o++){var i=e.data[o];i.contentQueries&&i.contentQueries(1,n[o],o)}}function so(e,t,n){ht()&&(function(e,t,n,r){var o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||dn(n,t),wr(r,t);for(var a=n.initialInputs,s=o;s<i;s++){var c=e.data[s],u=qe(c);u&&Po(t,n,c);var l=Cn(t,e,s,n);wr(l,t),null!==a&&wo(0,s-o,l,c,0,a),u&&(rt(n.index,t)[8]=l)}}(e,t,n,et(n,t)),128==(128&n.flags)&&function(e,t,n){var r=n.directiveStart,o=n.directiveEnd,i=e.expandoInstructions,a=e.firstCreatePass,s=n.index-20,c=lt.lFrame.currentDirectiveIndex;try{Ut(s);for(var u=r;u<o;u++){var l=e.data[u],h=t[u];Mt(u),null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs?bo(l,h):a&&i.push(null)}}finally{Ut(-1),Mt(c)}}(e,t,n))}function co(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:et,r=t.localNames;if(null!==r)for(var o=t.index+1,i=0;i<r.length;i+=2){var a=r[i+1],s=-1===a?n(t,e):e[a];e[o++]=s}}function uo(e){var t=e.tView;return null===t||t.incompleteFirstPass?e.tView=lo(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function lo(e,t,n,r,o,i,a,s,c,u){var l=20+r,h=l+o,d=function(e,t){for(var n=[],r=0;r<t;r++)n.push(r<e?null:Lr);return n}(l,h);return d[1]={type:e,id:t,blueprint:d,template:n,queries:null,viewQuery:s,node:null,data:d.slice().fill(null,l),bindingStartIndex:l,expandoStartIndex:h,expandoInstructions:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:u,incompleteFirstPass:!1}}function ho(e,t,n,r,o,i){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}function fo(e,t,n){for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function po(e,t,n,r,o,i,a,s){var c,u,l=et(t,n),h=t.inputs;!s&&null!=h&&(c=h[r])?(Lo(e,n,c,r,o),Ge(t)&&function(e,t){var n=rt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(r="class"===(u=r)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,o=null!=a?a(o,t.tagName||"",r):o,Xe(i)?i.setProperty(l,r,o):Xt(r)||(l.setProperty?l.setProperty(r,o):l[r]=o))}function mo(e,t,n,r){var o=!1;if(ht()){var i=function(e,t,n){var r=e.directiveRegistry,o=null;if(r)for(var i=0;i<r.length;i++){var a=r[i];Nr(n,a.selectors,!1)&&(o||(o=[]),gn(dn(n,t),e,a.type),qe(a)?(2&n.flags&&Mr(n),_o(e,n),o.unshift(a)):o.push(a))}return o}(e,t,n),a=null===r?null:{"":-1};if(null!==i){var s=0;o=!0,Oo(n,e.data.length,i.length);for(var c=0;c<i.length;c++){var u=i[c];u.providersResolver&&u.providersResolver(u)}vo(e,n,i.length);for(var l=!1,h=!1,d=0;d<i.length;d++){var f=i[d];n.mergedAttrs=Zt(n.mergedAttrs,f.hostAttrs),ko(e,t,f),Co(e.data.length-1,f,a),null!==f.contentQueries&&(n.flags|=8),null===f.hostBindings&&null===f.hostAttrs&&0===f.hostVars||(n.flags|=128),!l&&(f.onChanges||f.onInit||f.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),l=!0),h||!f.onChanges&&!f.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),h=!0),go(e,f),s+=f.hostVars}!function(e,t){for(var n=t.directiveEnd,r=e.data,o=t.attrs,i=[],a=null,s=null,c=t.directiveStart;c<n;c++){var u=r[c],l=u.inputs,h=null===o||xr(t)?null:Mo(l,o);i.push(h),a=fo(l,c,a),s=fo(u.outputs,c,s)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=i,t.inputs=a,t.outputs=s}(e,n),yo(e,t,s)}a&&function(e,t,n){if(t)for(var r=e.localNames=[],o=0;o<t.length;o+=2){var i=n[t[o+1]];if(null==i)throw new Error("Export of name '".concat(t[o+1],"' not found!"));r.push(t[o],i)}}(n,r,a)}return n.mergedAttrs=Zt(n.mergedAttrs,n.attrs),o}function go(e,t){var n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function yo(e,t,n){for(var r=0;r<n;r++)t.push(Lr),e.blueprint.push(Lr),e.data.push(null)}function bo(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function vo(e,t,n){var r=20-t.index,o=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,o,n)}function _o(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Co(e,t,n){if(n){if(t.exportAs)for(var r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;qe(t)&&(n[""]=e)}}function Oo(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function ko(e,t,n){e.data.push(n);var r=n.factory||(n.factory=Le(n.type)),o=new Yt(r,qe(n),null);e.blueprint.push(o),t.push(o)}function Po(e,t,n){var r=et(t,e),o=uo(n),i=e[10],a=xo(e,eo(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n)));e[t.index]=a}function wo(e,t,n,r,o,i){var a=i[t];if(null!==a)for(var s=r.setInput,c=0;c<a.length;){var u=a[c++],l=a[c++],h=a[c++];null!==s?r.setInput(n,h,u,l):n[l]=h}}function Mo(e,t){for(var n=null,r=0;r<t.length;){var o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function Eo(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function So(e,t){var n=rt(t,e);if(at(n)){var r=n[1];80&n[2]?ro(r,n,r.template,n[8]):n[5]>0&&function e(t){for(var n=Hr(t);null!==n;n=zr(n))for(var r=10;r<n.length;r++){var o=n[r];if(1024&o[2]){var i=o[1];ro(i,o,i.template,o[8])}else o[5]>0&&e(o)}var a=t[1].components;if(null!==a)for(var s=0;s<a.length;s++){var c=rt(a[s],t);at(c)&&c[5]>0&&e(c)}}(n)}}function To(e,t){var n=rt(t,e),r=n[1];!function(e,t){for(var n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(r,n),no(r,n,n[8])}function xo(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Ao(e){for(;e;){e[2]|=64;var t=Br(e);if(Ye(e)&&!t)return e;e=t}return null}function Io(e,t,n){var r=t[10];r.begin&&r.begin();try{ro(e,t,e.template,n)}catch(o){throw Fo(t,o),o}finally{r.end&&r.end()}}function jo(e){!function(e){for(var t=0;t<e.components.length;t++){var n=e.components[t],r=ot(n),o=r[1];oo(o,r,o.template,n)}}(e[8])}function Do(e,t,n){St(0),t(e,n)}var No=Promise.resolve(null);function Ro(e){return e[7]||(e[7]=[])}function Uo(e){return e.cleanup||(e.cleanup=[])}function Fo(e,t){var n=e[9],r=n?n.get(Tn,null):null;r&&r.handleError(t)}function Lo(e,t,n,r,o){for(var i=0;i<n.length;){var a=n[i++],s=n[i++],c=t[a],u=e.data[a];null!==u.setInput?u.setInput(c,o,r,s):c[s]=o}}function Bo(e,t,n){var r=Je(t,e),o=e[11];Xe(o)?o.setValue(r,n):r.textContent=n}function Ho(e,t){var n=t[3];return-1===e.index?ze(n)?n:null:n}function zo(e,t){var n=Ho(e,t);return n?ei(t[11],n[7]):null}function Vo(e,t,n,r,o){if(null!=r){var i,a=!1;ze(r)?i=r:He(r)&&(a=!0,r=r[0]);var s=$e(r);0===e&&null!==n?null==o?$o(t,n,s):Zo(t,n,s,o||null):1===e&&null!==n?Zo(t,n,s,o||null):2===e?function(e,t,n){var r=ei(e,t);r&&function(e,t,n,r){Xe(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,s,a):3===e&&t.destroyNode(s),null!=i&&function(e,t,n,r,o){var i=n[7];i!==$e(n)&&Vo(t,e,r,i,o);for(var a=10;a<n.length;a++){var s=n[a];ii(s[1],s,e,t,r,i)}}(t,e,i,n,o)}}function Go(e,t,n,r){var o=zo(e.node,t);o&&ii(e,t,t[11],n?1:2,o,r)}function Ko(e,t){var n=e[9],r=n.indexOf(t);1024&t[2]&&ut(t[3],-1),n.splice(r,1)}function qo(e,t){if(!(e.length<=10)){var n=10+t,r=e[n];if(r){var o=r[17];null!==o&&o!==e&&Ko(o,r),t>0&&(e[n-1][4]=r[4]);var i=ve(e,10+t);Go(r[1],r,!1,null);var a=i[19];null!==a&&a.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}}function Yo(e,t){if(!(256&t[2])){var n=t[11];Xe(n)&&n.destroyNode&&ii(e,t,n,3,null,null),function(e){var t=e[13];if(!t)return Wo(e[1],e);for(;t;){var n=null;if(He(t))n=t[13];else{var r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)He(t)&&Wo(t[1],t),t=Qo(t,e);null===t&&(t=e),He(t)&&Wo(t[1],t),n=t&&t[4]}t=n}}(t)}}function Qo(e,t){var n;return He(e)&&(n=e[6])&&2===n.type?Ho(n,e):e[3]===t?null:e[3]}function Wo(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){var n;if(null!=e&&null!=(n=e.destroyHooks))for(var r=0;r<n.length;r+=2){var o=t[n[r]];if(!(o instanceof Yt)){var i=n[r+1];if(Array.isArray(i))for(var a=0;a<i.length;a+=2)i[a+1].call(o[i[a]]);else i.call(o)}}}(e,t),function(e,t){var n=e.cleanup;if(null!==n){for(var r=t[7],o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){var i=n[o+1],a="function"==typeof i?i(t):$e(t[i]),s=r[n[o+2]],c=n[o+3];"boolean"==typeof c?a.removeEventListener(n[o],s,c):c>=0?r[c]():r[-c].unsubscribe(),o+=2}else n[o].call(r[n[o+1]]);t[7]=null}}(e,t);var n=t[6];n&&3===n.type&&Xe(t[11])&&t[11].destroy();var r=t[17];if(null!==r&&ze(t[3])){r!==t[3]&&Ko(r,t);var o=t[19];null!==o&&o.detachView(e)}}}function Xo(e,t,n){for(var r=t.parent;null!=r&&(4===r.type||5===r.type);)r=(t=r).parent;if(null==r){var o=n[6];return 2===o.type?zo(o,n):n[0]}if(t&&5===t.type&&4&t.flags)return et(t,n).parentNode;if(2&r.flags){var i=e.data,a=i[i[r.index].directiveStart].encapsulation;if(a!==we.ShadowDom&&a!==we.Native)return null}return et(r,n)}function Zo(e,t,n,r){Xe(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}function $o(e,t,n){Xe(e)?e.appendChild(t,n):t.appendChild(n)}function Jo(e,t,n,r){null!==r?Zo(e,t,n,r):$o(e,t,n)}function ei(e,t){return Xe(e)?e.parentNode(t):t.parentNode}function ti(e,t){if(2===e.type){var n=Ho(e,t);return null===n?null:ri(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?et(e,t):null}function ni(e,t,n,r){var o=Xo(e,r,t);if(null!=o){var i=t[11],a=ti(r.parent||t[6],t);if(Array.isArray(n))for(var s=0;s<n.length;s++)Jo(i,o,n[s],a);else Jo(i,o,n,a)}}function ri(e,t){var n=10+e+1;if(n<t.length){var r=t[n],o=r[1].firstChild;if(null!==o)return function e(t,n){if(null!==n){var r=n.type;if(3===r)return et(n,t);if(0===r)return ri(-1,t[n.index]);if(4===r||5===r){var o=n.child;if(null!==o)return e(t,o);var i=t[n.index];return ze(i)?ri(-1,i):$e(i)}var a=t[16],s=a[6],c=Br(a),u=s.projection[n.projection];return null!=u?e(c,u):e(t,n.next)}return null}(r,o)}return t[7]}function oi(e,t,n,r,o,i,a){for(;null!=n;){var s=r[n.index],c=n.type;a&&0===t&&(s&&wr($e(s),r),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(oi(e,t,n.child,r,o,i,!1),Vo(t,e,o,s,i)):1===c?ai(e,t,r,n,o,i):Vo(t,e,o,s,i)),n=a?n.projectionNext:n.next}}function ii(e,t,n,r,o,i){oi(n,r,e.node.child,t,o,i,!1)}function ai(e,t,n,r,o,i){var a=n[16],s=a[6].projection[r.projection];if(Array.isArray(s))for(var c=0;c<s.length;c++)Vo(t,e,o,s[c],i);else oi(e,t,s,a[3],o,i,!0)}function si(e,t,n){Xe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ci(e,t,n){Xe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}var ui,li,hi,di=function(){function e(t,n){_classCallCheck(this,e),this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._viewContainerRef=null}return _createClass(e,[{key:"destroy",value:function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Yo(this._lView[1],this._lView)}},{key:"onDestroy",value:function(e){var t,n,r;t=this._lView[1],r=e,Ro(n=this._lView).push(r),t.firstCreatePass&&Uo(t).push(n[7].length-1,null)}},{key:"markForCheck",value:function(){Ao(this._cdRefInjectingView||this._lView)}},{key:"detach",value:function(){this._lView[2]&=-129}},{key:"reattach",value:function(){this._lView[2]|=128}},{key:"detectChanges",value:function(){Io(this._lView[1],this._lView,this.context)}},{key:"checkNoChanges",value:function(){!function(e,t,n){_t(!0);try{Io(e,t,n)}finally{_t(!1)}}(this._lView[1],this._lView,this.context)}},{key:"attachToViewContainerRef",value:function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}},{key:"detachFromAppRef",value:function(){var e;this._appRef=null,ii(this._lView[1],e=this._lView,e[11],2,null,null)}},{key:"attachToAppRef",value:function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}},{key:"rootNodes",get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,o){for(var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];null!==r;){var a=n[r.index];if(null!==a&&o.push($e(a)),ze(a))for(var s=10;s<a.length;s++){var c=a[s],u=c[1].firstChild;null!==u&&e(c[1],c,u,o)}var l=r.type;if(4===l||5===l)e(t,n,r.child,o);else if(1===l){var h=n[16],d=h[6].projection[r.projection];if(Array.isArray(d))o.push.apply(o,_toConsumableArray(d));else{var f=Br(h);e(f[1],f,d,o,!0)}}r=i?r.projectionNext:r.next}return o}(e[1],e,e[6].child,[]):[]}},{key:"context",get:function(){return this._lView[8]}},{key:"destroyed",get:function(){return 256==(256&this._lView[2])}}]),e}(),fi=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e))._view=e,r}return _createClass(n,[{key:"detectChanges",value:function(){jo(this._view)}},{key:"checkNoChanges",value:function(){!function(e){_t(!0);try{jo(e)}finally{_t(!1)}}(this._view)}},{key:"context",get:function(){return null}}]),n}(di);function pi(e,t,n){return ui||(ui=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(e)),new ui(et(t,n))}function mi(e,t,n,r){return li||(li=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this))._declarationView=e,i._declarationTContainer=r,i.elementRef=o,i}return _createClass(n,[{key:"createEmbeddedView",value:function(e){var t=this._declarationTContainer.tViews,n=eo(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),no(t,n,e),new di(n)}}]),n}(e)),0===n.type?new li(r,n,pi(t,n,r)):null}function gi(e,t,n,r){var o;hi||(hi=function(e){_inherits(r,e);var n=_createSuper(r);function r(e,t,o){var i;return _classCallCheck(this,r),(i=n.call(this))._lContainer=e,i._hostTNode=t,i._hostView=o,i}return _createClass(r,[{key:"clear",value:function(){for(;this.length>0;)this.remove(this.length-1)}},{key:"get",value:function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}},{key:"createEmbeddedView",value:function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r}},{key:"createComponent",value:function(e,t,n,r,o){var i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){var a=i.get(me,null);a&&(o=a)}var s=e.create(i,r,void 0,o);return this.insert(s.hostView,t),s}},{key:"insert",value:function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),ze(n[3])){var o=this.indexOf(e);if(-1!==o)this.detach(o);else{var i=n[3],a=new hi(i,i[6],i[3]);a.detach(a.indexOf(e))}}var s=this._adjustIndex(t);return function(e,t,n,r){var o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],be(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),Go(r,n,!0,ri(s,this._lContainer)),e.attachToViewContainerRef(this),be(this._lContainer[8],s,e),e}},{key:"move",value:function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}},{key:"indexOf",value:function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1}},{key:"remove",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function(e,t){var n=qo(e,t);n&&Yo(n[1],n)}(this._lContainer,t),ve(this._lContainer[8],t)}},{key:"detach",value:function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=qo(this._lContainer,t);return n&&null!=ve(this._lContainer[8],t)?new di(n):null}},{key:"_adjustIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return null==e?this.length+t:e}},{key:"allocateContainerIfNeeded",value:function(){null===this._lContainer[8]&&(this._lContainer[8]=[])}},{key:"element",get:function(){return pi(t,this._hostTNode,this._hostView)}},{key:"injector",get:function(){return new Pn(this._hostTNode,this._hostView)}},{key:"parentInjector",get:function(){var e=mn(this._hostTNode,this._hostView),t=nn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.parent.injectorIndex;)o=o.parent;return o}for(var i=tn(e),a=t,s=t[6];i>1;)s=(a=a[15])[6],i--;return s}(e,this._hostView,this._hostTNode);return Jt(e)&&null!=n?new Pn(n,t):new Pn(null,this._hostView)}},{key:"length",get:function(){return this._lContainer.length-10}}]),r}(e));var i=r[n.index];if(ze(i))o=i;else{var a;if(4===n.type)a=$e(i);else if(a=r[11].createComment(""),Ye(r)){var s=r[11],c=et(n,r);Zo(s,ei(s,c),a,function(e,t){return Xe(e)?e.nextSibling(t):t.nextSibling}(s,c))}else ni(r[1],r,a,n);r[n.index]=o=Eo(i,r,a,n),xo(r,o)}return new hi(o,n,r)}function yi(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return function(e,t,n){if(!n&&Ge(e)){var r=rt(e.index,t);return new di(r,r)}return 3===e.type||0===e.type||4===e.type||5===e.type?new di(t[16],t):null}(mt(),dt(),e)}var bi=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return vi()},e}(),vi=yi,_i=new ne("Set Injector scope."),Ci={},Oi={},ki=[],Pi=void 0;function wi(){return void 0===Pi&&(Pi=new pe),Pi}function Mi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0;return new Ei(e,n,t||wi(),r)}var Ei=function(){function e(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var a=[];n&&ye(n,(function(e){return o.processProvider(e,t,n)})),ye([t],(function(e){return o.processInjectorType(e,[],a)})),this.records.set(re,xi(void 0,this));var s=this.records.get(_i);this.scope=null!=s?s.value:null,this.source=i||("object"==typeof t?null:U(t))}return _createClass(e,[{key:"destroy",value:function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach((function(e){return e.ngOnDestroy()}))}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.Default;this.assertNotDestroyed();var r,o=ce(this);try{if(!(n&P.SkipSelf)){var i=this.records.get(e);if(void 0===i){var a=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ne)&&T(e);i=a&&this.injectableDefInScope(a)?xi(Si(e),Ci):null,this.records.set(e,i)}if(null!=i)return this.hydrate(e,i)}return(n&P.Self?wi():this.parent).get(e,t=n&P.Optional&&t===oe?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(U(e)),o)throw s;return function(e,t,n,r){var o=e.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),e.message=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;var o=U(t);if(Array.isArray(t))o=t.map(U).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var s=t[a];i.push(a+":"+("string"==typeof s?JSON.stringify(s):U(s)))}o="{".concat(i.join(", "),"}")}return"".concat(n).concat(r?"("+r+")":"","[").concat(o,"]: ").concat(e.replace(ie,"\n "))}("\n"+e.message,o,"R3InjectorError",r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}(s,e,0,this.source)}throw s}finally{ce(o)}}},{key:"_resolveInjectorDefTypes",value:function(){var e=this;this.injectorDefTypes.forEach((function(t){return e.get(t)}))}},{key:"toString",value:function(){var e=[];return this.records.forEach((function(t,n){return e.push(U(n))})),"R3Injector[".concat(e.join(", "),"]")}},{key:"assertNotDestroyed",value:function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}},{key:"processInjectorType",value:function(e,t,n){var r=this;if(!(e=H(e)))return!1;var o=A(e),i=null==o&&e.ngModule||void 0,a=void 0===i?e:i,s=-1!==n.indexOf(a);if(void 0!==i&&(o=A(i)),null==o)return!1;if(null!=o.imports&&!s){var c;n.push(a);try{ye(o.imports,(function(e){r.processInjectorType(e,t,n)&&(void 0===c&&(c=[]),c.push(e))}))}finally{}if(void 0!==c)for(var u=function(e){var t=c[e],n=t.ngModule,o=t.providers;ye(o,(function(e){return r.processProvider(e,n,o||ki)}))},l=0;l<c.length;l++)u(l)}this.injectorDefTypes.add(a),this.records.set(a,xi(o.factory,Ci));var h=o.providers;if(null!=h&&!s){var d=e;ye(h,(function(e){return r.processProvider(e,d,h)}))}return void 0!==i&&void 0!==e.providers}},{key:"processProvider",value:function(e,t,n){var r=Ii(e=H(e))?e:H(e&&e.provide),o=function(e,t,n){return Ai(e)?xi(void 0,e.useValue):xi(Ti(e,t,n),Ci)}(e,t,n);if(Ii(e)||!0!==e.multi){var i=this.records.get(r);i&&void 0!==i.multi&&Er()}else{var a=this.records.get(r);a?void 0===a.multi&&Er():((a=xi(void 0,Ci,!0)).factory=function(){return fe(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,o)}},{key:"hydrate",value:function(e,t){var n;return t.value===Oi?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(U(e)):t.value===Ci&&(t.value=Oi,t.value=t.factory()),"object"==typeof t.value&&t.value&&null!==(n=t.value)&&"object"==typeof n&&"function"==typeof n.ngOnDestroy&&this.onDestroy.add(t.value),t.value}},{key:"injectableDefInScope",value:function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();function Si(e){var t=T(e),n=null!==t?t.factory:Le(e);if(null!==n)return n;var r=A(e);if(null!==r)return r.factory;if(e instanceof ne)throw new Error("Token ".concat(U(e)," is missing a \u0275prov definition."));if(e instanceof Function)return function(e){var t=e.length;if(t>0){var n=_e(t,"?");throw new Error("Can't resolve all parameters for ".concat(U(e),": (").concat(n.join(", "),")."))}var r=function(e){var t=e&&(e[I]||e[N]||e[D]&&e[D]());if(t){var n=function(e){if(e.hasOwnProperty("name"))return e.name;var t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn('DEPRECATED: DI is instantiating a token "'.concat(n,'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "').concat(n,'" class.')),t}return null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Ti(e,t,n){var r,o=void 0;if(Ii(e)){var i=H(e);return Le(i)||Si(i)}if(Ai(e))o=function(){return H(e.useValue)};else if((r=e)&&r.useFactory)o=function(){return e.useFactory.apply(e,_toConsumableArray(fe(e.deps||[])))};else if(function(e){return!(!e||!e.useExisting)}(e))o=function(){return he(H(e.useExisting))};else{var a=H(e&&(e.useClass||e.provide));if(a||function(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: [".concat(t.map((function(e){return e==n?"?"+n+"?":"..."})).join(", "),"]")),new Error("Invalid provider for the NgModule '".concat(U(e),"'")+r)}(t,n,e),!function(e){return!!e.deps}(e))return Le(a)||Si(a);o=function(){return _construct(a,_toConsumableArray(fe(e.deps)))}}return o}function xi(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return{factory:e,value:t,multi:n?[]:void 0}}function Ai(e){return null!==e&&"object"==typeof e&&ae in e}function Ii(e){return"function"==typeof e}var ji=function(e,t,n){return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3?arguments[3]:void 0,o=Mi(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)},Di=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"create",value:function(e,t){return Array.isArray(e)?ji(e,t,""):ji(e.providers,e.parent,e.name||"")}}]),e}();return e.THROW_IF_NOT_FOUND=oe,e.NULL=new pe,e.\u0275prov=E({token:e,providedIn:"any",factory:function(){return he(re)}}),e.__NG_ELEMENT_ID__=-1,e}(),Ni=new ne("AnalyzeForEntryComponents"),Ri=new Map,Ui=new Set;function Fi(e){return"string"==typeof e?e:e.text()}function Li(e,t,n){var r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(var a=0;a<t.length;a++){var s=t[a];"number"==typeof s?i=s:1==i?o=F(o,s):2==i&&(r=F(r,s+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}var Bi=null;function Hi(){if(!Bi){var e=Q.Symbol;if(e&&e.iterator)Bi=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(Bi=r)}}return Bi}function zi(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}var Vi=function(){function e(t){_classCallCheck(this,e),this.wrapped=t}return _createClass(e,null,[{key:"wrap",value:function(t){return new e(t)}},{key:"unwrap",value:function(t){return e.isWrapped(t)?t.wrapped:t}},{key:"isWrapped",value:function(t){return t instanceof e}}]),e}();function Gi(e){return!!Ki(e)&&(Array.isArray(e)||!(e instanceof Map)&&Hi()in e)}function Ki(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function qi(e,t,n){return e[t]=n}function Yi(e,t){return e[t]}function Qi(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Wi(e,t,n,r){var o=Qi(e,t,n);return Qi(e,t+1,r)||o}function Xi(e,t,n,r,o){var i=Wi(e,t,n,r);return Qi(e,t+2,o)||i}function Zi(e,t,n,r){var o=dt();return Qi(o,kt(),t)&&(ft(),function(e,t,n,r,o,i){var a=et(e,t),s=t[11];if(null==r)Xe(s)?s.removeAttribute(a,n,i):a.removeAttribute(n);else{var c=null==o?rn(r):o(r,e.tagName||"",n);Xe(s)?s.setAttribute(a,n,c,i):i?a.setAttributeNS(i,n,c):a.setAttribute(n,c)}}(Ft(),o,e,t,n,r)),Zi}function $i(e,t,n,r,o,i,a,s){var c=dt(),u=ft(),l=e+20,h=u.firstCreatePass?function(e,t,n,r,o,i,a,s,c){var u=t.consts,l=to(t,n[6],e,0,a||null,st(u,s));mo(t,n,l,st(u,c)),Ht(t,l);var h=l.tViews=lo(2,-1,r,o,i,t.directiveRegistry,t.pipeRegistry,null,t.schemas,u),d=ho(0,null,2,-1,null,null);return d.injectorIndex=l.injectorIndex,h.node=d,null!==t.queries&&(t.queries.template(t,l),h.queries=t.queries.embeddedTView(l)),l}(e,u,c,t,n,r,o,i,a):u.data[l];gt(h,!1);var d=c[11].createComment("");ni(u,c,d,h),wr(d,c),xo(c,c[l]=Eo(d,c,d,h)),Ke(h)&&so(u,c,h),null!=a&&co(c,h,s)}function Ji(e){return nt(lt.lFrame.contextLView,e)}function ea(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:P.Default,n=dt();return null==n?he(e,t):yn(mt(),n,H(e),t)}function ta(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,o=0;o<r;){var i=n[o];if(Wt(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}return null}(mt(),e)}function na(){throw new Error("invalid")}function ra(e,t,n){var r=dt();return Qi(r,kt(),t)&&po(ft(),Ft(),r,e,t,r[11],n,!1),ra}function oa(e,t,n,r,o){var i=o?"class":"style";Lo(e,n,t.inputs[i],i,r)}function ia(e,t,n,r){var o=dt(),i=ft(),a=20+e,s=o[11],c=o[a]=Jr(t,s,lt.lFrame.currentNamespace),u=i.firstCreatePass?function(e,t,n,r,o,i,a){var s=t.consts,c=st(s,i),u=to(t,n[6],e,3,o,c);return mo(t,n,u,st(s,a)),null!==u.attrs&&Li(u,u.attrs,!1),null!==u.mergedAttrs&&Li(u,u.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,u),u}(e,i,o,0,t,n,r):i.data[a];gt(u,!0);var l=u.mergedAttrs;null!==l&&Qt(s,c,l);var h=u.classes;null!==h&&ci(s,c,h);var d=u.styles;null!==d&&si(s,c,d),ni(i,o,c,u),0===lt.lFrame.elementDepthCount&&wr(c,o),lt.lFrame.elementDepthCount++,Ke(u)&&(so(i,o,u),ao(i,u,o)),null!==r&&co(o,u)}function aa(){var e=mt();yt()?bt():gt(e=e.parent,!1);var t=e;lt.lFrame.elementDepthCount--;var n=ft();n.firstCreatePass&&(Ht(n,e),Ve(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&oa(n,t,dt(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&oa(n,t,dt(),t.stylesWithoutHost,!1)}function sa(e,t,n,r){ia(e,t,n,r),aa()}function ca(e,t,n){var r=dt(),o=ft(),i=e+20,a=o.firstCreatePass?function(e,t,n,r,o){var i=t.consts,a=st(i,r),s=to(t,n[6],e,4,"ng-container",a);return null!==a&&Li(s,a,!0),mo(t,n,s,st(i,o)),null!==t.queries&&t.queries.elementStart(t,s),s}(e,o,r,t,n):o.data[i];gt(a,!0);var s=r[i]=r[11].createComment("");ni(o,r,s,a),wr(s,r),Ke(a)&&(so(o,r,a),ao(o,a,r)),null!=n&&co(r,a)}function ua(){var e=mt(),t=ft();yt()?bt():gt(e=e.parent,!1),t.firstCreatePass&&(Ht(t,e),Ve(e)&&t.queries.elementEnd(e))}function la(){return dt()}function ha(e){return!!e&&"function"==typeof e.then}function da(e){return!!e&&"function"==typeof e.subscribe}function fa(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=arguments.length>3?arguments[3]:void 0,o=dt(),i=ft(),a=mt();return function(e,t,n,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]&&arguments[6],s=arguments.length>7?arguments[7]:void 0,c=Ke(r),u=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),l=Ro(t),h=!0;if(3===r.type){var d=et(r,t),f=s?s(d):Me,p=f.target||d,m=l.length,g=s?function(e){return s($e(e[r.index])).target}:r.index;if(Xe(n)){var y=null;if(!s&&c&&(y=function(e,t,n,r){var o=e.cleanup;if(null!=o)for(var i=0;i<o.length-1;i+=2){var a=o[i];if(a===n&&o[i+1]===r){var s=t[7],c=o[i+2];return s.length>c?s[c]:null}"string"==typeof a&&(i+=2)}return null}(e,t,o,r.index)),null!==y)(y.__ngLastListenerFn__||y).__ngNextListenerFn__=i,y.__ngLastListenerFn__=i,h=!1;else{i=ma(r,t,i,!1);var b=n.listen(f.name||p,o,i);l.push(i,b),u&&u.push(o,g,m,m+1)}}else i=ma(r,t,i,!0),p.addEventListener(o,i,a),l.push(i),u&&u.push(o,g,m,a)}var v,_=r.outputs;if(h&&null!==_&&(v=_[o])){var C=v.length;if(C)for(var O=0;O<C;O+=2){var k=t[v[O]][v[O+1]].subscribe(i),P=l.length;l.push(i,k),u&&u.push(o,r.index,P,-(P+1))}}}(i,o,o[11],a,e,t,n,r),fa}function pa(e,t,n){try{return!1!==t(n)}catch(r){return Fo(e,r),!1}}function ma(e,t,n,r){return function o(i){if(i===Function)return n;var a=2&e.flags?rt(e.index,t):t;0==(32&t[2])&&Ao(a);for(var s=pa(t,n,i),c=o.__ngNextListenerFn__;c;)s=pa(t,c,i)&&s,c=c.__ngNextListenerFn__;return r&&!1===s&&(i.preventDefault(),i.returnValue=!1),s}}function ga(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return function(e){return(lt.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,lt.lFrame.contextLView))[8]}(e)}function ya(e,t){for(var n=null,r=function(e){var t=e.attrs;if(null!=t){var n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e),o=0;o<t.length;o++){var i=t[o];if("*"!==i){if(null===r?Nr(e,i,!0):Rr(r,i))return o}else n=o}return n}function ba(e){var t=dt()[16][6];if(!t.projection)for(var n=t.projection=_e(e?e.length:1,null),r=n.slice(),o=t.child;null!==o;){var i=e?ya(o,e):0;null!==i&&(r[i]?r[i].projectionNext=o:n[i]=o,r[i]=o),o=o.next}}function va(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,r=dt(),o=ft(),i=to(o,r[6],e,1,null,n||null);null===i.projection&&(i.projection=t),bt(),function(e,t,n){ai(t[11],0,t,n,Xo(e,n,t),ti(n.parent||t[6],t))}(o,r,i)}var _a=[];function Ca(e,t,n,r,o){for(var i=e[n+1],a=null===t,s=r?Yr(i):Wr(i),c=!1;0!==s&&(!1===c||a);){var u=e[s+1];Oa(e[s],t)&&(c=!0,e[s+1]=r?Zr(u):Qr(u)),s=r?Yr(u):Wr(u)}c&&(e[n+1]=r?Qr(i):Zr(i))}function Oa(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&ke(e,t)>=0}var ka={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Pa(e){return e.substring(ka.key,ka.keyEnd)}function wa(e){return e.substring(ka.value,ka.valueEnd)}function Ma(e,t){var n=ka.textEnd;return n===t?-1:(t=ka.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,ka.key=t,n),Ta(e,t,n))}function Ea(e,t){var n=ka.textEnd,r=ka.key=Ta(e,t,n);return n===r?-1:(r=ka.keyEnd=function(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90);)t++;return t}(e,r,n),r=xa(e,r,n),r=ka.value=Ta(e,r,n),r=ka.valueEnd=function(e,t,n){for(var r=-1,o=-1,i=-1,a=t,s=a;a<n;){var c=e.charCodeAt(a++);if(59===c)return s;34===c||39===c?s=a=Aa(e,c,a,n):t===a-4&&85===i&&82===o&&76===r&&40===c?s=a=Aa(e,41,a,n):c>32&&(s=a),i=o,o=r,r=-33&c}return s}(e,r,n),xa(e,r,n))}function Sa(e){ka.key=0,ka.keyEnd=0,ka.value=0,ka.valueEnd=0,ka.textEnd=e.length}function Ta(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function xa(e,t,n,r){return(t=Ta(e,t,n))<n&&t++,t}function Aa(e,t,n,r){for(var o=-1,i=n;i<r;){var a=e.charCodeAt(i++);if(a==t&&92!==o)return i;o=92==a&&92===o?0:a}throw new Error}function Ia(e,t,n){return Fa(e,t,n,!1),Ia}function ja(e,t){return Fa(e,t,null,!0),ja}function Da(e){La(Ga,Na,e,!1)}function Na(e,t){for(var n=function(e){return Sa(e),Ea(e,Ta(e,0,ka.textEnd))}(t);n>=0;n=Ea(t,n))Ga(e,Pa(t),wa(t))}function Ra(e){La(Ce,Ua,e,!0)}function Ua(e,t){for(var n=function(e){return Sa(e),Ma(e,Ta(e,0,ka.textEnd))}(t);n>=0;n=Ma(t,n))Ce(e,Pa(t),!0)}function Fa(e,t,n,r){var o,i,a=dt(),s=ft(),c=Pt(2);(s.firstUpdatePass&&Ha(s,e,c,r),t!==Lr&&Qi(a,c,t))&&(null==n&&(o=null===(i=lt.lFrame)?null:i.currentSanitizer)&&(n=o),Ka(s,s.data[Rt()+20],a,a[11],e,a[c+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=U(Rn(e)))),e}(t,n),r,c))}function La(e,t,n,r){var o=ft(),i=Pt(2);o.firstUpdatePass&&Ha(o,null,i,r);var a=dt();if(n!==Lr&&Qi(a,i,n)){var s=o.data[Rt()+20];if(Qa(s,r)&&!Ba(o,i)){var c=r?s.classesWithoutHost:s.stylesWithoutHost;null!==c&&(n=F(c,n||"")),oa(o,s,a,n,r)}else!function(e,t,n,r,o,i,a,s){o===Lr&&(o=_a);for(var c=0,u=0,l=0<o.length?o[0]:null,h=0<i.length?i[0]:null;null!==l||null!==h;){var d=c<o.length?o[c+1]:void 0,f=u<i.length?i[u+1]:void 0,p=null,m=void 0;l===h?(c+=2,u+=2,d!==f&&(p=h,m=f)):null===h||null!==l&&l<h?(c+=2,p=l):(u+=2,p=h,m=f),null!==p&&Ka(e,t,n,r,p,m,a,s),l=c<o.length?o[c]:null,h=u<i.length?i[u]:null}}(o,s,a,a[11],a[i+1],a[i+1]=function(e,t,n){if(null==n||""===n)return _a;var r=[],o=Rn(n);if(Array.isArray(o))for(var i=0;i<o.length;i++)e(r,o[i],!0);else if("object"==typeof o)for(var a in o)o.hasOwnProperty(a)&&e(r,a,o[a]);else"string"==typeof o&&t(r,o);return r}(e,t,n),r,i)}}function Ba(e,t){return t>=e.expandoStartIndex}function Ha(e,t,n,r){var o=e.data;if(null===o[n+1]){var i=o[Rt()+20],a=Ba(e,n);Qa(i,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){var o=function(e){var t=lt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e),i=r?t.residualClasses:t.residualStyles;if(null===o)0===(r?t.classBindings:t.styleBindings)&&(n=Va(n=za(null,e,t,n,r),t.attrs,r),i=null);else{var a=t.directiveStylingLast;if(-1===a||e[a]!==o)if(n=za(o,e,t,n,r),null===i){var s=function(e,t,n){var r=n?t.classBindings:t.styleBindings;if(0!==Wr(r))return e[Yr(r)]}(e,t,r);void 0!==s&&Array.isArray(s)&&function(e,t,n,r){e[Yr(n?t.classBindings:t.styleBindings)]=r}(e,t,r,s=Va(s=za(null,e,t,s[1],r),t.attrs,r))}else i=function(e,t,n){for(var r=void 0,o=t.directiveEnd,i=1+t.directiveStylingLast;i<o;i++)r=Va(r,e[i].hostAttrs,n);return Va(r,t.attrs,n)}(e,t,r)}return void 0!==i&&(r?t.residualClasses=i:t.residualStyles=i),n}(o,i,t,r),function(e,t,n,r,o,i){var a=i?t.classBindings:t.styleBindings,s=Yr(a),c=Wr(a);e[r]=n;var u,l=!1;if(Array.isArray(n)){var h=n;(null===(u=h[1])||ke(h,u)>0)&&(l=!0)}else u=n;if(o)if(0!==c){var d=Yr(e[s+1]);e[r+1]=qr(d,s),0!==d&&(e[d+1]=Xr(e[d+1],r)),e[s+1]=131071&e[s+1]|r<<17}else e[r+1]=qr(s,0),0!==s&&(e[s+1]=Xr(e[s+1],r)),s=r;else e[r+1]=qr(c,0),0===s?s=r:e[c+1]=Xr(e[c+1],r),c=r;l&&(e[r+1]=Qr(e[r+1])),Ca(e,u,r,!0),Ca(e,u,r,!1),function(e,t,n,r,o){var i=o?e.residualClasses:e.residualStyles;null!=i&&"string"==typeof t&&ke(i,t)>=0&&(n[r+1]=Zr(n[r+1]))}(t,u,e,r,i),a=qr(s,c),i?t.classBindings=a:t.styleBindings=a}(o,i,t,n,a,r)}}function za(e,t,n,r,o){var i=null,a=n.directiveEnd,s=n.directiveStylingLast;for(-1===s?s=n.directiveStart:s++;s<a&&(r=Va(r,(i=t[s]).hostAttrs,o),i!==e);)s++;return null!==e&&(n.directiveStylingLast=s),r}function Va(e,t,n){var r=n?1:2,o=-1;if(null!==t)for(var i=0;i<t.length;i++){var a=t[i];"number"==typeof a?o=a:o===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ce(e,a,!!n||t[++i]))}return void 0===e?null:e}function Ga(e,t,n){kr(t)&&(n=_r(n)),Ce(e,t,n)}function Ka(e,t,n,r,o,i,a,s){if(3===t.type){var c=e.data,u=c[s+1];Ya(1==(1&u)?qa(c,t,n,o,Wr(u),a):void 0)||(Ya(i)||2==(2&u)&&(i=qa(c,null,n,o,s,a)),function(e,t,n,r,o){var i=Xe(e);if(t)o?i?e.addClass(n,r):n.classList.add(r):i?e.removeClass(n,r):n.classList.remove(r);else{var a=-1==r.indexOf("-")?void 0:2;null==o?i?e.removeStyle(n,r,a):n.style.removeProperty(r):i?e.setStyle(n,r,o,a):n.style.setProperty(r,o)}}(r,a,Je(Rt(),n),o,i))}}function qa(e,t,n,r,o,i){for(var a=null===t,s=void 0;o>0;){var c=e[o],u=Array.isArray(c),l=u?c[1]:c,h=null===l,d=n[o+1];d===Lr&&(d=h?_a:void 0);var f=h?Oe(d,r):l===r?d:void 0;if(u&&!Ya(f)&&(f=Oe(c,r)),Ya(f)&&(s=f,a))return s;var p=e[o+1];o=a?Yr(p):Wr(p)}if(null!==t){var m=i?t.residualClasses:t.residualStyles;null!=m&&(s=Oe(m,r))}return s}function Ya(e){return void 0!==e}function Qa(e,t){return 0!=(e.flags&(t?16:32))}function Wa(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=dt(),r=ft(),o=e+20,i=r.firstCreatePass?to(r,n[6],e,3,null,null):r.data[o],a=n[o]=function(e,t){return Xe(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);ni(r,n,a,i),gt(i,!1)}function Xa(e){return Za("",e,""),Xa}function Za(e,t,n){var r=dt(),o=function(e,t,n,r){return Qi(e,kt(),n)?t+rn(n)+r:Lr}(r,e,t,n);return o!==Lr&&Bo(r,Rt(),o),Za}function $a(e,t,n,r,o){var i=dt(),a=function(e,t,n,r,o,i){var a=Wi(e,Ot(),n,o);return Pt(2),a?t+rn(n)+r+rn(o)+i:Lr}(i,e,t,n,r,o);return a!==Lr&&Bo(i,Rt(),a),$a}function Ja(e,t,n){var r=dt();return Qi(r,kt(),t)&&po(ft(),Ft(),r,e,t,r[11],n,!0),Ja}function es(e,t){var n=ot(e)[1],r=n.data.length-1;Ht(n,{directiveStart:r,directiveEnd:r+1})}function ts(e){for(var t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0,r=[e];t;){var o=void 0;if(qe(e))o=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");o=t.\u0275dir}if(o){if(n){r.push(o);var i=e;i.inputs=ns(e.inputs),i.declaredInputs=ns(e.declaredInputs),i.outputs=ns(e.outputs);var a=o.hostBindings;a&&is(e,a);var s=o.viewQuery,c=o.contentQueries;if(s&&rs(e,s),c&&os(e,c),M(e.inputs,o.inputs),M(e.declaredInputs,o.declaredInputs),M(e.outputs,o.outputs),qe(o)&&o.data.animation){var u=e.data;u.animation=(u.animation||[]).concat(o.data.animation)}i.afterContentChecked=i.afterContentChecked||o.afterContentChecked,i.afterContentInit=e.afterContentInit||o.afterContentInit,i.afterViewChecked=e.afterViewChecked||o.afterViewChecked,i.afterViewInit=e.afterViewInit||o.afterViewInit,i.doCheck=e.doCheck||o.doCheck,i.onDestroy=e.onDestroy||o.onDestroy,i.onInit=e.onInit||o.onInit}var l=o.features;if(l)for(var h=0;h<l.length;h++){var d=l[h];d&&d.ngInherit&&d(e),d===ts&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){for(var t=0,n=null,r=e.length-1;r>=0;r--){var o=e[r];o.hostVars=t+=o.hostVars,o.hostAttrs=Zt(o.hostAttrs,n=Zt(n,o.hostAttrs))}}(r)}function ns(e){return e===Me?{}:e===Ee?[]:e}function rs(e,t){var n=e.viewQuery;e.viewQuery=n?function(e,r){t(e,r),n(e,r)}:t}function os(e,t){var n=e.contentQueries;e.contentQueries=n?function(e,r,o){t(e,r,o),n(e,r,o)}:t}function is(e,t){var n=e.hostBindings;e.hostBindings=n?function(e,r){t(e,r),n(e,r)}:t}var as=function(){function e(t,n,r){_classCallCheck(this,e),this.previousValue=t,this.currentValue=n,this.firstChange=r}return _createClass(e,[{key:"isFirstChange",value:function(){return this.firstChange}}]),e}();function ss(e){e.type.prototype.ngOnChanges&&(e.setInput=cs,e.onChanges=function(){var e=us(this),t=e&&e.current;if(t){var n=e.previous;if(n===Me)e.previous=t;else for(var r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}})}function cs(e,t,n,r){var o=us(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:Me,current:null}),i=o.current||(o.current={}),a=o.previous,s=this.declaredInputs[n],c=a[s];i[s]=new as(c&&c.currentValue,t,a===Me),e[r]=t}function us(e){return e.__ngSimpleChanges__||null}function ls(e,t,n,r,o){if(e=H(e),Array.isArray(e))for(var i=0;i<e.length;i++)ls(e[i],t,n,r,o);else{var a=ft(),s=dt(),c=Ii(e)?e:H(e.provide),u=Ti(e),l=mt(),h=65535&l.providerIndexes,d=l.directiveStart,f=l.providerIndexes>>16;if(Ii(e)||!e.multi){var p=new Yt(u,o,ea),m=fs(c,t,o?h:h+f,d);-1===m?(gn(dn(l,s),a,c),hs(a,e,t.length),t.push(c),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(p),s.push(p)):(n[m]=p,s[m]=p)}else{var g=fs(c,t,h+f,d),y=fs(c,t,h,h+f),b=g>=0&&n[g],v=y>=0&&n[y];if(o&&!v||!o&&!b){gn(dn(l,s),a,c);var _=function(e,t,n,r,o){var i=new Yt(e,n,ea);return i.multi=[],i.index=t,i.componentProviders=0,ds(i,o,r&&!n),i}(o?ms:ps,n.length,o,r,u);!o&&v&&(n[y].providerFactory=_),hs(a,e,t.length,0),t.push(c),l.directiveStart++,l.directiveEnd++,o&&(l.providerIndexes+=65536),n.push(_),s.push(_)}else hs(a,e,g>-1?g:y,ds(n[o?y:g],u,!o&&r));!o&&r&&v&&n[y].componentProviders++}}}function hs(e,t,n,r){var o=Ii(t);if(o||t.useClass){var i=(t.useClass||t).prototype.ngOnDestroy;if(i){var a=e.destroyHooks||(e.destroyHooks=[]);if(!o&&t.multi){var s=a.indexOf(n);-1===s?a.push(n,[r,i]):a[s+1].push(r,i)}else a.push(n,i)}}}function ds(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function fs(e,t,n,r){for(var o=n;o<r;o++)if(t[o]===e)return o;return-1}function ps(e,t,n,r){return gs(this.multi,[])}function ms(e,t,n,r){var o,i=this.multi;if(this.providerFactory){var a=this.providerFactory.componentProviders,s=Cn(n,n[1],this.providerFactory.index,r);gs(i,o=s.slice(0,a));for(var c=a;c<s.length;c++)o.push(s[c])}else gs(i,o=[]);return o}function gs(e,t){for(var n=0;n<e.length;n++)t.push((0,e[n])());return t}function ys(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return function(n){n.providersResolver=function(n,r){return function(e,t,n){var r=ft();if(r.firstCreatePass){var o=qe(e);ls(n,r.data,r.blueprint,o,!0),ls(t,r.data,r.blueprint,o,!1)}}(n,r?r(e):e,t)}}}ss.ngInherit=!0;var bs=function e(){_classCallCheck(this,e)},vs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"resolveComponentFactory",value:function(e){throw function(e){var t=Error("No component factory found for ".concat(U(e),". Did you add it to @NgModule.entryComponents?"));return t.ngComponent=e,t}(e)}}]),e}(),_s=function(){var e=function e(){_classCallCheck(this,e)};return e.NULL=new vs,e}(),Cs=function(){var e=function e(t){_classCallCheck(this,e),this.nativeElement=t};return e.__NG_ELEMENT_ID__=function(){return Os(e)},e}(),Os=function(e){return pi(e,mt(),dt())},ks=function e(){_classCallCheck(this,e)},Ps=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),ws=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Ms()},e}(),Ms=function(){var e=dt(),t=rt(mt().index,e);return function(e){var t=e[11];if(Xe(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(He(t)?t:e)},Es=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=E({token:e,providedIn:"root",factory:function(){return null}}),e}(),Ss=function e(t){_classCallCheck(this,e),this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},Ts=new Ss("9.1.11"),xs=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return Gi(e)}},{key:"create",value:function(e){return new Is(e)}}]),e}(),As=function(e,t){return t},Is=function(){function e(t){_classCallCheck(this,e),this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=t||As}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)}},{key:"forEachOperation",value:function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Rs(n,r,o)?t:n,a=Rs(i,r,o),s=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var c=a-r,u=s-r;if(c!=u){for(var l=0;l<c;l++){var h=l<o.length?o[l]:o[l]=0,d=h+l;u<=d&&d<c&&(o[l]=h+1)}o[i.previousIndex]=u-c}}a!==s&&e(i,a,s)}}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachMovedItem",value:function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"forEachIdentityChange",value:function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}},{key:"diff",value:function(e){if(null==e&&(e=[]),!Gi(e))throw new Error("Error trying to diff '".concat(U(e),"'. Only arrays and iterables are allowed"));return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var s=0;s<this.length;s++)r=e[s],o=this._trackByFn(s,r),null!==i&&zi(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,s)),zi(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,s),a=!0),i=i._next}else n=0,function(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r,o=e[Hi()]();!(r=o.next()).done;)t(r.value)}(e,(function(e){o=t._trackByFn(n,e),null!==i&&zi(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),zi(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++})),this.length=n;return this._truncate(i),this.collection=e,this.isDirty}},{key:"_reset",value:function(){if(this.isDirty){var e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}},{key:"_mismatch",value:function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(zi(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(zi(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new js(t,n),o,r),e}},{key:"_verifyReinsertion",value:function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}},{key:"_truncate",value:function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}},{key:"_reinsertAfter",value:function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_moveAfter",value:function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}},{key:"_addAfter",value:function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}},{key:"_insertAfter",value:function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Ns),this._linkedRecords.put(e),e.currentIndex=n,e}},{key:"_remove",value:function(e){return this._addToRemovals(this._unlink(e))}},{key:"_unlink",value:function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}},{key:"_addToMoves",value:function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}},{key:"_addToRemovals",value:function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Ns),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}},{key:"_addIdentityChange",value:function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}}]),e}(),js=function e(t,n){_classCallCheck(this,e),this.item=t,this.trackById=n,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},Ds=function(){function e(){_classCallCheck(this,e),this._head=null,this._tail=null}return _createClass(e,[{key:"add",value:function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}},{key:"get",value:function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&zi(n.trackById,e))return n;return null}},{key:"remove",value:function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}]),e}(),Ns=function(){function e(){_classCallCheck(this,e),this.map=new Map}return _createClass(e,[{key:"put",value:function(e){var t=e.trackById,n=this.map.get(t);n||(n=new Ds,this.map.set(t,n)),n.add(e)}},{key:"get",value:function(e,t){var n=this.map.get(e);return n?n.get(e,t):null}},{key:"remove",value:function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}},{key:"clear",value:function(){this.map.clear()}},{key:"isEmpty",get:function(){return 0===this.map.size}}]),e}();function Rs(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}var Us=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"supports",value:function(e){return e instanceof Map||Ki(e)}},{key:"create",value:function(){return new Fs}}]),e}(),Fs=function(){function e(){_classCallCheck(this,e),this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return _createClass(e,[{key:"forEachItem",value:function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)}},{key:"forEachPreviousItem",value:function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}},{key:"forEachChangedItem",value:function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}},{key:"forEachAddedItem",value:function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}},{key:"forEachRemovedItem",value:function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}},{key:"diff",value:function(e){if(e){if(!(e instanceof Map||Ki(e)))throw new Error("Error trying to diff '".concat(U(e),"'. Only maps and objects are allowed"))}else e=new Map;return this.check(e)?this:null}},{key:"onDestroy",value:function(){}},{key:"check",value:function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,(function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var o=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,o)}})),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}},{key:"_insertBeforeOrAppend",value:function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}},{key:"_getOrCreateRecordForKey",value:function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,o=n._next;return r&&(r._next=o),o&&(o._prev=r),n._next=null,n._prev=null,n}var i=new Ls(e);return this._records.set(e,i),i.currentValue=t,this._addToAdditions(i),i}},{key:"_reset",value:function(){if(this.isDirty){var e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}},{key:"_maybeAddToChanges",value:function(e,t){zi(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}},{key:"_addToAdditions",value:function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}},{key:"_addToChanges",value:function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}},{key:"_forEach",value:function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach((function(n){return t(e[n],n)}))}},{key:"isDirty",get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}}]),e}(),Ls=function e(t){_classCallCheck(this,e),this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},Bs=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t,n=this.factories.find((function(t){return t.supports(e)}));if(null!=n)return n;throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'"))}}],[{key:"create",value:function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new k,new C]]}}}]),e}();return e.\u0275prov=E({token:e,providedIn:"root",factory:function(){return new e([new xs])}}),e}(),Hs=function(){var e=function(){function e(t){_classCallCheck(this,e),this.factories=t}return _createClass(e,[{key:"find",value:function(e){var t=this.factories.find((function(t){return t.supports(e)}));if(t)return t;throw new Error("Cannot find a differ supporting object '".concat(e,"'"))}}],[{key:"create",value:function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)}},{key:"extend",value:function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new k,new C]]}}}]),e}();return e.\u0275prov=E({token:e,providedIn:"root",factory:function(){return new e([new Us])}}),e}(),zs=[new Us],Vs=new Bs([new xs]),Gs=new Hs(zs),Ks=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return qs(e,Cs)},e}(),qs=function(e,t){return mi(e,t,mt(),dt())},Ys=function(){var e=function e(){_classCallCheck(this,e)};return e.__NG_ELEMENT_ID__=function(){return Qs(e,Cs)},e}(),Qs=function(e,t){return gi(e,t,mt(),dt())},Ws={},Xs=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).ngModule=e,r}return _createClass(n,[{key:"resolveComponentFactory",value:function(e){var t=Fe(e);return new Js(t,this.ngModule)}}]),n}(_s);function Zs(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var $s=new ne("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return an}}),Js=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).componentDef=e,o.ngModule=r,o.componentType=e.type,o.selector=e.selectors.map(Fr).join(","),o.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],o.isBoundToModule=!!r,o}return _createClass(n,[{key:"create",value:function(e,t,n,r){var o,i,a=(r=r||this.ngModule)?function(e,t){return{get:function(n,r,o){var i=e.get(n,Ws,o);return i!==Ws||r===Ws?i:t.get(n,r,o)}}}(e,r.injector):e,s=a.get(ks,Ze),c=a.get(Es,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",h=n?function(e,t,n){if(Xe(e))return e.selectRootElement(t,n===we.ShadowDom);var r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,n,this.componentDef.encapsulation):Jr(l,s.createRenderer(null,this.componentDef),function(e){var t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),p={components:[],scheduler:an,clean:No,playerHandler:null,flags:0},m=lo(0,-1,null,1,0,null,null,null,null,null),g=eo(null,m,p,d,null,null,s,u,c,a);xt(g,null);try{var y=function(e,t,n,r,o,i){var a=n[1];n[20]=e;var s=to(a,null,0,3,null,null),c=s.mergedAttrs=t.hostAttrs;null!==c&&(Li(s,c,!0),null!==e&&(Qt(o,e,c),null!==s.classes&&ci(o,e,s.classes),null!==s.styles&&si(o,e,s.styles)));var u=r.createRenderer(e,t),l=eo(n,uo(t),null,t.onPush?64:16,n[20],s,r,u,void 0);return a.firstCreatePass&&(gn(dn(s,n),a,t.type),_o(a,s),Oo(s,n.length,1)),xo(n,l),n[20]=l}(h,this.componentDef,g,s,u);if(h)if(n)Qt(u,h,["ng-version",Ts.full]);else{var b=function(e){for(var t=[],n=[],r=1,o=2;r<e.length;){var i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!jr(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]),v=b.attrs,_=b.classes;v&&Qt(u,h,v),_&&_.length>0&&ci(u,h,_.join(" "))}if(i=tt(m,0),void 0!==t)for(var C=i.projection=[],O=0;O<this.ngContentSelectors.length;O++){var k=t[O];C.push(null!=k?Array.from(k):null)}o=function(e,t,n,r,o){var i=n[1],a=function(e,t,n){var r=mt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),vo(e,r,1),ko(e,t,n));var o=Cn(t,e,t.length-1,r);wr(o,t);var i=et(r,t);return i&&wr(i,t),o}(i,n,t);r.components.push(a),e[8]=a,o&&o.forEach((function(e){return e(a,t)})),t.contentQueries&&t.contentQueries(1,a,n.length-1);var s=mt();if(i.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Ut(s.index-20);var c=n[1];go(c,t),yo(c,n,t.hostVars),bo(t,a)}return a}(y,this.componentDef,g,p,[es]),no(m,g,null)}finally{Nt()}var P=new ec(this.componentType,o,pi(Cs,i,g),g,i);return n&&!f||(m.node.child=i),P}},{key:"inputs",get:function(){return Zs(this.componentDef.inputs)}},{key:"outputs",get:function(){return Zs(this.componentDef.outputs)}}]),n}(bs),ec=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i,a){var s,c,u,l;return _classCallCheck(this,n),(s=t.call(this)).location=o,s._rootLView=i,s._tNode=a,s.destroyCbs=[],s.instance=r,s.hostView=s.changeDetectorRef=new fi(i),c=i[1],u=i,null==(l=c.node)&&(c.node=l=ho(0,null,2,-1,null,null)),u[6]=l,s.componentType=e,s}return _createClass(n,[{key:"destroy",value:function(){this.destroyCbs&&(this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}},{key:"onDestroy",value:function(e){this.destroyCbs&&this.destroyCbs.push(e)}},{key:"injector",get:function(){return new Pn(this._tNode,this._rootLView)}}]),n}(function(){return function e(){_classCallCheck(this,e)}}()),tc=void 0,nc=["en",[["a","p"],["AM","PM"],tc],[["AM","PM"],tc,tc],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],tc,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],tc,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",tc,"{1} 'at' {0}",tc],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){var t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}],rc={};function oc(e,t,n){"string"!=typeof t&&(n=t,t=e[uc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),rc[t]=e,n&&(rc[t][uc.ExtraData]=n)}function ic(e){var t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e),n=cc(t);if(n)return n;var r=t.split("-")[0];if(n=cc(r))return n;if("en"===r)return nc;throw new Error('Missing locale data for the locale "'.concat(e,'".'))}function ac(e){return ic(e)[uc.CurrencyCode]||null}function sc(e){return ic(e)[uc.PluralCase]}function cc(e){return e in rc||(rc[e]=Q.ng&&Q.ng.common&&Q.ng.common.locales&&Q.ng.common.locales[e]),rc[e]}var uc=function(){var e={LocaleId:0,DayPeriodsFormat:1,DayPeriodsStandalone:2,DaysFormat:3,DaysStandalone:4,MonthsFormat:5,MonthsStandalone:6,Eras:7,FirstDayOfWeek:8,WeekendRange:9,DateFormat:10,TimeFormat:11,DateTimeFormat:12,NumberSymbols:13,NumberFormats:14,CurrencyCode:15,CurrencySymbol:16,CurrencyName:17,Currencies:18,Directionality:19,PluralCase:20,ExtraData:21};return e[e.LocaleId]="LocaleId",e[e.DayPeriodsFormat]="DayPeriodsFormat",e[e.DayPeriodsStandalone]="DayPeriodsStandalone",e[e.DaysFormat]="DaysFormat",e[e.DaysStandalone]="DaysStandalone",e[e.MonthsFormat]="MonthsFormat",e[e.MonthsStandalone]="MonthsStandalone",e[e.Eras]="Eras",e[e.FirstDayOfWeek]="FirstDayOfWeek",e[e.WeekendRange]="WeekendRange",e[e.DateFormat]="DateFormat",e[e.TimeFormat]="TimeFormat",e[e.DateTimeFormat]="DateTimeFormat",e[e.NumberSymbols]="NumberSymbols",e[e.NumberFormats]="NumberFormats",e[e.CurrencyCode]="CurrencyCode",e[e.CurrencySymbol]="CurrencySymbol",e[e.CurrencyName]="CurrencyName",e[e.Currencies]="Currencies",e[e.Directionality]="Directionality",e[e.PluralCase]="PluralCase",e[e.ExtraData]="ExtraData",e}();function lc(e){var t;null==(t=e)&&function(e,t,n,r){throw new Error("ASSERTION ERROR: Expected localeId to be defined"+" [Expected=> null != ".concat(t," <=Actual]"))}(0,t),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}var hc=new Map,dc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;_classCallCheck(this,n),(o=t.call(this))._parent=r,o._bootstrapComponents=[],o.injector=_assertThisInitialized(o),o.destroyCbs=[],o.componentFactoryResolver=new Xs(_assertThisInitialized(o));var i=Be(e),a=e[J]||null;return a&&lc(a),o._bootstrapComponents=cn(i.bootstrap),o._r3Injector=Mi(e,r,[{provide:me,useValue:_assertThisInitialized(o)},{provide:_s,useValue:o.componentFactoryResolver}],U(e)),o._r3Injector._resolveInjectorDefTypes(),o.instance=o.get(e),o}return _createClass(n,[{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Di.THROW_IF_NOT_FOUND,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P.Default;return e===Di||e===me||e===re?this:this._r3Injector.get(e,t,n)}},{key:"destroy",value:function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach((function(e){return e()})),this.destroyCbs=null}},{key:"onDestroy",value:function(e){this.destroyCbs.push(e)}}]),n}(me),fc=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).moduleType=e,null!==Be(e)&&function e(t){if(null!==t.\u0275mod.id){var n=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for ".concat(e," - ").concat(U(t)," vs ").concat(U(t.name)))})(n,hc.get(n),t),hc.set(n,t)}var r=t.\u0275mod.imports;r instanceof Function&&(r=r()),r&&r.forEach((function(t){return e(t)}))}(e),r}return _createClass(n,[{key:"create",value:function(e){return new dc(this.moduleType,e)}}]),n}(ge);function pc(e,t,n){var r=Ct()+e,o=dt();return o[r]===Lr?qi(o,r,n?t.call(n):t()):Yi(o,r)}function mc(e,t,n,r,o,i,a,s,c,u){var l=Ct()+e,h=dt(),d=function(e,t,n,r,o,i){var a=Wi(e,t,n,r);return Wi(e,t+2,o,i)||a}(h,l,n,r,o,i);return Xi(h,l+4,a,s,c)||d?qi(h,l+7,u?t.call(u,n,r,o,i,a,s,c):t(n,r,o,i,a,s,c)):Yi(h,l+7)}function gc(e,t,n,r){return function(e,t,n,r,o,i){for(var a=t+n,s=!1,c=0;c<o.length;c++)Qi(e,a++,o[c])&&(s=!0);return s?qi(e,a,r.apply(i,o)):yc(e,a)}(dt(),Ct(),e,t,n,r)}function yc(e,t){var n=e[t];return n===Lr?void 0:n}function bc(e,t){var n,r=ft(),o=e+20;r.firstCreatePass?(n=function(e,t){if(t)for(var n=t.length-1;n>=0;n--){var r=t[n];if(e===r.name)return r}throw new Error("The pipe '".concat(e,"' could not be found!"))}(t,r.pipeRegistry),r.data[o]=n,n.onDestroy&&(r.destroyHooks||(r.destroyHooks=[])).push(o,n.onDestroy)):n=r.data[o];var i=n.factory||(n.factory=Le(n.type)),a=ue(ea),s=ln(!1),c=i();return ln(s),ue(a),function(e,t,n,r){var o=n+20;o>=e.data.length&&(e.data[o]=null,e.blueprint[o]=null),t[o]=r}(r,dt(),e,c),c}function vc(e,t,n){var r=dt(),o=nt(r,e);return kc(r,Oc(r,e)?function(e,t,n,r,o,i){var a=t+n;return Qi(e,a,o)?qi(e,a+1,i?r.call(i,o):r(o)):yc(e,a+1)}(r,Ct(),t,o.transform,n,o):o.transform(n))}function _c(e,t,n,r){var o=dt(),i=nt(o,e);return kc(o,Oc(o,e)?function(e,t,n,r,o,i,a){var s=t+n;return Wi(e,s,o,i)?qi(e,s+2,a?r.call(a,o,i):r(o,i)):yc(e,s+2)}(o,Ct(),t,i.transform,n,r,i):i.transform(n,r))}function Cc(e,t,n,r,o){var i=dt(),a=nt(i,e);return kc(i,Oc(i,e)?function(e,t,n,r,o,i,a,s){var c=t+n;return Xi(e,c,o,i,a)?qi(e,c+3,s?r.call(s,o,i,a):r(o,i,a)):yc(e,c+3)}(i,Ct(),t,a.transform,n,r,o,a):a.transform(n,r,o))}function Oc(e,t){return e[1].data[t+20].pure}function kc(e,t){return Vi.isWrapped(t)&&(t=Vi.unwrap(t),e[Ot()]=Lr),t}var Pc=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return _classCallCheck(this,n),(e=t.call(this)).__isAsync=r,e}return _createClass(n,[{key:"emit",value:function(e){_get(_getPrototypeOf(n.prototype),"next",this).call(this,e)}},{key:"subscribe",value:function(e,t,r){var i,a=function(e){return null},s=function(){return null};e&&"object"==typeof e?(i=this.__isAsync?function(t){setTimeout((function(){return e.next(t)}))}:function(t){e.next(t)},e.error&&(a=this.__isAsync?function(t){setTimeout((function(){return e.error(t)}))}:function(t){e.error(t)}),e.complete&&(s=this.__isAsync?function(){setTimeout((function(){return e.complete()}))}:function(){e.complete()})):(i=this.__isAsync?function(t){setTimeout((function(){return e(t)}))}:function(t){e(t)},t&&(a=this.__isAsync?function(e){setTimeout((function(){return t(e)}))}:function(e){t(e)}),r&&(s=this.__isAsync?function(){setTimeout((function(){return r()}))}:function(){r()}));var c=_get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,i,a,s);return e instanceof o.a&&e.add(c),c}}]),n}(r.a);function wc(){return this._results[Hi()]()}var Mc=function(){function e(){_classCallCheck(this,e),this.dirty=!0,this._results=[],this.changes=new Pc,this.length=0;var t=Hi(),n=e.prototype;n[t]||(n[t]=wc)}return _createClass(e,[{key:"map",value:function(e){return this._results.map(e)}},{key:"filter",value:function(e){return this._results.filter(e)}},{key:"find",value:function(e){return this._results.find(e)}},{key:"reduce",value:function(e,t){return this._results.reduce(e,t)}},{key:"forEach",value:function(e){this._results.forEach(e)}},{key:"some",value:function(e){return this._results.some(e)}},{key:"toArray",value:function(){return this._results.slice()}},{key:"toString",value:function(){return this._results.toString()}},{key:"reset",value:function(e){this._results=function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?(n===t&&(n=t.slice(0,r)),e(o,n)):n!==t&&n.push(o)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}},{key:"notifyOnChanges",value:function(){this.changes.emit(this)}},{key:"setDirty",value:function(){this.dirty=!0}},{key:"destroy",value:function(){this.changes.complete(),this.changes.unsubscribe()}}]),e}(),Ec=function(){function e(t){_classCallCheck(this,e),this.queryList=t,this.matches=null}return _createClass(e,[{key:"clone",value:function(){return new e(this.queryList)}},{key:"setDirty",value:function(){this.queryList.setDirty()}}]),e}(),Sc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"createEmbeddedView",value:function(t){var n=t.queries;if(null!==n){for(var r=null!==t.contentQueries?t.contentQueries[0]:n.length,o=[],i=0;i<r;i++){var a=n.getByIndex(i);o.push(this.queries[a.indexInDeclarationView].clone())}return new e(o)}return null}},{key:"insertView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"detachView",value:function(e){this.dirtyQueriesWithMatches(e)}},{key:"dirtyQueriesWithMatches",value:function(e){for(var t=0;t<this.queries.length;t++)null!==Hc(e,t).matches&&this.queries[t].setDirty()}}]),e}(),Tc=function e(t,n,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.predicate=t,this.descendants=n,this.isStatic=r,this.read=o},xc=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];_classCallCheck(this,e),this.queries=t}return _createClass(e,[{key:"elementStart",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}},{key:"elementEnd",value:function(e){for(var t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}},{key:"embeddedTView",value:function(t){for(var n=null,r=0;r<this.length;r++){var o=null!==n?n.length:0,i=this.getByIndex(r).embeddedTView(t,o);i&&(i.indexInDeclarationView=r,null!==n?n.push(i):n=[i])}return null!==n?new e(n):null}},{key:"template",value:function(e,t){for(var n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}},{key:"getByIndex",value:function(e){return this.queries[e]}},{key:"track",value:function(e){this.queries.push(e)}},{key:"length",get:function(){return this.queries.length}}]),e}(),Ac=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;_classCallCheck(this,e),this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}return _createClass(e,[{key:"elementStart",value:function(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}},{key:"elementEnd",value:function(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}},{key:"template",value:function(e,t){this.elementStart(e,t)}},{key:"embeddedTView",value:function(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new e(this.metadata)):null}},{key:"isApplyingToNode",value:function(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){for(var t=this._declarationNodeIndex,n=e.parent;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}},{key:"matchTNode",value:function(e,t){if(Array.isArray(this.metadata.predicate))for(var n=this.metadata.predicate,r=0;r<n.length;r++)this.matchTNodeWithReadOption(e,t,Ic(t,n[r]));else{var o=this.metadata.predicate;o===Ks?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,_n(t,e,o,!1,!1))}}},{key:"matchTNodeWithReadOption",value:function(e,t,n){if(null!==n){var r=this.metadata.read;if(null!==r)if(r===Cs||r===Ys||r===Ks&&0===t.type)this.addMatch(t.index,-2);else{var o=_n(t,e,r,!1,!1);null!==o&&this.addMatch(t.index,o)}else this.addMatch(t.index,n)}}},{key:"addMatch",value:function(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}]),e}();function Ic(e,t){var n=e.localNames;if(null!==n)for(var r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function jc(e,t,n,r){return-1===n?function(e,t){return 3===e.type||4===e.type?pi(Cs,e,t):0===e.type?mi(Ks,Cs,e,t):null}(t,e):-2===n?function(e,t,n){return n===Cs?pi(Cs,t,e):n===Ks?mi(Ks,Cs,t,e):n===Ys?gi(Ys,Cs,t,e):void 0}(e,t,r):Cn(e,e[1],n,t)}function Dc(e,t,n,r){var o=t[19].queries[r];if(null===o.matches){for(var i=e.data,a=n.matches,s=[],c=0;c<a.length;c+=2){var u=a[c];s.push(u<0?null:jc(t,i[u],a[c+1],n.metadata.read))}o.matches=s}return o.matches}function Nc(e){var t=dt(),n=ft(),r=Et();St(r+1);var o=Hc(n,r);if(e.dirty&&it(t)===o.metadata.isStatic){if(null===o.matches)e.reset([]);else{var i=o.crossesNgTemplate?function e(t,n,r,o){var i=t.queries.getByIndex(r),a=i.matches;if(null!==a)for(var s=Dc(t,n,i,r),c=0;c<a.length;c+=2){var u=a[c];if(u>0)o.push(s[c/2]);else{for(var l=a[c+1],h=n[-u],d=10;d<h.length;d++){var f=h[d];f[17]===f[3]&&e(f[1],f,l,o)}if(null!==h[9])for(var p=h[9],m=0;m<p.length;m++){var g=p[m];e(g[1],g,l,o)}}}return o}(n,t,r,[]):Dc(n,t,o,r);e.reset(i),e.notifyOnChanges()}return!0}return!1}function Rc(e,t,n){!function(e,t,n,r,o,i){e.firstCreatePass&&(Bc(e,new Tc(n,r,!0,o),-1),e.staticViewQueries=!0),Lc(e,t)}(ft(),dt(),e,t,n)}function Uc(e,t,n,r){!function(e,t,n,r,o,i,a,s){e.firstCreatePass&&(Bc(e,new Tc(n,r,!1,o),a.index),function(e,t){var n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,s)),Lc(e,t)}(ft(),dt(),t,n,r,0,mt(),e)}function Fc(){return e=dt(),t=Et(),e[19].queries[t].queryList;var e,t}function Lc(e,t){var n=new Mc;!function(e,t,n,r){var o=Ro(t);o.push(n),e.firstCreatePass&&Uo(e).push(r,o.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Sc),t[19].queries.push(new Ec(n))}function Bc(e,t,n){null===e.queries&&(e.queries=new xc),e.queries.track(new Ac(t,n))}function Hc(e,t){return e.queries.getByIndex(t)}function zc(e,t){return mi(Ks,Cs,e,t)}function Vc(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:P.Default,t=yi(!0);if(null!=t||e&P.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}var Gc=new ne("Application Initializer"),Kc=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise((function(e,t){n.resolve=e,n.reject=t}))}return _createClass(e,[{key:"runInitializers",value:function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var o=this.appInits[r]();ha(o)&&t.push(o)}Promise.all(t).then((function(){n()})).catch((function(t){e.reject(t)})),0===t.length&&n(),this.initialized=!0}}}]),e}();return e.\u0275fac=function(t){return new(t||e)(he(Gc,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),qc=new ne("AppId"),Yc={provide:qc,useFactory:function(){return"".concat(Qc()).concat(Qc()).concat(Qc())},deps:[]};function Qc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}var Wc=new ne("Platform Initializer"),Xc=new ne("Platform ID"),Zc=new ne("appBootstrapListener"),$c=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"log",value:function(e){console.log(e)}},{key:"warn",value:function(e){console.warn(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),Jc=new ne("LocaleId"),eu=new ne("DefaultCurrencyCode"),tu=function e(t,n){_classCallCheck(this,e),this.ngModuleFactory=t,this.componentFactories=n},nu=function(e){return new fc(e)},ru=nu,ou=function(e){return Promise.resolve(nu(e))},iu=function(e){var t=nu(e),n=cn(Be(e).declarations).reduce((function(e,t){var n=Fe(t);return n&&e.push(new Js(n)),e}),[]);return new tu(t,n)},au=iu,su=function(e){return Promise.resolve(iu(e))},cu=function(){var e=function(){function e(){_classCallCheck(this,e),this.compileModuleSync=ru,this.compileModuleAsync=ou,this.compileModuleAndAllComponentsSync=au,this.compileModuleAndAllComponentsAsync=su}return _createClass(e,[{key:"clearCache",value:function(){}},{key:"clearCacheFor",value:function(e){}},{key:"getModuleId",value:function(e){}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),uu=new ne("compilerOptions"),lu=Promise.resolve(0);function hu(e){"undefined"==typeof Zone?lu.then((function(){e&&e.apply(null,null)})):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}var du=function(){function e(t){var n,r,o=t.enableLongStackTrace,i=void 0!==o&&o,a=t.shouldCoalesceEventChangeDetection,s=void 0!==a&&a;if(_classCallCheck(this,e),this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pc(!1),this.onMicrotaskEmpty=new Pc(!1),this.onStable=new Pc(!1),this.onError=new Pc(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),i&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=s,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){var e=Q.requestAnimationFrame,t=Q.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){var n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);var r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,r=!!(n=this).shouldCoalesceEventChangeDetection&&n.nativeRequestAnimationFrame&&function(){!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(Q,(function(){e.lastRequestAnimationFrameId=-1,gu(e),mu(e)})),gu(e))}(n)},n._inner=n._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:r},onInvokeTask:function(e,t,o,i,a,s){try{return yu(n),e.invokeTask(o,i,a,s)}finally{r&&"eventTask"===i.type&&r(),bu(n)}},onInvoke:function(e,t,r,o,i,a,s){try{return yu(n),e.invoke(r,o,i,a,s)}finally{bu(n)}},onHasTask:function(e,t,r,o){e.hasTask(r,o),t===r&&("microTask"==o.change?(n._hasPendingMicrotasks=o.microTask,gu(n),mu(n)):"macroTask"==o.change&&(n.hasPendingMacrotasks=o.macroTask))},onHandleError:function(e,t,r,o){return e.handleError(r,o),n.runOutsideAngular((function(){return n.onError.emit(o)})),!1}})}return _createClass(e,[{key:"run",value:function(e,t,n){return this._inner.run(e,t,n)}},{key:"runTask",value:function(e,t,n,r){var o=this._inner,i=o.scheduleEventTask("NgZoneEvent: "+r,e,pu,fu,fu);try{return o.runTask(i,t,n)}finally{o.cancelTask(i)}}},{key:"runGuarded",value:function(e,t,n){return this._inner.runGuarded(e,t,n)}},{key:"runOutsideAngular",value:function(e){return this._outer.run(e)}}],[{key:"isInAngularZone",value:function(){return!0===Zone.current.get("isAngularZone")}},{key:"assertInAngularZone",value:function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}},{key:"assertNotInAngularZone",value:function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}}]),e}();function fu(){}var pu={};function mu(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular((function(){return e.onStable.emit(null)}))}finally{e.isStable=!0}}}function gu(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function yu(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function bu(e){e._nesting--,mu(e)}var vu=function(){function e(){_classCallCheck(this,e),this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pc,this.onMicrotaskEmpty=new Pc,this.onStable=new Pc,this.onError=new Pc}return _createClass(e,[{key:"run",value:function(e,t,n){return e.apply(t,n)}},{key:"runGuarded",value:function(e,t,n){return e.apply(t,n)}},{key:"runOutsideAngular",value:function(e){return e()}},{key:"runTask",value:function(e,t,n,r){return e.apply(t,n)}}]),e}(),_u=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this._ngZone=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),t.run((function(){n.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")}))}return _createClass(e,[{key:"_watchAngularEvents",value:function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular((function(){e._ngZone.onStable.subscribe({next:function(){du.assertNotInAngularZone(),hu((function(){e._isZoneStable=!0,e._runCallbacksIfReady()}))}})}))}},{key:"increasePendingRequestCount",value:function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}},{key:"decreasePendingRequestCount",value:function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}},{key:"isStable",value:function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}},{key:"_runCallbacksIfReady",value:function(){var e=this;if(this.isStable())hu((function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1}));else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter((function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)})),this._didWork=!0}}},{key:"getPendingTasks",value:function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map((function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}})):[]}},{key:"addCallback",value:function(e,t,n){var r=this,o=-1;t&&t>0&&(o=setTimeout((function(){r._callbacks=r._callbacks.filter((function(e){return e.timeoutId!==o})),e(r._didWork,r.getPendingTasks())}),t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})}},{key:"whenStable",value:function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}},{key:"getPendingRequestCount",value:function(){return this._pendingCount}},{key:"findProviders",value:function(e,t,n){return[]}}]),e}();return e.\u0275fac=function(t){return new(t||e)(he(du))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}(),Cu=function(){var e=function(){function e(){_classCallCheck(this,e),this._applications=new Map,Pu.addToWindow(this)}return _createClass(e,[{key:"registerApplication",value:function(e,t){this._applications.set(e,t)}},{key:"unregisterApplication",value:function(e){this._applications.delete(e)}},{key:"unregisterAllApplications",value:function(){this._applications.clear()}},{key:"getTestability",value:function(e){return this._applications.get(e)||null}},{key:"getAllTestabilities",value:function(){return Array.from(this._applications.values())}},{key:"getAllRootElements",value:function(){return Array.from(this._applications.keys())}},{key:"findTestabilityInTree",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return Pu.findTestabilityInTree(this,e,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function Ou(e){Pu=e}var ku,Pu=new(function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){}},{key:"findTestabilityInTree",value:function(e,t,n){return null}}]),e}()),wu=function(e,t,n){var r=e.get(uu,[]).concat(t),o=new fc(n);if(0===Ri.size)return Promise.resolve(o);var i,a,s=(i=r.map((function(e){return e.providers})),a=[],i.forEach((function(e){return e&&a.push.apply(a,_toConsumableArray(e))})),a);if(0===s.length)return Promise.resolve(o);var c=function(){var e=Q.ng;if(!e||!e.\u0275compilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.\u0275compilerFacade}(),u=Di.create({providers:s}).get(c.ResourceLoader);return function(e){var t=[],n=new Map;function r(e){var t=n.get(e);if(!t){var r=function(e){return Promise.resolve(u.get(e))}(e);n.set(e,t=r.then(Fi))}return t}return Ri.forEach((function(e,n){var o=[];e.templateUrl&&o.push(r(e.templateUrl).then((function(t){e.template=t})));var i=e.styleUrls,a=e.styles||(e.styles=[]),s=e.styles.length;i&&i.forEach((function(t,n){a.push(""),o.push(r(t).then((function(r){a[s+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)})))}));var c=Promise.all(o).then((function(){return function(e){Ui.delete(e)}(n)}));t.push(c)})),Ri=new Map,Promise.all(t).then((function(){}))}().then((function(){return o}))},Mu=new ne("AllowMultipleToken"),Eu=function e(t,n){_classCallCheck(this,e),this.name=t,this.token=n};function Su(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],r="Platform: "+t,o=new ne(r);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=Tu();if(!i||i.injector.get(Mu,!1))if(e)e(n.concat(t).concat({provide:o,useValue:!0}));else{var a=n.concat(t).concat({provide:o,useValue:!0},{provide:_i,useValue:"platform"});!function(e){if(ku&&!ku.destroyed&&!ku.injector.get(Mu,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");ku=e.get(xu);var t=e.get(Wc,null);t&&t.forEach((function(e){return e()}))}(Di.create({providers:a,name:r}))}return function(e){var t=Tu();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(o)}}function Tu(){return ku&&!ku.destroyed?ku:null}var xu=function(){var e=function(){function e(t){_classCallCheck(this,e),this._injector=t,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return _createClass(e,[{key:"bootstrapModuleFactory",value:function(e,t){var n,r,o=this,i=(n=t?t.ngZone:void 0,r=t&&t.ngZoneEventCoalescing||!1,"noop"===n?new vu:("zone.js"===n?void 0:n)||new du({enableLongStackTrace:qn(),shouldCoalesceEventChangeDetection:r})),a=[{provide:du,useValue:i}];return i.run((function(){var t=Di.create({providers:a,parent:o.injector,name:e.moduleType.name}),n=e.create(t),r=n.injector.get(Tn,null);if(!r)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return n.onDestroy((function(){return Du(o._modules,n)})),i.runOutsideAngular((function(){return i.onError.subscribe({next:function(e){r.handleError(e)}})})),function(e,t,r){try{var i=((a=n.injector.get(Kc)).runInitializers(),a.donePromise.then((function(){return lc(n.injector.get(Jc,"en-US")||"en-US"),o._moduleDoBootstrap(n),n})));return ha(i)?i.catch((function(n){throw t.runOutsideAngular((function(){return e.handleError(n)})),n})):i}catch(s){throw t.runOutsideAngular((function(){return e.handleError(s)})),s}var a}(r,i)}))}},{key:"bootstrapModule",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Au({},n);return wu(this.injector,r,e).then((function(e){return t.bootstrapModuleFactory(e,r)}))}},{key:"_moduleDoBootstrap",value:function(e){var t=e.injector.get(ju);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach((function(e){return t.bootstrap(e)}));else{if(!e.instance.ngDoBootstrap)throw new Error("The module ".concat(U(e.instance.constructor),' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.'));e.instance.ngDoBootstrap(t)}this._modules.push(e)}},{key:"onDestroy",value:function(e){this._destroyListeners.push(e)}},{key:"destroy",value:function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach((function(e){return e.destroy()})),this._destroyListeners.forEach((function(e){return e()})),this._destroyed=!0}},{key:"injector",get:function(){return this._injector}},{key:"destroyed",get:function(){return this._destroyed}}]),e}();return e.\u0275fac=function(t){return new(t||e)(he(Di))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function Au(e,t){return Array.isArray(t)?t.reduce(Au,e):Object.assign(Object.assign({},e),t)}var Iu,ju=((Iu=function(){function e(t,n,r,o,u,h){var d=this;_classCallCheck(this,e),this._zone=t,this._console=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=u,this._initStatus=h,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=qn(),this._zone.onMicrotaskEmpty.subscribe({next:function(){d._zone.run((function(){d.tick()}))}});var f=new i.a((function(e){d._stable=d._zone.isStable&&!d._zone.hasPendingMacrotasks&&!d._zone.hasPendingMicrotasks,d._zone.runOutsideAngular((function(){e.next(d._stable),e.complete()}))})),p=new i.a((function(e){var t;d._zone.runOutsideAngular((function(){t=d._zone.onStable.subscribe((function(){du.assertNotInAngularZone(),hu((function(){d._stable||d._zone.hasPendingMacrotasks||d._zone.hasPendingMicrotasks||(d._stable=!0,e.next(!0))}))}))}));var n=d._zone.onUnstable.subscribe((function(){du.assertInAngularZone(),d._stable&&(d._stable=!1,d._zone.runOutsideAngular((function(){e.next(!1)})))}));return function(){t.unsubscribe(),n.unsubscribe()}}));this.isStable=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Number.POSITIVE_INFINITY,o=null,u=t[t.length-1];return Object(a.a)(u)?(o=t.pop(),t.length>1&&"number"==typeof t[t.length-1]&&(r=t.pop())):"number"==typeof u&&(r=t.pop()),null===o&&1===t.length&&t[0]instanceof i.a?t[0]:Object(s.a)(r)(Object(c.a)(t,o))}(f,p.pipe((function(e){return l()((t=y,function(e){var n;n="function"==typeof t?t:function(){return t};var r=Object.create(e,m);return r.source=e,r.subjectFactory=n,r})(e));var t})))}return _createClass(e,[{key:"bootstrap",value:function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof bs?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var o=n.isBoundToModule?void 0:this._injector.get(me),i=n.create(Di.NULL,[],t||n.selector,o);i.onDestroy((function(){r._unloadComponent(i)}));var a=i.injector.get(_u,null);return a&&i.injector.get(Cu).registerApplication(i.location.nativeElement,a),this._loadComponent(i),qn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),i}},{key:"tick",value:function(){var e=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;var t,n=_createForOfIteratorHelper(this._views);try{for(n.s();!(t=n.n()).done;)t.value.detectChanges()}catch(i){n.e(i)}finally{n.f()}if(this._enforceNoNewChanges){var r,o=_createForOfIteratorHelper(this._views);try{for(o.s();!(r=o.n()).done;)r.value.checkNoChanges()}catch(i){o.e(i)}finally{o.f()}}}catch(a){this._zone.runOutsideAngular((function(){return e._exceptionHandler.handleError(a)}))}finally{this._runningTick=!1}}},{key:"attachView",value:function(e){var t=e;this._views.push(t),t.attachToAppRef(this)}},{key:"detachView",value:function(e){var t=e;Du(this._views,t),t.detachFromAppRef()}},{key:"_loadComponent",value:function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Zc,[]).concat(this._bootstrapListeners).forEach((function(t){return t(e)}))}},{key:"_unloadComponent",value:function(e){this.detachView(e.hostView),Du(this.components,e)}},{key:"ngOnDestroy",value:function(){this._views.slice().forEach((function(e){return e.destroy()}))}},{key:"viewCount",get:function(){return this._views.length}}]),e}()).\u0275fac=function(e){return new(e||Iu)(he(du),he($c),he(Di),he(Tn),he(_s),he(Kc))},Iu.\u0275prov=E({token:Iu,factory:Iu.\u0275fac}),Iu);function Du(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}var Nu=function e(){_classCallCheck(this,e)},Ru=function e(){_classCallCheck(this,e)},Uu={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"},Fu=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._compiler=t,this._config=n||Uu}return _createClass(e,[{key:"load",value:function(e){return this.loadAndCompile(e)}},{key:"loadAndCompile",value:function(e){var t=this,r=_slicedToArray(e.split("#"),2),o=r[0],i=r[1];return void 0===i&&(i="default"),n("crnd")(o).then((function(e){return e[i]})).then((function(e){return Lu(e,o,i)})).then((function(e){return t._compiler.compileModuleAsync(e)}))}},{key:"loadFactory",value:function(e){var t=_slicedToArray(e.split("#"),2),r=t[0],o=t[1],i="NgFactory";return void 0===o&&(o="default",i=""),n("crnd")(this._config.factoryPathPrefix+r+this._config.factoryPathSuffix).then((function(e){return e[o+i]})).then((function(e){return Lu(e,r,o)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(he(cu),he(Ru,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e}();function Lu(e,t,n){if(!e)throw new Error("Cannot find '".concat(n,"' in '").concat(t,"'"));return e}var Bu=function(e){return null},Hu=Su(null,"core",[{provide:Xc,useValue:"unknown"},{provide:xu,deps:[Di]},{provide:Cu,deps:[]},{provide:$c,deps:[]}]),zu=[{provide:ju,useClass:ju,deps:[du,$c,Di,Tn,_s,Kc]},{provide:$s,deps:[du],useFactory:function(e){var t=[];return e.onStable.subscribe((function(){for(;t.length;)t.pop()()})),function(e){t.push(e)}}},{provide:Kc,useClass:Kc,deps:[[new C,Gc]]},{provide:cu,useClass:cu,deps:[]},Yc,{provide:Bs,useFactory:function(){return Vs},deps:[]},{provide:Hs,useFactory:function(){return Gs},deps:[]},{provide:Jc,useFactory:function(e){return lc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new _(Jc),new C,new k]]},{provide:eu,useValue:"USD"}],Vu=function(){var e=function e(t){_classCallCheck(this,e)};return e.\u0275mod=je({type:e}),e.\u0275inj=S({factory:function(t){return new(t||e)(he(ju))},providers:zu}),e}()},g5Dd:function(e,t){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),r=0;r<e.length;r++)n[e.charCodeAt(r)]=r;t.encode=function(t){var n,r=new Uint8Array(t),o=r.length,i="";for(n=0;n<o;n+=3)i+=e[r[n]>>2],i+=e[(3&r[n])<<4|r[n+1]>>4],i+=e[(15&r[n+1])<<2|r[n+2]>>6],i+=e[63&r[n+2]];return o%3==2?i=i.substring(0,i.length-1)+"=":o%3==1&&(i=i.substring(0,i.length-2)+"=="),i},t.decode=function(e){var t,r,o,i,a,s=.75*e.length,c=e.length,u=0;"="===e[e.length-1]&&(s--,"="===e[e.length-2]&&s--);var l=new ArrayBuffer(s),h=new Uint8Array(l);for(t=0;t<c;t+=4)r=n[e.charCodeAt(t)],o=n[e.charCodeAt(t+1)],i=n[e.charCodeAt(t+2)],a=n[e.charCodeAt(t+3)],h[u++]=r<<2|o>>4,h[u++]=(15&o)<<4|i>>2,h[u++]=(3&i)<<6|63&a;return l}}()},gFX4:function(e,t,n){var r=n("zJ60"),o=n("Vo14"),i=n("eOtv"),a=n("NOtv")("socket.io-client");e.exports=t=c;var s=t.managers={};function c(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o=r(e),c=o.source,u=o.id;return t.forceNew||t["force new connection"]||!1===t.multiplex||s[u]&&o.path in s[u].nsps?(a("ignoring socket cache for %s",c),n=i(c,t)):(s[u]||(a("new io instance for %s",c),s[u]=i(c,t)),n=s[u]),o.query&&!t.query&&(t.query=o.query),n.socket(o.path,t)}t.protocol=o.protocol,t.connect=c,t.Manager=n("eOtv"),t.Socket=n("KFGy")},gQEu:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.EHsva||(t.EHsva={})).HUE="hue",r.SATURATION="saturation",r.VALUE="value",r.ALPHA="alpha"},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("2fFW"),o=n("NJ4a"),i={closed:!0,next:function(e){},error:function(e){if(r.a.useDeprecatedSynchronousErrorHandling)throw e;Object(o.a)(e)},complete:function(){}}},hi8z:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return f})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return m})),n.d(t,"e",(function(){return y}));var r=n("mrSG"),o=n("PqYM"),i=n("2Vo4"),a=n("XNiG"),s=n("nYR2"),c=n("WB8P"),u=n("FYIv"),l=n("fXoL"),h=n("ofXK"),d=function(){var e=function(){function e(){_classCallCheck(this,e),this.internalCommonsSubscriptions=[],this.internalCommonsIsInCycle=new Map,this.internalCommonsIsDestroyed=!0}return _createClass(e,[{key:"ngOnInit",value:function(){this.ngOnDestroy(),this.internalCommonsIsDestroyed=!1}},{key:"ngAfterViewInit",value:function(){}},{key:"ngOnDestroy",value:function(){this.internalCommonsIsDestroyed=!0;var e,t=_createForOfIteratorHelper(this.internalCommonsSubscriptions);try{for(t.s();!(e=t.n()).done;){var n=e.value;n&&n.unsubscribe()}}catch(r){t.e(r)}finally{t.f()}this.internalCommonsSubscriptions=[]}},{key:"subscribe",value:function(e,t){var n=e.subscribe(t);return this.internalCommonsSubscriptions.push(n),n}},{key:"setTimer",value:function(e,t,n){var i,a=this;return i=this.subscribe(void 0!==t?Object(o.a)(e,t):Object(o.a)(e),(function(){return Object(r.a)(a,void 0,void 0,regeneratorRuntime.mark((function e(){var r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===t&&(r=this.internalCommonsSubscriptions.find((function(e){return e===i})))&&(o=this.internalCommonsSubscriptions.indexOf(r),r.unsubscribe(),this.internalCommonsSubscriptions.splice(o,1)),e.next=3,n();case 3:case"end":return e.stop()}}),e,this)})))}))}},{key:"setInterval",value:function(e,t,n,i){var a=this;switch(n){case u.ECommonsInvocation.FIXED:return this.setTimer(e,t,i);case u.ECommonsInvocation.WHEN:var l;l=function(){return Object(r.a)(a,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.internalCommonsIsDestroyed||!l){e.next=12;break}return e.prev=1,e.next=4,i();case 4:e.next=9;break;case 6:throw e.prev=6,e.t0=e.catch(1),e.t0;case 9:return e.prev=9,l&&this.setTimeout(t,l),e.finish(9);case 12:case"end":return e.stop()}}),e,this,[[1,6,9,12]])})))};var h=this.subscribe(Object(o.a)(1e3,1e3).pipe(Object(s.a)((function(){l=void 0}))),(function(){}));return this.setTimeout(e,l),h;case u.ECommonsInvocation.IF:var d=c.CommonsBase62.generateRandomId();return this.internalCommonsIsInCycle.set(d,!1),this.setInterval(e,t,u.ECommonsInvocation.FIXED,(function(){return Object(r.a)(a,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.internalCommonsIsInCycle.get(d)){e.next=8;break}return e.prev=1,this.internalCommonsIsInCycle.set(d,!0),e.next=5,i();case 5:return e.prev=5,this.internalCommonsIsInCycle.set(d,!1),e.finish(5);case 8:case"end":return e.stop()}}),e,this,[[1,,5,8]])})))}))}throw new Error("Unknown interval approach")}},{key:"setTimeout",value:function(e,t){return this.setTimer(e,void 0,t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=l.Gb({type:e}),e}(),f=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).zone=e,o.changeDetector=r,o.internalCommonsIntervals=[],o.isComponentDestroyed=!1,o.isComponentDestroyed=!1,o}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.isComponentDestroyed=!1,this.runChangeDetection()}},{key:"ngOnDestroy",value:function(){var e,t=_createForOfIteratorHelper(this.internalCommonsIntervals);try{for(t.s();!(e=t.n()).done;){var r=e.value;window.clearInterval(r)}}catch(o){t.e(o)}finally{t.f()}this.isComponentDestroyed=!0,_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}},{key:"runDetached",value:function(e){this.zone.runOutsideAngular((function(){e()}))}},{key:"subscribe",value:function(e,t){var r=this;return _get(_getPrototypeOf(n.prototype),"subscribe",this).call(this,e,(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];r.runDetached((function(){t.apply(null,n)}))}))}},{key:"setDetachedTimeout",value:function(e,t){var n=this;this.runDetached((function(){window.setTimeout((function(){n.runDetached((function(){t()}))}),e)}))}},{key:"setDetachedInterval",value:function(e,t,n){var r=this;this.setDetachedTimeout(e,(function(){if(!r.isComponentDestroyed){n();var e=window.setInterval((function(){r.isComponentDestroyed||r.runDetached((function(){n()}))}),t);r.internalCommonsIntervals.push(e)}}))}},{key:"runChangeDetection",value:function(){this.isComponentDestroyed||(this.changeDetector.reattach(),this.changeDetector.detectChanges(),this.changeDetector.detach())}}]),n}(d);return e.\u0275fac=function(e){l.Xb()},e.\u0275dir=l.Gb({type:e,features:[l.wb]}),e}(),p=function(){var e=function(){function e(){_classCallCheck(this,e),this.behaviours=new Map}return _createClass(e,[{key:"setup",value:function(e,t){this.behaviours.has(e)||this.behaviours.set(e,new i.a(t))}},{key:"observable",value:function(e,t){return this.setup(e,t),this.behaviours.get(e).asObservable()}},{key:"setStatus",value:function(e,t){this.setup(e,t),this.behaviours.get(e).next(t)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Hb({token:e,factory:e.\u0275fac}),e}(),m=function(){var e=function(){function e(){_classCallCheck(this,e),this.modified=new a.a}return _createClass(e,[{key:"useStore",value:function(t){if("string"==typeof t)switch(t.toLowerCase()){case"session":return e.SESSION;case"local":return e.LOCAL;default:throw new Error("Unknown storage medium "+t)}return t}},{key:"getAny",value:function(e,t,n){var r=this.useStore(e).getItem(t);return null!=r?JSON.parse(r):n}},{key:"getString",value:function(e,t,n){var r=this.getAny(e,t,n);return c.CommonsType.attemptString(r)}},{key:"getNumber",value:function(e,t,n){var r=this.getAny(e,t,n);return c.CommonsType.attemptNumber(r)}},{key:"getBoolean",value:function(e,t,n){var r=this.getAny(e,t,n);return c.CommonsType.attemptBoolean(r)}},{key:"delete",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];this.useStore(e).removeItem(t),n||this.modified.next({key:t,value:void 0})}},{key:"setAny",value:function(e,t,n){this.useStore(e).setItem(t,JSON.stringify(n)),this.modified.next({key:t,value:n})}},{key:"setString",value:function(e,t,n){this.setAny(e,t,n)}},{key:"setNumber",value:function(e,t,n){this.setAny(e,t,n)}},{key:"setBoolean",value:function(e,t,n){this.setAny(e,t,n)}},{key:"observable",value:function(){return this.modified.asObservable()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Hb({token:e,factory:e.\u0275fac}),e.SESSION=sessionStorage,e.LOCAL=localStorage,e}(),g=function(){var e=function(){function e(){_classCallCheck(this,e),this.onActiveEmitters=new Map,this.onCompletedEmitters=new Map,this.counts=new Map}return _createClass(e,[{key:"setup",value:function(e){this.onActiveEmitters.has(e)||(this.onActiveEmitters.set(e,new l.n(!0)),this.onCompletedEmitters.set(e,new l.n(!0)),this.counts.set(e,0))}},{key:"activeObservable",value:function(e){return this.setup(e),this.onActiveEmitters.get(e)}},{key:"completedObservable",value:function(e){return this.setup(e),this.onCompletedEmitters.get(e)}},{key:"increment",value:function(e){var t=this.counts.get(e);t++,this.counts.set(e,t),this.onActiveEmitters.get(e).emit(t)}},{key:"decrement",value:function(e){var t=this.counts.get(e);t>0&&t--,this.counts.set(e,t),this.onActiveEmitters.get(e).emit(t),0===t&&this.onCompletedEmitters.get(e).emit()}},{key:"wrap",value:function(e,t){return Object(r.a)(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r=this;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(this.setup(e),new Promise((function(n,o){r.increment(e),t.then((function(e){n(e)})).catch((function(e){o(e)})).finally((function(){r.decrement(e)}))}))));case 1:case"end":return n.stop()}}),n,this)})))}},{key:"wrapAll",value:function(e,t){return Object(r.a)(this,void 0,void 0,regeneratorRuntime.mark((function n(){var r=this;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.abrupt("return",(this.setup(e),Promise.all(t.map((function(t){return r.wrap(e,t)})))));case 1:case"end":return n.stop()}}),n,this)})))}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=l.Hb({token:e,factory:e.\u0275fac}),e}(),y=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[p,m,g]}}}]),e}();return e.\u0275mod=l.Jb({type:e}),e.\u0275inj=l.Ib({factory:function(t){return new(t||e)},imports:[[h.b]]}),e}()},i5Gp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="abcdefghijklmnopqrstuvwxyz".split(""),o="aeiou".split(""),i=r.filter((function(e){return!o.includes(e)})),a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"ucWords",value:function(e){var t=!1;return e.toString().split("").map((function(e){var n=/^[A-Z]$/i.test(e);try{return!n||t?e:e.toUpperCase()}finally{t=n}})).join("")}},{key:"camelCase",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map((function(e){return e.trim()})).filter((function(e){return""!==e})).map((function(e,n){return 0!==n||t?e.length<2?e.toUpperCase():e.substring(0,1).toUpperCase()+e.substring(1):e.toLowerCase()})).join("")}},{key:"delimeterCase",value:function(e,t){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map((function(e){return e.trim().toLowerCase()})).filter((function(e){return""!==e})).join(t)}},{key:"snakeCase",value:function(t){return e.delimeterCase(t,"_")}},{key:"kebabCase",value:function(t){return e.delimeterCase(t,"-")}},{key:"dashedCase",value:function(t){return e.kebabCase(t)}},{key:"regexEscapeString",value:function(e){return e.replace(/[.]/g,"\\.").replace(/[?]/g,"[?]").replace(/[*]/g,"[*]").replace(/[+]/g,"[+]").replace(/[(]/g,"\\(").replace(/[)]/g,"\\)").replace(/\[/g,"\\[)").replace(/\]/g,"\\]").replace(/[{]/g,"[{]").replace(/[}]/g,"[}]")}},{key:"isAlphabet",value:function(e){return 1===e.length&&r.includes(e.toLowerCase())}},{key:"isVowel",value:function(t){return e.isAlphabet(t)&&o.includes(t.toLowerCase())}},{key:"isConsonant",value:function(t){return e.isAlphabet(t)&&i.includes(t.toLowerCase())}},{key:"regexLike",value:function(t){return"^".concat(e.regexEscapeString(t),"$").replace(/%/g,"(?:.|\\s)*")}},{key:"rtrim",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0",n=t.split("");if(0===n.length)return e;for(;e.length>0&&n.includes(e.substr(e.length-1,1));)e=e.substr(0,e.length-1);return e}},{key:"ltrim",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0",n=t.split("");if(0===n.length)return e;for(;e.length>0&&n.includes(e.substr(0,1));)e=e.substr(1);return e}},{key:"trim",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0";return e.ltrim(e.rtrim(t,n),n)}},{key:"limitLength",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:128,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.length<=t)return e;var r=e.substr(0,t-3);if(!n)return r+"...";for(var o=r;r.length>1;){if(/[^a-zA-Z0-9]/.test(r.slice(-1)))return r.substr(0,r.length-1)+"...";r=r.substr(0,r.length-1)}return o+"..."}},{key:"isCapitalised",value:function(e){return/^[A-Z]+$/.test(e.replace(/[^a-z]/i,""))}},{key:"capitaliseString",value:function(e,t){return t?e.toUpperCase():e}},{key:"pluralise",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(0===t.length)return"";if(1===n)return t;if(0===n)return e.pluralise(t,2,r);var o=e.isCapitalised(t),i=t.charAt(t.length-1);if(!/[a-z]/i.test(i))return"".concat(t).concat(e.capitaliseString("s",o));if(r){if("\n\t\t\t\taccommodation advice alms aluminum ammends\n\t\t\t\tbaggage barracks binoculars bison bourgeois breadfruit\n\t\t\t\tcannon caribou cattle chalk chassis chinos clippers clothes clothing cod concrete corps correspondence crossroads\n\t\t\t\tdeer dice doldrums dozen dungarees\n\t\t\t\teducation eggfruit elk eyeglasses\n\t\t\t\tflour food fruit furniture\n\t\t\t\tgallows glasses goldfish grapefruit greenfly grouse gymnastics\n\t\t\t\thaddock halibut headquarters help homework\n\t\t\t\tides information insignia\n\t\t\t\tjackfruit jeans\n\t\t\t\tkennels knickers knowledge kudos\n\t\t\t\tleggings lego luggage\n\t\t\t\tmeans monkfish moose mullet music\n\t\t\t\tnailclippers news\n\t\t\t\toffspring oxygen\n\t\t\t\tpants passionfruit pike pliers police premises public pyjamas\n\t\t\t\treindeer rendezvous\n\t\t\t\tsalmon scenery scissors series shambles sheep shellfish shorts shrimp smithereens species squid staff starfruit sugar swine\n\t\t\t\ttongs trousers trout tuna tweezers\n\t\t\t\twheat whitebait wood\n\t\t\t\tyou\n\t\t\t".replace(/\s+/," ").split(" ").map((function(t){return e.trim(t)})).filter((function(e){return""!==e})).includes(t.toLowerCase()))return t;switch(t.toLowerCase()){case"cafe":return e.capitaliseString("cafes",o);case"child":return e.capitaliseString("children",o);case"woman":return e.capitaliseString("women",o);case"man":return e.capitaliseString("men",o);case"mouse":return e.capitaliseString("mice",o);case"goose":return e.capitaliseString("geese",o);case"potato":return e.capitaliseString("potatoes",o)}if(/(craft|ies)$/.test(t.toLowerCase()))return t;if(/(ch|x|s|sh)$/i.test(t))return"".concat(t).concat(e.capitaliseString("es",o));var a=/^(.+)(f|fe)$/i.exec(t);if(null!==a)return"".concat(a[1]).concat(e.capitaliseString("ves",o));var s=/^(.+[abcdfghjklmnpqrstvwxyz])y$/i.exec(t);if(null!==s)return"".concat(s[1]).concat(e.capitaliseString("ies",o))}return"".concat(t).concat(e.capitaliseString("s",o))}},{key:"noOrNumber",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0===t){var o=n?"none":"no";return r?e.ucWords(o):o}return t.toString()}},{key:"quantify",value:function(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===t.length)return e.noOrNumber(n,!0,o);var i=e.isCapitalised(t);return e.capitaliseString("".concat(e.noOrNumber(n,!1,o)," ").concat(e.pluralise(t,n,r)),i)}},{key:"isVowelOrY",value:function(t){return e.isVowel(t)||"y"===t.toLowerCase()}},{key:"isConsonantNotY",value:function(t){return e.isConsonant(t)&&"y"!==t.toLowerCase()}},{key:"splitWords",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(t=t.replace("-"," - ")),r||(t=t.replace("'"," ' ")),t.split(/[^-'A-Za-z]/).map((function(t){return e.trim(t)})).filter((function(e){return""!==e}))}},{key:"internalRoughSyllables",value:function(t){for(var n=e.trim(t.toLowerCase()).split(""),r=[],o=!1,i="",a=!0;;){var s=n.shift();if(void 0===s)break;if(e.isAlphabet(s)){var c=e.isVowelOrY(s);if(o&&c)r.push("".concat(r.pop()).concat(s)),o=!0;else if(!o||c)if(c){if(0===n.length&&r.length>0&&!a){r.push("".concat(r.pop()).concat(s));break}r.push("".concat(i).concat(s)),i="",o=!0}else i+=s;else r.push("".concat(r.pop()).concat(s)),o=!1}else i.length>0&&r.push(i),i="",a=!0,o=!1}""!==i&&r.push(i.length>1?i:"".concat(r.pop()).concat(i));for(var u=1;u<r.length;u++)r[u-1].length<2||e.isVowelOrY(r[u].charAt(0))&&e.isConsonantNotY(r[u-1].slice(-1))&&(r[u]="".concat(r[u-1].slice(-1)).concat(r[u]),r[u-1]=r[u-1].slice(0,r[u-1].length-1));return r}},{key:"roughSyllables",value:function(t){var n,r=[],o=_createForOfIteratorHelper(e.splitWords(t));try{for(o.s();!(n=o.n()).done;){var i,a=n.value,s=_createForOfIteratorHelper(e.internalRoughSyllables(a));try{for(s.s();!(i=s.n()).done;){var c=i.value;r.push(c)}}catch(u){s.e(u)}finally{s.f()}}}catch(u){o.e(u)}finally{o.f()}return r}},{key:"splitSentences",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/[.!?]/,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];o&&(t=t.replace(/-{2,}/g,". ")),n.test("\r")||(t=t.replace(/\r/," ")),n.test("\n")||(t=t.replace(/\n/," "));for(var i=e.trim(t).split(""),a=[],s="";;){var c=i.shift();if(void 0===c)break;if(n.test(c)){if(""===s&&a.length>0){a.push("".concat(a.pop()).concat(c));continue}if(""===e.trim(s)){s="";continue}if(!r||!/[-0-9]/.test(s.slice(-1))||0===i.length||!/[0-9]/.test(i[0])){a.push("".concat(e.ltrim(s)).concat(c)),s="";continue}}s+=c}return""!==e.trim(s)&&a.push(e.trim(s)),a}},{key:"fleschKincaidReadingEase",value:function(t){var n=e.splitWords(t),r=e.splitSentences(t),o=e.roughSyllables(t);return 206.835-n.length/r.length*1.015-o.length/n.length*84.6}},{key:"automatedReadabilityIndex",value:function(t){var n,r=e.splitWords(t),o=e.splitSentences(t),i=[],a=_createForOfIteratorHelper(r);try{for(a.s();!(n=a.n()).done;){var s,c=_createForOfIteratorHelper(n.value.split(""));try{for(c.s();!(s=c.n()).done;){var u=s.value;e.isAlphabet(u)&&i.push(u)}}catch(l){c.e(l)}finally{c.f()}}}catch(l){a.e(l)}finally{a.f()}return i.length/r.length*4.71+r.length/o.length*.5-21.43}}]),e}();t.CommonsString=a},iWUv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isTDomain=function(e){return!!r.CommonsType.hasPropertyString(e,"domain")&&!!r.CommonsType.hasPropertyStringOrUndefined(e,"ip")}},is2o:function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("tl0M")),r(n("YQRO")),r(n("7Zlx"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("HDdC"),o=n("quSY");function i(e,t){return new r.a((function(n){var r=new o.a,i=0;return r.add(t.schedule((function(){i!==e.length?(n.next(e[i++]),n.closed||r.add(this.schedule())):n.complete()}))),r}))}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return F})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return w})),n.d(t,"d",(function(){return M})),n.d(t,"e",(function(){return R})),n.d(t,"f",(function(){return _}));var r,o=n("ofXK"),i=n("fXoL"),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"getProperty",value:function(e,t){return e[t]}},{key:"log",value:function(e){window.console&&window.console.log&&window.console.log(e)}},{key:"logGroup",value:function(e){window.console&&window.console.group&&window.console.group(e)}},{key:"logGroupEnd",value:function(){window.console&&window.console.groupEnd&&window.console.groupEnd()}},{key:"onAndCancel",value:function(e,t,n){return e.addEventListener(t,n,!1),function(){e.removeEventListener(t,n,!1)}}},{key:"dispatchEvent",value:function(e,t){e.dispatchEvent(t)}},{key:"remove",value:function(e){return e.parentNode&&e.parentNode.removeChild(e),e}},{key:"getValue",value:function(e){return e.value}},{key:"createElement",value:function(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}},{key:"createHtmlDocument",value:function(){return document.implementation.createHTMLDocument("fakeTitle")}},{key:"getDefaultDocument",value:function(){return document}},{key:"isElementNode",value:function(e){return e.nodeType===Node.ELEMENT_NODE}},{key:"isShadowRoot",value:function(e){return e instanceof DocumentFragment}},{key:"getGlobalEventTarget",value:function(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}},{key:"getHistory",value:function(){return window.history}},{key:"getLocation",value:function(){return window.location}},{key:"getBaseHref",value:function(e){var t,n=s||(s=document.querySelector("base"))?s.getAttribute("href"):null;return null==n?null:(t=n,r||(r=document.createElement("a")),r.setAttribute("href",t),"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname)}},{key:"resetBaseElement",value:function(){s=null}},{key:"getUserAgent",value:function(){return window.navigator.userAgent}},{key:"performanceNow",value:function(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}},{key:"supportsCookies",value:function(){return!0}},{key:"getCookie",value:function(e){return Object(o.s)(document.cookie,e)}}],[{key:"makeCurrent",value:function(){Object(o.t)(new n)}}]),n}(function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"supportsDOMEvents",value:function(){return!0}}]),n}(o.p)),s=null,c=new i.q("TRANSITION_ID"),u=[{provide:i.d,useFactory:function(e,t,n){return function(){n.get(i.e).donePromise.then((function(){var n=Object(o.r)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter((function(t){return t.getAttribute("ng-transition")===e})).forEach((function(e){return n.remove(e)}))}))}},deps:[c,o.c,i.r],multi:!0}],l=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"addToWindow",value:function(e){i.nb.getAngularTestability=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r},i.nb.getAllAngularTestabilities=function(){return e.getAllTestabilities()},i.nb.getAllAngularRootElements=function(){return e.getAllRootElements()},i.nb.frameworkStabilizers||(i.nb.frameworkStabilizers=[]),i.nb.frameworkStabilizers.push((function(e){var t=i.nb.getAllAngularTestabilities(),n=t.length,r=!1,o=function(t){r=r||t,0==--n&&e(r)};t.forEach((function(e){e.whenStable(o)}))}))}},{key:"findTestabilityInTree",value:function(e,t,n){if(null==t)return null;var r=e.getTestability(t);return null!=r?r:n?Object(o.r)().isShadowRoot(t)?this.findTestabilityInTree(e,t.host,!0):this.findTestabilityInTree(e,t.parentElement,!0):null}}],[{key:"init",value:function(){Object(i.V)(new e)}}]),e}(),h=new i.q("EventManagerPlugins"),d=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this._zone=n,this._eventNameToPlugin=new Map,t.forEach((function(e){return e.manager=r})),this._plugins=t.slice().reverse()}return _createClass(e,[{key:"addEventListener",value:function(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}},{key:"addGlobalEventListener",value:function(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}},{key:"getZone",value:function(){return this._zone}},{key:"_findPluginFor",value:function(e){var t=this._eventNameToPlugin.get(e);if(t)return t;for(var n=this._plugins,r=0;r<n.length;r++){var o=n[r];if(o.supports(e))return this._eventNameToPlugin.set(e,o),o}throw new Error("No event manager plugin found for event "+e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Ub(h),i.Ub(i.z))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),f=function(){function e(t){_classCallCheck(this,e),this._doc=t}return _createClass(e,[{key:"addGlobalEventListener",value:function(e,t,n){var r=Object(o.r)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error("Unsupported event target ".concat(r," for event ").concat(t));return this.addEventListener(r,t,n)}}]),e}(),p=function(){var e=function(){function e(){_classCallCheck(this,e),this._stylesSet=new Set}return _createClass(e,[{key:"addStyles",value:function(e){var t=this,n=new Set;e.forEach((function(e){t._stylesSet.has(e)||(t._stylesSet.add(e),n.add(e))})),this.onStylesAdded(n)}},{key:"onStylesAdded",value:function(e){}},{key:"getAllStyles",value:function(){return Array.from(this._stylesSet)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),m=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._hostNodes=new Set,r._styleNodes=new Set,r._hostNodes.add(e.head),r}return _createClass(n,[{key:"_addStylesToHost",value:function(e,t){var n=this;e.forEach((function(e){var r=n._doc.createElement("style");r.textContent=e,n._styleNodes.add(t.appendChild(r))}))}},{key:"addHost",value:function(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}},{key:"removeHost",value:function(e){this._hostNodes.delete(e)}},{key:"onStylesAdded",value:function(e){var t=this;this._hostNodes.forEach((function(n){return t._addStylesToHost(e,n)}))}},{key:"ngOnDestroy",value:function(){this._styleNodes.forEach((function(e){return Object(o.r)().remove(e)}))}}]),n}(p);return e.\u0275fac=function(t){return new(t||e)(i.Ub(o.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),g={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},y=/%COMP%/g;function b(e,t,n){for(var r=0;r<t.length;r++){var o=t[r];Array.isArray(o)?b(e,o,n):(o=o.replace(y,e),n.push(o))}return n}function v(e){return function(t){if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}var _=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.eventManager=t,this.sharedStylesHost=n,this.appId=r,this.rendererByCompId=new Map,this.defaultRenderer=new C(t)}return _createClass(e,[{key:"createRenderer",value:function(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case i.O.Emulated:var n=this.rendererByCompId.get(t.id);return n||(n=new O(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n;case i.O.Native:case i.O.ShadowDom:return new k(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){var r=b(t.id,t.styles,[]);this.sharedStylesHost.addStyles(r),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}},{key:"begin",value:function(){}},{key:"end",value:function(){}}]),e}();return e.\u0275fac=function(t){return new(t||e)(i.Ub(d),i.Ub(m),i.Ub(i.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),C=function(){function e(t){_classCallCheck(this,e),this.eventManager=t,this.data=Object.create(null)}return _createClass(e,[{key:"destroy",value:function(){}},{key:"createElement",value:function(e,t){return t?document.createElementNS(g[t]||t,e):document.createElement(e)}},{key:"createComment",value:function(e){return document.createComment(e)}},{key:"createText",value:function(e){return document.createTextNode(e)}},{key:"appendChild",value:function(e,t){e.appendChild(t)}},{key:"insertBefore",value:function(e,t,n){e&&e.insertBefore(t,n)}},{key:"removeChild",value:function(e,t){e&&e.removeChild(t)}},{key:"selectRootElement",value:function(e,t){var n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error('The selector "'.concat(e,'" did not match any elements'));return t||(n.textContent=""),n}},{key:"parentNode",value:function(e){return e.parentNode}},{key:"nextSibling",value:function(e){return e.nextSibling}},{key:"setAttribute",value:function(e,t,n,r){if(r){t=r+":"+t;var o=g[r];o?e.setAttributeNS(o,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}},{key:"removeAttribute",value:function(e,t,n){if(n){var r=g[n];r?e.removeAttributeNS(r,t):e.removeAttribute("".concat(n,":").concat(t))}else e.removeAttribute(t)}},{key:"addClass",value:function(e,t){e.classList.add(t)}},{key:"removeClass",value:function(e,t){e.classList.remove(t)}},{key:"setStyle",value:function(e,t,n,r){r&i.F.DashCase?e.style.setProperty(t,n,r&i.F.Important?"important":""):e.style[t]=n}},{key:"removeStyle",value:function(e,t,n){n&i.F.DashCase?e.style.removeProperty(t):e.style[t]=""}},{key:"setProperty",value:function(e,t,n){e[t]=n}},{key:"setValue",value:function(e,t){e.nodeValue=t}},{key:"listen",value:function(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,v(n)):this.eventManager.addEventListener(e,t,v(n))}}]),e}(),O=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;_classCallCheck(this,n),(a=t.call(this,e)).component=o;var s,c=b(i+"-"+o.id,o.styles,[]);return r.addStyles(c),a.contentAttr="_ngcontent-%COMP%".replace(y,i+"-"+o.id),a.hostAttr=(s=i+"-"+o.id,"_nghost-%COMP%".replace(y,s)),a}return _createClass(n,[{key:"applyToHost",value:function(e){_get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,e,this.hostAttr,"")}},{key:"createElement",value:function(e,t){var r=_get(_getPrototypeOf(n.prototype),"createElement",this).call(this,e,t);return _get(_getPrototypeOf(n.prototype),"setAttribute",this).call(this,r,this.contentAttr,""),r}}]),n}(C),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,a){var s;_classCallCheck(this,n),(s=t.call(this,e)).sharedStylesHost=r,s.hostEl=o,s.component=a,s.shadowRoot=a.encapsulation===i.O.ShadowDom?o.attachShadow({mode:"open"}):o.createShadowRoot(),s.sharedStylesHost.addHost(s.shadowRoot);for(var c=b(a.id,a.styles,[]),u=0;u<c.length;u++){var l=document.createElement("style");l.textContent=c[u],s.shadowRoot.appendChild(l)}return s}return _createClass(n,[{key:"nodeOrShadowRoot",value:function(e){return e===this.hostEl?this.shadowRoot:e}},{key:"destroy",value:function(){this.sharedStylesHost.removeHost(this.shadowRoot)}},{key:"appendChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"appendChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"insertBefore",value:function(e,t,r){return _get(_getPrototypeOf(n.prototype),"insertBefore",this).call(this,this.nodeOrShadowRoot(e),t,r)}},{key:"removeChild",value:function(e,t){return _get(_getPrototypeOf(n.prototype),"removeChild",this).call(this,this.nodeOrShadowRoot(e),t)}},{key:"parentNode",value:function(e){return this.nodeOrShadowRoot(_get(_getPrototypeOf(n.prototype),"parentNode",this).call(this,this.nodeOrShadowRoot(e)))}}]),n}(C),P=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return!0}},{key:"addEventListener",value:function(e,t,n){var r=this;return e.addEventListener(t,n,!1),function(){return r.removeEventListener(e,t,n)}}},{key:"removeEventListener",value:function(e,t,n){return e.removeEventListener(t,n)}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(i.Ub(o.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),w=new i.q("HammerGestureConfig"),M=function(){var e=function(){function e(){_classCallCheck(this,e),this.events=[],this.overrides={}}return _createClass(e,[{key:"buildHammer",value:function(e){var t=new Hammer(e,this.options);for(var n in t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0}),this.overrides)t.get(n).set(this.overrides[n]);return t}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),E=["alt","control","meta","shift"],S={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},T={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},x={alt:function(e){return e.altKey},control:function(e){return e.ctrlKey},meta:function(e){return e.metaKey},shift:function(e){return e.shiftKey}},A=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){return _classCallCheck(this,n),t.call(this,e)}return _createClass(n,[{key:"supports",value:function(e){return null!=n.parseEventName(e)}},{key:"addEventListener",value:function(e,t,r){var i=n.parseEventName(t),a=n.eventCallback(i.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular((function(){return Object(o.r)().onAndCancel(e,i.domEventName,a)}))}}],[{key:"parseEventName",value:function(e){var t=e.toLowerCase().split("."),r=t.shift();if(0===t.length||"keydown"!==r&&"keyup"!==r)return null;var o=n._normalizeKey(t.pop()),i="";if(E.forEach((function(e){var n=t.indexOf(e);n>-1&&(t.splice(n,1),i+=e+".")})),i+=o,0!=t.length||0===o.length)return null;var a={};return a.domEventName=r,a.fullKey=i,a}},{key:"getEventFullKey",value:function(e){var t="",n=function(e){var t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&T.hasOwnProperty(t)&&(t=T[t]))}return S[t]||t}(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),E.forEach((function(r){r!=n&&(0,x[r])(e)&&(t+=r+".")})),t+=n}},{key:"eventCallback",value:function(e,t,r){return function(o){n.getEventFullKey(o)===e&&r.runGuarded((function(){return t(o)}))}}},{key:"_normalizeKey",value:function(e){switch(e){case"esc":return"escape";default:return e}}}]),n}(f);return e.\u0275fac=function(t){return new(t||e)(i.Ub(o.c))},e.\u0275prov=i.Hb({token:e,factory:e.\u0275fac}),e}(),I=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(i.Hb)({factory:function(){return Object(i.Ub)(D)},token:e,providedIn:"root"}),e}();function j(e){return new D(e.get(o.c))}var D=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r}return _createClass(n,[{key:"sanitize",value:function(e,t){if(null==t)return null;switch(e){case i.H.NONE:return t;case i.H.HTML:return Object(i.cb)(t,"HTML")?Object(i.vb)(t):Object(i.Z)(this._doc,String(t));case i.H.STYLE:return Object(i.cb)(t,"Style")?Object(i.vb)(t):Object(i.ab)(t);case i.H.SCRIPT:if(Object(i.cb)(t,"Script"))return Object(i.vb)(t);throw new Error("unsafe value used in a script context");case i.H.URL:return Object(i.mb)(t),Object(i.cb)(t,"URL")?Object(i.vb)(t):Object(i.bb)(String(t));case i.H.RESOURCE_URL:if(Object(i.cb)(t,"ResourceURL"))return Object(i.vb)(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error("Unexpected SecurityContext ".concat(e," (see http://g.co/ng/security#xss)"))}}},{key:"bypassSecurityTrustHtml",value:function(e){return Object(i.db)(e)}},{key:"bypassSecurityTrustStyle",value:function(e){return Object(i.gb)(e)}},{key:"bypassSecurityTrustScript",value:function(e){return Object(i.fb)(e)}},{key:"bypassSecurityTrustUrl",value:function(e){return Object(i.hb)(e)}},{key:"bypassSecurityTrustResourceUrl",value:function(e){return Object(i.eb)(e)}}]),n}(I);return e.\u0275fac=function(t){return new(t||e)(i.Ub(o.c))},e.\u0275prov=Object(i.Hb)({factory:function(){return j(Object(i.Ub)(i.o))},token:e,providedIn:"root"}),e}(),N=[{provide:i.B,useValue:o.q},{provide:i.C,useValue:function(){a.makeCurrent(),l.init()},multi:!0},{provide:o.c,useFactory:function(){return Object(i.tb)(document),document},deps:[]}],R=Object(i.Q)(i.U,"browser",N),U=[[],{provide:i.X,useValue:"root"},{provide:i.m,useFactory:function(){return new i.m},deps:[]},{provide:h,useClass:P,multi:!0,deps:[o.c,i.z,i.B]},{provide:h,useClass:A,multi:!0,deps:[o.c]},[],{provide:_,useClass:_,deps:[d,m,i.c]},{provide:i.E,useExisting:_},{provide:p,useExisting:m},{provide:m,useClass:m,deps:[o.c]},{provide:i.L,useClass:i.L,deps:[i.z]},{provide:d,useClass:d,deps:[h,i.z]},[]],F=function(){var e=function(){function e(t){if(_classCallCheck(this,e),t)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}return _createClass(e,null,[{key:"withServerTransition",value:function(t){return{ngModule:e,providers:[{provide:i.c,useValue:t.appId},{provide:c,useExisting:i.c},u]}}}]),e}();return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)(i.Ub(e,12))},providers:U,imports:[o.b,i.f]}),e}();"undefined"!=typeof window&&window},"k4C/":function(e,t,n){"use strict";n.d(t,"a",(function(){return ce})),n.d(t,"b",(function(){return se})),n.d(t,"c",(function(){return ne})),n.d(t,"d",(function(){return oe})),n.d(t,"e",(function(){return $})),n.d(t,"f",(function(){return J})),n.d(t,"g",(function(){return X})),n.d(t,"h",(function(){return W})),n.d(t,"i",(function(){return ie})),n.d(t,"j",(function(){return Y})),n.d(t,"k",(function(){return q})),n.d(t,"l",(function(){return le}));var r=n("fXoL"),o=n("ofXK"),i=n("XNiG"),a=n("PqYM"),s=n("hi8z"),c=n("RPfa"),u=n("tyNb"),l=n("R0Ic"),h=n("mrSG"),d=n("FYIv"),f=(n("WB8P"),n("3Pt+")),p=n("tk/3"),m=n("aEx1"),g=n("zCZe"),y=n("jhN1"),b=["*"];function v(e,t){1&e&&(r.Ob(0),r.Qb(1,"span",1),r.zc(2,"(none)"),r.Pb(),r.Nb())}function _(e,t){if(1&e&&(r.Qb(0,"div",3),r.Qb(1,"i",4),r.zc(2),r.Pb(),r.Pb()),2&e){var n=r.cc();r.zb(2),r.Ac(n.icon)}}function C(e,t){if(1&e&&(r.Qb(0,"div",5),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.message)}}function O(e,t){if(1&e){var n=r.Rb();r.Qb(0,"div",6),r.Qb(1,"button",7),r.Yb("click",(function(){return r.qc(n),r.cc().doCancel()})),r.zc(2,"Cancel"),r.Pb(),r.Pb()}}function k(e,t){1&e&&r.Mb(0,"commons-modal-progress",1),2&e&&r.jc("@delayedAnimation",!0)}var P=["commons-dialog",""];function w(e,t){if(1&e){var n=r.Rb();r.Qb(0,"button",6),r.Yb("click",(function(){return r.qc(n),r.cc().onButton.emit("_delete")})),r.Qb(1,"i",7),r.zc(2,"delete"),r.Pb(),r.Pb()}}function M(e,t){if(1&e){var n=r.Rb();r.Qb(0,"button",8),r.Yb("click",(function(){r.qc(n);var e=t.$implicit;return r.cc().onButton.emit(e)})),r.zc(1),r.Pb()}if(2&e){var o=t.$implicit,i=r.cc();r.jc("disabled","OK"===o&&void 0!==i.countdown&&i.countdown>0),r.zb(1),r.Ac("OK"===o&&void 0!==i.countdown&&i.countdown>0?i.countdown:o)}}var E=[[["","title",""]],[["","message",""]]],S=["[title]","[message]"];function T(e,t){if(1&e&&(r.Qb(0,"span",4),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.dialogs[0].message)}}function x(e,t){if(1&e){var n=r.Rb();r.Qb(0,"dialog",1),r.Yb("onButton",(function(e){r.qc(n);var t=r.cc();return t.doButton(t.dialogs[0],e)}))("onClickOff",(function(){r.qc(n);var e=r.cc();return e.doClickOff(e.dialogs[0])})),r.Qb(1,"span",2),r.zc(2),r.Pb(),r.xc(3,T,2,1,"span",3),r.Pb()}if(2&e){var o=r.cc();r.jc("buttons",o.dialogs[0].buttons)("countdown",o.dialogs[0].countdown),r.zb(2),r.Ac(o.dialogs[0].title),r.zb(1),r.jc("ngIf",o.dialogs[0].message)}}function A(e,t){if(1&e){var n=r.Rb();r.Qb(0,"commons-info-line",4),r.Yb("onClose",(function(){return r.qc(n),r.cc().doClose()})),r.zc(1),r.Pb()}if(2&e){var o=r.cc();r.jc("allowClose",o.allowClose),r.zb(1),r.Ac(o.snack.message)}}function I(e,t){if(1&e){var n=r.Rb();r.Qb(0,"commons-info-line",5),r.Yb("onClose",(function(){return r.qc(n),r.cc().doClose()})),r.zc(1),r.Pb()}if(2&e){var o=r.cc();r.jc("allowClose",o.allowClose),r.zb(1),r.Ac(o.snack.message)}}function j(e,t){if(1&e){var n=r.Rb();r.Qb(0,"commons-info-line",6),r.Yb("onClose",(function(){return r.qc(n),r.cc().doClose()})),r.zc(1),r.Pb()}if(2&e){var o=r.cc();r.jc("allowClose",o.allowClose),r.zb(1),r.Ac(o.snack.message)}}var D=["commons-avatar-list-item",""];function N(e,t){if(1&e&&(r.Qb(0,"i",13),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.avatar.icon)}}function R(e,t){if(1&e&&(r.Qb(0,"i",14),r.zc(1),r.Pb()),2&e){var n=r.cc(2);r.zb(1),r.Ac(n.avatar.icon)}}function U(e,t){if(1&e&&r.Mb(0,"i"),2&e){var n=r.cc(2);r.Bb("mdi mdi-"+n.avatar.icon)}}function F(e,t){if(1&e&&(r.Qb(0,"label",8),r.Ob(1,9),r.xc(2,N,2,1,"i",10),r.xc(3,R,2,1,"i",11),r.xc(4,U,1,2,"i",12),r.Nb(),r.Pb()),2&e){var n=r.cc();r.wc("background-color",n.avatar.background)("color",n.avatar.foreground),r.zb(1),r.jc("ngSwitch",n.getIconSet()),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MATERIALDESIGN3),r.zb(1),r.jc("ngSwitchCase",n.EMaterialDesignIcons.MDI)}}function L(e,t){if(1&e&&(r.Qb(0,"label",15),r.zc(1),r.Pb()),2&e){var n=r.cc();r.zb(1),r.Ac(n.avatar.letter)}}function B(e,t){if(1&e&&r.Mb(0,"img",16),2&e){var n=r.cc();r.jc("src",n.avatar.image,r.sc)}}function H(e,t){if(1&e&&r.Mb(0,"label",17),2&e){var n=r.cc();r.wc("background-image",n.getUrl(),r.Eb)}}function z(e,t){1&e&&(r.Qb(0,"label",18),r.Mb(1,"commons-wait-rotate",19),r.Pb()),2&e&&(r.zb(1),r.jc("thickness",4))}var V=[[["","title",""]],[["","label",""]],[["","time",""]]],G=["[title]","[label]","[time]"],K=["commons-avatar-list",""],q=function(){var e={NOTIFICATION:0,ERROR:1,SUCCESS:2};return e[e.NOTIFICATION]="NOTIFICATION",e[e.ERROR]="ERROR",e[e.SUCCESS]="SUCCESS",e}(),Y=function(){var e=function(){function e(t){var n=this;_classCallCheck(this,e),this.location=t,this.titleSubject=new r.n(!0),this.stack=[],this.location.subscribe((function(e){if(0!==n.stack.length)if(n.stack.pop(),0!==n.stack.length){var t=n.stack.pop();t&&n.titleSubject.emit(t)}else console.log("Stack mismatch. Should not occur");else console.log("Tried to move up an empty stack. This should not occur in normal operation.")}))}return _createClass(e,[{key:"titleObservable",value:function(){return this.titleSubject}},{key:"down",value:function(e){this.stack.push(e),this.titleSubject.emit(e)}},{key:"up",value:function(){this.location.back()}},{key:"reset",value:function(){this.stack=[],this.titleSubject.emit(null)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.f))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),Q=function(){var e=function(){function e(){_classCallCheck(this,e),this.subject=new i.a}return _createClass(e,[{key:"observable",value:function(){return this.subject.asObservable()}},{key:"ok",value:function(t,n,r){this.subject.next(e.generate(t,n,["OK"],(function(e){return r()}),(function(){return r()})))}},{key:"cancel",value:function(t,n,r){this.subject.next(e.generate(t,n,["Cancel"],(function(e){return r()}),(function(){return r()})))}},{key:"confirm",value:function(t,n,r,o,i){this.subject.next(e.generate(t,n,["Cancel","OK"],(function(e){"OK"===e&&r(),"Cancel"===e&&o()}),(function(){return o()}),i))}},{key:"yesno",value:function(t,n,r,o){this.subject.next(e.generate(t,n,["No","Yes"],(function(e){"Yes"===e&&r(),"No"===e&&o()})))}}],[{key:"generate",value:function(e,t,n,r,o,i){return{title:e,message:t,buttons:n,countdown:i,callback:r,clickOff:o}}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),W=function(){var e=function(){function e(){_classCallCheck(this,e),this.showEmitter=new r.n(!0),this.hideEmitter=new r.n(!0),this.suppress=new Map}return _createClass(e,[{key:"show",value:function(e){this.showEmitter.emit(e)}},{key:"hide",value:function(e){this.suppress.get(e)||this.hideEmitter.emit(e)}},{key:"showObservable",value:function(){return this.showEmitter}},{key:"hideObservable",value:function(){return this.hideEmitter}},{key:"suppressBriefly",value:function(e){var t=this;this.suppress.set(e,!0),setTimeout((function(){t.suppress.set(e,!1)}),200)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),X=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return n}(s.a);return e.\u0275fac=function(t){return Z(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-menu"]],features:[r.wb],ngContentSelectors:b,decls:2,vars:0,template:function(e,t){1&e&&(r.ic(),r.Qb(0,"ul"),r.hc(1),r.Pb())},styles:["@charset 'utf8';[_nghost-%COMP%]{z-index:500}ul[_ngcontent-%COMP%]{display:block;box-sizing:border-box;list-style:none;margin:0;padding:0}"]}),e}(),Z=r.Sb(X),$=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).menuService=r,o}return _createClass(n,[{key:"closeOverflowA",value:function(){this.menuService.suppressBriefly(this.name)}},{key:"closeOverflowB",value:function(){this.menuService.hide(this.name)}},{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.menuService.suppressBriefly(this.name)}}]),n}(c.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(c.g),r.Lb(W))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-inline-menu"]],hostBindings:function(e,t){1&e&&r.Yb("click",(function(){return t.closeOverflowA()}))("click",(function(){return t.closeOverflowB()}),!1,r.pc)},inputs:{name:"name"},features:[r.wb],ngContentSelectors:b,decls:3,vars:0,template:function(e,t){1&e&&(r.ic(),r.Qb(0,"menu"),r.Qb(1,"commons-menu"),r.hc(2),r.Pb(),r.Pb())},directives:[X],styles:["@charset 'utf8';menu[_ngcontent-%COMP%]{border:0;border-radius:2px;z-index:4000;padding:10px 0;margin:4px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5);background-color:#fff}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5);background-color:#000}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(222,222,222,.5);background-color:#212121}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(33,33,33,.5);background-color:#dedede}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5);background-color:#fff}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5);background-color:#000}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5);background-color:#fff}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5);background-color:#000}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:.7px 1px 5px -.3px rgba(0,0,0,.5);background-color:#fff}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] menu[_ngcontent-%COMP%]{box-shadow:-.7px -1px 5px -.3px rgba(255,255,255,.5);background-color:#000}.overflow[_nghost-%COMP%] menu[_ngcontent-%COMP%]{position:fixed;top:5px;right:5px}.selector[_nghost-%COMP%] menu[_ngcontent-%COMP%]{width:100%;box-shadow:none;border-radius:0;margin:0}"]}),e}(),J=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).menuService=r,o}return _createClass(n,[{key:"doClose",value:function(){this.autoclose&&this.menuService.hide(this.menu)}},{key:"close",value:function(){this.menuService.hide(this.menu)}}]),n}(c.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(c.g),r.Lb(W))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-inline-menu-item"]],hostBindings:function(e,t){1&e&&r.Yb("click",(function(){return t.doClose()}))},inputs:{autoclose:"autoclose",menu:"menu",none:"none"},features:[r.wb],ngContentSelectors:b,decls:3,vars:1,consts:[[4,"ngIf"],[1,"none"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"li"),r.hc(1),r.xc(2,v,3,0,"ng-container",0),r.Pb()),2&e&&(r.zb(2),r.jc("ngIf",t.none))},directives:[o.j],styles:["@charset 'utf8';li[_ngcontent-%COMP%]{display:block;box-sizing:border-box;width:100%;padding:10px 16px;height:40px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;text-decoration:none;font-family:Roboto;font-size:16px;font-weight:400;line-height:16px}li[_ngcontent-%COMP%] [disabled][_ngcontent-%COMP%]{cursor:inherit}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-blue[_nghost-%COMP%] li[disabled][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] li[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#dedede}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#212121}body.webappcommons-theme-darkred[_nghost-%COMP%] li[disabled][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] li[disabled][_ngcontent-%COMP%]{color:#4e4e4e}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-nightoil[_nghost-%COMP%] li[disabled][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] li[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] li[disabled][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] li[disabled][_ngcontent-%COMP%]{color:#c2c2c2}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#000}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] li[disabled][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] li[disabled][_ngcontent-%COMP%]{color:#c2c2c2}li[_ngcontent-%COMP%] i{display:block;float:left;width:40px;font-size:24px;line-height:24px;position:relative;top:-4px}li[_ngcontent-%COMP%] i.filler{height:40px}li[_ngcontent-%COMP%] a{text-decoration:none;font-family:Roboto;font-size:16px;font-weight:400;line-height:16px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#000}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#fff}body.webappcommons-theme-blue[_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%]{color:#bfbfbf}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#dedede}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#212121}body.webappcommons-theme-darkred[_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%]{color:#505050}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#000}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#fff}body.webappcommons-theme-nightoil[_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%]{color:#bfbfbf}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#000}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%]{color:#bfbfbf}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#000}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a, body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] li[_ngcontent-%COMP%] a{color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] li[_ngcontent-%COMP%] span.none[_ngcontent-%COMP%]{color:#bfbfbf}"]}),e}(),ee=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).cancel=!1,e.onCancel=new r.n,e}return _createClass(n,[{key:"doCancel",value:function(){this.onCancel.emit()}}]),n}(s.a);return e.\u0275fac=function(t){return te(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-modal-progress"]],inputs:{cancel:"cancel",message:"message",icon:"icon",rainbow:"rainbow"},outputs:{onCancel:"onCancel"},features:[r.wb],decls:5,vars:5,consts:[["class","icon",4,"ngIf"],["class","message",4,"ngIf"],["class","cancel",4,"ngIf"],[1,"icon"],[1,"material-icons"],[1,"message"],[1,"cancel"],["commons-button","",1,"raised",3,"click"]],template:function(e,t){1&e&&(r.Qb(0,"aside"),r.xc(1,_,3,1,"div",0),r.Mb(2,"commons-wait-rotate"),r.xc(3,C,2,1,"div",1),r.xc(4,O,3,0,"div",2),r.Pb()),2&e&&(r.zb(1),r.jc("ngIf",t.icon),r.zb(1),r.Cb("rainbow",t.rainbow),r.zb(1),r.jc("ngIf",t.message),r.zb(1),r.jc("ngIf",t.cancel))},directives:[o.j,m.a,c.b],styles:["@charset 'utf8';aside[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;margin:0;padding:0;z-index:2000}body.webappcommons-theme-blue[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-darkred[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(222,222,222,.5)}body.webappcommons-theme-nightoil[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-purple[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-hydra[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}[full][_nghost-%COMP%] aside[_ngcontent-%COMP%]{z-index:5000}commons-wait-rotate[_ngcontent-%COMP%]{position:fixed;top:calc(50vh - 60px);left:calc(50vw - 60px);width:120px;height:120px}div.icon[_ngcontent-%COMP%]{position:fixed;top:calc(50vh - 17px);left:0;width:100%;text-align:center}body.webappcommons-theme-blue[_nghost-%COMP%] div.icon[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] div.icon[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] div.icon[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] div.icon[_ngcontent-%COMP%]{color:#212121}body.webappcommons-theme-nightoil[_nghost-%COMP%] div.icon[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] div.icon[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] div.icon[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] div.icon[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] div.icon[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] div.icon[_ngcontent-%COMP%]{color:#fff}div.icon[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{font-size:34px;line-height:34px}div.message[_ngcontent-%COMP%]{position:fixed;top:calc(50vh + 20vmin);left:0;width:100%;text-align:center;font-family:Roboto;font-weight:400;font-size:34px;line-height:34px}body.webappcommons-theme-blue[_nghost-%COMP%] div.message[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] div.message[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] div.message[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] div.message[_ngcontent-%COMP%]{color:#212121}body.webappcommons-theme-nightoil[_nghost-%COMP%] div.message[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] div.message[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] div.message[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] div.message[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] div.message[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] div.message[_ngcontent-%COMP%]{color:#fff}div.cancel[_ngcontent-%COMP%]{position:fixed;top:calc(50vh + 20vmin + 34px + 20px);left:0;width:100%;text-align:center;font-family:Roboto;font-weight:400;font-size:34px;line-height:34px}body.webappcommons-theme-blue[_nghost-%COMP%] div.cancel[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] div.cancel[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] div.cancel[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] div.cancel[_ngcontent-%COMP%]{color:#212121}body.webappcommons-theme-nightoil[_nghost-%COMP%] div.cancel[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] div.cancel[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] div.cancel[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] div.cancel[_ngcontent-%COMP%]{color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] div.cancel[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] div.cancel[_ngcontent-%COMP%]{color:#fff}"]}),e}(),te=r.Sb(ee),ne=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).router=e,o.delayedService=r,o.routing=!1,o.delayed=!1,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.router.events,(function(t){t instanceof u.e&&(e.routing=!0),(t instanceof u.c||t instanceof u.b||t instanceof u.d)&&(e.routing=!1)})),this.subscribe(this.delayedService.delayedObservable(),(function(t){e.delayed=t}))}}]),n}(s.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(u.f),r.Lb(g.b))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-delayed"]],features:[r.wb],decls:1,vars:1,consts:[["full","",4,"ngIf"],["full",""]],template:function(e,t){1&e&&r.xc(0,k,1,1,"commons-modal-progress",0),2&e&&r.jc("ngIf",t.delayed||t.routing)},directives:[o.j,ee],styles:["@charset 'utf8';"],data:{animation:[Object(l.j)("delayedAnimation",[Object(l.i)("void => *",[Object(l.h)({opacity:0}),Object(l.e)("100ms",Object(l.h)({opacity:1}))]),Object(l.i)("* => void",[Object(l.h)({opacity:1}),Object(l.e)("100ms",Object(l.h)({opacity:0}))])])]}}),e}(),re=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var o;return _classCallCheck(this,n),(o=t.call(this,e)).onButton=new r.n,o.onClickOff=new r.n,o}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.setInterval(1e3,1e3,d.ECommonsInvocation.FIXED,(function(){return Object(h.a)(e,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==this.countdown&&this.countdown>0&&this.countdown--;case 1:case"end":return e.stop()}}),e,this)})))}))}},{key:"doClickOff",value:function(){this.onClickOff.emit()}},{key:"hasDelete",value:function(){return-1!==this.buttons.indexOf("_delete")}},{key:"listPrunedButtons",value:function(){return this.buttons.filter((function(e){return"_delete"!==e}))}}]),n}(c.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(c.g))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-dialog",""]],inputs:{buttons:"buttons",countdown:"countdown"},outputs:{onButton:"onButton",onClickOff:"onClickOff"},features:[r.wb],attrs:P,ngContentSelectors:S,decls:10,vars:2,consts:[[3,"click"],["open",""],["title",""],["buttons",""],["commons-button","","class","icon small",3,"click",4,"ngIf"],["commons-button","",3,"disabled","click",4,"ngFor","ngForOf"],["commons-button","",1,"icon","small",3,"click"],[1,"material-icons"],["commons-button","",3,"disabled","click"]],template:function(e,t){1&e&&(r.ic(E),r.Qb(0,"aside",0),r.Yb("click",(function(){return t.doClickOff()})),r.Pb(),r.Qb(1,"dialog",1),r.Qb(2,"div",2),r.Qb(3,"h4"),r.hc(4),r.Pb(),r.Pb(),r.Qb(5,"p"),r.hc(6,1),r.Pb(),r.Qb(7,"div",3),r.xc(8,w,3,0,"button",4),r.xc(9,M,2,2,"button",5),r.Pb(),r.Pb()),2&e&&(r.zb(8),r.jc("ngIf",t.hasDelete()),r.zb(1),r.jc("ngForOf",t.listPrunedButtons()))},directives:[o.j,o.i,c.b],styles:["@charset 'utf8';[_nghost-%COMP%]{position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;border:0;margin:0;padding:0;background-color:transparent;z-index:4000}aside[_ngcontent-%COMP%]{display:block;position:fixed;top:0;left:0;right:0;bottom:0;width:100vw;height:100vh;border:0;margin:0;padding:0;z-index:4000}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(222,222,222,.5)}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(33,33,33,.5)}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(0,0,0,.5)}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] aside[_ngcontent-%COMP%]{background-color:rgba(255,255,255,.5)}dialog[_ngcontent-%COMP%]{display:block;position:absolute;top:25%;left:25%;width:50vw;height:50vh;border:0;margin:0;padding:0;z-index:4000}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#212121;color:#b8b8b8}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#dedede;color:#474747}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#000;color:#ccc}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#fff;color:#333}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{background-color:#000;color:#ccc}@media only screen and (max-width:450px){dialog[_ngcontent-%COMP%]{width:280px;left:calc(50% - 140px)}}@media only screen and (max-height:450px){dialog[_ngcontent-%COMP%]{height:280px;top:calc(50% - 140px)}}dialog[_ngcontent-%COMP%]::-webkit-backdrop{display:none}dialog[_ngcontent-%COMP%]::backdrop{display:none}.primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{height:70px}body.webappcommons-theme-blue[_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-nightoil[_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] .primaryTitle[_nghost-%COMP%] div[title][_ngcontent-%COMP%]{background-color:#54637a;color:#fff}.timePicker[_nghost-%COMP%] dialog[_ngcontent-%COMP%]{top:calc(50% - 187.5px);left:calc(50% - 140px);width:280px;height:375px}h4[_ngcontent-%COMP%], p[_ngcontent-%COMP%]{position:absolute;left:0;right:0;padding:0;font-family:Roboto}h4[_ngcontent-%COMP%]{top:0;margin:30px 20px;font-size:20px;font-weight:500;line-height:20px}p[_ngcontent-%COMP%]{position:absolute;top:75px;margin:0 20px;font-size:14px;font-weight:400;line-height:21px}div[buttons][_ngcontent-%COMP%]{position:absolute;bottom:20px;right:10px;height:36px}div[buttons][_ngcontent-%COMP%] button.icon[_ngcontent-%COMP%]{position:relative;top:5px}"]}),e}(),oe=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).dialogService=e,r.dialogs=[],r}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.subscribe(this.dialogService.observable(),(function(t){e.dialogs.push(t)}))}},{key:"doButton",value:function(e,t){this.dialogs.splice(this.dialogs.indexOf(e),1),e.callback(t)}},{key:"doClickOff",value:function(e){e.clickOff&&(this.dialogs.splice(this.dialogs.indexOf(e),1),e.clickOff())}}]),n}(s.a);return e.\u0275fac=function(t){return new(t||e)(r.Lb(Q))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-dialogs"]],features:[r.wb],decls:1,vars:1,consts:[["commons-dialog","","open","","full","",3,"buttons","countdown","onButton","onClickOff",4,"ngIf"],["commons-dialog","","open","","full","",3,"buttons","countdown","onButton","onClickOff"],["title",""],["message","",4,"ngIf"],["message",""]],template:function(e,t){1&e&&r.xc(0,x,4,4,"dialog",0),2&e&&r.jc("ngIf",t.dialogs.length)},directives:[o.j,re],styles:["@charset 'utf8';"]}),e}(),ie=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).allowClose=!0,e.onClose=new r.n,e}return _createClass(n,[{key:"ngOnInit",value:function(){var e=this;_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this),this.timeout&&this.subscribe(Object(a.a)(this.timeout),(function(){return e.doClose()}))}},{key:"isError",value:function(){return this.snack&&this.snack.type===q.ERROR}},{key:"isSuccess",value:function(){return this.snack&&this.snack.type===q.SUCCESS}},{key:"isNotification",value:function(){return this.snack&&this.snack.type===q.NOTIFICATION}},{key:"doClose",value:function(){this.onClose.emit()}}]),n}(s.a);return e.\u0275fac=function(t){return ae(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-snack"]],inputs:{allowClose:"allowClose",timeout:"timeout",snack:"snack",index:"index"},outputs:{onClose:"onClose"},features:[r.wb],decls:4,vars:4,consts:[[3,"ngClass"],["error","","class","compact",3,"allowClose","onClose",4,"ngIf"],["success","","class","compact",3,"allowClose","onClose",4,"ngIf"],["notification","","class","compact",3,"allowClose","onClose",4,"ngIf"],["error","",1,"compact",3,"allowClose","onClose"],["success","",1,"compact",3,"allowClose","onClose"],["notification","",1,"compact",3,"allowClose","onClose"]],template:function(e,t){1&e&&(r.Qb(0,"aside",0),r.xc(1,A,2,2,"commons-info-line",1),r.xc(2,I,2,2,"commons-info-line",2),r.xc(3,j,2,2,"commons-info-line",3),r.Pb()),2&e&&(r.jc("ngClass","snack"+t.index),r.zb(1),r.jc("ngIf",t.isError()),r.zb(1),r.jc("ngIf",t.isSuccess()),r.zb(1),r.jc("ngIf",t.isNotification()))},directives:[o.h,o.j,c.c],styles:["@charset 'utf8';aside[_ngcontent-%COMP%]{position:relative;left:10%;display:block;width:80%;height:50px;box-sizing:border-box;margin-top:5px}"]}),e}(),ae=r.Sb(ie),se=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o){var i;return _classCallCheck(this,n),(i=t.call(this,o)).sanitized=e,i.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG=!0,i.EMaterialDesignIcons=c.i,i.onSelect=new r.n,i}return _createClass(n,[{key:"doSelect",value:function(){this.onSelect.emit()}},{key:"getIconSet",value:function(){return this.avatar.iconSet||c.i.MATERIALDESIGN}},{key:"getUrl",value:function(){return this.sanitized.bypassSecurityTrustStyle("url('".concat(this.avatar.image,"')"))}}]),n}(c.f);return e.\u0275fac=function(t){return new(t||e)(r.Lb(y.b),r.Lb(c.g))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-avatar-list-item",""]],inputs:{avatar:"avatar"},outputs:{onSelect:"onSelect"},features:[r.wb],attrs:D,ngContentSelectors:G,decls:14,vars:5,consts:[["item","",3,"click"],["class","icon",3,"background-color","color",4,"ngIf"],["class","letter",4,"ngIf"],["class","USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG",3,"src",4,"ngIf"],["class","image",3,"background-image",4,"ngIf"],["class","wait-rotate",4,"ngIf"],["details",""],[1,"clear"],[1,"icon"],[3,"ngSwitch"],["class","material-icons",4,"ngSwitchCase"],["class","material-icons-3",4,"ngSwitchCase"],[3,"class",4,"ngSwitchCase"],[1,"material-icons"],[1,"material-icons-3"],[1,"letter"],[1,"USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG",3,"src"],[1,"image"],[1,"wait-rotate"],[3,"thickness"]],template:function(e,t){1&e&&(r.ic(V),r.Qb(0,"section",0),r.Yb("click",(function(){return t.doSelect()})),r.xc(1,F,5,8,"label",1),r.xc(2,L,2,1,"label",2),r.xc(3,B,1,1,"img",3),r.xc(4,H,1,2,"label",4),r.xc(5,z,2,1,"label",5),r.Qb(6,"section",6),r.Qb(7,"p"),r.hc(8),r.Pb(),r.Qb(9,"label"),r.hc(10,1),r.Pb(),r.Qb(11,"time"),r.hc(12,2),r.Pb(),r.Pb(),r.Mb(13,"div",7),r.Pb()),2&e&&(r.zb(1),r.jc("ngIf",t.avatar.icon),r.zb(1),r.jc("ngIf",void 0!==t.avatar.letter),r.zb(1),r.jc("ngIf",t.avatar.image&&t.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG),r.zb(1),r.jc("ngIf",t.avatar.image&&!t.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG),r.zb(1),r.jc("ngIf",t.avatar.waitRotate))},directives:[o.j,o.k,o.l,m.a],styles:["@charset 'utf8';[_nghost-%COMP%]{display:block;box-sizing:border-box;width:100%;margin:20px 0;padding:0;list-style:none}.small[_nghost-%COMP%]{margin-top:6px;margin-bottom:6px}.compact[_nghost-%COMP%]{margin-top:0;margin-bottom:0}section[item][_ngcontent-%COMP%]{display:block;box-sizing:border-box;width:100%}section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{float:left;display:block;box-sizing:border-box;width:44px;height:44px;margin:2px 15px 2px 0;border-radius:22px}body.webappcommons-theme-blue[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-blue[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#fff}body.webappcommons-theme-darkred[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-darkred[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#505050;color:#fff}body.webappcommons-theme-nightoil[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-nightoil[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#fff}body.webappcommons-theme-purple[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-purple[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#fff}body.webappcommons-theme-hydra[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], body.webappcommons-theme-hydra[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra [_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#bfbfbf;color:#fff}.small[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%], .small[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:15px;margin:2px 10px 2px 0}section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG.icon[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG.letter[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > label.icon[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > label.letter[_ngcontent-%COMP%]{text-align:center}section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG.icon[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > label.icon[_ngcontent-%COMP%]{padding-top:9px}.small[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG.icon[_ngcontent-%COMP%], .small[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label.icon[_ngcontent-%COMP%]{padding-top:4px}section[item][_ngcontent-%COMP%] > img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG.letter[_ngcontent-%COMP%], section[item][_ngcontent-%COMP%] > label.letter[_ngcontent-%COMP%]{padding-top:5px;font-family:Roboto;font-size:24px;font-weight:400}section[item][_ngcontent-%COMP%] > label.image[_ngcontent-%COMP%]{background-size:cover;background-position:center center;background-repeat:no-repeat}section[item][_ngcontent-%COMP%] img.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG[_ngcontent-%COMP%]{-o-object-fit:cover;object-fit:cover}body.webappcommons-theme-blue.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#bfbfbf;background-color:transparent}body.webappcommons-theme-blue.primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#304ffe;color:#fff}body.webappcommons-theme-blue.primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#304ffe;background-color:transparent}body.webappcommons-theme-blue.secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#ffc107}body.webappcommons-theme-blue.secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#ffc107;background-color:transparent}body.webappcommons-theme-blue.error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-blue.error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e63322;background-color:transparent}body.webappcommons-theme-blue.success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-blue.success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-blue .success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#8bc34a;background-color:transparent}body.webappcommons-theme-darkred.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#505050;background-color:transparent}body.webappcommons-theme-darkred.primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#d50000;color:#fff}body.webappcommons-theme-darkred.primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#d50000;background-color:transparent}body.webappcommons-theme-darkred.secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#ffeb3b}body.webappcommons-theme-darkred.secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#ffeb3b;background-color:transparent}body.webappcommons-theme-darkred.error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-darkred.error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e63322;background-color:transparent}body.webappcommons-theme-darkred.success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-darkred.success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#8bc34a;background-color:transparent}body.webappcommons-theme-nightoil.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#bfbfbf;background-color:transparent}body.webappcommons-theme-nightoil.primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#104e7c;color:#fff}body.webappcommons-theme-nightoil.primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#104e7c;background-color:transparent}body.webappcommons-theme-nightoil.secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e7c385}body.webappcommons-theme-nightoil.secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e7c385;background-color:transparent}body.webappcommons-theme-nightoil.error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-nightoil.error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e63322;background-color:transparent}body.webappcommons-theme-nightoil.success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-nightoil.success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#8bc34a;background-color:transparent}body.webappcommons-theme-purple.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#bfbfbf;background-color:transparent}body.webappcommons-theme-purple.primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#609;color:#fff}body.webappcommons-theme-purple.primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#609;background-color:transparent}body.webappcommons-theme-purple.secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#fc3}body.webappcommons-theme-purple.secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#fc3;background-color:transparent}body.webappcommons-theme-purple.error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-purple.error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e63322;background-color:transparent}body.webappcommons-theme-purple.success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-purple.success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-purple .success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#8bc34a;background-color:transparent}body.webappcommons-theme-hydra.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#bfbfbf;background-color:transparent}body.webappcommons-theme-hydra.primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .primary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#54637a;color:#fff}body.webappcommons-theme-hydra.primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .primary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#54637a;background-color:transparent}body.webappcommons-theme-hydra.secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .secondary[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#fdd835}body.webappcommons-theme-hydra.secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .secondary.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#fdd835;background-color:transparent}body.webappcommons-theme-hydra.error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .error[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#e63322;color:#fff}body.webappcommons-theme-hydra.error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .error.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#e63322;background-color:transparent}body.webappcommons-theme-hydra.success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .success[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{background-color:#8bc34a;color:#000}body.webappcommons-theme-hydra.success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .success.inverted[_nghost-%COMP%] section[item][_ngcontent-%COMP%] > label[_ngcontent-%COMP%]{color:#8bc34a;background-color:transparent}section[details][_ngcontent-%COMP%]{width:calc(100% - (15px + 2px + 44px));float:left}.small[_nghost-%COMP%] section[details][_ngcontent-%COMP%]{width:calc(100% - (10px + 2px + 30px))}section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin:0;padding:0;font-family:Roboto;font-size:20px;line-height:30px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.small[_nghost-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:21px;font-weight:400}section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{display:inline-block;font-family:Roboto;font-size:12px;line-height:12px;font-weight:400;height:14.04px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.singular[_nghost-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], .singular[_nghost-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{display:none;height:0}section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%]{max-width:calc(100%);margin-right:1em}div.clear[_ngcontent-%COMP%]{clear:both}.singular[_nghost-%COMP%] label[_ngcontent-%COMP%], .singular[_nghost-%COMP%] time[_ngcontent-%COMP%]{display:none}.singular[_nghost-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:7px}.small[_nghost-%COMP%] .singular[_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-top:11.5px}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-blue.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-blue .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#b8b8b8}body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#6d6d6d}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#474747}body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-darkred.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-darkred .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#929292}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-nightoil.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-nightoil .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-purple.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-purple .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#666}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#333}body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra.theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-light[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#999}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#ccc}body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] label[_ngcontent-%COMP%], body.webappcommons-theme-hydra.theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%], body.webappcommons-theme-hydra .theme-dark[_nghost-%COMP%] section[item][_ngcontent-%COMP%] section[details][_ngcontent-%COMP%] time[_ngcontent-%COMP%]{color:#666}section[item][_ngcontent-%COMP%] > label.wait-rotate[_ngcontent-%COMP%]{background-color:transparent!important}"]}),e}(),ce=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).title="",e.noTopGap=!1,e.noBottomGap=!1,e.biggerTopGap=!1,e}return n}(s.a);return e.\u0275fac=function(t){return ue(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-avatar-list",""]],inputs:{title:"title",noTopGap:"noTopGap",noBottomGap:"noBottomGap",biggerTopGap:"biggerTopGap"},features:[r.wb],attrs:K,ngContentSelectors:b,decls:2,vars:7,consts:[[3,"title"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"commons-pane",0),r.hc(1),r.Pb()),2&e&&(r.Cb("no-top-gap",t.noTopGap)("bigger-top-gap",t.biggerTopGap)("no-bottom-gap",t.noBottomGap),r.jc("title",t.title))},directives:[c.d],styles:["@charset 'utf8';[_nghost-%COMP%]{margin:0;padding:0}.bigger-top-gap[_nghost-%COMP%]{margin-top:15px}"]}),e}(),ue=r.Sb(ce),le=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[Y,Q,W]}}}]),e}();return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[o.b,f.b,p.b,c.j,m.b]]}),e}()},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r="function"==typeof Symbol&&Symbol.observable||"@@observable"},kSER:function(e,t){e.exports=function(e,t){for(var n=[],r=(t=t||0)||0;r<e.length;r++)n[r-t]=e[r];return n}},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"notifyNext",value:function(e,t,n,r,o){this.destination.next(t)}},{key:"notifyError",value:function(e,t){this.destination.error(e)}},{key:"notifyComplete",value:function(e){this.destination.complete()}}]),n}(n("7o/Q").a)},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");function o(e,t){return function(n){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return n.lift(new i(e,t))}}var i=function(){function e(t,n){_classCallCheck(this,e),this.project=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.project,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).project=r,i.count=0,i.thisArg=o||_assertThisInitialized(i),i}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(r.a)},lKxJ:function(e,t,n){e.exports=n("2pII"),e.exports.parser=n("Wm4p")},mCNh:function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"b",(function(){return i}));var r=n("KqfI");function o(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return i(t)}function i(e){return e?1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}:r.a}},mrSG:function(e,t,n){"use strict";function r(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,s)}c((r=r.apply(e,t||[])).next())}))}n.d(t,"a",(function(){return r}))},"n/ur":function(e,t,n){"use strict";function r(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),r(n("+2C2")),r(n("uj45"))},n6bG:function(e,t,n){"use strict";function r(e){return"function"==typeof e}n.d(t,"a",(function(){return r}))},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n("7o/Q"),o=n("quSY");function i(e){return function(t){return t.lift(new a(e))}}var a=function(){function e(t){_classCallCheck(this,e),this.callback=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new s(e,this.callback))}}]),e}(),s=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var i;return _classCallCheck(this,n),(i=t.call(this,e)).add(new o.a(r)),i}return n}(r.a)},ncEt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isTOutcome=function(e){return!!r.CommonsType.hasPropertyNumber(e,"index")&&!!r.CommonsType.hasPropertyBoolean(e,"failed")&&!!r.CommonsType.hasPropertyNumberOrUndefined(e,"statusCode")}},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(e){return function(t){for(var n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()}}},"oIG/":function(e,t){var n,r,o,i=String.fromCharCode;function a(e){for(var t,n,r=[],o=0,i=e.length;o<i;)(t=e.charCodeAt(o++))>=55296&&t<=56319&&o<i?56320==(64512&(n=e.charCodeAt(o++)))?r.push(((1023&t)<<10)+(1023&n)+65536):(r.push(t),o--):r.push(t);return r}function s(e,t){if(e>=55296&&e<=57343){if(t)throw Error("Lone surrogate U+"+e.toString(16).toUpperCase()+" is not a scalar value");return!1}return!0}function c(e,t){return i(e>>t&63|128)}function u(e,t){if(0==(4294967168&e))return i(e);var n="";return 0==(4294965248&e)?n=i(e>>6&31|192):0==(4294901760&e)?(s(e,t)||(e=65533),n=i(e>>12&15|224),n+=c(e,6)):0==(4292870144&e)&&(n=i(e>>18&7|240),n+=c(e,12),n+=c(e,6)),n+i(63&e|128)}function l(){if(o>=r)throw Error("Invalid byte index");var e=255&n[o];if(o++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function h(e){var t,i;if(o>r)throw Error("Invalid byte index");if(o==r)return!1;if(t=255&n[o],o++,0==(128&t))return t;if(192==(224&t)){if((i=(31&t)<<6|l())>=128)return i;throw Error("Invalid continuation byte")}if(224==(240&t)){if((i=(15&t)<<12|l()<<6|l())>=2048)return s(i,e)?i:65533;throw Error("Invalid continuation byte")}if(240==(248&t)&&(i=(7&t)<<18|l()<<12|l()<<6|l())>=65536&&i<=1114111)return i;throw Error("Invalid UTF-8 detected")}e.exports={version:"2.1.2",encode:function(e,t){for(var n=!1!==(t=t||{}).strict,r=a(e),o=r.length,i=-1,s="";++i<o;)s+=u(r[i],n);return s},decode:function(e,t){var s=!1!==(t=t||{}).strict;n=a(e),r=n.length,o=0;for(var c,u=[];!1!==(c=h(s));)u.push(c);return function(e){for(var t,n=e.length,r=-1,o="";++r<n;)(t=e[r])>65535&&(o+=i((t-=65536)>>>10&1023|55296),t=56320|1023&t),o+=i(t);return o}(u)}}},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return _})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return O})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return k})),n.d(t,"g",(function(){return b})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return j})),n.d(t,"j",(function(){return N})),n.d(t,"k",(function(){return L})),n.d(t,"l",(function(){return B})),n.d(t,"m",(function(){return C})),n.d(t,"n",(function(){return u})),n.d(t,"o",(function(){return V})),n.d(t,"p",(function(){return s})),n.d(t,"q",(function(){return z})),n.d(t,"r",(function(){return i})),n.d(t,"s",(function(){return x})),n.d(t,"t",(function(){return a}));var r=n("fXoL"),o=null;function i(){return o}function a(e){o||(o=e)}var s=function e(){_classCallCheck(this,e)},c=new r.q("DocumentToken"),u=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Hb)({factory:l,token:e,providedIn:"platform"}),e}();function l(){return Object(r.Ub)(d)}var h=new r.q("Location Initialized"),d=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this))._doc=e,r._init(),r}return _createClass(n,[{key:"_init",value:function(){this.location=i().getLocation(),this._history=i().getHistory()}},{key:"getBaseHrefFromDOM",value:function(){return i().getBaseHref(this._doc)}},{key:"onPopState",value:function(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}},{key:"onHashChange",value:function(e){i().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}},{key:"pushState",value:function(e,t,n){f()?this._history.pushState(e,t,n):this.location.hash=n}},{key:"replaceState",value:function(e,t,n){f()?this._history.replaceState(e,t,n):this.location.hash=n}},{key:"forward",value:function(){this._history.forward()}},{key:"back",value:function(){this._history.back()}},{key:"getState",value:function(){return this._history.state}},{key:"href",get:function(){return this.location.href}},{key:"protocol",get:function(){return this.location.protocol}},{key:"hostname",get:function(){return this.location.hostname}},{key:"port",get:function(){return this.location.port}},{key:"pathname",get:function(){return this.location.pathname},set:function(e){this.location.pathname=e}},{key:"search",get:function(){return this.location.search}},{key:"hash",get:function(){return this.location.hash}}]),n}(u);return e.\u0275fac=function(t){return new(t||e)(r.Ub(c))},e.\u0275prov=Object(r.Hb)({factory:p,token:e,providedIn:"platform"}),e}();function f(){return!!window.history.pushState}function p(){return new d(Object(r.Ub)(c))}function m(e,t){if(0==e.length)return t;if(0==t.length)return e;var n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function g(e){var t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function y(e){return e&&"?"!==e[0]?"?"+e:e}var b=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Hb)({factory:v,token:e,providedIn:"root"}),e}();function v(e){var t=Object(r.Ub)(c).location;return new C(Object(r.Ub)(u),t&&t.origin||"")}var _=new r.q("appBaseHref"),C=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;if(_classCallCheck(this,n),(o=t.call(this))._platformLocation=e,null==r&&(r=o._platformLocation.getBaseHrefFromDOM()),null==r)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");return o._baseHref=r,_possibleConstructorReturn(o)}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"prepareExternalUrl",value:function(e){return m(this._baseHref,e)}},{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this._platformLocation.pathname+y(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?"".concat(t).concat(n):t}},{key:"pushState",value:function(e,t,n,r){var o=this.prepareExternalUrl(n+y(r));this._platformLocation.pushState(e,t,o)}},{key:"replaceState",value:function(e,t,n,r){var o=this.prepareExternalUrl(n+y(r));this._platformLocation.replaceState(e,t,o)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(r.Ub(u),r.Ub(_,8))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),O=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this))._platformLocation=e,o._baseHref="",null!=r&&(o._baseHref=r),o}return _createClass(n,[{key:"onPopState",value:function(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}},{key:"getBaseHref",value:function(){return this._baseHref}},{key:"path",value:function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e=this._platformLocation.hash;return null==e&&(e="#"),e.length>0?e.substring(1):e}},{key:"prepareExternalUrl",value:function(e){var t=m(this._baseHref,e);return t.length>0?"#"+t:t}},{key:"pushState",value:function(e,t,n,r){var o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.pushState(e,t,o)}},{key:"replaceState",value:function(e,t,n,r){var o=this.prepareExternalUrl(n+y(r));0==o.length&&(o=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,o)}},{key:"forward",value:function(){this._platformLocation.forward()}},{key:"back",value:function(){this._platformLocation.back()}}]),n}(b);return e.\u0275fac=function(t){return new(t||e)(r.Ub(u),r.Ub(_,8))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),k=function(){var e=function(){function e(t,n){var o=this;_classCallCheck(this,e),this._subject=new r.n,this._urlChangeListeners=[],this._platformStrategy=t;var i=this._platformStrategy.getBaseHref();this._platformLocation=n,this._baseHref=g(w(i)),this._platformStrategy.onPopState((function(e){o._subject.emit({url:o.path(!0),pop:!0,state:e.state,type:e.type})}))}return _createClass(e,[{key:"path",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.normalize(this._platformStrategy.path(e))}},{key:"getState",value:function(){return this._platformLocation.getState()}},{key:"isCurrentPathEqualTo",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return this.path()==this.normalize(e+y(t))}},{key:"normalize",value:function(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,w(t)))}},{key:"prepareExternalUrl",value:function(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}},{key:"go",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}},{key:"replaceState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+y(t)),n)}},{key:"forward",value:function(){this._platformStrategy.forward()}},{key:"back",value:function(){this._platformStrategy.back()}},{key:"onUrlChange",value:function(e){var t=this;this._urlChangeListeners.push(e),this.subscribe((function(e){t._notifyUrlChangeListeners(e.url,e.state)}))}},{key:"_notifyUrlChangeListeners",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;this._urlChangeListeners.forEach((function(n){return n(e,t)}))}},{key:"subscribe",value:function(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(b),r.Ub(u))},e.normalizeQueryParams=y,e.joinWithSlash=m,e.stripTrailingSlash=g,e.\u0275prov=Object(r.Hb)({factory:P,token:e,providedIn:"root"}),e}();function P(){return new k(Object(r.Ub)(b),Object(r.Ub)(u))}function w(e){return e.replace(/\/index.html$/,"")}var M=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),E=r.lb,S=function e(){_classCallCheck(this,e)},T=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this)).locale=e,r}return _createClass(n,[{key:"getPluralCategory",value:function(e,t){switch(E(t||this.locale)(e)){case M.Zero:return"zero";case M.One:return"one";case M.Two:return"two";case M.Few:return"few";case M.Many:return"many";default:return"other"}}}]),n}(S);return e.\u0275fac=function(t){return new(t||e)(r.Ub(r.u))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}();function x(e,t){t=encodeURIComponent(t);var n,r=_createForOfIteratorHelper(e.split(";"));try{for(r.s();!(n=r.n()).done;){var o=n.value,i=o.indexOf("="),a=_slicedToArray(-1==i?[o,""]:[o.slice(0,i),o.slice(i+1)],2),s=a[0],c=a[1];if(s.trim()===t)return decodeURIComponent(c)}}catch(u){r.e(u)}finally{r.f()}return null}var A=function(){var e=function(){function e(t,n,r,o){_classCallCheck(this,e),this._iterableDiffers=t,this._keyValueDiffers=n,this._ngEl=r,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._iterableDiffer){var e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){var t=this._keyValueDiffer.diff(this._rawClass);t&&this._applyKeyValueChanges(t)}}},{key:"_applyKeyValueChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachChangedItem((function(e){return t._toggleClass(e.key,e.currentValue)})),e.forEachRemovedItem((function(e){e.previousValue&&t._toggleClass(e.key,!1)}))}},{key:"_applyIterableChanges",value:function(e){var t=this;e.forEachAddedItem((function(e){if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(r.ub)(e.item));t._toggleClass(e.item,!0)})),e.forEachRemovedItem((function(e){return t._toggleClass(e.item,!1)}))}},{key:"_applyClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!0)})):Object.keys(e).forEach((function(n){return t._toggleClass(n,!!e[n])})))}},{key:"_removeClasses",value:function(e){var t=this;e&&(Array.isArray(e)||e instanceof Set?e.forEach((function(e){return t._toggleClass(e,!1)})):Object.keys(e).forEach((function(e){return t._toggleClass(e,!1)})))}},{key:"_toggleClass",value:function(e,t){var n=this;(e=e.trim())&&e.split(/\s+/g).forEach((function(e){t?n._renderer.addClass(n._ngEl.nativeElement,e):n._renderer.removeClass(n._ngEl.nativeElement,e)}))}},{key:"klass",set:function(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}},{key:"ngClass",set:function(e){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof e?e.split(/\s+/):e,this._rawClass&&(Object(r.ob)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Lb(r.s),r.Lb(r.t),r.Lb(r.l),r.Lb(r.D))},e.\u0275dir=r.Gb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e}(),I=function(){function e(t,n,r,o){_classCallCheck(this,e),this.$implicit=t,this.ngForOf=n,this.index=r,this.count=o}return _createClass(e,[{key:"first",get:function(){return 0===this.index}},{key:"last",get:function(){return this.index===this.count-1}},{key:"even",get:function(){return this.index%2==0}},{key:"odd",get:function(){return!this.even}}]),e}(),j=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._viewContainer=t,this._template=n,this._differs=r,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}return _createClass(e,[{key:"ngDoCheck",value:function(){if(this._ngForOfDirty){this._ngForOfDirty=!1;var e=this._ngForOf;if(!this._differ&&e)try{this._differ=this._differs.find(e).create(this.ngForTrackBy)}catch(r){throw new Error("Cannot find a differ supporting object '".concat(e,"' of type '").concat((t=e).name||typeof t,"'. NgFor only supports binding to Iterables such as Arrays."))}}var t;if(this._differ){var n=this._differ.diff(this._ngForOf);n&&this._applyChanges(n)}}},{key:"_applyChanges",value:function(e){var t=this,n=[];e.forEachOperation((function(e,r,o){if(null==e.previousIndex){var i=t._viewContainer.createEmbeddedView(t._template,new I(null,t._ngForOf,-1,-1),null===o?void 0:o),a=new D(e,i);n.push(a)}else if(null==o)t._viewContainer.remove(null===r?void 0:r);else if(null!==r){var s=t._viewContainer.get(r);t._viewContainer.move(s,o);var c=new D(e,s);n.push(c)}}));for(var r=0;r<n.length;r++)this._perViewChange(n[r].view,n[r].record);for(var o=0,i=this._viewContainer.length;o<i;o++){var a=this._viewContainer.get(o);a.context.index=o,a.context.count=i,a.context.ngForOf=this._ngForOf}e.forEachIdentityChange((function(e){t._viewContainer.get(e.currentIndex).context.$implicit=e.item}))}},{key:"_perViewChange",value:function(e,t){e.context.$implicit=t.item}},{key:"ngForOf",set:function(e){this._ngForOf=e,this._ngForOfDirty=!0}},{key:"ngForTrackBy",set:function(e){Object(r.T)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn("trackBy must be a function, but received ".concat(JSON.stringify(e),". See https://angular.io/api/common/NgForOf#change-propagation for more information.")),this._trackByFn=e},get:function(){return this._trackByFn}},{key:"ngForTemplate",set:function(e){e&&(this._template=e)}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Lb(r.N),r.Lb(r.K),r.Lb(r.s))},e.\u0275dir=r.Gb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e}(),D=function e(t,n){_classCallCheck(this,e),this.record=t,this.view=n},N=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this._viewContainer=t,this._context=new R,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=n}return _createClass(e,[{key:"_updateView",value:function(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}},{key:"ngIf",set:function(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}},{key:"ngIfThen",set:function(e){U("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}},{key:"ngIfElse",set:function(e){U("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}}],[{key:"ngTemplateContextGuard",value:function(e,t){return!0}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Lb(r.N),r.Lb(r.K))},e.\u0275dir=r.Gb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e}(),R=function e(){_classCallCheck(this,e),this.$implicit=null,this.ngIf=null};function U(e,t){if(t&&!t.createEmbeddedView)throw new Error("".concat(e," must be a TemplateRef, but received '").concat(Object(r.ub)(t),"'."))}var F=function(){function e(t,n){_classCallCheck(this,e),this._viewContainerRef=t,this._templateRef=n,this._created=!1}return _createClass(e,[{key:"create",value:function(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}},{key:"destroy",value:function(){this._created=!1,this._viewContainerRef.clear()}},{key:"enforceState",value:function(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}]),e}(),L=function(){var e=function(){function e(){_classCallCheck(this,e),this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}return _createClass(e,[{key:"_addCase",value:function(){return this._caseCount++}},{key:"_addDefault",value:function(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}},{key:"_matchCase",value:function(e){var t=e==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}},{key:"_updateDefaultCases",value:function(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(var t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}},{key:"ngSwitch",set:function(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=r.Gb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e}(),B=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.ngSwitch=r,r._addCase(),this._view=new F(t,n)}return _createClass(e,[{key:"ngDoCheck",value:function(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Lb(r.N),r.Lb(r.K),r.Lb(L,1))},e.\u0275dir=r.Gb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},providers:[{provide:S,useClass:T}]}),e}(),z="browser",V=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275prov=Object(r.Hb)({token:e,providedIn:"root",factory:function(){return new G(Object(r.Ub)(c),window,Object(r.Ub)(r.m))}}),e}(),G=function(){function e(t,n,r){_classCallCheck(this,e),this.document=t,this.window=n,this.errorHandler=r,this.offset=function(){return[0,0]}}return _createClass(e,[{key:"setOffset",value:function(e){this.offset=Array.isArray(e)?function(){return e}:e}},{key:"getScrollPosition",value:function(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}},{key:"scrollToPosition",value:function(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}},{key:"scrollToAnchor",value:function(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{var t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);var n=this.document.querySelector("[name='".concat(e,"']"));if(n)return void this.scrollToElement(n)}catch(r){this.errorHandler.handleError(r)}}}},{key:"setHistoryScrollRestoration",value:function(e){if(this.supportScrollRestoration()){var t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}},{key:"scrollToElement",value:function(e){var t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,r=t.top+this.window.pageYOffset,o=this.offset();this.window.scrollTo(n-o[0],r-o[1])}},{key:"supportScrollRestoration",value:function(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}]),e}()},oqX0:function(e,t,n){"use strict";var r=this&&this.__awaiter||function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(t){i(t)}}function s(e){try{c(r.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((r=r.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});var o=n("WB8P"),i=n("tl0M"),a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(t){clearTimeout(e.timeouts.get(t).thread),e.timeouts.delete(t)}))},{key:"timeout",value:function(t,n){return n&&e.timeouts.has(n)&&e.clearTimeout(n),new Promise((function(r,o){var i=setTimeout((function(){n&&e.timeouts.has(n)&&e.clearTimeout(n),r()}),t);n&&e.timeouts.set(n,{thread:i,reject:function(){o(new Error("abortTimeout called"))}})}))}},{key:"abortTimeout",value:function(t){if(e.timeouts.has(t)){var n=e.timeouts.get(t).reject;e.clearTimeout(t),n()}}},{key:"clearInterval",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(t){clearInterval(e.intervals.get(t)),e.intervals.delete(t);var n=this.idUid.get(t);void 0!==n&&this.isInCycle.delete(n),this.idUid.delete(t)}))},{key:"interval",value:function(t,n,a,s){var c=this;switch(s&&e.intervals.has(s)&&e.clearInterval(s),n){case i.ECommonsInvocation.FIXED:var u=setInterval((function(){return r(c,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a();case 2:case"end":return e.stop()}}),e)})))}),t);s&&e.intervals.set(s,u);break;case i.ECommonsInvocation.WHEN:r(c,void 0,void 0,regeneratorRuntime.mark((function n(){var r,o=this;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:void 0!==s&&this.isAborted.set(s,!1),r=function(){return void 0!==s&&(o.isAborted.get(s)||!1)};case 2:if(r()){n.next=17;break}return n.prev=3,n.next=6,a();case 6:n.next=11;break;case 8:n.prev=8,n.t0=n.catch(3),console.log(n.t0);case 11:return n.prev=11,n.next=14,e.timeout(t);case 14:return n.finish(11);case 15:n.next=2;break;case 17:void 0!==s&&this.isAborted.delete(s);case 18:case"end":return n.stop()}}),n,this,[[3,8,11,15]])})));break;case i.ECommonsInvocation.IF:var l=o.CommonsBase62.generateRandomId();s&&this.idUid.set(s,l),this.isInCycle.set(l,!1),e.interval(t,i.ECommonsInvocation.FIXED,(function(){return r(c,void 0,void 0,regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isInCycle.get(l)){e.next=8;break}return e.prev=1,this.isInCycle.set(l,!0),e.next=5,a();case 5:return e.prev=5,this.isInCycle.set(l,!1),e.finish(5);case 8:case"end":return e.stop()}}),e,this,[[1,,5,8]])})))}),s)}}},{key:"abortInterval",value:function(t){this.isAborted.has(t)&&this.isAborted.set(t,!0),e.intervals.has(t)&&e.clearInterval(t)}}]),e}();t.CommonsAsync=a,a.timeouts=new Map,a.intervals=new Map,a.isInCycle=new Map,a.idUid=new Map,a.isAborted=new Map},pJsf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r="abcdefghijklmnopqrstuvwxyz".split(""),o="aeiou".split(""),i=r.filter((function(e){return!o.includes(e)})),a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"ucWords",value:function(e){var t=!1;return e.toString().split("").map((function(e){var n=/^[A-Z]$/i.test(e);try{return!n||t?e:e.toUpperCase()}finally{t=n}})).join("")}},{key:"camelCase",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map((function(e){return e.trim()})).filter((function(e){return""!==e})).map((function(e,n){return 0!==n||t?e.length<2?e.toUpperCase():e.substring(0,1).toUpperCase()+e.substring(1):e.toLowerCase()})).join("")}},{key:"delimeterCase",value:function(e,t){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map((function(e){return e.trim().toLowerCase()})).filter((function(e){return""!==e})).join(t)}},{key:"snakeCase",value:function(t){return e.delimeterCase(t,"_")}},{key:"kebabCase",value:function(t){return e.delimeterCase(t,"-")}},{key:"dashedCase",value:function(t){return e.kebabCase(t)}},{key:"regexEscapeString",value:function(e){return e.replace(/[.]/g,"\\.").replace(/[?]/g,"[?]").replace(/[*]/g,"[*]").replace(/[+]/g,"[+]").replace(/[(]/g,"\\(").replace(/[)]/g,"\\)").replace(/\[/g,"\\[)").replace(/\]/g,"\\]").replace(/[{]/g,"[{]").replace(/[}]/g,"[}]")}},{key:"isAlphabet",value:function(e){return 1===e.length&&r.includes(e.toLowerCase())}},{key:"isVowel",value:function(t){return e.isAlphabet(t)&&o.includes(t.toLowerCase())}},{key:"isConsonant",value:function(t){return e.isAlphabet(t)&&i.includes(t.toLowerCase())}},{key:"regexLike",value:function(t){return"^".concat(e.regexEscapeString(t),"$").replace(/%/g,"(?:.|\\s)*")}},{key:"rtrim",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0",n=t.split("");if(0===n.length)return e;for(;e.length>0&&n.includes(e.substr(e.length-1,1));)e=e.substr(0,e.length-1);return e}},{key:"ltrim",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0",n=t.split("");if(0===n.length)return e;for(;e.length>0&&n.includes(e.substr(0,1));)e=e.substr(1);return e}},{key:"trim",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" \r\n\0";return e.ltrim(e.rtrim(t,n),n)}},{key:"limitLength",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:128,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e.length<=t)return e;var r=e.substr(0,t-3);if(!n)return r+"...";for(var o=r;r.length>1;){if(/[^a-zA-Z0-9]/.test(r.slice(-1)))return r.substr(0,r.length-1)+"...";r=r.substr(0,r.length-1)}return o+"..."}},{key:"isCapitalised",value:function(e){return/^[A-Z]+$/.test(e.replace(/[^a-z]/i,""))}},{key:"capitaliseString",value:function(e,t){return t?e.toUpperCase():e}},{key:"pluralise",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(0===t.length)return"";if(1===n)return t;if(0===n)return e.pluralise(t,2,r);var o=e.isCapitalised(t),i=t.charAt(t.length-1);if(!/[a-z]/i.test(i))return"".concat(t).concat(e.capitaliseString("s",o));if(r){if("\n\t\t\t\taccommodation advice alms aluminum ammends\n\t\t\t\tbaggage barracks binoculars bison bourgeois breadfruit\n\t\t\t\tcannon caribou cattle chalk chassis chinos clippers clothes clothing cod concrete corps correspondence crossroads\n\t\t\t\tdeer dice doldrums dozen dungarees\n\t\t\t\teducation eggfruit elk eyeglasses\n\t\t\t\tflour food fruit furniture\n\t\t\t\tgallows glasses goldfish grapefruit greenfly grouse gymnastics\n\t\t\t\thaddock halibut headquarters help homework\n\t\t\t\tides information insignia\n\t\t\t\tjackfruit jeans\n\t\t\t\tkennels knickers knowledge kudos\n\t\t\t\tleggings lego luggage\n\t\t\t\tmeans monkfish moose mullet music\n\t\t\t\tnailclippers news\n\t\t\t\toffspring oxygen\n\t\t\t\tpants passionfruit pike pliers police premises public pyjamas\n\t\t\t\treindeer rendezvous\n\t\t\t\tsalmon scenery scissors series shambles sheep shellfish shorts shrimp smithereens species squid staff starfruit sugar swine\n\t\t\t\ttongs trousers trout tuna tweezers\n\t\t\t\twheat whitebait wood\n\t\t\t\tyou\n\t\t\t".replace(/\s+/," ").split(" ").map((function(t){return e.trim(t)})).filter((function(e){return""!==e})).includes(t.toLowerCase()))return t;switch(t.toLowerCase()){case"cafe":return e.capitaliseString("cafes",o);case"child":return e.capitaliseString("children",o);case"woman":return e.capitaliseString("women",o);case"man":return e.capitaliseString("men",o);case"mouse":return e.capitaliseString("mice",o);case"goose":return e.capitaliseString("geese",o);case"potato":return e.capitaliseString("potatoes",o)}if(/(craft|ies)$/.test(t.toLowerCase()))return t;if(/(ch|x|s|sh)$/i.test(t))return"".concat(t).concat(e.capitaliseString("es",o));var a=/^(.+)(f|fe)$/i.exec(t);if(null!==a)return"".concat(a[1]).concat(e.capitaliseString("ves",o));var s=/^(.+[abcdfghjklmnpqrstvwxyz])y$/i.exec(t);if(null!==s)return"".concat(s[1]).concat(e.capitaliseString("ies",o))}return"".concat(t).concat(e.capitaliseString("s",o))}},{key:"noOrNumber",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(0===t){var o=n?"none":"no";return r?e.ucWords(o):o}return t.toString()}},{key:"quantify",value:function(t,n){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===t.length)return e.noOrNumber(n,!0,o);var i=e.isCapitalised(t);return e.capitaliseString("".concat(e.noOrNumber(n,!1,o)," ").concat(e.pluralise(t,n,r)),i)}},{key:"isVowelOrY",value:function(t){return e.isVowel(t)||"y"===t.toLowerCase()}},{key:"isConsonantNotY",value:function(t){return e.isConsonant(t)&&"y"!==t.toLowerCase()}},{key:"splitWords",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(t=t.replace("-"," - ")),r||(t=t.replace("'"," ' ")),t.split(/[^-'A-Za-z]/).map((function(t){return e.trim(t)})).filter((function(e){return""!==e}))}},{key:"internalRoughSyllables",value:function(t){for(var n=e.trim(t.toLowerCase()).split(""),r=[],o=!1,i="",a=!0;;){var s=n.shift();if(void 0===s)break;if(e.isAlphabet(s)){var c=e.isVowelOrY(s);if(o&&c)r.push("".concat(r.pop()).concat(s)),o=!0;else if(!o||c)if(c){if(0===n.length&&r.length>0&&!a){r.push("".concat(r.pop()).concat(s));break}r.push("".concat(i).concat(s)),i="",o=!0}else i+=s;else r.push("".concat(r.pop()).concat(s)),o=!1}else i.length>0&&r.push(i),i="",a=!0,o=!1}""!==i&&r.push(i.length>1?i:"".concat(r.pop()).concat(i));for(var u=1;u<r.length;u++)r[u-1].length<2||e.isVowelOrY(r[u].charAt(0))&&e.isConsonantNotY(r[u-1].slice(-1))&&(r[u]="".concat(r[u-1].slice(-1)).concat(r[u]),r[u-1]=r[u-1].slice(0,r[u-1].length-1));return r}},{key:"roughSyllables",value:function(t){var n,r=[],o=_createForOfIteratorHelper(e.splitWords(t));try{for(o.s();!(n=o.n()).done;){var i,a=n.value,s=_createForOfIteratorHelper(e.internalRoughSyllables(a));try{for(s.s();!(i=s.n()).done;){var c=i.value;r.push(c)}}catch(u){s.e(u)}finally{s.f()}}}catch(u){o.e(u)}finally{o.f()}return r}},{key:"splitSentences",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:/[.!?]/,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];o&&(t=t.replace(/-{2,}/g,". ")),n.test("\r")||(t=t.replace(/\r/," ")),n.test("\n")||(t=t.replace(/\n/," "));for(var i=e.trim(t).split(""),a=[],s="";;){var c=i.shift();if(void 0===c)break;if(n.test(c)){if(""===s&&a.length>0){a.push("".concat(a.pop()).concat(c));continue}if(""===e.trim(s)){s="";continue}if(!r||!/[-0-9]/.test(s.slice(-1))||0===i.length||!/[0-9]/.test(i[0])){a.push("".concat(e.ltrim(s)).concat(c)),s="";continue}}s+=c}return""!==e.trim(s)&&a.push(e.trim(s)),a}},{key:"fleschKincaidReadingEase",value:function(t){var n=e.splitWords(t),r=e.splitSentences(t),o=e.roughSyllables(t);return 206.835-n.length/r.length*1.015-o.length/n.length*84.6}},{key:"automatedReadabilityIndex",value:function(t){var n,r=e.splitWords(t),o=e.splitSentences(t),i=[],a=_createForOfIteratorHelper(r);try{for(a.s();!(n=a.n()).done;){var s,c=_createForOfIteratorHelper(n.value.split(""));try{for(c.s();!(s=c.n()).done;){var u=s.value;e.isAlphabet(u)&&i.push(u)}}catch(l){c.e(l)}finally{c.f()}}}catch(l){a.e(l)}finally{a.f()}return i.length/r.length*4.71+r.length/o.length*.5-21.43}}]),e}();t.CommonsString=a},pL1S:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Q2sQ");function i(e){switch(e){case r.CATCHABLEFATAL.toString():return r.CATCHABLEFATAL;case r.STRICT.toString():return r.STRICT;case r.NOTICE.toString():return r.NOTICE;case r.WARNING.toString():return r.WARNING;case r.FATAL.toString():return r.FATAL;case r.PARSE.toString():return r.PARSE}}function a(e){switch(e){case"CATCHABLEFATAL":return r.CATCHABLEFATAL;case"STRICT":return r.STRICT;case"NOTICE":return r.NOTICE;case"WARNING":return r.WARNING;case"FATAL":return r.FATAL;case"PARSE":return r.PARSE}throw new Error("Unable to obtain EPhpErrorType for key: "+e)}!function(e){e.CATCHABLEFATAL="catchablefatal",e.STRICT="strict",e.NOTICE="notice",e.WARNING="warning",e.FATAL="fatal",e.PARSE="parse"}(r=t.EPhpErrorType||(t.EPhpErrorType={})),t.toEPhpErrorType=i,t.fromEPhpErrorType=function(e){switch(e){case r.CATCHABLEFATAL:return r.CATCHABLEFATAL.toString();case r.STRICT:return r.STRICT.toString();case r.NOTICE:return r.NOTICE.toString();case r.WARNING:return r.WARNING.toString();case r.FATAL:return r.FATAL.toString();case r.PARSE:return r.PARSE.toString()}throw new Error("Unknown EPhpErrorType")},t.isEPhpErrorType=function(e){return!!o.CommonsType.isString(e)&&void 0!==i(e)},t.keyToEPhpErrorType=a,t.EPHP_ERROR_TYPES=Object.keys(r).map((function(e){return a(e)})),t.deriveEPhpErrorType=function(e){return"Catchable fatal error"===e?r.CATCHABLEFATAL:"Strict Standards"===e?r.STRICT:"Notice"===e?r.NOTICE:"Warning"===e?r.WARNING:"Fatal error"===e?r.FATAL:"Parse error"===e?r.PARSE:void 0}},pLZG:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n("7o/Q");function o(e,t){return function(n){return n.lift(new i(e,t))}}var i=function(){function e(t,n){_classCallCheck(this,e),this.predicate=t,this.thisArg=n}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new a(e,this.predicate,this.thisArg))}}]),e}(),a=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).predicate=r,i.thisArg=o,i.count=0,i}return _createClass(n,[{key:"_next",value:function(e){var t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}]),n}(r.a)},po00:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return c}));var r=n("hi8z"),o=n("ofXK"),i=n("fXoL"),a=["*"],s={PRIMARY:"primary",PRIMARY_LIGHT:"primary-light",PRIMARY_DARK:"primary-dark",SECONDARY:"secondary",SECONDARY_LIGHT:"secondary-light",SECONDARY_DARK:"secondary-dark"};function c(e){switch(e){case s.PRIMARY:return"primary";case s.PRIMARY_LIGHT:return"primary-light";case s.PRIMARY_DARK:return"primary-dark";case s.SECONDARY:return"secondary";case s.SECONDARY_LIGHT:return"secondary-light";case s.SECONDARY_DARK:return"secondary_dark"}throw new Error("Unknown palette")}var u=function(){var e=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).width=100,e.height=100,e}return _createClass(n,[{key:"getViewBox",value:function(){return"0 0 ".concat(this.width," ").concat(this.height)}}]),n}(r.a);return e.\u0275fac=function(t){return l(t||e)},e.\u0275cmp=i.Fb({type:e,selectors:[["graphics-svg"]],inputs:{width:"width",height:"height"},features:[i.wb],ngContentSelectors:a,decls:2,vars:2,template:function(e,t){1&e&&(i.ic(),i.bc(),i.Qb(0,"svg"),i.hc(1),i.Pb()),2&e&&i.Ab("viewBox",t.getViewBox())("preserveAspectRatio","none")},styles:["@charset 'utf8';[_nghost-%COMP%]{width:100%;height:auto}.height100[_nghost-%COMP%]{height:100%}svg[_ngcontent-%COMP%]{display:block;box-sizing:border-box;margin:0;padding:0;width:100%;height:auto}.height100[_nghost-%COMP%] svg[_ngcontent-%COMP%]{height:100%}"]}),e}(),l=i.Sb(u),h=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[o.b]]}),e}()},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r,o,i=n("DH7j"),a=n("XoHu"),s=n("n6bG"),c=function(){function e(e){return Error.call(this),this.message=e?"".concat(e.length," errors occurred during unsubscription:\n").concat(e.map((function(e,t){return"".concat(t+1,") ").concat(e.toString())})).join("\n ")):"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e}(),u=((o=function(){function e(t){_classCallCheck(this,e),this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._unsubscribe=t)}return _createClass(e,[{key:"unsubscribe",value:function(){var t;if(!this.closed){var n=this._parentOrParents,r=this._unsubscribe,o=this._subscriptions;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(var u=0;u<n.length;++u)n[u].remove(this);if(Object(s.a)(r))try{r.call(this)}catch(p){t=p instanceof c?l(p.errors):[p]}if(Object(i.a)(o))for(var h=-1,d=o.length;++h<d;){var f=o[h];if(Object(a.a)(f))try{f.unsubscribe()}catch(p){t=t||[],p instanceof c?t=t.concat(l(p.errors)):t.push(p)}}if(t)throw new c(t)}}},{key:"add",value:function(t){var n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){var r=n;(n=new e)._subscriptions=[r]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}var o=n._parentOrParents;if(null===o)n._parentOrParents=this;else if(o instanceof e){if(o===this)return n;n._parentOrParents=[o,this]}else{if(-1!==o.indexOf(this))return n;o.push(this)}var i=this._subscriptions;return null===i?this._subscriptions=[n]:i.push(n),n}},{key:"remove",value:function(e){var t=this._subscriptions;if(t){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}]),e}()).EMPTY=((r=new o).closed=!0,r),o);function l(e){return e.reduce((function(e,t){return e.concat(t instanceof c?t.errors:t)}),[])}},r517:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("KSuy"),i=n("V0VN");!function(e){e.STRING="string",e.NUMBER="number",e.BOOLEAN="boolean",e.OBJECT="object",e.DATE="date"}(r=t.EVariableType||(t.EVariableType={}));var a=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"isDefined",value:function(e){return void 0!==e}},{key:"assertDefined",value:function(t){if(!e.isDefined(t))throw new Error("Assertion fail: variable is undefined");return t}},{key:"isPrimative",value:function(t){if(!e.isDefined(t))return!1;if(null===t)return!1;switch(typeof t){case"string":case"number":case"boolean":return!0;default:return!1}}},{key:"assertPrimative",value:function(t){if(!e.isPrimative(t))throw new Error("Assertion fail: variable is not a primative");return t}},{key:"isString",value:function(t){return e.isPrimative(t)&&"string"==typeof t}},{key:"assertString",value:function(t){if(!e.isString(t))throw new Error("Assertion fail: variable is not a string");return t}},{key:"attemptString",value:function(t){return e.isString(t)?t:void 0!==t&&null!=t?e.isArray(t)?t.map((function(t){return e.attemptString(t)})).filter((function(e){return void 0!==e})).join(", "):"object"==typeof t?JSON.stringify(t):"number"==typeof t?t.toString():"boolean"==typeof t?t?"true":"false":String(t):void 0}},{key:"isNumber",value:function(t){return e.isPrimative(t)&&"number"==typeof t}},{key:"assertNumber",value:function(t){if(!e.isNumber(t))throw new Error("Assertion fail: variable is not a number");return t}},{key:"attemptNumber",value:function(t){if(e.isNumber(t))return t;if(void 0!==t&&null!=t){if("string"==typeof t){var n=t.indexOf(".")>-1?parseFloat(t):parseInt(t,10);if(Number.isNaN(n))return;return n}return"boolean"==typeof t?t?1:0:Number(t)}}},{key:"isBoolean",value:function(t){return e.isPrimative(t)&&"boolean"==typeof t}},{key:"assertBoolean",value:function(t){if(!e.isBoolean(t))throw new Error("Assertion fail: variable is not a boolean");return t}},{key:"attemptBoolean",value:function(t){return e.isBoolean(t)?t:void 0!==t&&null!=t&&e.isPrimative(t)?e.checkboxBoolean(t):void 0}},{key:"isObject",value:function(t){return!!e.isDefined(t)&&null!==t&&"object"==typeof t}},{key:"assertObject",value:function(t){if(!e.isObject(t))throw new Error("Assertion fail: variable is not an object");return t}},{key:"attemptObject",value:function(t){if(e.isObject(t))return t;if(void 0!==t&&null!=t){if("string"==typeof t)try{var n=JSON.parse(t);return"object"==typeof n?n:void 0}catch(r){return}if("object"==typeof t&&!e.isArray(t))return t}}},{key:"isDate",value:function(t){return e.isObject(t)&&t instanceof Date}},{key:"assertDate",value:function(t){if(!e.isDate(t))throw new Error("Assertion fail: variable is not a Date object");return t}},{key:"attemptDate",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e.isDate(t))return t;if(void 0!==t&&null!=t&&"string"==typeof t){if(i.CommonsDate.isYmdHis(t))return i.CommonsDate.YmdHisToDate(t,n);if(i.CommonsDate.isdmYHi(t))return i.CommonsDate.dmYHiToDate(t,n);if(i.CommonsDate.isYmd(t))return i.CommonsDate.YmdToDate(t,n);if(i.CommonsDate.isdmY(t))return i.CommonsDate.dmYToDate(t,n);if(i.CommonsDate.isHis(t))return i.CommonsDate.HisToDate(t,n);if(i.CommonsDate.isHi(t))return i.CommonsDate.HiToDate(t,n);var r=Date.parse(t);if(Number.isNaN(r))return;return new Date(r)}}},{key:"isError",value:function(t){return e.isObject(t)&&t instanceof Error}},{key:"assertError",value:function(t){if(!e.isError(t))throw new Error("Assertion fail: variable is not an Error object");return t}},{key:"isArray",value:function(t){return e.isObject(t)&&Array.isArray(t)}},{key:"assertArray",value:function(t){if(!e.isArray(t))throw new Error("Assertion fail: variable is not an array");return t}},{key:"validateTKeyObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){if(!n(t[o[r]]))return!1}return!0}},{key:"validateTOrUndefinedKeyObject",value:function(t,n){if(!e.isObject(t))return!1;for(var r=0,o=Object.keys(t);r<o.length;r++){var i=o[r];if(e.hasProperty(t,i)&&void 0!==t[i]&&!n(t[i]))return!1}return!0}},{key:"isDefinedArray",value:function(t){if(!e.isArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isDefined(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertDefinedArray",value:function(t){if(!e.isDefinedArray(t))throw new Error("Assertion fail: variable is not a defined array");return t}},{key:"isDefinedKeyObject",value:function(t){if(!e.isObject(t))return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!e.isDefined(t[o]))return!1}return!0}},{key:"assertDefinedKeyObject",value:function(t){if(!e.isDefinedKeyObject(t))throw new Error("Assertion fail: variable is not a defined key object");return t}},{key:"isPrimativeArray",value:function(t){if(!e.isDefinedArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isPrimative(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertPrimativeArray",value:function(t){if(!e.isPrimativeArray(t))throw new Error("Assertion fail: variable is not a primative array");return t}},{key:"isPrimativeKeyObject",value:function(t){if(!e.isObject(t))return!1;for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];if(!e.isPrimative(t[o]))return!1}return!0}},{key:"assertPrimativeKeyObject",value:function(t){if(!e.isPrimativeKeyObject(t))throw new Error("Assertion fail: variable is not a primative key object");return t}},{key:"isStringArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isString(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertStringArray",value:function(t){if(!e.isStringArray(t))throw new Error("Assertion fail: variable is not a string array");return t}},{key:"isStringKeyObject",value:function(t){return e.validateTKeyObject(t,e.isString)}},{key:"assertStringKeyObject",value:function(t){if(!e.isStringKeyObject(t))throw new Error("Assertion fail: variable is not a string key object");return t}},{key:"isStringOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isString)}},{key:"assertStringOrUndefinedKeyObject",value:function(t){if(!e.isStringOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a string or undefined key object");return t}},{key:"isStringArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isStringArray)}},{key:"assertStringArrayKeyObject",value:function(t){if(!e.isStringArrayKeyObject(t))throw new Error("Assertion fail: variable is not a string array key object");return t}},{key:"isNumberArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isNumber(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertNumberArray",value:function(t){if(!e.isNumberArray(t))throw new Error("Assertion fail: variable is not a number array");return t}},{key:"isNumberKeyObject",value:function(t){return e.validateTKeyObject(t,e.isNumber)}},{key:"assertNumberKeyObject",value:function(t){if(!e.isNumberKeyObject(t))throw new Error("Assertion fail: variable is not a number key object");return t}},{key:"isNumberOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isNumber)}},{key:"assertNumberOrUndefinedKeyObject",value:function(t){if(!e.isNumberOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a number or undefined key object");return t}},{key:"isNumberArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isNumberArray)}},{key:"assertNumberArrayKeyObject",value:function(t){if(!e.isNumberArrayKeyObject(t))throw new Error("Assertion fail: variable is not a number array key object");return t}},{key:"isBooleanArray",value:function(t){if(!e.isPrimativeArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isBoolean(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertBooleanArray",value:function(t){if(!e.isBooleanArray(t))throw new Error("Assertion fail: variable is not a boolean array");return t}},{key:"isBooleanKeyObject",value:function(t){return e.validateTKeyObject(t,e.isBoolean)}},{key:"assertBooleanKeyObject",value:function(t){if(!e.isBooleanKeyObject(t))throw new Error("Assertion fail: variable is not a boolean key object");return t}},{key:"isBooleanOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isBoolean)}},{key:"assertBooleanOrUndefinedKeyObject",value:function(t){if(!e.isBooleanOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return t}},{key:"isBooleanArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isBooleanArray)}},{key:"assertBooleanArrayKeyObject",value:function(t){if(!e.isBooleanArrayKeyObject(t))throw new Error("Assertion fail: variable is not a boolean array key object");return t}},{key:"isObjectArray",value:function(t){if(!e.isDefinedArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isObject(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertObjectArray",value:function(t){if(!e.isObjectArray(t))throw new Error("Assertion fail: variable is not an object array");return t}},{key:"isObjectKeyObject",value:function(t){return e.validateTKeyObject(t,e.isObject)}},{key:"assertObjectKeyObject",value:function(t){if(!e.isObjectKeyObject(t))throw new Error("Assertion fail: variable is not a object key object");return t}},{key:"isObjectOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isObject)}},{key:"assertObjectOrUndefinedKeyObject",value:function(t){if(!e.isObjectOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a object or undefined key object");return t}},{key:"isObjectArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isObjectArray)}},{key:"assertObjectArrayKeyObject",value:function(t){if(!e.isObjectArrayKeyObject(t))throw new Error("Assertion fail: variable is not a object array key object");return t}},{key:"isDateArray",value:function(t){if(!e.isObjectArray(t))return!1;var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isDate(o))return!1}}catch(i){r.e(i)}finally{r.f()}return!0}},{key:"assertDateArray",value:function(t){if(!e.isDateArray(t))throw new Error("Assertion fail: variable is not a Date array");return t}},{key:"isDateKeyObject",value:function(t){return e.validateTKeyObject(t,e.isDate)}},{key:"assertDateKeyObject",value:function(t){if(!e.isDateKeyObject(t))throw new Error("Assertion fail: variable is not a Date key object");return t}},{key:"isDateOrUndefinedKeyObject",value:function(t){return e.validateTOrUndefinedKeyObject(t,e.isDate)}},{key:"assertDateOrUndefinedKeyObject",value:function(t){if(!e.isDateOrUndefinedKeyObject(t))throw new Error("Assertion fail: variable is not a Date or undefined key object");return t}},{key:"isDateArrayKeyObject",value:function(t){return e.validateTKeyObject(t,e.isDateArray)}},{key:"assertDateArrayKeyObject",value:function(t){if(!e.isDateArrayKeyObject(t))throw new Error("Assertion fail: variable is not a Date array key object");return t}},{key:"isPropertyObject",value:function(t){return!!e.isObject(t)&&!e.isArray(t)&&!e.isDate(t)&&e.isStringArray(Object.keys(t))}},{key:"assertPropertyObject",value:function(t){if(!e.isPropertyObject(t))throw new Error("Assertion fail: variable is not a property object");return t}},{key:"isEncoded",value:function(t){if(!e.isDefined(t))return!1;if(null===t)return!0;if(e.isPrimative(t))return!0;if(e.isDate(t))return!1;if(e.isArray(t)){var n,r=_createForOfIteratorHelper(t);try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!e.isEncoded(o))return!1}}catch(c){r.e(c)}finally{r.f()}return!0}if(e.isObject(t)){for(var i=0,a=Object.keys(t);i<a.length;i++){var s=a[i];if(!e.isDefined(t[s]))return!1;if(!e.isEncoded(t[s]))return!1}return!0}return!1}},{key:"isEncodedObject",value:function(t){return!!e.isPropertyObject(t)&&e.isEncoded(t)}},{key:"assertEncodedObject",value:function(t){if(!e.isEncodedObject(t))throw new Error("Assertion fail: variable is not an encoded object");return t}},{key:"isT",value:function(t,n){return!!e.isObject(t)&&n(t)}},{key:"assertT",value:function(t,n,r){if(!e.isT(t,n))throw new Error("Assertion fail: variable is not an object of type "+r);return t}},{key:"isTArray",value:function(t,n){if(!e.isObjectArray(t))return!1;var r,o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(!e.isT(i,n))return!1}}catch(a){o.e(a)}finally{o.f()}return!0}},{key:"assertTArray",value:function(t,n,r){if(!e.isTArray(t,n))throw new Error("Assertion fail: variable is not an array of objects of type "+r);return t}},{key:"isTKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isT(t,n)}))}},{key:"assertTKeyObject",value:function(t,n,r){if(!e.isTKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isTKeyOrUndefinedObject",value:function(t,n){return e.validateTOrUndefinedKeyObject(t,(function(t){return e.isT(t,n)}))}},{key:"assertTOrUndefinedKeyObject",value:function(t,n,r){if(!e.isTKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+r);return t}},{key:"isTArrayKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isTArray(t,n)}))}},{key:"assertTArrayKeyObject",value:function(t,n,r){if(!e.isTArrayKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"isEnum",value:function(t,n){return!!e.isString(t)&&void 0!==n(t)}},{key:"assertEnum",value:function(t,n,r){if(!e.isEnum(t,n))throw new Error("Assertion fail: variable is not an enum of type "+r);return t}},{key:"isEnumArray",value:function(t,n){if(!e.isStringArray(t))return!1;var r,o=_createForOfIteratorHelper(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;if(!e.isEnum(i,n))return!1}}catch(a){o.e(a)}finally{o.f()}return!0}},{key:"assertEnumArray",value:function(t,n,r){if(!e.isEnumArray(t,n))throw new Error("Assertion fail: variable is not an array of enums of type "+r);return t}},{key:"isEnumKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isEnum(t,n)}))}},{key:"assertEnumKeyObject",value:function(t,n,r){if(!e.isEnumKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumOrUndefinedKeyObject",value:function(t,n){return e.validateTOrUndefinedKeyObject(t,(function(t){return e.isEnum(t,n)}))}},{key:"assertEnumOrUndefinedKeyObject",value:function(t,n,r){if(!e.isEnumKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of enums of type "+r);return t}},{key:"isEnumArrayKeyObject",value:function(t,n){return e.validateTKeyObject(t,(function(t){return e.isEnumArray(t,n)}))}},{key:"assertEnumArrayKeyObject",value:function(t,n,r){if(!e.isEnumArrayKeyObject(t,n))throw new Error("Assertion fail: variable is not an key object of objects of type "+r);return t}},{key:"hasProperty",value:function(t,n,o){if(void 0!==o&&"string"!=typeof o)throw new Error("Type is invalid");if(!e.isPropertyObject(t))return!1;if(-1===Object.keys(t).indexOf(n))return!1;if(void 0===o)return!0;switch(o){case r.STRING:return e.isString(t[n]);case r.NUMBER:return e.isNumber(t[n]);case r.BOOLEAN:return e.isBoolean(t[n]);case r.OBJECT:return e.isObject(t[n]);case r.DATE:return e.isDate(t[n]);default:throw new Error("Unknown variable type")}}},{key:"hasPropertyNumber",value:function(t,n){return e.hasProperty(t,n,r.NUMBER)}},{key:"hasPropertyString",value:function(t,n){return e.hasProperty(t,n,r.STRING)}},{key:"hasPropertyBoolean",value:function(t,n){return e.hasProperty(t,n,r.BOOLEAN)}},{key:"hasPropertyObject",value:function(t,n){return e.hasProperty(t,n,r.OBJECT)}},{key:"hasPropertyDate",value:function(t,n){return e.hasProperty(t,n,r.DATE)}},{key:"hasPropertyArray",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isArray(t[n])}},{key:"hasPropertyEnum",value:function(t,n,r){return e.hasPropertyString(t,n)&&r(t[n])}},{key:"hasPropertyEnumArray",value:function(t,n,r){if(!e.hasPropertyStringArray(t,n))return!1;var o,i=_createForOfIteratorHelper(t[n]);try{for(i.s();!(o=i.n()).done;){if(!r(o.value))return!1}}catch(a){i.e(a)}finally{i.f()}return!0}},{key:"hasPropertyT",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isT(t[n],r)}},{key:"hasPropertyTArray",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isTArray(t[n],r)}},{key:"hasPropertyTKeyObject",value:function(t,n,r){return e.hasPropertyObject(t,n)&&e.isTKeyObject(t[n],r)}},{key:"hasPropertyNumberArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isNumberArray(t[n])}},{key:"hasPropertyNumberKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isNumberKeyObject(t[n])}},{key:"hasPropertyStringArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isStringArray(t[n])}},{key:"hasPropertyStringKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isStringKeyObject(t[n])}},{key:"hasPropertyBooleanArray",value:function(t,n){return e.hasPropertyArray(t,n)&&e.isBooleanArray(t[n])}},{key:"hasPropertyBooleanKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isBooleanKeyObject(t[n])}},{key:"hasPropertyDateArray",value:function(t,n){return e.hasPropertyTArray(t,n,e.isDate)}},{key:"hasPropertyDateKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isDateKeyObject(t[n])}},{key:"hasPropertyObjectArray",value:function(t,n){return e.hasPropertyTArray(t,n,e.isObject)}},{key:"hasPropertyObjectKeyObject",value:function(t,n){return e.hasPropertyObject(t,n)&&e.isObjectKeyObject(t[n])}},{key:"hasPropertyNumberOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumber(t,n)}},{key:"hasPropertyStringOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyString(t,n)}},{key:"hasPropertyBooleanOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBoolean(t,n)}},{key:"hasPropertyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyObject(t,n)}},{key:"hasPropertyDateOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyDate(t,n)}},{key:"hasPropertyArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyArray(t,n)}},{key:"hasPropertyEnumOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyEnum(t,n,r)}},{key:"hasPropertyEnumArrayOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyEnumArray(t,n,r)}},{key:"hasPropertyTOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyT(t,n,r)}},{key:"hasPropertyTArrayOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyTArray(t,n,r)}},{key:"hasPropertyTKeyObjectOrUndefined",value:function(t,n,r){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyTKeyObject(t,n,r)}},{key:"hasPropertyNumberArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumberArray(t,n)}},{key:"hasPropertyNumberKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyNumberKeyObject(t,n)}},{key:"hasPropertyStringArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyStringArray(t,n)}},{key:"hasPropertyStringKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyStringKeyObject(t,n)}},{key:"hasPropertyBooleanArrayOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBooleanArray(t,n)}},{key:"hasPropertyBooleanKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyBooleanKeyObject(t,n)}},{key:"hasPropertyDateArrayOrUndefined",value:function(t,n){return e.hasPropertyTArrayOrUndefined(t,n,e.isDate)}},{key:"hasPropertyDateKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyDateKeyObject(t,n)}},{key:"hasPropertyObjectArrayOrUndefined",value:function(t,n){return e.hasPropertyTArrayOrUndefined(t,n,e.isObject)}},{key:"hasPropertyObjectKeyObjectOrUndefined",value:function(t,n){return!e.hasProperty(t,n)||!e.isDefined(t[n])||e.hasPropertyObjectKeyObject(t,n)}},{key:"valueOrDefault",value:function(e,t){return void 0===e?t:e}},{key:"trimStringOrUndefined",value:function(t){if(!e.isBlank(t)&&""!==(t=t.toString().trim()))return t}},{key:"isBlank",value:function(e){return null==e||""===e}},{key:"isLooselyEqual",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(e.isBlank(t)&&e.isBlank(n))return!0;if(e.isDate(t)&&e.isDate(n)&&t.getTime()===n.getTime())return!0;if(e.isDate(t)&&"string"==typeof n&&i.CommonsDate.dateToYmdHis(t,o)===n)return!0;if(e.isDate(n)&&"string"==typeof t&&i.CommonsDate.dateToYmdHis(n,o)===t)return!0;if("string"==typeof t&&"string"==typeof n){if(t.trim()===n.trim())return!0;if(r&&t.toLowerCase().trim()===n.toLowerCase().trim())return!0}return"number"==typeof t&&"string"==typeof n&&""+t===n||"number"==typeof n&&"string"==typeof t&&""+n===t||"boolean"==typeof t&&"string"==typeof n&&(t?"true":"false")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"true":"false")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"1":"0")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"1":"0")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"yes":"no")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"yes":"no")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof n&&(t?"on":"off")===n.toLowerCase().trim()||"boolean"==typeof n&&"string"==typeof t&&(n?"on":"off")===t.toLowerCase().trim()||"boolean"==typeof t&&"number"==typeof n&&(t?1:0)===n||"boolean"==typeof n&&"number"==typeof t&&(n?1:0)===t||t===n}},{key:"checkboxBoolean",value:function(t){return e.isLooselyEqual(!0,t)}},{key:"encode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===t)return null;if(e.isPrimative(t))return t;if(e.isDate(t))return i.CommonsDate.dateToYmdHis(t,n);if(Array.isArray(t)){var r,o=[],a=t,s=_createForOfIteratorHelper(a);try{for(s.s();!(r=s.n()).done;){var c=r.value;o.push(e.encode(c,n))}}catch(p){s.e(p)}finally{s.f()}return o}if(e.isObject(t)){for(var u={},l=t,h=0,d=Object.keys(l);h<d.length;h++){var f=d[h];void 0!==l[f]&&(u[f]=e.encode(l[f],n))}return u}return t}},{key:"encodePropertyObject",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.encode(t,n)}},{key:"decode",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(null===t)return null;if(e.isPrimative(t)){if(e.isString(t)){if(i.CommonsDate.isYmdHis(t))return i.CommonsDate.YmdHisToDate(t,n);if(i.CommonsDate.isYmd(t))return i.CommonsDate.YmdToDate(t,n);if(o.COMMONS_REGEX_PATTERN_DATE_ECMA.test(t))return new Date(t)}return t}if(Array.isArray(t)){var r,a=[],s=t,c=_createForOfIteratorHelper(s);try{for(c.s();!(r=c.n()).done;){var u=r.value;a.push(e.decode(u,n))}}catch(m){c.e(m)}finally{c.f()}return a}if(e.isObject(t)){for(var l={},h=t,d=0,f=Object.keys(h);d<f.length;d++){var p=f[d];void 0!==h[p]&&(l[p]=e.decode(h[p],n))}return l}return t}},{key:"decodePropertyObject",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.decode(t,n)}},{key:"assertArrayLengths",value:function(t,n){var r=e.assertArray(t),o=e.assertArray(n);if(r.length!==o.length)throw new Error("Assertion fail: two arrays are not the same length")}}]),e}();t.CommonsType=a},rLqr:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("90Vn"))},s3Rx:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}(n("zDOd"))},"tk/3":function(e,t,n){"use strict";n.d(t,"a",(function(){return M})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return m}));var r=n("fXoL"),o=n("LRne"),i=n("HDdC"),a=n("bOdf"),s=n("pLZG"),c=n("lJxs"),u=n("ofXK"),l=function e(){_classCallCheck(this,e)},h=function e(){_classCallCheck(this,e)},d=function(){function e(t){var n=this;_classCallCheck(this,e),this.normalizedNames=new Map,this.lazyUpdate=null,t?this.lazyInit="string"==typeof t?function(){n.headers=new Map,t.split("\n").forEach((function(e){var t=e.indexOf(":");if(t>0){var r=e.slice(0,t),o=r.toLowerCase(),i=e.slice(t+1).trim();n.maybeSetNormalizedName(r,o),n.headers.has(o)?n.headers.get(o).push(i):n.headers.set(o,[i])}}))}:function(){n.headers=new Map,Object.keys(t).forEach((function(e){var r=t[e],o=e.toLowerCase();"string"==typeof r&&(r=[r]),r.length>0&&(n.headers.set(o,r),n.maybeSetNormalizedName(e,o))}))}:this.headers=new Map}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.headers.has(e.toLowerCase())}},{key:"get",value:function(e){this.init();var t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}},{key:"keys",value:function(){return this.init(),Array.from(this.normalizedNames.values())}},{key:"getAll",value:function(e){return this.init(),this.headers.get(e.toLowerCase())||null}},{key:"append",value:function(e,t){return this.clone({name:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({name:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({name:e,value:t,op:"d"})}},{key:"maybeSetNormalizedName",value:function(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}},{key:"init",value:function(){var t=this;this.lazyInit&&(this.lazyInit instanceof e?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach((function(e){return t.applyUpdate(e)})),this.lazyUpdate=null))}},{key:"copyFrom",value:function(e){var t=this;e.init(),Array.from(e.headers.keys()).forEach((function(n){t.headers.set(n,e.headers.get(n)),t.normalizedNames.set(n,e.normalizedNames.get(n))}))}},{key:"clone",value:function(t){var n=new e;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof e?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}},{key:"applyUpdate",value:function(e){var t=e.name.toLowerCase();switch(e.op){case"a":case"s":var n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);var r=("a"===e.op?this.headers.get(t):void 0)||[];r.push.apply(r,_toConsumableArray(n)),this.headers.set(t,r);break;case"d":var o=e.value;if(o){var i=this.headers.get(t);if(!i)return;0===(i=i.filter((function(e){return-1===o.indexOf(e)}))).length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,i)}else this.headers.delete(t),this.normalizedNames.delete(t)}}},{key:"forEach",value:function(e){var t=this;this.init(),Array.from(this.normalizedNames.keys()).forEach((function(n){return e(t.normalizedNames.get(n),t.headers.get(n))}))}}]),e}(),f=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"encodeKey",value:function(e){return p(e)}},{key:"encodeValue",value:function(e){return p(e)}},{key:"decodeKey",value:function(e){return decodeURIComponent(e)}},{key:"decodeValue",value:function(e){return decodeURIComponent(e)}}]),e}();function p(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/gi,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%2B/gi,"+").replace(/%3D/gi,"=").replace(/%3F/gi,"?").replace(/%2F/gi,"/")}var m=function(){function e(){var t,n,r,o=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(_classCallCheck(this,e),this.updates=null,this.cloneFrom=null,this.encoder=i.encoder||new f,i.fromString){if(i.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=(t=i.fromString,n=this.encoder,r=new Map,t.length>0&&t.split("&").forEach((function(e){var t=e.indexOf("="),o=_slicedToArray(-1==t?[n.decodeKey(e),""]:[n.decodeKey(e.slice(0,t)),n.decodeValue(e.slice(t+1))],2),i=o[0],a=o[1],s=r.get(i)||[];s.push(a),r.set(i,s)})),r)}else i.fromObject?(this.map=new Map,Object.keys(i.fromObject).forEach((function(e){var t=i.fromObject[e];o.map.set(e,Array.isArray(t)?t:[t])}))):this.map=null}return _createClass(e,[{key:"has",value:function(e){return this.init(),this.map.has(e)}},{key:"get",value:function(e){this.init();var t=this.map.get(e);return t?t[0]:null}},{key:"getAll",value:function(e){return this.init(),this.map.get(e)||null}},{key:"keys",value:function(){return this.init(),Array.from(this.map.keys())}},{key:"append",value:function(e,t){return this.clone({param:e,value:t,op:"a"})}},{key:"set",value:function(e,t){return this.clone({param:e,value:t,op:"s"})}},{key:"delete",value:function(e,t){return this.clone({param:e,value:t,op:"d"})}},{key:"toString",value:function(){var e=this;return this.init(),this.keys().map((function(t){var n=e.encoder.encodeKey(t);return e.map.get(t).map((function(t){return n+"="+e.encoder.encodeValue(t)})).join("&")})).filter((function(e){return""!==e})).join("&")}},{key:"clone",value:function(t){var n=new e({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat([t]),n}},{key:"init",value:function(){var e=this;null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach((function(t){return e.map.set(t,e.cloneFrom.map.get(t))})),this.updates.forEach((function(t){switch(t.op){case"a":case"s":var n=("a"===t.op?e.map.get(t.param):void 0)||[];n.push(t.value),e.map.set(t.param,n);break;case"d":if(void 0===t.value){e.map.delete(t.param);break}var r=e.map.get(t.param)||[],o=r.indexOf(t.value);-1!==o&&r.splice(o,1),r.length>0?e.map.set(t.param,r):e.map.delete(t.param)}})),this.cloneFrom=this.updates=null)}}]),e}();function g(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function y(e){return"undefined"!=typeof Blob&&e instanceof Blob}function b(e){return"undefined"!=typeof FormData&&e instanceof FormData}var v=function(){function e(t,n,r,o){var i;if(_classCallCheck(this,e),this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,i=o):i=r,i&&(this.reportProgress=!!i.reportProgress,this.withCredentials=!!i.withCredentials,i.responseType&&(this.responseType=i.responseType),i.headers&&(this.headers=i.headers),i.params&&(this.params=i.params)),this.headers||(this.headers=new d),this.params){var a=this.params.toString();if(0===a.length)this.urlWithParams=n;else{var s=n.indexOf("?");this.urlWithParams=n+(-1===s?"?":s<n.length-1?"&":"")+a}}else this.params=new m,this.urlWithParams=n}return _createClass(e,[{key:"serializeBody",value:function(){return null===this.body?null:g(this.body)||y(this.body)||b(this.body)||"string"==typeof this.body?this.body:this.body instanceof m?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}},{key:"detectContentTypeHeader",value:function(){return null===this.body||b(this.body)?null:y(this.body)?this.body.type||null:g(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof m?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}},{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.method||this.method,r=t.url||this.url,o=t.responseType||this.responseType,i=void 0!==t.body?t.body:this.body,a=void 0!==t.withCredentials?t.withCredentials:this.withCredentials,s=void 0!==t.reportProgress?t.reportProgress:this.reportProgress,c=t.headers||this.headers,u=t.params||this.params;return void 0!==t.setHeaders&&(c=Object.keys(t.setHeaders).reduce((function(e,n){return e.set(n,t.setHeaders[n])}),c)),t.setParams&&(u=Object.keys(t.setParams).reduce((function(e,n){return e.set(n,t.setParams[n])}),u)),new e(n,r,i,{params:u,headers:c,reportProgress:s,responseType:o,withCredentials:a})}}]),e}(),_=function(){var e={Sent:0,UploadProgress:1,ResponseHeader:2,DownloadProgress:3,Response:4,User:5};return e[e.Sent]="Sent",e[e.UploadProgress]="UploadProgress",e[e.ResponseHeader]="ResponseHeader",e[e.DownloadProgress]="DownloadProgress",e[e.Response]="Response",e[e.User]="User",e}(),C=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:200,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"OK";_classCallCheck(this,e),this.headers=t.headers||new d,this.status=void 0!==t.status?t.status:n,this.statusText=t.statusText||r,this.url=t.url||null,this.ok=this.status>=200&&this.status<300},O=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=_.ResponseHeader,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(C),k=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return _classCallCheck(this,n),(e=t.call(this,r)).type=_.Response,e.body=void 0!==r.body?r.body:null,e}return _createClass(n,[{key:"clone",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new n({body:void 0!==e.body?e.body:this.body,headers:e.headers||this.headers,status:void 0!==e.status?e.status:this.status,statusText:e.statusText||this.statusText,url:e.url||this.url||void 0})}}]),n}(C),P=function(e){_inherits(n,e);var t=_createSuper(n);function n(e){var r;return _classCallCheck(this,n),(r=t.call(this,e,0,"Unknown Error")).name="HttpErrorResponse",r.ok=!1,r.message=r.status>=200&&r.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):"Http failure response for ".concat(e.url||"(unknown url)",": ").concat(e.status," ").concat(e.statusText),r.error=e.error||null,r}return n}(C);function w(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}var M=function(){var e=function(){function e(t){_classCallCheck(this,e),this.handler=t}return _createClass(e,[{key:"request",value:function(e,t){var n,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e instanceof v)n=e;else{var u=void 0;u=i.headers instanceof d?i.headers:new d(i.headers);var l=void 0;i.params&&(l=i.params instanceof m?i.params:new m({fromObject:i.params})),n=new v(e,t,void 0!==i.body?i.body:null,{headers:u,params:l,reportProgress:i.reportProgress,responseType:i.responseType||"json",withCredentials:i.withCredentials})}var h=Object(o.a)(n).pipe(Object(a.a)((function(e){return r.handler.handle(e)})));if(e instanceof v||"events"===i.observe)return h;var f=h.pipe(Object(s.a)((function(e){return e instanceof k})));switch(i.observe||"body"){case"body":switch(n.responseType){case"arraybuffer":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body})));case"blob":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body})));case"text":return f.pipe(Object(c.a)((function(e){if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body})));case"json":default:return f.pipe(Object(c.a)((function(e){return e.body})))}case"response":return f;default:throw new Error("Unreachable: unhandled observe type ".concat(i.observe,"}"))}}},{key:"delete",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("DELETE",e,t)}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("GET",e,t)}},{key:"head",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("HEAD",e,t)}},{key:"jsonp",value:function(e,t){return this.request("JSONP",e,{params:(new m).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}},{key:"options",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.request("OPTIONS",e,t)}},{key:"patch",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PATCH",e,w(n,t))}},{key:"post",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("POST",e,w(n,t))}},{key:"put",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.request("PUT",e,w(n,t))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(l))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),E=function(){function e(t,n){_classCallCheck(this,e),this.next=t,this.interceptor=n}return _createClass(e,[{key:"handle",value:function(e){return this.interceptor.intercept(e,this.next)}}]),e}(),S=new r.q("HTTP_INTERCEPTORS"),T=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"intercept",value:function(e,t){return t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),x=/^\)\]\}',?\n/,A=function e(){_classCallCheck(this,e)},I=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"build",value:function(){return new XMLHttpRequest}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),j=function(){var e=function(){function e(t){_classCallCheck(this,e),this.xhrFactory=t}return _createClass(e,[{key:"handle",value:function(e){var t=this;if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new i.a((function(n){var r=t.xhrFactory.build();if(r.open(e.method,e.urlWithParams),e.withCredentials&&(r.withCredentials=!0),e.headers.forEach((function(e,t){return r.setRequestHeader(e,t.join(","))})),e.headers.has("Accept")||r.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){var o=e.detectContentTypeHeader();null!==o&&r.setRequestHeader("Content-Type",o)}if(e.responseType){var i=e.responseType.toLowerCase();r.responseType="json"!==i?i:"text"}var a=e.serializeBody(),s=null,c=function(){if(null!==s)return s;var t=1223===r.status?204:r.status,n=r.statusText||"OK",o=new d(r.getAllResponseHeaders()),i=function(e){return"responseURL"in e&&e.responseURL?e.responseURL:/^X-Request-URL:/m.test(e.getAllResponseHeaders())?e.getResponseHeader("X-Request-URL"):null}(r)||e.url;return s=new O({headers:o,status:t,statusText:n,url:i})},u=function(){var t=c(),o=t.headers,i=t.status,a=t.statusText,s=t.url,u=null;204!==i&&(u=void 0===r.response?r.responseText:r.response),0===i&&(i=u?200:0);var l=i>=200&&i<300;if("json"===e.responseType&&"string"==typeof u){var h=u;u=u.replace(x,"");try{u=""!==u?JSON.parse(u):null}catch(d){u=h,l&&(l=!1,u={error:d,text:u})}}l?(n.next(new k({body:u,headers:o,status:i,statusText:a,url:s||void 0})),n.complete()):n.error(new P({error:u,headers:o,status:i,statusText:a,url:s||void 0}))},l=function(e){var t=c().url,o=new P({error:e,status:r.status||0,statusText:r.statusText||"Unknown Error",url:t||void 0});n.error(o)},h=!1,f=function(t){h||(n.next(c()),h=!0);var o={type:_.DownloadProgress,loaded:t.loaded};t.lengthComputable&&(o.total=t.total),"text"===e.responseType&&r.responseText&&(o.partialText=r.responseText),n.next(o)},p=function(e){var t={type:_.UploadProgress,loaded:e.loaded};e.lengthComputable&&(t.total=e.total),n.next(t)};return r.addEventListener("load",u),r.addEventListener("error",l),e.reportProgress&&(r.addEventListener("progress",f),null!==a&&r.upload&&r.upload.addEventListener("progress",p)),r.send(a),n.next({type:_.Sent}),function(){r.removeEventListener("error",l),r.removeEventListener("load",u),e.reportProgress&&(r.removeEventListener("progress",f),null!==a&&r.upload&&r.upload.removeEventListener("progress",p)),r.abort()}}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(A))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),D=new r.q("XSRF_COOKIE_NAME"),N=new r.q("XSRF_HEADER_NAME"),R=function e(){_classCallCheck(this,e)},U=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this.doc=t,this.platform=n,this.cookieName=r,this.lastCookieString="",this.lastToken=null,this.parseCount=0}return _createClass(e,[{key:"getToken",value:function(){if("server"===this.platform)return null;var e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(u.s)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(u.c),r.Ub(r.B),r.Ub(D))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),F=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.tokenService=t,this.headerName=n}return _createClass(e,[{key:"intercept",value:function(e,t){var n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);var r=this.tokenService.getToken();return null===r||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,r)})),t.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(R),r.Ub(N))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),L=function(){var e=function(){function e(t,n){_classCallCheck(this,e),this.backend=t,this.injector=n,this.chain=null}return _createClass(e,[{key:"handle",value:function(e){if(null===this.chain){var t=this.injector.get(S,[]);this.chain=t.reduceRight((function(e,t){return new E(e,t)}),this.backend)}return this.chain.handle(e)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(r.Ub(h),r.Ub(r.r))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e}(),B=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"disable",value:function(){return{ngModule:e,providers:[{provide:F,useClass:T}]}}},{key:"withOptions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{ngModule:e,providers:[t.cookieName?{provide:D,useValue:t.cookieName}:[],t.headerName?{provide:N,useValue:t.headerName}:[]]}}}]),e}();return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},providers:[F,{provide:S,useExisting:F,multi:!0},{provide:R,useClass:U},{provide:D,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),e}(),H=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},providers:[M,{provide:l,useClass:L},j,{provide:h,useExisting:j},I,{provide:A,useExisting:I}],imports:[[B.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e}()},tl0M:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),(r=t.ECommonsInvocation||(t.ECommonsInvocation={})).FIXED="fixed",r.WHEN="when",r.IF="if"},trlK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Hcel"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"mapObject",value:function(e,t){if(!r.CommonsType.isObject(e))throw new Error("Trying to map a non-object");for(var n={},o=0,i=Object.keys(e);o<i.length;o++){var a=i[o];n[a]=t(e[a],a)}return n}},{key:"isEmpty",value:function(e){return 0===Object.keys(e).length}},{key:"stripNulls",value:function(t){if(null!=t){if(r.CommonsType.isDate(t))return t;if(r.CommonsType.isArray(t))return t.map((function(t){return e.stripNulls(t)}));if(r.CommonsType.isObject(t)){for(var n={},o=0,i=Object.keys(t);o<i.length;o++){var a=i[o],s=t[a];null!=s&&(n[a]=e.stripNulls(s))}return n}return t}}}]),e}();t.CommonsObject=o},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return yt})),n.d(t,"b",(function(){return fe})),n.d(t,"c",(function(){return de})),n.d(t,"d",(function(){return pe})),n.d(t,"e",(function(){return he})),n.d(t,"f",(function(){return Sn})),n.d(t,"g",(function(){return Rn})),n.d(t,"h",(function(){return xn})),n.d(t,"i",(function(){return Xn})),n.d(t,"j",(function(){return Ln}));var r=n("ofXK"),o=n("fXoL"),i=n("LRne"),a=n("Cfvw"),s=n("2Vo4"),c=n("HDdC"),u=function(){function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e}(),l=n("z+Ro"),h=n("DH7j"),d=n("l7GE"),f=n("ZUHj"),p=n("yCtX"),m={},g=function(){function e(t){_classCallCheck(this,e),this.resultSelector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new y(e,this.resultSelector))}}]),e}(),y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).resultSelector=r,o.active=0,o.values=[],o.observables=[],o}return _createClass(n,[{key:"_next",value:function(e){this.values.push(m),this.observables.push(e)}},{key:"_complete",value:function(){var e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(var n=0;n<t;n++){var r=e[n];this.add(Object(f.a)(this,r,r,n))}}}},{key:"notifyComplete",value:function(e){0==(this.active-=1)&&this.destination.complete()}},{key:"notifyNext",value:function(e,t,n,r,o){var i=this.values,a=this.toRespond?i[n]===m?--this.toRespond:this.toRespond:0;i[n]=t,0===a&&(this.resultSelector?this._tryResultSelector(i):this.destination.next(i.slice()))}},{key:"_tryResultSelector",value:function(e){var t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}]),n}(d.a),b=n("EY2u");function v(e){return new c.a((function(t){var n;try{n=e()}catch(r){return void t.error(r)}return(n?Object(a.a)(n):Object(b.b)()).subscribe(t)}))}var _=n("XNiG"),C=n("lJxs"),O=n("bHdf");function k(){return Object(O.a)(1)}var P=n("pLZG"),w=n("7o/Q"),M=n("4I5i");function E(e){return function(t){return 0===e?Object(b.b)():t.lift(new S(e))}}var S=function(){function e(t){if(_classCallCheck(this,e),this.total=t,this.total<0)throw new M.a}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new T(e,this.total))}}]),e}(),T=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).total=r,o.ring=new Array,o.count=0,o}return _createClass(n,[{key:"_next",value:function(e){var t=this.ring,n=this.total,r=this.count++;t.length<n?t.push(e):t[r%n]=e}},{key:"_complete",value:function(){var e=this.destination,t=this.count;if(t>0)for(var n=this.count>=this.total?this.total:this.count,r=this.ring,o=0;o<n;o++){var i=t++%n;e.next(r[i])}e.complete()}}]),n}(w.a);function x(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:j;return function(t){return t.lift(new A(e))}}var A=function(){function e(t){_classCallCheck(this,e),this.errorFactory=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new I(e,this.errorFactory))}}]),e}(),I=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).errorFactory=r,o.hasValue=!1,o}return _createClass(n,[{key:"_next",value:function(e){this.hasValue=!0,this.destination.next(e)}},{key:"_complete",value:function(){if(this.hasValue)return this.destination.complete();var e;try{e=this.errorFactory()}catch(t){e=t}this.destination.error(e)}}]),n}(w.a);function j(){return new u}function D(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return function(t){return t.lift(new N(e))}}var N=function(){function e(t){_classCallCheck(this,e),this.defaultValue=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new R(e,this.defaultValue))}}]),e}(),R=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).defaultValue=r,o.isEmpty=!0,o}return _createClass(n,[{key:"_next",value:function(e){this.isEmpty=!1,this.destination.next(e)}},{key:"_complete",value:function(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}]),n}(w.a),U=n("SpAZ");function F(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(P.a)((function(t,n){return e(t,n,r)})):U.a,E(1),n?D(t):x((function(){return new u})))}}var L=n("51Dv");function B(e){return function(t){var n=new H(e),r=t.lift(n);return n.caught=r}}var H=function(){function e(t){_classCallCheck(this,e),this.selector=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new z(e,this.selector,this.caught))}}]),e}(),z=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e)).selector=r,i.caught=o,i}return _createClass(n,[{key:"error",value:function(e){if(!this.isStopped){var t;try{t=this.selector(e,this.caught)}catch(i){return void _get(_getPrototypeOf(n.prototype),"error",this).call(this,i)}this._unsubscribeAndRecycle();var r=new L.a(this,void 0,void 0);this.add(r);var o=Object(f.a)(this,t,void 0,void 0,r);o!==r&&this.add(o)}}}]),n}(d.a),V=n("IzEk");function G(e,t){var n=arguments.length>=2;return function(r){return r.pipe(e?Object(P.a)((function(t,n){return e(t,n,r)})):U.a,Object(V.a)(1),n?D(t):x((function(){return new u})))}}var K=n("5+tZ"),q=function(){function e(t,n,r){_classCallCheck(this,e),this.predicate=t,this.thisArg=n,this.source=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new Y(e,this.predicate,this.thisArg,this.source))}}]),e}(),Y=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).predicate=r,a.thisArg=o,a.source=i,a.index=0,a.thisArg=o||_assertThisInitialized(a),a}return _createClass(n,[{key:"notifyComplete",value:function(e){this.destination.next(e),this.destination.complete()}},{key:"_next",value:function(e){var t=!1;try{t=this.predicate.call(this.thisArg,e,this.index++,this.source)}catch(n){return void this.destination.error(n)}t||this.notifyComplete(!1)}},{key:"_complete",value:function(){this.notifyComplete(!0)}}]),n}(w.a);function Q(e,t){return"function"==typeof t?function(n){return n.pipe(Q((function(n,r){return Object(a.a)(e(n,r)).pipe(Object(C.a)((function(e,o){return t(n,e,r,o)})))})))}:function(t){return t.lift(new W(e))}}var W=function(){function e(t){_classCallCheck(this,e),this.project=t}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new X(e,this.project))}}]),e}(),X=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).project=r,o.index=0,o}return _createClass(n,[{key:"_next",value:function(e){var t,n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this._innerSub(t,e,n)}},{key:"_innerSub",value:function(e,t,n){var r=this.innerSubscription;r&&r.unsubscribe();var o=new L.a(this,t,n),i=this.destination;i.add(o),this.innerSubscription=Object(f.a)(this,e,void 0,void 0,o),this.innerSubscription!==o&&i.add(this.innerSubscription)}},{key:"_complete",value:function(){var e=this.innerSubscription;e&&!e.closed||_get(_getPrototypeOf(n.prototype),"_complete",this).call(this),this.unsubscribe()}},{key:"_unsubscribe",value:function(){this.innerSubscription=null}},{key:"notifyComplete",value:function(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&_get(_getPrototypeOf(n.prototype),"_complete",this).call(this)}},{key:"notifyNext",value:function(e,t,n,r,o){this.destination.next(t)}}]),n}(d.a);function Z(){return k()(Object(i.a).apply(void 0,arguments))}function $(e,t){var n=!1;return arguments.length>=2&&(n=!0),function(r){return r.lift(new J(e,t,n))}}var J=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];_classCallCheck(this,e),this.accumulator=t,this.seed=n,this.hasSeed=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ee(e,this.accumulator,this.seed,this.hasSeed))}}]),e}(),ee=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e)).accumulator=r,a._seed=o,a.hasSeed=i,a.index=0,a}return _createClass(n,[{key:"_next",value:function(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}},{key:"_tryNext",value:function(e){var t,n=this.index++;try{t=this.accumulator(this.seed,e,n)}catch(r){this.destination.error(r)}this.seed=t,this.destination.next(t)}},{key:"seed",get:function(){return this._seed},set:function(e){this.hasSeed=!0,this._seed=e}}]),n}(w.a),te=n("bOdf"),ne=n("mCNh"),re=n("KqfI"),oe=n("n6bG");function ie(e,t,n){return function(r){return r.lift(new se(e,t,n))}}var ae,se=function(){function e(t,n,r){_classCallCheck(this,e),this.nextOrObserver=t,this.error=n,this.complete=r}return _createClass(e,[{key:"call",value:function(e,t){return t.subscribe(new ce(e,this.nextOrObserver,this.error,this.complete))}}]),e}(),ce=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e))._tapNext=re.a,a._tapError=re.a,a._tapComplete=re.a,a._tapError=o||re.a,a._tapComplete=i||re.a,Object(oe.a)(r)?(a._context=_assertThisInitialized(a),a._tapNext=r):r&&(a._context=r,a._tapNext=r.next||re.a,a._tapError=r.error||re.a,a._tapComplete=r.complete||re.a),a}return _createClass(n,[{key:"_next",value:function(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}},{key:"_error",value:function(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}},{key:"_complete",value:function(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}]),n}(w.a),ue=n("nYR2"),le=function e(t,n){_classCallCheck(this,e),this.id=t,this.url=n},he=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"imperative",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return _classCallCheck(this,n),(o=t.call(this,e,r)).navigationTrigger=i,o.restoredState=a,o}return _createClass(n,[{key:"toString",value:function(){return"NavigationStart(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(le),de=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e,r)).urlAfterRedirects=o,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"')")}}]),n}(le),fe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e,r)).reason=o,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationCancel(id: ".concat(this.id,", url: '").concat(this.url,"')")}}]),n}(le),pe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){var i;return _classCallCheck(this,n),(i=t.call(this,e,r)).error=o,i}return _createClass(n,[{key:"toString",value:function(){return"NavigationError(id: ".concat(this.id,", url: '").concat(this.url,"', error: ").concat(this.error,")")}}]),n}(le),me=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=o,a.state=i,a}return _createClass(n,[{key:"toString",value:function(){return"RoutesRecognized(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(le),ge=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=o,a.state=i,a}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(le),ye=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i,a){var s;return _classCallCheck(this,n),(s=t.call(this,e,r)).urlAfterRedirects=o,s.state=i,s.shouldActivate=a,s}return _createClass(n,[{key:"toString",value:function(){return"GuardsCheckEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,", shouldActivate: ").concat(this.shouldActivate,")")}}]),n}(le),be=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=o,a.state=i,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveStart(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(le),ve=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,e,r)).urlAfterRedirects=o,a.state=i,a}return _createClass(n,[{key:"toString",value:function(){return"ResolveEnd(id: ".concat(this.id,", url: '").concat(this.url,"', urlAfterRedirects: '").concat(this.urlAfterRedirects,"', state: ").concat(this.state,")")}}]),n}(le),_e=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadStart(path: ".concat(this.route.path,")")}}]),e}(),Ce=function(){function e(t){_classCallCheck(this,e),this.route=t}return _createClass(e,[{key:"toString",value:function(){return"RouteConfigLoadEnd(path: ".concat(this.route.path,")")}}]),e}(),Oe=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),ke=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ChildActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Pe=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationStart(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),we=function(){function e(t){_classCallCheck(this,e),this.snapshot=t}return _createClass(e,[{key:"toString",value:function(){return"ActivationEnd(path: '".concat(this.snapshot.routeConfig&&this.snapshot.routeConfig.path||"","')")}}]),e}(),Me=function(){function e(t,n,r){_classCallCheck(this,e),this.routerEvent=t,this.position=n,this.anchor=r}return _createClass(e,[{key:"toString",value:function(){return"Scroll(anchor: '".concat(this.anchor,"', position: '").concat(this.position?"".concat(this.position[0],", ").concat(this.position[1]):null,"')")}}]),e}(),Ee=((ae=function e(){_classCallCheck(this,e)}).\u0275fac=function(e){return new(e||ae)},ae.\u0275cmp=o.Fb({type:ae,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&o.Mb(0,"router-outlet")},directives:function(){return[Ln]},encapsulation:2}),ae),Se=function(){function e(t){_classCallCheck(this,e),this.params=t||{}}return _createClass(e,[{key:"has",value:function(e){return this.params.hasOwnProperty(e)}},{key:"get",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t[0]:t}return null}},{key:"getAll",value:function(e){if(this.has(e)){var t=this.params[e];return Array.isArray(t)?t:[t]}return[]}},{key:"keys",get:function(){return Object.keys(this.params)}}]),e}();function Te(e){return new Se(e)}function xe(e){var t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function Ae(e,t,n){var r=n.path.split("/");if(r.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||r.length<e.length))return null;for(var o={},i=0;i<r.length;i++){var a=r[i],s=e[i];if(a.startsWith(":"))o[a.substring(1)]=s;else if(a!==s.path)return null}return{consumed:e.slice(0,r.length),posParams:o}}var Ie=function e(t,n){_classCallCheck(this,e),this.routes=t,this.module=n};function je(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=0;n<e.length;n++){var r=e[n];De(r,Ne(t,r))}}function De(e,t){if(!e)throw new Error("\n Invalid configuration of route '".concat(t,"': Encountered undefined route.\n The reason might be an extra comma.\n\n Example:\n const routes: Routes = [\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\n { path: 'dashboard', component: DashboardComponent },, << two commas\n { path: 'detail/:id', component: HeroDetailComponent }\n ];\n "));if(Array.isArray(e))throw new Error("Invalid configuration of route '".concat(t,"': Array cannot be specified"));if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error("Invalid configuration of route '".concat(t,"': a componentless route without children or loadChildren cannot have a named outlet set"));if(e.redirectTo&&e.children)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and children cannot be used together"));if(e.redirectTo&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and loadChildren cannot be used together"));if(e.children&&e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"': children and loadChildren cannot be used together"));if(e.redirectTo&&e.component)throw new Error("Invalid configuration of route '".concat(t,"': redirectTo and component cannot be used together"));if(e.path&&e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': path and matcher cannot be used together"));if(void 0===e.redirectTo&&!e.component&&!e.children&&!e.loadChildren)throw new Error("Invalid configuration of route '".concat(t,"'. One of the following must be provided: component, redirectTo, children or loadChildren"));if(void 0===e.path&&void 0===e.matcher)throw new Error("Invalid configuration of route '".concat(t,"': routes must have either a path or a matcher specified"));if("string"==typeof e.path&&"/"===e.path.charAt(0))throw new Error("Invalid configuration of route '".concat(t,"': path cannot start with a slash"));if(""===e.path&&void 0!==e.redirectTo&&void 0===e.pathMatch)throw new Error("Invalid configuration of route '{path: \"".concat(t,'", redirectTo: "').concat(e.redirectTo,"\"}': please provide 'pathMatch'. The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'."));if(void 0!==e.pathMatch&&"full"!==e.pathMatch&&"prefix"!==e.pathMatch)throw new Error("Invalid configuration of route '".concat(t,"': pathMatch can only be set to 'prefix' or 'full'"));e.children&&je(e.children,t)}function Ne(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:"".concat(e,"/").concat(t.path):"":e}function Re(e){var t=e.children&&e.children.map(Re),n=t?Object.assign(Object.assign({},e),{children:t}):Object.assign({},e);return!n.component&&(t||n.loadChildren)&&n.outlet&&"primary"!==n.outlet&&(n.component=Ee),n}function Ue(e,t){var n,r=Object.keys(e),o=Object.keys(t);if(!r||!o||r.length!=o.length)return!1;for(var i=0;i<r.length;i++)if(!Fe(e[n=r[i]],t[n]))return!1;return!0}function Fe(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every((function(e){return t.indexOf(e)>-1})):e===t}function Le(e){return Array.prototype.concat.apply([],e)}function Be(e){return e.length>0?e[e.length-1]:null}function He(e,t){for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)}function ze(e){return Object(o.pb)(e)?e:Object(o.qb)(e)?Object(a.a)(Promise.resolve(e)):Object(i.a)(e)}function Ve(e,t,n){return n?function(e,t){return Ue(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ye(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(var r in n.children){if(!t.children[r])return!1;if(!e(t.children[r],n.children[r]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every((function(n){return Fe(e[n],t[n])}))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,r,o){if(n.segments.length>o.length)return!!Ye(n.segments.slice(0,o.length),o)&&!r.hasChildren();if(n.segments.length===o.length){if(!Ye(n.segments,o))return!1;for(var i in r.children){if(!n.children[i])return!1;if(!e(n.children[i],r.children[i]))return!1}return!0}var a=o.slice(0,n.segments.length),s=o.slice(n.segments.length);return!!Ye(n.segments,a)&&!!n.children.primary&&t(n.children.primary,r,s)}(t,n,n.segments)}(e.root,t.root)}var Ge=function(){function e(t,n,r){_classCallCheck(this,e),this.root=t,this.queryParams=n,this.fragment=r}return _createClass(e,[{key:"toString",value:function(){return Ze.serialize(this)}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}}]),e}(),Ke=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.segments=t,this.children=n,this.parent=null,He(n,(function(e,t){return e.parent=r}))}return _createClass(e,[{key:"hasChildren",value:function(){return this.numberOfChildren>0}},{key:"toString",value:function(){return $e(this)}},{key:"numberOfChildren",get:function(){return Object.keys(this.children).length}}]),e}(),qe=function(){function e(t,n){_classCallCheck(this,e),this.path=t,this.parameters=n}return _createClass(e,[{key:"toString",value:function(){return ot(this)}},{key:"parameterMap",get:function(){return this._parameterMap||(this._parameterMap=Te(this.parameters)),this._parameterMap}}]),e}();function Ye(e,t){return e.length===t.length&&e.every((function(e,n){return e.path===t[n].path}))}function Qe(e,t){var n=[];return He(e.children,(function(e,r){"primary"===r&&(n=n.concat(t(e,r)))})),He(e.children,(function(e,r){"primary"!==r&&(n=n.concat(t(e,r)))})),n}var We=function e(){_classCallCheck(this,e)},Xe=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"parse",value:function(e){var t=new ut(e);return new Ge(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}},{key:"serialize",value:function(e){return"".concat("/"+function e(t,n){if(!t.hasChildren())return $e(t);if(n){var r=t.children.primary?e(t.children.primary,!1):"",o=[];return He(t.children,(function(t,n){"primary"!==n&&o.push("".concat(n,":").concat(e(t,!1)))})),o.length>0?"".concat(r,"(").concat(o.join("//"),")"):r}var i=Qe(t,(function(n,r){return"primary"===r?[e(t.children.primary,!1)]:["".concat(r,":").concat(e(n,!1))]}));return"".concat($e(t),"/(").concat(i.join("//"),")")}(e.root,!0)).concat((t=e.queryParams,n=Object.keys(t).map((function(e){var n=t[e];return Array.isArray(n)?n.map((function(t){return"".concat(et(e),"=").concat(et(t))})).join("&"):"".concat(et(e),"=").concat(et(n))})),n.length?"?"+n.join("&"):"")).concat("string"==typeof e.fragment?"#"+encodeURI(e.fragment):"");var t,n}}]),e}(),Ze=new Xe;function $e(e){return e.segments.map((function(e){return ot(e)})).join("/")}function Je(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function et(e){return Je(e).replace(/%3B/gi,";")}function tt(e){return Je(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function nt(e){return decodeURIComponent(e)}function rt(e){return nt(e.replace(/\+/g,"%20"))}function ot(e){return"".concat(tt(e.path)).concat((t=e.parameters,Object.keys(t).map((function(e){return";".concat(tt(e),"=").concat(tt(t[e]))})).join("")));var t}var it=/^[^\/()?;=#]+/;function at(e){var t=e.match(it);return t?t[0]:""}var st=/^[^=?&#]+/,ct=/^[^?&#]+/,ut=function(){function e(t){_classCallCheck(this,e),this.url=t,this.remaining=t}return _createClass(e,[{key:"parseRootSegment",value:function(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ke([],{}):new Ke([],this.parseChildren())}},{key:"parseQueryParams",value:function(){var e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}},{key:"parseFragment",value:function(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}},{key:"parseChildren",value:function(){if(""===this.remaining)return{};this.consumeOptional("/");var e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());var t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));var n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ke(e,t)),n}},{key:"parseSegment",value:function(){var e=at(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error("Empty path url segment cannot have parameters: '".concat(this.remaining,"'."));return this.capture(e),new qe(nt(e),this.parseMatrixParams())}},{key:"parseMatrixParams",value:function(){for(var e={};this.consumeOptional(";");)this.parseParam(e);return e}},{key:"parseParam",value:function(e){var t=at(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=at(this.remaining);r&&(n=r,this.capture(n))}e[nt(t)]=nt(n)}}},{key:"parseQueryParam",value:function(e){var t=function(e){var t=e.match(st);return t?t[0]:""}(this.remaining);if(t){this.capture(t);var n="";if(this.consumeOptional("=")){var r=function(e){var t=e.match(ct);return t?t[0]:""}(this.remaining);r&&(n=r,this.capture(n))}var o=rt(t),i=rt(n);if(e.hasOwnProperty(o)){var a=e[o];Array.isArray(a)||(a=[a],e[o]=a),a.push(i)}else e[o]=i}}},{key:"parseParens",value:function(e){var t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){var n=at(this.remaining),r=this.remaining[n.length];if("/"!==r&&")"!==r&&";"!==r)throw new Error("Cannot parse url '".concat(this.url,"'"));var o=void 0;n.indexOf(":")>-1?(o=n.substr(0,n.indexOf(":")),this.capture(o),this.capture(":")):e&&(o="primary");var i=this.parseChildren();t[o]=1===Object.keys(i).length?i.primary:new Ke([],i),this.consumeOptional("//")}return t}},{key:"peekStartsWith",value:function(e){return this.remaining.startsWith(e)}},{key:"consumeOptional",value:function(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}},{key:"capture",value:function(e){if(!this.consumeOptional(e))throw new Error('Expected "'.concat(e,'".'))}}]),e}(),lt=function(){function e(t){_classCallCheck(this,e),this._root=t}return _createClass(e,[{key:"parent",value:function(e){var t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}},{key:"children",value:function(e){var t=ht(e,this._root);return t?t.children.map((function(e){return e.value})):[]}},{key:"firstChild",value:function(e){var t=ht(e,this._root);return t&&t.children.length>0?t.children[0].value:null}},{key:"siblings",value:function(e){var t=dt(e,this._root);return t.length<2?[]:t[t.length-2].children.map((function(e){return e.value})).filter((function(t){return t!==e}))}},{key:"pathFromRoot",value:function(e){return dt(e,this._root).map((function(e){return e.value}))}},{key:"root",get:function(){return this._root.value}}]),e}();function ht(e,t){if(e===t.value)return t;var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var o=ht(e,n.value);if(o)return o}}catch(i){r.e(i)}finally{r.f()}return null}function dt(e,t){if(e===t.value)return[t];var n,r=_createForOfIteratorHelper(t.children);try{for(r.s();!(n=r.n()).done;){var o=dt(e,n.value);if(o.length)return o.unshift(t),o}}catch(i){r.e(i)}finally{r.f()}return[]}var ft=function(){function e(t,n){_classCallCheck(this,e),this.value=t,this.children=n}return _createClass(e,[{key:"toString",value:function(){return"TreeNode(".concat(this.value,")")}}]),e}();function pt(e){var t={};return e&&e.children.forEach((function(e){return t[e.value.outlet]=e})),t}var mt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,e)).snapshot=r,Ct(_assertThisInitialized(o),e),o}return _createClass(n,[{key:"toString",value:function(){return this.snapshot.toString()}}]),n}(lt);function gt(e,t){var n=function(e,t){var n=new vt([],{},{},"",{},"primary",t,null,e.root,-1,{});return new _t("",new ft(n,[]))}(e,t),r=new s.a([new qe("",{})]),o=new s.a({}),i=new s.a({}),a=new s.a({}),c=new s.a(""),u=new yt(r,o,a,c,i,"primary",t,n.root);return u.snapshot=n.root,new mt(new ft(u,[]),n)}var yt=function(){function e(t,n,r,o,i,a,s,c){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=a,this.component=s,this._futureSnapshot=c}return _createClass(e,[{key:"toString",value:function(){return this.snapshot?this.snapshot.toString():"Future(".concat(this._futureSnapshot,")")}},{key:"routeConfig",get:function(){return this._futureSnapshot.routeConfig}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=this.params.pipe(Object(C.a)((function(e){return Te(e)})))),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(C.a)((function(e){return Te(e)})))),this._queryParamMap}}]),e}();function bt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"emptyOnly",n=e.pathFromRoot,r=0;if("always"!==t)for(r=n.length-1;r>=1;){var o=n[r],i=n[r-1];if(o.routeConfig&&""===o.routeConfig.path)r--;else{if(i.component)break;r--}}return function(e){return e.reduce((function(e,t){return{params:Object.assign(Object.assign({},e.params),t.params),data:Object.assign(Object.assign({},e.data),t.data),resolve:Object.assign(Object.assign({},e.resolve),t._resolvedData)}}),{params:{},data:{},resolve:{}})}(n.slice(r))}var vt=function(){function e(t,n,r,o,i,a,s,c,u,l,h){_classCallCheck(this,e),this.url=t,this.params=n,this.queryParams=r,this.fragment=o,this.data=i,this.outlet=a,this.component=s,this.routeConfig=c,this._urlSegment=u,this._lastPathIndex=l,this._resolve=h}return _createClass(e,[{key:"toString",value:function(){return"Route(url:'".concat(this.url.map((function(e){return e.toString()})).join("/"),"', path:'").concat(this.routeConfig?this.routeConfig.path:"","')")}},{key:"root",get:function(){return this._routerState.root}},{key:"parent",get:function(){return this._routerState.parent(this)}},{key:"firstChild",get:function(){return this._routerState.firstChild(this)}},{key:"children",get:function(){return this._routerState.children(this)}},{key:"pathFromRoot",get:function(){return this._routerState.pathFromRoot(this)}},{key:"paramMap",get:function(){return this._paramMap||(this._paramMap=Te(this.params)),this._paramMap}},{key:"queryParamMap",get:function(){return this._queryParamMap||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}}]),e}(),_t=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this,r)).url=e,Ct(_assertThisInitialized(o),r),o}return _createClass(n,[{key:"toString",value:function(){return Ot(this._root)}}]),n}(lt);function Ct(e,t){t.value._routerState=e,t.children.forEach((function(t){return Ct(e,t)}))}function Ot(e){var t=e.children.length>0?" { ".concat(e.children.map(Ot).join(", ")," } "):"";return"".concat(e.value).concat(t)}function kt(e){if(e.snapshot){var t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Ue(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Ue(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(!Ue(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Ue(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function Pt(e,t){var n,r;return Ue(e.params,t.params)&&Ye(n=e.url,r=t.url)&&n.every((function(e,t){return Ue(e.parameters,r[t].parameters)}))&&!(!e.parent!=!t.parent)&&(!e.parent||Pt(e.parent,t.parent))}function wt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function Mt(e,t,n,r,o){var i={};return r&&He(r,(function(e,t){i[t]=Array.isArray(e)?e.map((function(e){return""+e})):""+e})),new Ge(n.root===e?t:function e(t,n,r){var o={};return He(t.children,(function(t,i){o[i]=t===n?r:e(t,n,r)})),new Ke(t.segments,o)}(n.root,e,t),i,o)}var Et=function(){function e(t,n,r){if(_classCallCheck(this,e),this.isAbsolute=t,this.numberOfDoubleDots=n,this.commands=r,t&&r.length>0&&wt(r[0]))throw new Error("Root segment cannot have matrix parameters");var o=r.find((function(e){return"object"==typeof e&&null!=e&&e.outlets}));if(o&&o!==Be(r))throw new Error("{outlets:{}} has to be the last command")}return _createClass(e,[{key:"toRoot",value:function(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}]),e}(),St=function e(t,n,r){_classCallCheck(this,e),this.segmentGroup=t,this.processChildren=n,this.index=r};function Tt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function xt(e,t,n){if(e||(e=new Ke([],{})),0===e.segments.length&&e.hasChildren())return At(e,t,n);var r=function(e,t,n){for(var r=0,o=t,i={match:!1,pathIndex:0,commandIndex:0};o<e.segments.length;){if(r>=n.length)return i;var a=e.segments[o],s=Tt(n[r]),c=r<n.length-1?n[r+1]:null;if(o>0&&void 0===s)break;if(s&&c&&"object"==typeof c&&void 0===c.outlets){if(!Nt(s,c,a))return i;r+=2}else{if(!Nt(s,{},a))return i;r++}o++}return{match:!0,pathIndex:o,commandIndex:r}}(e,t,n),o=n.slice(r.commandIndex);if(r.match&&r.pathIndex<e.segments.length){var i=new Ke(e.segments.slice(0,r.pathIndex),{});return i.children.primary=new Ke(e.segments.slice(r.pathIndex),e.children),At(i,0,o)}return r.match&&0===o.length?new Ke(e.segments,{}):r.match&&!e.hasChildren()?It(e,t,n):r.match?At(e,0,o):It(e,t,n)}function At(e,t,n){if(0===n.length)return new Ke(e.segments,{});var r=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),o={};return He(r,(function(n,r){null!==n&&(o[r]=xt(e.children[r],t,n))})),He(e.children,(function(e,t){void 0===r[t]&&(o[t]=e)})),new Ke(e.segments,o)}function It(e,t,n){for(var r=e.segments.slice(0,t),o=0;o<n.length;){if("object"==typeof n[o]&&void 0!==n[o].outlets){var i=jt(n[o].outlets);return new Ke(r,i)}if(0===o&&wt(n[0]))r.push(new qe(e.segments[t].path,n[0])),o++;else{var a=Tt(n[o]),s=o<n.length-1?n[o+1]:null;a&&s&&wt(s)?(r.push(new qe(a,Dt(s))),o+=2):(r.push(new qe(a,{})),o++)}}return new Ke(r,{})}function jt(e){var t={};return He(e,(function(e,n){null!==e&&(t[n]=It(new Ke([],{}),0,e))})),t}function Dt(e){var t={};return He(e,(function(e,n){return t[n]=""+e})),t}function Nt(e,t,n){return e==n.path&&Ue(t,n.parameters)}var Rt=function(){function e(t,n,r,o){_classCallCheck(this,e),this.routeReuseStrategy=t,this.futureState=n,this.currState=r,this.forwardEvent=o}return _createClass(e,[{key:"activate",value:function(e){var t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),kt(this.futureState.root),this.activateChildRoutes(t,n,e)}},{key:"deactivateChildRoutes",value:function(e,t,n){var r=this,o=pt(t);e.children.forEach((function(e){var t=e.value.outlet;r.deactivateRoutes(e,o[t],n),delete o[t]})),He(o,(function(e,t){r.deactivateRouteAndItsChildren(e,n)}))}},{key:"deactivateRoutes",value:function(e,t,n){var r=e.value,o=t?t.value:null;if(r===o)if(r.component){var i=n.getContext(r.outlet);i&&this.deactivateChildRoutes(e,t,i.children)}else this.deactivateChildRoutes(e,t,n);else o&&this.deactivateRouteAndItsChildren(t,n)}},{key:"deactivateRouteAndItsChildren",value:function(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}},{key:"detachAndStoreRouteSubtree",value:function(e,t){var n=t.getContext(e.value.outlet);if(n&&n.outlet){var r=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:r,route:e,contexts:o})}}},{key:"deactivateRouteAndOutlet",value:function(e,t){var n=this,r=t.getContext(e.value.outlet);if(r){var o=pt(e),i=e.value.component?r.children:t;He(o,(function(e,t){return n.deactivateRouteAndItsChildren(e,i)})),r.outlet&&(r.outlet.deactivate(),r.children.onOutletDeactivated())}}},{key:"activateChildRoutes",value:function(e,t,n){var r=this,o=pt(t);e.children.forEach((function(e){r.activateRoutes(e,o[e.value.outlet],n),r.forwardEvent(new we(e.value.snapshot))})),e.children.length&&this.forwardEvent(new ke(e.value.snapshot))}},{key:"activateRoutes",value:function(e,t,n){var r=e.value,o=t?t.value:null;if(kt(r),r===o)if(r.component){var i=n.getOrCreateContext(r.outlet);this.activateChildRoutes(e,t,i.children)}else this.activateChildRoutes(e,t,n);else if(r.component){var a=n.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){var s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),a.children.onOutletReAttached(s.contexts),a.attachRef=s.componentRef,a.route=s.route.value,a.outlet&&a.outlet.attach(s.componentRef,s.route.value),Ut(s.route)}else{var c=function(e){for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig;if(n&&n.component)return null}return null}(r.snapshot),u=c?c.module.componentFactoryResolver:null;a.attachRef=null,a.route=r,a.resolver=u,a.outlet&&a.outlet.activateWith(r,u),this.activateChildRoutes(e,null,a.children)}}else this.activateChildRoutes(e,null,n)}}]),e}();function Ut(e){kt(e.value),e.children.forEach(Ut)}function Ft(e){return"function"==typeof e}function Lt(e){return e instanceof Ge}var Bt=function e(t){_classCallCheck(this,e),this.segmentGroup=t||null},Ht=function e(t){_classCallCheck(this,e),this.urlTree=t};function zt(e){return new c.a((function(t){return t.error(new Bt(e))}))}function Vt(e){return new c.a((function(t){return t.error(new Ht(e))}))}function Gt(e){return new c.a((function(t){return t.error(new Error("Only absolute redirects can have named outlets. redirectTo: '".concat(e,"'")))}))}var Kt=function(){function e(t,n,r,i,a){_classCallCheck(this,e),this.configLoader=n,this.urlSerializer=r,this.urlTree=i,this.config=a,this.allowRedirects=!0,this.ngModule=t.get(o.x)}return _createClass(e,[{key:"apply",value:function(){var e=this;return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(C.a)((function(t){return e.createUrlTree(t,e.urlTree.queryParams,e.urlTree.fragment)}))).pipe(B((function(t){if(t instanceof Ht)return e.allowRedirects=!1,e.match(t.urlTree);if(t instanceof Bt)throw e.noMatchError(t);throw t})))}},{key:"match",value:function(e){var t=this;return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(C.a)((function(n){return t.createUrlTree(n,e.queryParams,e.fragment)}))).pipe(B((function(e){if(e instanceof Bt)throw t.noMatchError(e);throw e})))}},{key:"noMatchError",value:function(e){return new Error("Cannot match any routes. URL Segment: '".concat(e.segmentGroup,"'"))}},{key:"createUrlTree",value:function(e,t,n){var r=e.segments.length>0?new Ke([],{primary:e}):e;return new Ge(r,t,n)}},{key:"expandSegmentGroup",value:function(e,t,n,r){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(C.a)((function(e){return new Ke([],e)}))):this.expandSegment(e,n,t,n.segments,r,!0)}},{key:"expandChildren",value:function(e,t,n){var r=this;return function(n,o){if(0===Object.keys(n).length)return Object(i.a)({});var a=[],s=[],c={};return He(n,(function(n,o){var i,u,l=(i=o,u=n,r.expandSegmentGroup(e,t,u,i)).pipe(Object(C.a)((function(e){return c[o]=e})));"primary"===o?a.push(l):s.push(l)})),i.a.apply(null,a.concat(s)).pipe(k(),F(),Object(C.a)((function(){return c})))}(n.children)}},{key:"expandSegment",value:function(e,t,n,r,o,a){var s=this;return Object(i.a).apply(void 0,_toConsumableArray(n)).pipe(Object(C.a)((function(c){return s.expandSegmentAgainstRoute(e,t,n,c,r,o,a).pipe(B((function(e){if(e instanceof Bt)return Object(i.a)(null);throw e})))})),k(),G((function(e){return!!e})),B((function(e,n){if(e instanceof u||"EmptyError"===e.name){if(s.noLeftoversInUrl(t,r,o))return Object(i.a)(new Ke([],{}));throw new Bt(t)}throw e})))}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"expandSegmentAgainstRoute",value:function(e,t,n,r,o,i,a){return Wt(r)!==i?zt(t):void 0===r.redirectTo?this.matchSegmentAgainstRoute(e,t,r,o):a&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i):zt(t)}},{key:"expandSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,o,i){return"**"===r.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,r,i):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,r,o,i)}},{key:"expandWildCardWithParamsAgainstRouteUsingRedirect",value:function(e,t,n,r){var o=this,i=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?Vt(i):this.lineralizeSegments(n,i).pipe(Object(K.a)((function(n){var i=new Ke(n,{});return o.expandSegment(e,i,t,n,r,!1)})))}},{key:"expandRegularSegmentAgainstRouteUsingRedirect",value:function(e,t,n,r,o,i){var a=this,s=qt(t,r,o),c=s.matched,u=s.consumedSegments,l=s.lastChild,h=s.positionalParamSegments;if(!c)return zt(t);var d=this.applyRedirectCommands(u,r.redirectTo,h);return r.redirectTo.startsWith("/")?Vt(d):this.lineralizeSegments(r,d).pipe(Object(K.a)((function(r){return a.expandSegment(e,t,n,r.concat(o.slice(l)),i,!1)})))}},{key:"matchSegmentAgainstRoute",value:function(e,t,n,r){var o=this;if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(C.a)((function(e){return n._loadedConfig=e,new Ke(r,{})}))):Object(i.a)(new Ke(r,{}));var a=qt(t,n,r),s=a.matched,c=a.consumedSegments,u=a.lastChild;if(!s)return zt(t);var l=r.slice(u);return this.getChildConfig(e,n,r).pipe(Object(K.a)((function(e){var n=e.module,r=e.routes,a=function(e,t,n,r){return n.length>0&&function(e,t,n){return n.some((function(n){return Qt(e,t,n)&&"primary"!==Wt(n)}))}(e,n,r)?{segmentGroup:Yt(new Ke(t,function(e,t){var n={};n.primary=t;var r,o=_createForOfIteratorHelper(e);try{for(o.s();!(r=o.n()).done;){var i=r.value;""===i.path&&"primary"!==Wt(i)&&(n[Wt(i)]=new Ke([],{}))}}catch(a){o.e(a)}finally{o.f()}return n}(r,new Ke(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some((function(n){return Qt(e,t,n)}))}(e,n,r)?{segmentGroup:Yt(new Ke(e.segments,function(e,t,n,r){var o,i={},a=_createForOfIteratorHelper(n);try{for(a.s();!(o=a.n()).done;){var s=o.value;Qt(e,t,s)&&!r[Wt(s)]&&(i[Wt(s)]=new Ke([],{}))}}catch(c){a.e(c)}finally{a.f()}return Object.assign(Object.assign({},r),i)}(e,n,r,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,c,l,r),s=a.segmentGroup,u=a.slicedSegments;return 0===u.length&&s.hasChildren()?o.expandChildren(n,r,s).pipe(Object(C.a)((function(e){return new Ke(c,e)}))):0===r.length&&0===u.length?Object(i.a)(new Ke(c,{})):o.expandSegment(n,s,r,u,"primary",!0).pipe(Object(C.a)((function(e){return new Ke(c.concat(e.segments),e.children)})))})))}},{key:"getChildConfig",value:function(e,t,n){var r=this;return t.children?Object(i.a)(new Ie(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(i.a)(t._loadedConfig):function(e,t,n){var r,o=t.canLoad;return o&&0!==o.length?Object(a.a)(o).pipe(Object(C.a)((function(r){var o,i=e.get(r);if(function(e){return e&&Ft(e.canLoad)}(i))o=i.canLoad(t,n);else{if(!Ft(i))throw new Error("Invalid CanLoad guard");o=i(t,n)}return ze(o)}))).pipe(k(),(r=function(e){return!0===e},function(e){return e.lift(new q(r,void 0,e))})):Object(i.a)(!0)}(e.injector,t,n).pipe(Object(K.a)((function(n){return n?r.configLoader.load(e.injector,t).pipe(Object(C.a)((function(e){return t._loadedConfig=e,e}))):function(e){return new c.a((function(t){return t.error(xe("Cannot load children because the guard of the route \"path: '".concat(e.path,"'\" returned false")))}))}(t)}))):Object(i.a)(new Ie([],e))}},{key:"lineralizeSegments",value:function(e,t){for(var n=[],r=t.root;;){if(n=n.concat(r.segments),0===r.numberOfChildren)return Object(i.a)(n);if(r.numberOfChildren>1||!r.children.primary)return Gt(e.redirectTo);r=r.children.primary}}},{key:"applyRedirectCommands",value:function(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}},{key:"applyRedirectCreatreUrlTree",value:function(e,t,n,r){var o=this.createSegmentGroup(e,t.root,n,r);return new Ge(o,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}},{key:"createQueryParams",value:function(e,t){var n={};return He(e,(function(e,r){if("string"==typeof e&&e.startsWith(":")){var o=e.substring(1);n[r]=t[o]}else n[r]=e})),n}},{key:"createSegmentGroup",value:function(e,t,n,r){var o=this,i=this.createSegments(e,t.segments,n,r),a={};return He(t.children,(function(t,i){a[i]=o.createSegmentGroup(e,t,n,r)})),new Ke(i,a)}},{key:"createSegments",value:function(e,t,n,r){var o=this;return t.map((function(t){return t.path.startsWith(":")?o.findPosParam(e,t,r):o.findOrReturn(t,n)}))}},{key:"findPosParam",value:function(e,t,n){var r=n[t.path.substring(1)];if(!r)throw new Error("Cannot redirect to '".concat(e,"'. Cannot find '").concat(t.path,"'."));return r}},{key:"findOrReturn",value:function(e,t){var n,r=0,o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(i.path===e.path)return t.splice(r),i;r++}}catch(a){o.e(a)}finally{o.f()}return e}}]),e}();function qt(e,t,n){if(""===t.path)return"full"===t.pathMatch&&(e.hasChildren()||n.length>0)?{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}:{matched:!0,consumedSegments:[],lastChild:0,positionalParamSegments:{}};var r=(t.matcher||Ae)(n,e,t);return r?{matched:!0,consumedSegments:r.consumed,lastChild:r.consumed.length,positionalParamSegments:r.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Yt(e){if(1===e.numberOfChildren&&e.children.primary){var t=e.children.primary;return new Ke(e.segments.concat(t.segments),t.children)}return e}function Qt(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0!==n.redirectTo}function Wt(e){return e.outlet||"primary"}var Xt=function e(t){_classCallCheck(this,e),this.path=t,this.route=this.path[this.path.length-1]},Zt=function e(t,n){_classCallCheck(this,e),this.component=t,this.route=n};function $t(e,t,n){var r=function(e){if(!e)return null;for(var t=e.parent;t;t=t.parent){var n=t.routeConfig;if(n&&n._loadedConfig)return n._loadedConfig}return null}(t);return(r?r.module.injector:n).get(e)}function Jt(e,t,n){var r=pt(e),o=e.value;He(r,(function(e,r){Jt(e,o.component?t?t.children.getContext(r):null:t,n)})),n.canDeactivateChecks.push(new Zt(o.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,o))}var en=Symbol("INITIAL_VALUE");function tn(){return Q((function(e){return(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=null,o=null;return Object(l.a)(t[t.length-1])&&(o=t.pop()),"function"==typeof t[t.length-1]&&(r=t.pop()),1===t.length&&Object(h.a)(t[0])&&(t=t[0]),Object(p.a)(t,o).lift(new g(r))}).apply(void 0,_toConsumableArray(e.map((function(e){return e.pipe(Object(V.a)(1),function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[t.length-1];return Object(l.a)(r)?(t.pop(),function(e){return Z(t,e,r)}):function(e){return Z(t,e)}}(en))})))).pipe($((function(e,t){var n=!1;return t.reduce((function(e,r,o){if(e!==en)return e;if(r===en&&(n=!0),!n){if(!1===r)return r;if(o===t.length-1||Lt(r))return r}return e}),e)}),en),Object(P.a)((function(e){return e!==en})),Object(C.a)((function(e){return Lt(e)?e:!0===e})),Object(V.a)(1))}))}function nn(e,t){return null!==e&&t&&t(new Pe(e)),Object(i.a)(!0)}function rn(e,t){return null!==e&&t&&t(new Oe(e)),Object(i.a)(!0)}function on(e,t,n){var r=t.routeConfig?t.routeConfig.canActivate:null;if(!r||0===r.length)return Object(i.a)(!0);var o=r.map((function(r){return v((function(){var o,i=$t(r,t,n);if(function(e){return e&&Ft(e.canActivate)}(i))o=ze(i.canActivate(t,e));else{if(!Ft(i))throw new Error("Invalid CanActivate guard");o=ze(i(t,e))}return o.pipe(G())}))}));return Object(i.a)(o).pipe(tn())}function an(e,t,n){var r=t[t.length-1],o=t.slice(0,t.length-1).reverse().map((function(e){return function(e){var t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)})).filter((function(e){return null!==e})).map((function(t){return v((function(){var o=t.guards.map((function(o){var i,a=$t(o,t.node,n);if(function(e){return e&&Ft(e.canActivateChild)}(a))i=ze(a.canActivateChild(r,e));else{if(!Ft(a))throw new Error("Invalid CanActivateChild guard");i=ze(a(r,e))}return i.pipe(G())}));return Object(i.a)(o).pipe(tn())}))}));return Object(i.a)(o).pipe(tn())}var sn=function e(){_classCallCheck(this,e)},cn=function(){function e(t,n,r,o,i,a){_classCallCheck(this,e),this.rootComponentType=t,this.config=n,this.urlTree=r,this.url=o,this.paramsInheritanceStrategy=i,this.relativeLinkResolution=a}return _createClass(e,[{key:"recognize",value:function(){try{var e=hn(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new vt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),r=new ft(n,t),o=new _t(this.url,r);return this.inheritParamsAndData(o._root),Object(i.a)(o)}catch(a){return new c.a((function(e){return e.error(a)}))}}},{key:"inheritParamsAndData",value:function(e){var t=this,n=e.value,r=bt(n,this.paramsInheritanceStrategy);n.params=Object.freeze(r.params),n.data=Object.freeze(r.data),e.children.forEach((function(e){return t.inheritParamsAndData(e)}))}},{key:"processSegmentGroup",value:function(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}},{key:"processChildren",value:function(e,t){var n,r=this,o=Qe(t,(function(t,n){return r.processSegmentGroup(e,t,n)}));return n={},o.forEach((function(e){var t=n[e.value.outlet];if(t){var r=t.url.map((function(e){return e.toString()})).join("/"),o=e.value.url.map((function(e){return e.toString()})).join("/");throw new Error("Two segments cannot have the same outlet name: '".concat(r,"' and '").concat(o,"'."))}n[e.value.outlet]=e.value})),o.sort((function(e,t){return"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)})),o}},{key:"processSegment",value:function(e,t,n,r){var o,i=_createForOfIteratorHelper(e);try{for(i.s();!(o=i.n()).done;){var a=o.value;try{return this.processSegmentAgainstRoute(a,t,n,r)}catch(s){if(!(s instanceof sn))throw s}}}catch(c){i.e(c)}finally{i.f()}if(this.noLeftoversInUrl(t,n,r))return[];throw new sn}},{key:"noLeftoversInUrl",value:function(e,t,n){return 0===t.length&&!e.children[n]}},{key:"processSegmentAgainstRoute",value:function(e,t,n,r){if(e.redirectTo)throw new sn;if((e.outlet||"primary")!==r)throw new sn;var o,i=[],a=[];if("**"===e.path){var s=n.length>0?Be(n).parameters:{};o=new vt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),r,e.component,e,un(t),ln(t)+n.length,mn(e))}else{var c=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new sn;return{consumedSegments:[],lastChild:0,parameters:{}}}var r=(t.matcher||Ae)(n,e,t);if(!r)throw new sn;var o={};He(r.posParams,(function(e,t){o[t]=e.path}));var i=r.consumed.length>0?Object.assign(Object.assign({},o),r.consumed[r.consumed.length-1].parameters):o;return{consumedSegments:r.consumed,lastChild:r.consumed.length,parameters:i}}(t,e,n);i=c.consumedSegments,a=n.slice(c.lastChild),o=new vt(i,c.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,pn(e),r,e.component,e,un(t),ln(t)+i.length,mn(e))}var u=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),l=hn(t,i,a,u,this.relativeLinkResolution),h=l.segmentGroup,d=l.slicedSegments;if(0===d.length&&h.hasChildren()){var f=this.processChildren(u,h);return[new ft(o,f)]}if(0===u.length&&0===d.length)return[new ft(o,[])];var p=this.processSegment(u,h,d,"primary");return[new ft(o,p)]}}]),e}();function un(e){for(var t=e;t._sourceSegment;)t=t._sourceSegment;return t}function ln(e){for(var t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;t._sourceSegment;)n+=(t=t._sourceSegment)._segmentIndexShift?t._segmentIndexShift:0;return n-1}function hn(e,t,n,r,o){if(n.length>0&&function(e,t,n){return n.some((function(n){return dn(e,t,n)&&"primary"!==fn(n)}))}(e,n,r)){var i=new Ke(t,function(e,t,n,r){var o={};o.primary=r,r._sourceSegment=e,r._segmentIndexShift=t.length;var i,a=_createForOfIteratorHelper(n);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(""===s.path&&"primary"!==fn(s)){var c=new Ke([],{});c._sourceSegment=e,c._segmentIndexShift=t.length,o[fn(s)]=c}}}catch(u){a.e(u)}finally{a.f()}return o}(e,t,r,new Ke(n,e.children)));return i._sourceSegment=e,i._segmentIndexShift=t.length,{segmentGroup:i,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some((function(n){return dn(e,t,n)}))}(e,n,r)){var a=new Ke(e.segments,function(e,t,n,r,o,i){var a,s={},c=_createForOfIteratorHelper(r);try{for(c.s();!(a=c.n()).done;){var u=a.value;if(dn(e,n,u)&&!o[fn(u)]){var l=new Ke([],{});l._sourceSegment=e,l._segmentIndexShift="legacy"===i?e.segments.length:t.length,s[fn(u)]=l}}}catch(h){c.e(h)}finally{c.f()}return Object.assign(Object.assign({},o),s)}(e,t,n,r,e.children,o));return a._sourceSegment=e,a._segmentIndexShift=t.length,{segmentGroup:a,slicedSegments:n}}var s=new Ke(e.segments,e.children);return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}function dn(e,t,n){return(!(e.hasChildren()||t.length>0)||"full"!==n.pathMatch)&&""===n.path&&void 0===n.redirectTo}function fn(e){return e.outlet||"primary"}function pn(e){return e.data||{}}function mn(e){return e.resolve||{}}function gn(e,t,n,r){var o=$t(e,t,r);return ze(o.resolve?o.resolve(t,n):o(t,n))}function yn(e){return function(t){return t.pipe(Q((function(t){var n=e(t);return n?Object(a.a)(n).pipe(Object(C.a)((function(){return t}))):Object(a.a)([t])})))}}var bn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldDetach",value:function(e){return!1}},{key:"store",value:function(e,t){}},{key:"shouldAttach",value:function(e){return!1}},{key:"retrieve",value:function(e){return null}},{key:"shouldReuseRoute",value:function(e,t){return e.routeConfig===t.routeConfig}}]),e}(),vn=new o.q("ROUTES"),_n=function(){function e(t,n,r,o){_classCallCheck(this,e),this.loader=t,this.compiler=n,this.onLoadStartListener=r,this.onLoadEndListener=o}return _createClass(e,[{key:"load",value:function(e,t){var n=this;return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(C.a)((function(r){n.onLoadEndListener&&n.onLoadEndListener(t);var o=r.create(e);return new Ie(Le(o.injector.get(vn)).map(Re),o)})))}},{key:"loadModuleFactory",value:function(e){var t=this;return"string"==typeof e?Object(a.a)(this.loader.load(e)):ze(e()).pipe(Object(K.a)((function(e){return e instanceof o.v?Object(i.a)(e):Object(a.a)(t.compiler.compileModuleAsync(e))})))}}]),e}(),Cn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"shouldProcessUrl",value:function(e){return!0}},{key:"extract",value:function(e){return e}},{key:"merge",value:function(e,t){return e}}]),e}();function On(e){throw e}function kn(e,t,n){return t.parse("/")}function Pn(e,t){return Object(i.a)(null)}var wn,Mn,En,Sn=((En=function(){function e(t,n,r,i,a,c,u,l){var h=this;_classCallCheck(this,e),this.rootComponentType=t,this.urlSerializer=n,this.rootContexts=r,this.location=i,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new _.a,this.errorHandler=On,this.malformedUriErrorHandler=kn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Pn,afterPreactivation:Pn},this.urlHandlingStrategy=new Cn,this.routeReuseStrategy=new bn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=a.get(o.x),this.console=a.get(o.W);var d=a.get(o.z);this.isNgZoneEnabled=d instanceof o.z,this.resetConfig(l),this.currentUrlTree=new Ge(new Ke([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new _n(c,u,(function(e){return h.triggerEvent(new _e(e))}),(function(e){return h.triggerEvent(new Ce(e))})),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new s.a({id:0,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,extractedUrl:this.urlHandlingStrategy.extract(this.currentUrlTree),urlAfterRedirects:this.urlHandlingStrategy.extract(this.currentUrlTree),rawUrl:this.currentUrlTree,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:"imperative",restoredState:null,currentSnapshot:this.routerState.snapshot,targetSnapshot:null,currentRouterState:this.routerState,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.navigations=this.setupNavigations(this.transitions),this.processNavigations()}return _createClass(e,[{key:"setupNavigations",value:function(e){var t=this,n=this.events;return e.pipe(Object(P.a)((function(e){return 0!==e.id})),Object(C.a)((function(e){return Object.assign(Object.assign({},e),{extractedUrl:t.urlHandlingStrategy.extract(e.rawUrl)})})),Q((function(e){var r,o,c,u=!1,l=!1;return Object(i.a)(e).pipe(ie((function(e){t.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:t.lastSuccessfulNavigation?Object.assign(Object.assign({},t.lastSuccessfulNavigation),{previousNavigation:null}):null}})),Q((function(e){var r,o,a,s,c=!t.navigated||e.extractedUrl.toString()!==t.browserUrlTree.toString();if(("reload"===t.onSameUrlNavigation||c)&&t.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(i.a)(e).pipe(Q((function(e){var r=t.transitions.getValue();return n.next(new he(e.id,t.serializeUrl(e.extractedUrl),e.source,e.restoredState)),r!==t.transitions.getValue()?b.a:[e]})),Q((function(e){return Promise.resolve(e)})),(r=t.ngModule.injector,o=t.configLoader,a=t.urlSerializer,s=t.config,function(e){return e.pipe(Q((function(e){return function(e,t,n,r,o){return new Kt(e,t,n,r,o).apply()}(r,o,a,e.extractedUrl,s).pipe(Object(C.a)((function(t){return Object.assign(Object.assign({},e),{urlAfterRedirects:t})})))})))}),ie((function(e){t.currentNavigation=Object.assign(Object.assign({},t.currentNavigation),{finalUrl:e.urlAfterRedirects})})),function(e,n,r,o,i){return function(r){return r.pipe(Object(K.a)((function(r){return function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"emptyOnly",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"legacy";return new cn(e,t,n,r,o,i).recognize()}(e,n,r.urlAfterRedirects,(a=r.urlAfterRedirects,t.serializeUrl(a)),o,i).pipe(Object(C.a)((function(e){return Object.assign(Object.assign({},r),{targetSnapshot:e})})));var a})))}}(t.rootComponentType,t.config,0,t.paramsInheritanceStrategy,t.relativeLinkResolution),ie((function(e){"eager"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),ie((function(e){var r=new me(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);n.next(r)})));if(c&&t.rawUrlTree&&t.urlHandlingStrategy.shouldProcessUrl(t.rawUrlTree)){var u=e.id,l=e.extractedUrl,h=e.source,d=e.restoredState,f=e.extras,p=new he(u,t.serializeUrl(l),h,d);n.next(p);var m=gt(l,t.rootComponentType).snapshot;return Object(i.a)(Object.assign(Object.assign({},e),{targetSnapshot:m,urlAfterRedirects:l,extras:Object.assign(Object.assign({},f),{skipLocationChange:!1,replaceUrl:!1})}))}return t.rawUrlTree=e.rawUrl,t.browserUrlTree=e.urlAfterRedirects,e.resolve(null),b.a})),yn((function(e){var n=e.targetSnapshot,r=e.id,o=e.extractedUrl,i=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.beforePreactivation(n,{navigationId:r,appliedUrlTree:o,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!c})})),ie((function(e){var n=new ge(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),Object(C.a)((function(e){return Object.assign(Object.assign({},e),{guards:(n=e.targetSnapshot,r=e.currentSnapshot,o=t.rootContexts,i=n._root,function e(t,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=pt(n);return t.children.forEach((function(t){!function(t,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{canDeactivateChecks:[],canActivateChecks:[]},a=t.value,s=n?n.value:null,c=r?r.getContext(t.value.outlet):null;if(s&&a.routeConfig===s.routeConfig){var u=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ye(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ye(e.url,t.url)||!Ue(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Pt(e,t)||!Ue(e.queryParams,t.queryParams);case"paramsChange":default:return!Pt(e,t)}}(s,a,a.routeConfig.runGuardsAndResolvers);u?i.canActivateChecks.push(new Xt(o)):(a.data=s.data,a._resolvedData=s._resolvedData),e(t,n,a.component?c?c.children:null:r,o,i),u&&i.canDeactivateChecks.push(new Zt(c&&c.outlet&&c.outlet.component||null,s))}else s&&Jt(n,c,i),i.canActivateChecks.push(new Xt(o)),e(t,null,a.component?c?c.children:null:r,o,i)}(t,a[t.value.outlet],r,o.concat([t.value]),i),delete a[t.value.outlet]})),He(a,(function(e,t){return Jt(e,r.getContext(t),i)})),i}(i,r?r._root:null,o,[i.value]))});var n,r,o,i})),function(e,t){return function(n){return n.pipe(Object(K.a)((function(n){var r=n.targetSnapshot,o=n.currentSnapshot,s=n.guards,c=s.canActivateChecks,u=s.canDeactivateChecks;return 0===u.length&&0===c.length?Object(i.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,r){return Object(a.a)(e).pipe(Object(K.a)((function(e){return function(e,t,n,r,o){var a=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!a||0===a.length)return Object(i.a)(!0);var s=a.map((function(i){var a,s=$t(i,t,o);if(function(e){return e&&Ft(e.canDeactivate)}(s))a=ze(s.canDeactivate(e,t,n,r));else{if(!Ft(s))throw new Error("Invalid CanDeactivate guard");a=ze(s(e,t,n,r))}return a.pipe(G())}));return Object(i.a)(s).pipe(tn())}(e.component,e.route,n,t,r)})),G((function(e){return!0!==e}),!0))}(u,r,o,e).pipe(Object(K.a)((function(n){return n&&"boolean"==typeof n?function(e,t,n,r){return Object(a.a)(t).pipe(Object(te.a)((function(t){return Object(a.a)([rn(t.route.parent,r),nn(t.route,r),an(e,t.path,n),on(e,t.route,n)]).pipe(k(),G((function(e){return!0!==e}),!0))})),G((function(e){return!0!==e}),!0))}(r,c,e,t):Object(i.a)(n)})),Object(C.a)((function(e){return Object.assign(Object.assign({},n),{guardsResult:e})})))})))}}(t.ngModule.injector,(function(e){return t.triggerEvent(e)})),ie((function(e){if(Lt(e.guardsResult)){var n=xe('Redirecting to "'.concat(t.serializeUrl(e.guardsResult),'"'));throw n.url=e.guardsResult,n}})),ie((function(e){var n=new ye(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);t.triggerEvent(n)})),Object(P.a)((function(e){if(!e.guardsResult){t.resetUrlToCurrentUrlTree();var r=new fe(e.id,t.serializeUrl(e.extractedUrl),"");return n.next(r),e.resolve(!1),!1}return!0})),yn((function(e){if(e.guards.canActivateChecks.length)return Object(i.a)(e).pipe(ie((function(e){var n=new be(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})),(n=t.paramsInheritanceStrategy,r=t.ngModule.injector,function(e){return e.pipe(Object(K.a)((function(e){var t=e.targetSnapshot,o=e.guards.canActivateChecks;return o.length?Object(a.a)(o).pipe(Object(te.a)((function(e){return function(e,t,n,r){return function(e,t,n,r){var o=Object.keys(e);if(0===o.length)return Object(i.a)({});if(1===o.length){var s=o[0];return gn(e[s],t,n,r).pipe(Object(C.a)((function(e){return _defineProperty({},s,e)})))}var c={};return Object(a.a)(o).pipe(Object(K.a)((function(o){return gn(e[o],t,n,r).pipe(Object(C.a)((function(e){return c[o]=e,e})))}))).pipe(F(),Object(C.a)((function(){return c})))}(e._resolve,e,t,r).pipe(Object(C.a)((function(t){return e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),bt(e,n).resolve),null})))}(e.route,t,n,r)})),function(e,t){return arguments.length>=2?function(n){return Object(ne.a)($(e,t),E(1),D(t))(n)}:function(t){return Object(ne.a)($((function(t,n,r){return e(t,n,r+1)})),E(1))(t)}}((function(e,t){return e})),Object(C.a)((function(t){return e}))):Object(i.a)(e)})))}),ie((function(e){var n=new ve(e.id,t.serializeUrl(e.extractedUrl),t.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.triggerEvent(n)})));var n,r})),yn((function(e){var n=e.targetSnapshot,r=e.id,o=e.extractedUrl,i=e.rawUrl,a=e.extras,s=a.skipLocationChange,c=a.replaceUrl;return t.hooks.afterPreactivation(n,{navigationId:r,appliedUrlTree:o,rawUrlTree:i,skipLocationChange:!!s,replaceUrl:!!c})})),Object(C.a)((function(e){var n=function(e,t,n){var r=function e(t,n,r){if(r&&t.shouldReuseRoute(n.value,r.value.snapshot)){var o=r.value;o._futureSnapshot=n.value;var i=function(t,n,r){return n.children.map((function(n){var o,i=_createForOfIteratorHelper(r.children);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(t.shouldReuseRoute(a.value.snapshot,n.value))return e(t,n,a)}}catch(s){i.e(s)}finally{i.f()}return e(t,n)}))}(t,n,r);return new ft(o,i)}var a=t.retrieve(n.value);if(a){var c=a.route;return function e(t,n){if(t.value.routeConfig!==n.value.routeConfig)throw new Error("Cannot reattach ActivatedRouteSnapshot created from a different route");if(t.children.length!==n.children.length)throw new Error("Cannot reattach ActivatedRouteSnapshot with a different number of children");n.value._futureSnapshot=t.value;for(var r=0;r<t.children.length;++r)e(t.children[r],n.children[r])}(n,c),c}var u,l=new yt(new s.a((u=n.value).url),new s.a(u.params),new s.a(u.queryParams),new s.a(u.fragment),new s.a(u.data),u.outlet,u.component,u),h=n.children.map((function(n){return e(t,n)}));return new ft(l,h)}(e,t._root,n?n._root:void 0);return new mt(r,t)}(t.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:n})})),ie((function(e){t.currentUrlTree=e.urlAfterRedirects,t.rawUrlTree=t.urlHandlingStrategy.merge(t.currentUrlTree,e.rawUrl),t.routerState=e.targetRouterState,"deferred"===t.urlUpdateStrategy&&(e.extras.skipLocationChange||t.setBrowserUrl(t.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),t.browserUrlTree=e.urlAfterRedirects)})),(r=t.rootContexts,o=t.routeReuseStrategy,c=function(e){return t.triggerEvent(e)},Object(C.a)((function(e){return new Rt(o,e.targetRouterState,e.currentRouterState,c).activate(r),e}))),ie({next:function(){u=!0},complete:function(){u=!0}}),Object(ue.a)((function(){if(!u&&!l){t.resetUrlToCurrentUrlTree();var r=new fe(e.id,t.serializeUrl(e.extractedUrl),"Navigation ID ".concat(e.id," is not equal to the current navigation id ").concat(t.navigationId));n.next(r),e.resolve(!1)}t.currentNavigation=null})),B((function(r){if(l=!0,(s=r)&&s.ngNavigationCancelingError){var o=Lt(r.url);o||(t.navigated=!0,t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));var i=new fe(e.id,t.serializeUrl(e.extractedUrl),r.message);n.next(i),o?setTimeout((function(){var n=t.urlHandlingStrategy.merge(r.url,t.rawUrlTree);return t.scheduleNavigation(n,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===t.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})}),0):e.resolve(!1)}else{t.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);var a=new pe(e.id,t.serializeUrl(e.extractedUrl),r);n.next(a);try{e.resolve(t.errorHandler(r))}catch(c){e.reject(c)}}var s;return b.a})))})))}},{key:"resetRootComponentType",value:function(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}},{key:"getTransition",value:function(){var e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}},{key:"setTransition",value:function(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}},{key:"initialNavigation",value:function(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}},{key:"setUpLocationChangeListener",value:function(){var e=this;this.locationSubscription||(this.locationSubscription=this.location.subscribe((function(t){var n=e.parseUrl(t.url),r="popstate"===t.type?"popstate":"hashchange",o=t.state&&t.state.navigationId?t.state:null;setTimeout((function(){e.scheduleNavigation(n,r,o,{replaceUrl:!0})}),0)})))}},{key:"getCurrentNavigation",value:function(){return this.currentNavigation}},{key:"triggerEvent",value:function(e){this.events.next(e)}},{key:"resetConfig",value:function(e){je(e),this.config=e.map(Re),this.navigated=!1,this.lastSuccessfulId=-1}},{key:"ngOnDestroy",value:function(){this.dispose()}},{key:"dispose",value:function(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}},{key:"createUrlTree",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.relativeTo,r=t.queryParams,i=t.fragment,a=t.preserveQueryParams,s=t.queryParamsHandling,c=t.preserveFragment;Object(o.T)()&&a&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");var u=n||this.routerState.root,l=c?this.currentUrlTree.fragment:i,h=null;if(s)switch(s){case"merge":h=Object.assign(Object.assign({},this.currentUrlTree.queryParams),r);break;case"preserve":h=this.currentUrlTree.queryParams;break;default:h=r||null}else h=a?this.currentUrlTree.queryParams:r||null;return null!==h&&(h=this.removeEmptyProps(h)),function(e,t,n,r,o){if(0===n.length)return Mt(t.root,t.root,t,r,o);var i=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Et(!0,0,e);var t=0,n=!1,r=e.reduce((function(e,r,o){if("object"==typeof r&&null!=r){if(r.outlets){var i={};return He(r.outlets,(function(e,t){i[t]="string"==typeof e?e.split("/"):e})),[].concat(_toConsumableArray(e),[{outlets:i}])}if(r.segmentPath)return[].concat(_toConsumableArray(e),[r.segmentPath])}return"string"!=typeof r?[].concat(_toConsumableArray(e),[r]):0===o?(r.split("/").forEach((function(r,o){0==o&&"."===r||(0==o&&""===r?n=!0:".."===r?t++:""!=r&&e.push(r))})),e):[].concat(_toConsumableArray(e),[r])}),[]);return new Et(n,t,r)}(n);if(i.toRoot())return Mt(t.root,new Ke([],{}),t,r,o);var a=function(e,t,n){if(e.isAbsolute)return new St(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new St(n.snapshot._urlSegment,!0,0);var r=wt(e.commands[0])?0:1;return function(e,t,n){for(var r=e,o=t,i=n;i>o;){if(i-=o,!(r=r.parent))throw new Error("Invalid number of '../'");o=r.segments.length}return new St(r,!1,o-i)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+r,e.numberOfDoubleDots)}(i,t,e),s=a.processChildren?At(a.segmentGroup,a.index,i.commands):xt(a.segmentGroup,a.index,i.commands);return Mt(a.segmentGroup,s,t,r,o)}(u,this.currentUrlTree,e,h,l)}},{key:"navigateByUrl",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};Object(o.T)()&&this.isNgZoneEnabled&&!o.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");var n=Lt(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,"imperative",null,t)}},{key:"navigate",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{skipLocationChange:!1};return function(e){for(var t=0;t<e.length;t++){var n=e[t];if(null==n)throw new Error("The requested path contains ".concat(n," segment at index ").concat(t))}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}},{key:"serializeUrl",value:function(e){return this.urlSerializer.serialize(e)}},{key:"parseUrl",value:function(e){var t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}},{key:"isActive",value:function(e,t){if(Lt(e))return Ve(this.currentUrlTree,e,t);var n=this.parseUrl(e);return Ve(this.currentUrlTree,n,t)}},{key:"removeEmptyProps",value:function(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return null!=r&&(t[n]=r),t}),{})}},{key:"processNavigations",value:function(){var e=this;this.navigations.subscribe((function(t){e.navigated=!0,e.lastSuccessfulId=t.id,e.events.next(new de(t.id,e.serializeUrl(t.extractedUrl),e.serializeUrl(e.currentUrlTree))),e.lastSuccessfulNavigation=e.currentNavigation,e.currentNavigation=null,t.resolve(!0)}),(function(t){e.console.warn("Unhandled Navigation Error: ")}))}},{key:"scheduleNavigation",value:function(e,t,n,r,o){var i,a,s,c=this.getTransition();if(c&&"imperative"!==t&&"imperative"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"hashchange"==t&&"popstate"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(c&&"popstate"==t&&"hashchange"===c.source&&c.rawUrl.toString()===e.toString())return Promise.resolve(!0);o?(i=o.resolve,a=o.reject,s=o.promise):s=new Promise((function(e,t){i=e,a=t}));var u=++this.navigationId;return this.setTransition({id:u,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:r,resolve:i,reject:a,promise:s,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),s.catch((function(e){return Promise.reject(e)}))}},{key:"setBrowserUrl",value:function(e,t,n,r){var o=this.urlSerializer.serialize(e);r=r||{},this.location.isCurrentPathEqualTo(o)||t?this.location.replaceState(o,"",Object.assign(Object.assign({},r),{navigationId:n})):this.location.go(o,"",Object.assign(Object.assign({},r),{navigationId:n}))}},{key:"resetStateAndUrl",value:function(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}},{key:"resetUrlToCurrentUrlTree",value:function(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}},{key:"url",get:function(){return this.serializeUrl(this.currentUrlTree)}}]),e}()).\u0275fac=function(e){o.Xb()},En.\u0275dir=o.Gb({type:En}),En),Tn=((Mn=function(){function e(t,n,r,o,i){_classCallCheck(this,e),this.router=t,this.route=n,this.commands=[],null==r&&o.setAttribute(i.nativeElement,"tabindex","0")}return _createClass(e,[{key:"onClick",value:function(){var e={skipLocationChange:An(this.skipLocationChange),replaceUrl:An(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(o.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:An(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:An(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||Mn)(o.Lb(Sn),o.Lb(yt),o.Vb("tabindex"),o.Lb(o.D),o.Lb(o.l))},Mn.\u0275dir=o.Gb({type:Mn,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&o.Yb("click",(function(){return t.onClick()}))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"}}),Mn),xn=((wn=function(){function e(t,n,r){var o=this;_classCallCheck(this,e),this.router=t,this.route=n,this.locationStrategy=r,this.commands=[],this.subscription=t.events.subscribe((function(e){e instanceof de&&o.updateTargetUrlAndHref()}))}return _createClass(e,[{key:"ngOnChanges",value:function(e){this.updateTargetUrlAndHref()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"onClick",value:function(e,t,n,r){if(0!==e||t||n||r)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;var o={skipLocationChange:An(this.skipLocationChange),replaceUrl:An(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,o),!1}},{key:"updateTargetUrlAndHref",value:function(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}},{key:"routerLink",set:function(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}},{key:"preserveQueryParams",set:function(e){Object(o.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}},{key:"urlTree",get:function(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:An(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:An(this.preserveFragment)})}}]),e}()).\u0275fac=function(e){return new(e||wn)(o.Lb(Sn),o.Lb(yt),o.Lb(r.g))},wn.\u0275dir=o.Gb({type:wn,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&o.Yb("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(o.Tb("href",t.href,o.sc),o.Ab("target",t.target))},inputs:{routerLink:"routerLink",preserveQueryParams:"preserveQueryParams",target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",state:"state"},features:[o.xb]}),wn);function An(e){return""===e||!!e}var In,jn,Dn,Nn,Rn=((In=function(){function e(t,n,r,o,i){var a=this;_classCallCheck(this,e),this.router=t,this.element=n,this.renderer=r,this.link=o,this.linkWithHref=i,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=t.events.subscribe((function(e){e instanceof de&&a.update()}))}return _createClass(e,[{key:"ngAfterContentInit",value:function(){var e=this;this.links.changes.subscribe((function(t){return e.update()})),this.linksWithHrefs.changes.subscribe((function(t){return e.update()})),this.update()}},{key:"ngOnChanges",value:function(e){this.update()}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"update",value:function(){var e=this;this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then((function(){var t=e.hasActiveLinks();e.isActive!==t&&(e.isActive=t,e.classes.forEach((function(n){t?e.renderer.addClass(e.element.nativeElement,n):e.renderer.removeClass(e.element.nativeElement,n)})))}))}},{key:"isLinkActive",value:function(e){var t=this;return function(n){return e.isActive(n.urlTree,t.routerLinkActiveOptions.exact)}}},{key:"hasActiveLinks",value:function(){var e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}},{key:"routerLinkActive",set:function(e){var t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter((function(e){return!!e}))}}]),e}()).\u0275fac=function(e){return new(e||In)(o.Lb(Sn),o.Lb(o.l),o.Lb(o.D),o.Lb(Tn,8),o.Lb(xn,8))},In.\u0275dir=o.Gb({type:In,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var r;1&e&&(o.Db(n,Tn,!0),o.Db(n,xn,!0)),2&e&&(o.nc(r=o.Zb())&&(t.links=r),o.nc(r=o.Zb())&&(t.linksWithHrefs=r))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[o.xb]}),In),Un=function e(){_classCallCheck(this,e),this.outlet=null,this.route=null,this.resolver=null,this.children=new Fn,this.attachRef=null},Fn=function(){function e(){_classCallCheck(this,e),this.contexts=new Map}return _createClass(e,[{key:"onChildOutletCreated",value:function(e,t){var n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}},{key:"onChildOutletDestroyed",value:function(e){var t=this.getContext(e);t&&(t.outlet=null)}},{key:"onOutletDeactivated",value:function(){var e=this.contexts;return this.contexts=new Map,e}},{key:"onOutletReAttached",value:function(e){this.contexts=e}},{key:"getOrCreateContext",value:function(e){var t=this.getContext(e);return t||(t=new Un,this.contexts.set(e,t)),t}},{key:"getContext",value:function(e){return this.contexts.get(e)||null}}]),e}(),Ln=((jn=function(){function e(t,n,r,i,a){_classCallCheck(this,e),this.parentContexts=t,this.location=n,this.resolver=r,this.changeDetector=a,this.activated=null,this._activatedRoute=null,this.activateEvents=new o.n,this.deactivateEvents=new o.n,this.name=i||"primary",t.onChildOutletCreated(this.name,this)}return _createClass(e,[{key:"ngOnDestroy",value:function(){this.parentContexts.onChildOutletDestroyed(this.name)}},{key:"ngOnInit",value:function(){if(!this.activated){var e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}},{key:"detach",value:function(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();var e=this.activated;return this.activated=null,this._activatedRoute=null,e}},{key:"attach",value:function(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}},{key:"deactivate",value:function(){if(this.activated){var e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}},{key:"activateWith",value:function(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;var n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),r=this.parentContexts.getOrCreateContext(this.name).children,o=new Bn(e,r,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,o),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}},{key:"isActivated",get:function(){return!!this.activated}},{key:"component",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}},{key:"activatedRoute",get:function(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}},{key:"activatedRouteData",get:function(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}}]),e}()).\u0275fac=function(e){return new(e||jn)(o.Lb(Fn),o.Lb(o.N),o.Lb(o.j),o.Vb("name"),o.Lb(o.h))},jn.\u0275dir=o.Gb({type:jn,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),jn),Bn=function(){function e(t,n,r){_classCallCheck(this,e),this.route=t,this.childContexts=n,this.parent=r}return _createClass(e,[{key:"get",value:function(e,t){return e===yt?this.route:e===Fn?this.childContexts:this.parent.get(e,t)}}]),e}(),Hn=function e(){_classCallCheck(this,e)},zn=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return Object(i.a)(null)}}]),e}(),Vn=((Nn=function(){function e(t,n,r,o,i){_classCallCheck(this,e),this.router=t,this.injector=o,this.preloadingStrategy=i,this.loader=new _n(n,r,(function(e){return t.triggerEvent(new _e(e))}),(function(e){return t.triggerEvent(new Ce(e))}))}return _createClass(e,[{key:"setUpPreloading",value:function(){var e=this;this.subscription=this.router.events.pipe(Object(P.a)((function(e){return e instanceof de})),Object(te.a)((function(){return e.preload()}))).subscribe((function(){}))}},{key:"preload",value:function(){var e=this.injector.get(o.x);return this.processRoutes(e,this.router.config)}},{key:"ngOnDestroy",value:function(){this.subscription.unsubscribe()}},{key:"processRoutes",value:function(e,t){var n,r=[],o=_createForOfIteratorHelper(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(i.loadChildren&&!i.canLoad&&i._loadedConfig){var s=i._loadedConfig;r.push(this.processRoutes(s.module,s.routes))}else i.loadChildren&&!i.canLoad?r.push(this.preloadConfig(e,i)):i.children&&r.push(this.processRoutes(e,i.children))}}catch(c){o.e(c)}finally{o.f()}return Object(a.a)(r).pipe(Object(O.a)(),Object(C.a)((function(e){})))}},{key:"preloadConfig",value:function(e,t){var n=this;return this.preloadingStrategy.preload(t,(function(){return n.loader.load(e.injector,t).pipe(Object(K.a)((function(e){return t._loadedConfig=e,n.processRoutes(e.module,e.routes)})))}))}}]),e}()).\u0275fac=function(e){return new(e||Nn)(o.Ub(Sn),o.Ub(o.w),o.Ub(o.i),o.Ub(o.r),o.Ub(Hn))},Nn.\u0275prov=o.Hb({token:Nn,factory:Nn.\u0275fac}),Nn),Gn=((Dn=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};_classCallCheck(this,e),this.router=t,this.viewportScroller=n,this.options=r,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},r.scrollPositionRestoration=r.scrollPositionRestoration||"disabled",r.anchorScrolling=r.anchorScrolling||"disabled"}return _createClass(e,[{key:"init",value:function(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}},{key:"createScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof he?(e.store[e.lastId]=e.viewportScroller.getScrollPosition(),e.lastSource=t.navigationTrigger,e.restoredId=t.restoredState?t.restoredState.navigationId:0):t instanceof de&&(e.lastId=t.id,e.scheduleScrollEvent(t,e.router.parseUrl(t.urlAfterRedirects).fragment))}))}},{key:"consumeScrollEvents",value:function(){var e=this;return this.router.events.subscribe((function(t){t instanceof Me&&(t.position?"top"===e.options.scrollPositionRestoration?e.viewportScroller.scrollToPosition([0,0]):"enabled"===e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition(t.position):t.anchor&&"enabled"===e.options.anchorScrolling?e.viewportScroller.scrollToAnchor(t.anchor):"disabled"!==e.options.scrollPositionRestoration&&e.viewportScroller.scrollToPosition([0,0]))}))}},{key:"scheduleScrollEvent",value:function(e,t){this.router.triggerEvent(new Me(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}},{key:"ngOnDestroy",value:function(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}]),e}()).\u0275fac=function(e){o.Xb()},Dn.\u0275dir=o.Gb({type:Dn}),Dn),Kn=new o.q("ROUTER_CONFIGURATION"),qn=new o.q("ROUTER_FORROOT_GUARD"),Yn=[r.f,{provide:We,useClass:Xe},{provide:Sn,useFactory:function(e,t,n,o,i,a,s){var c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:{},u=arguments.length>8?arguments[8]:void 0,l=arguments.length>9?arguments[9]:void 0,h=new Sn(null,e,t,n,o,i,a,Le(s));if(u&&(h.urlHandlingStrategy=u),l&&(h.routeReuseStrategy=l),c.errorHandler&&(h.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(h.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){var d=Object(r.r)();h.events.subscribe((function(e){d.logGroup("Router Event: "+e.constructor.name),d.log(e.toString()),d.log(e),d.logGroupEnd()}))}return c.onSameUrlNavigation&&(h.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(h.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(h.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(h.relativeLinkResolution=c.relativeLinkResolution),h},deps:[We,Fn,r.f,o.r,o.w,o.i,vn,Kn,[function(){return function e(){_classCallCheck(this,e)}}(),new o.A],[function(){return function e(){_classCallCheck(this,e)}}(),new o.A]]},Fn,{provide:yt,useFactory:function(e){return e.routerState.root},deps:[Sn]},{provide:o.w,useClass:o.J},Vn,zn,function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"preload",value:function(e,t){return t().pipe(B((function(){return Object(i.a)(null)})))}}]),e}(),{provide:Kn,useValue:{enableTracing:!1}}];function Qn(){return new o.y("Router",Sn)}var Wn,Xn=((Wn=function(){function e(t,n){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(t,n){return{ngModule:e,providers:[Yn,er(t),{provide:qn,useFactory:Jn,deps:[[Sn,new o.A,new o.I]]},{provide:Kn,useValue:n||{}},{provide:r.g,useFactory:$n,deps:[r.n,[new o.p(r.a),new o.A],Kn]},{provide:Gn,useFactory:Zn,deps:[Sn,r.o,Kn]},{provide:Hn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:zn},{provide:o.y,multi:!0,useFactory:Qn},[nr,{provide:o.d,multi:!0,useFactory:rr,deps:[nr]},{provide:ir,useFactory:or,deps:[nr]},{provide:o.b,multi:!0,useExisting:ir}]]}}},{key:"forChild",value:function(t){return{ngModule:e,providers:[er(t)]}}}]),e}()).\u0275mod=o.Jb({type:Wn}),Wn.\u0275inj=o.Ib({factory:function(e){return new(e||Wn)(o.Ub(qn,8),o.Ub(Sn,8))}}),Wn);function Zn(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Gn(e,t,n)}function $n(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.useHash?new r.d(e,t):new r.m(e,t)}function Jn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function er(e){return[{provide:o.a,multi:!0,useValue:e},{provide:vn,multi:!0,useValue:e}]}var tr,nr=((tr=function(){function e(t){_classCallCheck(this,e),this.injector=t,this.initNavigation=!1,this.resultOfPreactivationDone=new _.a}return _createClass(e,[{key:"appInitializer",value:function(){var e=this;return this.injector.get(r.e,Promise.resolve(null)).then((function(){var t=null,n=new Promise((function(e){return t=e})),r=e.injector.get(Sn),o=e.injector.get(Kn);if(e.isLegacyDisabled(o)||e.isLegacyEnabled(o))t(!0);else if("disabled"===o.initialNavigation)r.setUpLocationChangeListener(),t(!0);else{if("enabled"!==o.initialNavigation)throw new Error("Invalid initialNavigation options: '".concat(o.initialNavigation,"'"));r.hooks.afterPreactivation=function(){return e.initNavigation?Object(i.a)(null):(e.initNavigation=!0,t(!0),e.resultOfPreactivationDone)},r.initialNavigation()}return n}))}},{key:"bootstrapListener",value:function(e){var t=this.injector.get(Kn),n=this.injector.get(Vn),r=this.injector.get(Gn),i=this.injector.get(Sn),a=this.injector.get(o.g);e===a.components[0]&&(this.isLegacyEnabled(t)?i.initialNavigation():this.isLegacyDisabled(t)&&i.setUpLocationChangeListener(),n.setUpPreloading(),r.init(),i.resetRootComponentType(a.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}},{key:"isLegacyEnabled",value:function(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}},{key:"isLegacyDisabled",value:function(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}]),e}()).\u0275fac=function(e){return new(e||tr)(o.Ub(o.r))},tr.\u0275prov=o.Hb({token:tr,factory:tr.\u0275fac}),tr);function rr(e){return e.appInitializer.bind(e)}function or(e){return e.bootstrapListener.bind(e)}var ir=new o.q("Router Initializer")},u3qa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n("Q2sQ");function i(e){switch(e){case r.QUEUED.toString():return r.QUEUED;case r.DISALLOWED.toString():return r.DISALLOWED;case r.DENY.toString():return r.DENY;case r.ACTIVE.toString():return r.ACTIVE;case r.DONE.toString():return r.DONE;case r.DEAD.toString():return r.DEAD;case r.FAILED.toString():return r.FAILED;case r.ARCHIVED.toString():return r.ARCHIVED}}function a(e){switch(e){case"QUEUED":return r.QUEUED;case"DISALLOWED":return r.DISALLOWED;case"DENY":return r.DENY;case"ACTIVE":return r.ACTIVE;case"DONE":return r.DONE;case"DEAD":return r.DEAD;case"FAILED":return r.FAILED;case"ARCHIVED":return r.ARCHIVED}throw new Error("Unable to obtain EStatus for key: "+e)}!function(e){e.QUEUED="queued",e.DISALLOWED="disallowed",e.DENY="deny",e.ACTIVE="active",e.DONE="done",e.DEAD="dead",e.FAILED="failed",e.ARCHIVED="archived"}(r=t.EStatus||(t.EStatus={})),t.toEStatus=i,t.fromEStatus=function(e){switch(e){case r.QUEUED:return r.QUEUED.toString();case r.DISALLOWED:return r.DISALLOWED.toString();case r.DENY:return r.DENY.toString();case r.ACTIVE:return r.ACTIVE.toString();case r.DONE:return r.DONE.toString();case r.DEAD:return r.DEAD.toString();case r.FAILED:return r.FAILED.toString();case r.ARCHIVED:return r.ARCHIVED.toString()}throw new Error("Unknown EStatus")},t.isEStatus=function(e){return!!o.CommonsType.isString(e)&&void 0!==i(e)},t.keyToEStatus=a,t.ESTATUSS=Object.keys(r).map((function(e){return a(e)}))},"uD+L":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"unicodeToAscii",value:function(e){return e.replace(/[\u007F-\uFFFF]/g,(function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)}))}},{key:"asciiToUnicode",value:function(e){return e.replace(/\\u[0-9a-f]{4}/g,(function(e){return String.fromCharCode(parseInt(e.substr(-4),16))}))}},{key:"asciiToHex",value:function(e){return e.split("").map((function(e){return("0"+e.charCodeAt(0).toString(16)).slice(-2)})).join("")}},{key:"hexToAscii",value:function(e){return e.length<2?"":e.match(/.{2}/g).map((function(e){return String.fromCharCode(parseInt(e,16))})).join("")}},{key:"unicodeToHex",value:function(t){return e.asciiToHex(e.unicodeToAscii(t))}},{key:"hexToUnicode",value:function(t){return e.asciiToUnicode(e.hexToAscii(t))}}]),e}();t.CommonsEncoding=r},uDUn:function(e,t){var n=1e3,r=6e4,o=60*r,i=24*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,t){t=t||{};var s,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(t){var a=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"days":case"day":case"d":return a*i;case"hours":case"hour":case"hrs":case"hr":case"h":return a*o;case"minutes":case"minute":case"mins":case"min":case"m":return a*r;case"seconds":case"second":case"secs":case"sec":case"s":return a*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}}}(e);if("number"===c&&!1===isNaN(e))return t.long?a(s=e,i,"day")||a(s,o,"hour")||a(s,r,"minute")||a(s,n,"second")||s+" ms":function(e){return e>=i?Math.round(e/i)+"d":e>=o?Math.round(e/o)+"h":e>=r?Math.round(e/r)+"m":e>=n?Math.round(e/n)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},uj45:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ");t.isIUrlErrors=function(e,t){if(!r.CommonsType.hasPropertyString(e,"url"))return!1;if(!r.CommonsType.hasPropertyArray(e,"errors"))return!1;var n,o=_createForOfIteratorHelper(e.errors);try{for(o.s();!(n=o.n()).done;){var i=n.value;if(!0!==i&&!t(i))return!1}}catch(a){o.e(a)}finally{o.f()}return!0}},v8Qv:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return u})),n.d(t,"e",(function(){return l})),n.d(t,"f",(function(){return h}));var r=n("WB8P"),o=n("ofXK"),i=n("fXoL"),a=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?void 0===e?"-":r.CommonsNumber.prettyFigure(e,n):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"commonsPrettyFigure",type:e,pure:!0}),e}(),s=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?isNaN(e)?"-":Math.floor(e).toLocaleString():e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"commonsPrettyInteger",type:e,pure:!0}),e}(),c=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?isNaN(e)?"-":r.CommonsNumber.prettyPercent(e,n):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"commonsPrettyPercentage",type:e,pure:!0}),e}(),u=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t?void 0===e?"-":r.CommonsNumber.prettyFileSize(e,n):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"commonsPrettySize",type:e,pure:!0}),e}(),l=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"transform",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?void 0===e?"":r.CommonsString.ucWords(e):e}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Kb({name:"commonsUcWords",type:e,pure:!0}),e}(),h=function(){var e=function e(){_classCallCheck(this,e)};return e.\u0275mod=i.Jb({type:e}),e.\u0275inj=i.Ib({factory:function(t){return new(t||e)},imports:[[o.b]]}),e}()},vihK:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r,o=n("Mm3/"),i=n("WB8P"),a=n("fXoL"),s=n("zCZe"),c=((r=function(){function e(t){_classCallCheck(this,e);var n,r=t.getDirect("hydra");if(!(i.CommonsType.hasPropertyString(n=r,"url")&&i.CommonsType.hasPropertyNumber(n,"refreshInterval")&&i.CommonsType.hasPropertyNumberOrUndefined(n,"timeout")&&i.CommonsType.hasPropertyNumberOrUndefined(n,"reattempts")&&i.CommonsType.hasPropertyNumberOrUndefined(n,"reattemptTimeout")))throw new Error("Unable to read URL from hydra config");this.config=r}return _createClass(e,[{key:"getConfig",value:function(){return this.config}},{key:"getUrl",value:function(){return this.config.url}},{key:"getSocketIoUrl",value:function(){return o.b.buildUrl(this.getUrl())}},{key:"getSocketIoOptions",value:function(){return o.b.buildOptions(this.getUrl())}}]),e}()).\u0275fac=function(e){return new(e||r)(a.Ub(s.a))},r.\u0275prov=a.Hb({token:r,factory:r.\u0275fac,providedIn:"root"}),r)},xChw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("Q2sQ"),o=n("pL1S");t.isTPhpError=function(e){return!!(r.CommonsType.hasPropertyString(e,"type")&&o.isEPhpErrorType(e.type)&&r.CommonsType.hasPropertyString(e,"message")&&r.CommonsType.hasPropertyString(e,"file")&&r.CommonsType.hasPropertyNumber(e,"line"))}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n("HDdC"),o=n("ngJS"),i=n("jZKg");function a(e,t){return t?Object(i.a)(e,t):new r.a(Object(o.a)(e))}},yLV6:function(e,t,n){var r;!function(o,i,a,s){"use strict";var c,u=["","webkit","Moz","MS","ms","o"],l=i.createElement("div"),h=Math.round,d=Math.abs,f=Date.now;function p(e,t,n){return setTimeout(C(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var r;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(r=0;r<e.length;)t.call(n,e[r],r,e),r++;else for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e)}function y(e,t,n){var r="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=o.console&&(o.console.warn||o.console.log);return i&&i.call(o.console,r,n),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o])}return t}:Object.assign;var b=y((function(e,t,n){for(var r=Object.keys(t),o=0;o<r.length;)(!n||n&&void 0===e[r[o]])&&(e[r[o]]=t[r[o]]),o++;return e}),"extend","Use `assign`."),v=y((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function _(e,t,n){var r,o=t.prototype;(r=e.prototype=Object.create(o)).constructor=e,r._super=o,n&&c(r,n)}function C(e,t){return function(){return e.apply(t,arguments)}}function O(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function k(e,t){return void 0===e?t:e}function P(e,t,n){g(S(t),(function(t){e.addEventListener(t,n,!1)}))}function w(e,t,n){g(S(t),(function(t){e.removeEventListener(t,n,!1)}))}function M(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function E(e,t){return e.indexOf(t)>-1}function S(e){return e.trim().split(/\s+/g)}function T(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var r=0;r<e.length;){if(n&&e[r][n]==t||!n&&e[r]===t)return r;r++}return-1}function x(e){return Array.prototype.slice.call(e,0)}function A(e,t,n){for(var r=[],o=[],i=0;i<e.length;){var a=t?e[i][t]:e[i];T(o,a)<0&&r.push(e[i]),o[i]=a,i++}return n&&(r=t?r.sort((function(e,n){return e[t]>n[t]})):r.sort()),r}function I(e,t){for(var n,r,o=t[0].toUpperCase()+t.slice(1),i=0;i<u.length;){if((r=(n=u[i])?n+o:t)in e)return r;i++}}var j=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||o}var N="ontouchstart"in o,R=void 0!==I(o,"PointerEvent"),U=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F=["x","y"],L=["clientX","clientY"];function B(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){O(e.options.enable,[e])&&n.handler(t)},this.init()}function H(e,t,n){var r=n.pointers.length,o=n.changedPointers.length,i=1&t&&r-o==0,a=12&t&&r-o==0;n.isFirst=!!i,n.isFinal=!!a,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,r=t.pointers,o=r.length;n.firstInput||(n.firstInput=z(t)),o>1&&!n.firstMultiple?n.firstMultiple=z(t):1===o&&(n.firstMultiple=!1);var i=n.firstInput,a=n.firstMultiple,s=a?a.center:i.center,c=t.center=V(r);t.timeStamp=f(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=Y(s,c),t.distance=q(s,c),function(e,t){var n=t.center,r=e.offsetDelta||{},o=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(o=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},r=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=o.x+(n.x-r.x),t.deltaY=o.y+(n.y-r.y)}(n,t),t.offsetDirection=K(t.deltaX,t.deltaY);var u,l,h=G(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=h.x,t.overallVelocityY=h.y,t.overallVelocity=d(h.x)>d(h.y)?h.x:h.y,t.scale=a?(u=a.pointers,q((l=r)[0],l[1],L)/q(u[0],u[1],L)):1,t.rotation=a?function(e,t){return Y(t[1],t[0],L)+Y(e[1],e[0],L)}(a.pointers,r):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,r,o,i,a=e.lastInterval||t,s=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(s>25||void 0===a.velocity)){var c=t.deltaX-a.deltaX,u=t.deltaY-a.deltaY,l=G(s,c,u);r=l.x,o=l.y,n=d(l.x)>d(l.y)?l.x:l.y,i=K(c,u),e.lastInterval=t}else n=a.velocity,r=a.velocityX,o=a.velocityY,i=a.direction;t.velocity=n,t.velocityX=r,t.velocityY=o,t.direction=i}(n,t);var p=e.element;M(t.srcEvent.target,p)&&(p=t.srcEvent.target),t.target=p}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function z(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:h(e.pointers[n].clientX),clientY:h(e.pointers[n].clientY)},n++;return{timeStamp:f(),pointers:t,center:V(t),deltaX:e.deltaX,deltaY:e.deltaY}}function V(e){var t=e.length;if(1===t)return{x:h(e[0].clientX),y:h(e[0].clientY)};for(var n=0,r=0,o=0;o<t;)n+=e[o].clientX,r+=e[o].clientY,o++;return{x:h(n/t),y:h(r/t)}}function G(e,t,n){return{x:t/e||0,y:n/e||0}}function K(e,t){return e===t?1:d(e)>=d(t)?e<0?2:4:t<0?8:16}function q(e,t,n){n||(n=F);var r=t[n[0]]-e[n[0]],o=t[n[1]]-e[n[1]];return Math.sqrt(r*r+o*o)}function Y(e,t,n){return n||(n=F),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}B.prototype={handler:function(){},init:function(){this.evEl&&P(this.element,this.evEl,this.domHandler),this.evTarget&&P(this.target,this.evTarget,this.domHandler),this.evWin&&P(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(D(this.element),this.evWin,this.domHandler)}};var Q={mousedown:1,mousemove:2,mouseup:4};function W(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,B.apply(this,arguments)}_(W,B,{handler:function(e){var t=Q[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:"mouse",srcEvent:e}))}});var X={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},Z={2:"touch",3:"pen",4:"mouse",5:"kinect"},$="pointerdown",J="pointermove pointerup pointercancel";function ee(){this.evEl=$,this.evWin=J,B.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}o.MSPointerEvent&&!o.PointerEvent&&($="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),_(ee,B,{handler:function(e){var t=this.store,n=!1,r=e.type.toLowerCase().replace("ms",""),o=X[r],i=Z[e.pointerType]||e.pointerType,a="touch"==i,s=T(t,e.pointerId,"pointerId");1&o&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&o&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,o,{pointers:t,changedPointers:[e],pointerType:i,srcEvent:e}),n&&t.splice(s,1))}});var te={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ne(){this.evTarget="touchstart",this.evWin="touchstart touchmove touchend touchcancel",this.started=!1,B.apply(this,arguments)}function re(e,t){var n=x(e.touches),r=x(e.changedTouches);return 12&t&&(n=A(n.concat(r),"identifier",!0)),[n,r]}_(ne,B,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=re.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}});var oe={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function ie(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},B.apply(this,arguments)}function ae(e,t){var n=x(e.touches),r=this.targetIds;if(3&t&&1===n.length)return r[n[0].identifier]=!0,[n,n];var o,i,a=x(e.changedTouches),s=[],c=this.target;if(i=n.filter((function(e){return M(e.target,c)})),1===t)for(o=0;o<i.length;)r[i[o].identifier]=!0,o++;for(o=0;o<a.length;)r[a[o].identifier]&&s.push(a[o]),12&t&&delete r[a[o].identifier],o++;return s.length?[A(i.concat(s),"identifier",!0),s]:void 0}function se(){B.apply(this,arguments);var e=C(this.handler,this);this.touch=new ie(this.manager,e),this.mouse=new W(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ce(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ue.call(this,t)):12&e&&ue.call(this,t)}function ue(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var r=this.lastTouches;setTimeout((function(){var e=r.indexOf(n);e>-1&&r.splice(e,1)}),2500)}}function le(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,r=0;r<this.lastTouches.length;r++){var o=this.lastTouches[r],i=Math.abs(t-o.x),a=Math.abs(n-o.y);if(i<=25&&a<=25)return!0}return!1}_(ie,B,{handler:function(e){var t=oe[e.type],n=ae.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}),_(se,B,{handler:function(e,t,n){var r="mouse"==n.pointerType;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)ce.call(this,t,n);else if(r&&le.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var he=I(l.style,"touchAction"),de=void 0!==he,fe=function(){if(!de)return!1;var e={},t=o.CSS&&o.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||o.CSS.supports("touch-action",n)})),e}();function pe(e,t){this.manager=e,this.set(t)}function me(e){this.options=c({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=k(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function ge(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function ye(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function be(e,t){var n=t.manager;return n?n.get(e):e}function ve(){me.apply(this,arguments)}function _e(){ve.apply(this,arguments),this.pX=null,this.pY=null}function Ce(){ve.apply(this,arguments)}function Oe(){me.apply(this,arguments),this._timer=null,this._input=null}function ke(){ve.apply(this,arguments)}function Pe(){ve.apply(this,arguments)}function we(){me.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Me(e,t){return(t=t||{}).recognizers=k(t.recognizers,Me.defaults.preset),new Ee(e,t)}function Ee(e,t){var n;this.options=c({},Me.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new((n=this).options.inputClass||(R?ee:U?ie:N?se:W))(n,H),this.touchAction=new pe(this,this.options.touchAction),Se(this,!0),g(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Se(e,t){var n,r=e.element;r.style&&(g(e.options.cssProps,(function(o,i){n=I(r.style,i),t?(e.oldCssProps[n]=r.style[n],r.style[n]=o):r.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}pe.prototype={set:function(e){"compute"==e&&(e=this.compute()),de&&this.manager.element.style&&fe[e]&&(this.manager.element.style[he]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return g(this.manager.recognizers,(function(t){O(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(E(e,"none"))return"none";var t=E(e,"pan-x"),n=E(e,"pan-y");return t&&n?"none":t||n?t?"pan-x":"pan-y":E(e,"manipulation")?"manipulation":"auto"}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var r=this.actions,o=E(r,"none")&&!fe.none,i=E(r,"pan-y")&&!fe["pan-y"],a=E(r,"pan-x")&&!fe["pan-x"];if(o&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!a||!i)return o||i&&6&n||a&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}},me.prototype={defaults:{},set:function(e){return c(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(m(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=be(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return m(e,"dropRecognizeWith",this)||(e=be(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(m(e,"requireFailure",this))return this;var t=this.requireFail;return-1===T(t,e=be(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(m(e,"dropRequireFailure",this))return this;e=be(e,this);var t=T(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function r(n){t.manager.emit(n,e)}n<8&&r(t.options.event+ge(n)),r(t.options.event),e.additionalEvent&&r(e.additionalEvent),n>=8&&r(t.options.event+ge(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=32},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=c({},e);if(!O(this.options.enable,[this,t]))return this.reset(),void(this.state=32);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},_(ve,me,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,r=6&t,o=this.attrTest(e);return r&&(8&n||!o)?16|t:r||o?4&n?8|t:2&t?4|t:2:32}}),_(_e,ve,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push("pan-y"),24&e&&t.push("pan-x"),t},directionTest:function(e){var t=this.options,n=!0,r=e.distance,o=e.direction,i=e.deltaX,a=e.deltaY;return o&t.direction||(6&t.direction?(o=0===i?1:i<0?2:4,n=i!=this.pX,r=Math.abs(e.deltaX)):(o=0===a?1:a<0?8:16,n=a!=this.pY,r=Math.abs(e.deltaY))),e.direction=o,n&&r>t.threshold&&o&t.direction},attrTest:function(e){return ve.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=ye(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),_(Ce,ve,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){1!==e.scale&&(e.additionalEvent=this.options.event+(e.scale<1?"in":"out")),this._super.emit.call(this,e)}}),_(Oe,me,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return["auto"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime>t.time;if(this._input=e,!r||!n||12&e.eventType&&!o)this.reset();else if(1&e.eventType)this.reset(),this._timer=p((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return 32},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=f(),this.manager.emit(this.options.event,this._input)))}}),_(ke,ve,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return["none"]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),_(Pe,ve,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return _e.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&d(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=ye(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),_(we,me,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return["manipulation"]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,r=e.distance<t.threshold,o=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(r&&o&&n){if(4!=e.eventType)return this.failTimeout();var i=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||q(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&i?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=p((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=p((function(){this.state=32}),this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Me.VERSION="2.0.7",Me.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[ke,{enable:!1}],[Ce,{enable:!1},["rotate"]],[Pe,{direction:6}],[_e,{direction:6},["swipe"]],[we],[we,{event:"doubletap",taps:2},["tap"]],[Oe]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},Ee.prototype={set:function(e){return c(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var r=this.recognizers,o=t.curRecognizer;(!o||o&&8&o.state)&&(o=t.curRecognizer=null);for(var i=0;i<r.length;)n=r[i],2===t.stopped||o&&n!=o&&!n.canRecognizeWith(o)?n.reset():n.recognize(e),!o&&14&n.state&&(o=t.curRecognizer=n),i++}},get:function(e){if(e instanceof me)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(m(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(m(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=T(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(void 0!==e&&void 0!==t){var n=this.handlers;return g(S(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(void 0!==e){var n=this.handlers;return g(S(e),(function(e){t?n[e]&&n[e].splice(T(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=i.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var r=0;r<n.length;)n[r](t),r++}},destroy:function(){this.element&&Se(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Me,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:32,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:Ee,Input:B,TouchAction:pe,TouchInput:ie,MouseInput:W,PointerEventInput:ee,TouchMouseInput:se,SingleTouchInput:ne,Recognizer:me,AttrRecognizer:ve,Tap:we,Pan:_e,Swipe:Pe,Pinch:Ce,Rotate:ke,Press:Oe,on:P,off:w,each:g,merge:v,extend:b,assign:c,inherit:_,bindFn:C,prefixed:I}),(void 0!==o?o:"undefined"!=typeof self?self:{}).Hammer=Me,void 0===(r=(function(){return Me}).call(t,n,t,e))||(e.exports=r)}(window,document)},ySuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("6F/j");t.CommonsGrouper=function(){function e(t){var n=this,o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];_classCallCheck(this,e),this.ignoreEmpty=o,this.onGroup=new r.Subject,this.group=[],this.interval=setInterval((function(){0===n.group.length&&n.ignoreEmpty||(n.onGroup.next(n.group),n.group=[])}),t)}return _createClass(e,[{key:"groupObservable",value:function(){return this.onGroup}},{key:"add",value:function(e){this.group.push(e)}},{key:"cancel",value:function(){clearInterval(this.interval)}}]),e}()},yeub:function(e,t){try{e.exports="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(n){e.exports=!1}},yoYU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("WB8P"),o=n("c8QO");t.isTCommonsSchedule=function(e){return!!r.CommonsType.hasPropertyObject(e,"at")&&!!o.isTCommonsScheduleTime(e.at)&&!!r.CommonsType.hasPropertyString(e,"action")}},ypnn:function(e,t){e.exports=function(e,t,n){var r=e.byteLength;if(t=t||0,n=n||r,e.slice)return e.slice(t,n);if(t<0&&(t+=r),n<0&&(n+=r),n>r&&(n=r),t>=r||t>=n||0===r)return new ArrayBuffer(0);for(var o=new Uint8Array(e),i=new Uint8Array(n-t),a=t,s=0;a<n;a++,s++)i[s]=o[a];return i.buffer}},"z+Ro":function(e,t,n){"use strict";function r(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return r}))},z1W9:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.RED="red",e.ORANGE="orange",e.YELLOW="yellow",e.GREEN="green",e.CYAN="cyan",e.BLUE="blue",e.INDIGO="indigo",e.MAGENTA="magenta",e.BLACK="black",e.WHITE="white",e.GREY="grey",e.SILVER="silver"}(r=t.ECommonsColor||(t.ECommonsColor={})),t.fromECommonsColor=function(e){switch(e){case r.RED:return r.RED.toString();case r.ORANGE:return r.ORANGE.toString();case r.YELLOW:return r.YELLOW.toString();case r.GREEN:return r.GREEN.toString();case r.CYAN:return r.CYAN.toString();case r.BLUE:return r.BLUE.toString();case r.INDIGO:return r.INDIGO.toString();case r.MAGENTA:return r.MAGENTA.toString();case r.BLACK:return r.BLACK.toString();case r.WHITE:return r.WHITE.toString();case r.SILVER:return r.SILVER.toString();case r.GREY:return r.GREY.toString()}throw new Error("Unknown color")},t.toECommonsColor=function(e){switch(e){case r.RED.toString():return r.RED;case r.ORANGE.toString():return r.ORANGE;case r.YELLOW.toString():return r.YELLOW;case r.GREEN.toString():return r.GREEN;case r.CYAN.toString():return r.CYAN;case r.BLUE.toString():return r.BLUE;case r.INDIGO.toString():return r.INDIGO;case r.MAGENTA.toString():return r.MAGENTA;case r.BLACK.toString():return r.BLACK;case r.WHITE.toString():return r.WHITE;case r.SILVER.toString():return r.SILVER;case r.GREY.toString():return r.GREY}throw new Error("Unknown color")}},zCZe:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return h})),n.d(t,"c",(function(){return f})),n.d(t,"d",(function(){return m}));var r=n("mrSG"),o=n("fXoL"),i=n("tk/3"),a=n("WB8P"),s=n("XNiG"),c=n("hi8z"),u=n("ofXK"),l=function(){var e=function(){function e(t){_classCallCheck(this,e),this.http=t,this.config={}}return _createClass(e,[{key:"load",value:function(e){return Object(r.a)(this,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.http.get(e).toPromise();case 3:this.config=t.sent,t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.log(t.t0);case 9:case"end":return t.stop()}}),t,this,[[0,6]])})))}},{key:"getDirect",value:function(e){if(a.CommonsType.hasPropertyObject(this.config,e))return this.config[e]}},{key:"getAny",value:function(e,t,n){return a.CommonsType.hasPropertyObject(this.config,e)&&a.CommonsType.hasProperty(this.config[e],t)?this.config[e][t]:n}},{key:"getObject",value:function(e,t,n){var r=this.getAny(e,t,n);return a.CommonsType.attemptObject(r)}},{key:"getString",value:function(e,t,n){var r=this.getAny(e,t,n);return a.CommonsType.attemptString(r)}},{key:"getNumber",value:function(e,t,n){var r=this.getAny(e,t,n);return a.CommonsType.attemptNumber(r)}},{key:"getBoolean",value:function(e,t,n){var r=this.getAny(e,t,n);return a.CommonsType.attemptBoolean(r)}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Ub(i.a))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e}(),h=function(){var e=function(){function e(t){_classCallCheck(this,e),this.configService=t,this.onDelayed=new o.n(!0),this.delays=[],this.delayedTime=1e3*(this.configService.getNumber("system","delayed",2)||2),this.timedoutTime=1e3*(this.configService.getNumber("system","timedout",30)||30)}return _createClass(e,[{key:"delayedObservable",value:function(){return this.onDelayed}},{key:"delayed",value:function(e){-1===this.delays.indexOf(e)&&this.delays.push(e),this.delays.length&&this.onDelayed.emit(!0)}},{key:"done",value:function(e){var t=this.delays.indexOf(e);-1!==t&&(this.delays.splice(t,1),this.delays=this.delays.slice()),this.delays.length||this.onDelayed.emit(!1)}},{key:"fail",value:function(e){this.done(e)}},{key:"attempt",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=Math.random().toString(),i=setTimeout((function(){n.delayed(o)}),r?0:this.delayedTime),a=setTimeout((function(){clearTimeout(i),t((function(){clearTimeout(a),clearTimeout(i),n.fail(o)}))}),this.timedoutTime);e((function(){clearTimeout(a),clearTimeout(i),n.done(o)}),(function(){clearTimeout(a),clearTimeout(i),n.fail(o)}))}},{key:"attemptWithoutTimeout",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=Math.random().toString(),o=setTimeout((function(){t.delayed(r)}),n?0:this.delayedTime);e((function(){clearTimeout(o),t.done(r)}),(function(){clearTimeout(o),t.fail(r)}))}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Ub(l))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e}(),d=function(){var e=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.configService=t,this.storageService=n,this.modified=new s.a,this.namespace=this.configService.getString("storage","namespace","webapp")||"webapp",this.storageService.observable().subscribe((function(e){if(e.key.substring(0,r.namespace.length+1)===r.namespace+"_"){var t=e.key.substring(r.namespace.length+1);r.modified.next({key:t,value:e.value})}}))}return _createClass(e,[{key:"getAny",value:function(e,t,n){return this.storageService.getAny(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"getString",value:function(e,t,n){return this.storageService.getString(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"getNumber",value:function(e,t,n){return this.storageService.getNumber(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"getBoolean",value:function(e,t,n){return this.storageService.getBoolean(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"delete",value:function(e,t,n){return this.storageService.delete(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"setAny",value:function(e,t,n){this.storageService.setAny(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"setString",value:function(e,t,n){this.storageService.setString(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"setNumber",value:function(e,t,n){this.storageService.setNumber(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"setBoolean",value:function(e,t,n){this.storageService.setBoolean(e,"".concat(this.namespace,"_").concat(t),n)}},{key:"reset",value:function(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];o.substr(0,this.namespace.length+1)===this.namespace+"_"&&this.storageService.delete(e,o,t)}}},{key:"observable",value:function(){return this.modified.asObservable()}}]),e}();return e.\u0275fac=function(t){return new(t||e)(o.Ub(l),o.Ub(c.d))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e}(),f=function(){var e=function(){function e(){_classCallCheck(this,e),this.onLoaded=new o.n(!0)}return _createClass(e,[{key:"loadedObservable",value:function(){return this.onLoaded}},{key:"loaded",value:function(){this.onLoaded.emit()}}]),e}();return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(o.Hb)({factory:function(){return new e},token:e,providedIn:"root"}),e}();function p(e){var t=this;return function(){return Object(r.a)(t,void 0,void 0,regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.load("assets/config/app-config.json");case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})))}}var m=function(){var e=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"forRoot",value:function(){return{ngModule:e,providers:[l,h,d,f,{provide:o.d,useFactory:p,deps:[l],multi:!0}]}}}]),e}();return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[u.b,i.b,c.e]]}),e}()},zDOd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(t,n){_classCallCheck(this,e),this.windowSize=t,this.poolSize=n,this.display=[],this.queue=[],this.upto=0;for(var r=0;r<this.poolSize;r++)this.display.push({empty:!0})}return _createClass(e,[{key:"getArray",value:function(){var e=this,t=0;return this.display.filter((function(n){return t++<e.windowSize})).map((function(e){if(!e.empty)return e.item}))}},{key:"addItem",value:function(e,t){var n=[];if(void 0!==t){if(t<1)throw new Error("Cannot shift for zero or negative length");for(;this.getQueueSize()>=t-1;){var r=this.queue.shift();r&&r.item&&n.push(r.item)}}return this.queue.push({empty:!1,sort:this.upto++,item:e}),n}},{key:"getQueueSize",value:function(){return this.queue.length}},{key:"getWindowSize",value:function(){return this.windowSize}},{key:"getPoolSize",value:function(){return this.poolSize}},{key:"rotate",value:function(){var t,n,r=e.lowestItem(this.display),o=this.display.pop();if(void 0===o)throw new Error("Last item in display is undefined. This should not be possible");if(0===this.queue.length?n=o:o.empty||o===r?(o===r&&o.item&&(t=o),n=this.queue.shift()):n=o,void 0!==n&&this.display.unshift(n),t&&!t.empty&&t.item)return t.item}}],[{key:"lowestItem",value:function(e){if(0!==e.length){var t=e.find((function(e){return e.empty}));if(void 0!==t)return t;var n=e.filter((function(e){return!e.empty})).sort((function(e,t){return void 0===e.sort&&void 0===t.sort?0:void 0===e.sort?-1:void 0===t.sort?1:e.sort<t.sort?-1:e.sort>t.sort?1:0}));if(0!==n.length)return n[0]}}}]),e}();t.CommonsWindowCarousell=r},zJ60:function(e,t,n){var r=n("Uxeu"),o=n("NOtv")("socket.io-client:url");e.exports=function(e,t){var n=e;t=t||"undefined"!=typeof location&&location,null==e&&(e=t.protocol+"//"+t.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?t.protocol+e:t.host+e),/^(https?|wss?):\/\//.test(e)||(o("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),o("parse %s",e),n=r(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";var i=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+i+":"+n.port,n.href=n.protocol+"://"+i+(t&&t.port===n.port?"":":"+n.port),n}},zMFY:function(e,t){function n(){}e.exports=function(e,t,r){var o=!1;return r=r||n,i.count=e,0===e?t():i;function i(e,n){if(i.count<=0)throw new Error("after called too many times");--i.count,e?(o=!0,t(e),t=r):0!==i.count||o||t(null,n)}}},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("fXoL");n("yLV6");var o=n("jhN1"),i=n("R0Ic");function a(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function s(e){switch(e.length){case 0:return new i.d;case 1:return e[0];default:return new i.k(e)}}function c(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=[],c=[],u=-1,l=null;if(r.forEach((function(e){var n=e.offset,r=n==u,h=r&&l||{};Object.keys(e).forEach((function(n){var r=n,c=e[n];if("offset"!==n)switch(r=t.normalizePropertyName(r,s),c){case i.l:c=o[n];break;case i.a:c=a[n];break;default:c=t.normalizeStyleValue(n,r,c,s)}h[r]=c})),r||c.push(h),l=h,u=n})),s.length){var h="\n - ";throw new Error("Unable to animate due to the following errors:".concat(h).concat(s.join(h)))}return c}function u(e,t,n,r){switch(t){case"start":e.onStart((function(){return r(n&&l(n,"start",e))}));break;case"done":e.onDone((function(){return r(n&&l(n,"done",e))}));break;case"destroy":e.onDestroy((function(){return r(n&&l(n,"destroy",e))}))}}function l(e,t,n){var r=n.totalTime,o=h(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==r?e.totalTime:r,!!n.disabled),i=e._data;return null!=i&&(o._data=i),o}function h(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,a=arguments.length>6?arguments[6]:void 0;return{element:e,triggerName:t,fromState:n,toState:r,phaseName:o,totalTime:i,disabled:!!a}}function d(e,t,n){var r;return e instanceof Map?(r=e.get(t))||e.set(t,r=n):(r=e[t])||(r=e[t]=n),r}function f(e){var t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}var p=function(e,t){return!1},m=function(e,t){return!1},g=function(e,t,n){return[]},y=a();(y||"undefined"!=typeof Element)&&(p=function(e,t){return e.contains(t)},m=function(){if(y||Element.prototype.matches)return function(e,t){return e.matches(t)};var e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?function(e,n){return t.apply(e,[n])}:m}(),g=function(e,t,n){var r=[];if(n)r.push.apply(r,_toConsumableArray(e.querySelectorAll(t)));else{var o=e.querySelector(t);o&&r.push(o)}return r});var b=null,v=!1;function _(e){b||(b=("undefined"!=typeof document?document.body:null)||{},v=!!b.style&&"WebkitAppearance"in b.style);var t=!0;return b.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(!(t=e in b.style)&&v)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in b.style),t}var C=m,O=p,k=g;function P(e){var t={};return Object.keys(e).forEach((function(n){var r=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[r]=e[n]})),t}var w,M=((w=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return _(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return O(e,t)}},{key:"query",value:function(e,t,n){return k(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return n||""}},{key:"animate",value:function(e,t,n,r,o){return arguments.length>5&&void 0!==arguments[5]&&arguments[5],arguments.length>6&&arguments[6],new i.d(n,r)}}]),e}()).\u0275fac=function(e){return new(e||w)},w.\u0275prov=r.Hb({token:w,factory:w.\u0275fac}),w),E=function(){var e=function e(){_classCallCheck(this,e)};return e.NOOP=new M,e}();function S(e){if("number"==typeof e)return e;var t=e.match(/^(-?[\.\d]+)(m?s)/);return!t||t.length<2?0:T(parseFloat(t[1]),t[2])}function T(e,t){switch(t){case"s":return 1e3*e;default:return e}}function x(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){var r,o=0,i="";if("string"==typeof e){var a=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===a)return t.push('The provided timing value "'.concat(e,'" is invalid.')),{duration:0,delay:0,easing:""};r=T(parseFloat(a[1]),a[2]);var s=a[3];null!=s&&(o=T(parseFloat(s),a[4]));var c=a[5];c&&(i=c)}else r=e;if(!n){var u=!1,l=t.length;r<0&&(t.push("Duration values below 0 are not allowed for this animation step."),u=!0),o<0&&(t.push("Delay values below 0 are not allowed for this animation step."),u=!0),u&&t.splice(l,0,'The provided timing value "'.concat(e,'" is invalid.'))}return{duration:r,delay:o,easing:i}}(e,t,n)}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).forEach((function(n){t[n]=e[n]})),t}function I(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t)for(var r in e)n[r]=e[r];else A(e,n);return n}function j(e,t,n){return n?t+":"+n+";":""}function D(e){for(var t="",n=0;n<e.style.length;n++){var r=e.style.item(n);t+=j(0,r,e.style.getPropertyValue(r))}for(var o in e.style)e.style.hasOwnProperty(o)&&!o.startsWith("_")&&(t+=j(0,o.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[o]));e.setAttribute("style",t)}function N(e,t,n){e.style&&(Object.keys(t).forEach((function(r){var o=V(r);n&&!n.hasOwnProperty(r)&&(n[r]=e.style[o]),e.style[o]=t[r]})),a()&&D(e))}function R(e,t){e.style&&(Object.keys(t).forEach((function(t){var n=V(t);e.style[n]=""})),a()&&D(e))}function U(e){return Array.isArray(e)?1==e.length?e[0]:Object(i.f)(e):e}var F=new RegExp("{{\\s*(.+?)\\s*}}","g");function L(e){var t=[];if("string"==typeof e){for(var n;n=F.exec(e);)t.push(n[1]);F.lastIndex=0}return t}function B(e,t,n){var r=e.toString(),o=r.replace(F,(function(e,r){var o=t[r];return t.hasOwnProperty(r)||(n.push("Please provide a value for the animation param "+r),o=""),o.toString()}));return o==r?e:o}function H(e){for(var t=[],n=e.next();!n.done;)t.push(n.value),n=e.next();return t}var z=/-+([a-z0-9])/g;function V(e){return e.replace(z,(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].toUpperCase()}))}function G(e,t){return 0===e||0===t}function K(e,t,n){var r=Object.keys(n);if(r.length&&t.length){var o=t[0],i=[];if(r.forEach((function(e){o.hasOwnProperty(e)||i.push(e),o[e]=n[e]})),i.length)for(var a=function(){var n=t[s];i.forEach((function(t){n[t]=Y(e,t)}))},s=1;s<t.length;s++)a()}return t}function q(e,t,n){switch(t.type){case 7:return e.visitTrigger(t,n);case 0:return e.visitState(t,n);case 1:return e.visitTransition(t,n);case 2:return e.visitSequence(t,n);case 3:return e.visitGroup(t,n);case 4:return e.visitAnimate(t,n);case 5:return e.visitKeyframes(t,n);case 6:return e.visitStyle(t,n);case 8:return e.visitReference(t,n);case 9:return e.visitAnimateChild(t,n);case 10:return e.visitAnimateRef(t,n);case 11:return e.visitQuery(t,n);case 12:return e.visitStagger(t,n);default:throw new Error("Unable to resolve animation metadata node #"+t.type)}}function Y(e,t){return window.getComputedStyle(e)[t]}var Q=new Set(["true","1"]),W=new Set(["false","0"]);function X(e,t){var n=Q.has(e)||W.has(e),r=Q.has(t)||W.has(t);return function(o,i){var a="*"==e||e==o,s="*"==t||t==i;return!a&&n&&"boolean"==typeof o&&(a=o?Q.has(e):W.has(e)),!s&&r&&"boolean"==typeof i&&(s=i?Q.has(t):W.has(t)),a&&s}}var Z=new RegExp("s*:selfs*,?","g");function $(e,t,n){return new J(e).build(t,n)}var J=function(){function e(t){_classCallCheck(this,e),this._driver=t}return _createClass(e,[{key:"build",value:function(e,t){var n=new ee(t);return this._resetContextStyleTimingState(n),q(this,U(e),n)}},{key:"_resetContextStyleTimingState",value:function(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}},{key:"visitTrigger",value:function(e,t){var n=this,r=t.queryCount=0,o=t.depCount=0,i=[],a=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach((function(e){if(n._resetContextStyleTimingState(t),0==e.type){var s=e,c=s.name;c.toString().split(/\s*,\s*/).forEach((function(e){s.name=e,i.push(n.visitState(s,t))})),s.name=c}else if(1==e.type){var u=n.visitTransition(e,t);r+=u.queryCount,o+=u.depCount,a.push(u)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")})),{type:7,name:e.name,states:i,transitions:a,queryCount:r,depCount:o,options:null}}},{key:"visitState",value:function(e,t){var n=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(n.containsDynamicStyles){var o=new Set,i=r||{};if(n.styles.forEach((function(e){if(te(e)){var t=e;Object.keys(t).forEach((function(e){L(t[e]).forEach((function(e){i.hasOwnProperty(e)||o.add(e)}))}))}})),o.size){var a=H(o.values());t.errors.push('state("'.concat(e.name,'", ...) must define default values for all the following style substitutions: ').concat(a.join(", ")))}}return{type:0,name:e.name,style:n,options:r?{params:r}:null}}},{key:"visitTransition",value:function(e,t){t.queryCount=0,t.depCount=0;var n,r,o,i=q(this,U(e.animation),t);return{type:1,matchers:(n=e.expr,r=t.errors,o=[],"string"==typeof n?n.split(/\s*,\s*/).forEach((function(e){return function(e,t,n){if(":"==e[0]){var r=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return function(e,t){return parseFloat(t)>parseFloat(e)};case":decrement":return function(e,t){return parseFloat(t)<parseFloat(e)};default:return t.push('The transition alias value "'.concat(e,'" is not supported')),"* => *"}}(e,n);if("function"==typeof r)return void t.push(r);e=r}var o=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push('The provided transition expression "'.concat(e,'" is not supported')),t;var i=o[1],a=o[2],s=o[3];t.push(X(i,s)),"<"!=a[0]||"*"==i&&"*"==s||t.push(X(s,i))}(e,o,r)})):o.push(n),o),animation:i,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}}},{key:"visitSequence",value:function(e,t){var n=this;return{type:2,steps:e.steps.map((function(e){return q(n,e,t)})),options:ne(e.options)}}},{key:"visitGroup",value:function(e,t){var n=this,r=t.currentTime,o=0,i=e.steps.map((function(e){t.currentTime=r;var i=q(n,e,t);return o=Math.max(o,t.currentTime),i}));return t.currentTime=o,{type:3,steps:i,options:ne(e.options)}}},{key:"visitAnimate",value:function(e,t){var n,r=function(e,t){var n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return re(x(e,t).duration,0,"");var r=e;if(r.split(/\s+/).some((function(e){return"{"==e.charAt(0)&&"{"==e.charAt(1)}))){var o=re(0,0,"");return o.dynamic=!0,o.strValue=r,o}return re((n=n||x(r,t)).duration,n.delay,n.easing)}(e.timings,t.errors);t.currentAnimateTimings=r;var o=e.styles?e.styles:Object(i.h)({});if(5==o.type)n=this.visitKeyframes(o,t);else{var a=e.styles,s=!1;if(!a){s=!0;var c={};r.easing&&(c.easing=r.easing),a=Object(i.h)(c)}t.currentTime+=r.duration+r.delay;var u=this.visitStyle(a,t);u.isEmptyStep=s,n=u}return t.currentAnimateTimings=null,{type:4,timings:r,style:n,options:null}}},{key:"visitStyle",value:function(e,t){var n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}},{key:"_makeStyleAst",value:function(e,t){var n=[];Array.isArray(e.styles)?e.styles.forEach((function(e){"string"==typeof e?e==i.a?n.push(e):t.errors.push("The provided style string value ".concat(e," is not allowed.")):n.push(e)})):n.push(e.styles);var r=!1,o=null;return n.forEach((function(e){if(te(e)){var t=e,n=t.easing;if(n&&(o=n,delete t.easing),!r)for(var i in t)if(t[i].toString().indexOf("{{")>=0){r=!0;break}}})),{type:6,styles:n,easing:o,offset:e.offset,containsDynamicStyles:r,options:null}}},{key:"_validateStyleAst",value:function(e,t){var n=this,r=t.currentAnimateTimings,o=t.currentTime,i=t.currentTime;r&&i>0&&(i-=r.duration+r.delay),e.styles.forEach((function(e){"string"!=typeof e&&Object.keys(e).forEach((function(r){if(n._driver.validateStyleProperty(r)){var a,s,c,u,l,h=t.collectedStyles[t.currentQuerySelector],d=h[r],f=!0;d&&(i!=o&&i>=d.startTime&&o<=d.endTime&&(t.errors.push('The CSS property "'.concat(r,'" that exists between the times of "').concat(d.startTime,'ms" and "').concat(d.endTime,'ms" is also being animated in a parallel animation between the times of "').concat(i,'ms" and "').concat(o,'ms"')),f=!1),i=d.startTime),f&&(h[r]={startTime:i,endTime:o}),t.options&&(a=e[r],s=t.options,c=t.errors,u=s.params||{},(l=L(a)).length&&l.forEach((function(e){u.hasOwnProperty(e)||c.push("Unable to resolve the local animation param ".concat(e," in the given list of values"))})))}else t.errors.push('The provided animation property "'.concat(r,'" is not a supported CSS property for animations'))}))}))}},{key:"visitKeyframes",value:function(e,t){var n=this,r={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),r;var o=0,i=[],a=!1,s=!1,c=0,u=e.steps.map((function(e){var r=n._makeStyleAst(e,t),u=null!=r.offset?r.offset:function(e){if("string"==typeof e)return null;var t=null;if(Array.isArray(e))e.forEach((function(e){if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}}));else if(te(e)&&e.hasOwnProperty("offset")){var n=e;t=parseFloat(n.offset),delete n.offset}return t}(r.styles),l=0;return null!=u&&(o++,l=r.offset=u),s=s||l<0||l>1,a=a||l<c,c=l,i.push(l),r}));s&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),a&&t.errors.push("Please ensure that all keyframe offsets are in order");var l=e.steps.length,h=0;o>0&&o<l?t.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==o&&(h=1/(l-1));var d=l-1,f=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return u.forEach((function(e,o){var a=h>0?o==d?1:h*o:i[o],s=a*m;t.currentTime=f+p.delay+s,p.duration=s,n._validateStyleAst(e,t),e.offset=a,r.styles.push(e)})),r}},{key:"visitReference",value:function(e,t){return{type:8,animation:q(this,U(e.animation),t),options:ne(e.options)}}},{key:"visitAnimateChild",value:function(e,t){return t.depCount++,{type:9,options:ne(e.options)}}},{key:"visitAnimateRef",value:function(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}}},{key:"visitQuery",value:function(e,t){var n=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;var o=_slicedToArray(function(e){var t=!!e.split(/\s*,\s*/).find((function(e){return":self"==e}));return t&&(e=e.replace(Z,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,(function(e){return".ng-trigger-"+e.substr(1)})).replace(/:animating/g,".ng-animating"),t]}(e.selector),2),i=o[0],a=o[1];t.currentQuerySelector=n.length?n+" "+i:i,d(t.collectedStyles,t.currentQuerySelector,{});var s=q(this,U(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:i,limit:r.limit||0,optional:!!r.optional,includeSelf:a,animation:s,originalSelector:e.selector,options:ne(e.options)}}},{key:"visitStagger",value:function(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");var n="full"===e.timings?{duration:0,delay:0,easing:"full"}:x(e.timings,t.errors,!0);return{type:12,animation:q(this,U(e.animation),t),timings:n,options:null}}}]),e}(),ee=function e(t){_classCallCheck(this,e),this.errors=t,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null};function te(e){return!Array.isArray(e)&&"object"==typeof e}function ne(e){var t;return e?(e=A(e)).params&&(e.params=(t=e.params)?A(t):null):e={},e}function re(e,t,n){return{duration:e,delay:t,easing:n}}function oe(e,t,n,r,o,i){var a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,s=arguments.length>7&&void 0!==arguments[7]&&arguments[7];return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:r,duration:o,delay:i,totalTime:o+i,easing:a,subTimeline:s}}var ie=function(){function e(){_classCallCheck(this,e),this._map=new Map}return _createClass(e,[{key:"consume",value:function(e){var t=this._map.get(e);return t?this._map.delete(e):t=[],t}},{key:"append",value:function(e,t){var n,r=this._map.get(e);r||this._map.set(e,r=[]),(n=r).push.apply(n,_toConsumableArray(t))}},{key:"has",value:function(e){return this._map.has(e)}},{key:"clear",value:function(){this._map.clear()}}]),e}(),ae=new RegExp(":enter","g"),se=new RegExp(":leave","g");function ce(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},s=arguments.length>7?arguments[7]:void 0,c=arguments.length>8?arguments[8]:void 0,u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];return(new ue).buildKeyframes(e,t,n,r,o,i,a,s,c,u)}var ue=function(){function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"buildKeyframes",value:function(e,t,n,r,o,i,a,s,c){var u=arguments.length>9&&void 0!==arguments[9]?arguments[9]:[];c=c||new ie;var l=new he(e,t,c,r,o,u,[]);l.options=s,l.currentTimeline.setStyles([i],null,l.errors,s),q(this,n,l);var h=l.timelines.filter((function(e){return e.containsAnimation()}));if(h.length&&Object.keys(a).length){var d=h[h.length-1];d.allowOnlyTimelineStyles()||d.setStyles([a],null,l.errors,s)}return h.length?h.map((function(e){return e.buildKeyframes()})):[oe(t,[],[],[],0,0,"",!1)]}},{key:"visitTrigger",value:function(e,t){}},{key:"visitState",value:function(e,t){}},{key:"visitTransition",value:function(e,t){}},{key:"visitAnimateChild",value:function(e,t){var n=t.subInstructions.consume(t.element);if(n){var r=t.createSubContext(e.options),o=t.currentTimeline.currentTime,i=this._visitSubInstructions(n,r,r.options);o!=i&&t.transformIntoNewTimeline(i)}t.previousNode=e}},{key:"visitAnimateRef",value:function(e,t){var n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}},{key:"_visitSubInstructions",value:function(e,t,n){var r=t.currentTimeline.currentTime,o=null!=n.duration?S(n.duration):null,i=null!=n.delay?S(n.delay):null;return 0!==o&&e.forEach((function(e){var n=t.appendInstructionToTimeline(e,o,i);r=Math.max(r,n.duration+n.delay)})),r}},{key:"visitReference",value:function(e,t){t.updateOptions(e.options,!0),q(this,e.animation,t),t.previousNode=e}},{key:"visitSequence",value:function(e,t){var n=this,r=t.subContextCount,o=t,i=e.options;if(i&&(i.params||i.delay)&&((o=t.createSubContext(i)).transformIntoNewTimeline(),null!=i.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=le);var a=S(i.delay);o.delayNextStep(a)}e.steps.length&&(e.steps.forEach((function(e){return q(n,e,o)})),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>r&&o.transformIntoNewTimeline()),t.previousNode=e}},{key:"visitGroup",value:function(e,t){var n=this,r=[],o=t.currentTimeline.currentTime,i=e.options&&e.options.delay?S(e.options.delay):0;e.steps.forEach((function(a){var s=t.createSubContext(e.options);i&&s.delayNextStep(i),q(n,a,s),o=Math.max(o,s.currentTimeline.currentTime),r.push(s.currentTimeline)})),r.forEach((function(e){return t.currentTimeline.mergeTimelineCollectedStyles(e)})),t.transformIntoNewTimeline(o),t.previousNode=e}},{key:"_visitTiming",value:function(e,t){if(e.dynamic){var n=e.strValue;return x(t.params?B(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}},{key:"visitAnimate",value:function(e,t){var n=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),r.snapshotCurrentStyles());var o=e.style;5==o.type?this.visitKeyframes(o,t):(t.incrementTime(n.duration),this.visitStyle(o,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}},{key:"visitStyle",value:function(e,t){var n=t.currentTimeline,r=t.currentAnimateTimings;!r&&n.getCurrentStyleProperties().length&&n.forwardFrame();var o=r&&r.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(o):n.setStyles(e.styles,o,t.errors,t.options),t.previousNode=e}},{key:"visitKeyframes",value:function(e,t){var n=t.currentAnimateTimings,r=t.currentTimeline.duration,o=n.duration,i=t.createSubContext().currentTimeline;i.easing=n.easing,e.styles.forEach((function(e){i.forwardTime((e.offset||0)*o),i.setStyles(e.styles,e.easing,t.errors,t.options),i.applyStylesToKeyframe()})),t.currentTimeline.mergeTimelineCollectedStyles(i),t.transformIntoNewTimeline(r+o),t.previousNode=e}},{key:"visitQuery",value:function(e,t){var n=this,r=t.currentTimeline.currentTime,o=e.options||{},i=o.delay?S(o.delay):0;i&&(6===t.previousNode.type||0==r&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=le);var a=r,s=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=s.length;var c=null;s.forEach((function(r,o){t.currentQueryIndex=o;var s=t.createSubContext(e.options,r);i&&s.delayNextStep(i),r===t.element&&(c=s.currentTimeline),q(n,e.animation,s),s.currentTimeline.applyStylesToKeyframe(),a=Math.max(a,s.currentTimeline.currentTime)})),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(a),c&&(t.currentTimeline.mergeTimelineCollectedStyles(c),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}},{key:"visitStagger",value:function(e,t){var n=t.parentContext,r=t.currentTimeline,o=e.timings,i=Math.abs(o.duration),a=i*(t.currentQueryTotal-1),s=i*t.currentQueryIndex;switch(o.duration<0?"reverse":o.easing){case"reverse":s=a-s;break;case"full":s=n.currentStaggerTime}var c=t.currentTimeline;s&&c.delayNextStep(s);var u=c.currentTime;q(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=r.currentTime-u+(r.startTime-n.currentTimeline.startTime)}}]),e}(),le={},he=function(){function e(t,n,r,o,i,a,s,c){_classCallCheck(this,e),this._driver=t,this.element=n,this.subInstructions=r,this._enterClassName=o,this._leaveClassName=i,this.errors=a,this.timelines=s,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=le,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=c||new de(this._driver,n,0),s.push(this.currentTimeline)}return _createClass(e,[{key:"updateOptions",value:function(e,t){var n=this;if(e){var r=e,o=this.options;null!=r.duration&&(o.duration=S(r.duration)),null!=r.delay&&(o.delay=S(r.delay));var i=r.params;if(i){var a=o.params;a||(a=this.options.params={}),Object.keys(i).forEach((function(e){t&&a.hasOwnProperty(e)||(a[e]=B(i[e],a,n.errors))}))}}}},{key:"_copyOptions",value:function(){var e={};if(this.options){var t=this.options.params;if(t){var n=e.params={};Object.keys(t).forEach((function(e){n[e]=t[e]}))}}return e}},{key:"createSubContext",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0,o=n||this.element,i=new e(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,r||0));return i.previousNode=this.previousNode,i.currentAnimateTimings=this.currentAnimateTimings,i.options=this._copyOptions(),i.updateOptions(t),i.currentQueryIndex=this.currentQueryIndex,i.currentQueryTotal=this.currentQueryTotal,i.parentContext=this,this.subContextCount++,i}},{key:"transformIntoNewTimeline",value:function(e){return this.previousNode=le,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}},{key:"appendInstructionToTimeline",value:function(e,t,n){var r={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},o=new fe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(o),r}},{key:"incrementTime",value:function(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}},{key:"delayNextStep",value:function(e){e>0&&this.currentTimeline.delayNextStep(e)}},{key:"invokeQuery",value:function(e,t,n,r,o,i){var a=[];if(r&&a.push(this.element),e.length>0){e=(e=e.replace(ae,"."+this._enterClassName)).replace(se,"."+this._leaveClassName);var s=this._driver.query(this.element,e,1!=n);0!==n&&(s=n<0?s.slice(s.length+n,s.length):s.slice(0,n)),a.push.apply(a,_toConsumableArray(s))}return o||0!=a.length||i.push('`query("'.concat(t,'")` returned zero elements. (Use `query("').concat(t,'", { optional: true })` if you wish to allow this.)')),a}},{key:"params",get:function(){return this.options.params}}]),e}(),de=function(){function e(t,n,r,o){_classCallCheck(this,e),this._driver=t,this.element=n,this.startTime=r,this._elementTimelineStylesLookup=o,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(n),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(n,this._localTimelineStyles)),this._loadKeyframe()}return _createClass(e,[{key:"containsAnimation",value:function(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}},{key:"getCurrentStyleProperties",value:function(){return Object.keys(this._currentKeyframe)}},{key:"delayNextStep",value:function(e){var t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}},{key:"fork",value:function(t,n){return this.applyStylesToKeyframe(),new e(this._driver,t,n||this.currentTime,this._elementTimelineStylesLookup)}},{key:"_loadKeyframe",value:function(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}},{key:"forwardFrame",value:function(){this.duration+=1,this._loadKeyframe()}},{key:"forwardTime",value:function(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}},{key:"_updateStyle",value:function(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}},{key:"allowOnlyTimelineStyles",value:function(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}},{key:"applyEmptyStep",value:function(e){var t=this;e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach((function(e){t._backFill[e]=t._globalTimelineStyles[e]||i.a,t._currentKeyframe[e]=i.a})),this._currentEmptyStepKeyframe=this._currentKeyframe}},{key:"setStyles",value:function(e,t,n,r){var o=this;t&&(this._previousKeyframe.easing=t);var a=r&&r.params||{},s=function(e,t){var n,r={};return e.forEach((function(e){"*"===e?(n=n||Object.keys(t)).forEach((function(e){r[e]=i.a})):I(e,!1,r)})),r}(e,this._globalTimelineStyles);Object.keys(s).forEach((function(e){var t=B(s[e],a,n);o._pendingStyles[e]=t,o._localTimelineStyles.hasOwnProperty(e)||(o._backFill[e]=o._globalTimelineStyles.hasOwnProperty(e)?o._globalTimelineStyles[e]:i.a),o._updateStyle(e,t)}))}},{key:"applyStylesToKeyframe",value:function(){var e=this,t=this._pendingStyles,n=Object.keys(t);0!=n.length&&(this._pendingStyles={},n.forEach((function(n){e._currentKeyframe[n]=t[n]})),Object.keys(this._localTimelineStyles).forEach((function(t){e._currentKeyframe.hasOwnProperty(t)||(e._currentKeyframe[t]=e._localTimelineStyles[t])})))}},{key:"snapshotCurrentStyles",value:function(){var e=this;Object.keys(this._localTimelineStyles).forEach((function(t){var n=e._localTimelineStyles[t];e._pendingStyles[t]=n,e._updateStyle(t,n)}))}},{key:"getFinalKeyframe",value:function(){return this._keyframes.get(this.duration)}},{key:"mergeTimelineCollectedStyles",value:function(e){var t=this;Object.keys(e._styleSummary).forEach((function(n){var r=t._styleSummary[n],o=e._styleSummary[n];(!r||o.time>r.time)&&t._updateStyle(n,o.value)}))}},{key:"buildKeyframes",value:function(){var e=this;this.applyStylesToKeyframe();var t=new Set,n=new Set,r=1===this._keyframes.size&&0===this.duration,o=[];this._keyframes.forEach((function(a,s){var c=I(a,!0);Object.keys(c).forEach((function(e){var r=c[e];r==i.l?t.add(e):r==i.a&&n.add(e)})),r||(c.offset=s/e.duration),o.push(c)}));var a=t.size?H(t.values()):[],s=n.size?H(n.values()):[];if(r){var c=o[0],u=A(c);c.offset=0,u.offset=1,o=[c,u]}return oe(this.element,o,a,s,this.duration,this.startTime,this.easing,!1)}},{key:"currentTime",get:function(){return this.startTime+this.duration}},{key:"properties",get:function(){var e=[];for(var t in this._currentKeyframe)e.push(t);return e}}]),e}(),fe=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i,a,s){var c,u=arguments.length>6&&void 0!==arguments[6]&&arguments[6];return _classCallCheck(this,n),(c=t.call(this,e,r,s.delay)).element=r,c.keyframes=o,c.preStyleProps=i,c.postStyleProps=a,c._stretchStartingKeyframe=u,c.timings={duration:s.duration,delay:s.delay,easing:s.easing},c}return _createClass(n,[{key:"containsAnimation",value:function(){return this.keyframes.length>1}},{key:"buildKeyframes",value:function(){var e=this.keyframes,t=this.timings,n=t.delay,r=t.duration,o=t.easing;if(this._stretchStartingKeyframe&&n){var i=[],a=r+n,s=n/a,c=I(e[0],!1);c.offset=0,i.push(c);var u=I(e[0],!1);u.offset=pe(s),i.push(u);for(var l=e.length-1,h=1;h<=l;h++){var d=I(e[h],!1);d.offset=pe((n+d.offset*r)/a),i.push(d)}r=a,n=0,o="",e=i}return oe(this.element,e,this.preStyleProps,this.postStyleProps,r,n,o,!0)}}]),n}(de);function pe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=Math.pow(10,t-1);return Math.round(e*n)/n}var me,ge,ye=function e(){_classCallCheck(this,e)},be=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.apply(this,arguments)}return _createClass(n,[{key:"normalizePropertyName",value:function(e,t){return V(e)}},{key:"normalizeStyleValue",value:function(e,t,n,r){var o="",i=n.toString().trim();if(ve[t]&&0!==n&&"0"!==n)if("number"==typeof n)o="px";else{var a=n.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&0==a[1].length&&r.push("Please provide a CSS unit value for ".concat(e,":").concat(n))}return i+o}}]),n}(ye),ve=(me="width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(","),ge={},me.forEach((function(e){return ge[e]=!0})),ge);function _e(e,t,n,r,o,i,a,s,c,u,l,h,d){return{type:0,element:e,triggerName:t,isRemovalTransition:o,fromState:n,fromStyles:i,toState:r,toStyles:a,timelines:s,queriedElements:c,preStyleProps:u,postStyleProps:l,totalTime:h,errors:d}}var Ce={},Oe=function(){function e(t,n,r){_classCallCheck(this,e),this._triggerName=t,this.ast=n,this._stateStyles=r}return _createClass(e,[{key:"match",value:function(e,t,n,r){return function(e,t,n,r,o){return e.some((function(e){return e(t,n,r,o)}))}(this.ast.matchers,e,t,n,r)}},{key:"buildStyles",value:function(e,t,n){var r=this._stateStyles["*"],o=this._stateStyles[e],i=r?r.buildStyles(t,n):{};return o?o.buildStyles(t,n):i}},{key:"build",value:function(e,t,n,r,o,i,a,s,c,u){var l=[],h=this.ast.options&&this.ast.options.params||Ce,f=this.buildStyles(n,a&&a.params||Ce,l),p=s&&s.params||Ce,m=this.buildStyles(r,p,l),g=new Set,y=new Map,b=new Map,v="void"===r,_={params:Object.assign(Object.assign({},h),p)},C=u?[]:ce(e,t,this.ast.animation,o,i,f,m,_,c,l),O=0;if(C.forEach((function(e){O=Math.max(e.duration+e.delay,O)})),l.length)return _e(t,this._triggerName,n,r,v,f,m,[],[],y,b,O,l);C.forEach((function(e){var n=e.element,r=d(y,n,{});e.preStyleProps.forEach((function(e){return r[e]=!0}));var o=d(b,n,{});e.postStyleProps.forEach((function(e){return o[e]=!0})),n!==t&&g.add(n)}));var k=H(g.values());return _e(t,this._triggerName,n,r,v,f,m,C,k,y,b,O)}}]),e}(),ke=function(){function e(t,n){_classCallCheck(this,e),this.styles=t,this.defaultParams=n}return _createClass(e,[{key:"buildStyles",value:function(e,t){var n={},r=A(this.defaultParams);return Object.keys(e).forEach((function(t){var n=e[t];null!=n&&(r[t]=n)})),this.styles.styles.forEach((function(e){if("string"!=typeof e){var o=e;Object.keys(o).forEach((function(e){var i=o[e];i.length>1&&(i=B(i,r,t)),n[e]=i}))}})),n}}]),e}(),Pe=function(){function e(t,n){var r=this;_classCallCheck(this,e),this.name=t,this.ast=n,this.transitionFactories=[],this.states={},n.states.forEach((function(e){r.states[e.name]=new ke(e.style,e.options&&e.options.params||{})})),we(this.states,"true","1"),we(this.states,"false","0"),n.transitions.forEach((function(e){r.transitionFactories.push(new Oe(t,e,r.states))})),this.fallbackTransition=new Oe(t,{type:1,animation:{type:2,steps:[],options:null},matchers:[function(e,t){return!0}],options:null,queryCount:0,depCount:0},this.states)}return _createClass(e,[{key:"matchTransition",value:function(e,t,n,r){return this.transitionFactories.find((function(o){return o.match(e,t,n,r)}))||null}},{key:"matchStyles",value:function(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}},{key:"containsQueries",get:function(){return this.ast.queryCount>0}}]),e}();function we(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}var Me=new ie,Ee=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._normalizer=r,this._animations={},this._playersById={},this.players=[]}return _createClass(e,[{key:"register",value:function(e,t){var n=[],r=$(this._driver,t,n);if(n.length)throw new Error("Unable to build the animation due to the following errors: "+n.join("\n"));this._animations[e]=r}},{key:"_buildPlayer",value:function(e,t,n){var r=e.element,o=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(r,o,e.duration,e.delay,e.easing,[],!0)}},{key:"create",value:function(e,t){var n,r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=[],c=this._animations[e],u=new Map;if(c?(n=ce(this._driver,t,c,"ng-enter","ng-leave",{},{},o,Me,a)).forEach((function(e){var t=d(u,e.element,{});e.postStyleProps.forEach((function(e){return t[e]=null}))})):(a.push("The requested animation doesn't exist or has already been destroyed"),n=[]),a.length)throw new Error("Unable to create the animation due to the following errors: "+a.join("\n"));u.forEach((function(e,t){Object.keys(e).forEach((function(n){e[n]=r._driver.computeStyle(t,n,i.a)}))}));var l=s(n.map((function(e){var t=u.get(e.element);return r._buildPlayer(e,{},t)})));return this._playersById[e]=l,l.onDestroy((function(){return r.destroy(e)})),this.players.push(l),l}},{key:"destroy",value:function(e){var t=this._getPlayer(e);t.destroy(),delete this._playersById[e];var n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}},{key:"_getPlayer",value:function(e){var t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}},{key:"listen",value:function(e,t,n,r){var o=h(t,"","","");return u(this._getPlayer(e),n,o,r),function(){}}},{key:"command",value:function(e,t,n,r){if("register"!=n)if("create"!=n){var o=this._getPlayer(e);switch(n){case"play":o.play();break;case"pause":o.pause();break;case"reset":o.reset();break;case"restart":o.restart();break;case"finish":o.finish();break;case"init":o.init();break;case"setPosition":o.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e)}}else this.create(e,t,r[0]||{});else this.register(e,r[0])}}]),e}(),Se=[],Te={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},xe={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},Ae=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";_classCallCheck(this,e),this.namespaceId=n;var r,o=t&&t.hasOwnProperty("value");if(this.value=null!=(r=o?t.value:t)?r:null,o){var i=A(t);delete i.value,this.options=i}else this.options={};this.options.params||(this.options.params={})}return _createClass(e,[{key:"absorbOptions",value:function(e){var t=e.params;if(t){var n=this.options.params;Object.keys(t).forEach((function(e){null==n[e]&&(n[e]=t[e])}))}}},{key:"params",get:function(){return this.options.params}}]),e}(),Ie=new Ae("void"),je=function(){function e(t,n,r){_classCallCheck(this,e),this.id=t,this.hostElement=n,this._engine=r,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+t,Be(n,this._hostClassName)}return _createClass(e,[{key:"listen",value:function(e,t,n,r){var o,i=this;if(!this._triggers.hasOwnProperty(t))throw new Error('Unable to listen on the animation trigger event "'.concat(n,'" because the animation trigger "').concat(t,"\" doesn't exist!"));if(null==n||0==n.length)throw new Error('Unable to listen on the animation trigger "'.concat(t,'" because the provided event is undefined!'));if("start"!=(o=n)&&"done"!=o)throw new Error('The provided animation trigger event "'.concat(n,'" for the animation trigger "').concat(t,'" is not supported!'));var a=d(this._elementListeners,e,[]),s={name:t,phase:n,callback:r};a.push(s);var c=d(this._engine.statesByElement,e,{});return c.hasOwnProperty(t)||(Be(e,"ng-trigger"),Be(e,"ng-trigger-"+t),c[t]=Ie),function(){i._engine.afterFlush((function(){var e=a.indexOf(s);e>=0&&a.splice(e,1),i._triggers[t]||delete c[t]}))}}},{key:"register",value:function(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}},{key:"_getTrigger",value:function(e){var t=this._triggers[e];if(!t)throw new Error('The provided animation trigger "'.concat(e,'" has not been registered!'));return t}},{key:"trigger",value:function(e,t,n){var r=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=this._getTrigger(t),a=new Ne(this.id,t,e),s=this._engine.statesByElement.get(e);s||(Be(e,"ng-trigger"),Be(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,s={}));var c=s[t],u=new Ae(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&c&&u.absorbOptions(c.options),s[t]=u,c||(c=Ie),"void"===u.value||c.value!==u.value){var l=d(this._engine.playersByElement,e,[]);l.forEach((function(e){e.namespaceId==r.id&&e.triggerName==t&&e.queued&&e.destroy()}));var h=i.matchTransition(c.value,u.value,e,u.params),f=!1;if(!h){if(!o)return;h=i.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:c,toState:u,player:a,isFallbackTransition:f}),f||(Be(e,"ng-animate-queued"),a.onStart((function(){He(e,"ng-animate-queued")}))),a.onDone((function(){var t=r.players.indexOf(a);t>=0&&r.players.splice(t,1);var n=r._engine.playersByElement.get(e);if(n){var o=n.indexOf(a);o>=0&&n.splice(o,1)}})),this.players.push(a),l.push(a),a}if(!function(e,t){var n=Object.keys(e),r=Object.keys(t);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var i=n[o];if(!t.hasOwnProperty(i)||e[i]!==t[i])return!1}return!0}(c.params,u.params)){var p=[],m=i.matchStyles(c.value,c.params,p),g=i.matchStyles(u.value,u.params,p);p.length?this._engine.reportError(p):this._engine.afterFlush((function(){R(e,m),N(e,g)}))}}},{key:"deregister",value:function(e){var t=this;delete this._triggers[e],this._engine.statesByElement.forEach((function(t,n){delete t[e]})),this._elementListeners.forEach((function(n,r){t._elementListeners.set(r,n.filter((function(t){return t.name!=e})))}))}},{key:"clearElementCache",value:function(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);var t=this._engine.playersByElement.get(e);t&&(t.forEach((function(e){return e.destroy()})),this._engine.playersByElement.delete(e))}},{key:"_signalRemovalForInnerTriggers",value:function(e,t){var n=this,r=this._engine.driver.query(e,".ng-trigger",!0);r.forEach((function(e){if(!e.__ng_removed){var r=n._engine.fetchNamespacesByElement(e);r.size?r.forEach((function(n){return n.triggerLeaveAnimation(e,t,!1,!0)})):n.clearElementCache(e)}})),this._engine.afterFlushAnimationsDone((function(){return r.forEach((function(e){return n.clearElementCache(e)}))}))}},{key:"triggerLeaveAnimation",value:function(e,t,n,r){var o=this,i=this._engine.statesByElement.get(e);if(i){var a=[];if(Object.keys(i).forEach((function(t){if(o._triggers[t]){var n=o.trigger(e,t,"void",r);n&&a.push(n)}})),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&s(a).onDone((function(){return o._engine.processLeaveNode(e)})),!0}return!1}},{key:"prepareLeaveAnimationListeners",value:function(e){var t=this,n=this._elementListeners.get(e);if(n){var r=new Set;n.forEach((function(n){var o=n.name;if(!r.has(o)){r.add(o);var i=t._triggers[o].fallbackTransition,a=t._engine.statesByElement.get(e)[o]||Ie,s=new Ae("void"),c=new Ne(t.id,o,e);t._engine.totalQueuedPlayers++,t._queue.push({element:e,triggerName:o,transition:i,fromState:a,toState:s,player:c,isFallbackTransition:!0})}}))}}},{key:"removeNode",value:function(e,t){var n=this,r=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),!this.triggerLeaveAnimation(e,t,!0)){var o=!1;if(r.totalAnimations){var i=r.players.length?r.playersByQueriedElement.get(e):[];if(i&&i.length)o=!0;else for(var a=e;a=a.parentNode;)if(r.statesByElement.get(a)){o=!0;break}}if(this.prepareLeaveAnimationListeners(e),o)r.markElementAsRemoved(this.id,e,!1,t);else{var s=e.__ng_removed;s&&s!==Te||(r.afterFlush((function(){return n.clearElementCache(e)})),r.destroyInnerAnimations(e),r._onRemovalComplete(e,t))}}}},{key:"insertNode",value:function(e,t){Be(e,this._hostClassName)}},{key:"drainQueuedTransitions",value:function(e){var t=this,n=[];return this._queue.forEach((function(r){var o=r.player;if(!o.destroyed){var i=r.element,a=t._elementListeners.get(i);a&&a.forEach((function(t){if(t.name==r.triggerName){var n=h(i,r.triggerName,r.fromState.value,r.toState.value);n._data=e,u(r.player,t.phase,n,t.callback)}})),o.markedForDestroy?t._engine.afterFlush((function(){o.destroy()})):n.push(r)}})),this._queue=[],n.sort((function(e,n){var r=e.transition.ast.depCount,o=n.transition.ast.depCount;return 0==r||0==o?r-o:t._engine.driver.containsElement(e.element,n.element)?1:-1}))}},{key:"destroy",value:function(e){this.players.forEach((function(e){return e.destroy()})),this._signalRemovalForInnerTriggers(this.hostElement,e)}},{key:"elementContainsData",value:function(e){var t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find((function(t){return t.element===e}))||t}}]),e}(),De=function(){function e(t,n,r){_classCallCheck(this,e),this.bodyNode=t,this.driver=n,this._normalizer=r,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=function(e,t){}}return _createClass(e,[{key:"_onRemovalComplete",value:function(e,t){this.onRemovalComplete(e,t)}},{key:"createNamespace",value:function(e,t){var n=new je(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}},{key:"_balanceNamespaceList",value:function(e,t){var n=this._namespaceList.length-1;if(n>=0){for(var r=!1,o=n;o>=0;o--)if(this.driver.containsElement(this._namespaceList[o].hostElement,t)){this._namespaceList.splice(o+1,0,e),r=!0;break}r||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}},{key:"register",value:function(e,t){var n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}},{key:"registerTrigger",value:function(e,t,n){var r=this._namespaceLookup[e];r&&r.register(t,n)&&this.totalAnimations++}},{key:"destroy",value:function(e,t){var n=this;if(e){var r=this._fetchNamespace(e);this.afterFlush((function(){n.namespacesByHostElement.delete(r.hostElement),delete n._namespaceLookup[e];var t=n._namespaceList.indexOf(r);t>=0&&n._namespaceList.splice(t,1)})),this.afterFlushAnimationsDone((function(){return r.destroy(t)}))}}},{key:"_fetchNamespace",value:function(e){return this._namespaceLookup[e]}},{key:"fetchNamespacesByElement",value:function(e){var t=new Set,n=this.statesByElement.get(e);if(n)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=n[r[o]].namespaceId;if(i){var a=this._fetchNamespace(i);a&&t.add(a)}}return t}},{key:"trigger",value:function(e,t,n,r){if(Re(t)){var o=this._fetchNamespace(e);if(o)return o.trigger(t,n,r),!0}return!1}},{key:"insertNode",value:function(e,t,n,r){if(Re(t)){var o=t.__ng_removed;if(o&&o.setForRemoval){o.setForRemoval=!1,o.setForMove=!0;var i=this.collectedLeaveElements.indexOf(t);i>=0&&this.collectedLeaveElements.splice(i,1)}if(e){var a=this._fetchNamespace(e);a&&a.insertNode(t,n)}r&&this.collectEnterElement(t)}}},{key:"collectEnterElement",value:function(e){this.collectedEnterElements.push(e)}},{key:"markElementAsDisabled",value:function(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Be(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),He(e,"ng-animate-disabled"))}},{key:"removeNode",value:function(e,t,n,r){if(Re(t)){var o=e?this._fetchNamespace(e):null;if(o?o.removeNode(t,r):this.markElementAsRemoved(e,t,!1,r),n){var i=this.namespacesByHostElement.get(t);i&&i.id!==e&&i.removeNode(t,r)}}else this._onRemovalComplete(t,r)}},{key:"markElementAsRemoved",value:function(e,t,n,r){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:r,hasAnimation:n,removedBeforeQueried:!1}}},{key:"listen",value:function(e,t,n,r,o){return Re(t)?this._fetchNamespace(e).listen(t,n,r,o):function(){}}},{key:"_buildInstruction",value:function(e,t,n,r,o){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,r,e.fromState.options,e.toState.options,t,o)}},{key:"destroyInnerAnimations",value:function(e){var t=this,n=this.driver.query(e,".ng-trigger",!0);n.forEach((function(e){return t.destroyActiveAnimationsForElement(e)})),0!=this.playersByQueriedElement.size&&(n=this.driver.query(e,".ng-animating",!0)).forEach((function(e){return t.finishActiveQueriedAnimationOnElement(e)}))}},{key:"destroyActiveAnimationsForElement",value:function(e){var t=this.playersByElement.get(e);t&&t.forEach((function(e){e.queued?e.markedForDestroy=!0:e.destroy()}))}},{key:"finishActiveQueriedAnimationOnElement",value:function(e){var t=this.playersByQueriedElement.get(e);t&&t.forEach((function(e){return e.finish()}))}},{key:"whenRenderingDone",value:function(){var e=this;return new Promise((function(t){if(e.players.length)return s(e.players).onDone((function(){return t()}));t()}))}},{key:"processLeaveNode",value:function(e){var t=this,n=e.__ng_removed;if(n&&n.setForRemoval){if(e.__ng_removed=Te,n.namespaceId){this.destroyInnerAnimations(e);var r=this._fetchNamespace(n.namespaceId);r&&r.clearElementCache(e)}this._onRemovalComplete(e,n.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach((function(e){t.markElementAsDisabled(e,!1)}))}},{key:"flush",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,n=[];if(this.newHostElements.size&&(this.newHostElements.forEach((function(t,n){return e._balanceNamespaceList(t,n)})),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(var r=0;r<this.collectedEnterElements.length;r++)Be(this.collectedEnterElements[r],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){var o=[];try{n=this._flushAnimations(o,t)}finally{for(var i=0;i<o.length;i++)o[i]()}}else for(var a=0;a<this.collectedLeaveElements.length;a++)this.processLeaveNode(this.collectedLeaveElements[a]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach((function(e){return e()})),this._flushFns=[],this._whenQuietFns.length){var c=this._whenQuietFns;this._whenQuietFns=[],n.length?s(n).onDone((function(){c.forEach((function(e){return e()}))})):c.forEach((function(e){return e()}))}}},{key:"reportError",value:function(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}},{key:"_flushAnimations",value:function(e,t){var n=this,r=new ie,o=[],a=new Map,c=[],u=new Map,l=new Map,h=new Map,f=new Set;this.disabledNodes.forEach((function(e){f.add(e);for(var t=n.driver.query(e,".ng-animate-queued",!0),r=0;r<t.length;r++)f.add(t[r])}));var p=this.bodyNode,m=Array.from(this.statesByElement.keys()),g=Le(m,this.collectedEnterElements),y=new Map,b=0;g.forEach((function(e,t){var n="ng-enter"+b++;y.set(t,n),e.forEach((function(e){return Be(e,n)}))}));for(var v=[],_=new Set,C=new Set,O=0;O<this.collectedLeaveElements.length;O++){var k=this.collectedLeaveElements[O],P=k.__ng_removed;P&&P.setForRemoval&&(v.push(k),_.add(k),P.hasAnimation?this.driver.query(k,".ng-star-inserted",!0).forEach((function(e){return _.add(e)})):C.add(k))}var w=new Map,M=Le(m,Array.from(_));M.forEach((function(e,t){var n="ng-leave"+b++;w.set(t,n),e.forEach((function(e){return Be(e,n)}))})),e.push((function(){g.forEach((function(e,t){var n=y.get(t);e.forEach((function(e){return He(e,n)}))})),M.forEach((function(e,t){var n=w.get(t);e.forEach((function(e){return He(e,n)}))})),v.forEach((function(e){n.processLeaveNode(e)}))}));for(var E=[],S=[],T=this._namespaceList.length-1;T>=0;T--)this._namespaceList[T].drainQueuedTransitions(t).forEach((function(e){var t=e.player,i=e.element;if(E.push(t),n.collectedEnterElements.length){var a=i.__ng_removed;if(a&&a.setForMove)return void t.destroy()}var s=!p||!n.driver.containsElement(p,i),f=w.get(i),m=y.get(i),g=n._buildInstruction(e,r,m,f,s);if(g.errors&&g.errors.length)S.push(g);else{if(s)return t.onStart((function(){return R(i,g.fromStyles)})),t.onDestroy((function(){return N(i,g.toStyles)})),void o.push(t);if(e.isFallbackTransition)return t.onStart((function(){return R(i,g.fromStyles)})),t.onDestroy((function(){return N(i,g.toStyles)})),void o.push(t);g.timelines.forEach((function(e){return e.stretchStartingKeyframe=!0})),r.append(i,g.timelines),c.push({instruction:g,player:t,element:i}),g.queriedElements.forEach((function(e){return d(u,e,[]).push(t)})),g.preStyleProps.forEach((function(e,t){var n=Object.keys(e);if(n.length){var r=l.get(t);r||l.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}})),g.postStyleProps.forEach((function(e,t){var n=Object.keys(e),r=h.get(t);r||h.set(t,r=new Set),n.forEach((function(e){return r.add(e)}))}))}}));if(S.length){var x=[];S.forEach((function(e){x.push("@".concat(e.triggerName," has failed due to:\n")),e.errors.forEach((function(e){return x.push("- ".concat(e,"\n"))}))})),E.forEach((function(e){return e.destroy()})),this.reportError(x)}var A=new Map,I=new Map;c.forEach((function(e){var t=e.element;r.has(t)&&(I.set(t,t),n._beforeAnimationBuild(e.player.namespaceId,e.instruction,A))})),o.forEach((function(e){var t=e.element;n._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach((function(e){d(A,t,[]).push(e),e.destroy()}))}));var j=v.filter((function(e){return Ve(e,l,h)})),D=new Map;Fe(D,this.driver,C,h,i.a).forEach((function(e){Ve(e,l,h)&&j.push(e)}));var U=new Map;g.forEach((function(e,t){Fe(U,n.driver,new Set(e),l,i.l)})),j.forEach((function(e){var t=D.get(e),n=U.get(e);D.set(e,Object.assign(Object.assign({},t),n))}));var F=[],L=[],B={};c.forEach((function(e){var t=e.element,i=e.player,c=e.instruction;if(r.has(t)){if(f.has(t))return i.onDestroy((function(){return N(t,c.toStyles)})),i.disabled=!0,i.overrideTotalTime(c.totalTime),void o.push(i);var u=B;if(I.size>1){for(var l=t,h=[];l=l.parentNode;){var d=I.get(l);if(d){u=d;break}h.push(l)}h.forEach((function(e){return I.set(e,u)}))}var p=n._buildAnimation(i.namespaceId,c,A,a,U,D);if(i.setRealPlayer(p),u===B)F.push(i);else{var m=n.playersByElement.get(u);m&&m.length&&(i.parentPlayer=s(m)),o.push(i)}}else R(t,c.fromStyles),i.onDestroy((function(){return N(t,c.toStyles)})),L.push(i),f.has(t)&&o.push(i)})),L.forEach((function(e){var t=a.get(e.element);if(t&&t.length){var n=s(t);e.setRealPlayer(n)}})),o.forEach((function(e){e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()}));for(var H=0;H<v.length;H++){var z=v[H],V=z.__ng_removed;if(He(z,"ng-leave"),!V||!V.hasAnimation){var G=[];if(u.size){var K=u.get(z);K&&K.length&&G.push.apply(G,_toConsumableArray(K));for(var q=this.driver.query(z,".ng-animating",!0),Y=0;Y<q.length;Y++){var Q=u.get(q[Y]);Q&&Q.length&&G.push.apply(G,_toConsumableArray(Q))}}var W=G.filter((function(e){return!e.destroyed}));W.length?ze(this,z,W):this.processLeaveNode(z)}}return v.length=0,F.forEach((function(e){n.players.push(e),e.onDone((function(){e.destroy();var t=n.players.indexOf(e);n.players.splice(t,1)})),e.play()})),F}},{key:"elementContainsData",value:function(e,t){var n=!1,r=t.__ng_removed;return r&&r.setForRemoval&&(n=!0),this.playersByElement.has(t)&&(n=!0),this.playersByQueriedElement.has(t)&&(n=!0),this.statesByElement.has(t)&&(n=!0),this._fetchNamespace(e).elementContainsData(t)||n}},{key:"afterFlush",value:function(e){this._flushFns.push(e)}},{key:"afterFlushAnimationsDone",value:function(e){this._whenQuietFns.push(e)}},{key:"_getPreviousPlayers",value:function(e,t,n,r,o){var i=[];if(t){var a=this.playersByQueriedElement.get(e);a&&(i=a)}else{var s=this.playersByElement.get(e);if(s){var c=!o||"void"==o;s.forEach((function(e){e.queued||(c||e.triggerName==r)&&i.push(e)}))}}return(n||r)&&(i=i.filter((function(e){return!(n&&n!=e.namespaceId||r&&r!=e.triggerName)}))),i}},{key:"_beforeAnimationBuild",value:function(e,t,n){var r,o=this,i=t.element,a=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName,c=_createForOfIteratorHelper(t.timelines);try{var u=function(){var e=r.value.element,c=e!==i,u=d(n,e,[]);o._getPreviousPlayers(e,c,a,s,t.toState).forEach((function(e){var t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),u.push(e)}))};for(c.s();!(r=c.n()).done;)u()}catch(l){c.e(l)}finally{c.f()}R(i,t.fromStyles)}},{key:"_buildAnimation",value:function(e,t,n,r,o,a){var u=this,l=t.triggerName,h=t.element,f=[],p=new Set,m=new Set,g=t.timelines.map((function(t){var s=t.element;p.add(s);var d=s.__ng_removed;if(d&&d.removedBeforeQueried)return new i.d(t.duration,t.delay);var g,y,b=s!==h,v=(g=(n.get(s)||Se).map((function(e){return e.getRealPlayer()})),y=[],function e(t,n){for(var r=0;r<t.length;r++){var o=t[r];o instanceof i.k?e(o.players,n):n.push(o)}}(g,y),y).filter((function(e){return!!e.element&&e.element===s})),_=o.get(s),C=a.get(s),O=c(0,u._normalizer,0,t.keyframes,_,C),k=u._buildPlayer(t,O,v);if(t.subTimeline&&r&&m.add(s),b){var P=new Ne(e,l,s);P.setRealPlayer(k),f.push(P)}return k}));f.forEach((function(e){d(u.playersByQueriedElement,e.element,[]).push(e),e.onDone((function(){return function(e,t,n){var r;if(e instanceof Map){if(r=e.get(t)){if(r.length){var o=r.indexOf(n);r.splice(o,1)}0==r.length&&e.delete(t)}}else if(r=e[t]){if(r.length){var i=r.indexOf(n);r.splice(i,1)}0==r.length&&delete e[t]}return r}(u.playersByQueriedElement,e.element,e)}))})),p.forEach((function(e){return Be(e,"ng-animating")}));var y=s(g);return y.onDestroy((function(){p.forEach((function(e){return He(e,"ng-animating")})),N(h,t.toStyles)})),m.forEach((function(e){d(r,e,[]).push(y)})),y}},{key:"_buildPlayer",value:function(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new i.d(e.duration,e.delay)}},{key:"queuedPlayers",get:function(){var e=[];return this._namespaceList.forEach((function(t){t.players.forEach((function(t){t.queued&&e.push(t)}))})),e}}]),e}(),Ne=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.triggerName=n,this.element=r,this._player=new i.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}return _createClass(e,[{key:"setRealPlayer",value:function(e){var t=this;this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach((function(n){t._queuedCallbacks[n].forEach((function(t){return u(e,n,void 0,t)}))})),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}},{key:"getRealPlayer",value:function(){return this._player}},{key:"overrideTotalTime",value:function(e){this.totalTime=e}},{key:"syncPlayerEvents",value:function(e){var t=this,n=this._player;n.triggerCallback&&e.onStart((function(){return n.triggerCallback("start")})),e.onDone((function(){return t.finish()})),e.onDestroy((function(){return t.destroy()}))}},{key:"_queueEvent",value:function(e,t){d(this._queuedCallbacks,e,[]).push(t)}},{key:"onDone",value:function(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}},{key:"onStart",value:function(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}},{key:"onDestroy",value:function(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}},{key:"init",value:function(){this._player.init()}},{key:"hasStarted",value:function(){return!this.queued&&this._player.hasStarted()}},{key:"play",value:function(){!this.queued&&this._player.play()}},{key:"pause",value:function(){!this.queued&&this._player.pause()}},{key:"restart",value:function(){!this.queued&&this._player.restart()}},{key:"finish",value:function(){this._player.finish()}},{key:"destroy",value:function(){this.destroyed=!0,this._player.destroy()}},{key:"reset",value:function(){!this.queued&&this._player.reset()}},{key:"setPosition",value:function(e){this.queued||this._player.setPosition(e)}},{key:"getPosition",value:function(){return this.queued?0:this._player.getPosition()}},{key:"triggerCallback",value:function(e){var t=this._player;t.triggerCallback&&t.triggerCallback(e)}}]),e}();function Re(e){return e&&1===e.nodeType}function Ue(e,t){var n=e.style.display;return e.style.display=null!=t?t:"none",n}function Fe(e,t,n,r,o){var i=[];n.forEach((function(e){return i.push(Ue(e))}));var a=[];r.forEach((function(n,r){var i={};n.forEach((function(e){var n=i[e]=t.computeStyle(r,e,o);n&&0!=n.length||(r.__ng_removed=xe,a.push(r))})),e.set(r,i)}));var s=0;return n.forEach((function(e){return Ue(e,i[s++])})),a}function Le(e,t){var n=new Map;if(e.forEach((function(e){return n.set(e,[])})),0==t.length)return n;var r=new Set(t),o=new Map;return t.forEach((function(e){var t=function e(t){if(!t)return 1;var i=o.get(t);if(i)return i;var a=t.parentNode;return i=n.has(a)?a:r.has(a)?1:e(a),o.set(t,i),i}(e);1!==t&&n.get(t).push(e)})),n}function Be(e,t){if(e.classList)e.classList.add(t);else{var n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function He(e,t){if(e.classList)e.classList.remove(t);else{var n=e.$$classes;n&&delete n[t]}}function ze(e,t,n){s(n).onDone((function(){return e.processLeaveNode(t)}))}function Ve(e,t,n){var r=n.get(e);if(!r)return!1;var o=t.get(e);return o?r.forEach((function(e){return o.add(e)})):t.set(e,r),n.delete(e),!0}var Ge=function(){function e(t,n,r){var o=this;_classCallCheck(this,e),this.bodyNode=t,this._driver=n,this._triggerCache={},this.onRemovalComplete=function(e,t){},this._transitionEngine=new De(t,n,r),this._timelineEngine=new Ee(t,n,r),this._transitionEngine.onRemovalComplete=function(e,t){return o.onRemovalComplete(e,t)}}return _createClass(e,[{key:"registerTrigger",value:function(e,t,n,r,o){var i=e+"-"+r,a=this._triggerCache[i];if(!a){var s=[],c=$(this._driver,o,s);if(s.length)throw new Error('The animation trigger "'.concat(r,'" has failed to build due to the following errors:\n - ').concat(s.join("\n - ")));a=function(e,t){return new Pe(e,t)}(r,c),this._triggerCache[i]=a}this._transitionEngine.registerTrigger(t,r,a)}},{key:"register",value:function(e,t){this._transitionEngine.register(e,t)}},{key:"destroy",value:function(e,t){this._transitionEngine.destroy(e,t)}},{key:"onInsert",value:function(e,t,n,r){this._transitionEngine.insertNode(e,t,n,r)}},{key:"onRemove",value:function(e,t,n,r){this._transitionEngine.removeNode(e,t,r||!1,n)}},{key:"disableAnimations",value:function(e,t){this._transitionEngine.markElementAsDisabled(e,t)}},{key:"process",value:function(e,t,n,r){if("@"==n.charAt(0)){var o=_slicedToArray(f(n),2),i=o[0],a=o[1];this._timelineEngine.command(i,t,a,r)}else this._transitionEngine.trigger(e,t,n,r)}},{key:"listen",value:function(e,t,n,r,o){if("@"==n.charAt(0)){var i=_slicedToArray(f(n),2),a=i[0],s=i[1];return this._timelineEngine.listen(a,t,s,o)}return this._transitionEngine.listen(e,t,n,r,o)}},{key:"flush",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;this._transitionEngine.flush(e)}},{key:"whenRenderingDone",value:function(){return this._transitionEngine.whenRenderingDone()}},{key:"players",get:function(){return this._transitionEngine.players.concat(this._timelineEngine.players)}}]),e}();function Ke(e,t){var n=null,r=null;return Array.isArray(t)&&t.length?(n=Ye(t[0]),t.length>1&&(r=Ye(t[t.length-1]))):t&&(n=Ye(t)),n||r?new qe(e,n,r):null}var qe=function(){var e=function(){function e(t,n,r){_classCallCheck(this,e),this._element=t,this._startStyles=n,this._endStyles=r,this._state=0;var o=e.initialStylesByElement.get(t);o||e.initialStylesByElement.set(t,o={}),this._initialStyles=o}return _createClass(e,[{key:"start",value:function(){this._state<1&&(this._startStyles&&N(this._element,this._startStyles,this._initialStyles),this._state=1)}},{key:"finish",value:function(){this.start(),this._state<2&&(N(this._element,this._initialStyles),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),this._state=1)}},{key:"destroy",value:function(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(R(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(R(this._element,this._endStyles),this._endStyles=null),N(this._element,this._initialStyles),this._state=3)}}]),e}();return e.initialStylesByElement=new WeakMap,e}();function Ye(e){for(var t=null,n=Object.keys(e),r=0;r<n.length;r++){var o=n[r];Qe(o)&&((t=t||{})[o]=e[o])}return t}function Qe(e){return"display"===e||"position"===e}var We=function(){function e(t,n,r,o,i,a,s){var c=this;_classCallCheck(this,e),this._element=t,this._name=n,this._duration=r,this._delay=o,this._easing=i,this._fillMode=a,this._onDoneFn=s,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=function(e){return c._handleCallback(e)}}return _createClass(e,[{key:"apply",value:function(){var e,t,n;e=this._element,t="".concat(this._duration,"ms ").concat(this._easing," ").concat(this._delay,"ms 1 normal ").concat(this._fillMode," ").concat(this._name),(n=tt(e,"").trim()).length&&(function(e,t){for(var n=0;n<e.length;n++)e.charAt(n)}(n),t="".concat(n,", ").concat(t)),et(e,"",t),Je(this._element,this._eventFn,!1),this._startTime=Date.now()}},{key:"pause",value:function(){Xe(this._element,this._name,"paused")}},{key:"resume",value:function(){Xe(this._element,this._name,"running")}},{key:"setPosition",value:function(e){var t=Ze(this._element,this._name);this._position=e*this._duration,et(this._element,"Delay","-".concat(this._position,"ms"),t)}},{key:"getPosition",value:function(){return this._position}},{key:"_handleCallback",value:function(e){var t=e._ngTestManualTimestamp||Date.now(),n=1e3*parseFloat(e.elapsedTime.toFixed(3));e.animationName==this._name&&Math.max(t-this._startTime,0)>=this._delay&&n>=this._duration&&this.finish()}},{key:"finish",value:function(){this._finished||(this._finished=!0,this._onDoneFn(),Je(this._element,this._eventFn,!0))}},{key:"destroy",value:function(){var e,t,n,r;this._destroyed||(this._destroyed=!0,this.finish(),e=this._element,t=this._name,n=tt(e,"").split(","),(r=$e(n,t))>=0&&(n.splice(r,1),et(e,"",n.join(","))))}}]),e}();function Xe(e,t,n){et(e,"PlayState",n,Ze(e,t))}function Ze(e,t){var n=tt(e,"");return n.indexOf(",")>0?$e(n.split(","),t):$e([n],t)}function $e(e,t){for(var n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Je(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function et(e,t,n,r){var o="animation"+t;if(null!=r){var i=e.style[o];if(i.length){var a=i.split(",");a[r]=n,n=a.join(",")}}e.style[o]=n}function tt(e,t){return e.style["animation"+t]}var nt=function(){function e(t,n,r,o,i,a,s,c){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.animationName=r,this._duration=o,this._delay=i,this._finalStyles=s,this._specialStyles=c,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=a||"linear",this.totalTime=o+i,this._buildStyler()}return _createClass(e,[{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"destroy",value:function(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"_flushDoneFns",value:function(){this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[]}},{key:"_flushStartFns",value:function(){this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[]}},{key:"finish",value:function(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}},{key:"setPosition",value:function(e){this._styler.setPosition(e)}},{key:"getPosition",value:function(){return this._styler.getPosition()}},{key:"hasStarted",value:function(){return this._state>=2}},{key:"init",value:function(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}},{key:"play",value:function(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}},{key:"pause",value:function(){this.init(),this._styler.pause()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"reset",value:function(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}},{key:"_buildStyler",value:function(){var e=this;this._styler=new We(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",(function(){return e.finish()}))}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"beforeDestroy",value:function(){var e=this;this.init();var t={};if(this.hasStarted()){var n=this._state>=3;Object.keys(this._finalStyles).forEach((function(r){"offset"!=r&&(t[r]=n?e._finalStyles[r]:Y(e.element,r))}))}this.currentSnapshot=t}}]),e}(),rt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this)).element=e,o._startingStyles={},o.__initialized=!1,o._styles=P(r),o}return _createClass(n,[{key:"init",value:function(){var e=this;!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach((function(t){e._startingStyles[t]=e.element.style[t]})),_get(_getPrototypeOf(n.prototype),"init",this).call(this))}},{key:"play",value:function(){var e=this;this._startingStyles&&(this.init(),Object.keys(this._styles).forEach((function(t){return e.element.style.setProperty(t,e._styles[t])})),_get(_getPrototypeOf(n.prototype),"play",this).call(this))}},{key:"destroy",value:function(){var e=this;this._startingStyles&&(Object.keys(this._startingStyles).forEach((function(t){var n=e._startingStyles[t];n?e.element.style.setProperty(t,n):e.element.style.removeProperty(t)})),this._startingStyles=null,_get(_getPrototypeOf(n.prototype),"destroy",this).call(this))}}]),n}(i.d),ot=function(){function e(){_classCallCheck(this,e),this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return _(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return O(e,t)}},{key:"query",value:function(e,t,n){return k(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"buildKeyframeElement",value:function(e,t,n){n=n.map((function(e){return P(e)}));var r="@keyframes ".concat(t," {\n"),o="";n.forEach((function(e){o=" ";var t=parseFloat(e.offset);r+="".concat(o).concat(100*t,"% {\n"),o+=" ",Object.keys(e).forEach((function(t){var n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(r+="".concat(o,"animation-timing-function: ").concat(n,";\n")));default:return void(r+="".concat(o).concat(t,": ").concat(n,";\n"))}})),r+=o+"}\n"})),r+="}\n";var i=document.createElement("style");return i.innerHTML=r,i}},{key:"animate",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;a&&this._notifyFaultyScrubber();var s=i.filter((function(e){return e instanceof nt})),c={};G(n,r)&&s.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var u=function(e){var t={};return e&&(Array.isArray(e)?e:[e]).forEach((function(e){Object.keys(e).forEach((function(n){"offset"!=n&&"easing"!=n&&(t[n]=e[n])}))})),t}(t=K(e,t,c));if(0==n)return new rt(e,u);var l="gen_css_kf_"+this._count++,h=this.buildKeyframeElement(e,l,t);document.querySelector("head").appendChild(h);var d=Ke(e,t),f=new nt(e,t,l,n,r,o,u,d);return f.onDestroy((function(){var e;(e=h).parentNode.removeChild(e)})),f}},{key:"_notifyFaultyScrubber",value:function(){this._warningIssued||(console.warn("@angular/animations: please load the web-animations.js polyfill to allow programmatic access...\n"," visit http://bit.ly/IWukam to learn more about using the web-animation-js polyfill."),this._warningIssued=!0)}}]),e}(),it=function(){function e(t,n,r,o){_classCallCheck(this,e),this.element=t,this.keyframes=n,this.options=r,this._specialStyles=o,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=r.duration,this._delay=r.delay||0,this.time=this._duration+this._delay}return _createClass(e,[{key:"_onFinish",value:function(){this._finished||(this._finished=!0,this._onDoneFns.forEach((function(e){return e()})),this._onDoneFns=[])}},{key:"init",value:function(){this._buildPlayer(),this._preparePlayerBeforeStart()}},{key:"_buildPlayer",value:function(){var e=this;if(!this._initialized){this._initialized=!0;var t=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,t,this.options),this._finalKeyframe=t.length?t[t.length-1]:{},this.domPlayer.addEventListener("finish",(function(){return e._onFinish()}))}}},{key:"_preparePlayerBeforeStart",value:function(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}},{key:"_triggerWebAnimation",value:function(e,t,n){return e.animate(t,n)}},{key:"onStart",value:function(e){this._onStartFns.push(e)}},{key:"onDone",value:function(e){this._onDoneFns.push(e)}},{key:"onDestroy",value:function(e){this._onDestroyFns.push(e)}},{key:"play",value:function(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach((function(e){return e()})),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}},{key:"pause",value:function(){this.init(),this.domPlayer.pause()}},{key:"finish",value:function(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}},{key:"reset",value:function(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}},{key:"_resetDomPlayerState",value:function(){this.domPlayer&&this.domPlayer.cancel()}},{key:"restart",value:function(){this.reset(),this.play()}},{key:"hasStarted",value:function(){return this._started}},{key:"destroy",value:function(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach((function(e){return e()})),this._onDestroyFns=[])}},{key:"setPosition",value:function(e){this.domPlayer.currentTime=e*this.time}},{key:"getPosition",value:function(){return this.domPlayer.currentTime/this.time}},{key:"beforeDestroy",value:function(){var e=this,t={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach((function(n){"offset"!=n&&(t[n]=e._finished?e._finalKeyframe[n]:Y(e.element,n))})),this.currentSnapshot=t}},{key:"triggerCallback",value:function(e){var t="start"==e?this._onStartFns:this._onDoneFns;t.forEach((function(e){return e()})),t.length=0}},{key:"totalTime",get:function(){return this._delay+this._duration}}]),e}(),at=function(){function e(){_classCallCheck(this,e),this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(st().toString()),this._cssKeyframesDriver=new ot}return _createClass(e,[{key:"validateStyleProperty",value:function(e){return _(e)}},{key:"matchesElement",value:function(e,t){return C(e,t)}},{key:"containsElement",value:function(e,t){return O(e,t)}},{key:"query",value:function(e,t,n){return k(e,t,n)}},{key:"computeStyle",value:function(e,t,n){return window.getComputedStyle(e)[t]}},{key:"overrideWebAnimationsSupport",value:function(e){this._isNativeImpl=e}},{key:"animate",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:[],a=arguments.length>6?arguments[6]:void 0;if(!a&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,r,o,i);var s={duration:n,delay:r,fill:0==r?"both":"forwards"};o&&(s.easing=o);var c={},u=i.filter((function(e){return e instanceof it}));G(n,r)&&u.forEach((function(e){var t=e.currentSnapshot;Object.keys(t).forEach((function(e){return c[e]=t[e]}))}));var l=Ke(e,t=K(e,t=t.map((function(e){return I(e,!1)})),c));return new it(e,t,s,l)}}]),e}();function st(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var ct,ut=n("ofXK"),lt=((ct=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,o){var i;return _classCallCheck(this,n),(i=t.call(this))._nextAnimationId=0,i._renderer=e.createRenderer(o.body,{id:"0",encapsulation:r.O.None,styles:[],data:{animation:[]}}),i}return _createClass(n,[{key:"build",value:function(e){var t=this._nextAnimationId.toString();this._nextAnimationId++;var n=Array.isArray(e)?Object(i.f)(e):e;return ft(this._renderer,null,t,"register",[n]),new ht(t,this._renderer)}}]),n}(i.b)).\u0275fac=function(e){return new(e||ct)(r.Ub(r.E),r.Ub(ut.c))},ct.\u0275prov=r.Hb({token:ct,factory:ct.\u0275fac}),ct),ht=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r){var o;return _classCallCheck(this,n),(o=t.call(this))._id=e,o._renderer=r,o}return _createClass(n,[{key:"create",value:function(e,t){return new dt(this._id,e,t||{},this._renderer)}}]),n}(i.c),dt=function(){function e(t,n,r,o){_classCallCheck(this,e),this.id=t,this.element=n,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",r)}return _createClass(e,[{key:"_listen",value:function(e,t){return this._renderer.listen(this.element,"@@".concat(this.id,":").concat(e),t)}},{key:"_command",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return ft(this._renderer,this.element,this.id,e,n)}},{key:"onDone",value:function(e){this._listen("done",e)}},{key:"onStart",value:function(e){this._listen("start",e)}},{key:"onDestroy",value:function(e){this._listen("destroy",e)}},{key:"init",value:function(){this._command("init")}},{key:"hasStarted",value:function(){return this._started}},{key:"play",value:function(){this._command("play"),this._started=!0}},{key:"pause",value:function(){this._command("pause")}},{key:"restart",value:function(){this._command("restart")}},{key:"finish",value:function(){this._command("finish")}},{key:"destroy",value:function(){this._command("destroy")}},{key:"reset",value:function(){this._command("reset")}},{key:"setPosition",value:function(e){this._command("setPosition",e)}},{key:"getPosition",value:function(){return 0}}]),e}();function ft(e,t,n,r,o){return e.setProperty(t,"@@".concat(n,":").concat(r),o)}var pt,mt,gt,yt,bt,vt,_t,Ct=((pt=function(){function e(t,n,r){_classCallCheck(this,e),this.delegate=t,this.engine=n,this._zone=r,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),n.onRemovalComplete=function(e,t){t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}return _createClass(e,[{key:"createRenderer",value:function(e,t){var n=this,r=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){var o=this._rendererCache.get(r);return o||(o=new Ot("",r,this.engine),this._rendererCache.set(r,o)),o}var i=t.id,a=t.id+"-"+this._currentId;return this._currentId++,this.engine.register(a,e),t.data.animation.forEach((function t(r){Array.isArray(r)?r.forEach(t):n.engine.registerTrigger(i,a,e,r.name,r)})),new kt(this,a,r,this.engine)}},{key:"begin",value:function(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}},{key:"_scheduleCountTask",value:function(){var e=this;this.promise.then((function(){e._microtaskId++}))}},{key:"scheduleListenerCallback",value:function(e,t,n){var r=this;e>=0&&e<this._microtaskId?this._zone.run((function(){return t(n)})):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then((function(){r._zone.run((function(){r._animationCallbacksBuffer.forEach((function(e){var t=_slicedToArray(e,2);(0,t[0])(t[1])})),r._animationCallbacksBuffer=[]}))})),this._animationCallbacksBuffer.push([t,n]))}},{key:"end",value:function(){var e=this;this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular((function(){e._scheduleCountTask(),e.engine.flush(e._microtaskId)})),this.delegate.end&&this.delegate.end()}},{key:"whenRenderingDone",value:function(){return this.engine.whenRenderingDone()}}]),e}()).\u0275fac=function(e){return new(e||pt)(r.Ub(r.E),r.Ub(Ge),r.Ub(r.z))},pt.\u0275prov=r.Hb({token:pt,factory:pt.\u0275fac}),pt),Ot=function(){function e(t,n,r){_classCallCheck(this,e),this.namespaceId=t,this.delegate=n,this.engine=r,this.destroyNode=this.delegate.destroyNode?function(e){return n.destroyNode(e)}:null}return _createClass(e,[{key:"destroy",value:function(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}},{key:"createElement",value:function(e,t){return this.delegate.createElement(e,t)}},{key:"createComment",value:function(e){return this.delegate.createComment(e)}},{key:"createText",value:function(e){return this.delegate.createText(e)}},{key:"appendChild",value:function(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}},{key:"insertBefore",value:function(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}},{key:"removeChild",value:function(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}},{key:"selectRootElement",value:function(e,t){return this.delegate.selectRootElement(e,t)}},{key:"parentNode",value:function(e){return this.delegate.parentNode(e)}},{key:"nextSibling",value:function(e){return this.delegate.nextSibling(e)}},{key:"setAttribute",value:function(e,t,n,r){this.delegate.setAttribute(e,t,n,r)}},{key:"removeAttribute",value:function(e,t,n){this.delegate.removeAttribute(e,t,n)}},{key:"addClass",value:function(e,t){this.delegate.addClass(e,t)}},{key:"removeClass",value:function(e,t){this.delegate.removeClass(e,t)}},{key:"setStyle",value:function(e,t,n,r){this.delegate.setStyle(e,t,n,r)}},{key:"removeStyle",value:function(e,t,n){this.delegate.removeStyle(e,t,n)}},{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}},{key:"setValue",value:function(e,t){this.delegate.setValue(e,t)}},{key:"listen",value:function(e,t,n){return this.delegate.listen(e,t,n)}},{key:"disableAnimations",value:function(e,t){this.engine.disableAnimations(e,t)}},{key:"data",get:function(){return this.delegate.data}}]),e}(),kt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o,i){var a;return _classCallCheck(this,n),(a=t.call(this,r,o,i)).factory=e,a.namespaceId=r,a}return _createClass(n,[{key:"setProperty",value:function(e,t,n){"@"==t.charAt(0)?"."==t.charAt(1)&&"@.disabled"==t?this.disableAnimations(e,n=void 0===n||!!n):this.engine.process(this.namespaceId,e,t.substr(1),n):this.delegate.setProperty(e,t,n)}},{key:"listen",value:function(e,t,n){var r,o,i=this;if("@"==t.charAt(0)){var a,s=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e),c=t.substr(1),u="";return"@"!=c.charAt(0)&&(o=(r=c).indexOf("."),c=(a=_slicedToArray([r.substring(0,o),r.substr(o+1)],2))[0],u=a[1]),this.engine.listen(this.namespaceId,s,c,u,(function(e){i.factory.scheduleListenerCallback(e._data||-1,n,e)}))}return this.delegate.listen(e,t,n)}}]),n}(Ot),Pt=((mt=function(e){_inherits(n,e);var t=_createSuper(n);function n(e,r,o){return _classCallCheck(this,n),t.call(this,e.body,r,o)}return n}(Ge)).\u0275fac=function(e){return new(e||mt)(r.Ub(ut.c),r.Ub(E),r.Ub(ye))},mt.\u0275prov=r.Hb({token:mt,factory:mt.\u0275fac}),mt),wt=[{provide:E,useFactory:function(){return"function"==typeof st()?new at:new ot}},{provide:new r.q("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:i.b,useClass:lt},{provide:ye,useFactory:function(){return new be}},{provide:Ge,useClass:Pt},{provide:r.E,useFactory:function(e,t,n){return new Ct(e,t,n)},deps:[o.f,Ge,r.z]}],Mt=((gt=function e(){_classCallCheck(this,e)}).\u0275mod=r.Jb({type:gt}),gt.\u0275inj=r.Ib({factory:function(e){return new(e||gt)},providers:wt,imports:[o.a]}),gt),Et=n("3Pt+"),St=n("tk/3"),Tt=n("hi8z"),xt=n("zCZe"),At=n("RPfa"),It=n("k4C/"),jt=n("2opj"),Dt=n("Ovbl"),Nt=n("tyNb"),Rt=[{path:"hydra",loadChildren:function(){return n.e(9).then(n.bind(null,"WHFK")).then((function(e){return e.HydraModule}))}},{path:"",pathMatch:"full",redirectTo:"hydra"}],Ut=((bt=function e(){_classCallCheck(this,e)}).\u0275mod=r.Jb({type:bt}),bt.\u0275inj=r.Ib({factory:function(e){return new(e||bt)},providers:[],imports:[[At.j,Dt.c,Nt.i.forRoot(Rt,{enableTracing:!1,scrollPositionRestoration:"enabled"})],Nt.i]}),bt),Ft=((yt=function(e){_inherits(n,e);var t=_createSuper(n);function n(){return _classCallCheck(this,n),t.call(this)}return _createClass(n,[{key:"ngOnInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnInit",this).call(this)}},{key:"ngAfterViewInit",value:function(){_get(_getPrototypeOf(n.prototype),"ngAfterViewInit",this).call(this)}},{key:"ngOnDestroy",value:function(){_get(_getPrototypeOf(n.prototype),"ngOnDestroy",this).call(this)}}]),n}(Tt.a)).\u0275fac=function(e){return new(e||yt)},yt.\u0275cmp=r.Fb({type:yt,selectors:[["app-root"]],features:[r.wb],decls:1,vars:0,template:function(e,t){1&e&&r.Mb(0,"router-outlet")},directives:[Nt.j],styles:[""]}),yt),Lt=n("PCNd"),Bt=((vt=function(e){_inherits(n,e);var t=_createSuper(n);function n(){var e;return _classCallCheck(this,n),(e=t.apply(this,arguments)).overrides={swipe:{direction:31},pan:{direction:30},press:{time:600}},e}return n}(o.d)).\u0275fac=function(e){return Ht(e||vt)},vt.\u0275prov=r.Hb({token:vt,factory:vt.\u0275fac}),vt),Ht=r.Sb(Bt),zt=((_t=function e(){_classCallCheck(this,e)}).\u0275mod=r.Jb({type:_t,bootstrap:[Ft]}),_t.\u0275inj=r.Ib({factory:function(e){return new(e||_t)},providers:[{provide:o.c,useClass:Bt}],imports:[[o.a,Mt,St.b,Et.b,Tt.e.forRoot(),xt.d.forRoot(),At.j.forRoot(),It.l.forRoot(),jt.n.forRoot(),Dt.c.forRoot(),Lt.a.forRoot(),Ut]]}),_t);Object(r.R)(),o.e().bootstrapModule(zt).catch((function(e){return console.log(e)}))},znQF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n("i5Gp"),o=function(){function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"fillIntRange",value:function(e,t){for(var n=[],r=e;r<=t;r++)n.push(r);return n}},{key:"symmetricFloor",value:function(e){return e<0?Math.ceil(e):Math.floor(e)}},{key:"symmetricCeil",value:function(e){return e<0?Math.floor(e):Math.ceil(e)}},{key:"fixedDigitRange",value:function(e,t,n){for(var r=n||Math.floor(Math.log10(t)),o=[],i=e;i<=t;i++){for(var a=i.toString();a.length<r;)a="0"+a;o.push(a)}return o}},{key:"randRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(e===t)return e;var r=t-e+(n?1:0);return e+Math.floor(Math.random()*r)}},{key:"longRandom",value:function(t){for(var n=e.randRange(1,10).toString();n.length<t;)n+=e.randRange(0,10).toString();return n}},{key:"hertz",value:function(e){return 1e3/e}},{key:"sort",value:function(e){return e.sort((function(e,t){return e-t}))}},{key:"percentile",value:function(t,n){if(0!==t.length){if(n<0||n>1)throw new Error("Invalid percentile");var r=e.sort(t.slice());return 0===n?r[0]:1===n?r[t.length-1]:r[Math.round((t.length-1)*n)]}}},{key:"quartile",value:function(t,n){if(0!==t.length){if(![1,2,3].includes(n))throw new Error("Invalid quartile");return e.percentile(t,n/4)}}},{key:"average",value:function(e){if(0!==e.length){var t,n=0,r=_createForOfIteratorHelper(e);try{for(r.s();!(t=r.n()).done;){n+=t.value}}catch(o){r.e(o)}finally{r.f()}return n/e.length}}},{key:"quartileAverage",value:function(t){if(0!==t.length){var n=e.quartile(t,1),r=e.quartile(t,2),o=e.quartile(t,3);return void 0!==n&&void 0!==r&&void 0!==o?e.average([n,r,o]):void 0}}},{key:"mean",value:function(t){return e.average(t)}},{key:"modes",value:function(e){if(0===e.length)return[];var t,n,r,o=new Map,i=_createForOfIteratorHelper(e);try{for(i.s();!(t=i.n()).done;){var a=t.value;o.has(a)?o.set(a,o.get(a)+1):o.set(a,1)}}catch(m){i.e(m)}finally{i.f()}var s,c=_createForOfIteratorHelper(e);try{for(c.s();!(s=c.n()).done;){var u=s.value,l=o.get(u);(void 0===n||l>n)&&(n=l),(void 0===r||l<r)&&(r=l)}}catch(m){c.e(m)}finally{c.f()}if(n===r)return[];var h,d=[],f=_createForOfIteratorHelper(e);try{for(f.s();!(h=f.n()).done;){var p=h.value;o.get(p)===n&&d.push(p)}}catch(m){f.e(m)}finally{f.f()}return d}},{key:"median",value:function(t){if(0!==t.length)return e.quartile(t,2)}},{key:"trimDecimalZeros",value:function(e){var t=e.toString();return-1===t.indexOf(".")||"."===(t=r.CommonsString.rtrim(t,"0")).substr(t.length-1,1)&&(t=r.CommonsString.rtrim(t,".")),t}},{key:"prettyFigure",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t<1?e.trimDecimalZeros(t.toPrecision(3)):t<10||t<100||t<1e3?e.trimDecimalZeros(t.toPrecision(4)):(t=Math.round(t))<1e3?t.toString():n||t<1e4?t.toLocaleString():t<1e6?parseFloat((t/1e3).toPrecision(3))+"K":parseFloat((t/1e6).toPrecision(2))+"M"}},{key:"prettyFileSize",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t?1024:1e3;if(e<Math.pow(n,1))return e.toString();if(e<10*Math.pow(n,1))return e.toLocaleString();var r,o=2,i=_createForOfIteratorHelper("KMGTPEZY".split(""));try{for(i.s();!(r=i.n()).done;){var a=r.value;if(e<Math.pow(n,o))return"".concat(parseFloat((e/Math.pow(n,o-1)).toPrecision(3))).concat(a);o++}}catch(s){i.e(s)}finally{i.f()}return"Oversize"}},{key:"prettyPercent",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=100*t;if(n)return(r=Math.round(r))+"%";if(100===r)return"100%";if(r>100)return Math.round(r)+"%";var o=r.toPrecision(2);return/[0-9]e\+/.test(o)?e.prettyPercent(t,!0):e.trimDecimalZeros(o)+"%"}},{key:"asDuration",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return"".concat((e=Math.round(e)).toLocaleString()).concat(o?"":" ").concat(o?n:r.CommonsString.pluralise(t,e,!0))}},{key:"prettyDuration",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(isNaN(t))return"NaN";if(t<500)return e.asDuration(t,"millisecond","ms",n);if(t<1e3)return e.asDuration(t/1e3,"second","s",n);var r=t/1e3;if(r<=60)return e.asDuration(r,"second","s",n);var o=t/6e4;if(o<=60)return e.asDuration(o,"minute","mins",n);var i=t/36e5;return i<=24?e.asDuration(i,"hour","hrs",n):e.asDuration(t/864e5,"day","days",n)}},{key:"ordinalUnit",value:function(t){if(isNaN(t)||t!==Math.floor(t))throw new Error("Cannot compute ordinal unit for invalid integer");var n=t.toString();if(1===n.length)switch(n){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}var r=n.substr(n.length-2);return"1"===r[0]?"th":e.ordinalUnit(parseInt(r[1],10))}},{key:"prettyOrdinal",value:function(t){return"".concat((t=e.symmetricFloor(t)).toLocaleString()).concat(e.ordinalUnit(Math.abs(t)))}},{key:"sampleIndices",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(0===e)return[];if(n>e&&!r)return[];if(t<1)throw new Error("Minimum of 2 samples required");if(n<1)throw new Error("Minimum of block size 1 required");var o=Math.floor(e/t);o<n&&(o=n);for(var i=[],a=0;i.push(a),!((a+=o)+n>e););return i}},{key:"roughFactor",value:function(e,t){if(0===t)throw new Error("Cannot factor into zero");if(e<t)return[e];for(var n=Math.round(e/t),r=n*t,o=[],i=n;i-- >0;)o.push(t);if(e===r)return o;var a=e;if(e<r)for(var s=o.length-1;a-- >0;){var c,u=0,l=_createForOfIteratorHelper(o);try{for(l.s();!(c=l.n()).done;){u+=c.value}}catch(m){l.e(m)}finally{l.f()}if(u===e)break;o[s]--,--s<0&&(s=o.length-1)}else for(var h=0;a-- >0;){var d,f=0,p=_createForOfIteratorHelper(o);try{for(p.s();!(d=p.n()).done;){f+=d.value}}catch(m){p.e(m)}finally{p.f()}if(f===e)break;o[h]++,++h===o.length&&(h=0)}if(a<0)throw new Error("TTL expired during attempt roughtFactor");return o}}]),e}();t.CommonsNumber=o}},[[0,0]]]);