hydra-crawler 1.4.5 → 2.0.1

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 +20 -0
  161. package/dist/parsers/image-tags.parser.js +38 -34
  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 +12 -0
  182. package/dist/parsers/server.parser.js +66 -56
  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 +45 -32
  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
- (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});const o=n("Q2sQ");t.isIImage=function(e){return!!o.CommonsType.hasPropertyString(e,"url")&&!!o.CommonsType.hasPropertyNumber(e,"size")}},"+SKG":function(e,t){e.exports=function(e){return n&&Buffer.isBuffer(e)||o&&(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,o="function"==typeof ArrayBuffer},"/2bj":function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n("WB8P"),s=n("Cb9d"),i=n("7Zlx");t.CommonsSynchronised=class{constructor(){this.semaphores=new Map}synchronised(e,t,n,a){return o(this,void 0,void 0,(function*(){this.semaphores.has(e)||this.semaphores.set(e,new s.CommonsSemaphore);const o=r.CommonsType.assertObject(this.semaphores.get(e));let c=!1;try{yield o.claim(t),c=!0}catch(l){c=!1}if(!c&&n===i.ECommonsSynchronisedTimeoutAction.ABORT)throw new Error("Timeout on synchronised block");try{return yield a()}finally{c&&o.release()}}))}}},"/UVI":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Hcel");class r{static decToBaseNChunks(e,t){if(0===e)return[0];const n=[];for(let o=Math.floor(Math.log(e)/Math.log(t))+1,r=0;o-- >0;r++){const r=Math.pow(t,o),s=Math.floor(e/r);n.push(s),e-=s*r}return n}static digitToBaseN(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 ${e} vs base ${t}`);return e<10?e.toString():(e-=10)<26?String.fromCharCode(65+e):(e-=26,String.fromCharCode(97+e))}static baseNToDigit(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");const n=e.charCodeAt(0);if(n<48)throw new Error("Character is outside scope of given base");if(n<58){const e=n-48;if(e>=t)throw new Error("Character is outside scope of given base");return e}if(n<91){const e=n-65+10;if(e>=t)throw new Error("Character is outside scope of given base");return e}if(n<123){const e=n-97+10+26;if(e>=t)throw new Error("Character is outside scope of given base");return e}throw new Error("Character is outside scope of given base")}static decToBaseN(e,t){const n=r.decToBaseNChunks(e,t);let o="";for(const s of n)o=`${o}${r.digitToBaseN(s,t)}`;return o}static baseNToDec(e,t){let n=0;for(;""!==e;){const o=r.baseNToDigit(e.substring(0,1),t);e=e.substring(1),n*=t,n+=o}return n}static generateRandomBaseNId(e,t){let n="";for(let o=e;o-- >0;){const e=Math.floor(Math.random()*t);n=`${n}${r.digitToBaseN(e,t)}`}return n}static isBaseNIdArray(e,t){if(!o.CommonsType.isStringArray(e))return!1;for(const n of e)if(!t(n))return!1;return!0}static isBaseNIdKeyObject(e,t){if(!o.CommonsType.isStringKeyObject(e))return!1;for(const n of Object.keys(e))if(!t(e[n]))return!1;return!0}static isBaseNIdOrUndefinedKeyObject(e,t){if(!o.CommonsType.isStringOrUndefinedKeyObject(e))return!1;for(const n of Object.keys(e))if(o.CommonsType.hasProperty(e,n)&&void 0!==e[n]&&!t(e[n]))return!1;return!0}static isBaseNIdArrayKeyObject(e,t){if(!o.CommonsType.isStringArrayKeyObject(e))return!1;for(const n of Object.keys(e))if(!r.isBaseNIdArray(e[n],t))return!1;return!0}static hasPropertyBaseNId(e,t,n){return!!o.CommonsType.hasPropertyString(e,t)&&n(e[t])}static hasPropertyBaseNIdArray(e,t,n){return!!o.CommonsType.hasPropertyStringArray(e,t)&&r.isBaseNIdArray(e[t],n)}static hasPropertyBaseNIdKeyObject(e,t,n){return!!o.CommonsType.hasPropertyStringKeyObject(e,t)&&r.isBaseNIdArrayKeyObject(e[t],n)}static hasPropertyBaseNIdOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNId(e,t,n))}static hasPropertyBaseNIdArrayOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringArrayOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNIdArray(e,t,n))}static hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringKeyObjectOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNIdKeyObject(e,t,n))}}t.CommonsBase=r;class s extends r{static decToChunks(e){return super.decToBaseNChunks(e,s.BASE)}static digitToBase(e){return super.digitToBaseN(e,s.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),s.BASE)}static decToBase(e){return super.decToBaseN(e,s.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),s.BASE)}static generateRandomId(){return super.generateRandomBaseNId(10,s.BASE)}static is(e){return new RegExp(s.REGEX_PATTERN_BASE36).test(e)}static isId(e){return new RegExp(s.REGEX_PATTERN_BASE36_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,s.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,s.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,s.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,s.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,s.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,s.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,s.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,s.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,s.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,s.isId)}}t.CommonsBase36=s,s.BASE=36,s.REGEX_PATTERN_BASE36="^[0-9A-Z]+$",s.REGEX_PATTERN_BASE36_ID="^[0-9A-Z]{10}$";class i extends r{static decToChunks(e){return super.decToBaseNChunks(e,i.BASE)}static digitToBase(e){return super.digitToBaseN(e,i.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),i.BASE)}static decToBase(e){return super.decToBaseN(e,i.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),i.BASE)}static generateRandomId(){return super.generateRandomBaseNId(6,i.BASE)}static is(e){return new RegExp(i.REGEX_PATTERN_BASE41).test(e)}static isId(e){return new RegExp(i.REGEX_PATTERN_BASE41_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,i.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,i.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,i.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,i.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,i.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,i.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,i.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,i.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,i.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,i.isId)}}t.CommonsBase41=i,i.BASE=41,i.REGEX_PATTERN_BASE41="^[0-9A-Za-e]+$",i.REGEX_PATTERN_BASE41_ID="^[0-9A-Za-e]{6}$";class a extends r{static decToChunks(e){return super.decToBaseNChunks(e,a.BASE)}static digitToBase(e){return super.digitToBaseN(e,a.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),a.BASE)}static decToBase(e){return super.decToBaseN(e,a.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),a.BASE)}static generateRandomId(){return super.generateRandomBaseNId(8,a.BASE)}static is(e){return new RegExp(a.REGEX_PATTERN_BASE62).test(e)}static isId(e){return new RegExp(a.REGEX_PATTERN_BASE62_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,a.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,a.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,a.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,a.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,a.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,a.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,a.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,a.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,a.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,a.isId)}}t.CommonsBase62=a,a.BASE=62,a.REGEX_PATTERN_BASE62="^[0-9A-Za-z]+$",a.REGEX_PATTERN_BASE62_ID="^[0-9A-Za-z]{8}$"},"/seU":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");t.isTAspError=function(e){return!!o.CommonsType.hasPropertyString(e,"application")&&!!o.CommonsType.hasPropertyString(e,"message")&&!!o.CommonsType.hasPropertyString(e,"stack")}},0:function(e,t,n){e.exports=n("zUnb")},"0z79":function(e,t,n){var o=n("AdPF"),r=n("CUme"),s=n("cpc2"),i=n("Yvos"),a=n("NOtv")("engine.io-client:polling-xhr");function c(){}function l(e){if(r.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 h(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=l,e.exports.Request=h,i(l,r),l.prototype.supportsBinary=!0,l.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 h(e)},l.prototype.doWrite=function(e,t){var n=this.request({method:"POST",data:e,isBinary:"string"!=typeof e&&void 0!==e}),o=this;n.on("success",t),n.on("error",(function(e){o.onError("xhr post error",e)})),this.sendXhr=n},l.prototype.doPoll=function(){a("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},s(h.prototype),h.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 o(e),n=this;try{a("xhr open %s: %s",this.method,this.uri),t.open(this.method,this.uri,this.async);try{if(this.extraHeaders)for(var r in t.setDisableHeaderCheck&&t.setDisableHeaderCheck(!0),this.extraHeaders)this.extraHeaders.hasOwnProperty(r)&&t.setRequestHeader(r,this.extraHeaders[r])}catch(s){}if("POST"===this.method)try{t.setRequestHeader("Content-type",this.isBinary?"application/octet-stream":"text/plain;charset=UTF-8")}catch(s){}try{t.setRequestHeader("Accept","*/*")}catch(s){}"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(s){}4===t.readyState&&(200===t.status||1223===t.status?n.onLoad():setTimeout((function(){n.onError("number"==typeof t.status?t.status:0)}),0))},a("xhr data %s",this.data),t.send(this.data)}catch(s){return void setTimeout((function(){n.onError(s)}),0)}"undefined"!=typeof document&&(this.index=h.requestsCount++,h.requests[this.index]=this)},h.prototype.onSuccess=function(){this.emit("success"),this.cleanup()},h.prototype.onData=function(e){this.emit("data",e),this.onSuccess()},h.prototype.onError=function(e){this.emit("error",e),this.cleanup(!0)},h.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 h.requests[this.index],this.xhr=null}},h.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)},h.prototype.hasXDR=function(){return"undefined"!=typeof XDomainRequest&&!this.xs&&this.enablesXDR},h.prototype.abort=function(){this.cleanup()},h.requestsCount=0,h.requests={},"undefined"!=typeof document)if("function"==typeof attachEvent)attachEvent("onunload",d);else if("function"==typeof addEventListener){var u="onpagehide"in self?"pagehide":"unload";addEventListener(u,d,!1)}function d(){for(var e in h.requests)h.requests.hasOwnProperty(e)&&h.requests[e].abort()}},1:function(e,t){},"12Mk":function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("eY2s")),o(n("3XH2")),o(n("V0VN")),o(n("uD+L")),o(n("znQF")),o(n("e7dE")),o(n("i5Gp")),o(n("b/jT")),o(n("r517"))},"14A5":function(e,t){var n=void 0!==n?n:"undefined"!=typeof WebKitBlobBuilder?WebKitBlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder&&MozBlobBuilder,o=function(){try{return 2===new Blob(["hi"]).size}catch(e){return!1}}(),r=o&&function(){try{return 2===new Blob([new Uint8Array([1,2])]).size}catch(e){return!1}}(),s=n&&n.prototype.append&&n.prototype.getBlob;function i(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 a(e,t){t=t||{};var o=new n;return i(e).forEach((function(e){o.append(e)})),t.type?o.getBlob(t.type):o.getBlob()}function c(e,t){return new Blob(i(e),t||{})}"undefined"!=typeof Blob&&(a.prototype=Blob.prototype,c.prototype=Blob.prototype),e.exports=o?r?Blob:c:s?a:void 0},"1mEP":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Hcel");t.isTSegmentTree=function e(t){if(!o.CommonsType.isObject(t))return!1;const n=t;if(!o.CommonsType.hasPropertyNumber(n,"tally"))return!1;if(!o.CommonsType.hasPropertyObjectOrUndefined(n,"children"))return!1;if(o.CommonsType.hasProperty(n,"children"))for(const o of Object.keys(n.children))if(!e(n.children[o]))return!1;return!0};class r{static stringSegmentArrayToTree(e){const t={tally:0,children:{}};for(const n of e){let e=t;for(;;){const t=n.shift();if(void 0===t)break;o.CommonsType.hasProperty(e,"children")||(e.children={}),o.CommonsType.hasProperty(e.children,t)?e.children[t].tally++:e.children[t]={tally:1},e=e.children[t]}}return t.children[""]}static getDepth(e){if(void 0===e.children)return 1;let t=[];for(const n of Object.keys(e.children||{}))t.push(r.getDepth(e.children[n]));return 0===t.length?1:(t=t.sort().reverse(),1+t[0])}static treeToStacksRecurse(e,t,n,o=100){if(0===o)throw new Error("Exceeded TTL");let s=e.tally;for(const i of Object.keys(e.children||{})){const a=e.children[i];t[n].push({name:i,tally:a.tally}),s-=a.tally,r.treeToStacksRecurse(a,t,n+1,o-1)}if(s>0)for(let r=n;r<t.length;r++)t[r].push({name:"",tally:s})}static treeToStacks(e){const t=[];for(let n=r.getDepth(e)-1;n-- >0;)t.push([]);return r.treeToStacksRecurse(e,t,0),t}}t.CommonsTree=r},"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 o}));const o=(()=>"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 s}));var o=n("XNiG"),r=n("9ppp");class s extends o.a{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new r.a;return this._value}next(e){super.next(this._value=e)}}},"2fFW":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));let o=!1;const r={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else o&&console.log("RxJS: Back to a better error behavior. Thank you. <3");o=e},get useDeprecatedSynchronousErrorHandling(){return o}}},"2opj":function(e,t,n){"use strict";n.d(t,"a",(function(){return fe})),n.d(t,"b",(function(){return be})),n.d(t,"c",(function(){return ke})),n.d(t,"d",(function(){return ye})),n.d(t,"e",(function(){return _e})),n.d(t,"f",(function(){return de})),n.d(t,"g",(function(){return Pe})),n.d(t,"h",(function(){return we})),n.d(t,"i",(function(){return Me})),n.d(t,"j",(function(){return Ce})),n.d(t,"k",(function(){return Oe})),n.d(t,"l",(function(){return me})),n.d(t,"m",(function(){return ge})),n.d(t,"n",(function(){return Ae}));var o=n("fXoL"),r=n("k4C/"),s=n("XNiG"),i=n("hi8z"),a=n("RPfa"),c=n("R0Ic"),l=n("WB8P"),h=n("ofXK"),u=n("jhN1"),d=n("aEx1");const p=["*"];function m(e,t){if(1&e){const e=o.Rb();o.Ob(0),o.Qb(1,"i",6),o.Yb("click",(function(){return o.qc(e),o.cc(2).doUp()})),o.zc(2,"arrow_back"),o.Pb(),o.Nb()}}function g(e,t){if(1&e){const e=o.Rb();o.Qb(0,"i",6),o.Yb("click",(function(){return o.qc(e),o.cc(2).doToggleMenu()})),o.zc(1,"menu"),o.Pb()}}function f(e,t){if(1&e&&(o.Qb(0,"section",5),o.xc(1,m,3,0,"ng-container",2),o.xc(2,g,2,0,"ng-template",null,5,o.yc),o.Pb()),2&e){const e=o.oc(3),t=o.cc();o.zb(1),o.jc("ngIf",t.downTitle)("ngIfElse",e)}}function b(e,t){if(1&e&&(o.Qb(0,"h2"),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.title)}}function y(e,t){if(1&e&&(o.Ob(0),o.Qb(1,"h1"),o.zc(2),o.Pb(),o.xc(3,b,2,1,"h2",7),o.Nb()),2&e){const e=o.cc();o.zb(2),o.Ac(e.downTitle),o.zb(1),o.jc("ngIf",e.title)}}function _(e,t){if(1&e&&(o.Qb(0,"h1"),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.title)}}function C(e,t){if(1&e&&(o.Qb(0,"h2"),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.subtitle)}}function O(e,t){if(1&e&&(o.xc(0,_,2,1,"h1",7),o.xc(1,C,2,1,"h2",7)),2&e){const e=o.cc();o.jc("ngIf",e.title),o.zb(1),o.jc("ngIf",e.subtitle)}}function P(e,t){if(1&e&&(o.Qb(0,"section",8),o.hc(1),o.hc(2,1),o.Mb(3,"commons-overflow-icon"),o.Pb()),2&e){const e=o.cc();o.Cb("numberOfItems-1",1===e.statusCount)("numberOfItems-2",2===e.statusCount)("numberOfItems-3",3===e.statusCount)("numberOfItems-4",4===e.statusCount)("numberOfItems-5",5===e.statusCount)("numberOfItems-6",6===e.statusCount)("numberOfItems-7",7===e.statusCount)("numberOfItems-8",8===e.statusCount)}}const w=[[["","commons-toolbar-status",""]],[["commons-toolbar-signal-strength"]]],M=["[commons-toolbar-status]","commons-toolbar-signal-strength"],v=["commons-toolbar-status",""];function E(e,t){1&e&&(o.Ob(0),o.hc(1),o.Nb())}const k=["commons-bottom-navigation-bar-item",""];function T(e,t){if(1&e&&(o.Qb(0,"i",6),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.icon)}}function S(e,t){if(1&e&&(o.Qb(0,"i",7),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.icon)}}function x(e,t){if(1&e&&o.Mb(0,"i"),2&e){const e=o.cc(2);o.Bb("mdi mdi-"+e.icon)}}function A(e,t){if(1&e&&(o.Ob(0),o.Ob(1,2),o.xc(2,T,2,1,"i",3),o.xc(3,S,2,1,"i",4),o.xc(4,x,1,2,"i",5),o.Nb(),o.Nb()),2&e){const e=o.cc();o.zb(1),o.jc("ngSwitch",e.iconSet),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN3),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MDI)}}function j(e,t){if(1&e&&(o.Qb(0,"span"),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.caption)}}function I(e,t){if(1&e&&(o.Qb(0,"label"),o.zc(1),o.Pb()),2&e){const e=o.cc();o.Cb("important",e.important),o.zb(1),o.Ac(e.label)}}const D=["commons-drawer-menu-item",""];function N(e,t){if(1&e&&(o.Qb(0,"i",1),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.icon)}}function R(e,t){1&e&&(o.Qb(0,"section",1),o.Qb(1,"section",2),o.hc(2),o.Pb(),o.Pb())}const U=["commons-tab",""];function L(e,t){if(1&e&&(o.Qb(0,"label"),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.label)}}function B(e,t){if(1&e&&(o.Qb(0,"i",6),o.zc(1),o.Pb()),2&e){const e=o.cc().$implicit;o.zb(1),o.Ac(e.icon)}}function F(e,t){1&e&&(o.Qb(0,"i",7),o.zc(1,"check"),o.Pb())}function H(e,t){if(1&e){const e=o.Rb();o.Ob(0),o.Qb(1,"commons-inline-menu-item",3),o.Yb("click",(function(){o.qc(e);const n=t.$implicit;return o.cc(2).doSelect(n)})),o.xc(2,B,2,1,"i",4),o.xc(3,F,2,0,"i",5),o.zc(4),o.Pb(),o.Nb()}if(2&e){const e=t.$implicit;o.zb(1),o.jc("menu","_overflow")("autoclose",!0),o.zb(1),o.jc("ngIf",e.icon),o.zb(1),o.jc("ngIf",!e.icon),o.zb(1),o.Bc(" ",e.caption," ")}}function z(e,t){if(1&e){const e=o.Rb();o.Qb(0,"commons-inline-menu",1),o.Yb("onSelect",(function(t){return o.qc(e),o.cc().doSelect(t)})),o.xc(1,H,5,5,"ng-container",2),o.Pb()}if(2&e){const e=o.cc();o.jc("name","_overflow"),o.zb(1),o.jc("ngForOf",e.items)}}function $(e,t){if(1&e){const e=o.Rb();o.Qb(0,"div"),o.Qb(1,"commons-snack",1),o.Yb("onClose",(function(){o.qc(e);const n=t.$implicit;return o.cc().doClose(n)})),o.Pb(),o.Pb()}if(2&e){const e=t.$implicit,n=o.cc();o.jc("@closeAnimation","open"),o.zb(1),o.jc("snack",e)("timeout",n.timeout)("allowClose",n.allowClose)}}function V(e,t){if(1&e&&o.Mb(0,"div",5),2&e){const e=o.cc();o.wc("background-image","url("+e.background+")",o.Eb),o.Cb("hasAvatar",e.avatar)}}function G(e,t){1&e&&o.Mb(0,"div",6)}function K(e,t){if(1&e&&o.Mb(0,"div",7),2&e){const e=o.cc();o.wc("background-image","url("+e.getUrlAvatar()+")",o.Eb)}}function q(e,t){if(1&e&&(o.Qb(0,"i",13),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.getAvatar().icon)}}function Y(e,t){if(1&e&&(o.Qb(0,"i",14),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.getAvatar().icon)}}function Q(e,t){if(1&e&&o.Mb(0,"i"),2&e){const e=o.cc(2);o.Bb("mdi mdi-"+e.getAvatar().icon)}}function W(e,t){if(1&e&&(o.Qb(0,"div",8),o.Ob(1,9),o.xc(2,q,2,1,"i",10),o.xc(3,Y,2,1,"i",11),o.xc(4,Q,1,2,"i",12),o.Nb(),o.Pb()),2&e){const e=o.cc();o.wc("background-color",e.getAvatar().background)("color",e.getAvatar().foreground),o.zb(1),o.jc("ngSwitch",e.getIconSet()),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN3),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MDI)}}function X(e,t){if(1&e&&(o.Qb(0,"h1"),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.text)}}function Z(e,t){if(1&e){const e=o.Rb();o.Qb(0,"aside",2),o.Yb("click",(function(){return o.qc(e),o.cc().doClose()}))("swipe",(function(t){return o.qc(e),o.cc().doSwipe(t)})),o.Pb()}2&e&&o.jc("@drawerBackgroundFadeInOutAnimation",!0)}const J=["commons-card",""];function ee(e,t){if(1&e){const e=o.Rb();o.Qb(0,"i",1),o.Yb("click",(function(){return o.qc(e),o.cc().doShowOverflow()})),o.zc(1,"more_vert"),o.Pb()}}const te={BOTTOM:"bottom",LEFT:"left",RIGHT:"right",TOP:"top"};let ne=(()=>{class e{constructor(){this.showEmitter=new o.n(!0),this.hideEmitter=new o.n(!0)}show(e){this.showEmitter.emit(e)}hide(e){this.hideEmitter.emit(e)}showObservable(){return this.showEmitter}hideObservable(){return this.hideEmitter}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),oe=(()=>{class e{constructor(e){this.menuService=e,this.setSubject=new o.n(!0),this.showSubject=new o.n(!0),this.selectSubject=new o.n(!0)}setObservable(){return this.setSubject}showObservable(){return this.showSubject}selectObservable(){return this.selectSubject}setMenuItems(e){this.setSubject.emit(e)}clear(){this.setSubject.emit([])}open(){this.showSubject.emit()}close(){this.menuService.hide("_overflow")}select(e){this.selectSubject.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(r.h))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),re=(()=>{class e{constructor(){this.subject=new s.a}static generate(e,t){return{type:e,message:t,timestamp:Date.now()}}observable(){return this.subject.asObservable()}notification(t){this.subject.next(e.generate(r.k.NOTIFICATION,t))}error(t){this.subject.next(e.generate(r.k.ERROR,t))}success(t){this.subject.next(e.generate(r.k.SUCCESS,t))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),se=(()=>{class e{constructor(){this.showEmitter=new o.n(!0),this.hideEmitter=new o.n(!0),this.cancelledEmitter=new o.n(!0)}show(e){this.showEmitter.emit(e)}hide(e){this.hideEmitter.emit(e)}cancelled(e){this.cancelledEmitter.emit(e)}showObservable(){return this.showEmitter}hideObservable(){return this.hideEmitter}cancelledObservable(){return this.cancelledEmitter}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),ie=(()=>{class e{constructor(e,t){this.upService=e,this.tabService=t}open(e,t){this.upService.down(e),t&&this.tabService.hide(t)}close(e){this.tabService.show(e)}back(){this.upService.up()}reset(){this.upService.reset()}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(r.j),o.Ub(ne))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();class ae{constructor(){this.onItemCountChanged=new o.n(!0),this.items=[]}itemCountChangedObservable(){return this.onItemCountChanged}getExistingByComponent(e){return this.items.find(t=>t.component===e)}getExistingByName(e){return this.items.find(t=>t.name===e)}refresh(){const e=this.items.filter(e=>e.visible).length;this.onItemCountChanged.emit(e)}getComponentByName(e){const t=this.getExistingByName(e);if(t)return t.component}getNameByComponent(e){const t=this.getExistingByComponent(e);if(t)return t.name}addItem(e,t,n=!0){const o=this.getExistingByComponent(e);if(o)o.component=e;else{const o=this.buildItem(e,t,n);this.items.push(o),this.refresh()}}removeItem(e){this.getExistingByComponent(e)&&(this.items=this.items.filter(t=>t.component!==e),this.refresh())}setVisible(e,t){const n=this.getExistingByComponent(e);return!!n&&(n.visible=t,this.refresh(),!0)}show(e){return this.setVisible(e,!0)}hide(e){return this.setVisible(e,!1)}setVisibleByName(e,t){const n=this.getExistingByName(e);return!!n&&(n.visible=t,this.refresh(),!0)}showByName(e){return this.setVisibleByName(e,!0)}hideByName(e){return this.setVisibleByName(e,!1)}}let ce=(()=>{class e extends ae{buildItem(e,t,n){return{component:e,name:t,visible:n,labelChangeEmitter:new o.n(!0)}}labelChangedObservable(e){const t=this.getExistingByComponent(e);if(!t)throw new Error("Bottom navigation bar item not added before observable for label called");return t.labelChangeEmitter}setLabel(e,t){const n=this.getExistingByComponent(e);n&&n.labelChangeEmitter.emit(t)}setLabelByName(e,t){const n=this.getComponentByName(e);if(n)return this.setLabel(n,t)}}return e.\u0275fac=function(t){return le(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const le=o.Sb(ce);let he=(()=>{class e extends ae{buildItem(e,t,n){return{component:e,name:t,visible:n}}}return e.\u0275fac=function(t){return ue(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const ue=o.Sb(he);let de=(()=>{class e extends i.a{}return e.\u0275fac=function(t){return pe(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-main"]],features:[o.wb],ngContentSelectors:p,decls:2,vars:0,template:function(e,t){1&e&&(o.ic(),o.Qb(0,"main"),o.hc(1),o.Pb())},styles:["@charset 'utf8';main[_ngcontent-%COMP%]{display:block;position:relative;box-sizing:border-box;margin:0;padding:0 0 56px;top:64px}"]}),e})();const pe=o.Sb(de);let me=(()=>{class e extends i.a{constructor(e,t,n){super(),this.upService=e,this.drawerService=t,this.toolbarStatusService=n,this.hasMenu=!0,this.statusCount=0}ngOnInit(){super.ngOnInit(),this.subscribe(this.toolbarStatusService.itemCountChangedObservable(),e=>{this.statusCount=e}),this.subscribe(this.upService.titleObservable(),e=>{this.downTitle=e})}doToggleMenu(){this.drawerService.show("_drawermenu")}doUp(){this.upService.up()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(r.j),o.Lb(se),o.Lb(he))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-toolbar"]],inputs:{hasMenu:"hasMenu",title:"title",subtitle:"subtitle"},features:[o.wb],ngContentSelectors:M,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&&(o.ic(w),o.Qb(0,"header"),o.xc(1,f,4,2,"section",0),o.Qb(2,"section",1),o.xc(3,y,4,2,"ng-container",2),o.xc(4,O,2,2,"ng-template",null,3,o.yc),o.Pb(),o.xc(6,P,4,16,"section",4),o.Pb()),2&e){const e=o.oc(5);o.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),o.zb(1),o.jc("ngIf",t.hasMenu||t.downTitle),o.zb(2),o.jc("ngIf",t.downTitle)("ngIfElse",e),o.zb(3),o.jc("ngIf",t.statusCount>0)}},directives:function(){return[h.j,Te]},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})(),ge=(()=>{class e extends i.a{constructor(e,t){super(),this.statusService=e,this.toolbarStatusService=t,this.state=!1}ngOnInit(){super.ngOnInit(),this.toolbarStatusService.addItem(this,this.name,this.state),this.state=this.default,this.subscribe(this.statusService.observable(this.name,this.default),e=>{this.state=e,this.toolbarStatusService.setVisible(this,e)})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(i.c),o.Lb(he))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-toolbar-status",""]],inputs:{name:"name",default:"default"},features:[o.wb],attrs:v,ngContentSelectors:p,decls:1,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(o.ic(),o.xc(0,E,2,0,"ng-container",0)),2&e&&o.jc("ngIf",t.state)},directives:[h.j],styles:["@charset 'utf8';[_nghost-%COMP%]{float:left;width:24px;margin-left:13px}"]}),e})(),fe=(()=>{class e extends a.f{constructor(e,t){super(e),this.bottomNavigationBarService=t,this.itemCount=0}ngOnInit(){this.subscribe(this.bottomNavigationBarService.itemCountChangedObservable(),e=>{this.itemCount=e})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(a.g),o.Lb(ce))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-bottom-navigation-bar"]],features:[o.wb],ngContentSelectors:p,decls:2,vars:24,template:function(e,t){1&e&&(o.ic(),o.Qb(0,"footer"),o.hc(1),o.Pb()),2&e&&o.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})(),be=(()=>{class e extends i.a{constructor(e,t){super(),this.upService=e,this.bottomNavigationBarService=t,this.EMaterialDesignIcons=a.i,this.disabled=void 0,this.iconSet=a.i.MATERIALDESIGN,this.important=!1,this.visible=!0,this.itemCount=0}resetUp(){this.upService.reset()}ngOnInit(){super.ngOnInit(),this.subscribe(this.bottomNavigationBarService.itemCountChangedObservable(),e=>{this.itemCount=e}),this.bottomNavigationBarService.addItem(this,this.name,this.visible),this.subscribe(this.bottomNavigationBarService.labelChangedObservable(this),e=>{this.label=e})}ngOnDestroy(){super.ngOnDestroy(),this.bottomNavigationBarService.removeItem(this)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(r.j),o.Lb(ce))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-bottom-navigation-bar-item",""]],hostVars:1,hostBindings:function(e,t){1&e&&o.Yb("click",(function(){return t.resetUp()})),2&e&&o.Ab("disabled",t.disabled)},inputs:{disabled:"disabled",iconSet:"iconSet",important:"important",visible:"visible",label:"label",name:"name",icon:"icon",caption:"caption"},features:[o.wb],attrs:k,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&&(o.Qb(0,"section"),o.xc(1,A,5,4,"ng-container",0),o.xc(2,j,2,1,"span",0),o.xc(3,I,2,3,"label",1),o.Pb()),2&e&&(o.Cb("noText",t.itemCount<5),o.zb(1),o.jc("ngIf",void 0!==t.icon),o.zb(1),o.jc("ngIf",void 0!==t.caption),o.zb(1),o.jc("ngIf",t.label))},directives:[h.j,h.k,h.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})(),ye=(()=>{class e extends a.f{constructor(e,t){super(e),this.drawerService=t,this.ECommonsDrawerDirection=te}doClose(){this.drawerService.hide("_drawermenu")}doSwipe(e){2===e.direction&&this.doClose()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(a.g),o.Lb(se))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-drawer-menu"]],features:[o.wb],ngContentSelectors:p,decls:5,vars:2,consts:[[3,"name","direction"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"commons-drawer",0),o.Qb(1,"section"),o.Qb(2,"menu"),o.Qb(3,"commons-menu"),o.hc(4),o.Pb(),o.Pb(),o.Pb(),o.Pb()),2&e&&o.jc("name","_drawermenu")("direction",t.ECommonsDrawerDirection.LEFT)},directives:function(){return[Ee,r.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})(),_e=(()=>{class e extends i.a{constructor(e){super(),this.drawerService=e,this.disabled=!1,this.autoclose=!0}doClick(){!this.disabled&&this.autoclose&&this.doClose()}doClose(){this.drawerService.hide("_drawermenu")}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(se))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-drawer-menu-item",""]],hostBindings:function(e,t){1&e&&o.Yb("click",(function(){return t.doClick()}))},inputs:{disabled:"disabled",autoclose:"autoclose",icon:"icon"},features:[o.wb],attrs:D,ngContentSelectors:p,decls:3,vars:3,consts:[["class","material-icons",4,"ngIf"],[1,"material-icons"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"li"),o.xc(1,N,2,1,"i",0),o.hc(2),o.Pb()),2&e&&(o.Cb("disabled",t.disabled),o.zb(1),o.jc("ngIf",t.icon))},directives:[h.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})(),Ce=(()=>{class e extends i.a{constructor(e){super(),this.tabBarService=e,this.tabs=[],this.show=!0,this.tabCount=0,this.onTabsChanged=new o.n(!0)}ngOnInit(){super.ngOnInit(),this.show=!0,this.subscribe(this.tabBarService.showObservable(),e=>{e===this.name&&(this.show=!0)}),this.subscribe(this.tabBarService.hideObservable(),e=>{e===this.name&&(this.show=!1)})}tabsChangedObservable(){return this.onTabsChanged}addTab(e){this.tabs.push(e),this.tabCount++,this.onTabsChanged.emit(this.tabCount)}removeTab(e){const t=this.tabs.indexOf(e);-1!==t&&(this.tabs.slice(t,1),this.tabCount>0&&this.tabCount--,this.onTabsChanged.emit(this.tabCount))}addMore(e){this.more=e,this.tabCount++,this.onTabsChanged.emit(this.tabCount)}removeMore(){this.more=void 0,this.tabCount>0&&this.tabCount--}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(ne))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-tab-bar"]],inputs:{name:"name"},features:[o.wb],ngContentSelectors:p,decls:1,vars:1,consts:[["tabbar","",4,"ngIf"],["tabbar",""],["tabs",""]],template:function(e,t){1&e&&(o.ic(),o.xc(0,R,3,0,"section",0)),2&e&&o.jc("ngIf",t.show)},directives:[h.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})(),Oe=(()=>{class e extends i.a{constructor(e){super(),this.tabbar=e,this.disabled=void 0,this.tabBarCount=0}ngOnInit(){super.ngOnInit(),this.subscribe(this.tabbar.tabsChangedObservable(),e=>{this.tabBarCount=e}),this.tabbar.addTab(this)}ngOnDestroy(){this.tabbar.removeTab(this),super.ngOnDestroy()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(Ce))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-tab",""]],hostVars:1,hostBindings:function(e,t){2&e&&o.Ab("disabled",t.disabled)},inputs:{disabled:"disabled",label:"label"},features:[o.wb],attrs:U,ngContentSelectors:p,decls:3,vars:21,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"section"),o.hc(1),o.xc(2,L,2,1,"label",0),o.Pb()),2&e&&(o.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),o.zb(2),o.jc("ngIf",t.label))},directives:[h.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})(),Pe=(()=>{class e extends i.a{constructor(e,t){super(),this.overflowService=e,this.menuService=t,this.menuVisible=!1,this.items=[]}static divider(){return{name:"_divider",caption:"",divider:!0}}ngOnInit(){super.ngOnInit(),this.subscribe(this.overflowService.showObservable(),()=>{this.menuVisible=!0}),this.subscribe(this.menuService.hideObservable(),e=>{"_overflow"===e&&(this.menuVisible=!1)}),this.subscribe(this.overflowService.setObservable(),e=>{this.items=e})}doSelect(e){e.disabled||(this.overflowService.select(e),this.overflowService.close())}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(oe),o.Lb(r.h))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-overflow-menu"]],features:[o.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&&o.xc(0,z,2,2,"commons-inline-menu",0),2&e&&o.jc("ngIf",t.menuVisible)},directives:[h.j,r.e,h.i,r.f],styles:["@charset 'utf8';i[_ngcontent-%COMP%]{position:relative;top:-5px;float:left;width:40px}i.filler[_ngcontent-%COMP%]{height:0;overflow:hidden}"]}),e})(),we=(()=>{class e extends i.a{constructor(e){super(),this.snackService=e,this.allowClose=!0,this.maxSnacks=5,this.snacks=[]}ngOnInit(){super.ngOnInit(),this.maxSnacks>10&&(this.maxSnacks=10),this.subscribe(this.snackService.observable(),e=>this.snacks.push(e))}doClose(e){this.snacks.splice(this.snacks.indexOf(e),1)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(re))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-snackbar"]],inputs:{allowClose:"allowClose",maxSnacks:"maxSnacks",timeout:"timeout"},features:[o.wb],decls:2,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"snack","timeout","allowClose","onClose"]],template:function(e,t){1&e&&(o.Qb(0,"aside"),o.xc(1,$,2,4,"div",0),o.Pb()),2&e&&(o.zb(1),o.jc("ngForOf",t.snacks.slice(0,t.maxSnacks).reverse()))},directives:[h.i,r.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})(),Me=(()=>{class e extends i.a{constructor(){super(...arguments),this.EMaterialDesignIcons=a.i}getUrlAvatar(){if(this.avatar)return l.CommonsType.isString(this.avatar)?this.avatar:l.CommonsType.hasPropertyString(this.avatar,"image")?this.avatar.image:void 0}isIconAvatar(){return!!this.avatar&&!l.CommonsType.isString(this.avatar)&&!!l.CommonsType.hasPropertyString(this.avatar,"icon")}getAvatar(){if(!this.isIconAvatar())throw new Error("Avatar is invalid");return this.avatar}getIconSet(){return this.getAvatar().iconSet||a.i.MATERIALDESIGN}}return e.\u0275fac=function(t){return ve(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-splash"]],inputs:{background:"background",avatar:"avatar",text:"text",fade:"fade"},features:[o.wb],ngContentSelectors:p,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&&(o.ic(),o.Qb(0,"section"),o.xc(1,V,1,4,"div",0),o.xc(2,G,1,0,"div",1),o.xc(3,K,1,2,"div",2),o.xc(4,W,5,8,"div",3),o.xc(5,X,2,1,"h1",4),o.Qb(6,"h2"),o.hc(7),o.Pb(),o.Pb()),2&e&&(o.Cb("bw",t.background&&t.avatar),o.zb(1),o.jc("ngIf",t.background),o.zb(1),o.jc("ngIf",t.fade),o.zb(1),o.jc("ngIf",void 0!==t.getUrlAvatar()),o.zb(1),o.jc("ngIf",t.isIconAvatar()),o.zb(1),o.jc("ngIf",t.text))},directives:[h.j,h.k,h.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})();const ve=o.Sb(Me);let Ee=(()=>{class e extends a.f{constructor(e,t){super(e),this.drawerService=t,this.ECommonsDrawerDirection=te,this.leftState="na",this.bottomState="na",this.rightState="na",this.topState="na"}ngOnInit(){switch(super.ngOnInit(),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(),e=>{if(e===this.name)switch(this.direction){case te.BOTTOM:this.bottomState="active";break;case te.LEFT:this.leftState="active";break;case te.RIGHT:this.rightState="active";break;case te.TOP:this.topState="active"}}),this.subscribe(this.drawerService.hideObservable(),e=>{if(e===this.name)switch(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"}})}doClose(){this.drawerService.hide(this.name),this.drawerService.cancelled(this.name)}doSwipe(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()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(a.g),o.Lb(se))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-drawer"]],inputs:{name:"name",direction:"direction"},features:[o.wb],ngContentSelectors:p,decls:3,vars:13,consts:[[3,"click","swipe",4,"ngIf"],[3,"swipe"],[3,"click","swipe"]],template:function(e,t){1&e&&(o.ic(),o.xc(0,Z,1,1,"aside",0),o.Qb(1,"section",1),o.Yb("swipe",(function(e){return t.doSwipe(e)})),o.hc(2),o.Pb()),2&e&&(o.jc("ngIf","active"===t.bottomState||"active"===t.leftState||"active"===t.rightState||"active"===t.topState),o.zb(1),o.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),o.jc("@drawerSlideInOutAnimationBottom",t.bottomState)("@drawerSlideInOutAnimationLeft",t.leftState)("@drawerSlideInOutAnimationRight",t.rightState)("@drawerSlideInOutAnimationTop",t.topState))},directives:[h.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})(),ke=(()=>{class e extends a.f{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(a.g))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-card",""]],features:[o.wb],attrs:J,ngContentSelectors:p,decls:2,vars:0,template:function(e,t){1&e&&(o.ic(),o.Qb(0,"section"),o.hc(1),o.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})(),Te=(()=>{class e extends i.a{constructor(e){super(),this.overflowService=e,this.hasOverflow=!1}ngOnInit(){super.ngOnInit(),this.subscribe(this.overflowService.setObservable(),e=>{this.hasOverflow=e.length>0})}doShowOverflow(){this.overflowService.open()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(oe))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-overflow-icon"]],features:[o.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&&o.xc(0,ee,2,0,"i",0),2&e&&o.jc("ngIf",t.hasOverflow)},directives:[h.j,ge],styles:["@charset 'utf8';"]}),e})(),Se=(()=>{class e extends u.d{constructor(){super(...arguments),this.overrides={swipe:{direction:31},pan:{direction:30},press:{time:600}}}}return e.\u0275fac=function(t){return xe(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const xe=o.Sb(Se);let Ae=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ne,oe,re,se,ie,ce,he,{provide:u.c,useClass:Se}]}}}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[h.b,i.e,a.j,r.l,d.b]]}),e})()},"2pII":function(e,t,n){var o=n("akSB"),r=n("cpc2"),s=n("NOtv")("engine.io-client:socket"),i=n("7jRU"),a=n("Wm4p"),c=n("Uxeu"),l=n("TypT");function h(e,t){if(!(this instanceof h))return new h(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=l.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=h,h.priorWebsocketSuccess=!1,r(h.prototype),h.protocol=a.protocol,h.Socket=h,h.Transport=n("Gbct"),h.transports=n("akSB"),h.parser=n("Wm4p"),h.prototype.createTransport=function(e){s('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=a.protocol,t.transport=e;var n=this.transportOptions[e]||{};return this.id&&(t.sid=this.id),new o[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})},h.prototype.open=function(){var e;if(this.rememberUpgrade&&h.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)},h.prototype.setTransport=function(e){s("setting transport %s",e.name);var t=this;this.transport&&(s("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")}))},h.prototype.probe=function(e){s('probing transport "%s"',e);var t=this.createTransport(e,{probe:1}),n=!1,o=this;function r(){o.onlyBinaryUpgrades&&(n=n||!this.supportsBinary&&o.transport.supportsBinary),n||(s('probe transport "%s" opened',e),t.send([{type:"ping",data:"probe"}]),t.once("packet",(function(r){if(!n)if("pong"===r.type&&"probe"===r.data){if(s('probe transport "%s" pong',e),o.upgrading=!0,o.emit("upgrading",t),!t)return;h.priorWebsocketSuccess="websocket"===t.name,s('pausing current transport "%s"',o.transport.name),o.transport.pause((function(){n||"closed"!==o.readyState&&(s("changing transport and sending upgrade packet"),d(),o.setTransport(t),t.send([{type:"upgrade"}]),o.emit("upgrade",t),t=null,o.upgrading=!1,o.flush())}))}else{s('probe transport "%s" failed',e);var i=new Error("probe error");i.transport=t.name,o.emit("upgradeError",i)}})))}function i(){n||(n=!0,d(),t.close(),t=null)}function a(n){var r=new Error("probe error: "+n);r.transport=t.name,i(),s('probe transport "%s" failed because of error: %s',e,n),o.emit("upgradeError",r)}function c(){a("transport closed")}function l(){a("socket closed")}function u(e){t&&e.name!==t.name&&(s('"%s" works - aborting "%s"',e.name,t.name),i())}function d(){t.removeListener("open",r),t.removeListener("error",a),t.removeListener("close",c),o.removeListener("close",l),o.removeListener("upgrading",u)}h.priorWebsocketSuccess=!1,t.once("open",r),t.once("error",a),t.once("close",c),this.once("close",l),this.once("upgrading",u),t.open()},h.prototype.onOpen=function(){if(s("socket open"),this.readyState="open",h.priorWebsocketSuccess="websocket"===this.transport.name,this.emit("open"),this.flush(),"open"===this.readyState&&this.upgrade&&this.transport.pause){s("starting upgrade probes");for(var e=0,t=this.upgrades.length;e<t;e++)this.probe(this.upgrades[e])}},h.prototype.onPacket=function(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(s('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 s('packet received with socket readyState "%s"',this.readyState)},h.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))},h.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)},h.prototype.setPing=function(){var e=this;clearTimeout(e.pingIntervalTimer),e.pingIntervalTimer=setTimeout((function(){s("writing ping packet - expecting pong within %sms",e.pingTimeout),e.ping(),e.onHeartbeat(e.pingTimeout)}),e.pingInterval)},h.prototype.ping=function(){var e=this;this.sendPacket("ping",(function(){e.emit("ping")}))},h.prototype.onDrain=function(){this.writeBuffer.splice(0,this.prevBufferLen),this.prevBufferLen=0,0===this.writeBuffer.length?this.emit("drain"):this.flush()},h.prototype.flush=function(){"closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length&&(s("flushing %d packets in socket",this.writeBuffer.length),this.transport.send(this.writeBuffer),this.prevBufferLen=this.writeBuffer.length,this.emit("flush"))},h.prototype.write=h.prototype.send=function(e,t,n){return this.sendPacket("message",e,t,n),this},h.prototype.sendPacket=function(e,t,n,o){if("function"==typeof t&&(o=t,t=void 0),"function"==typeof n&&(o=n,n=null),"closing"!==this.readyState&&"closed"!==this.readyState){(n=n||{}).compress=!1!==n.compress;var r={type:e,data:t,options:n};this.emit("packetCreate",r),this.writeBuffer.push(r),o&&this.once("flush",o),this.flush()}},h.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?o():t()})):this.upgrading?o():t()}function t(){e.onClose("forced close"),s("socket closing - telling transport to close"),e.transport.close()}function n(){e.removeListener("upgrade",n),e.removeListener("upgradeError",n),t()}function o(){e.once("upgrade",n),e.once("upgradeError",n)}return this},h.prototype.onError=function(e){s("socket error %j",e),h.priorWebsocketSuccess=!1,this.emit("error",e),this.onClose("transport error",e)},h.prototype.onClose=function(e,t){"opening"!==this.readyState&&"open"!==this.readyState&&"closing"!==this.readyState||(s('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)},h.prototype.filterUpgrades=function(e){for(var t=[],n=0,o=e.length;n<o;n++)~i(this.transports,e[n])&&t.push(e[n]);return t}},"312O":function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("oqX0")),o(n("AdLH")),o(n("Wwcn")),o(n("ySuH")),o(n("Cb9d"))},"3JDX":function(e,t,n){e.exports=function(e){function t(e){let t=0;for(let n=0;n<e.length;n++)t=(t<<5)-t+e.charCodeAt(n),t|=0;return o.colors[Math.abs(t)%o.colors.length]}function o(e){let n;function i(...e){if(!i.enabled)return;const t=i,r=Number(new Date);t.diff=r-(n||r),t.prev=n,t.curr=r,n=r,e[0]=o.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(n,r)=>{if("%%"===n)return n;s++;const i=o.formatters[r];return"function"==typeof i&&(n=i.call(t,e[s]),e.splice(s,1),s--),n}),o.formatArgs.call(t,e),(t.log||o.log).apply(t,e)}return i.namespace=e,i.enabled=o.enabled(e),i.useColors=o.useColors(),i.color=t(e),i.destroy=r,i.extend=s,"function"==typeof o.init&&o.init(i),o.instances.push(i),i}function r(){const e=o.instances.indexOf(this);return-1!==e&&(o.instances.splice(e,1),!0)}function s(e,t){const n=o(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return o.debug=o,o.default=o,o.coerce=function(e){return e instanceof Error?e.stack||e.message:e},o.disable=function(){const e=[...o.names.map(i),...o.skips.map(i).map(e=>"-"+e)].join(",");return o.enable(""),e},o.enable=function(e){let t;o.save(e),o.names=[],o.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(t=0;t<r;t++)n[t]&&("-"===(e=n[t].replace(/\*/g,".*?"))[0]?o.skips.push(new RegExp("^"+e.substr(1)+"$")):o.names.push(new RegExp("^"+e+"$")));for(t=0;t<o.instances.length;t++){const e=o.instances[t];e.enabled=o.enabled(e.namespace)}},o.enabled=function(e){if("*"===e[e.length-1])return!0;let t,n;for(t=0,n=o.skips.length;t<n;t++)if(o.skips[t].test(e))return!1;for(t=0,n=o.names.length;t<n;t++)if(o.names[t].test(e))return!0;return!1},o.humanize=n("FGiv"),Object.keys(e).forEach(t=>{o[t]=e[t]}),o.instances=[],o.names=[],o.skips=[],o.formatters={},o.selectColor=t,o.enable(o.load()),o}},"3Pt+":function(e,t,n){"use strict";n.d(t,"a",(function(){return f})),n.d(t,"b",(function(){return ye})),n.d(t,"c",(function(){return P})),n.d(t,"d",(function(){return fe}));var o=n("fXoL"),r=n("ofXK"),s=n("HDdC"),i=n("DH7j"),a=n("lJxs"),c=n("XoHu"),l=n("Cfvw");function h(e,t){return new s.a(n=>{const o=e.length;if(0===o)return void n.complete();const r=new Array(o);let s=0,i=0;for(let a=0;a<o;a++){const c=Object(l.a)(e[a]);let h=!1;n.add(c.subscribe({next:e=>{h||(h=!0,i++),r[a]=e},error:e=>n.error(e),complete:()=>{s++,s!==o&&h||(i===o&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}const u=new o.q("NgValueAccessor"),d={provide:u,useExisting:Object(o.S)(()=>p),multi:!0};let p=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"checked",e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l))},e.\u0275dir=o.Gb({type:e,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(e,t){1&e&&o.Yb("change",(function(e){return t.onChange(e.target.checked)}))("blur",(function(){return t.onTouched()}))},features:[o.yb([d])]}),e})();const m={provide:u,useExisting:Object(o.S)(()=>f),multi:!0},g=new o.q("CompositionEventMode");let f=(()=>{class e{constructor(e,t,n){this._renderer=e,this._elementRef=t,this._compositionMode=n,this.onChange=e=>{},this.onTouched=()=>{},this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const e=Object(r.r)()?Object(r.r)().getUserAgent():"";return/android (\d+)/.test(e.toLowerCase())}())}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l),o.Lb(g,8))},e.\u0275dir=o.Gb({type:e,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&&o.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:[o.yb([m])]}),e})(),b=(()=>{class e{get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}reset(e){this.control&&this.control.reset(e)}hasError(e,t){return!!this.control&&this.control.hasError(e,t)}getError(e,t){return this.control?this.control.getError(e,t):null}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Gb({type:e}),e})(),y=(()=>{class e extends b{get formDirective(){return null}get path(){return null}}return e.\u0275fac=function(t){return _(t||e)},e.\u0275dir=o.Gb({type:e,features:[o.wb]}),e})();const _=o.Sb(y);function C(){throw new Error("unimplemented")}class O extends b{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null,this._rawValidators=[],this._rawAsyncValidators=[]}get validator(){return C()}get asyncValidator(){return C()}}let P=(()=>{class e extends class{constructor(e){this._cd=e}get ngClassUntouched(){return!!this._cd.control&&this._cd.control.untouched}get ngClassTouched(){return!!this._cd.control&&this._cd.control.touched}get ngClassPristine(){return!!this._cd.control&&this._cd.control.pristine}get ngClassDirty(){return!!this._cd.control&&this._cd.control.dirty}get ngClassValid(){return!!this._cd.control&&this._cd.control.valid}get ngClassInvalid(){return!!this._cd.control&&this._cd.control.invalid}get ngClassPending(){return!!this._cd.control&&this._cd.control.pending}}{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(O,2))},e.\u0275dir=o.Gb({type:e,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(e,t){2&e&&o.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:[o.wb]}),e})();function w(e){return null==e||0===e.length}const M=new o.q("NgValidators"),v=new o.q("NgAsyncValidators"),E=/^(?=.{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])?)*$/;class k{static min(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n<e?{min:{min:e,actual:t.value}}:null}}static max(e){return t=>{if(w(t.value)||w(e))return null;const n=parseFloat(t.value);return!isNaN(n)&&n>e?{max:{max:e,actual:t.value}}:null}}static required(e){return w(e.value)?{required:!0}:null}static requiredTrue(e){return!0===e.value?null:{required:!0}}static email(e){return w(e.value)||E.test(e.value)?null:{email:!0}}static minLength(e){return t=>{if(w(t.value))return null;const n=t.value?t.value.length:0;return n<e?{minlength:{requiredLength:e,actualLength:n}}:null}}static maxLength(e){return t=>{const n=t.value?t.value.length:0;return n>e?{maxlength:{requiredLength:e,actualLength:n}}:null}}static pattern(e){if(!e)return k.nullValidator;let t,n;return"string"==typeof e?(n="","^"!==e.charAt(0)&&(n+="^"),n+=e,"$"!==e.charAt(e.length-1)&&(n+="$"),t=new RegExp(n)):(n=e.toString(),t=e),e=>{if(w(e.value))return null;const o=e.value;return t.test(o)?null:{pattern:{requiredPattern:n,actualValue:o}}}}static nullValidator(e){return null}static compose(e){if(!e)return null;const t=e.filter(T);return 0==t.length?null:function(e){return x(function(e,t){return t.map(t=>t(e))}(e,t))}}static composeAsync(e){if(!e)return null;const t=e.filter(T);return 0==t.length?null:function(e){return function(...e){if(1===e.length){const t=e[0];if(Object(i.a)(t))return h(t,null);if(Object(c.a)(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return h(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return h(e=1===e.length&&Object(i.a)(e[0])?e[0]:e,null).pipe(Object(a.a)(e=>t(...e)))}return h(e,null)}(function(e,t){return t.map(t=>t(e))}(e,t).map(S)).pipe(Object(a.a)(x))}}}function T(e){return null!=e}function S(e){const t=Object(o.qb)(e)?Object(l.a)(e):e;if(!Object(o.pb)(t))throw new Error("Expected validator to return Promise or Observable.");return t}function x(e){let t={};return e.forEach(e=>{t=null!=e?Object.assign(Object.assign({},t),e):t}),0===Object.keys(t).length?null:t}function A(e){return e.validate?t=>e.validate(t):e}function j(e){return e.validate?t=>e.validate(t):e}const I={provide:u,useExisting:Object(o.S)(()=>D),multi:!0};let D=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",null==e?"":e)}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l))},e.\u0275dir=o.Gb({type:e,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(e,t){1&e&&o.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:[o.yb([I])]}),e})();const N={provide:u,useExisting:Object(o.S)(()=>U),multi:!0};let R=(()=>{class e{constructor(){this._accessors=[]}add(e,t){this._accessors.push([e,t])}remove(e){for(let t=this._accessors.length-1;t>=0;--t)if(this._accessors[t][1]===e)return void this._accessors.splice(t,1)}select(e){this._accessors.forEach(t=>{this._isSameGroup(t,e)&&t[1]!==e&&t[1].fireUncheck(e.value)})}_isSameGroup(e,t){return!!e[0].control&&e[0]._parent===t._control._parent&&e[1].name===t.name}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),U=(()=>{class e{constructor(e,t,n,o){this._renderer=e,this._elementRef=t,this._registry=n,this._injector=o,this.onChange=()=>{},this.onTouched=()=>{}}ngOnInit(){this._control=this._injector.get(O),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(e){this._state=e===this.value,this._renderer.setProperty(this._elementRef.nativeElement,"checked",this._state)}registerOnChange(e){this._fn=e,this.onChange=()=>{e(this.value),this._registry.select(this)}}fireUncheck(e){this.writeValue(e)}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_checkName(){this.name&&this.formControlName&&this.name!==this.formControlName&&this._throwNameError(),!this.name&&this.formControlName&&(this.name=this.formControlName)}_throwNameError(){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 ')}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l),o.Lb(R),o.Lb(o.r))},e.\u0275dir=o.Gb({type:e,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(e,t){1&e&&o.Yb("change",(function(){return t.onChange()}))("blur",(function(){return t.onTouched()}))},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[o.yb([N])]}),e})();const L={provide:u,useExisting:Object(o.S)(()=>B),multi:!0};let B=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=e=>{},this.onTouched=()=>{}}writeValue(e){this._renderer.setProperty(this._elementRef.nativeElement,"value",parseFloat(e))}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l))},e.\u0275dir=o.Gb({type:e,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(e,t){1&e&&o.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:[o.yb([L])]}),e})();const F='\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 });',H='\n <form>\n <div ngModelGroup="person">\n <input [(ngModel)]="person.name" name="firstName">\n </div>\n </form>',z={provide:u,useExisting:Object(o.S)(()=>$),multi:!0};let $=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=o.rb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){this.value=e;const t=this._getOptionId(e);null==t&&this._renderer.setProperty(this._elementRef.nativeElement,"selectedIndex",-1);const n=function(e,t){return null==e?""+t:(t&&"object"==typeof t&&(t="Object"),`${e}: ${t}`.slice(0,50))}(t,e);this._renderer.setProperty(this._elementRef.nativeElement,"value",n)}registerOnChange(e){this.onChange=t=>{this.value=this._getOptionValue(t),e(this.value)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(){return(this._idCounter++).toString()}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t),e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t):e}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l))},e.\u0275dir=o.Gb({type:e,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(e,t){1&e&&o.Yb("change",(function(e){return t.onChange(e.target.value)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o.yb([z])]}),e})();const V={provide:u,useExisting:Object(o.S)(()=>G),multi:!0};let G=(()=>{class e{constructor(e,t){this._renderer=e,this._elementRef=t,this._optionMap=new Map,this._idCounter=0,this.onChange=e=>{},this.onTouched=()=>{},this._compareWith=o.rb}set compareWith(e){if("function"!=typeof e)throw new Error("compareWith must be a function, but received "+JSON.stringify(e));this._compareWith=e}writeValue(e){let t;if(this.value=e,Array.isArray(e)){const n=e.map(e=>this._getOptionId(e));t=(e,t)=>{e._setSelected(n.indexOf(t.toString())>-1)}}else t=(e,t)=>{e._setSelected(!1)};this._optionMap.forEach(t)}registerOnChange(e){this.onChange=t=>{const n=[];if(t.hasOwnProperty("selectedOptions")){const e=t.selectedOptions;for(let t=0;t<e.length;t++){const o=e.item(t),r=this._getOptionValue(o.value);n.push(r)}}else{const e=t.options;for(let t=0;t<e.length;t++){const o=e.item(t);if(o.selected){const e=this._getOptionValue(o.value);n.push(e)}}}this.value=n,e(n)}}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)}_registerOption(e){const t=(this._idCounter++).toString();return this._optionMap.set(t,e),t}_getOptionId(e){for(const t of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(t)._value,e))return t;return null}_getOptionValue(e){const t=function(e){return e.split(":")[0]}(e);return this._optionMap.has(t)?this._optionMap.get(t)._value:e}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.D),o.Lb(o.l))},e.\u0275dir=o.Gb({type:e,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(e,t){1&e&&o.Yb("change",(function(e){return t.onChange(e.target)}))("blur",(function(){return t.onTouched()}))},inputs:{compareWith:"compareWith"},features:[o.yb([V])]}),e})();function K(e,t){return[...t.path,e]}function q(e,t){e||Q(t,"Cannot find control with"),t.valueAccessor||Q(t,"No value accessor for form control with"),e.validator=k.compose([e.validator,t.validator]),e.asyncValidator=k.composeAsync([e.asyncValidator,t.asyncValidator]),t.valueAccessor.writeValue(e.value),function(e,t){t.valueAccessor.registerOnChange(n=>{e._pendingValue=n,e._pendingChange=!0,e._pendingDirty=!0,"change"===e.updateOn&&Y(e,t)})}(e,t),function(e,t){e.registerOnChange((e,n)=>{t.valueAccessor.writeValue(e),n&&t.viewToModelUpdate(e)})}(e,t),function(e,t){t.valueAccessor.registerOnTouched(()=>{e._pendingTouched=!0,"blur"===e.updateOn&&e._pendingChange&&Y(e,t),"submit"!==e.updateOn&&e.markAsTouched()})}(e,t),t.valueAccessor.setDisabledState&&e.registerOnDisabledChange(e=>{t.valueAccessor.setDisabledState(e)}),t._rawValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())}),t._rawAsyncValidators.forEach(t=>{t.registerOnValidatorChange&&t.registerOnValidatorChange(()=>e.updateValueAndValidity())})}function Y(e,t){e._pendingDirty&&e.markAsDirty(),e.setValue(e._pendingValue,{emitModelToViewChange:!1}),t.viewToModelUpdate(e._pendingValue),e._pendingChange=!1}function Q(e,t){let n;throw n=e.path.length>1?`path: '${e.path.join(" -> ")}'`:e.path[0]?`name: '${e.path}'`:"unspecified name attribute",new Error(`${t} ${n}`)}function W(e){return null!=e?k.compose(e.map(A)):null}function X(e){return null!=e?k.composeAsync(e.map(j)):null}const Z=[p,B,D,$,G,U];function J(e){const t=te(e)?e.validators:e;return Array.isArray(t)?W(t):t||null}function ee(e,t){const n=te(t)?t.asyncValidators:e;return Array.isArray(n)?X(n):n||null}function te(e){return null!=e&&!Array.isArray(e)&&"object"==typeof e}class ne{constructor(e,t){this.validator=e,this.asyncValidator=t,this._onCollectionChange=()=>{},this.pristine=!0,this.touched=!1,this._onDisabledChange=[]}get parent(){return this._parent}get valid(){return"VALID"===this.status}get invalid(){return"INVALID"===this.status}get pending(){return"PENDING"==this.status}get disabled(){return"DISABLED"===this.status}get enabled(){return"DISABLED"!==this.status}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(e){this.validator=J(e)}setAsyncValidators(e){this.asyncValidator=ee(e)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(e={}){this.touched=!0,this._parent&&!e.onlySelf&&this._parent.markAsTouched(e)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(e=>e.markAllAsTouched())}markAsUntouched(e={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}markAsDirty(e={}){this.pristine=!1,this._parent&&!e.onlySelf&&this._parent.markAsDirty(e)}markAsPristine(e={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}markAsPending(e={}){this.status="PENDING",!1!==e.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!e.onlySelf&&this._parent.markAsPending(e)}disable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="DISABLED",this.errors=null,this._forEachChild(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(e=>e(!0))}enable(e={}){const t=this._parentMarkedDirty(e.onlySelf);this.status="VALID",this._forEachChild(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(e=>e(!1))}_updateAncestors(e){this._parent&&!e.onlySelf&&(this._parent.updateValueAndValidity(e),e.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(e){this._parent=e}updateValueAndValidity(e={}){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)}_updateTreeValidity(e={emitEvent:!0}){this._forEachChild(t=>t._updateTreeValidity(e)),this.updateValueAndValidity({onlySelf:!0,emitEvent:e.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?"DISABLED":"VALID"}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(e){if(this.asyncValidator){this.status="PENDING";const t=S(this.asyncValidator(this));this._asyncValidationSubscription=t.subscribe(t=>this.setErrors(t,{emitEvent:e}))}}_cancelExistingSubscription(){this._asyncValidationSubscription&&this._asyncValidationSubscription.unsubscribe()}setErrors(e,t={}){this.errors=e,this._updateControlsErrors(!1!==t.emitEvent)}get(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;let o=e;return t.forEach(e=>{o=o instanceof re?o.controls.hasOwnProperty(e)?o.controls[e]:null:o instanceof se&&o.at(e)||null}),o}(this,e)}getError(e,t){const n=t?this.get(t):this;return n&&n.errors?n.errors[e]:null}hasError(e,t){return!!this.getError(e,t)}get root(){let e=this;for(;e._parent;)e=e._parent;return e}_updateControlsErrors(e){this.status=this._calculateStatus(),e&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(e)}_initObservables(){this.valueChanges=new o.n,this.statusChanges=new o.n}_calculateStatus(){return this._allControlsDisabled()?"DISABLED":this.errors?"INVALID":this._anyControlsHaveStatus("PENDING")?"PENDING":this._anyControlsHaveStatus("INVALID")?"INVALID":"VALID"}_anyControlsHaveStatus(e){return this._anyControls(t=>t.status===e)}_anyControlsDirty(){return this._anyControls(e=>e.dirty)}_anyControlsTouched(){return this._anyControls(e=>e.touched)}_updatePristine(e={}){this.pristine=!this._anyControlsDirty(),this._parent&&!e.onlySelf&&this._parent._updatePristine(e)}_updateTouched(e={}){this.touched=this._anyControlsTouched(),this._parent&&!e.onlySelf&&this._parent._updateTouched(e)}_isBoxedValue(e){return"object"==typeof e&&null!==e&&2===Object.keys(e).length&&"value"in e&&"disabled"in e}_registerOnCollectionChange(e){this._onCollectionChange=e}_setUpdateStrategy(e){te(e)&&null!=e.updateOn&&(this._updateOn=e.updateOn)}_parentMarkedDirty(e){return!e&&this._parent&&this._parent.dirty&&!this._parent._anyControlsDirty()}}class oe extends ne{constructor(e=null,t,n){super(J(t),ee(n,t)),this._onChange=[],this._applyFormState(e),this._setUpdateStrategy(t),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1}),this._initObservables()}setValue(e,t={}){this.value=this._pendingValue=e,this._onChange.length&&!1!==t.emitModelToViewChange&&this._onChange.forEach(e=>e(this.value,!1!==t.emitViewToModelChange)),this.updateValueAndValidity(t)}patchValue(e,t={}){this.setValue(e,t)}reset(e=null,t={}){this._applyFormState(e),this.markAsPristine(t),this.markAsUntouched(t),this.setValue(this.value,t),this._pendingChange=!1}_updateValue(){}_anyControls(e){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(e){this._onChange.push(e)}_clearChangeFns(){this._onChange=[],this._onDisabledChange=[],this._onCollectionChange=()=>{}}registerOnDisabledChange(e){this._onDisabledChange.push(e)}_forEachChild(e){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(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}}class re extends ne{constructor(e,t,n){super(J(t),ee(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}registerControl(e,t){return this.controls[e]?this.controls[e]:(this.controls[e]=t,t.setParent(this),t._registerOnCollectionChange(this._onCollectionChange),t)}addControl(e,t){this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}removeControl(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],this.updateValueAndValidity(),this._onCollectionChange()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),delete this.controls[e],t&&this.registerControl(e,t),this.updateValueAndValidity(),this._onCollectionChange()}contains(e){return this.controls.hasOwnProperty(e)&&this.controls[e].enabled}setValue(e,t={}){this._checkAllValuesPresent(e),Object.keys(e).forEach(n=>{this._throwIfControlMissing(n),this.controls[n].setValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){Object.keys(e).forEach(n=>{this.controls[n]&&this.controls[n].patchValue(e[n],{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e={},t={}){this._forEachChild((n,o)=>{n.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this._reduceChildren({},(e,t,n)=>(e[n]=t instanceof oe?t.value:t.getRawValue(),e))}_syncPendingControls(){let e=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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: ${e}.`)}_forEachChild(e){Object.keys(this.controls).forEach(t=>e(this.controls[t],t))}_setUpControls(){this._forEachChild(e=>{e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(e){let t=!1;return this._forEachChild((n,o)=>{t=t||this.contains(o)&&e(n)}),t}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(e,t){let n=e;return this._forEachChild((e,o)=>{n=t(n,e,o)}),n}_allControlsDisabled(){for(const e of Object.keys(this.controls))if(this.controls[e].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control with name: '${n}'.`)})}}class se extends ne{constructor(e,t,n){super(J(t),ee(n,t)),this.controls=e,this._initObservables(),this._setUpdateStrategy(t),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!1})}at(e){return this.controls[e]}push(e){this.controls.push(e),this._registerControl(e),this.updateValueAndValidity(),this._onCollectionChange()}insert(e,t){this.controls.splice(e,0,t),this._registerControl(t),this.updateValueAndValidity()}removeAt(e){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),this.updateValueAndValidity()}setControl(e,t){this.controls[e]&&this.controls[e]._registerOnCollectionChange(()=>{}),this.controls.splice(e,1),t&&(this.controls.splice(e,0,t),this._registerControl(t)),this.updateValueAndValidity(),this._onCollectionChange()}get length(){return this.controls.length}setValue(e,t={}){this._checkAllValuesPresent(e),e.forEach((e,n)=>{this._throwIfControlMissing(n),this.at(n).setValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}patchValue(e,t={}){e.forEach((e,n)=>{this.at(n)&&this.at(n).patchValue(e,{onlySelf:!0,emitEvent:t.emitEvent})}),this.updateValueAndValidity(t)}reset(e=[],t={}){this._forEachChild((n,o)=>{n.reset(e[o],{onlySelf:!0,emitEvent:t.emitEvent})}),this._updatePristine(t),this._updateTouched(t),this.updateValueAndValidity(t)}getRawValue(){return this.controls.map(e=>e instanceof oe?e.value:e.getRawValue())}clear(){this.controls.length<1||(this._forEachChild(e=>e._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity())}_syncPendingControls(){let e=this.controls.reduce((e,t)=>!!t._syncPendingControls()||e,!1);return e&&this.updateValueAndValidity({onlySelf:!0}),e}_throwIfControlMissing(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)}_forEachChild(e){this.controls.forEach((t,n)=>{e(t,n)})}_updateValue(){this.value=this.controls.filter(e=>e.enabled||this.disabled).map(e=>e.value)}_anyControls(e){return this.controls.some(t=>t.enabled&&e(t))}_setUpControls(){this._forEachChild(e=>this._registerControl(e))}_checkAllValuesPresent(e){this._forEachChild((t,n)=>{if(void 0===e[n])throw new Error(`Must supply a value for form control at index: ${n}.`)})}_allControlsDisabled(){for(const e of this.controls)if(e.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(e){e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange)}}const ie={provide:y,useExisting:Object(o.S)(()=>ce)},ae=(()=>Promise.resolve(null))();let ce=(()=>{class e extends y{constructor(e,t){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new o.n,this.form=new re({},W(e),X(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){ae.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),q(e.control,e),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){ae.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),function(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}(this._directives,e)})}addFormGroup(e){ae.then(()=>{const t=this._findContainer(e.path),n=new re({});(function(e,t){null==e&&Q(t,"Cannot find control with"),e.validator=k.compose([e.validator,t.validator]),e.asyncValidator=k.composeAsync([e.asyncValidator,t.asyncValidator])})(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){ae.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){ae.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,t=this._directives,this.form._syncPendingControls(),t.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)}),this.ngSubmit.emit(e),!1;var t}onReset(){this.resetForm()}resetForm(e){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(M,10),o.Lb(v,10))},e.\u0275dir=o.Gb({type:e,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(e,t){1&e&&o.Yb("submit",(function(e){return t.onSubmit(e)}))("reset",(function(){return t.onReset()}))},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[o.yb([ie]),o.wb]}),e})(),le=(()=>{class e extends y{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return K(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return W(this._validators)}get asyncValidator(){return X(this._asyncValidators)}_checkParentType(){}}return e.\u0275fac=function(t){return he(t||e)},e.\u0275dir=o.Gb({type:e,features:[o.wb]}),e})();const he=o.Sb(le);class ue{static modelParentException(){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 ')}static formGroupNameException(){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 ${F}\n\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\n\n ${H}`)}static missingNameException(){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}">')}static modelGroupParentException(){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 ${F}\n\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\n\n ${H}`)}}const de={provide:y,useExisting:Object(o.S)(()=>pe)};let pe=(()=>{class e extends le{constructor(e,t,n){super(),this._parent=e,this._validators=t,this._asyncValidators=n}_checkParentType(){this._parent instanceof e||this._parent instanceof ce||ue.modelGroupParentException()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(y,5),o.Lb(M,10),o.Lb(v,10))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[o.yb([de]),o.wb]}),e})();const me={provide:O,useExisting:Object(o.S)(()=>fe)},ge=(()=>Promise.resolve(null))();let fe=(()=>{class e extends O{constructor(e,t,n,r){super(),this.control=new oe,this._registered=!1,this.update=new o.n,this._parent=e,this._rawValidators=t||[],this._rawAsyncValidators=n||[],this.valueAccessor=function(e,t){if(!t)return null;Array.isArray(t)||Q(e,"Value accessor was not provided as an array for form control with");let n=void 0,o=void 0,r=void 0;return t.forEach(t=>{var s;t.constructor===f?n=t:(s=t,Z.some(e=>s.constructor===e)?(o&&Q(e,"More than one built-in value accessor matches form control with"),o=t):(r&&Q(e,"More than one custom value accessor matches form control with"),r=t))}),r||o||n||(Q(e,"No valid value accessor for form control with"),null)}(this,r)}ngOnChanges(e){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in e&&this._updateDisabled(e),function(e,t){if(!e.hasOwnProperty("model"))return!1;const n=e.model;return!!n.isFirstChange()||!Object(o.rb)(t,n.currentValue)}(e,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?K(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}get validator(){return W(this._rawValidators)}get asyncValidator(){return X(this._rawAsyncValidators)}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){q(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){!(this._parent instanceof pe)&&this._parent instanceof le?ue.formGroupNameException():this._parent instanceof pe||this._parent instanceof ce||ue.modelParentException()}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()||this.name||ue.missingNameException()}_updateValue(e){ge.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1})})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=""===t||t&&"false"!==t;ge.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable()})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(y,9),o.Lb(M,10),o.Lb(v,10),o.Lb(u,10))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[o.yb([me]),o.wb,o.xb]}),e})(),be=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)}}),e})(),ye=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[R],imports:[be]}),e})()},"3XH2":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("r517");class r{static decToBaseNChunks(e,t){if(0===e)return[0];const n=[];for(let o=Math.floor(Math.log(e)/Math.log(t))+1,r=0;o-- >0;r++){const r=Math.pow(t,o),s=Math.floor(e/r);n.push(s),e-=s*r}return n}static digitToBaseN(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 ${e} vs base ${t}`);return e<10?e.toString():(e-=10)<26?String.fromCharCode(65+e):(e-=26,String.fromCharCode(97+e))}static baseNToDigit(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");const n=e.charCodeAt(0);if(n<48)throw new Error("Character is outside scope of given base");if(n<58){const e=n-48;if(e>=t)throw new Error("Character is outside scope of given base");return e}if(n<91){const e=n-65+10;if(e>=t)throw new Error("Character is outside scope of given base");return e}if(n<123){const e=n-97+10+26;if(e>=t)throw new Error("Character is outside scope of given base");return e}throw new Error("Character is outside scope of given base")}static decToBaseN(e,t){const n=r.decToBaseNChunks(e,t);let o="";for(const s of n)o=`${o}${r.digitToBaseN(s,t)}`;return o}static baseNToDec(e,t){let n=0;for(;""!==e;){const o=r.baseNToDigit(e.substring(0,1),t);e=e.substring(1),n*=t,n+=o}return n}static generateRandomBaseNId(e,t){let n="";for(let o=e;o-- >0;){const e=Math.floor(Math.random()*t);n=`${n}${r.digitToBaseN(e,t)}`}return n}static isBaseNIdArray(e,t){if(!o.CommonsType.isStringArray(e))return!1;for(const n of e)if(!t(n))return!1;return!0}static isBaseNIdKeyObject(e,t){if(!o.CommonsType.isStringKeyObject(e))return!1;for(const n of Object.keys(e))if(!t(e[n]))return!1;return!0}static isBaseNIdOrUndefinedKeyObject(e,t){if(!o.CommonsType.isStringOrUndefinedKeyObject(e))return!1;for(const n of Object.keys(e))if(o.CommonsType.hasProperty(e,n)&&void 0!==e[n]&&!t(e[n]))return!1;return!0}static isBaseNIdArrayKeyObject(e,t){if(!o.CommonsType.isStringArrayKeyObject(e))return!1;for(const n of Object.keys(e))if(!r.isBaseNIdArray(e[n],t))return!1;return!0}static hasPropertyBaseNId(e,t,n){return!!o.CommonsType.hasPropertyString(e,t)&&n(e[t])}static hasPropertyBaseNIdArray(e,t,n){return!!o.CommonsType.hasPropertyStringArray(e,t)&&r.isBaseNIdArray(e[t],n)}static hasPropertyBaseNIdKeyObject(e,t,n){return!!o.CommonsType.hasPropertyStringKeyObject(e,t)&&r.isBaseNIdArrayKeyObject(e[t],n)}static hasPropertyBaseNIdOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNId(e,t,n))}static hasPropertyBaseNIdArrayOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringArrayOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNIdArray(e,t,n))}static hasPropertyBaseNIdKeyObjectOrUndefined(e,t,n){return!!o.CommonsType.hasPropertyStringKeyObjectOrUndefined(e,t)&&(!o.CommonsType.hasProperty(e,t)||!o.CommonsType.isDefined(e[t])||r.hasPropertyBaseNIdKeyObject(e,t,n))}}t.CommonsBase=r;class s extends r{static decToChunks(e){return super.decToBaseNChunks(e,s.BASE)}static digitToBase(e){return super.digitToBaseN(e,s.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),s.BASE)}static decToBase(e){return super.decToBaseN(e,s.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),s.BASE)}static generateRandomId(){return super.generateRandomBaseNId(10,s.BASE)}static is(e){return new RegExp(s.REGEX_PATTERN_BASE36).test(e)}static isId(e){return new RegExp(s.REGEX_PATTERN_BASE36_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,s.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,s.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,s.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,s.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,s.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,s.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,s.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,s.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,s.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,s.isId)}}t.CommonsBase36=s,s.BASE=36,s.REGEX_PATTERN_BASE36="^[0-9A-Z]+$",s.REGEX_PATTERN_BASE36_ID="^[0-9A-Z]{10}$";class i extends r{static decToChunks(e){return super.decToBaseNChunks(e,i.BASE)}static digitToBase(e){return super.digitToBaseN(e,i.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),i.BASE)}static decToBase(e){return super.decToBaseN(e,i.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),i.BASE)}static generateRandomId(){return super.generateRandomBaseNId(6,i.BASE)}static is(e){return new RegExp(i.REGEX_PATTERN_BASE41).test(e)}static isId(e){return new RegExp(i.REGEX_PATTERN_BASE41_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,i.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,i.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,i.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,i.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,i.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,i.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,i.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,i.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,i.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,i.isId)}}t.CommonsBase41=i,i.BASE=41,i.REGEX_PATTERN_BASE41="^[0-9A-Za-e]+$",i.REGEX_PATTERN_BASE41_ID="^[0-9A-Za-e]{6}$";class a extends r{static decToChunks(e){return super.decToBaseNChunks(e,a.BASE)}static digitToBase(e){return super.digitToBaseN(e,a.BASE)}static baseToDigit(e){return super.baseNToDigit(e.toUpperCase(),a.BASE)}static decToBase(e){return super.decToBaseN(e,a.BASE)}static baseToDec(e){return super.baseNToDec(e.toUpperCase(),a.BASE)}static generateRandomId(){return super.generateRandomBaseNId(8,a.BASE)}static is(e){return new RegExp(a.REGEX_PATTERN_BASE62).test(e)}static isId(e){return new RegExp(a.REGEX_PATTERN_BASE62_ID).test(e)}static isIdArray(e){return r.isBaseNIdArray(e,a.isId)}static isIdKeyObject(e){return r.isBaseNIdKeyObject(e,a.isId)}static isIdOrUndefinedKeyObject(e){return r.isBaseNIdOrUndefinedKeyObject(e,a.isId)}static isIdArrayKeyObject(e){return r.isBaseNIdArrayKeyObject(e,a.isId)}static hasPropertyId(e,t){return r.hasPropertyBaseNId(e,t,a.isId)}static hasPropertyIdArray(e,t){return r.hasPropertyBaseNIdArray(e,t,a.isId)}static hasPropertyIdKeyObject(e,t){return r.hasPropertyBaseNIdKeyObject(e,t,a.isId)}static hasPropertyIdOrUndefined(e,t){return r.hasPropertyBaseNIdOrUndefined(e,t,a.isId)}static hasPropertyIdArrayOrUndefined(e,t){return r.hasPropertyBaseNIdArrayOrUndefined(e,t,a.isId)}static hasPropertyIdKeyObjectOrUndefined(e,t){return r.hasPropertyBaseNIdKeyObjectOrUndefined(e,t,a.isId)}}t.CommonsBase62=a,a.BASE=62,a.REGEX_PATTERN_BASE62="^[0-9A-Za-z]+$",a.REGEX_PATTERN_BASE62_ID="^[0-9A-Za-z]{8}$"},"3liX":function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),(o=t.ERgba||(t.ERgba={})).RED="red",o.GREEN="green",o.BLUE="blue",o.ALPHA="alpha"},"4+du":function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("UxI3")),o(n("cS81")),o(n("pL1S")),o(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 o}));const o=(()=>{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});const o=n("Q2sQ"),r=n("u3qa");t.isTStatusTallies=function(e){return o.CommonsType.isNumberEnumObject(e,r.isEStatus)}},"5+tZ":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("ZUHj"),r=n("l7GE"),s=n("51Dv"),i=n("lJxs"),a=n("Cfvw");function c(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?o=>o.pipe(c((n,o)=>Object(a.a)(e(n,o)).pipe(Object(i.a)((e,r)=>t(n,e,o,r))),n)):("number"==typeof t&&(n=t),t=>t.lift(new l(e,n)))}class l{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new h(e,this.project,this.concurrent))}}class h extends r.a{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new s.a(this,t,n),i=this.destination;i.add(r);const a=Object(o.a)(this,e,void 0,void 0,r);a!==r&&i.add(a)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,o,r){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}},"5/2J":function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("fXoL"),r=n("WB8P"),s=n("cu1R"),i=n("Mm3/"),a=n("vihK");let c=(()=>{class e extends i.a{constructor(e){super(e.getSocketIoUrl(),!0,e.getSocketIoOptions()),this.onFetching=new o.n(!0),this.onOutcome=new o.n(!0),this.onStatusTallies=new o.n(!0),this.onLinkTallies=new o.n(!0),this.onDomainTallies=new o.n(!0),this.onBandwidth=new o.n(!0),this.connect()}setupOns(){super.on("fetching",e=>{if(!Object(s.isTFetch)(e))throw new Error("Unable to parse fetching");this.onFetching.emit(e)}),super.on("outcome",e=>{if(!Object(s.isTOutcome)(e))throw new Error("Unable to parse outcome");this.onOutcome.emit(e)}),super.on("statusTallies",e=>{if(!Object(s.isTStatusTallies)(e))throw new Error("Unable to parse status tallies");this.onStatusTallies.emit(e)}),super.on("linkTallies",e=>{r.CommonsType.assertNumber(e),this.onLinkTallies.emit(e)}),super.on("domainTallies",e=>{r.CommonsType.assertNumber(e),this.onDomainTallies.emit(e)}),super.on("bandwidth",e=>{if("number"!=typeof e)throw new Error("Unable to parse bandwidth bps");this.onBandwidth.emit(e)})}fetchingObservable(){return this.onFetching}outcomeObservable(){return this.onOutcome}statusTalliesObservable(){return this.onStatusTallies}linkTalliesObservable(){return this.onLinkTallies}domainTalliesObservable(){return this.onDomainTallies}bandwidthObservable(){return this.onBandwidth}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(a.a))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},"51Dv":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("7o/Q");class r extends o.a{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}},"5E2r":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");t.isTDomainQueue=function(e){return!!o.CommonsType.hasPropertyString(e,"domain")&&!!o.CommonsType.hasPropertyNumber(e,"queue")}},"5M3R":function(e,t,n){function o(){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 o="color: "+this.color;e.splice(1,0,o,"color: inherit");var r=0,s=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(r++,"%c"===e&&(s=r))})),e.splice(s,0,o)}},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(n){}},t.load=o,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(o())},"5rE5":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("WB8P"),r=n("3liX"),s=n("EdyX"),i=n("gQEu");class a{static rgbToHsl(e){const t={[r.ERgba.RED]:e[r.ERgba.RED],[r.ERgba.GREEN]:e[r.ERgba.GREEN],[r.ERgba.BLUE]:e[r.ERgba.BLUE]};t[r.ERgba.RED]/=255,t[r.ERgba.GREEN]/=255,t[r.ERgba.BLUE]/=255;const n=Math.max(t[r.ERgba.RED],t[r.ERgba.GREEN],t[r.ERgba.BLUE]),i=Math.min(t[r.ERgba.RED],t[r.ERgba.GREEN],t[r.ERgba.BLUE]);let a=0,c=0;const l=(n+i)/2;if(n===i)a=c=0;else{const e=n-i;switch(c=l>.5?e/(2-n-i):e/(n+i),n){case t[r.ERgba.RED]:a=(t[r.ERgba.GREEN]-t[r.ERgba.BLUE])/e+(t[r.ERgba.GREEN]<t[r.ERgba.BLUE]?6:0);break;case t[r.ERgba.GREEN]:a=(t[r.ERgba.BLUE]-t[r.ERgba.RED])/e+2;break;case t[r.ERgba.BLUE]:a=(t[r.ERgba.RED]-t[r.ERgba.GREEN])/e+4}a/=6}const h={[s.EHsla.HUE]:a,[s.EHsla.SATURATION]:c,[s.EHsla.LIGHTNESS]:l};if(o.CommonsType.hasPropertyNumber(e,r.ERgba.ALPHA)){const t=h;return t[s.EHsla.ALPHA]=e[r.ERgba.ALPHA],t}return h}static rgbToHex(e,t=!0){return`${t?"#":""}${[Math.floor(e[r.ERgba.RED]).toString(16).padStart(2,"0"),Math.floor(e[r.ERgba.GREEN]).toString(16).padStart(2,"0"),Math.floor(e[r.ERgba.BLUE]).toString(16).padStart(2,"0")].join("")}`}static hexToRgb(e){const t=/^#?([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e);if(!t)throw new Error("Invalid hex color");return{[r.ERgba.RED]:parseInt(t[1],16),[r.ERgba.GREEN]:parseInt(t[2],16),[r.ERgba.BLUE]:parseInt(t[3],16)}}static hueToRgb(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}static hslToRgb(e){const t={[r.ERgba.RED]:0,[r.ERgba.GREEN]:0,[r.ERgba.BLUE]:0};if(0===e[s.EHsla.SATURATION])t[r.ERgba.RED]=t[r.ERgba.GREEN]=t[r.ERgba.BLUE]=e[s.EHsla.LIGHTNESS];else{const n=e[s.EHsla.LIGHTNESS]<.5?e[s.EHsla.LIGHTNESS]*(1+e[s.EHsla.SATURATION]):e[s.EHsla.LIGHTNESS]+e[s.EHsla.SATURATION]-e[s.EHsla.LIGHTNESS]*e[s.EHsla.SATURATION],o=2*e[s.EHsla.LIGHTNESS]-n;t[r.ERgba.RED]=a.hueToRgb(o,n,e[s.EHsla.HUE]+1/3),t[r.ERgba.GREEN]=a.hueToRgb(o,n,e[s.EHsla.HUE]),t[r.ERgba.BLUE]=a.hueToRgb(o,n,e[s.EHsla.HUE]-1/3)}if(t[r.ERgba.RED]=Math.round(255*t[r.ERgba.RED]),t[r.ERgba.GREEN]=Math.round(255*t[r.ERgba.GREEN]),t[r.ERgba.BLUE]=Math.round(255*t[r.ERgba.BLUE]),o.CommonsType.hasPropertyNumber(e,s.EHsla.ALPHA)){const n=t;return n[r.ERgba.ALPHA]=e[s.EHsla.ALPHA],n}return t}static hsvToHsl(e){const t=e[i.EHsva.VALUE]/2*(2-e[i.EHsva.SATURATION]);let n=e[i.EHsva.SATURATION];0!==t&&(n=1===t?0:t<.5?n*e[i.EHsva.VALUE]/(2*t):n*e[i.EHsva.VALUE]/(2-2*t));const r={[s.EHsla.HUE]:e[i.EHsva.HUE],[s.EHsla.SATURATION]:n,[s.EHsla.LIGHTNESS]:t};if(o.CommonsType.hasPropertyNumber(r,s.EHsla.ALPHA)){const t=r;return t[s.EHsla.ALPHA]=e[i.EHsva.ALPHA],t}return r}static hsvToRgb(e){const t=a.hsvToHsl(e);return a.hslToRgb(t)}static blendRgbs(e,t,n,i=!1){let c=0;const l=a.rgbToHsl(e),h=a.rgbToHsl(t);i?l[s.EHsla.HUE]<t[s.EHsla.HUE]?(c=h[s.EHsla.HUE]+(l[s.EHsla.HUE]+(1-h[s.EHsla.HUE]))*n,c>1&&(c-=1)):(c=l[s.EHsla.HUE]+(h[s.EHsla.HUE]+(1-l[s.EHsla.HUE]))*n,c>1&&(c-=1)):c=h[s.EHsla.HUE]*n+l[s.EHsla.HUE]*(1-n);const u=a.hslToRgb({[s.EHsla.HUE]:c,[s.EHsla.SATURATION]:h[s.EHsla.SATURATION]*n+l[s.EHsla.SATURATION]*(1-n),[s.EHsla.LIGHTNESS]:h[s.EHsla.LIGHTNESS]*n+l[s.EHsla.LIGHTNESS]*(1-n)});if(o.CommonsType.hasPropertyNumber(u,r.ERgba.ALPHA)){const t=u;return t[s.EHsla.ALPHA]=e[s.EHsla.ALPHA]*n+e[s.EHsla.ALPHA]*(1-n),t}return u}}t.CommonsColor=a},"6F/j":function(e,t,n){"use strict";function o(e){return"function"==typeof e}n.r(t),n.d(t,"Observable",(function(){return O})),n.d(t,"ConnectableObservable",(function(){return x})),n.d(t,"GroupedObservable",(function(){return j})),n.d(t,"observable",(function(){return b})),n.d(t,"Subject",(function(){return E})),n.d(t,"BehaviorSubject",(function(){return D})),n.d(t,"ReplaySubject",(function(){return te})),n.d(t,"AsyncSubject",(function(){return oe})),n.d(t,"asapScheduler",(function(){return ue})),n.d(t,"asyncScheduler",(function(){return de})),n.d(t,"queueScheduler",(function(){return H})),n.d(t,"animationFrameScheduler",(function(){return ge})),n.d(t,"VirtualTimeScheduler",(function(){return fe})),n.d(t,"VirtualAction",(function(){return be})),n.d(t,"Scheduler",(function(){return L})),n.d(t,"Subscription",(function(){return u})),n.d(t,"Subscriber",(function(){return m})),n.d(t,"Notification",(function(){return Z})),n.d(t,"NotificationKind",(function(){return X})),n.d(t,"pipe",(function(){return _})),n.d(t,"noop",(function(){return ye})),n.d(t,"identity",(function(){return y})),n.d(t,"isObservable",(function(){return _e})),n.d(t,"ArgumentOutOfRangeError",(function(){return Ce})),n.d(t,"EmptyError",(function(){return Oe})),n.d(t,"ObjectUnsubscribedError",(function(){return w})),n.d(t,"UnsubscriptionError",(function(){return h})),n.d(t,"TimeoutError",(function(){return Pe})),n.d(t,"bindCallback",(function(){return Ee})),n.d(t,"bindNodeCallback",(function(){return Se})),n.d(t,"combineLatest",(function(){return ze})),n.d(t,"concat",(function(){return We})),n.d(t,"defer",(function(){return Xe})),n.d(t,"empty",(function(){return $})),n.d(t,"forkJoin",(function(){return Ze})),n.d(t,"from",(function(){return Ke})),n.d(t,"fromEvent",(function(){return et})),n.d(t,"fromEventPattern",(function(){return tt})),n.d(t,"generate",(function(){return nt})),n.d(t,"iif",(function(){return rt})),n.d(t,"interval",(function(){return it})),n.d(t,"merge",(function(){return ct})),n.d(t,"never",(function(){return ht})),n.d(t,"of",(function(){return Y})),n.d(t,"onErrorResumeNext",(function(){return ut})),n.d(t,"pairs",(function(){return dt})),n.d(t,"partition",(function(){return yt})),n.d(t,"race",(function(){return _t})),n.d(t,"range",(function(){return Pt})),n.d(t,"throwError",(function(){return Q})),n.d(t,"timer",(function(){return Mt})),n.d(t,"using",(function(){return Et})),n.d(t,"zip",(function(){return kt})),n.d(t,"scheduled",(function(){return Ge})),n.d(t,"EMPTY",(function(){return z})),n.d(t,"NEVER",(function(){return lt})),n.d(t,"config",(function(){return s}));let r=!1;const s={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const e=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+e.stack)}else r&&console.log("RxJS: Back to a better error behavior. Thank you. <3");r=e},get useDeprecatedSynchronousErrorHandling(){return r}};function i(e){setTimeout(()=>{throw e},0)}const a={closed:!0,next(e){},error(e){if(s.useDeprecatedSynchronousErrorHandling)throw e;i(e)},complete(){}},c=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))();function l(e){return null!==e&&"object"==typeof e}const h=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let u=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(o(r))try{r.call(this)}catch(i){t=i instanceof h?d(i.errors):[i]}if(c(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(l(n))try{n.unsubscribe()}catch(i){t=t||[],i instanceof h?t=t.concat(d(i.errors)):t.push(i)}}}if(t)throw new h(t)}add(t){let 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)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:o}=n;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)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function d(e){return e.reduce((e,t)=>e.concat(t instanceof h?t.errors:t),[])}const p=(()=>"function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random())();class m extends u{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=a;break;case 1:if(!e){this.destination=a;break}if("object"==typeof e){e instanceof m?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new g(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new g(this,e,t,n)}}[p](){return this}static create(e,t,n){const o=new m(e,t,n);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class g extends m{constructor(e,t,n,r){let s;super(),this._parentSubscriber=e;let i=this;o(t)?s=t:t&&(s=t.next,n=t.error,r=t.complete,t!==a&&(i=Object.create(t),o(i.unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;s.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=s;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):i(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;i(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);s.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),s.useDeprecatedSynchronousErrorHandling)throw n;i(n)}}__tryOrSetError(e,t,n){if(!s.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(o){return s.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(i(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}function f(e){for(;e;){const{closed:t,destination:n,isStopped:o}=e;if(t||o)return!1;e=n&&n instanceof m?n:null}return!0}const b=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")();function y(e){return e}function _(...e){return C(e)}function C(e){return 0===e.length?y:1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}}let O=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:o}=this,r=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(a)}(e,t,n);if(r.add(o?o.call(r,this.source):this.source||s.useDeprecatedSynchronousErrorHandling&&!r.syncErrorThrowable?this._subscribe(r):this._trySubscribe(r)),s.useDeprecatedSynchronousErrorHandling&&r.syncErrorThrowable&&(r.syncErrorThrowable=!1,r.syncErrorThrown))throw r.syncErrorValue;return r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){s.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),f(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=P(t))((t,n)=>{let o;o=this.subscribe(t=>{try{e(t)}catch(r){n(r),o&&o.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[b](){return this}pipe(...e){return 0===e.length?this:C(e)(this)}toPromise(e){return new(e=P(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function P(e){if(e||(e=s.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const w=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class M extends u{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class v extends m{constructor(e){super(e),this.destination=e}}let E=(()=>{class e extends O{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[p](){return new v(this)}lift(e){const t=new k(this,this);return t.operator=e,t}next(e){if(this.closed)throw new w;if(!this.isStopped){const{observers:t}=this,n=t.length,o=t.slice();for(let r=0;r<n;r++)o[r].next(e)}}error(e){if(this.closed)throw new w;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,o=t.slice();for(let r=0;r<n;r++)o[r].error(e);this.observers.length=0}complete(){if(this.closed)throw new w;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let o=0;o<t;o++)n[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new w;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new w;return this.hasError?(e.error(this.thrownError),u.EMPTY):this.isStopped?(e.complete(),u.EMPTY):(this.observers.push(e),new M(this,e))}asObservable(){const e=new O;return e.source=this,e}}return e.create=(e,t)=>new k(e,t),e})();class k extends E{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):u.EMPTY}}class T{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const o=new S(e,n),r=t.subscribe(o);return o.closed||(o.connection=n.connect()),r}}class S extends m{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,o=e._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}class x extends O{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new u,e.add(this.source.subscribe(new A(this.getSubject(),this))),e.closed&&(this._connection=null,e=u.EMPTY)),e}refCount(){return(e=this).lift(new T(e));var e}}class A extends v{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}class j extends O{constructor(e,t,n){super(),this.key=e,this.groupSubject=t,this.refCountSubscription=n}_subscribe(e){const t=new u,{refCountSubscription:n,groupSubject:o}=this;return n&&!n.closed&&t.add(new I(n)),t.add(o.subscribe(e)),t}}class I extends u{constructor(e){super(),this.parent=e,e.count++}unsubscribe(){const e=this.parent;e.closed||this.closed||(super.unsubscribe(),e.count-=1,0===e.count&&e.attemptedToUnsubscribe&&e.unsubscribe())}}class D extends E{constructor(e){super(),this._value=e}get value(){return this.getValue()}_subscribe(e){const t=super._subscribe(e);return t&&!t.closed&&e.next(this._value),t}getValue(){if(this.hasError)throw this.thrownError;if(this.closed)throw new w;return this._value}next(e){super.next(this._value=e)}}class N extends u{constructor(e,t){super()}schedule(e,t=0){return this}}class R extends N{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,o=void 0;try{this.work(e)}catch(r){n=!0,o=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),o}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,o=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&n.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}class U extends R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}schedule(e,t=0){return t>0?super.schedule(e,t):(this.delay=t,this.state=e,this.scheduler.flush(this),this)}execute(e,t){return t>0||this.closed?super.execute(e,t):this._execute(e,t)}requestAsyncId(e,t,n=0){return null!==n&&n>0||null===n&&this.delay>0?super.requestAsyncId(e,t,n):e.flush(this)}}let L=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class B extends L{constructor(e,t=L.now){super(e,()=>B.delegate&&B.delegate!==this?B.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return B.delegate&&B.delegate!==this?B.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let 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}}}class F extends B{}const H=new F(U),z=new O(e=>e.complete());function $(e){return e?function(e){return new O(t=>e.schedule(()=>t.complete()))}(e):z}function V(e){return e&&"function"==typeof e.schedule}const G=e=>t=>{for(let n=0,o=e.length;n<o&&!t.closed;n++)t.next(e[n]);t.complete()};function K(e,t){return new O(n=>{const o=new u;let r=0;return o.add(t.schedule((function(){r!==e.length?(n.next(e[r++]),n.closed||o.add(this.schedule())):n.complete()}))),o})}function q(e,t){return t?K(e,t):new O(G(e))}function Y(...e){let t=e[e.length-1];return V(t)?(e.pop(),K(e,t)):q(e)}function Q(e,t){return new O(t?n=>t.schedule(W,0,{error:e,subscriber:n}):t=>t.error(e))}function W({error:e,subscriber:t}){t.error(e)}var X=function(e){return e.NEXT="N",e.ERROR="E",e.COMPLETE="C",e}({});let Z=(()=>{class e{constructor(e,t,n){this.kind=e,this.value=t,this.error=n,this.hasValue="N"===e}observe(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()}}do(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()}}accept(e,t,n){return e&&"function"==typeof e.next?this.observe(e):this.do(e,t,n)}toObservable(){switch(this.kind){case"N":return Y(this.value);case"E":return Q(this.error);case"C":return $()}throw new Error("unexpected notification kind value")}static createNext(t){return void 0!==t?new e("N",t):e.undefinedValueNotification}static createError(t){return new e("E",void 0,t)}static createComplete(){return e.completeNotification}}return e.completeNotification=new e("C"),e.undefinedValueNotification=new e("N",void 0),e})();class J extends m{constructor(e,t,n=0){super(e),this.scheduler=t,this.delay=n}static dispatch(e){const{notification:t,destination:n}=e;t.observe(n),this.unsubscribe()}scheduleMessage(e){this.destination.add(this.scheduler.schedule(J.dispatch,this.delay,new ee(e,this.destination)))}_next(e){this.scheduleMessage(Z.createNext(e))}_error(e){this.scheduleMessage(Z.createError(e)),this.unsubscribe()}_complete(){this.scheduleMessage(Z.createComplete()),this.unsubscribe()}}class ee{constructor(e,t){this.notification=e,this.destination=t}}class te extends E{constructor(e=Number.POSITIVE_INFINITY,t=Number.POSITIVE_INFINITY,n){super(),this.scheduler=n,this._events=[],this._infiniteTimeWindow=!1,this._bufferSize=e<1?1:e,this._windowTime=t<1?1:t,t===Number.POSITIVE_INFINITY?(this._infiniteTimeWindow=!0,this.next=this.nextInfiniteTimeWindow):this.next=this.nextTimeWindow}nextInfiniteTimeWindow(e){const t=this._events;t.push(e),t.length>this._bufferSize&&t.shift(),super.next(e)}nextTimeWindow(e){this._events.push(new ne(this._getNow(),e)),this._trimBufferThenGetEvents(),super.next(e)}_subscribe(e){const t=this._infiniteTimeWindow,n=t?this._events:this._trimBufferThenGetEvents(),o=this.scheduler,r=n.length;let s;if(this.closed)throw new w;if(this.isStopped||this.hasError?s=u.EMPTY:(this.observers.push(e),s=new M(this,e)),o&&e.add(e=new J(e,o)),t)for(let i=0;i<r&&!e.closed;i++)e.next(n[i]);else for(let i=0;i<r&&!e.closed;i++)e.next(n[i].value);return this.hasError?e.error(this.thrownError):this.isStopped&&e.complete(),s}_getNow(){return(this.scheduler||H).now()}_trimBufferThenGetEvents(){const e=this._getNow(),t=this._bufferSize,n=this._windowTime,o=this._events,r=o.length;let s=0;for(;s<r&&!(e-o[s].time<n);)s++;return r>t&&(s=Math.max(s,r-t)),s>0&&o.splice(0,s),o}}class ne{constructor(e,t){this.time=e,this.value=t}}class oe extends E{constructor(){super(...arguments),this.value=null,this.hasNext=!1,this.hasCompleted=!1}_subscribe(e){return this.hasError?(e.error(this.thrownError),u.EMPTY):this.hasCompleted&&this.hasNext?(e.next(this.value),e.complete(),u.EMPTY):super._subscribe(e)}next(e){this.hasCompleted||(this.value=e,this.hasNext=!0)}error(e){this.hasCompleted||super.error(e)}complete(){this.hasCompleted=!0,this.hasNext&&super.next(this.value),super.complete()}}let re=1;const se=(()=>Promise.resolve())(),ie={};function ae(e){return e in ie&&(delete ie[e],!0)}const ce={setImmediate(e){const t=re++;return ie[t]=!0,se.then(()=>ae(t)&&e()),t},clearImmediate(e){ae(e)}};class le extends R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=ce.setImmediate(e.flush.bind(e,null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(ce.clearImmediate(t),e.scheduled=void 0)}}class he extends B{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,o=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++o<r&&(e=t.shift()));if(this.active=!1,n){for(;++o<r&&(e=t.shift());)e.unsubscribe();throw n}}}const ue=new he(le),de=new B(R);class pe extends R{constructor(e,t){super(e,t),this.scheduler=e,this.work=t}requestAsyncId(e,t,n=0){return null!==n&&n>0?super.requestAsyncId(e,t,n):(e.actions.push(this),e.scheduled||(e.scheduled=requestAnimationFrame(()=>e.flush(null))))}recycleAsyncId(e,t,n=0){if(null!==n&&n>0||null===n&&this.delay>0)return super.recycleAsyncId(e,t,n);0===e.actions.length&&(cancelAnimationFrame(t),e.scheduled=void 0)}}class me extends B{flush(e){this.active=!0,this.scheduled=void 0;const{actions:t}=this;let n,o=-1,r=t.length;e=e||t.shift();do{if(n=e.execute(e.state,e.delay))break}while(++o<r&&(e=t.shift()));if(this.active=!1,n){for(;++o<r&&(e=t.shift());)e.unsubscribe();throw n}}}const ge=new me(pe);let fe=(()=>{class e extends B{constructor(e=be,t=Number.POSITIVE_INFINITY){super(e,()=>this.frame),this.maxFrames=t,this.frame=0,this.index=-1}flush(){const{actions:e,maxFrames:t}=this;let n,o;for(;(o=e[0])&&o.delay<=t&&(e.shift(),this.frame=o.delay,!(n=o.execute(o.state,o.delay))););if(n){for(;o=e.shift();)o.unsubscribe();throw n}}}return e.frameTimeFactor=10,e})();class be extends R{constructor(e,t,n=(e.index+=1)){super(e,t),this.scheduler=e,this.work=t,this.index=n,this.active=!0,this.index=e.index=n}schedule(e,t=0){if(!this.id)return super.schedule(e,t);this.active=!1;const n=new be(this.scheduler,this.work);return this.add(n),n.schedule(e,t)}requestAsyncId(e,t,n=0){this.delay=e.frame+n;const{actions:o}=e;return o.push(this),o.sort(be.sortActions),!0}recycleAsyncId(e,t,n=0){}_execute(e,t){if(!0===this.active)return super._execute(e,t)}static sortActions(e,t){return e.delay===t.delay?e.index===t.index?0:e.index>t.index?1:-1:e.delay>t.delay?1:-1}}function ye(){}function _e(e){return!!e&&(e instanceof O||"function"==typeof e.lift&&"function"==typeof e.subscribe)}const Ce=(()=>{function e(){return Error.call(this),this.message="argument out of range",this.name="ArgumentOutOfRangeError",this}return e.prototype=Object.create(Error.prototype),e})(),Oe=(()=>{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 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))}}class Me{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new ve(e,this.project,this.thisArg))}}class ve extends m{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function Ee(e,t,n){if(t){if(!V(t))return(...o)=>Ee(e,n)(...o).pipe(we(e=>c(e)?t(...e):t(e)));n=t}return function(...t){const o=this;let r;const s={context:o,subject:r,callbackFunc:e,scheduler:n};return new O(i=>{if(n)return n.schedule(ke,0,{args:t,subscriber:i,params:s});if(!r){r=new oe;const n=(...e)=>{r.next(e.length<=1?e[0]:e),r.complete()};try{e.apply(o,[...t,n])}catch(a){f(r)?r.error(a):console.warn(a)}}return r.subscribe(i)})}}function ke(e){const{args:t,subscriber:n,params:o}=e,{callbackFunc:r,context:s,scheduler:i}=o;let{subject:a}=o;if(!a){a=o.subject=new oe;const e=(...e)=>{this.add(i.schedule(Te,0,{value:e.length<=1?e[0]:e,subject:a}))};try{r.apply(s,[...t,e])}catch(c){a.error(c)}}this.add(a.subscribe(n))}function Te(e){const{value:t,subject:n}=e;n.next(t),n.complete()}function Se(e,t,n){if(t){if(!V(t))return(...o)=>Se(e,n)(...o).pipe(we(e=>c(e)?t(...e):t(e)));n=t}return function(...t){const o={subject:void 0,args:t,callbackFunc:e,scheduler:n,context:this};return new O(r=>{const{context:s}=o;let{subject:i}=o;if(n)return n.schedule(xe,0,{params:o,subscriber:r,context:s});if(!i){i=o.subject=new oe;const n=(...e)=>{const t=e.shift();t?i.error(t):(i.next(e.length<=1?e[0]:e),i.complete())};try{e.apply(s,[...t,n])}catch(a){f(i)?i.error(a):console.warn(a)}}return i.subscribe(r)})}}function xe(e){const{params:t,subscriber:n,context:o}=e,{callbackFunc:r,args:s,scheduler:i}=t;let a=t.subject;if(!a){a=t.subject=new oe;const e=(...e)=>{const t=e.shift();this.add(t?i.schedule(je,0,{err:t,subject:a}):i.schedule(Ae,0,{value:e.length<=1?e[0]:e,subject:a}))};try{r.apply(o,[...s,e])}catch(c){this.add(i.schedule(je,0,{err:c,subject:a}))}}this.add(a.subscribe(n))}function Ae(e){const{value:t,subject:n}=e;n.next(t),n.complete()}function je(e){const{err:t,subject:n}=e;n.error(t)}class Ie extends m{notifyNext(e,t,n,o,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class De extends m{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}function Ne(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const Re=Ne(),Ue=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function Le(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Be=e=>{if(e&&"function"==typeof e[b])return o=e,e=>{const t=o[b]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Ue(e))return G(e);if(Le(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,i),e);if(e&&"function"==typeof e[Re])return t=e,e=>{const n=t[Re]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=l(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,o};function Fe(e,t,n,o,r=new De(e,n,o)){if(!r.closed)return t instanceof O?t.subscribe(r):Be(t)(r)}const He={};function ze(...e){let t=null,n=null;return V(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&c(e[0])&&(e=e[0]),q(e,n).lift(new $e(t))}class $e{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new Ve(e,this.resultSelector))}}class Ve extends Ie{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(He),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Fe(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,o,r){const s=this.values,i=this.toRespond?s[n]===He?--this.toRespond:this.toRespond:0;s[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}function Ge(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[b]}(e))return function(e,t){return new O(n=>{const o=new u;return o.add(t.schedule(()=>{const r=e[b]();o.add(r.subscribe({next(e){o.add(t.schedule(()=>n.next(e)))},error(e){o.add(t.schedule(()=>n.error(e)))},complete(){o.add(t.schedule(()=>n.complete()))}}))})),o})}(e,t);if(Le(e))return function(e,t){return new O(n=>{const o=new u;return o.add(t.schedule(()=>e.then(e=>{o.add(t.schedule(()=>{n.next(e),o.add(t.schedule(()=>n.complete()))}))},e=>{o.add(t.schedule(()=>n.error(e)))}))),o})}(e,t);if(Ue(e))return K(e,t);if(function(e){return e&&"function"==typeof e[Re]}(e)||"string"==typeof e)return function(e,t){if(!e)throw new Error("Iterable cannot be null");return new O(n=>{const o=new u;let r;return o.add(()=>{r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(()=>{r=e[Re](),o.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(o){return void n.error(o)}t?n.complete():(n.next(e),this.schedule())})))})),o})}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")}function Ke(e,t){return t?Ge(e,t):e instanceof O?e:new O(Be(e))}class qe{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new Ye(e,this.project,this.concurrent))}}class Ye extends Ie{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const o=new De(this,t,n),r=this.destination;r.add(o);const s=Fe(this,e,void 0,void 0,o);s!==o&&r.add(s)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,o,r){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Qe(e=Number.POSITIVE_INFINITY){return function e(t,n,o=Number.POSITIVE_INFINITY){return"function"==typeof n?r=>r.pipe(e((e,o)=>Ke(t(e,o)).pipe(we((t,r)=>n(e,t,o,r))),o)):("number"==typeof n&&(o=n),e=>e.lift(new qe(t,o)))}(y,e)}function We(...e){return Qe(1)(Y(...e))}function Xe(e){return new O(t=>{let n;try{n=e()}catch(o){return void t.error(o)}return(n?Ke(n):$()).subscribe(t)})}function Ze(...e){if(1===e.length){const t=e[0];if(c(t))return Je(t,null);if(l(t)&&Object.getPrototypeOf(t)===Object.prototype){const e=Object.keys(t);return Je(e.map(e=>t[e]),e)}}if("function"==typeof e[e.length-1]){const t=e.pop();return Je(e=1===e.length&&c(e[0])?e[0]:e,null).pipe(we(e=>t(...e)))}return Je(e,null)}function Je(e,t){return new O(n=>{const o=e.length;if(0===o)return void n.complete();const r=new Array(o);let s=0,i=0;for(let a=0;a<o;a++){const c=Ke(e[a]);let l=!1;n.add(c.subscribe({next:e=>{l||(l=!0,i++),r[a]=e},error:e=>n.error(e),complete:()=>{s++,s!==o&&l||(i===o&&n.next(t?t.reduce((e,t,n)=>(e[t]=r[n],e),{}):r),n.complete())}}))}})}function et(e,t,n,r){return o(n)&&(r=n,n=void 0),r?et(e,t,n).pipe(we(e=>c(e)?r(...e):r(e))):new O(o=>{!function e(t,n,o,r,s){let i;if(function(e){return e&&"function"==typeof e.addEventListener&&"function"==typeof e.removeEventListener}(t)){const e=t;t.addEventListener(n,o,s),i=()=>e.removeEventListener(n,o,s)}else if(function(e){return e&&"function"==typeof e.on&&"function"==typeof e.off}(t)){const e=t;t.on(n,o),i=()=>e.off(n,o)}else if(function(e){return e&&"function"==typeof e.addListener&&"function"==typeof e.removeListener}(t)){const e=t;t.addListener(n,o),i=()=>e.removeListener(n,o)}else{if(!t||!t.length)throw new TypeError("Invalid event target");for(let i=0,a=t.length;i<a;i++)e(t[i],n,o,r,s)}r.add(i)}(e,t,(function(e){o.next(arguments.length>1?Array.prototype.slice.call(arguments):e)}),o,n)})}function tt(e,t,n){return n?tt(e,t).pipe(we(e=>c(e)?n(...e):n(e))):new O(n=>{const r=(...e)=>n.next(1===e.length?e[0]:e);let s;try{s=e(r)}catch(i){return void n.error(i)}if(o(t))return()=>t(r,s)})}function nt(e,t,n,o,r){let s,i;return 1==arguments.length?(i=e.initialState,t=e.condition,n=e.iterate,s=e.resultSelector||y,r=e.scheduler):void 0===o||V(o)?(i=e,s=y,r=o):(i=e,s=o),new O(e=>{let o=i;if(r)return r.schedule(ot,0,{subscriber:e,iterate:n,condition:t,resultSelector:s,state:o});for(;;){if(t){let n;try{n=t(o)}catch(a){return void e.error(a)}if(!n){e.complete();break}}let r;try{r=s(o)}catch(a){return void e.error(a)}if(e.next(r),e.closed)break;try{o=n(o)}catch(a){return void e.error(a)}}})}function ot(e){const{subscriber:t,condition:n}=e;if(t.closed)return;if(e.needIterate)try{e.state=e.iterate(e.state)}catch(r){return void t.error(r)}else e.needIterate=!0;if(n){let o;try{o=n(e.state)}catch(r){return void t.error(r)}if(!o)return void t.complete();if(t.closed)return}let o;try{o=e.resultSelector(e.state)}catch(r){return void t.error(r)}return t.closed||(t.next(o),t.closed)?void 0:this.schedule(e)}function rt(e,t=z,n=z){return Xe(()=>e()?t:n)}function st(e){return!c(e)&&e-parseFloat(e)+1>=0}function it(e=0,t=de){return(!st(e)||e<0)&&(e=0),t&&"function"==typeof t.schedule||(t=de),new O(n=>(n.add(t.schedule(at,e,{subscriber:n,counter:0,period:e})),n))}function at(e){const{subscriber:t,counter:n,period:o}=e;t.next(n),this.schedule({subscriber:t,counter:n+1,period:o},o)}function ct(...e){let t=Number.POSITIVE_INFINITY,n=null,o=e[e.length-1];return V(o)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof o&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof O?e[0]:Qe(t)(q(e,n))}const lt=new O(ye);function ht(){return lt}function ut(...e){if(0===e.length)return z;const[t,...n]=e;return 1===e.length&&c(t)?ut(...t):new O(e=>{const o=()=>e.add(ut(...n).subscribe(e));return Ke(t).subscribe({next(t){e.next(t)},error:o,complete:o})})}function dt(e,t){return new O(t?n=>{const o=Object.keys(e),r=new u;return r.add(t.schedule(pt,0,{keys:o,index:0,subscriber:n,subscription:r,obj:e})),r}:t=>{const n=Object.keys(e);for(let o=0;o<n.length&&!t.closed;o++){const r=n[o];e.hasOwnProperty(r)&&t.next([r,e[r]])}t.complete()})}function pt(e){const{keys:t,index:n,subscriber:o,subscription:r,obj:s}=e;if(!o.closed)if(n<t.length){const e=t[n];o.next([e,s[e]]),r.add(this.schedule({keys:t,index:n+1,subscriber:o,subscription:r,obj:s}))}else o.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 ft(e,t))}}class ft{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new bt(e,this.predicate,this.thisArg))}}class bt extends m{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}function yt(e,t,n){return[gt(t,n)(new O(Be(e))),gt(mt(t,n))(new O(Be(e)))]}function _t(...e){if(1===e.length){if(!c(e[0]))return e[0];e=e[0]}return q(e,void 0).lift(new Ct)}class Ct{call(e,t){return t.subscribe(new Ot(e))}}class Ot extends Ie{constructor(e){super(e),this.hasFirst=!1,this.observables=[],this.subscriptions=[]}_next(e){this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{for(let n=0;n<t&&!this.hasFirst;n++){let t=e[n],o=Fe(this,t,t,n);this.subscriptions&&this.subscriptions.push(o),this.add(o)}this.observables=null}}notifyNext(e,t,n,o,r){if(!this.hasFirst){this.hasFirst=!0;for(let e=0;e<this.subscriptions.length;e++)if(e!==n){let t=this.subscriptions[e];t.unsubscribe(),this.remove(t)}this.subscriptions=null}this.destination.next(t)}}function Pt(e=0,t,n){return new O(o=>{void 0===t&&(t=e,e=0);let r=0,s=e;if(n)return n.schedule(wt,0,{index:r,count:t,start:e,subscriber:o});for(;;){if(r++>=t){o.complete();break}if(o.next(s++),o.closed)break}})}function wt(e){const{start:t,index:n,count:o,subscriber:r}=e;n>=o?r.complete():(r.next(t),r.closed||(e.index=n+1,e.start=t+1,this.schedule(e)))}function Mt(e=0,t,n){let o=-1;return st(t)?o=Number(t)<1?1:Number(t):V(t)&&(n=t),V(n)||(n=de),new O(t=>{const r=st(e)?e:+e-n.now();return n.schedule(vt,r,{index:0,period:o,subscriber:t})})}function vt(e){const{index:t,period:n,subscriber:o}=e;if(o.next(t),!o.closed){if(-1===n)return o.complete();e.index=t+1,this.schedule(e,n)}}function Et(e,t){return new O(n=>{let o,r;try{o=e()}catch(i){return void n.error(i)}try{r=t(o)}catch(i){return void n.error(i)}const s=(r?Ke(r):z).subscribe(n);return()=>{s.unsubscribe(),o&&o.unsubscribe()}})}function kt(...e){const t=e[e.length-1];return"function"==typeof t&&e.pop(),q(e,void 0).lift(new Tt(t))}class Tt{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new St(e,this.resultSelector))}}class St extends m{constructor(e,t,n=Object.create(null)){super(e),this.iterators=[],this.active=0,this.resultSelector="function"==typeof t?t:null,this.values=n}_next(e){const t=this.iterators;c(e)?t.push(new At(e)):t.push("function"==typeof e[Re]?new xt(e[Re]()):new jt(this.destination,this,e))}_complete(){const e=this.iterators,t=e.length;if(this.unsubscribe(),0!==t){this.active=t;for(let n=0;n<t;n++){let t=e[n];t.stillUnsubscribed?this.destination.add(t.subscribe(t,n)):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const e=this.iterators,t=e.length,n=this.destination;for(let s=0;s<t;s++){let t=e[s];if("function"==typeof t.hasValue&&!t.hasValue())return}let o=!1;const r=[];for(let s=0;s<t;s++){let t=e[s],i=t.next();if(t.hasCompleted()&&(o=!0),i.done)return void n.complete();r.push(i.value)}this.resultSelector?this._tryresultSelector(r):n.next(r),o&&n.complete()}_tryresultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class xt{constructor(e){this.iterator=e,this.nextResult=e.next()}hasValue(){return!0}next(){const e=this.nextResult;return this.nextResult=this.iterator.next(),e}hasCompleted(){const e=this.nextResult;return e&&e.done}}class At{constructor(e){this.array=e,this.index=0,this.length=0,this.length=e.length}[Re](){return this}next(e){const t=this.index++;return t<this.length?{value:this.array[t],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class jt extends Ie{constructor(e,t,n){super(e),this.parent=t,this.observable=n,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[Re](){return this}next(){const e=this.buffer;return 0===e.length&&this.isComplete?{value:null,done:!0}:{value:e.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(e,t,n,o,r){this.buffer.push(t),this.parent.checkIterators()}subscribe(e,t){return Fe(this,this.observable,this,t)}}},"6HB4":function(e,t,n){"use strict";n.d(t,"a",(function(){return g})),n.d(t,"b",(function(){return b})),n.d(t,"c",(function(){return y}));var o=n("DgCp"),r=n("v8Qv"),s=n("po00"),i=n("RPfa"),a=(n("hi8z"),n("b31r"),n("ofXK")),c=n("fXoL"),l=n("jhN1");function h(e,t){if(1&e&&c.Mb(0,"div",6),2&e){const e=t.index,n=c.cc();c.wc("top",n.internalIntervalPositions[e],"%")}}function u(e,t){if(1&e&&(c.Qb(0,"label"),c.zc(1),c.Pb()),2&e){const e=c.cc().$implicit;c.zb(1),c.Ac(e.label)}}function d(e,t){if(1&e&&(c.Qb(0,"span",11),c.zc(1),c.Pb()),2&e){const e=c.cc().$implicit;c.Cb("expanded",e.expanded),c.zb(1),c.Ac(e.name)}}function p(e,t){if(1&e&&(c.Qb(0,"section",7),c.Qb(1,"div",8),c.xc(2,u,2,1,"label",9),c.xc(3,d,2,3,"span",10),c.Pb(),c.Pb()),2&e){const e=t.$implicit,n=t.index,o=c.cc();c.wc("width",100/o.internalItems.length,"%")("left",n*(100/o.internalItems.length),"%"),c.zb(1),c.wc("background-color",e.styleColor)("height",100*e.height,"%"),c.Cb("red","red"===e.classColor)("orange","orange"===e.classColor)("yellow","yellow"===e.classColor)("green","green"===e.classColor)("cyan","cyan"===e.classColor)("blue","blue"===e.classColor)("indigo","indigo"===e.classColor)("magenta","magenta"===e.classColor)("primary","primary"===e.classColor)("primary-light","primary-light"===e.classColor)("primary-dark","primary-dark"===e.classColor)("secondary","secondary"===e.classColor)("secondary-light","secondary-light"===e.classColor)("secondary-dark","secondary-dark"===e.classColor),c.zb(1),c.jc("ngIf",e.label),c.zb(1),c.jc("ngIf",e.name)}}function m(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){const e=t.$implicit,n=t.index,o=c.cc();c.wc("top",o.internalIntervalPositions[n],"%"),c.zb(2),c.Ac(c.ec(3,3,e))}}const g=function(){var e={NONE:0,NUMBER:1,PERCENT:2};return e[e.NONE]="NONE",e[e.NUMBER]="NUMBER",e[e.PERCENT]="PERCENT",e}();class f{static listRainbowDistribution(e){let t=0;const n=0===e?1:Math.max(1,Object.keys(o.ECommonsColor).length/e),r=[];for(let s=0;s<e;s++){let e=Math.round(t);switch(e<0&&(e=0),e>=Object.keys(o.ECommonsColor).length&&(e=Object.keys(o.ECommonsColor).length-1),e){case 0:r.push(o.ECommonsColor.RED);break;case 1:r.push(o.ECommonsColor.ORANGE);break;case 2:r.push(o.ECommonsColor.YELLOW);break;case 3:r.push(o.ECommonsColor.GREEN);break;case 4:r.push(o.ECommonsColor.CYAN);break;case 5:r.push(o.ECommonsColor.BLUE);break;case 6:r.push(o.ECommonsColor.INDIGO);break;case 7:r.push(o.ECommonsColor.MAGENTA)}t+=n}return r}static allocateColor(e,t){return e===o.ECommonsColor.RED?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.RED)}:e===o.ECommonsColor.ORANGE?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.ORANGE)}:e===o.ECommonsColor.YELLOW?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.YELLOW)}:e===o.ECommonsColor.GREEN?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.GREEN)}:e===o.ECommonsColor.CYAN?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.CYAN)}:e===o.ECommonsColor.BLUE?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.BLUE)}:e===o.ECommonsColor.INDIGO?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.INDIGO)}:e===o.ECommonsColor.MAGENTA?{classColor:Object(o.fromECommonsColor)(o.ECommonsColor.MAGENTA)}:e===s.a.PRIMARY.toString()?{classColor:Object(s.d)(s.a.PRIMARY)}:e===s.a.PRIMARY_LIGHT.toString()?{classColor:Object(s.d)(s.a.PRIMARY_LIGHT)}:e===s.a.PRIMARY_DARK.toString()?{classColor:Object(s.d)(s.a.PRIMARY_DARK)}:e===s.a.SECONDARY.toString()?{classColor:Object(s.d)(s.a.SECONDARY)}:e===s.a.SECONDARY_LIGHT.toString()?{classColor:Object(s.d)(s.a.SECONDARY_LIGHT)}:e===s.a.SECONDARY_DARK.toString()?{classColor:Object(s.d)(s.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)}:{}}static prettyNumber(e){return(new r.a).transform(e)}static prettyPercent(e,t){return(e/Math.max(1,t)).toLocaleString(void 0,{style:"percent",maximumSignificantDigits:3})}static getScaleWidth(e){return 0===e.length?1:Math.max(...e.map(e=>{const t=f.prettyNumber(e);return 2*t.replace(/[^0-9]/g,"").length+t.replace(/[^-.,]/g,"").length}))}static getScaleMax(e){if(0===e)return 0;const t=Math.floor(Math.log10(e))+1,n=Math.pow(10,t);if(e===n/10)return e;let o=n;return e<=n/2&&(o=n/2),e<=n/5&&(o=n/5),o}static listIntervals(e,t=5){const n=f.getScaleMax(e)/t,o=[0];for(let r=1;r<=t;r++)o.push(r*n);return o}static movingAverage(e,t){if(0===t)return e;if(e.length<2+2*t)return[];const n=[],o=[];let r=0;for(const s of e){if(o.length>=t){const i=s.y+o.reduce((e,t)=>e+t.y,0)+e.slice(r,r+t).reduce((e,t)=>e+t.y,0);n.push({x:s.x,y:i/(1+2*t)})}for(o.push(s);o.length>t;)o.shift();if(r++,r+t>=e.length)break}return n}}let b=(()=>{class e extends i.f{constructor(e,t){super(t),this.sanitized=e,this.bars=[],this.xIntervalThreshold=13,this.internalItems=[],this.internalScaleWidth=0,this.internalMaxValue=0,this.internalListIntervals=[],this.internalIntervalPositions=[]}ngOnInit(){super.ngOnInit(),this.refresh()}ngOnChanges(e){this.refresh()}refresh(){this.internalScaleWidth=this.getScaleWidth(),this.internalMaxValue=this.getMaxValue(),this.internalItems=this.listItems(),this.internalListIntervals=this.listIntervals(),this.internalIntervalPositions=this.internalListIntervals.map(e=>100*(1-this.getValuePosition(e)))}listItems(){const e=this.bars.length<this.xIntervalThreshold+1?1:Math.ceil(this.bars.length/this.xIntervalThreshold),t=this.bars.map((t,n)=>n%e==0?t.name:"");let n=0;for(const i of this.bars){if(!1!==i.major)for(let o=-e;o<=e;o++){const e=n+o;e>=0&&e<t.length&&(t[e]="")}n++}n=0;for(const i of this.bars)!1!==i.major&&(t[n]=i.name),n++;const o=this.bars.filter(e=>void 0===e.color).length,r=f.listRainbowDistribution(o);let s=0;return this.bars.map((n,o)=>{const i=void 0!==n.color?n.color:r[s++];let a=n.label;return void 0===a&&this.labelType===g.NUMBER&&n.value>.2*this.internalMaxValue&&(a=f.prettyNumber(n.value)),Object.assign({},f.allocateColor(i,this.sanitized),{height:this.getValuePosition(n.value),name:t[o],label:a,expanded:!!n.major||e>1})})}getScaleWidth(){return 7}getMaxValue(){return this.maxValue?this.maxValue:0===this.bars.length?0:Math.max(this.minValue?this.minValue:1,...this.bars.map(e=>e.value))}listIntervals(){return f.listIntervals(f.getScaleMax(this.internalMaxValue))}getValuePosition(e){if(this.maxValue)return 0===this.maxValue?0:e/this.internalMaxValue;const t=f.getScaleMax(this.internalMaxValue);return 0===t?0:e/t}}return e.\u0275fac=function(t){return new(t||e)(c.Lb(l.b),c.Lb(i.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,h,1,2,"div",3),c.xc(4,p,4,38,"section",4),c.Pb(),c.xc(5,m,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:[a.i,a.j],pipes:[r.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;let y=(()=>{class e{}return e.\u0275mod=c.Jb({type:e}),e.\u0275inj=c.Ib({factory:function(t){return new(t||e)},imports:[[a.b,r.f,s.c]]}),e})()},"7Zlx":function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),(o=t.ECommonsSynchronisedTimeoutAction||(t.ECommonsSynchronisedTimeoutAction={})).PROCEED="proceed",o.ABORT="abort"},"7jRU":function(e,t){var n=[].indexOf;e.exports=function(e,t){if(n)return e.indexOf(t);for(var o=0;o<e.length;++o)if(e[o]===t)return o;return-1}},"7o/Q":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("n6bG"),r=n("gRHU"),s=n("quSY"),i=n("2QA8"),a=n("2fFW"),c=n("NJ4a");class l extends s.a{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=r.a;break;case 1:if(!e){this.destination=r.a;break}if("object"==typeof e){e instanceof l?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new h(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new h(this,e,t,n)}}[i.a](){return this}static create(e,t,n){const o=new l(e,t,n);return o.syncErrorThrowable=!1,o}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class h extends l{constructor(e,t,n,s){let i;super(),this._parentSubscriber=e;let a=this;Object(o.a)(t)?i=t:t&&(i=t.next,n=t.error,s=t.complete,t!==r.a&&(a=Object.create(t),Object(o.a)(a.unsubscribe)&&this.add(a.unsubscribe.bind(a)),a.unsubscribe=this.unsubscribe.bind(this))),this._context=a,this._next=i,this._error=n,this._complete=s}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a.a;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)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.a.useDeprecatedSynchronousErrorHandling)throw n;Object(c.a)(n)}}__tryOrSetError(e,t,n){if(!a.a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(o){return a.a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=o,e.syncErrorThrown=!0,!0):(Object(c.a)(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}},"90Vn":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){this.windowSize=e,this.poolSize=t,this.display=[],this.queue=[],this.upto=0;for(let n=0;n<this.poolSize;n++)this.display.push({empty:!0})}static lowestItem(e){if(0===e.length)return;const t=e.find(e=>e.empty);if(void 0!==t)return t;{const t=e.filter(e=>!e.empty).sort((e,t)=>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===t.length)return;return t[0]}}getArray(){let e=0;return this.display.filter(t=>e++<this.windowSize).map(e=>{if(!e.empty)return e.item})}addItem(e,t){const n=[];if(void 0!==t){if(t<1)throw new Error("Cannot shift for zero or negative length");for(;this.getQueueSize()>=t-1;){const e=this.queue.shift();e&&e.item&&n.push(e.item)}}return this.queue.push({empty:!1,sort:this.upto++,item:e}),n}getQueueSize(){return this.queue.length}getWindowSize(){return this.windowSize}getPoolSize(){return this.poolSize}rotate(){const e=o.lowestItem(this.display),t=this.display.pop();if(void 0===t)throw new Error("Last item in display is undefined. This should not be possible");let n,r;if(0===this.queue.length?r=t:t.empty||t===e?(t===e&&t.item&&(n=t),r=this.queue.shift()):r=t,void 0!==r&&this.display.unshift(r),n&&!n.empty&&n.item)return n.item}}t.CommonsWindowCarousell=o},"9ppp":function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=(()=>{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=class{constructor(e,t){this.observable=e,this.value=t,this.observable.subscribe(e=>{this.value=e})}get(){return this.value}}},A5Bq:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return O}));var o=n("fXoL"),r=n("RPfa"),s=n("FYIv"),i=n("k4C/"),a=(n("mrSG"),n("hi8z"),n("3Pt+")),c=n("ofXK"),l=n("v8Qv");n("jhN1");const h=["textbox"];function u(e,t){if(1&e){const e=o.Rb();o.Qb(0,"i",11),o.Yb("click",(function(){return o.qc(e),o.cc().doDropdown()})),o.zc(1,"arrow_drop_down"),o.Pb()}if(2&e){const e=o.cc();o.Cb("hasClear",e.clearable)("disabled",e.disabled)("focused",e.focused)}}function d(e,t){if(1&e){const e=o.Rb();o.Qb(0,"i",12),o.Yb("click",(function(){return o.qc(e),o.cc().doClear()})),o.zc(1,"clear"),o.Pb()}if(2&e){const e=o.cc();o.Cb("disabled",e.disabled)("focused",e.focused)}}function p(e,t){if(1&e){const e=o.Rb();o.Qb(0,"i",12),o.Yb("click",(function(){return o.qc(e),o.cc().doCustomIcon()})),o.zc(1),o.Pb()}if(2&e){const e=o.cc();o.Cb("disabled",e.disabled)("focused",e.focused),o.zb(1),o.Ac(e.customIcon)}}function m(e,t){if(1&e&&(o.Qb(0,"label",13),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.helper)}}function g(e,t){if(1&e&&(o.Qb(0,"label",14),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.error)}}function f(e,t){1&e&&(o.Qb(0,"i",20),o.zc(1,"check"),o.Pb())}function b(e,t){1&e&&o.Mb(0,"i",21)}function y(e,t){if(1&e){const e=o.Rb();o.Ob(0),o.Qb(1,"commons-inline-menu-item",17),o.Yb("click",(function(){o.qc(e);const n=t.$implicit;return o.cc(2).doSelect(n)})),o.xc(2,f,2,0,"i",18),o.xc(3,b,1,0,"i",19),o.zc(4),o.Pb(),o.Nb()}if(2&e){const e=t.$implicit,n=o.cc(2);o.zb(1),o.jc("menu",n.dropdownName)("autoclose",!0)("none",""===e),o.zb(1),o.jc("ngIf",n.value===e),o.zb(1),o.jc("ngIf",n.value!==e),o.zb(1),o.Bc(" ",e," ")}}function _(e,t){if(1&e&&(o.Qb(0,"commons-inline-menu",15),o.xc(1,y,5,6,"ng-container",16),o.Pb()),2&e){const e=o.cc();o.jc("name",e.dropdownName),o.zb(1),o.jc("ngForOf",e.options)}}let C=(()=>{class e extends r.f{constructor(e,t){super(e),this.menuService=t,this.type="text",this.disabled=!1,this.options=[],this.optionsOnly=!1,this.editable=!0,this.clearable=!0,this.autocompleteDelay=500,this.autocompleteLength=3,this.valueChange=new o.n,this.onEdit=new o.n(!0),this.onLostFocusAndChanged=new o.n(!0),this.onEnterPressed=new o.n(!0),this.onSelectChanged=new o.n(!0),this.onCustomIcon=new o.n(!0),this.onAutocomplete=new o.n(!0),this.focused=!1,this.isDropped=!1,this.dropdownName="_dropdown_"+Math.random()}ngOnInit(){super.ngOnInit(),this.subscribe(this.menuService.showObservable(),e=>{e===this.dropdownName&&(this.forefront=!0,this.isDropped=!0)}),this.subscribe(this.menuService.hideObservable(),e=>{e===this.dropdownName&&(this.forefront=!1,this.isDropped=!1)}),this.lastFocusValue=this.value,this.autocomplete=new s.CommonsFinalValue(this.autocompleteDelay),this.subscribe(this.autocomplete.releaseObservable(),e=>{this.onAutocomplete.emit(e.value)})}getType(){return void 0===this.type?"text":this.type}getValue(){return null==this.value?"":this.value}doChanged(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))}doFocus(e){this.focused=e,this.focused?this.lastFocusValue=this.value:this.lastFocusValue!==this.value&&this.onLostFocusAndChanged.emit()}doDropdown(){this.disabled||(this.textbox.nativeElement.focus(),this.menuService.show(this.dropdownName))}doSelect(e){this.disabled||(this.valueChange.emit(e),this.textbox.nativeElement.focus(),this.onSelectChanged.emit())}doClick(){this.disabled||(this.optionsOnly&&this.doDropdown(),this.editable&&this.onEdit.emit())}doEnterPressed(){this.disabled||this.onEnterPressed.emit()}doEscPressed(){this.disabled||(this.value=this.lastFocusValue)}doClear(){!this.disabled&&this.clearable&&this.valueChange.emit("")}doCustomIcon(){!this.disabled&&this.customIcon&&this.onCustomIcon.emit()}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(r.g),o.Lb(i.h))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-textbox"]],viewQuery:function(e,t){var n;1&e&&o.uc(h,!0),2&e&&o.nc(n=o.Zb())&&(t.textbox=n.first)},hostVars:2,hostBindings:function(e,t){2&e&&o.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:[o.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&&(o.Qb(0,"section",0),o.Qb(1,"label",1),o.zc(2),o.Pb(),o.Qb(3,"section",2),o.Qb(4,"input",3,2),o.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()})),o.Pb(),o.Mb(6,"aside",4),o.xc(7,u,2,6,"i",5),o.xc(8,d,2,4,"i",6),o.xc(9,p,2,5,"i",6),o.Pb(),o.xc(10,m,2,1,"label",7),o.xc(11,g,2,1,"label",8),o.Pb(),o.Qb(12,"aside",9),o.xc(13,_,2,2,"commons-inline-menu",10),o.Pb()),2&e&&(o.Cb("hasHelper",void 0!==t.helper)("hasError",void 0!==t.error),o.zb(1),o.Cb("hasError",void 0!==t.error)("visible",""!==t.getValue())("focused",t.focused),o.zb(1),o.Ac(t.placeholder),o.zb(1),o.Cb("empty",""===t.getValue()),o.zb(1),o.Cb("hasError",void 0!==t.error),o.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),o.zb(2),o.Cb("hasError",void 0!==t.error)("disabled",t.disabled)("focused",t.focused),o.zb(1),o.jc("ngIf",t.options&&t.options.length),o.zb(1),o.jc("ngIf",t.clearable),o.zb(1),o.jc("ngIf",t.customIcon),o.zb(1),o.jc("ngIf",void 0!==t.helper&&void 0===t.error),o.zb(1),o.jc("ngIf",void 0!==t.error),o.zb(2),o.jc("ngIf",t.isDropped))},directives:[a.a,a.c,a.d,c.j,i.e,c.i,i.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})(),O=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[c.b,a.b,l.f,r.j,i.l]]}),e})()},AdLH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommonsDebouncer=class{constructor(e){this.release=e,this.last=void 0,this.unique=void 0,this.history=[]}debounce(e){if(this.last=e,this.last!==this.unique&&(this.unique=this.last,!this.history.includes(this.unique)))return this.history.push(this.unique),setTimeout(()=>{const e=this.history.indexOf(this.unique);this.history.splice(e,1)},this.release),this.unique}}},AdPF:function(e,t,n){var o=n("yeub");e.exports=function(e){var t=e.xdomain,n=e.xscheme,r=e.enablesXDR;try{if("undefined"!=typeof XMLHttpRequest&&(!t||o))return new XMLHttpRequest}catch(s){}try{if("undefined"!=typeof XDomainRequest&&!n&&r)return new XDomainRequest}catch(s){}if(!t)try{return new(self[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(s){}}},Aplp:function(e,t,n){"use strict";var o,r="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_".split(""),s={},i=0,a=0;function c(e){var t="";do{t=r[e%64]+t,e=Math.floor(e/64)}while(e>0);return t}function l(){var e=c(+new Date);return e!==o?(i=0,o=e):e+"."+c(i++)}for(;a<64;a++)s[r[a]]=a;l.encode=c,l.decode=function(e){var t=0;for(a=0;a<e.length;a++)t=64*t+s[e.charAt(a)];return t},e.exports=l},BLNT:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("A3jA")),o(n("FHVI")),o(n("XDnL")),o(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 o,r,s=n("Gbct"),i=n("Wm4p"),a=n("TypT"),c=n("Yvos"),l=n("Aplp"),h=n("NOtv")("engine.io-client:websocket");if("undefined"!=typeof WebSocket?o=WebSocket:"undefined"!=typeof self&&(o=self.WebSocket||self.MozWebSocket),"undefined"==typeof window)try{r=n(1)}catch(p){}var u=o||r;function d(e){e&&e.forceBase64&&(this.supportsBinary=!1),this.perMessageDeflate=e.perMessageDeflate,this.usingBrowserWebSocket=o&&!e.forceNode,this.protocols=e.protocols,this.usingBrowserWebSocket||(u=r),s.call(this,e)}e.exports=d,c(d,s),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 u(e,t):new u(e):new u(e,t,n)}catch(o){return this.emit("error",o)}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,o=0,r=n;o<r;o++)!function(e){i.encodePacket(e,t.supportsBinary,(function(o){if(!t.usingBrowserWebSocket){var r={};e.options&&(r.compress=e.options.compress),t.perMessageDeflate&&("string"==typeof o?Buffer.byteLength(o):o.length)<t.perMessageDeflate.threshold&&(r.compress=!1)}try{t.usingBrowserWebSocket?t.ws.send(o):t.ws.send(o,r)}catch(p){h("websocket closed before onclose event")}--n||(t.emit("flush"),setTimeout((function(){t.writable=!0,t.emit("drain")}),0))}))}(e[o])},d.prototype.onClose=function(){s.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]=l()),this.supportsBinary||(e.b64=1),(e=a.encode(e)).length&&(e="?"+e),t+"://"+(-1!==this.hostname.indexOf(":")?"["+this.hostname+"]":this.hostname)+n+this.path+e},d.prototype.check=function(){return!(!u||"__initialize"in u&&this.name===d.prototype.name)}},CUme:function(e,t,n){var o=n("Gbct"),r=n("TypT"),s=n("Wm4p"),i=n("Yvos"),a=n("Aplp"),c=n("NOtv")("engine.io-client:polling");e.exports=h;var l=null!=new(n("AdPF"))({xdomain:!1}).responseType;function h(e){l&&!(e&&e.forceBase64)||(this.supportsBinary=!1),o.call(this,e)}i(h,o),h.prototype.name="polling",h.prototype.doOpen=function(){this.poll()},h.prototype.pause=function(e){var t=this;function n(){c("paused"),t.readyState="paused",e()}if(this.readyState="pausing",this.polling||!this.writable){var o=0;this.polling&&(c("we are currently polling - waiting to pause"),o++,this.once("pollComplete",(function(){c("pre-pause polling complete"),--o||n()}))),this.writable||(c("we are currently writing - waiting to pause"),o++,this.once("drain",(function(){c("pre-pause writing complete"),--o||n()})))}else n()},h.prototype.poll=function(){c("polling"),this.polling=!0,this.doPoll(),this.emit("poll")},h.prototype.onData=function(e){var t=this;c("polling got data %s",e),s.decodePayload(e,this.socket.binaryType,(function(e,n,o){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))},h.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))},h.prototype.write=function(e){var t=this;this.writable=!1;var n=function(){t.writable=!0,t.emit("drain")};s.encodePayload(e,this.supportsBinary,(function(e){t.doWrite(e,n)}))},h.prototype.uri=function(){var e=this.query||{},t=this.secure?"https":"http",n="";return!1!==this.timestampRequests&&(e[this.timestampParam]=a()),this.supportsBinary||e.sid||(e.b64=1),e=r.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 o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n("oqX0");t.CommonsSemaphore=class{constructor(){this.flag=!1}claim(e){return o(this,void 0,void 0,(function*(){return new Promise((t,n)=>o(this,void 0,void 0,(function*(){let o=Math.floor(e/50);for(;this.flag;)if(yield r.CommonsAsync.timeout(50),o--,o<0)return void n(new Error("Timeout whilst waiting to claim semaphore"));this.flag=!0,t()})))}))}release(){this.flag=!1}}},Cfvw:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n("HDdC"),r=n("SeVD"),s=n("quSY"),i=n("kJWO"),a=n("jZKg"),c=n("Lhse"),l=n("c2HN"),h=n("I55L");function u(e,t){return t?function(e,t){if(null!=e){if(function(e){return e&&"function"==typeof e[i.a]}(e))return function(e,t){return new o.a(n=>{const o=new s.a;return o.add(t.schedule(()=>{const r=e[i.a]();o.add(r.subscribe({next(e){o.add(t.schedule(()=>n.next(e)))},error(e){o.add(t.schedule(()=>n.error(e)))},complete(){o.add(t.schedule(()=>n.complete()))}}))})),o})}(e,t);if(Object(l.a)(e))return function(e,t){return new o.a(n=>{const o=new s.a;return o.add(t.schedule(()=>e.then(e=>{o.add(t.schedule(()=>{n.next(e),o.add(t.schedule(()=>n.complete()))}))},e=>{o.add(t.schedule(()=>n.error(e)))}))),o})}(e,t);if(Object(h.a)(e))return Object(a.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 o.a(n=>{const o=new s.a;let r;return o.add(()=>{r&&"function"==typeof r.return&&r.return()}),o.add(t.schedule(()=>{r=e[c.a](),o.add(t.schedule((function(){if(n.closed)return;let e,t;try{const n=r.next();e=n.value,t=n.done}catch(o){return void n.error(o)}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 o.a?e:new o.a(Object(r.a)(e))}},Cl5A:function(e,t,n){var o=n("CUme"),r=n("Yvos");e.exports=h;var s,i=/\n/g,a=/\\n/g;function c(){}function l(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}}function h(e){if(o.call(this,e),this.query=this.query||{},!s){var t=l();s=t.___eio=t.___eio||[]}this.index=s.length;var n=this;s.push((function(e){n.onData(e)})),this.query.j=this.index,"function"==typeof addEventListener&&addEventListener("beforeunload",(function(){n.script&&(n.script.onerror=c)}),!1)}r(h,o),h.prototype.supportsBinary=!1,h.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),o.prototype.doClose.call(this)},h.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)},h.prototype.doWrite=function(e,t){var n=this;if(!this.form){var o,r=document.createElement("form"),s=document.createElement("textarea"),c=this.iframeId="eio_iframe_"+this.index;r.className="socketio",r.style.position="absolute",r.style.top="-1000px",r.style.left="-1000px",r.target=c,r.method="POST",r.setAttribute("accept-charset","utf-8"),s.name="d",r.appendChild(s),document.body.appendChild(r),this.form=r,this.area=s}function l(){h(),t()}function h(){if(n.iframe)try{n.form.removeChild(n.iframe)}catch(e){n.onError("jsonp polling iframe removal error",e)}try{o=document.createElement('<iframe src="javascript:0" name="'+n.iframeId+'">')}catch(e){(o=document.createElement("iframe")).name=n.iframeId,o.src="javascript:0"}o.id=n.iframeId,n.form.appendChild(o),n.iframe=o}this.form.action=this.uri(),h(),e=e.replace(a,"\\\n"),this.area.value=e.replace(i,"\\n");try{this.form.submit()}catch(u){}this.iframe.attachEvent?this.iframe.onreadystatechange=function(){"complete"===n.iframe.readyState&&l()}:this.iframe.onload=l}},D0XW:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("quSY");class r extends o.a{constructor(e,t){super()}schedule(e,t=0){return this}}class s extends r{constructor(e,t){super(e,t),this.scheduler=e,this.work=t,this.pending=!1}schedule(e,t=0){if(this.closed)return this;this.state=e;const n=this.id,o=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(o,n,t)),this.pending=!0,this.delay=t,this.id=this.id||this.requestAsyncId(o,this.id,t),this}requestAsyncId(e,t,n=0){return setInterval(e.flush.bind(e,this),n)}recycleAsyncId(e,t,n=0){if(null!==n&&this.delay===n&&!1===this.pending)return t;clearInterval(t)}execute(e,t){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const n=this._execute(e,t);if(n)return n;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(e,t){let n=!1,o=void 0;try{this.work(e)}catch(r){n=!0,o=!!r&&r||new Error(r)}if(n)return this.unsubscribe(),o}_unsubscribe(){const e=this.id,t=this.scheduler,n=t.actions,o=n.indexOf(this);this.work=null,this.state=null,this.pending=!1,this.scheduler=null,-1!==o&&n.splice(o,1),null!=e&&(this.id=this.recycleAsyncId(t,e,null)),this.delay=null}}let i=(()=>{class e{constructor(t,n=e.now){this.SchedulerAction=t,this.now=n}schedule(e,t=0,n){return new this.SchedulerAction(this,e).schedule(n,t)}}return e.now=()=>Date.now(),e})();class a extends i{constructor(e,t=i.now){super(e,()=>a.delegate&&a.delegate!==this?a.delegate.now():t()),this.actions=[],this.active=!1,this.scheduled=void 0}schedule(e,t=0,n){return a.delegate&&a.delegate!==this?a.delegate.schedule(e,t,n):super.schedule(e,t,n)}flush(e){const{actions:t}=this;if(this.active)return void t.push(e);let 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}}}const c=new a(s)},DH7j:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=(()=>Array.isArray||(e=>e&&"number"==typeof e.length))()},DgCp:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("NlqC")),o(n("brk/"))},EY2u:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return s}));var o=n("HDdC");const r=new o.a(e=>e.complete());function s(e){return e?function(e){return new o.a(t=>e.schedule(()=>t.complete()))}(e):r}},EdyX:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),(o=t.EHsla||(t.EHsla={})).HUE="hue",o.SATURATION="saturation",o.LIGHTNESS="lightness",o.ALPHA="alpha"},FGiv:function(e,t){var n=1e3,o=6e4,r=60*o,s=24*r;function i(e,t,n,o){var r=t>=1.5*n;return Math.round(e/n)+" "+o+(r?"s":"")}e.exports=function(e,t){t=t||{};var a,c,l=typeof e;if("string"===l&&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 i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*o;case"seconds":case"second":case"secs":case"sec":case"s":return i*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===l&&isFinite(e))return t.long?(a=e,(c=Math.abs(a))>=s?i(a,c,s,"day"):c>=r?i(a,c,r,"hour"):c>=o?i(a,c,o,"minute"):c>=n?i(a,c,n,"second"):a+" ms"):function(e){var t=Math.abs(e);return t>=s?Math.round(e/s)+"d":t>=r?Math.round(e/r)+"h":t>=o?Math.round(e/o)+"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 o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n("WB8P"),s=n("WB8P"),i=n("oqX0"),a=n("yoYU"),c=n("tl0M");class l{constructor(e){this.id=e,this.schedules=new Map,this.isRunning=!1}static doesMatchSchedule(e,t){const n=[];if(void 0!==t.year&&(r.CommonsType.isNumberArray(t.year)?n.push(...t.year):n.push(t.year)),n.length>0&&!n.includes(e.getFullYear()))return!1;const o=[];if(void 0!==t.month&&(r.CommonsType.isNumberArray(t.month)?o.push(...t.month):o.push(t.month)),o.length>0&&!o.includes(e.getMonth()))return!1;const s=[];if(void 0!==t.day&&(r.CommonsType.isNumberArray(t.day)?s.push(...t.day):s.push(t.day)),s.length>0&&!s.includes(e.getDate()))return!1;const i=[];if(void 0!==t.dow&&(r.CommonsType.isNumberArray(t.dow)?i.push(...t.dow):i.push(t.dow)),i.length>0&&!i.includes(e.getDay()))return!1;const a=[];if(void 0!==t.hour&&(r.CommonsType.isNumberArray(t.hour)?a.push(...t.hour):a.push(t.hour)),a.length>0&&!a.includes(e.getHours()))return!1;const c=[];if(void 0!==t.minute&&(r.CommonsType.isNumberArray(t.minute)?c.push(...t.minute):c.push(t.minute)),c.length>0&&!c.includes(e.getMinutes()))return!1;const l=[];return void 0!==t.second&&(r.CommonsType.isNumberArray(t.second)?l.push(...t.second):l.push(t.second)),!(l.length>0&&!l.includes(e.getSeconds()))}schedule(e,t,n){n&&this.schedules.has(n)&&this.clearSchedule(n),n||(n=s.CommonsBase62.generateRandomId()),this.schedules.set(n,{at:e,callback:t})}clearSchedule(e){this.schedules.delete(e)}dispatch(){return o(this,void 0,void 0,(function*(){const e=new Date;for(const t of Array.from(this.schedules.values()))l.doesMatchSchedule(e,t.at)&&(()=>{o(this,void 0,void 0,(function*(){t.callback()}))})()}))}start(){return!this.isRunning&&(i.CommonsAsync.interval(1e3,c.ECommonsInvocation.FIXED,()=>o(this,void 0,void 0,(function*(){yield this.dispatch()})),"schedule_"+this.id),!0)}stop(){return!!this.isRunning&&(i.CommonsAsync.abortInterval("schedule_"+this.id),!0)}parse(e,t,n){for(const r of e){if(!a.isTCommonsSchedule(r))throw new Error("Schedule JSON contains an invalid entry");const e=t(r.action);if(void 0===e)throw new Error("Schedule JSON contains an invalid action");this.schedule(r.at,()=>o(this,void 0,void 0,(function*(){yield n(e)})))}}}t.CommonsSchedule=l},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 o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("BLNT")),o(n("is2o")),o(n("312O")),o(n("aYyv"))},Gbct:function(e,t,n){var o=n("Wm4p"),r=n("cpc2");function s(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=s,r(s.prototype),s.prototype.onError=function(e,t){var n=new Error(e);return n.type="TransportError",n.description=t,this.emit("error",n),this},s.prototype.open=function(){return"closed"!==this.readyState&&""!==this.readyState||(this.readyState="opening",this.doOpen()),this},s.prototype.close=function(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this},s.prototype.send=function(e){if("open"!==this.readyState)throw new Error("Transport not open");this.write(e)},s.prototype.onOpen=function(){this.readyState="open",this.writable=!0,this.emit("open")},s.prototype.onData=function(e){var t=o.decodePacket(e,this.socket.binaryType);this.onPacket(t)},s.prototype.onPacket=function(e){this.emit("packet",e)},s.prototype.onClose=function(){this.readyState="closed",this.emit("close")}},HDdC:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("7o/Q"),r=n("2QA8"),s=n("gRHU"),i=n("kJWO"),a=n("mCNh"),c=n("2fFW");let l=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:i}=this,a=function(e,t,n){if(e){if(e instanceof o.a)return e;if(e[r.a])return e[r.a]()}return e||t||n?new o.a(e,t,n):new o.a(s.a)}(e,t,n);if(a.add(i?i.call(a,this.source):this.source||c.a.useDeprecatedSynchronousErrorHandling&&!a.syncErrorThrowable?this._subscribe(a):this._trySubscribe(a)),c.a.useDeprecatedSynchronousErrorHandling&&a.syncErrorThrowable&&(a.syncErrorThrowable=!1,a.syncErrorThrown))throw a.syncErrorValue;return a}_trySubscribe(e){try{return this._subscribe(e)}catch(t){c.a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof o.a?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=h(t))((t,n)=>{let o;o=this.subscribe(t=>{try{e(t)}catch(r){n(r),o&&o.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[i.a](){return this}pipe(...e){return 0===e.length?this:Object(a.b)(e)(this)}toPromise(e){return new(e=h(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=t=>new e(t),e})();function h(e){if(e||(e=c.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 p}));var o=n("RPfa"),r=n("ofXK"),s=n("v8Qv"),i=n("po00"),a=n("fXoL");function c(e,t){1&e&&(a.bc(),a.Ob(0),a.zc(1,"-"),a.Nb())}function l(e,t){if(1&e&&(a.bc(),a.Qb(0,"g",39),a.Mb(1,"path",37),a.Mb(2,"rect",38),a.Pb()),2&e){const e=a.cc(2);a.Ab("transform","rotate("+e.getNeedleRotation()+" 200,200)")}}function h(e,t){if(1&e&&(a.bc(),a.Qb(0,"g",40),a.Mb(1,"path",37),a.Mb(2,"rect",38),a.Pb()),2&e){const e=a.cc(2);a.Ab("transform","rotate("+e.getSecondaryNeedleRotation()+" 200,200)")}}function u(e,t){if(1&e&&(a.Qb(0,"graphics-svg",2),a.bc(),a.Mb(1,"path",3),a.Mb(2,"path",4),a.Mb(3,"path",5),a.Mb(4,"path",6),a.Mb(5,"path",7),a.Mb(6,"path",8),a.Mb(7,"path",9),a.Mb(8,"path",10),a.Mb(9,"path",11),a.Mb(10,"path",12),a.Qb(11,"text",13),a.Qb(12,"tspan",14),a.zc(13),a.dc(14,"commonsPrettyFigure"),a.xc(15,c,2,0,"ng-container",15),a.Pb(),a.Pb(),a.Qb(16,"text",16),a.Qb(17,"tspan",17),a.zc(18),a.dc(19,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(20,"text",18),a.Qb(21,"tspan",19),a.zc(22),a.dc(23,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(24,"text",20),a.Qb(25,"tspan",21),a.zc(26),a.dc(27,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(28,"text",22),a.Qb(29,"tspan",23),a.zc(30),a.dc(31,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(32,"text",24),a.Qb(33,"tspan",25),a.zc(34),a.dc(35,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(36,"text",26),a.Qb(37,"tspan",27),a.zc(38),a.dc(39,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(40,"text",28),a.Qb(41,"tspan",29),a.zc(42),a.dc(43,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(44,"text",30),a.Qb(45,"tspan",31),a.zc(46),a.dc(47,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.Qb(48,"text",32),a.Qb(49,"tspan",33),a.zc(50),a.dc(51,"commonsPrettyFigure"),a.Pb(),a.Pb(),a.xc(52,l,3,1,"g",34),a.xc(53,h,3,1,"g",35),a.Qb(54,"g",36),a.Mb(55,"path",37),a.Mb(56,"rect",38),a.Pb(),a.Pb()),2&e){const e=a.cc();a.jc("width",e.SIZE)("height",e.SIZE),a.zb(13),a.Ac(a.ec(14,16,e.scale[0])),a.zb(2),a.jc("ngIf",e.scale[0]>0),a.zb(3),a.Ac(a.ec(19,18,e.scale[1])),a.zb(4),a.Ac(a.ec(23,20,e.scale[2])),a.zb(4),a.Ac(a.ec(27,22,e.scale[3])),a.zb(4),a.Ac(a.ec(31,24,e.scale[4])),a.zb(4),a.Ac(a.ec(35,26,e.scale[5])),a.zb(4),a.Ac(a.ec(39,28,e.scale[6])),a.zb(4),a.Ac(a.ec(43,30,e.scale[7])),a.zb(4),a.Ac(a.ec(47,32,e.scale[8])),a.zb(4),a.Bc("",a.ec(51,34,e.scale[9]),"+"),a.zb(2),a.jc("ngIf",e.average),a.zb(1),a.jc("ngIf",void 0!==e.secondary),a.zb(1),a.Ab("transform","rotate("+e.getNeedleRotation()+" 200,200)")}}let d=(()=>{class e extends o.f{constructor(e){super(e),this.SIZE=400,this.value=0,this.average=!1,this.scale=[]}getRotation(e){e<this.scale[0]&&(e=this.scale[0]),e>this.scale[this.scale.length-1]&&(e=this.scale[this.scale.length-1]-.1);let t=-1,n=0;for(const o of this.scale){if(t++,!(e>=o))return 30*t-135+(e-o)/(o-n)*30;n=o}return 0}getNeedleRotation(){return this.getRotation(this.value)}getSecondaryNeedleRotation(){return void 0===this.secondary?0:this.getRotation(this.secondary)}}return e.\u0275fac=function(t){return new(t||e)(a.Lb(o.g))},e.\u0275cmp=a.Fb({type:e,selectors:[["graphics-speedometer"]],inputs:{value:"value",average:"average",scale:"scale",secondary:"secondary"},features:[a.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&&(a.Qb(0,"section",0),a.xc(1,u,57,36,"graphics-svg",1),a.Pb()),2&e&&(a.zb(1),a.jc("ngIf",t.scale.length))},directives:[r.j,i.b],pipes:[s.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})(),p=(()=>{class e{}return e.\u0275mod=a.Jb({type:e}),e.\u0275inj=a.Ib({factory:function(t){return new(t||e)},imports:[[r.b,s.f,i.c]]}),e})()},Hcel:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("FXLk"),r=n("UcNE");var s;!function(e){e.STRING="string",e.NUMBER="number",e.BOOLEAN="boolean",e.OBJECT="object",e.DATE="date"}(s=t.EVariableType||(t.EVariableType={}));class i{static isDefined(e){return void 0!==e}static assertDefined(e){if(!i.isDefined(e))throw new Error("Assertion fail: variable is undefined");return e}static isPrimative(e){if(!i.isDefined(e))return!1;if(null===e)return!1;switch(typeof e){case"string":case"number":case"boolean":return!0;default:return!1}}static assertPrimative(e){if(!i.isPrimative(e))throw new Error("Assertion fail: variable is not a primative");return e}static isString(e){return i.isPrimative(e)&&"string"==typeof e}static assertString(e){if(!i.isString(e))throw new Error("Assertion fail: variable is not a string");return e}static attemptString(e){return i.isString(e)?e:void 0!==e&&null!=e?i.isArray(e)?e.map(e=>i.attemptString(e)).filter(e=>void 0!==e).join(", "):"object"==typeof e?JSON.stringify(e):"number"==typeof e?e.toString():"boolean"==typeof e?e?"true":"false":String(e):void 0}static isNumber(e){return i.isPrimative(e)&&"number"==typeof e}static assertNumber(e){if(!i.isNumber(e))throw new Error("Assertion fail: variable is not a number");return e}static attemptNumber(e){if(i.isNumber(e))return e;if(void 0!==e&&null!=e){if("string"==typeof e){const t=e.indexOf(".")>-1?parseFloat(e):parseInt(e,10);if(Number.isNaN(t))return;return t}return"boolean"==typeof e?e?1:0:Number(e)}}static isBoolean(e){return i.isPrimative(e)&&"boolean"==typeof e}static assertBoolean(e){if(!i.isBoolean(e))throw new Error("Assertion fail: variable is not a boolean");return e}static attemptBoolean(e){return i.isBoolean(e)?e:void 0!==e&&null!=e&&i.isPrimative(e)?i.checkboxBoolean(e):void 0}static isObject(e){return!!i.isDefined(e)&&null!==e&&"object"==typeof e}static assertObject(e){if(!i.isObject(e))throw new Error("Assertion fail: variable is not an object");return e}static attemptObject(e){if(i.isObject(e))return e;if(void 0!==e&&null!=e){if("string"==typeof e)try{const t=JSON.parse(e);return"object"==typeof t?t:void 0}catch(t){return}if("object"==typeof e&&!i.isArray(e))return e}}static isDate(e){return i.isObject(e)&&e instanceof Date}static assertDate(e){if(!i.isDate(e))throw new Error("Assertion fail: variable is not a Date object");return e}static attemptDate(e,t=!1){if(i.isDate(e))return e;if(void 0!==e&&null!=e&&"string"==typeof e){if(r.CommonsDate.isYmdHis(e))return r.CommonsDate.YmdHisToDate(e,t);if(r.CommonsDate.isdmYHi(e))return r.CommonsDate.dmYHiToDate(e,t);if(r.CommonsDate.isYmd(e))return r.CommonsDate.YmdToDate(e,t);if(r.CommonsDate.isdmY(e))return r.CommonsDate.dmYToDate(e,t);if(r.CommonsDate.isHis(e))return r.CommonsDate.HisToDate(e,t);if(r.CommonsDate.isHi(e))return r.CommonsDate.HiToDate(e,t);const n=Date.parse(e);if(Number.isNaN(n))return;return new Date(n)}}static isError(e){return i.isObject(e)&&e instanceof Error}static assertError(e){if(!i.isError(e))throw new Error("Assertion fail: variable is not an Error object");return e}static isArray(e){return i.isObject(e)&&Array.isArray(e)}static assertArray(e){if(!i.isArray(e))throw new Error("Assertion fail: variable is not an array");return e}static validateTKeyObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e))if(!t(e[n]))return!1;return!0}static validateTOrUndefinedKeyObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e))if(i.hasProperty(e,n)&&void 0!==e[n]&&!t(e[n]))return!1;return!0}static validateTEnumObject(e,t,n){if(!i.isObject(e))return!1;for(const o of Object.keys(e)){if(!n(o))return!1;if(!t(e[o]))return!1}return!0}static validateTOrUndefinedEnumObject(e,t,n){if(!i.isObject(e))return!1;for(const o of Object.keys(e)){if(!n(o))return!1;if(i.hasProperty(e,o)&&void 0!==e[o]&&!t(e[o]))return!1}return!0}static isDefinedArray(e){if(!i.isArray(e))return!1;for(const t of e)if(!i.isDefined(t))return!1;return!0}static assertDefinedArray(e){if(!i.isDefinedArray(e))throw new Error("Assertion fail: variable is not a defined array");return e}static isDefinedKeyObject(e){if(!i.isObject(e))return!1;for(const t of Object.keys(e))if(!i.isDefined(e[t]))return!1;return!0}static assertDefinedKeyObject(e){if(!i.isDefinedKeyObject(e))throw new Error("Assertion fail: variable is not a defined key object");return e}static isDefinedEnumObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e)){if(!t(n))return!1;if(!i.isDefined(e[n]))return!1}return!0}static assertDefinedEnumObject(e,t){if(!i.isDefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a defined enum object");return e}static isPrimativeArray(e){if(!i.isDefinedArray(e))return!1;for(const t of e)if(!i.isPrimative(t))return!1;return!0}static assertPrimativeArray(e){if(!i.isPrimativeArray(e))throw new Error("Assertion fail: variable is not a primative array");return e}static isPrimativeKeyObject(e){if(!i.isObject(e))return!1;for(const t of Object.keys(e))if(!i.isPrimative(e[t]))return!1;return!0}static assertPrimativeKeyObject(e){if(!i.isPrimativeKeyObject(e))throw new Error("Assertion fail: variable is not a primative key object");return e}static isPrimativeEnumObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e)){if(!t(n))return!1;if(!i.isPrimative(e[n]))return!1}return!0}static assertPrimativeEnumObject(e,t){if(!i.isPrimativeEnumObject(e,t))throw new Error("Assertion fail: variable is not a primative enum object");return e}static isStringArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isString(t))return!1;return!0}static assertStringArray(e){if(!i.isStringArray(e))throw new Error("Assertion fail: variable is not a string array");return e}static isStringKeyObject(e){return i.validateTKeyObject(e,i.isString)}static assertStringKeyObject(e){if(!i.isStringKeyObject(e))throw new Error("Assertion fail: variable is not a string key object");return e}static isStringEnumObject(e,t){return i.validateTEnumObject(e,i.isString,t)}static assertStringEnumObject(e,t){if(!i.isStringEnumObject(e,t))throw new Error("Assertion fail: variable is not a string enum object");return e}static isStringOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isString)}static assertStringOrUndefinedKeyObject(e){if(!i.isStringOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a string or undefined key object");return e}static isStringOrUndefinedEnumObject(e,t){return i.validateTOrUndefinedEnumObject(e,i.isString,t)}static assertStringOrUndefinedEnumObject(e,t){if(!i.isStringOrUndefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a string or undefined key object");return e}static isStringArrayKeyObject(e){return i.validateTKeyObject(e,i.isStringArray)}static assertStringArrayKeyObject(e){if(!i.isStringArrayKeyObject(e))throw new Error("Assertion fail: variable is not a string array key object");return e}static isStringArrayEnumObject(e,t){return i.validateTEnumObject(e,i.isStringArray,t)}static assertStringArrayEnumObject(e,t){if(!i.isStringArrayEnumObject(e,t))throw new Error("Assertion fail: variable is not a string array key object");return e}static isNumberArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isNumber(t))return!1;return!0}static assertNumberArray(e){if(!i.isNumberArray(e))throw new Error("Assertion fail: variable is not a number array");return e}static isNumberKeyObject(e){return i.validateTKeyObject(e,i.isNumber)}static assertNumberKeyObject(e){if(!i.isNumberKeyObject(e))throw new Error("Assertion fail: variable is not a number key object");return e}static isNumberEnumObject(e,t){return i.validateTEnumObject(e,i.isNumber,t)}static assertNumberEnumObject(e,t){if(!i.isNumberEnumObject(e,t))throw new Error("Assertion fail: variable is not a number key object");return e}static isNumberOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isNumber)}static assertNumberOrUndefinedKeyObject(e){if(!i.isNumberOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a number or undefined key object");return e}static isNumberOrUndefinedEnumObject(e,t){return i.validateTOrUndefinedEnumObject(e,i.isNumber,t)}static assertNumberOrUndefinedEnumObject(e,t){if(!i.isNumberOrUndefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a number or undefined key object");return e}static isNumberArrayKeyObject(e){return i.validateTKeyObject(e,i.isNumberArray)}static assertNumberArrayKeyObject(e){if(!i.isNumberArrayKeyObject(e))throw new Error("Assertion fail: variable is not a number array key object");return e}static isNumberArrayEnumObject(e,t){return i.validateTEnumObject(e,i.isNumberArray,t)}static assertNumberArrayEnumObject(e,t){if(!i.isNumberArrayEnumObject(e,t))throw new Error("Assertion fail: variable is not a number array key object");return e}static isBooleanArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isBoolean(t))return!1;return!0}static assertBooleanArray(e){if(!i.isBooleanArray(e))throw new Error("Assertion fail: variable is not a boolean array");return e}static isBooleanKeyObject(e){return i.validateTKeyObject(e,i.isBoolean)}static assertBooleanKeyObject(e){if(!i.isBooleanKeyObject(e))throw new Error("Assertion fail: variable is not a boolean key object");return e}static isBooleanEnumObject(e,t){return i.validateTEnumObject(e,i.isBoolean,t)}static assertBooleanEnumObject(e,t){if(!i.isBooleanEnumObject(e,t))throw new Error("Assertion fail: variable is not a boolean key object");return e}static isBooleanOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isBoolean)}static assertBooleanOrUndefinedKeyObject(e){if(!i.isBooleanOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return e}static isBooleanOrUndefinedEnumObject(e,t){return i.validateTOrUndefinedEnumObject(e,i.isBoolean,t)}static assertBooleanOrUndefinedEnumObject(e,t){if(!i.isBooleanOrUndefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return e}static isBooleanArrayKeyObject(e){return i.validateTKeyObject(e,i.isBooleanArray)}static assertBooleanArrayKeyObject(e){if(!i.isBooleanArrayKeyObject(e))throw new Error("Assertion fail: variable is not a boolean array key object");return e}static isBooleanArrayEnumObject(e,t){return i.validateTEnumObject(e,i.isBooleanArray,t)}static assertBooleanArrayEnumObject(e,t){if(!i.isBooleanArrayEnumObject(e,t))throw new Error("Assertion fail: variable is not a boolean array key object");return e}static isObjectArray(e){if(!i.isDefinedArray(e))return!1;for(const t of e)if(!i.isObject(t))return!1;return!0}static assertObjectArray(e){if(!i.isObjectArray(e))throw new Error("Assertion fail: variable is not an object array");return e}static isObjectKeyObject(e){return i.validateTKeyObject(e,i.isObject)}static assertObjectKeyObject(e){if(!i.isObjectKeyObject(e))throw new Error("Assertion fail: variable is not a object key object");return e}static isObjectEnumObject(e,t){return i.validateTEnumObject(e,i.isObject,t)}static assertObjectEnumObject(e,t){if(!i.isObjectEnumObject(e,t))throw new Error("Assertion fail: variable is not a object key object");return e}static isObjectOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isObject)}static assertObjectOrUndefinedKeyObject(e){if(!i.isObjectOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a object or undefined key object");return e}static isObjectOrUndefinedEnumObject(e,t){return i.validateTOrUndefinedEnumObject(e,i.isObject,t)}static assertObjectOrUndefinedEnumObject(e,t){if(!i.isObjectOrUndefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a object or undefined key object");return e}static isObjectArrayKeyObject(e){return i.validateTKeyObject(e,i.isObjectArray)}static assertObjectArrayKeyObject(e){if(!i.isObjectArrayKeyObject(e))throw new Error("Assertion fail: variable is not a object array key object");return e}static isObjectArrayEnumObject(e,t){return i.validateTEnumObject(e,i.isObjectArray,t)}static assertObjectArrayEnumObject(e,t){if(!i.isObjectArrayEnumObject(e,t))throw new Error("Assertion fail: variable is not a object array key object");return e}static isDateArray(e){if(!i.isObjectArray(e))return!1;for(const t of e)if(!i.isDate(t))return!1;return!0}static assertDateArray(e){if(!i.isDateArray(e))throw new Error("Assertion fail: variable is not a Date array");return e}static isDateKeyObject(e){return i.validateTKeyObject(e,i.isDate)}static assertDateKeyObject(e){if(!i.isDateKeyObject(e))throw new Error("Assertion fail: variable is not a Date key object");return e}static isDateEnumObject(e,t){return i.validateTEnumObject(e,i.isDate,t)}static assertDateEnumObject(e,t){if(!i.isDateEnumObject(e,t))throw new Error("Assertion fail: variable is not a Date key object");return e}static isDateOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isDate)}static assertDateOrUndefinedKeyObject(e){if(!i.isDateOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a Date or undefined key object");return e}static isDateOrUndefinedEnumObject(e,t){return i.validateTOrUndefinedEnumObject(e,i.isDate,t)}static assertDateOrUndefinedEnumObject(e,t){if(!i.isDateOrUndefinedEnumObject(e,t))throw new Error("Assertion fail: variable is not a Date or undefined key object");return e}static isDateArrayKeyObject(e){return i.validateTKeyObject(e,i.isDateArray)}static assertDateArrayKeyObject(e){if(!i.isDateArrayKeyObject(e))throw new Error("Assertion fail: variable is not a Date array key object");return e}static isDateArrayEnumObject(e,t){return i.validateTEnumObject(e,i.isDateArray,t)}static assertDateArrayEnumObject(e,t){if(!i.isDateArrayEnumObject(e,t))throw new Error("Assertion fail: variable is not a Date array key object");return e}static isPropertyObject(e){return!!i.isObject(e)&&!i.isArray(e)&&!i.isDate(e)&&i.isStringArray(Object.keys(e))}static assertPropertyObject(e){if(!i.isPropertyObject(e))throw new Error("Assertion fail: variable is not a property object");return e}static isEncoded(e){if(!i.isDefined(e))return!1;if(null===e)return!0;if(i.isPrimative(e))return!0;if(i.isDate(e))return!1;if(i.isArray(e)){for(const t of e)if(!i.isEncoded(t))return!1;return!0}if(i.isObject(e)){for(const t of Object.keys(e)){if(!i.isDefined(e[t]))return!1;if(!i.isEncoded(e[t]))return!1}return!0}return!1}static isEncodedObject(e){return!!i.isPropertyObject(e)&&i.isEncoded(e)}static assertEncodedObject(e){if(!i.isEncodedObject(e))throw new Error("Assertion fail: variable is not an encoded object");return e}static isT(e,t){return!!i.isObject(e)&&t(e)}static assertT(e,t,n){if(!i.isT(e,t))throw new Error("Assertion fail: variable is not an object of type "+n);return e}static isTArray(e,t){if(!i.isObjectArray(e))return!1;for(const n of e)if(!i.isT(n,t))return!1;return!0}static assertTArray(e,t,n){if(!i.isTArray(e,t))throw new Error("Assertion fail: variable is not an array of objects of type "+n);return e}static isTKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isT(e,t))}static assertTKeyObject(e,t,n){if(!i.isTKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isTEnumObject(e,t,n){return i.validateTEnumObject(e,e=>i.isT(e,t),n)}static assertTEnumObject(e,t,n,o){if(!i.isTEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isTOrUndefinedKeyObject(e,t){return i.validateTOrUndefinedKeyObject(e,e=>i.isT(e,t))}static assertTOrUndefinedKeyObject(e,t,n){if(!i.isTKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+n);return e}static isTOrUndefinedEnumObject(e,t,n){return i.validateTOrUndefinedEnumObject(e,e=>i.isT(e,t),n)}static assertTOrUndefinedEnumObject(e,t,n,o){if(!i.isTEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+n);return e}static isTArrayKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isTArray(e,t))}static assertTArrayKeyObject(e,t,n){if(!i.isTArrayKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isTArrayEnumObject(e,t,n){return i.validateTEnumObject(e,e=>i.isTArray(e,t),n)}static assertTArrayEnumObject(e,t,n,o){if(!i.isTArrayEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isEnum(e,t){return!!i.isString(e)&&void 0!==t(e)}static assertEnum(e,t,n){if(!i.isEnum(e,t))throw new Error("Assertion fail: variable is not an enum of type "+n);return e}static isEnumArray(e,t){if(!i.isStringArray(e))return!1;for(const n of e)if(!i.isEnum(n,t))return!1;return!0}static assertEnumArray(e,t,n){if(!i.isEnumArray(e,t))throw new Error("Assertion fail: variable is not an array of enums of type "+n);return e}static isEnumKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isEnum(e,t))}static assertEnumKeyObject(e,t,n){if(!i.isEnumKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumEnumObject(e,t,n){return i.validateTEnumObject(e,e=>i.isEnum(e,t),n)}static assertEnumEnumObject(e,t,n,o){if(!i.isEnumEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumOrUndefinedKeyObject(e,t){return i.validateTOrUndefinedKeyObject(e,e=>i.isEnum(e,t))}static assertEnumOrUndefinedKeyObject(e,t,n){if(!i.isEnumKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumOrUndefinedEnumObject(e,t,n){return i.validateTOrUndefinedEnumObject(e,e=>i.isEnum(e,t),n)}static assertEnumOrUndefinedEnumObject(e,t,n,o){if(!i.isEnumEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumArrayKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isEnumArray(e,t))}static assertEnumArrayKeyObject(e,t,n){if(!i.isEnumArrayKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isEnumArrayEnumObject(e,t,n){return i.validateTEnumObject(e,e=>i.isEnumArray(e,t),n)}static assertEnumArrayEnumObject(e,t,n,o){if(!i.isEnumArrayEnumObject(e,t,o))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static hasProperty(e,t,n){if(void 0!==n&&"string"!=typeof n)throw new Error("Type is invalid");if(!i.isPropertyObject(e))return!1;if(-1===Object.keys(e).indexOf(t))return!1;if(void 0===n)return!0;switch(n){case s.STRING:return i.isString(e[t]);case s.NUMBER:return i.isNumber(e[t]);case s.BOOLEAN:return i.isBoolean(e[t]);case s.OBJECT:return i.isObject(e[t]);case s.DATE:return i.isDate(e[t]);default:throw new Error("Unknown variable type")}}static hasPropertyNumber(e,t){return i.hasProperty(e,t,s.NUMBER)}static hasPropertyString(e,t){return i.hasProperty(e,t,s.STRING)}static hasPropertyBoolean(e,t){return i.hasProperty(e,t,s.BOOLEAN)}static hasPropertyObject(e,t){return i.hasProperty(e,t,s.OBJECT)}static hasPropertyDate(e,t){return i.hasProperty(e,t,s.DATE)}static hasPropertyArray(e,t){return i.hasPropertyObject(e,t)&&i.isArray(e[t])}static hasPropertyEnum(e,t,n){return i.hasPropertyString(e,t)&&n(e[t])}static hasPropertyEnumArray(e,t,n){if(!i.hasPropertyStringArray(e,t))return!1;const o=e[t];for(const r of o)if(!n(r))return!1;return!0}static hasPropertyT(e,t,n){return i.hasPropertyObject(e,t)&&i.isT(e[t],n)}static hasPropertyTArray(e,t,n){return i.hasPropertyObject(e,t)&&i.isTArray(e[t],n)}static hasPropertyTKeyObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isTKeyObject(e[t],n)}static hasPropertyTEnumObject(e,t,n,o){return i.hasPropertyObject(e,t)&&i.isTEnumObject(e[t],n,o)}static hasPropertyNumberArray(e,t){return i.hasPropertyArray(e,t)&&i.isNumberArray(e[t])}static hasPropertyNumberKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isNumberKeyObject(e[t])}static hasPropertyNumberEnumObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isNumberEnumObject(e[t],n)}static hasPropertyStringArray(e,t){return i.hasPropertyArray(e,t)&&i.isStringArray(e[t])}static hasPropertyStringKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isStringKeyObject(e[t])}static hasPropertyStringEnumObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isStringEnumObject(e[t],n)}static hasPropertyBooleanArray(e,t){return i.hasPropertyArray(e,t)&&i.isBooleanArray(e[t])}static hasPropertyBooleanKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isBooleanKeyObject(e[t])}static hasPropertyBooleanEnumObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isBooleanEnumObject(e[t],n)}static hasPropertyDateArray(e,t){return i.hasPropertyTArray(e,t,i.isDate)}static hasPropertyDateKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isDateKeyObject(e[t])}static hasPropertyDateEnumObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isDateEnumObject(e[t],n)}static hasPropertyObjectArray(e,t){return i.hasPropertyTArray(e,t,i.isObject)}static hasPropertyObjectKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isObjectKeyObject(e[t])}static hasPropertyObjectEnumObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isObjectEnumObject(e[t],n)}static hasPropertyNumberOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumber(e,t)}static hasPropertyStringOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyString(e,t)}static hasPropertyBooleanOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBoolean(e,t)}static hasPropertyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyObject(e,t)}static hasPropertyDateOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyDate(e,t)}static hasPropertyArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyArray(e,t)}static hasPropertyEnumOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyEnum(e,t,n)}static hasPropertyEnumArrayOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyEnumArray(e,t,n)}static hasPropertyTOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyT(e,t,n)}static hasPropertyTArrayOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyTArray(e,t,n)}static hasPropertyTKeyObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyTKeyObject(e,t,n)}static hasPropertyTEnumObjectOrUndefined(e,t,n,o){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyTEnumObject(e,t,n,o)}static hasPropertyNumberArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumberArray(e,t)}static hasPropertyNumberKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumberKeyObject(e,t)}static hasPropertyNumberEnumObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumberEnumObject(e,t,n)}static hasPropertyStringArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyStringArray(e,t)}static hasPropertyStringKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyStringKeyObject(e,t)}static hasPropertyStringEnumObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyStringEnumObject(e,t,n)}static hasPropertyBooleanArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBooleanArray(e,t)}static hasPropertyBooleanKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBooleanKeyObject(e,t)}static hasPropertyBooleanEnumObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBooleanEnumObject(e,t,n)}static hasPropertyDateArrayOrUndefined(e,t){return i.hasPropertyTArrayOrUndefined(e,t,i.isDate)}static hasPropertyDateKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyDateKeyObject(e,t)}static hasPropertyDateEnumObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyDateEnumObject(e,t,n)}static hasPropertyObjectArrayOrUndefined(e,t){return i.hasPropertyTArrayOrUndefined(e,t,i.isObject)}static hasPropertyObjectKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyObjectKeyObject(e,t)}static hasPropertyObjectEnumObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyObjectEnumObject(e,t,n)}static valueOrDefault(e,t){return void 0===e?t:e}static trimStringOrUndefined(e){if(!i.isBlank(e)&&""!==(e=e.toString().trim()))return e}static isBlank(e){return null==e||""===e}static isLooselyEqual(e,t,n=!1,o=!1){if(i.isBlank(e)&&i.isBlank(t))return!0;if(i.isDate(e)&&i.isDate(t)&&e.getTime()===t.getTime())return!0;if(i.isDate(e)&&"string"==typeof t&&r.CommonsDate.dateToYmdHis(e,o)===t)return!0;if(i.isDate(t)&&"string"==typeof e&&r.CommonsDate.dateToYmdHis(t,o)===e)return!0;if("string"==typeof e&&"string"==typeof t){if(e.trim()===t.trim())return!0;if(n&&e.toLowerCase().trim()===t.toLowerCase().trim())return!0}return"number"==typeof e&&"string"==typeof t&&""+e===t||"number"==typeof t&&"string"==typeof e&&""+t===e||"boolean"==typeof e&&"string"==typeof t&&(e?"true":"false")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"true":"false")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"1":"0")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"1":"0")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"yes":"no")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"yes":"no")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"on":"off")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"on":"off")===e.toLowerCase().trim()||"boolean"==typeof e&&"number"==typeof t&&(e?1:0)===t||"boolean"==typeof t&&"number"==typeof e&&(t?1:0)===e||e===t}static checkboxBoolean(e){return i.isLooselyEqual(!0,e)}static encode(e,t=!1){if(null===e)return null;if(i.isPrimative(e))return e;if(i.isDate(e))return r.CommonsDate.dateToYmdHis(e,t);if(Array.isArray(e)){const n=[],o=e;for(const e of o)n.push(i.encode(e,t));return n}if(i.isObject(e)){const n={},o=e;for(const e of Object.keys(o))void 0!==o[e]&&(n[e]=i.encode(o[e],t));return n}return e}static encodePropertyObject(e,t=!1){return i.encode(e,t)}static decode(e,t=!1){if(null===e)return null;if(i.isPrimative(e)){if(i.isString(e)){if(r.CommonsDate.isYmdHis(e))return r.CommonsDate.YmdHisToDate(e,t);if(r.CommonsDate.isYmd(e))return r.CommonsDate.YmdToDate(e,t);if(o.COMMONS_REGEX_PATTERN_DATE_ECMA.test(e))return new Date(e)}return e}if(Array.isArray(e)){const n=[],o=e;for(const e of o)n.push(i.decode(e,t));return n}if(i.isObject(e)){const n={},o=e;for(const e of Object.keys(o))void 0!==o[e]&&(n[e]=i.decode(o[e],t));return n}return e}static decodePropertyObject(e,t=!1){return i.decode(e,t)}static assertArrayLengths(e,t){const n=i.assertArray(e),o=i.assertArray(t);if(n.length!==o.length)throw new Error("Assertion fail: two arrays are not the same length")}}t.CommonsType=i},I55L:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=e=>e&&"number"==typeof e.length&&"function"!=typeof e},Imd5:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class o{static unicodeToAscii(e){return e.replace(/[\u007F-\uFFFF]/g,e=>"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4))}static asciiToUnicode(e){return e.replace(/\\u[0-9a-f]{4}/g,e=>String.fromCharCode(parseInt(e.substr(-4),16)))}static asciiToHex(e){return e.split("").map(e=>("0"+e.charCodeAt(0).toString(16)).slice(-2)).join("")}static hexToAscii(e){return e.length<2?"":e.match(/.{2}/g).map(e=>String.fromCharCode(parseInt(e,16))).join("")}static unicodeToHex(e){return o.asciiToHex(o.unicodeToAscii(e))}static hexToUnicode(e){return o.asciiToUnicode(o.hexToAscii(e))}}t.CommonsEncoding=o},IzEk:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("7o/Q"),r=n("4I5i"),s=n("EY2u");function i(e){return t=>0===e?Object(s.b)():t.lift(new a(e))}class a{constructor(e){if(this.total=e,this.total<0)throw new r.a}call(e,t){return t.subscribe(new c(e,this.total))}}class c extends o.a{constructor(e,t){super(e),this.total=t,this.count=0}_next(e){const t=this.total,n=++this.count;n<=t&&(this.destination.next(e),n===t&&(this.destination.complete(),this.unsubscribe()))}}},KFGy:function(e,t,n){var o=n("Vo14"),r=n("cpc2"),s=n("kSER"),i=n("2Dig"),a=n("QN7Q"),c=n("NOtv")("socket.io-client:socket"),l=n("TypT"),h=n("WLGk");e.exports=p;var u={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=r.prototype.emit;function p(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()}r(p.prototype),p.prototype.subEvents=function(){if(!this.subs){var e=this.io;this.subs=[i(e,"open",a(this,"onopen")),i(e,"packet",a(this,"onpacket")),i(e,"close",a(this,"onclose"))]}},p.prototype.open=p.prototype.connect=function(){return this.connected||(this.subEvents(),this.io.open(),"open"===this.io.readyState&&this.onopen(),this.emit("connecting")),this},p.prototype.send=function(){var e=s(arguments);return e.unshift("message"),this.emit.apply(this,e),this},p.prototype.emit=function(e){if(u.hasOwnProperty(e))return d.apply(this,arguments),this;var t=s(arguments),n={type:(void 0!==this.flags.binary?this.flags.binary:h(t))?o.BINARY_EVENT:o.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},p.prototype.packet=function(e){e.nsp=this.nsp,this.io.packet(e)},p.prototype.onopen=function(){if(c("transport is open - connecting"),"/"!==this.nsp)if(this.query){var e="object"==typeof this.query?l.encode(this.query):this.query;c("sending connect packet with query %s",e),this.packet({type:o.CONNECT,query:e})}else this.packet({type:o.CONNECT})},p.prototype.onclose=function(e){c("close (%s)",e),this.connected=!1,this.disconnected=!0,delete this.id,this.emit("disconnect",e)},p.prototype.onpacket=function(e){if(e.nsp===this.nsp||e.type===o.ERROR&&"/"===e.nsp)switch(e.type){case o.CONNECT:this.onconnect();break;case o.EVENT:case o.BINARY_EVENT:this.onevent(e);break;case o.ACK:case o.BINARY_ACK:this.onack(e);break;case o.DISCONNECT:this.ondisconnect();break;case o.ERROR:this.emit("error",e.data)}},p.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)},p.prototype.ack=function(e){var t=this,n=!1;return function(){if(!n){n=!0;var r=s(arguments);c("sending ack %j",r),t.packet({type:h(r)?o.BINARY_ACK:o.ACK,id:e,data:r})}}},p.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)},p.prototype.onconnect=function(){this.connected=!0,this.disconnected=!1,this.emit("connect"),this.emitBuffered()},p.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=[]},p.prototype.ondisconnect=function(){c("server disconnect (%s)",this.nsp),this.destroy(),this.onclose("io server disconnect")},p.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)},p.prototype.close=p.prototype.disconnect=function(){return this.connected&&(c("performing disconnect (%s)",this.nsp),this.packet({type:o.DISCONNECT})),this.destroy(),this.connected&&this.onclose("io client disconnect"),this},p.prototype.compress=function(e){return this.flags.compress=e,this},p.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 o(){}n.d(t,"a",(function(){return o}))},LRne:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("z+Ro"),r=n("yCtX"),s=n("jZKg");function i(...e){let t=e[e.length-1];return Object(o.a)(t)?(e.pop(),Object(s.a)(e,t)):Object(r.a)(e)}},Lhse:function(e,t,n){"use strict";function o(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}n.d(t,"a",(function(){return r}));const r=o()},"Mm3/":function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return i}));var o=n("mrSG"),r=n("fXoL"),s=n("gFX4");class i{static buildOptions(e){const t={transports:["websocket","polling"]};if(e.startsWith("/"))t.path=`${e}${e.endsWith("/")?"":"/"}socket.io`;else{const n=/^http(?:s?):\/\/[^\/]+\/(.+)$/i.exec(e);null!==n&&(t.path=`/${n[1]}${n[1].endsWith("/")?"":"/"}socket.io`)}return t}static buildUrl(e){if(e.startsWith("/"))return"/";const t=/^(http(?:s?):\/\/[^\/]+\/).+$/i.exec(e);return null!==t?t[1]:e}}class a{constructor(e,t,n){this.url=e,this.defaultEnabled=t,this.options=n,this.connectEmitter=new r.n(!0),this.disconnectEmitter=new r.n(!0),this.connected=!1}connectObservable(){return this.connectEmitter}disconnectObservable(){return this.disconnectEmitter}connect(e){if(this.socket)return!0;const t=this.options||{};if(e){const n=[];for(const t of Object.keys(e))n.push(`${t}=${e[t]}`);t.query=n.join("&")}return this.socket=Object(s.connect)(this.url,t),!!this.socket&&(this.socket.on("connect",()=>{this.connected=!0,void 0===this.enabled&&(this.enabled=!1!==this.defaultEnabled),this.connectEmitter.emit()}),this.socket.on("disconnect",()=>{this.connected=!1,this.disconnectEmitter.emit()}),this.setupOns(),!0)}connectAndAwait(e,t){return new Promise((n,o)=>{if(!this.connect(t))return void n(!1);if(this.connected)return void n(!0);let r,s,i;r=this.connectEmitter.subscribe(()=>{i&&clearTimeout(i),r&&r.unsubscribe(),s&&s.unsubscribe(),n(!0)}),s=this.disconnectEmitter.subscribe(()=>{i&&clearTimeout(i),r&&r.unsubscribe(),s&&s.unsubscribe(),n(!1)}),i=setTimeout(()=>{i&&clearTimeout(i),r&&r.unsubscribe(),s&&s.unsubscribe(),n(!1)},e)})}disconnect(){void 0!==this.socket&&this.socket.disconnect()}setEnabled(e){this.enabled=e}getEnabled(){return!!this.enabled}isConnected(){return void 0!==this.socket&&this.connected}on(e,t){this.socket&&this.socket.on(e,e=>{this.isConnected()&&this.getEnabled()&&t(e)})}emit(e,t){return Object(o.a)(this,void 0,void 0,(function*(){return new Promise((n,o)=>{void 0!==this.socket?this.isConnected()?this.getEnabled()?this.socket.emit(e,t,e=>{n(e)}):o("Not enabled"):o("Not connected"):o("No socket yet")})}))}}},NJ4a:function(e,t,n){"use strict";function o(e){setTimeout(()=>{throw e},0)}n.d(t,"a",(function(){return o}))},NOtv:function(e,t,n){t.log=function(...e){return"object"==typeof console&&console.log&&console.log(...e)},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)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let o=0,r=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(o++,"%c"===e&&(r=o))}),t.splice(r,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(n){}},t.load=function(){let 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);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}},NlqC:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("z1W9")),o(n("EdyX")),o(n("gQEu")),o(n("3liX"))},Nq7k:function(e,t,n){function o(e){var n;function o(){if(o.enabled){var e=o,r=+new Date,s=r-(n||r);e.diff=s,e.prev=n,e.curr=r,n=r;for(var i=new Array(arguments.length),a=0;a<i.length;a++)i[a]=arguments[a];i[0]=t.coerce(i[0]),"string"!=typeof i[0]&&i.unshift("%O");var c=0;i[0]=i[0].replace(/%([a-zA-Z%])/g,(function(n,o){if("%%"===n)return n;c++;var r=t.formatters[o];return"function"==typeof r&&(n=r.call(e,i[c]),i.splice(c,1),c--),n})),t.formatArgs.call(e,i);var l=o.log||t.log||console.log.bind(console);l.apply(e,i)}}return o.namespace=e,o.enabled=t.enabled(e),o.useColors=t.useColors(),o.color=function(e){var n,o=0;for(n in e)o=(o<<5)-o+e.charCodeAt(n),o|=0;return t.colors[Math.abs(o)%t.colors.length]}(e),o.destroy=r,"function"==typeof t.init&&t.init(o),t.instances.push(o),o}function r(){var e=t.instances.indexOf(this);return-1!==e&&(t.instances.splice(e,1),!0)}(t=e.exports=o.debug=o.default=o).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 o=("string"==typeof e?e:"").split(/[\s,]+/),r=o.length;for(n=0;n<r;n++)o[n]&&("-"===(e=o[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 s=t.instances[n];s.enabled=t.enabled(s.namespace)}},t.enabled=function(e){if("*"===e[e.length-1])return!0;var n,o;for(n=0,o=t.skips.length;n<o;n++)if(t.skips[n].test(e))return!1;for(n=0,o=t.names.length;n<o;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 y})),n.d(t,"b",(function(){return C})),n.d(t,"c",(function(){return O}));var o=n("hi8z"),r=n("RPfa"),s=n("ofXK"),i=n("v8Qv"),a=n("k4C/"),c=n("A5Bq"),l=n("fXoL");function h(e,t){if(1&e&&(l.Qb(0,"th"),l.zc(1),l.Pb()),2&e){const e=t.$implicit;l.zb(1),l.Ac(e)}}function u(e,t){if(1&e&&(l.Qb(0,"td"),l.zc(1),l.dc(2,"commonsPrettyFigure"),l.Pb()),2&e){const e=t.$implicit,n=l.cc();l.zb(1),l.Ac(l.ec(2,1,n.tallies.get(e)))}}function d(e,t){if(1&e&&(l.Qb(0,"label"),l.zc(1),l.Pb()),2&e){const e=l.cc(2);l.zb(1),l.Ac(e.leftLabel)}}function p(e,t){if(1&e&&(l.Qb(0,"aside"),l.zc(1),l.dc(2,"commonsPrettyPercentage"),l.Pb()),2&e){const e=l.cc(2);l.zb(1),l.Ac(l.fc(2,1,e.leftPercent,!0))}}function m(e,t){if(1&e&&(l.Qb(0,"div",3),l.xc(1,d,2,1,"label",4),l.Qb(2,"figure"),l.zc(3),l.dc(4,"commonsPrettyFigure"),l.xc(5,p,3,4,"aside",4),l.Pb(),l.Pb()),2&e){const e=l.cc();l.zb(1),l.jc("ngIf",e.leftLabel),l.zb(2),l.Ac(l.ec(4,3,e.left)),l.zb(2),l.jc("ngIf",e.leftPercent)}}function g(e,t){if(1&e&&(l.Qb(0,"label"),l.zc(1),l.Pb()),2&e){const e=l.cc(2);l.zb(1),l.Ac(e.rightLabel)}}function f(e,t){if(1&e&&(l.Qb(0,"aside"),l.zc(1),l.dc(2,"commonsPrettyPercentage"),l.Pb()),2&e){const e=l.cc(2);l.zb(1),l.Ac(l.fc(2,1,e.rightPercent,!0))}}function b(e,t){if(1&e&&(l.Qb(0,"div",5),l.xc(1,g,2,1,"label",4),l.Qb(2,"figure"),l.zc(3),l.dc(4,"commonsPrettyFigure"),l.xc(5,f,3,4,"aside",4),l.Pb(),l.Pb()),2&e){const e=l.cc();l.zb(1),l.jc("ngIf",e.rightLabel),l.zb(2),l.Ac(l.ec(4,3,e.right)),l.zb(2),l.jc("ngIf",e.rightPercent)}}n("zCZe");let y=(()=>{class e extends o.a{constructor(){super(...arguments),this.labels=[],this.tallies=new Map}}return e.\u0275fac=function(t){return _(t||e)},e.\u0275cmp=l.Fb({type:e,selectors:[["commons-figure-tally-bar"]],inputs:{labels:"labels",tallies:"tallies"},features:[l.wb],decls:7,vars:26,consts:[[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(l.Qb(0,"table"),l.Qb(1,"thead"),l.Qb(2,"tr"),l.xc(3,h,2,1,"th",0),l.Pb(),l.Pb(),l.Qb(4,"tbody"),l.Qb(5,"tr"),l.xc(6,u,3,3,"td",0),l.Pb(),l.Pb(),l.Pb()),2&e&&(l.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),l.zb(3),l.jc("ngForOf",t.labels),l.zb(3),l.jc("ngForOf",t.labels))},directives:[s.i],pipes:[i.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})();const _=l.Sb(y);let C=(()=>{class e extends r.f{constructor(e){super(e),this.label=""}}return e.\u0275fac=function(t){return new(t||e)(l.Lb(r.g))},e.\u0275cmp=l.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:[l.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&&(l.Qb(0,"div",0),l.Qb(1,"label"),l.zc(2),l.Pb(),l.Qb(3,"figure"),l.zc(4),l.dc(5,"commonsPrettyFigure"),l.Pb(),l.Pb(),l.xc(6,m,6,5,"div",1),l.xc(7,b,6,5,"div",2)),2&e&&(l.zb(2),l.Ac(t.label),l.zb(2),l.Ac(l.ec(5,4,t.tally)),l.zb(2),l.jc("ngIf",t.leftLabel),l.zb(1),l.jc("ngIf",t.rightLabel))},directives:[s.j],pipes:[i.a,i.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})(),O=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}}return e.\u0275mod=l.Jb({type:e}),e.\u0275inj=l.Ib({factory:function(t){return new(t||e)},imports:[[s.b,i.f,r.j,a.l,c.b]]}),e})()},PCNd:function(e,t,n){"use strict";n.d(t,"a",(function(){return O}));var o=n("tyNb"),r=n("ofXK"),s=n("v8Qv"),i=n("RPfa"),a=n("k4C/"),c=n("Ovbl"),l=n("po00"),h=n("6HB4"),u=n("HIIe"),d=n("mrSG"),p=n("WB8P"),m=n("cu1R"),g=n("cScS"),f=n("vihK"),b=n("fXoL"),y=n("tk/3");let _=(()=>{class e extends g.a{constructor(e,t){super(t.getUrl(),e),this.configService=t;const n=this.configService.getConfig();n.timeout&&this.setTimeout(n.timeout),this.reattempts=n.reattempts,n.reattemptTimeout&&this.setReattemptTimeout(n.reattemptTimeout)}static parseStatusTallies(e){if(!p.CommonsType.isEncodedObject(e))throw new Error("Unable to parse status tallies");const t=p.CommonsType.decodePropertyObject(e);if(!Object(m.isTStatusTallies)(t))throw new Error("Object is not an instance of TStatusTallies");return t}getStatusTallies(){const t=Object.create(null,{get:{get:()=>super.get}});return Object(d.a)(this,void 0,void 0,(function*(){const n=yield t.get.call(this,"statistics/status",void 0,this.reattempts);return e.parseStatusTallies(n)}))}}return e.\u0275fac=function(t){return new(t||e)(b.Ub(y.a),b.Ub(f.a))},e.\u0275prov=b.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var C=n("5/2J");let O=(()=>{class e{static forRoot(){return{ngModule:e,providers:[_,C.a]}}}return e.\u0275mod=b.Jb({type:e}),e.\u0275inj=b.Ib({factory:function(t){return new(t||e)},imports:[[r.b,o.i,i.j,a.l,s.f,c.c,l.c,h.c,u.b]]}),e})()},PqYM:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var o=n("HDdC"),r=n("D0XW"),s=n("DH7j");function i(e){return!Object(s.a)(e)&&e-parseFloat(e)+1>=0}var a=n("z+Ro");function c(e=0,t,n){let s=-1;return i(t)?s=Number(t)<1?1:Number(t):Object(a.a)(t)&&(n=t),Object(a.a)(n)||(n=r.a),new o.a(t=>{const o=i(e)?e:+e-n.now();return n.schedule(l,o,{index:0,period:s,subscriber:t})})}function l(e){const{index:t,period:n,subscriber:o}=e;if(o.next(t),!o.closed){if(-1===n)return o.complete();e.index=t+1,this.schedule(e,n)}}},PswW:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ"),r=n("cS81");t.isTUrlLinks=function(e){return!!o.CommonsType.isStringArrayEnumObject(e,r.isEDirection)&&!!Object.keys(e).includes(r.EDirection.INBOUND)&&!!Object.keys(e).includes(r.EDirection.OUTBOUND)}},Q2sQ:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("s3Rx")),o(n("X4s7")),o(n("aYxV")),o(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 o=n.call(arguments,2);return function(){return t.apply(e,o.concat(n.call(arguments)))}}},R0Ic:function(e,t,n){"use strict";n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return p})),n.d(t,"e",(function(){return a})),n.d(t,"f",(function(){return c})),n.d(t,"g",(function(){return h})),n.d(t,"h",(function(){return l})),n.d(t,"i",(function(){return u})),n.d(t,"j",(function(){return i})),n.d(t,"k",(function(){return m})),n.d(t,"l",(function(){return g}));class o{}class r{}const s="*";function i(e,t){return{type:7,name:e,definitions:t,options:{}}}function a(e,t=null){return{type:4,styles:t,timings:e}}function c(e,t=null){return{type:2,steps:e,options:t}}function l(e){return{type:6,styles:e,offset:null}}function h(e,t,n){return{type:0,name:e,styles:t,options:n}}function u(e,t,n=null){return{type:1,expr:e,animation:t,options:n}}function d(e){Promise.resolve(null).then(e)}class p{constructor(e=0,t=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this.parentPlayer=null,this.totalTime=e+t}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){d(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){}setPosition(e){}getPosition(){return 0}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class m{constructor(e){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=e;let t=0,n=0,o=0;const r=this.players.length;0==r?d(()=>this._onFinish()):this.players.forEach(e=>{e.onDone(()=>{++t==r&&this._onFinish()}),e.onDestroy(()=>{++n==r&&this._onDestroy()}),e.onStart(()=>{++o==r&&this._onStart()})}),this.totalTime=this.players.reduce((e,t)=>Math.max(e,t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this.players.forEach(e=>e.init())}onStart(e){this._onStartFns.push(e)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(e=>e()),this._onStartFns=[])}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(e=>e.play())}pause(){this.players.forEach(e=>e.pause())}restart(){this.players.forEach(e=>e.restart())}finish(){this._onFinish(),this.players.forEach(e=>e.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(e=>e.destroy()),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}reset(){this.players.forEach(e=>e.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(e){const t=e*this.totalTime;this.players.forEach(e=>{const n=e.totalTime?Math.min(1,t/e.totalTime):1;e.setPosition(n)})}getPosition(){let e=0;return this.players.forEach(t=>{const n=t.getPosition();e=Math.min(n,e)}),e}beforeDestroy(){this.players.forEach(e=>{e.beforeDestroy&&e.beforeDestroy()})}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}const g="!"},R5ff:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("/seU")),o(n("5E2r")),o(n("iWUv")),o(n("a7pM")),o(n("ncEt")),o(n("xChw")),o(n("4Mep")),o(n("PswW"))},RPfa:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return y})),n.d(t,"c",(function(){return _})),n.d(t,"d",(function(){return b})),n.d(t,"e",(function(){return m})),n.d(t,"f",(function(){return f})),n.d(t,"g",(function(){return g})),n.d(t,"h",(function(){return d})),n.d(t,"i",(function(){return p})),n.d(t,"j",(function(){return O}));var o=n("WB8P"),r=n("fXoL"),s=n("zCZe"),i=n("hi8z"),a=n("ofXK");function c(e,t){if(1&e&&(r.Qb(0,"h4"),r.zc(1),r.Pb()),2&e){const e=r.cc();r.zb(1),r.Ac(e.title)}}const l=["*"],h=["commons-button",""];function u(e,t){if(1&e){const e=r.Rb();r.Qb(0,"i",6),r.Yb("click",(function(){return r.qc(e),r.cc().onClose.emit()})),r.zc(1,"close"),r.Pb()}}const d={LIGHT:"light",DARK:"dark"},p={MATERIALDESIGN:"material-design",MATERIALDESIGN3:"material-design-3",MDI:"mdi"};class m{static stringToTheme(e){switch(e){case"light":return d.LIGHT;case"dark":return d.DARK;default:return}}static themeToString(e){switch(e){case d.LIGHT:return"light";case d.DARK:return"dark"}}static getFromConfig(e){const t=e.getString("system","default-theme");if(void 0!==t)return m.stringToTheme(o.CommonsType.assertString(t))}}let g=(()=>{class e{constructor(e){this.onThemeChange=new r.n(!0);const t=e.getString("theme","default");if(t){const e=m.stringToTheme(t);this.currentTheme=void 0!==e?e:d.LIGHT}else this.currentTheme=d.LIGHT}themeChangeObservable(){return this.onThemeChange}getCurrentTheme(){return this.currentTheme}themeChange(e){this.currentTheme=e,this.onThemeChange.emit(e)}}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.ngInjectableDef=Object(r.Hb)({factory:function(){return new e(Object(r.Ub)(s.a))},token:e,providedIn:"root"}),e})(),f=(()=>{class e extends i.a{constructor(e){super(),this.themeService=e,this.ECommonsTheme=d,this.isThemeLight=!1,this.isThemeDark=!1,this.theme=this.themeService.getCurrentTheme(),this.updateHostBinding()}ngOnInit(){super.ngOnInit(),this.theme=this.themeService.getCurrentTheme(),this.updateHostBinding(),this.subscribe(this.themeService.themeChangeObservable(),e=>{this.theme=e,this.updateHostBinding()})}updateHostBinding(){this.isThemeLight=this.theme===d.LIGHT,this.isThemeDark=this.theme===d.DARK}}return e.\u0275fac=function(e){r.Xb()},e.\u0275dir=r.Gb({type:e,hostVars:4,hostBindings:function(e,t){2&e&&r.Cb("theme-light",t.isThemeLight)("theme-dark",t.isThemeDark)},features:[r.wb]}),e})(),b=(()=>{class e extends f{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(g))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-pane"]],inputs:{title:"title"},features:[r.wb],ngContentSelectors:l,decls:3,vars:1,consts:[[4,"ngIf"]],template:function(e,t){1&e&&(r.ic(),r.Qb(0,"section"),r.xc(1,c,2,1,"h4",0),r.hc(2),r.Pb()),2&e&&(r.zb(1),r.jc("ngIf",t.title))},directives:[a.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})(),y=(()=>{class e extends f{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(g))},e.\u0275cmp=r.Fb({type:e,selectors:[["","commons-button",""]],features:[r.wb],attrs:h,ngContentSelectors:l,decls:1,vars:0,template:function(e,t){1&e&&(r.ic(),r.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})(),_=(()=>{class e extends f{constructor(e){super(e),this.onClose=new r.n}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(g))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-info-line"]],inputs:{allowClose:"allowClose"},outputs:{onClose:"onClose"},features:[r.wb],ngContentSelectors:l,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&&(r.ic(),r.Qb(0,"aside"),r.Qb(1,"i",0),r.zc(2,"info"),r.Pb(),r.Qb(3,"i",1),r.zc(4,"warning"),r.Pb(),r.Qb(5,"i",2),r.zc(6,"priority_high"),r.Pb(),r.Qb(7,"i",3),r.zc(8,"check"),r.Pb(),r.Qb(9,"i",4),r.zc(10,"lightbulb_outline"),r.Pb(),r.xc(11,u,2,0,"i",5),r.hc(12),r.Pb()),2&e&&(r.zb(11),r.jc("ngIf",t.allowClose))},directives:[a.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})(),C=(()=>{class e extends f{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(g))},e.\u0275cmp=r.Fb({type:e,selectors:[["commons-body-background"]],features:[r.wb],decls:1,vars:0,template:function(e,t){1&e&&r.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})(),O=(()=>{class e{static forRoot(){return{ngModule:e,providers:[g]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[a.b,s.d,i.e]]}),e})()},Sa8y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("r517");t.isTDateRange=function(e){return!!o.CommonsType.hasPropertyDate(e,"from")&&!!o.CommonsType.hasPropertyDate(e,"to")}},SeVD:function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var o=n("ngJS"),r=n("NJ4a"),s=n("Lhse"),i=n("kJWO"),a=n("I55L"),c=n("c2HN"),l=n("XoHu");const h=e=>{if(e&&"function"==typeof e[i.a])return h=e,e=>{const t=h[i.a]();if("function"!=typeof t.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return t.subscribe(e)};if(Object(a.a)(e))return Object(o.a)(e);if(Object(c.a)(e))return n=e,e=>(n.then(t=>{e.closed||(e.next(t),e.complete())},t=>e.error(t)).then(null,r.a),e);if(e&&"function"==typeof e[s.a])return t=e,e=>{const n=t[s.a]();for(;;){const t=n.next();if(t.done){e.complete();break}if(e.next(t.value),e.closed)break}return"function"==typeof n.return&&e.add(()=>{n.return&&n.return()}),e};{const t=Object(l.a)(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`)}var t,n,h}},SpAZ:function(e,t,n){"use strict";function o(e){return e}n.d(t,"a",(function(){return o}))},SwOk:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("pJsf");class r{static fillIntRange(e,t){const n=[];for(let o=e;o<=t;o++)n.push(o);return n}static symmetricFloor(e){return e<0?Math.ceil(e):Math.floor(e)}static symmetricCeil(e){return e<0?Math.floor(e):Math.ceil(e)}static fixedDigitRange(e,t,n){const o=n||Math.floor(Math.log10(t)),r=[];for(let s=e;s<=t;s++){let e=s.toString();for(;e.length<o;)e="0"+e;r.push(e)}return r}static randRange(e,t,n=!1){if(e===t)return e;const o=t-e+(n?1:0);return e+Math.floor(Math.random()*o)}static longRandom(e){let t=r.randRange(1,10).toString();for(;t.length<e;)t+=r.randRange(0,10).toString();return t}static hertz(e){return 1e3/e}static sort(e){return e.sort((e,t)=>e-t)}static percentile(e,t){if(0===e.length)return;if(t<0||t>1)throw new Error("Invalid percentile");const n=r.sort(e.slice());return 0===t?n[0]:1===t?n[e.length-1]:n[Math.round((e.length-1)*t)]}static quartile(e,t){if(0!==e.length){if(![1,2,3].includes(t))throw new Error("Invalid quartile");return r.percentile(e,t/4)}}static average(e){if(0===e.length)return;let t=0;for(const n of e)t+=n;return t/e.length}static quartileAverage(e){if(0===e.length)return;const t=r.quartile(e,1),n=r.quartile(e,2),o=r.quartile(e,3);return void 0!==t&&void 0!==n&&void 0!==o?r.average([t,n,o]):void 0}static mean(e){return r.average(e)}static modes(e){if(0===e.length)return[];const t=new Map;for(const s of e)t.has(s)?t.set(s,t.get(s)+1):t.set(s,1);let n,o;for(const s of e){const e=t.get(s);(void 0===n||e>n)&&(n=e),(void 0===o||e<o)&&(o=e)}if(n===o)return[];const r=[];for(const s of e)t.get(s)===n&&r.push(s);return r}static median(e){if(0!==e.length)return r.quartile(e,2)}static trimDecimalZeros(e){let t=e.toString();return-1===t.indexOf(".")||(t=o.CommonsString.rtrim(t,"0"),"."===t.substr(t.length-1,1)&&(t=o.CommonsString.rtrim(t,"."))),t}static prettyFigure(e,t=!1){return e<1?r.trimDecimalZeros(e.toPrecision(3)):e<10||e<100||e<1e3?r.trimDecimalZeros(e.toPrecision(4)):(e=Math.round(e))<1e3?e.toString():t||e<1e4?e.toLocaleString():e<1e6?parseFloat((e/1e3).toPrecision(3))+"K":parseFloat((e/1e6).toPrecision(2))+"M"}static prettyFileSize(e,t=!1){const n=t?1024:1e3;if(e<Math.pow(n,1))return e.toString();if(e<10*Math.pow(n,1))return e.toLocaleString();let o=2;for(const r of"KMGTPEZY".split("")){if(e<Math.pow(n,o))return`${parseFloat((e/Math.pow(n,o-1)).toPrecision(3))}${r}`;o++}return"Oversize"}static prettyPercent(e,t=!1){let n=100*e;if(t)return n=Math.round(n),n+"%";if(100===n)return"100%";if(n>100)return Math.round(n)+"%";const o=n.toPrecision(2);return/[0-9]e\+/.test(o)?r.prettyPercent(e,!0):r.trimDecimalZeros(o)+"%"}static asDuration(e,t,n,r=!1){return`${(e=Math.round(e)).toLocaleString()}${r?"":" "}${r?n:o.CommonsString.pluralise(t,e,!0)}`}static prettyDuration(e,t=!1){if(isNaN(e))return"NaN";if(e<500)return r.asDuration(e,"millisecond","ms",t);if(e<1e3)return r.asDuration(e/1e3,"second","s",t);const n=e/1e3;if(n<=60)return r.asDuration(n,"second","s",t);const o=e/6e4;if(o<=60)return r.asDuration(o,"minute","mins",t);const s=e/36e5;return s<=24?r.asDuration(s,"hour","hrs",t):r.asDuration(e/864e5,"day","days",t)}static ordinalUnit(e){if(isNaN(e)||e!==Math.floor(e))throw new Error("Cannot compute ordinal unit for invalid integer");const t=e.toString();if(1===t.length)switch(t){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}const n=t.substr(t.length-2);return"1"===n[0]?"th":r.ordinalUnit(parseInt(n[1],10))}static prettyOrdinal(e){return`${(e=r.symmetricFloor(e)).toLocaleString()}${r.ordinalUnit(Math.abs(e))}`}static sampleIndices(e,t,n,o=!1){if(0===e)return[];if(n>e&&!o)return[];if(t<1)throw new Error("Minimum of 2 samples required");if(n<1)throw new Error("Minimum of block size 1 required");let r=Math.floor(e/t);r<n&&(r=n);const s=[];let i=0;for(;s.push(i),i+=r,!(i+n>e););return s}static roughFactor(e,t){if(0===t)throw new Error("Cannot factor into zero");if(e<t)return[e];const n=Math.round(e/t),o=n*t,r=[];for(let i=n;i-- >0;)r.push(t);if(e===o)return r;let s=e;if(e<o){let t=r.length-1;for(;s-- >0;){let n=0;for(const e of r)n+=e;if(n===e)break;r[t]--,t--,t<0&&(t=r.length-1)}}else{let t=0;for(;s-- >0;){let n=0;for(const e of r)n+=e;if(n===e)break;r[t]++,t++,t===r.length&&(t=0)}}if(s<0)throw new Error("TTL expired during attempt roughtFactor");return r}}t.CommonsNumber=r},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("&"),o=0,r=n.length;o<r;o++){var s=n[o].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}},UcNE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("FXLk"),r=n("SwOk");class s{static parseIsoString(e){const 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]}}static fromDate(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")}}static dateToYmd(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.y}-${n.m}-${n.d}`}static dateTodmY(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.d}/${n.m}/${n.y}`}static dateToHi(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.h}:${n.i}`}static dateToHis(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${s.dateToHi(e,t)}:${n.s}`}static dateToYmdHis(e,t=!1){return`${s.dateToYmd(e,t)} ${s.dateToHis(e,t)}`}static dateTodmYHi(e,t=!1){return`${s.dateTodmY(e,t)} ${s.dateToHi(e,t)}`}static isYmdHis(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS).test(e)}static YmdHisToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[1]}-${n[2]}-${n[3]}T${n[4]}:${n[5]}:${n[6]}.000Z`));const r=new Date;return r.setFullYear(parseInt(n[1],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[3],10)),r.setHours(parseInt(n[4],10)),r.setMinutes(parseInt(n[5],10)),r.setSeconds(parseInt(n[6],10)),r.setMilliseconds(0),r}static isdmYHi(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATETIME_DMYHI).test(e)}static dmYHiToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_DMYHI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[3]}-${n[2]}-${n[1]}T${n[4]}:${n[5]}:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[3],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[1],10)),r.setHours(parseInt(n[4],10)),r.setMinutes(parseInt(n[5],10)),r.setSeconds(0),r.setMilliseconds(0),r}static isYmd(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATE_YMD).test(e)}static isdmY(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATE_DMY).test(e)}static YmdToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATE_YMD);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[1]}-${n[2]}-${n[3]}T00:00:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[1],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[3],10)),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),r}static dmYToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATE_DMY);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[3]}-${n[2]}-${n[1]}T00:00:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[3],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[1],10)),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),r}static isHis(e){return new RegExp(o.COMMONS_REGEX_PATTERN_TIME_HIS).test(e)}static HisToDate(e,t=!1){const n=e.match(o.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${n[1]}:${n[2]}:${n[3]}.000Z`));const r=new Date;return r.setFullYear(1970),r.setMonth(0),r.setDate(1),r.setHours(parseInt(n[1],10)),r.setMinutes(parseInt(n[2],10)),r.setSeconds(parseInt(n[3],10)),r.setMilliseconds(0),r}static isHi(e){return new RegExp(o.COMMONS_REGEX_PATTERN_TIME_HI).test(e)}static HiToDate(e,t=!1){const n=e.match(o.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${n[1]}:${n[2]}:00.000Z`));const r=new Date;return r.setFullYear(1970),r.setMonth(0),r.setDate(1),r.setHours(parseInt(n[1],10)),r.setMinutes(parseInt(n[2],10)),r.setSeconds(0),r.setMilliseconds(0),r}static dateWithoutTime(e,t=!1){return s.YmdToDate(s.dateToYmd(e,t),t)}static dateWithTime(e,t,n=!1){const o=s.dateToYmd(e,n),r=s.dateToHis(t,n);return s.YmdHisToDate(`${o} ${r}`)}static todayTime(e,t=!1){return s.dateWithTime(new Date,e,t)}static isSameDate(e,t,n=!1){return s.dateWithoutTime(e,n).getTime()===s.dateWithoutTime(t,n).getTime()}static isToday(e,t=!1){return s.isSameDate(e,new Date,t)}static isYesterday(e,t=!1){const n=new Date;return n.setDate(n.getDate()-1),s.isSameDate(e,n,t)}static isTomorrow(e,t=!1){const n=new Date;return n.setDate(n.getDate()+1),s.isSameDate(e,n,t)}static isLast24Hours(e){return(new Date).getTime()-e.getTime()<864e5}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static listTextMonths(){return"January,February,March,April,May,June,July,August,September,October,November,December".split(",")}static getTextMonth(e){return e<0||e>11?"":s.listTextMonths()[e]}static getNumericMonth(e){return s.listTextMonths().map(e=>e.toUpperCase()).map(t=>3===e.length?t.substring(0,3):t).indexOf(e.toUpperCase())}static listTextDays(){return"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(",")}static getTextDay(e){return e<0||e>6?"":s.listTextDays()[e]}static getNumericDay(e){return s.listTextDays().map(e=>e.toUpperCase()).map(t=>3===e.length?t.substring(0,3):t).indexOf(e.toUpperCase())}static getWeekDate(e,t=0){if(t<0||t>6)throw new Error("Trying to get week start for day outside 0-6");const 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}static getNumberOfDaysInMonth(e,t){switch(s.getTextMonth(e)){case"September":case"April":case"June":case"November":return 30;case"February":return s.isLeapYear(t)?29:28;default:return 31}}static getDayOfYear(e){let t=0;for(let n=0;n<e.getMonth();n++)t+=s.getNumberOfDaysInMonth(n,e.getFullYear());return t+=e.getDate(),t}static listTwoDigitDays(e){return r.CommonsNumber.fixedDigitRange(1,e,2)}static dateToBashTimestamp(e,t=!1){const n=s.dateTodmY(e,t).split("/");return`${n[0]} ${s.getTextMonth(e.getMonth()).toUpperCase().substring(0,3)} ${n[2]} ${s.dateToHis(e)}`}static dateToCompressed(e,t=!1){return s.dateToYmdHis(e,t).replace(/[-: ]/g,"")}static compressedToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED);if(null===n)throw new Error("Unable to parse compressed date");return s.YmdHisToDate(`${n[1]}-${n[2]}-${n[3]} ${n[4]}:${n[5]}:${n[6]}`,t)}static buildDateFromYmdAndOptionals(e,t,n,o,r,i=!1){const a=s.YmdToDate(e,i);return void 0!==t&&a.setHours(t),void 0!==n&&a.setMinutes(n),void 0!==o&&a.setSeconds(o),void 0!==r&&a.setMilliseconds(r),a}static getPastTime(e,t){const 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}static buildClosestDateFromTime(e,t,n,o,r,i=!1){if(i&&t<13){const i=(t+12)%24,a=s.buildClosestDateFromTime(e,t,n,o,r),c=s.buildClosestDateFromTime(e,i,n,o,r),l=Math.abs(e.getTime()-a.getTime());return Math.abs(e.getTime()-c.getTime())<l?c:a}const a=new Date(e.getTime());let c,l;void 0!==t&&a.setHours(t),void 0!==n&&a.setMinutes(n),void 0!==o&&a.setSeconds(o),void 0!==r&&a.setMilliseconds(r),a.setDate(a.getDate()-1);for(let s=-1;s<=1;s++){const t=Math.abs(a.getTime()-e.getTime());(void 0===l||t<l)&&(c=new Date(a.getTime()),l=t),a.setDate(a.getDate()+1)}if(!c)throw new Error("Unable to match closest. This should not be possible");return c}static fillEmptyMinutes(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setMinutes(t.getMinutes()+1);return o}static fillEmptyHours(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setHours(t.getHours()+1);return o}static fillEmptyDays(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setDate(t.getDate()+1);return o}static phpDate(e,t,n=!1){t||(t=new Date);const o=n?s.parseIsoString(t):s.fromDate(t),i=t;return e.split("").map(e=>{switch(e){case"d":return o.d;case"D":return s.getTextDay(i.getDay()).substr(0,3);case"j":return parseInt(o.d,10).toString(10);case"l":return s.getTextDay(i.getDay());case"S":return r.CommonsNumber.ordinalUnit(parseInt(o.d,10));case"w":return i.getDay().toString(10);case"F":return s.getTextMonth(parseInt(o.m,10)-1);case"m":return o.m;case"M":return s.getTextMonth(parseInt(o.m,10)-1).substr(0,3);case"n":return parseInt(o.m,10).toString(10);case"Y":return o.y;case"y":return o.y.substr(2);case"a":return parseInt(o.h,10)<12?"am":"pm";case"A":return parseInt(o.h,10)<12?"AM":"PM";case"g":{const e=parseInt(o.h,10)%12;return 0===e?"12":e.toString(10)}case"G":return parseInt(o.h,10).toString(10);case"h":{const e=parseInt(o.h,10)%12;return 0===e?"12":e.toString(10).padStart(2,"0")}case"H":return o.h;case"i":return o.i;case"s":return o.s;default:return e}}).join("")}static getDeltaHours(e,t=!1){const n=new Date(e.from.getTime()),o=new Date(e.to.getTime());n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0);let r=0;for(;n.getTime()<o.getTime();)r++,n.setHours(n.getHours()+1);return r+(t?1:0)}static getDeltaDays(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);let i=0;for(;o.getTime()<r.getTime();)i++,o.setDate(o.getDate()+1);return i+(t?1:0)}static getDeltaMonths(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);o.setDate(1),r.setDate(1);let i=0;for(;o.getTime()<r.getTime();)i++,o.setMonth(o.getMonth()+1);return i+(t?1:0)}static getDeltaYears(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);o.setDate(1),o.setMonth(0),r.setDate(1),r.setMonth(0);let i=0;for(;o.getTime()<r.getTime();)i++,o.setFullYear(o.getFullYear()+1);return i+(t?1:0)}static prettyDate(e,t=!1,n,o=!0,r=!1){if(n||(n=new Date),!t){const t=new Date(n.getTime());if(s.isSameDate(e,t))return"Today";if(t.setDate(n.getDate()-1),s.isSameDate(e,t))return"Yesterday";if(t.setDate(n.getDate()+1),s.isSameDate(e,t))return"Tomorrow"}return s.phpDate("D d M"+(o?" Y":""),e,r)}static getDeltaSeconds(e,t){const n=(t.getTime()-e.getTime())/1e3;if(!(n<0))return n}static prettyTime(e,t=!1,n,o=!1){if(n||(n=new Date),!t){const t=s.getDeltaSeconds(e,n);if(void 0!==t){if(t<60)return"Just now";if(t<120)return"1 min ago";if(t<600)return Math.floor(t/60)+" mins ago"}}return s.phpDate("H:i",e,o)}static prettyDateTime(e,t=!1,n,o=!0,r=!1){if(n||(n=new Date),!t){const t=s.getDeltaSeconds(e,n);if(void 0!==t&&t<600)return s.prettyTime(e,!1,n,r)}return`${s.prettyDate(e,t,n,o,r)} ${s.prettyTime(e,t,n,r)}`}static prettyTimeRange(e,t=!0,n,o=!1){const r=s.prettyTime(e.from,t,n,o),i=s.prettyTime(e.to,t,n,o);return s.isSameDate(e.from,e.to)&&r===i?r:`${r} - ${i}`}static prettyDateTimeRange(e,t,n,o=!0,r=!1){const i=void 0!==t&&t,a=void 0===t||t;return s.isSameDate(e.from,e.to)?`${s.prettyDate(e.from,i,n,o,r)} ${s.prettyTimeRange(e,a,n,r)}`:`${s.prettyDate(e.from,i,n,o,r)} ${s.prettyTime(e.from,a,n,r)} - ${s.prettyDate(e.to,i,n,o,r)} ${s.prettyTime(e.to,a,n,r)}`}}t.CommonsDate=s},Uho7:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Hcel");t.isTDateRange=function(e){return!!o.CommonsType.hasPropertyDate(e,"from")&&!!o.CommonsType.hasPropertyDate(e,"to")}},UxI3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");var r;function s(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 i(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=s,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!==s(e)},t.keyToEComparator=i,t.ECOMPARATORS=Object.keys(r).map(e=>i(e))},Uxeu:function(e,t){var n=/^(?:(?![^:@]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@]*)(?::([^:@]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,o=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];e.exports=function(e){var t=e,r=e.indexOf("["),s=e.indexOf("]");-1!=r&&-1!=s&&(e=e.substring(0,r)+e.substring(r,s).replace(/:/g,";")+e.substring(s,e.length));for(var i=n.exec(e||""),a={},c=14;c--;)a[o[c]]=i[c]||"";return-1!=r&&-1!=s&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a}},V0VN:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("KSuy"),r=n("znQF");class s{static parseIsoString(e){const 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]}}static fromDate(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")}}static dateToYmd(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.y}-${n.m}-${n.d}`}static dateTodmY(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.d}/${n.m}/${n.y}`}static dateToHi(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${n.h}:${n.i}`}static dateToHis(e,t=!1){const n=t?s.parseIsoString(e):s.fromDate(e);return`${s.dateToHi(e,t)}:${n.s}`}static dateToYmdHis(e,t=!1){return`${s.dateToYmd(e,t)} ${s.dateToHis(e,t)}`}static dateTodmYHi(e,t=!1){return`${s.dateTodmY(e,t)} ${s.dateToHi(e,t)}`}static isYmdHis(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS).test(e)}static YmdHisToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[1]}-${n[2]}-${n[3]}T${n[4]}:${n[5]}:${n[6]}.000Z`));const r=new Date;return r.setFullYear(parseInt(n[1],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[3],10)),r.setHours(parseInt(n[4],10)),r.setMinutes(parseInt(n[5],10)),r.setSeconds(parseInt(n[6],10)),r.setMilliseconds(0),r}static isdmYHi(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATETIME_DMYHI).test(e)}static dmYHiToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_DMYHI);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[3]}-${n[2]}-${n[1]}T${n[4]}:${n[5]}:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[3],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[1],10)),r.setHours(parseInt(n[4],10)),r.setMinutes(parseInt(n[5],10)),r.setSeconds(0),r.setMilliseconds(0),r}static isYmd(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATE_YMD).test(e)}static isdmY(e){return new RegExp(o.COMMONS_REGEX_PATTERN_DATE_DMY).test(e)}static YmdToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATE_YMD);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[1]}-${n[2]}-${n[3]}T00:00:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[1],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[3],10)),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),r}static dmYToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATE_DMY);if(null===n)throw new Error("Unable to parse date");if(t)return new Date(Date.parse(`${n[3]}-${n[2]}-${n[1]}T00:00:00.000Z`));const r=new Date;return r.setFullYear(parseInt(n[3],10)),r.setMonth(parseInt(n[2],10)-1),r.setDate(parseInt(n[1],10)),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0),r}static isHis(e){return new RegExp(o.COMMONS_REGEX_PATTERN_TIME_HIS).test(e)}static HisToDate(e,t=!1){const n=e.match(o.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${n[1]}:${n[2]}:${n[3]}.000Z`));const r=new Date;return r.setFullYear(1970),r.setMonth(0),r.setDate(1),r.setHours(parseInt(n[1],10)),r.setMinutes(parseInt(n[2],10)),r.setSeconds(parseInt(n[3],10)),r.setMilliseconds(0),r}static isHi(e){return new RegExp(o.COMMONS_REGEX_PATTERN_TIME_HI).test(e)}static HiToDate(e,t=!1){const n=e.match(o.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${n[1]}:${n[2]}:00.000Z`));const r=new Date;return r.setFullYear(1970),r.setMonth(0),r.setDate(1),r.setHours(parseInt(n[1],10)),r.setMinutes(parseInt(n[2],10)),r.setSeconds(0),r.setMilliseconds(0),r}static dateWithoutTime(e,t=!1){return s.YmdToDate(s.dateToYmd(e,t),t)}static dateWithTime(e,t,n=!1){const o=s.dateToYmd(e,n),r=s.dateToHis(t,n);return s.YmdHisToDate(`${o} ${r}`)}static todayTime(e,t=!1){return s.dateWithTime(new Date,e,t)}static isSameDate(e,t,n=!1){return s.dateWithoutTime(e,n).getTime()===s.dateWithoutTime(t,n).getTime()}static isToday(e,t=!1){return s.isSameDate(e,new Date,t)}static isYesterday(e,t=!1){const n=new Date;return n.setDate(n.getDate()-1),s.isSameDate(e,n,t)}static isTomorrow(e,t=!1){const n=new Date;return n.setDate(n.getDate()+1),s.isSameDate(e,n,t)}static isLast24Hours(e){return(new Date).getTime()-e.getTime()<864e5}static isLeapYear(e){return 29===new Date(e,1,29).getDate()}static listTextMonths(){return"January,February,March,April,May,June,July,August,September,October,November,December".split(",")}static getTextMonth(e){return e<0||e>11?"":s.listTextMonths()[e]}static getNumericMonth(e){return s.listTextMonths().map(e=>e.toUpperCase()).map(t=>3===e.length?t.substring(0,3):t).indexOf(e.toUpperCase())}static listTextDays(){return"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(",")}static getTextDay(e){return e<0||e>6?"":s.listTextDays()[e]}static getNumericDay(e){return s.listTextDays().map(e=>e.toUpperCase()).map(t=>3===e.length?t.substring(0,3):t).indexOf(e.toUpperCase())}static getWeekDate(e,t=0){if(t<0||t>6)throw new Error("Trying to get week start for day outside 0-6");const 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}static getNumberOfDaysInMonth(e,t){switch(s.getTextMonth(e)){case"September":case"April":case"June":case"November":return 30;case"February":return s.isLeapYear(t)?29:28;default:return 31}}static getDayOfYear(e){let t=0;for(let n=0;n<e.getMonth();n++)t+=s.getNumberOfDaysInMonth(n,e.getFullYear());return t+=e.getDate(),t}static listTwoDigitDays(e){return r.CommonsNumber.fixedDigitRange(1,e,2)}static dateToBashTimestamp(e,t=!1){const n=s.dateTodmY(e,t).split("/");return`${n[0]} ${s.getTextMonth(e.getMonth()).toUpperCase().substring(0,3)} ${n[2]} ${s.dateToHis(e)}`}static dateToCompressed(e,t=!1){return s.dateToYmdHis(e,t).replace(/[-: ]/g,"")}static compressedToDate(e,t=!1){const n=e.match(o.COMMONS_REGEX_PATTERN_DATETIME_YMDHIS_COMPRESSED);if(null===n)throw new Error("Unable to parse compressed date");return s.YmdHisToDate(`${n[1]}-${n[2]}-${n[3]} ${n[4]}:${n[5]}:${n[6]}`,t)}static buildDateFromYmdAndOptionals(e,t,n,o,r,i=!1){const a=s.YmdToDate(e,i);return void 0!==t&&a.setHours(t),void 0!==n&&a.setMinutes(n),void 0!==o&&a.setSeconds(o),void 0!==r&&a.setMilliseconds(r),a}static getPastTime(e,t){const 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}static buildClosestDateFromTime(e,t,n,o,r,i=!1){if(i&&t<13){const i=(t+12)%24,a=s.buildClosestDateFromTime(e,t,n,o,r),c=s.buildClosestDateFromTime(e,i,n,o,r),l=Math.abs(e.getTime()-a.getTime());return Math.abs(e.getTime()-c.getTime())<l?c:a}const a=new Date(e.getTime());let c,l;void 0!==t&&a.setHours(t),void 0!==n&&a.setMinutes(n),void 0!==o&&a.setSeconds(o),void 0!==r&&a.setMilliseconds(r),a.setDate(a.getDate()-1);for(let s=-1;s<=1;s++){const t=Math.abs(a.getTime()-e.getTime());(void 0===l||t<l)&&(c=new Date(a.getTime()),l=t),a.setDate(a.getDate()+1)}if(!c)throw new Error("Unable to match closest. This should not be possible");return c}static fillEmptyMinutes(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setMinutes(t.getMinutes()+1);return o}static fillEmptyHours(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setHours(t.getHours()+1);return o}static fillEmptyDays(e){let t,n;for(const r of e)(void 0===t||r.getTime()<t.getTime())&&(t=r),(void 0===n||r.getTime()>n.getTime())&&(n=r);if(void 0===t||void 0===n)return[];t.setHours(0),t.setMinutes(0),t.setSeconds(0),t.setMilliseconds(0);const o=[];for(;t.getTime()<=n.getTime();)o.push(new Date(t.getTime())),t.setDate(t.getDate()+1);return o}static phpDate(e,t,n=!1){t||(t=new Date);const o=n?s.parseIsoString(t):s.fromDate(t),i=t;return e.split("").map(e=>{switch(e){case"d":return o.d;case"D":return s.getTextDay(i.getDay()).substr(0,3);case"j":return parseInt(o.d,10).toString(10);case"l":return s.getTextDay(i.getDay());case"S":return r.CommonsNumber.ordinalUnit(parseInt(o.d,10));case"w":return i.getDay().toString(10);case"F":return s.getTextMonth(parseInt(o.m,10)-1);case"m":return o.m;case"M":return s.getTextMonth(parseInt(o.m,10)-1).substr(0,3);case"n":return parseInt(o.m,10).toString(10);case"Y":return o.y;case"y":return o.y.substr(2);case"a":return parseInt(o.h,10)<12?"am":"pm";case"A":return parseInt(o.h,10)<12?"AM":"PM";case"g":{const e=parseInt(o.h,10)%12;return 0===e?"12":e.toString(10)}case"G":return parseInt(o.h,10).toString(10);case"h":{const e=parseInt(o.h,10)%12;return 0===e?"12":e.toString(10).padStart(2,"0")}case"H":return o.h;case"i":return o.i;case"s":return o.s;default:return e}}).join("")}static getDeltaHours(e,t=!1){const n=new Date(e.from.getTime()),o=new Date(e.to.getTime());n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0);let r=0;for(;n.getTime()<o.getTime();)r++,n.setHours(n.getHours()+1);return r+(t?1:0)}static getDeltaDays(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);let i=0;for(;o.getTime()<r.getTime();)i++,o.setDate(o.getDate()+1);return i+(t?1:0)}static getDeltaMonths(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);o.setDate(1),r.setDate(1);let i=0;for(;o.getTime()<r.getTime();)i++,o.setMonth(o.getMonth()+1);return i+(t?1:0)}static getDeltaYears(e,t=!1,n=!1){const o=s.dateWithoutTime(e.from,n),r=s.dateWithoutTime(e.to,n);o.setDate(1),o.setMonth(0),r.setDate(1),r.setMonth(0);let i=0;for(;o.getTime()<r.getTime();)i++,o.setFullYear(o.getFullYear()+1);return i+(t?1:0)}static prettyDate(e,t=!1,n,o=!0,r=!1){if(n||(n=new Date),!t){const t=new Date(n.getTime());if(s.isSameDate(e,t))return"Today";if(t.setDate(n.getDate()-1),s.isSameDate(e,t))return"Yesterday";if(t.setDate(n.getDate()+1),s.isSameDate(e,t))return"Tomorrow"}return s.phpDate("D d M"+(o?" Y":""),e,r)}static getDeltaSeconds(e,t){const n=(t.getTime()-e.getTime())/1e3;if(!(n<0))return n}static prettyTime(e,t=!1,n,o=!1){if(n||(n=new Date),!t){const t=s.getDeltaSeconds(e,n);if(void 0!==t){if(t<60)return"Just now";if(t<120)return"1 min ago";if(t<600)return Math.floor(t/60)+" mins ago"}}return s.phpDate("H:i",e,o)}static prettyDateTime(e,t=!1,n,o=!0,r=!1){if(n||(n=new Date),!t){const t=s.getDeltaSeconds(e,n);if(void 0!==t&&t<600)return s.prettyTime(e,!1,n,r)}return`${s.prettyDate(e,t,n,o,r)} ${s.prettyTime(e,t,n,r)}`}static prettyTimeRange(e,t=!0,n,o=!1){const r=s.prettyTime(e.from,t,n,o),i=s.prettyTime(e.to,t,n,o);return s.isSameDate(e.from,e.to)&&r===i?r:`${r} - ${i}`}static prettyDateTimeRange(e,t,n,o=!0,r=!1){const i=void 0!==t&&t,a=void 0===t||t;return s.isSameDate(e.from,e.to)?`${s.prettyDate(e.from,i,n,o,r)} ${s.prettyTimeRange(e,a,n,r)}`:`${s.prettyDate(e.from,i,n,o,r)} ${s.prettyTime(e.from,a,n,r)} - ${s.prettyDate(e.to,i,n,o,r)} ${s.prettyTime(e.to,a,n,r)}`}}t.CommonsDate=s},Vfn7:function(e,t,n){var o;!function(){"use strict";function r(e,t,n){var o=t.x,r=t.y,s=n.x-o,i=n.y-r;if(0!==s||0!==i){var a=((e.x-o)*s+(e.y-r)*i)/(s*s+i*i);a>1?(o=n.x,r=n.y):a>0&&(o+=s*a,r+=i*a)}return(s=e.x-o)*s+(i=e.y-r)*i}function s(e,t,n){if(e.length<=2)return e;var o=void 0!==t?t*t:1;return function(e,t){var n=e.length-1,o=[e[0]];return function e(t,n,o,s,i){for(var a,c=s,l=n+1;l<o;l++){var h=r(t[l],t[n],t[o]);h>c&&(a=l,c=h)}c>s&&(a-n>1&&e(t,n,a,s,i),i.push(t[a]),o-a>1&&e(t,a,o,s,i))}(e,0,n,t,o),o.push(e[n]),o}(e=n?e:function(e,t){for(var n,o,r,s,i,a=e[0],c=[a],l=1,h=e.length;l<h;l++)(s=(o=n=e[l]).x-(r=a).x)*s+(i=o.y-r.y)*i>t&&(c.push(n),a=n);return a!==n&&c.push(n),c}(e,o),o)}void 0===(o=(function(){return s}).call(t,n,t,e))||(e.exports=o)}()},Vo14:function(e,t,n){var o=n("5M3R")("socket.io-parser"),r=n("cpc2"),s=n("cD5x"),i=n("49sm"),a=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=u;var l=t.ERROR+'"encode error"';function h(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 r=function(e){try{return JSON.stringify(e)}catch(t){return!1}}(e.data);if(!1===r)return l;n+=r}return o("encoded %j as %s",e,n),n}function u(){this.reconstructor=null}function d(e){this.reconPack=e,this.buffers=[]}function p(e){return{type:t.ERROR,data:"parser error: "+e}}c.prototype.encode=function(e,n){o("encoding packet %j",e),t.BINARY_EVENT===e.type||t.BINARY_ACK===e.type?function(e,t){s.removeBlobs(e,(function(e){var n=s.deconstructPacket(e),o=h(n.packet),r=n.buffers;r.unshift(o),t(r)}))}(e,n):n([h(e)])},r(u.prototype),u.prototype.add=function(e){var n;if("string"==typeof e)n=function(e){var n=0,r={type:Number(e.charAt(0))};if(null==t.types[r.type])return p("unknown packet type "+r.type);if(t.BINARY_EVENT===r.type||t.BINARY_ACK===r.type){for(var s="";"-"!==e.charAt(++n)&&(s+=e.charAt(n),n!=e.length););if(s!=Number(s)||"-"!==e.charAt(n))throw new Error("Illegal attachments");r.attachments=Number(s)}if("/"===e.charAt(n+1))for(r.nsp="";++n&&","!==(c=e.charAt(n))&&(r.nsp+=c,n!==e.length););else r.nsp="/";var a=e.charAt(n+1);if(""!==a&&Number(a)==a){for(r.id="";++n;){var c;if(null==(c=e.charAt(n))||Number(c)!=c){--n;break}if(r.id+=e.charAt(n),n===e.length)break}r.id=Number(r.id)}if(e.charAt(++n)){var l=function(e){try{return JSON.parse(e)}catch(t){return!1}}(e.substr(n));if(!1===l||r.type!==t.ERROR&&!i(l))return p("invalid payload");r.data=l}return o("decoded %s as %j",e,r),r}(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(!a(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))}},u.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=s.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 o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("rLqr")),o(n("+05S")),o(n("12Mk")),o(n("2Uj6"))},WLGk:function(e,t,n){var o=n("49sm"),r=Object.prototype.toString,s="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===r.call(Blob),i="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===r.call(File);e.exports=function e(t){if(!t||"object"!=typeof t)return!1;if(o(t)){for(var n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if("function"==typeof Buffer&&Buffer.isBuffer&&Buffer.isBuffer(t)||"function"==typeof ArrayBuffer&&t instanceof ArrayBuffer||s&&t instanceof Blob||i&&t instanceof File)return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1===arguments.length)return e(t.toJSON(),!0);for(var a in t)if(Object.prototype.hasOwnProperty.call(t,a)&&e(t[a]))return!0;return!1}},Wm4p:function(e,t,n){var o,r=n("dkv/"),s=n("WLGk"),i=n("ypnn"),a=n("zMFY"),c=n("oIG/");"undefined"!=typeof ArrayBuffer&&(o=n("g5Dd"));var l="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),h="undefined"!=typeof navigator&&/PhantomJS/i.test(navigator.userAgent),u=l||h;t.protocol=3;var d=t.packets={open:0,close:1,ping:2,pong:3,message:4,upgrade:5,noop:6},p=r(d),m={type:"error",data:"parser error"},g=n("14A5");function f(e,t,n){for(var o=new Array(e.length),r=a(e.length,n),s=function(e,n,r){t(n,(function(t,n){o[e]=n,r(t,o)}))},i=0;i<e.length;i++)s(i,e[i],r)}t.encodePacket=function(e,n,o,r){"function"==typeof n&&(r=n,n=!1),"function"==typeof o&&(r=o,o=null);var s=void 0===e.data?void 0:e.data.buffer||e.data;if("undefined"!=typeof ArrayBuffer&&s instanceof ArrayBuffer)return function(e,n,o){if(!n)return t.encodeBase64Packet(e,o);var r=e.data,s=new Uint8Array(r),i=new Uint8Array(1+r.byteLength);i[0]=d[e.type];for(var a=0;a<s.length;a++)i[a+1]=s[a];return o(i.buffer)}(e,n,r);if(void 0!==g&&s instanceof g)return function(e,n,o){if(!n)return t.encodeBase64Packet(e,o);if(u)return function(e,n,o){if(!n)return t.encodeBase64Packet(e,o);var r=new FileReader;return r.onload=function(){t.encodePacket({type:e.type,data:r.result},n,!0,o)},r.readAsArrayBuffer(e.data)}(e,n,o);var r=new Uint8Array(1);return r[0]=d[e.type],o(new g([r.buffer,e.data]))}(e,n,r);if(s&&s.base64)return function(e,n){return n("b"+t.packets[e.type]+e.data.data)}(e,r);var i=d[e.type];return void 0!==e.data&&(i+=o?c.encode(String(e.data),{strict:!1}):String(e.data)),r(""+i)},t.encodeBase64Packet=function(e,n){var o,r="b"+t.packets[e.type];if(void 0!==g&&e.data instanceof g){var s=new FileReader;return s.onload=function(){var e=s.result.split(",")[1];n(r+e)},s.readAsDataURL(e.data)}try{o=String.fromCharCode.apply(null,new Uint8Array(e.data))}catch(l){for(var i=new Uint8Array(e.data),a=new Array(i.length),c=0;c<i.length;c++)a[c]=i[c];o=String.fromCharCode.apply(null,a)}return r+=btoa(o),n(r)},t.decodePacket=function(e,n,o){if(void 0===e)return m;if("string"==typeof e){if("b"===e.charAt(0))return t.decodeBase64Packet(e.substr(1),n);if(o&&!1===(e=function(e){try{e=c.decode(e,{strict:!1})}catch(t){return!1}return e}(e)))return m;var r=e.charAt(0);return Number(r)==r&&p[r]?e.length>1?{type:p[r],data:e.substring(1)}:{type:p[r]}:m}r=new Uint8Array(e)[0];var s=i(e,1);return g&&"blob"===n&&(s=new g([s])),{type:p[r],data:s}},t.decodeBase64Packet=function(e,t){var n=p[e.charAt(0)];if(!o)return{type:n,data:{base64:!0,data:e.substr(1)}};var r=o.decode(e.substr(1));return"blob"===t&&g&&(r=new g([r])),{type:n,data:r}},t.encodePayload=function(e,n,o){"function"==typeof n&&(o=n,n=null);var r=s(e);return n&&r?g&&!u?t.encodePayloadAsBlob(e,o):t.encodePayloadAsArrayBuffer(e,o):e.length?void f(e,(function(e,o){t.encodePacket(e,!!r&&n,!1,(function(e){o(null,function(e){return e.length+":"+e}(e))}))}),(function(e,t){return o(t.join(""))})):o("0:")},t.decodePayload=function(e,n,o){if("string"!=typeof e)return t.decodePayloadAsBinary(e,n,o);var r;if("function"==typeof n&&(o=n,n=null),""===e)return o(m,0,1);for(var s,i,a="",c=0,l=e.length;c<l;c++){var h=e.charAt(c);if(":"===h){if(""===a||a!=(s=Number(a)))return o(m,0,1);if(a!=(i=e.substr(c+1,s)).length)return o(m,0,1);if(i.length){if(r=t.decodePacket(i,n,!1),m.type===r.type&&m.data===r.data)return o(m,0,1);if(!1===o(r,c+s,l))return}c+=s,a=""}else a+=h}return""!==a?o(m,0,1):void 0},t.encodePayloadAsArrayBuffer=function(e,n){if(!e.length)return n(new ArrayBuffer(0));f(e,(function(e,n){t.encodePacket(e,!0,!0,(function(e){return n(null,e)}))}),(function(e,t){var o=t.reduce((function(e,t){var n;return e+(n="string"==typeof t?t.length:t.byteLength).toString().length+n+2}),0),r=new Uint8Array(o),s=0;return t.forEach((function(e){var t="string"==typeof e,n=e;if(t){for(var o=new Uint8Array(e.length),i=0;i<e.length;i++)o[i]=e.charCodeAt(i);n=o.buffer}r[s++]=t?0:1;var a=n.byteLength.toString();for(i=0;i<a.length;i++)r[s++]=parseInt(a[i]);for(r[s++]=255,o=new Uint8Array(n),i=0;i<o.length;i++)r[s++]=o[i]})),n(r.buffer)}))},t.encodePayloadAsBlob=function(e,n){f(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 o=new Uint8Array(e.length),r=0;r<e.length;r++)o[r]=e.charCodeAt(r);e=o.buffer,t[0]=0}var s=(e instanceof ArrayBuffer?e.byteLength:e.size).toString(),i=new Uint8Array(s.length+1);for(r=0;r<s.length;r++)i[r]=parseInt(s[r]);if(i[s.length]=255,g){var a=new g([t.buffer,i.buffer,e]);n(null,a)}}))}),(function(e,t){return n(new g(t))}))},t.decodePayloadAsBinary=function(e,n,o){"function"==typeof n&&(o=n,n=null);for(var r=e,s=[];r.byteLength>0;){for(var a=new Uint8Array(r),c=0===a[0],l="",h=1;255!==a[h];h++){if(l.length>310)return o(m,0,1);l+=a[h]}r=i(r,2+l.length),l=parseInt(l);var u=i(r,0,l);if(c)try{u=String.fromCharCode.apply(null,new Uint8Array(u))}catch(g){var d=new Uint8Array(u);for(u="",h=0;h<d.length;h++)u+=String.fromCharCode(d[h])}s.push(u),r=i(r,l)}var p=s.length;s.forEach((function(e,r){o(t.decodePacket(e,n,!0),r,p)}))}},Wwcn:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("6F/j");t.CommonsFinalValue=class{constructor(e){this.delay=e,this.onRelease=new o.Subject}push(e){this.timeout&&clearTimeout(this.timeout);const t=new Date;this.timeout=setTimeout(()=>{this.onRelease.next({value:e,timestamp:t})},this.delay)}releaseObservable(){return this.onRelease}}},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 o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n("WB8P"),s=n("oqX0"),i=n("YQRO");class a{constructor(){this.timedOut=!1,this.aborted=!1,this.state=i.ECommonsRunState.PRE}static maximumTimeoutThread(e,t){return o(this,void 0,void 0,(function*(){const n=new class extends a{run(){return o(this,void 0,void 0,(function*(){yield t(this)}))}};return new Promise((t,o)=>{n.start(e,()=>{switch(n.getState()){case i.ECommonsRunState.PRE:case i.ECommonsRunState.RUNNING:return;case i.ECommonsRunState.ERROR:return void o(n.getError()||new Error("Unknown thread error"));case i.ECommonsRunState.COMPLETED:return void t(!0);case i.ECommonsRunState.TIMEDOUT:case i.ECommonsRunState.ABORTED:return void t(!1)}throw new Error("Unknown thread state")})})}))}getState(){return this.state}isAborted(){return this.aborted}isTimedOut(){return this.timedOut}getError(){return this.error}start(e,t){this.state=i.ECommonsRunState.RUNNING,t&&t();const n=r.CommonsBase62.generateRandomId();(()=>{o(this,void 0,void 0,(function*(){try{yield s.CommonsAsync.timeout(e,n),this.timedOut=!0,this.abort()}catch(t){}}))})(),(()=>{o(this,void 0,void 0,(function*(){try{yield this.run(),this.state=this.timedOut?i.ECommonsRunState.TIMEDOUT:this.aborted?i.ECommonsRunState.ABORTED:i.ECommonsRunState.COMPLETED}catch(e){this.error=e,this.state=i.ECommonsRunState.ERROR}finally{s.CommonsAsync.abortTimeout(n),t&&t()}}))})()}abort(){this.aborted=!0}}t.CommonsStateThread=a},XNiG:function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return h}));var o=n("HDdC"),r=n("7o/Q"),s=n("quSY"),i=n("9ppp");class a extends s.a{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}var c=n("2QA8");class l extends r.a{constructor(e){super(e),this.destination=e}}let h=(()=>{class e extends o.a{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[c.a](){return new l(this)}lift(e){const t=new u(this,this);return t.operator=e,t}next(e){if(this.closed)throw new i.a;if(!this.isStopped){const{observers:t}=this,n=t.length,o=t.slice();for(let r=0;r<n;r++)o[r].next(e)}}error(e){if(this.closed)throw new i.a;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,o=t.slice();for(let r=0;r<n;r++)o[r].error(e);this.observers.length=0}complete(){if(this.closed)throw new i.a;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let o=0;o<t;o++)n[o].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new i.a;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new i.a;return this.hasError?(e.error(this.thrownError),s.a.EMPTY):this.isStopped?(e.complete(),s.a.EMPTY):(this.observers.push(e),new a(this,e))}asObservable(){const e=new o.a;return e.source=this,e}}return e.create=(e,t)=>new u(e,t),e})();class u extends h{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):s.a.EMPTY}}},XoHu:function(e,t,n){"use strict";function o(e){return null!==e&&"object"==typeof e}n.d(t,"a",(function(){return o}))},YQRO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("WB8P");var r;function s(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=s,t.isECommonsRunState=function(e){return!!o.CommonsType.isString(e)&&void 0!==s(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 i}));var o=n("51Dv"),r=n("SeVD"),s=n("HDdC");function i(e,t,n,i,a=new o.a(e,n,i)){if(!a.closed)return t instanceof s.a?t.subscribe(a):Object(r.a)(t)(a)}},a7pM:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");t.isTFetch=function(e){return!!o.CommonsType.hasPropertyNumber(e,"index")&&!!o.CommonsType.hasPropertyString(e,"url")}},aEx1:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return c}));var o=n("hi8z"),r=n("ofXK"),s=n("fXoL");let i=(()=>{class e extends o.a{constructor(){super(...arguments),this.thickness=2}}return e.\u0275fac=function(t){return a(t||e)},e.\u0275cmp=s.Fb({type:e,selectors:[["commons-wait-rotate"]],inputs:{thickness:"thickness"},features:[s.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&&(s.bc(),s.Qb(0,"svg",0),s.Mb(1,"circle",1),s.Pb()),2&e&&(s.zb(1),s.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})();const a=s.Sb(i);let c=(()=>{class e{}return e.\u0275mod=s.Jb({type:e}),e.\u0275inj=s.Ib({factory:function(t){return new(t||e)},imports:[[r.b]]}),e})()},aYxV:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("bKqd")),o(n("/UVI")),o(n("UcNE")),o(n("Imd5")),o(n("SwOk")),o(n("trlK")),o(n("pJsf")),o(n("1mEP")),o(n("Hcel"))},aYyv:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("c8QO")),o(n("yoYU"))},akSB:function(e,t,n){var o=n("AdPF"),r=n("0z79"),s=n("Cl5A"),i=n("CIKq");t.polling=function(e){var t=!1,n=!1,i=!1!==e.jsonp;if("undefined"!=typeof location){var a="https:"===location.protocol,c=location.port;c||(c=a?443:80),t=e.hostname!==location.hostname||c!==e.port,n=e.secure!==a}if(e.xdomain=t,e.xscheme=n,"open"in new o(e)&&!e.forceJSONP)return new r(e);if(!i)throw new Error("JSONP disabled");return new s(e)},t.websocket=i},"b/jT":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("r517");t.isTSegmentTree=function e(t){if(!o.CommonsType.isObject(t))return!1;const n=t;if(!o.CommonsType.hasPropertyNumber(n,"tally"))return!1;if(!o.CommonsType.hasPropertyObjectOrUndefined(n,"children"))return!1;if(o.CommonsType.hasProperty(n,"children"))for(const o of Object.keys(n.children))if(!e(n.children[o]))return!1;return!0};class r{static stringSegmentArrayToTree(e){const t={tally:0,children:{}};for(const n of e){let e=t;for(;;){const t=n.shift();if(void 0===t)break;o.CommonsType.hasProperty(e,"children")||(e.children={}),o.CommonsType.hasProperty(e.children,t)?e.children[t].tally++:e.children[t]={tally:1},e=e.children[t]}}return t.children[""]}static getDepth(e){if(void 0===e.children)return 1;let t=[];for(const n of Object.keys(e.children||{}))t.push(r.getDepth(e.children[n]));return 0===t.length?1:(t=t.sort().reverse(),1+t[0])}static treeToStacksRecurse(e,t,n,o=100){if(0===o)throw new Error("Exceeded TTL");let s=e.tally;for(const i of Object.keys(e.children||{})){const a=e.children[i];t[n].push({name:i,tally:a.tally}),s-=a.tally,r.treeToStacksRecurse(a,t,n+1,o-1)}if(s>0)for(let r=n;r<t.length;r++)t[r].push({name:"",tally:s})}static treeToStacks(e){const t=[];for(let n=r.getDepth(e)-1;n-- >0;)t.push([]);return r.treeToStacksRecurse(e,t,0),t}}t.CommonsTree=r},b31r:function(e,t,n){"use strict";var o=n("Vfn7");function r(e,t,n){var r=function(e){return e.map((function(e){return{x:e[0],y:e[1]}}))}(e);return function(e){for(var t=[],n=0,o=e.length;n<o;n++){var r=[e[n-1],e[n],e[n+1],e[n+2]];0===n&&(r[0]={x:e[0].x,y:e[0].y}),n===o-2&&(r[3]={x:e[o-2].x,y:e[o-2].y}),n===o-1&&(r[2]={x:e[o-1].x,y:e[o-1].y},r[3]={x:e[o-1].x,y:e[o-1].y}),t.push([(6*r[1].x-r[0].x+r[2].x)/6,(6*r[1].y-r[0].y+r[2].y)/6,(r[1].x+6*r[2].x-r[3].x)/6,(r[1].y+6*r[2].y-r[3].y)/6,r[2].x,r[2].y])}return t}(void 0!==t||void 0!==n?o(r,t,n):r)}e.exports={toPoints:r,toPath:function(e,t,n){var o=r(e,t,n),s=`M${e[0][0]}, ${e[0][1]}`;for(let r=0;r<o.length;r++)s+=`C${o[r][0]},${o[r][1]} ${o[r][2]},${o[r][3]} ${o[r][4]},${o[r][5]}`;return s}}},bHdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("5+tZ"),r=n("SpAZ");function s(e=Number.POSITIVE_INFINITY){return Object(o.a)(r.a,e)}},bKqd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Hcel"),r=n("SwOk");class s{static remove(e,t,n){let o=-1;if(n){for(let r=0;r<e.length;r++)if(n(t,e[r])){o=r;break}}else o=e.indexOf(t);return-1!==o&&(e.splice(o,1),!0)}static chunk(e,t){const n=[];for(let o=0,r=e.length;o<r;o+=t)n.push(e.slice(o,o+t));return n}static unique(e,t,n){if(t&&!o.CommonsType.isTArray(e,t))throw new Error("Invalid array supplied to CommonsArray.unique");if(!n)return[...new Set(e)];const r=[];for(const o of e)r.find(e=>n(o,e))||r.push(o);return r}static intersect(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.intersect");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.intersect");if(!r){const n=e.filter(e=>t.includes(e));return s.unique(n)}{const n=[];for(const o of e)t.find(e=>r(o,e))&&n.push(o);return s.unique(n,void 0,r)}}static union(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.union");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.union");const i=[...e,...t];return s.unique(i,void 0,r)}static difference(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.difference");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.difference");const i=s.union(e,t,void 0,r),a=s.intersect(e,t,void 0,r);if(!r)return i.filter(e=>!a.includes(e));{const e=[];for(const t of i)a.find(e=>r(t,e))||e.push(t);return e}}static removeAll(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.removeAll");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.removeAll");let i=!1;for(const o of t)s.remove(e,o,r)&&(i=!0);return i}static unionWithout(e,t,n,o,r){const i=s.union(e,t,o,r);return s.removeAll(i,n,o,r),i}static added(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.added");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.added");const s=[];for(const o of t)r?e.find(e=>r(o,e))||s.push(o):e.includes(o)||s.push(o);return s}static removed(e,t,n,o){return s.added(t,e,n,o)}static setCombinationsRecurse(e,t,n,o,r,i){n!==t?r>=e.length||(o[n]=e[r],s.setCombinationsRecurse(e,t,n+1,o,r+1,i),s.setCombinationsRecurse(e,t,n,o,r+1,i)):i.push(o.slice(0,t))}static setCombinations(e,t){const n=[],o=Array(t).fill("");return s.setCombinationsRecurse(e,t,0,o,0,n),n}static randomize(e){const t=e.length;for(let n=t;n-- >0;){const o=r.CommonsNumber.randRange(0,t);[e[n],e[o]]=[e[o],e[n]]}}static getMinDistance(e){let t=e.length;for(let n=1;n<e.length;n++){const o=Math.abs(e[n]-e[n-1]);t=Math.min(t,o)}return t}static shuffle(e,t=2){const n=e.length;if(n<3)return 2===n&&s.randomize(e),!1;if((t=Math.min(t,Math.floor(n/2)))<1)return s.randomize(e),!1;const o=[];for(let s=n,l=0;s-- >0;)o.push(l++);let r=o,i=0,a=Math.max(1e3,n);for(;a-- >0;){s.randomize(o);const e=s.getMinDistance(o);if(e>i&&(r=o.slice(),i=e,i>=t))break}const c=e.slice();for(let s=0;s<n;s++)e[s]=c[r[s]];return i>=t}static splitMapErrors(e){const t=[],n=[];for(const r of e){try{if(r instanceof Error){t.push(r);continue}}catch(o){}n.push(r)}return{errors:t,array:n}}static mapWithErrors(e,t){const n=[];for(const s of e)try{const e=t(s);n.push(e)}catch(r){o.CommonsType.isError(r)?n.push(r):n.push(new Error(r))}return s.splitMapErrors(n)}}t.CommonsArray=s},bOdf:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("5+tZ");function r(e,t){return Object(o.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 o(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}n.d(t,"a",(function(){return o}))},c8QO:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("WB8P");t.isTCommonsScheduleTime=function(e){if(!o.CommonsType.isObject(e))return!1;for(const t of"year,month,day,dow,hour,minute,second".split(",")){if(!o.CommonsType.hasPropertyNumberOrUndefined(e,t)&&!o.CommonsType.hasPropertyArrayOrUndefined(e,t))return!1;if(o.CommonsType.hasPropertyArray(e,t)&&!o.CommonsType.isNumberArray(e[t]))return!1}return!0}},cD5x:function(e,t,n){var o=n("49sm"),r=n("+SKG"),s=Object.prototype.toString,i="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===s.call(Blob),a="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===s.call(File);t.deconstructPacket=function(e){var t=[],n=e;return n.data=function e(t,n){if(!t)return t;if(r(t)){var s={_placeholder:!0,num:n.length};return n.push(t),s}if(o(t)){for(var i=new Array(t.length),a=0;a<t.length;a++)i[a]=e(t[a],n);return i}if("object"==typeof t&&!(t instanceof Date)){for(var c in i={},t)i[c]=e(t[c],n);return i}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(o(t))for(var r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(var s in t)t[s]=e(t[s],n);return t}(e.data,t),e.attachments=void 0,e},t.removeBlobs=function(e,t){var n=0,s=e;!function e(c,l,h){if(!c)return c;if(i&&c instanceof Blob||a&&c instanceof File){n++;var u=new FileReader;u.onload=function(){h?h[l]=this.result:s=this.result,--n||t(s)},u.readAsArrayBuffer(c)}else if(o(c))for(var d=0;d<c.length;d++)e(c[d],d,c);else if("object"==typeof c&&!r(c))for(var p in c)e(c[p],p,c)}(s),n||t(s)}},cS81:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");var r;function s(e){switch(e){case r.INBOUND.toString():return r.INBOUND;case r.OUTBOUND.toString():return r.OUTBOUND}}function i(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=s,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!==s(e)},t.keyToEDirection=i,t.EDIRECTIONS=Object.keys(r).map(e=>i(e))},cScS:function(e,t,n){"use strict";n.d(t,"a",(function(){return k}));var o=n("tk/3"),r=n("mrSG"),s=n("LRne"),i=n("Cfvw"),a=n("IzEk"),c=n("D0XW");const l=(()=>{function e(){return Error.call(this),this.message="Timeout has occurred",this.name="TimeoutError",this}return e.prototype=Object.create(Error.prototype),e})();var h=n("l7GE"),u=n("ZUHj");class d{constructor(e,t,n,o){this.waitFor=e,this.absoluteTimeout=t,this.withObservable=n,this.scheduler=o}call(e,t){return t.subscribe(new p(e,this.absoluteTimeout,this.waitFor,this.withObservable,this.scheduler))}}class p extends h.a{constructor(e,t,n,o,r){super(e),this.absoluteTimeout=t,this.waitFor=n,this.withObservable=o,this.scheduler=r,this.action=null,this.scheduleTimeout()}static dispatchTimeout(e){const{withObservable:t}=e;e._unsubscribeAndRecycle(),e.add(Object(u.a)(e,t))}scheduleTimeout(){const{action:e}=this;e?this.action=e.schedule(this,this.waitFor):this.add(this.action=this.scheduler.schedule(p.dispatchTimeout,this.waitFor,this))}_next(e){this.absoluteTimeout||this.scheduleTimeout(),super._next(e)}_unsubscribe(){this.action=null,this.scheduler=null,this.withObservable=null}}var m=n("HDdC");function g(e,t=c.a){return function(e,t,n=c.a){return o=>{let r=(s=e)instanceof Date&&!isNaN(+s);var s;let i=r?+e-n.now():Math.abs(e);return o.lift(new d(i,r,t,n))}}(e,(n=new l,new m.a(e=>e.error(n))),t);var n}var f=n("5+tZ"),b=n("WB8P");n("ofXK"),n("fXoL");class y{static encodeBody(e,t){switch(t){case"json":return e;case"form_url":let t=new o.d;if(e)for(const n of Object.keys(e)){const o=e[n];t=t.set(n,null===o?"":o.toString())}return t.toString()}throw new Error("Unknown encoding type")}}class _ extends Error{constructor(e){super(e),Object.setPrototypeOf(this,_.prototype)}}class C extends _{constructor(e){super(e),Object.setPrototypeOf(this,C.prototype)}}class O extends _{constructor(e){super(e),Object.setPrototypeOf(this,O.prototype)}}class P extends _{constructor(e){super(e),Object.setPrototypeOf(this,P.prototype)}}class w extends _{constructor(e){super(e),Object.setPrototypeOf(this,w.prototype)}}class M extends _{constructor(e){super(e),Object.setPrototypeOf(this,M.prototype)}}class v extends _{constructor(e){super(e),Object.setPrototypeOf(this,v.prototype)}}class E extends _{constructor(e){super(e),Object.setPrototypeOf(this,E.prototype)}}class k{constructor(e,t){this.rootURL=e,this.http=t}static isTimeoutError(e){return b.CommonsType.isObject(e)&&b.CommonsType.hasProperty(e,"name")&&"TimeoutError"===e.name}static handleHttpCodeErrors(e){if(e instanceof o.c)switch(e.status){case 400:return new w(e.error.message);case 401:return new C(e.error.message);case 403:return new P(e.error.message);case 404:return new O(e.error.message);case 409:return new M(e.error.message);case 500:return new v(e.error.message);case 503:return new E(e.error.message)}return e}static buildParamsOrHeaders(e){if(!b.CommonsType.isObject(e))throw new Error("REST data is not an object");return b.CommonsObject.mapObject(e,e=>null==e?"":e.toString())}static appendContentType(e,t){const 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}setTimeout(e){this.timeout=e}setReattemptTimeout(e){this.reattemptTimeout=e}internalHead(e,t,n){return Object(r.a)(this,void 0,void 0,(function*(){const o={};n&&(o.headers=k.buildParamsOrHeaders(n)),t&&(o.params=k.buildParamsOrHeaders(t));const r=this.http.head(`${this.rootURL}${e}`,o);try{yield r.pipe(Object(a.a)(1)).toPromise()}catch(s){throw console.log("Error during CommonsRestService.internalHead: "+s.message),k.handleHttpCodeErrors(s)}}))}head(e,t,n){return Object(r.a)(this,void 0,void 0,(function*(){yield this.internalHead(e,t,n)}))}internalGet(e,t,n,o){return Object(r.a)(this,void 0,void 0,(function*(){let r;const s={};o&&(s.headers=k.buildParamsOrHeaders(o)),t&&(s.params=k.buildParamsOrHeaders(t));try{const t=n||1;for(let o=0;o<t;o++){if(o>0){const t=b.CommonsDate.dateToYmdHis(new Date);console.log(`${t}: Timeout for ${e}. Reattempt ${o}`)}try{let t=this.http.get(`${this.rootURL}${e}`,s);return n&&this.reattemptTimeout?t=t.pipe(g(this.reattemptTimeout)):this.timeout&&(t=t.pipe(g(this.timeout))),yield t.pipe(Object(a.a)(1)).toPromise()}catch(i){if(i.message&&/timeout/i.test(i.message)){void 0===r&&(r=i);continue}throw i}}}catch(i){throw console.log("Error during CommonsRestService.internalGet: "+i.message),k.handleHttpCodeErrors(i)}if(r)throw r;throw new Error("Max attempts exceeded")}))}get(e,t,n,o){return Object(r.a)(this,void 0,void 0,(function*(){return yield this.internalGet(e,t,n,o)}))}internalPost(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){o=k.appendContentType(o,s);const r={headers:k.buildParamsOrHeaders(o)};n&&(r.params=k.buildParamsOrHeaders(n));let i=this.http.post(`${this.rootURL}${e}`,y.encodeBody(t,s),r);this.timeout&&(i=i.pipe(g(this.timeout)));try{return yield i.pipe(Object(a.a)(1)).toPromise()}catch(c){throw console.log("Error during CommonsRestService.internalPost: "+c.message),k.handleHttpCodeErrors(c)}}))}post(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){return yield this.internalPost(e,t,n,o,s)}))}internalPut(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){o=k.appendContentType(o,s);const r={headers:k.buildParamsOrHeaders(o)};n&&(r.params=k.buildParamsOrHeaders(n));let i=this.http.put(`${this.rootURL}${e}`,y.encodeBody(t,s),r);this.timeout&&(i=i.pipe(g(this.timeout)));try{return yield i.pipe(Object(a.a)(1)).toPromise()}catch(c){throw console.log("Error during CommonsRestService.internalPut: "+c.message),k.handleHttpCodeErrors(c)}}))}put(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){return yield this.internalPut(e,t,n,o,s)}))}internalPatch(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){o=k.appendContentType(o,s);const r={headers:k.buildParamsOrHeaders(o)};n&&(r.params=k.buildParamsOrHeaders(n));let i=this.http.patch(`${this.rootURL}${e}`,y.encodeBody(t,s),r);this.timeout&&(i=i.pipe(g(this.timeout)));try{return yield i.pipe(Object(a.a)(1)).toPromise()}catch(c){throw console.log("Error during CommonsRestService.internalPatch: "+c.message),k.handleHttpCodeErrors(c)}}))}patch(e,t,n,o,s="form_url"){return Object(r.a)(this,void 0,void 0,(function*(){return yield this.internalPatch(e,t,n,o,s)}))}internalDelete(e,t,n){return Object(r.a)(this,void 0,void 0,(function*(){const o={};n&&(o.headers=k.buildParamsOrHeaders(n)),t&&(o.params=k.buildParamsOrHeaders(t));let r=this.http.delete(`${this.rootURL}${e}`,o);this.timeout&&(r=r.pipe(g(this.timeout)));try{return yield r.pipe(Object(a.a)(1)).toPromise()}catch(s){throw console.log("Error during CommonsRestService.internalDelete: "+s.message),k.handleHttpCodeErrors(s)}}))}delete(e,t,n){return Object(r.a)(this,void 0,void 0,(function*(){return yield this.internalDelete(e,t,n)}))}populateMissing(e,t,n,o){if(0===e.length)return Object(s.a)([]);const r=e.map(e=>n(e)),a=new Map,c=[];{let t=0;for(const n of e)void 0===r[t]?c.push(n):a.set(n,r[t]),t++}return 0===c.length?Object(s.a)(r.map(e=>e)):Object(i.a)(t(c)).pipe(Object(f.a)(t=>Object(s.a)(e.map(e=>{if(a.has(e))return a.get(e);const n=c.indexOf(e);if(-1===n)throw new Error("Unable to locate missing item");const r=t[n];return o(e,r),r}))))}}},cpc2:function(e,t,n){function o(e){if(e)return function(e){for(var t in o.prototype)e[t]=o.prototype[t];return e}(e)}e.exports=o,o.prototype.on=o.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},o.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},o.prototype.off=o.prototype.removeListener=o.prototype.removeAllListeners=o.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,o=this._callbacks["$"+e];if(!o)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var r=0;r<o.length;r++)if((n=o[r])===t||n.fn===t){o.splice(r,1);break}return this},o.prototype.emit=function(e){this._callbacks=this._callbacks||{};var t=[].slice.call(arguments,1),n=this._callbacks["$"+e];if(n)for(var o=0,r=(n=n.slice(0)).length;o<r;++o)n[o].apply(this,t);return this},o.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},o.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 o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("4+du")),o(n("n/ur")),o(n("R5ff"))},"dkv/":function(e,t){e.exports=Object.keys||function(e){var t=[],n=Object.prototype.hasOwnProperty;for(var o in e)n.call(e,o)&&t.push(o);return t}},e7dE:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("r517");class r{static mapObject(e,t){if(!o.CommonsType.isObject(e))throw new Error("Trying to map a non-object");const n={};for(const o of Object.keys(e))n[o]=t(e[o],o);return n}static isEmpty(e){return 0===Object.keys(e).length}static stripNulls(e){if(null!=e){if(o.CommonsType.isDate(e))return e;if(o.CommonsType.isArray(e))return e.map(e=>r.stripNulls(e));if(o.CommonsType.isObject(e)){const t={};for(const n of Object.keys(e)){const o=e[n];null!=o&&(t[n]=r.stripNulls(o))}return t}return e}}}t.CommonsObject=r},eOtv:function(e,t,n){var o=n("lKxJ"),r=n("KFGy"),s=n("cpc2"),i=n("Vo14"),a=n("2Dig"),c=n("QN7Q"),l=n("NOtv")("socket.io-client:manager"),h=n("7jRU"),u=n("C2QD"),d=Object.prototype.hasOwnProperty;function p(e,t){if(!(this instanceof p))return new p(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 u({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||i;this.encoder=new n.Encoder,this.decoder=new n.Decoder,this.autoConnect=!1!==t.autoConnect,this.autoConnect&&this.open()}e.exports=p,p.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)},p.prototype.updateSocketIds=function(){for(var e in this.nsps)d.call(this.nsps,e)&&(this.nsps[e].id=this.generateId(e))},p.prototype.generateId=function(e){return("/"===e?"":e+"#")+this.engine.id},s(p.prototype),p.prototype.reconnection=function(e){return arguments.length?(this._reconnection=!!e,this):this._reconnection},p.prototype.reconnectionAttempts=function(e){return arguments.length?(this._reconnectionAttempts=e,this):this._reconnectionAttempts},p.prototype.reconnectionDelay=function(e){return arguments.length?(this._reconnectionDelay=e,this.backoff&&this.backoff.setMin(e),this):this._reconnectionDelay},p.prototype.randomizationFactor=function(e){return arguments.length?(this._randomizationFactor=e,this.backoff&&this.backoff.setJitter(e),this):this._randomizationFactor},p.prototype.reconnectionDelayMax=function(e){return arguments.length?(this._reconnectionDelayMax=e,this.backoff&&this.backoff.setMax(e),this):this._reconnectionDelayMax},p.prototype.timeout=function(e){return arguments.length?(this._timeout=e,this):this._timeout},p.prototype.maybeReconnectOnOpen=function(){!this.reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()},p.prototype.open=p.prototype.connect=function(e,t){if(l("readyState %s",this.readyState),~this.readyState.indexOf("open"))return this;l("opening %s",this.uri),this.engine=o(this.uri,this.opts);var n=this.engine,r=this;this.readyState="opening",this.skipReconnect=!1;var s=a(n,"open",(function(){r.onopen(),e&&e()})),i=a(n,"error",(function(t){if(l("connect_error"),r.cleanup(),r.readyState="closed",r.emitAll("connect_error",t),e){var n=new Error("Connection error");n.data=t,e(n)}else r.maybeReconnectOnOpen()}));if(!1!==this._timeout){var c=this._timeout;l("connect attempt will timeout after %d",c);var h=setTimeout((function(){l("connect attempt timed out after %d",c),s.destroy(),n.close(),n.emit("error","timeout"),r.emitAll("connect_timeout",c)}),c);this.subs.push({destroy:function(){clearTimeout(h)}})}return this.subs.push(s),this.subs.push(i),this},p.prototype.onopen=function(){l("open"),this.cleanup(),this.readyState="open",this.emit("open");var e=this.engine;this.subs.push(a(e,"data",c(this,"ondata"))),this.subs.push(a(e,"ping",c(this,"onping"))),this.subs.push(a(e,"pong",c(this,"onpong"))),this.subs.push(a(e,"error",c(this,"onerror"))),this.subs.push(a(e,"close",c(this,"onclose"))),this.subs.push(a(this.decoder,"decoded",c(this,"ondecoded")))},p.prototype.onping=function(){this.lastPing=new Date,this.emitAll("ping")},p.prototype.onpong=function(){this.emitAll("pong",new Date-this.lastPing)},p.prototype.ondata=function(e){this.decoder.add(e)},p.prototype.ondecoded=function(e){this.emit("packet",e)},p.prototype.onerror=function(e){l("error",e),this.emitAll("error",e)},p.prototype.socket=function(e,t){var n=this.nsps[e];if(!n){n=new r(this,e,t),this.nsps[e]=n;var o=this;n.on("connecting",s),n.on("connect",(function(){n.id=o.generateId(e)})),this.autoConnect&&s()}function s(){~h(o.connecting,n)||o.connecting.push(n)}return n},p.prototype.destroy=function(e){var t=h(this.connecting,e);~t&&this.connecting.splice(t,1),this.connecting.length||this.close()},p.prototype.packet=function(e){l("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 o=0;o<n.length;o++)t.engine.write(n[o],e.options);t.encoding=!1,t.processPacketQueue()})))},p.prototype.processPacketQueue=function(){if(this.packetBuffer.length>0&&!this.encoding){var e=this.packetBuffer.shift();this.packet(e)}},p.prototype.cleanup=function(){l("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()},p.prototype.close=p.prototype.disconnect=function(){l("disconnect"),this.skipReconnect=!0,this.reconnecting=!1,"opening"===this.readyState&&this.cleanup(),this.backoff.reset(),this.readyState="closed",this.engine&&this.engine.close()},p.prototype.onclose=function(e){l("onclose"),this.cleanup(),this.backoff.reset(),this.readyState="closed",this.emit("close",e),this._reconnection&&!this.skipReconnect&&this.reconnect()},p.prototype.reconnect=function(){if(this.reconnecting||this.skipReconnect)return this;var e=this;if(this.backoff.attempts>=this._reconnectionAttempts)l("reconnect failed"),this.backoff.reset(),this.emitAll("reconnect_failed"),this.reconnecting=!1;else{var t=this.backoff.duration();l("will wait %dms before reconnect attempt",t),this.reconnecting=!0;var n=setTimeout((function(){e.skipReconnect||(l("attempting reconnect"),e.emitAll("reconnect_attempt",e.backoff.attempts),e.emitAll("reconnecting",e.backoff.attempts),e.skipReconnect||e.open((function(t){t?(l("reconnect attempt error"),e.reconnecting=!1,e.reconnect(),e.emitAll("reconnect_error",t.data)):(l("reconnect success"),e.onreconnect())})))}),t);this.subs.push({destroy:function(){clearTimeout(n)}})}},p.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});const o=n("r517"),r=n("znQF");class s{static remove(e,t,n){let o=-1;if(n){for(let r=0;r<e.length;r++)if(n(t,e[r])){o=r;break}}else o=e.indexOf(t);return-1!==o&&(e.splice(o,1),!0)}static chunk(e,t){const n=[];for(let o=0,r=e.length;o<r;o+=t)n.push(e.slice(o,o+t));return n}static unique(e,t,n){if(t&&!o.CommonsType.isTArray(e,t))throw new Error("Invalid array supplied to CommonsArray.unique");if(!n)return[...new Set(e)];const r=[];for(const o of e)r.find(e=>n(o,e))||r.push(o);return r}static intersect(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.intersect");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.intersect");if(!r){const n=e.filter(e=>t.includes(e));return s.unique(n)}{const n=[];for(const o of e)t.find(e=>r(o,e))&&n.push(o);return s.unique(n,void 0,r)}}static union(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.union");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.union");const i=[...e,...t];return s.unique(i,void 0,r)}static difference(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.difference");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.difference");const i=s.union(e,t,void 0,r),a=s.intersect(e,t,void 0,r);if(!r)return i.filter(e=>!a.includes(e));{const e=[];for(const t of i)a.find(e=>r(t,e))||e.push(t);return e}}static removeAll(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.removeAll");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.removeAll");let i=!1;for(const o of t)s.remove(e,o,r)&&(i=!0);return i}static unionWithout(e,t,n,o,r){const i=s.union(e,t,o,r);return s.removeAll(i,n,o,r),i}static added(e,t,n,r){if(n&&!o.CommonsType.isTArray(e,n))throw new Error("Invalid array supplied to CommonsArray.added");if(n&&!o.CommonsType.isTArray(t,n))throw new Error("Invalid array supplied to CommonsArray.added");const s=[];for(const o of t)r?e.find(e=>r(o,e))||s.push(o):e.includes(o)||s.push(o);return s}static removed(e,t,n,o){return s.added(t,e,n,o)}static setCombinationsRecurse(e,t,n,o,r,i){n!==t?r>=e.length||(o[n]=e[r],s.setCombinationsRecurse(e,t,n+1,o,r+1,i),s.setCombinationsRecurse(e,t,n,o,r+1,i)):i.push(o.slice(0,t))}static setCombinations(e,t){const n=[],o=Array(t).fill("");return s.setCombinationsRecurse(e,t,0,o,0,n),n}static randomize(e){const t=e.length;for(let n=t;n-- >0;){const o=r.CommonsNumber.randRange(0,t);[e[n],e[o]]=[e[o],e[n]]}}static getMinDistance(e){let t=e.length;for(let n=1;n<e.length;n++){const o=Math.abs(e[n]-e[n-1]);t=Math.min(t,o)}return t}static shuffle(e,t=2){const n=e.length;if(n<3)return 2===n&&s.randomize(e),!1;if((t=Math.min(t,Math.floor(n/2)))<1)return s.randomize(e),!1;const o=[];for(let s=n,l=0;s-- >0;)o.push(l++);let r=o,i=0,a=Math.max(1e3,n);for(;a-- >0;){s.randomize(o);const e=s.getMinDistance(o);if(e>i&&(r=o.slice(),i=e,i>=t))break}const c=e.slice();for(let s=0;s<n;s++)e[s]=c[r[s]];return i>=t}static splitMapErrors(e){const t=[],n=[];for(const r of e){try{if(r instanceof Error){t.push(r);continue}}catch(o){}n.push(r)}return{errors:t,array:n}}static mapWithErrors(e,t){const n=[];for(const s of e)try{const e=t(s);n.push(e)}catch(r){o.CommonsType.isError(r)?n.push(r):n.push(new Error(r))}return s.splitMapErrors(n)}}t.CommonsArray=s},fXoL:function(e,t,n){"use strict";n.d(t,"a",(function(){return Ds})),n.d(t,"b",(function(){return Xc})),n.d(t,"c",(function(){return Kc})),n.d(t,"d",(function(){return Vc})),n.d(t,"e",(function(){return Gc})),n.d(t,"f",(function(){return $l})),n.d(t,"g",(function(){return Il})),n.d(t,"h",(function(){return bs})),n.d(t,"i",(function(){return cl})),n.d(t,"j",(function(){return _a})),n.d(t,"k",(function(){return el})),n.d(t,"l",(function(){return Ca})),n.d(t,"m",(function(){return Tn})),n.d(t,"n",(function(){return Mc})),n.d(t,"o",(function(){return te})),n.d(t,"p",(function(){return _})),n.d(t,"q",(function(){return ee})),n.d(t,"r",(function(){return Is})),n.d(t,"s",(function(){return Ba})),n.d(t,"t",(function(){return Fa})),n.d(t,"u",(function(){return Jc})),n.d(t,"v",(function(){return ge})),n.d(t,"w",(function(){return Nl})),n.d(t,"x",(function(){return me})),n.d(t,"y",(function(){return Tl})),n.d(t,"z",(function(){return dl})),n.d(t,"A",(function(){return C})),n.d(t,"B",(function(){return Wc})),n.d(t,"C",(function(){return Qc})),n.d(t,"D",(function(){return Ma})),n.d(t,"E",(function(){return Pa})),n.d(t,"F",(function(){return wa})),n.d(t,"G",(function(){return Ea})),n.d(t,"H",(function(){return fo})),n.d(t,"I",(function(){return P})),n.d(t,"J",(function(){return Ll})),n.d(t,"K",(function(){return Va})),n.d(t,"L",(function(){return Cl})),n.d(t,"M",(function(){return ka})),n.d(t,"N",(function(){return Ka})),n.d(t,"O",(function(){return Me})),n.d(t,"P",(function(){return zs})),n.d(t,"Q",(function(){return Sl})),n.d(t,"R",(function(){return Kn})),n.d(t,"S",(function(){return B})),n.d(t,"T",(function(){return Gn})),n.d(t,"U",(function(){return Hl})),n.d(t,"V",(function(){return wl})),n.d(t,"W",(function(){return Zc})),n.d(t,"X",(function(){return _s})),n.d(t,"Y",(function(){return cc})),n.d(t,"Z",(function(){return mo})),n.d(t,"ab",(function(){return _o})),n.d(t,"bb",(function(){return Wn})),n.d(t,"cb",(function(){return Rn})),n.d(t,"db",(function(){return Ln})),n.d(t,"eb",(function(){return zn})),n.d(t,"fb",(function(){return Fn})),n.d(t,"gb",(function(){return Bn})),n.d(t,"hb",(function(){return Hn})),n.d(t,"ib",(function(){return rc})),n.d(t,"jb",(function(){return Fl})),n.d(t,"kb",(function(){return sc})),n.d(t,"lb",(function(){return ic})),n.d(t,"mb",(function(){return Un})),n.d(t,"nb",(function(){return K})),n.d(t,"ob",(function(){return $s})),n.d(t,"pb",(function(){return ui})),n.d(t,"qb",(function(){return hi})),n.d(t,"rb",(function(){return Hs})),n.d(t,"sb",(function(){return oc})),n.d(t,"tb",(function(){return Ye})),n.d(t,"ub",(function(){return R})),n.d(t,"vb",(function(){return Nn})),n.d(t,"wb",(function(){return ea})),n.d(t,"xb",(function(){return ia})),n.d(t,"yb",(function(){return fa})),n.d(t,"zb",(function(){return Vo})),n.d(t,"Ab",(function(){return Ws})),n.d(t,"Bb",(function(){return Ni})),n.d(t,"Cb",(function(){return ji})),n.d(t,"Db",(function(){return Uc})),n.d(t,"Eb",(function(){return Po})),n.d(t,"Fb",(function(){return Te})),n.d(t,"Gb",(function(){return Ne})),n.d(t,"Hb",(function(){return E})),n.d(t,"Ib",(function(){return k})),n.d(t,"Jb",(function(){return je})),n.d(t,"Kb",(function(){return Re})),n.d(t,"Lb",(function(){return Js})),n.d(t,"Mb",(function(){return ii})),n.d(t,"Nb",(function(){return ci})),n.d(t,"Ob",(function(){return ai})),n.d(t,"Pb",(function(){return si})),n.d(t,"Qb",(function(){return ri})),n.d(t,"Rb",(function(){return li})),n.d(t,"Sb",(function(){return Mn})),n.d(t,"Tb",(function(){return Zi})),n.d(t,"Ub",(function(){return he})),n.d(t,"Vb",(function(){return ei})),n.d(t,"Wb",(function(){return $c})),n.d(t,"Xb",(function(){return ti})),n.d(t,"Yb",(function(){return di})),n.d(t,"Zb",(function(){return Lc})),n.d(t,"ac",(function(){return Bt})),n.d(t,"bc",(function(){return Lt})),n.d(t,"cc",(function(){return gi})),n.d(t,"dc",(function(){return yc})),n.d(t,"ec",(function(){return _c})),n.d(t,"fc",(function(){return Cc})),n.d(t,"gc",(function(){return Oc})),n.d(t,"hc",(function(){return yi})),n.d(t,"ic",(function(){return bi})),n.d(t,"jc",(function(){return ni})),n.d(t,"kc",(function(){return mc})),n.d(t,"lc",(function(){return gc})),n.d(t,"mc",(function(){return fc})),n.d(t,"nc",(function(){return Nc})),n.d(t,"oc",(function(){return Zs})),n.d(t,"pc",(function(){return sn})),n.d(t,"qc",(function(){return pt})),n.d(t,"rc",(function(){return Co})),n.d(t,"sc",(function(){return Oo})),n.d(t,"tc",(function(){return Ie})),n.d(t,"uc",(function(){return Rc})),n.d(t,"vc",(function(){return Ii})),n.d(t,"wc",(function(){return Ai})),n.d(t,"xc",(function(){return Xs})),n.d(t,"yc",(function(){return zc})),n.d(t,"zc",(function(){return Yi})),n.d(t,"Ac",(function(){return Qi})),n.d(t,"Bc",(function(){return Wi})),n.d(t,"Cc",(function(){return Xi}));var o=n("XNiG"),r=n("quSY"),s=n("HDdC"),i=n("z+Ro"),a=n("bHdf"),c=n("yCtX"),l=n("7o/Q");function h(){return function(e){return e.lift(new u(e))}}class u{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const o=new d(e,n),r=t.subscribe(o);return o.closed||(o.connection=n.connect()),r}}class d extends l.a{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,o=e._connection;this.connection=null,!o||n&&o!==n||o.unsubscribe()}}class p extends s.a{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,e=this._connection=new r.a,e.add(this.source.subscribe(new g(this.getSubject(),this))),e.closed&&(this._connection=null,e=r.a.EMPTY)),e}refCount(){return h()(this)}}const m=(()=>{const e=p.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class g extends o.b{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function f(){return new o.a}function b(e){return{toString:e}.toString()}function y(e,t,n){return b(()=>{const o=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function r(...e){if(this instanceof r)return o.apply(this,e),this;const t=new r(...e);return n.annotation=t,n;function n(e,n,o){const r=e.hasOwnProperty("__parameters__")?e.__parameters__:Object.defineProperty(e,"__parameters__",{value:[]}).__parameters__;for(;r.length<=o;)r.push(null);return(r[o]=r[o]||[]).push(t),e}}return n&&(r.prototype=Object.create(n.prototype)),r.prototype.ngMetadataName=e,r.annotationCls=r,r})}const _=y("Inject",e=>({token:e})),C=y("Optional"),O=y("Self"),P=y("SkipSelf");var w=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 M(e){for(let t in e)if(e[t]===M)return t;throw Error("Could not find renamed property on target object.")}function v(e,t){for(const 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 k(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function T(e){return S(e,e[A])||S(e,e[D])}function S(e,t){return t&&t.token===e?t:null}function x(e){return e&&(e.hasOwnProperty(j)||e.hasOwnProperty(N))?e[j]:null}const A=M({"\u0275prov":M}),j=M({"\u0275inj":M}),I=M({"\u0275provFallback":M}),D=M({ngInjectableDef:M}),N=M({ngInjectorDef:M});function R(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(R).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}function U(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const L=M({__forward_ref__:M});function B(e){return e.__forward_ref__=B,e.toString=function(){return R(this())},e}function F(e){return H(e)?e():e}function H(e){return"function"==typeof e&&e.hasOwnProperty(L)&&e.__forward_ref__===B}const z="undefined"!=typeof globalThis&&globalThis,$="undefined"!=typeof window&&window,V="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,G="undefined"!=typeof global&&global,K=z||G||$||V,q=M({"\u0275cmp":M}),Y=M({"\u0275dir":M}),Q=M({"\u0275pipe":M}),W=M({"\u0275mod":M}),X=M({"\u0275loc":M}),Z=M({"\u0275fac":M}),J=M({__NG_ELEMENT_ID__:M});class ee{constructor(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.\u0275prov=E({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return"InjectionToken "+this._desc}}const te=new ee("INJECTOR",-1),ne={},oe=/\n/gm,re=M({provide:String,useValue:M});let se,ie=void 0;function ae(e){const t=ie;return ie=e,t}function ce(e){const t=se;return se=e,t}function le(e,t=w.Default){if(void 0===ie)throw new Error("inject() must be called from an injection context");return null===ie?ue(e,void 0,t):ie.get(e,t&w.Optional?null:void 0,t)}function he(e,t=w.Default){return(se||le)(F(e),t)}function ue(e,t,n){const o=T(e);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(n&w.Optional)return null;if(void 0!==t)return t;throw new Error(`Injector: NOT_FOUND [${R(e)}]`)}function de(e){const t=[];for(let n=0;n<e.length;n++){const o=F(e[n]);if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");let e=void 0,n=w.Default;for(let t=0;t<o.length;t++){const r=o[t];r instanceof C||"Optional"===r.ngMetadataName||r===C?n|=w.Optional:r instanceof P||"SkipSelf"===r.ngMetadataName||r===P?n|=w.SkipSelf:r instanceof O||"Self"===r.ngMetadataName||r===O?n|=w.Self:e=r instanceof _||r===_?r.token:r}t.push(he(e,n))}else t.push(he(o))}return t}class pe{get(e,t=ne){if(t===ne){const t=new Error(`NullInjectorError: No provider for ${R(e)}!`);throw t.name="NullInjectorError",t}return t}}class me{}class ge{}function fe(e,t){e.forEach(e=>Array.isArray(e)?fe(e,t):t(e))}function be(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function ye(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function _e(e,t){const n=[];for(let o=0;o<e;o++)n.push(t);return n}function Ce(e,t,n){let o=Pe(e,t);return o>=0?e[1|o]=n:(o=~o,function(e,t,n,o){let r=e.length;if(r==t)e.push(n,o);else if(1===r)e.push(o,e[0]),e[0]=n;else{for(r--,e.push(e[r-1],e[r]);r>t;)e[r]=e[r-2],r--;e[t]=n,e[t+1]=o}}(e,o,t,n)),o}function Oe(e,t){const n=Pe(e,t);if(n>=0)return e[1|n]}function Pe(e,t){return function(e,t,n){let o=0,r=e.length>>1;for(;r!==o;){const n=o+(r-o>>1),s=e[n<<1];if(t===s)return n<<1;s>t?r=n:o=n+1}return~(r<<1)}(e,t)}const we=function(){var e={OnPush:0,Default:1};return e[e.OnPush]="OnPush",e[e.Default]="Default",e}(),Me=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}(),ve={},Ee=[];let ke=0;function Te(e){return b(()=>{const t=e.type,n=t.prototype,o={},r={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:o,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===we.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||Ee,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||Me.Emulated,id:"c",styles:e.styles||Ee,_:null,setInput:null,schemas:e.schemas||null,tView:null},s=e.directives,i=e.features,a=e.pipes;return r.id+=ke++,r.inputs=De(e.inputs,o),r.outputs=De(e.outputs),i&&i.forEach(e=>e(r)),r.directiveDefs=s?()=>("function"==typeof s?s():s).map(Se):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(xe):null,r})}function Se(e){return Ue(e)||function(e){return e[Y]||null}(e)}function xe(e){return function(e){return e[Q]||null}(e)}const Ae={};function je(e){const 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(()=>{Ae[e.id]=e.type}),t}function Ie(e,t){return b(()=>{const n=Be(e,!0);n.declarations=t.declarations||Ee,n.imports=t.imports||Ee,n.exports=t.exports||Ee})}function De(e,t){if(null==e)return ve;const n={};for(const o in e)if(e.hasOwnProperty(o)){let r=e[o],s=r;Array.isArray(r)&&(s=r[1],r=r[0]),n[r]=o,t&&(t[r]=s)}return n}const Ne=Te;function Re(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ue(e){return e[q]||null}function Le(e,t){return e.hasOwnProperty(Z)?e[Z]:null}function Be(e,t){const n=e[W]||null;if(!n&&!0===t)throw new Error(`Type ${R(e)} does not have '\u0275mod' property.`);return n}function Fe(e){return Array.isArray(e)&&"object"==typeof e[1]}function He(e){return Array.isArray(e)&&!0===e[1]}function ze(e){return 0!=(8&e.flags)}function $e(e){return 2==(2&e.flags)}function Ve(e){return 1==(1&e.flags)}function Ge(e){return null!==e.template}function Ke(e){return 0!=(512&e[2])}let qe=void 0;function Ye(e){qe=e}function Qe(e){return!!e.listen}const We={createRenderer:(e,t)=>void 0!==qe?qe:"undefined"!=typeof document?document:void 0};function Xe(e){for(;Array.isArray(e);)e=e[0];return e}function Ze(e,t){return Xe(t[e+20])}function Je(e,t){return Xe(t[e.index])}function et(e,t){return e.data[t+20]}function tt(e,t){return e[t+20]}function nt(e,t){const n=t[e];return Fe(n)?n:n[0]}function ot(e){const t=function(e){return e.__ngContext__||null}(e);return t?Array.isArray(t)?t:t.lView:null}function rt(e){return 4==(4&e[2])}function st(e){return 128==(128&e[2])}function it(e,t){return null===e||null==t?null:e[t]}function at(e){e[18]=0}function ct(e,t){e[5]+=t;let n=e,o=e[3];for(;null!==o&&(1===t&&1===n[5]||-1===t&&0===n[5]);)o[5]+=t,n=o,o=o[3]}const lt={lFrame:At(null),bindingsEnabled:!0,checkNoChangesMode:!1};function ht(){return lt.bindingsEnabled}function ut(){return lt.lFrame.lView}function dt(){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 ft(){return lt.lFrame.isParent}function bt(){lt.lFrame.isParent=!1}function yt(){return lt.checkNoChangesMode}function _t(e){lt.checkNoChangesMode=e}function Ct(){const e=lt.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Ot(){return lt.lFrame.bindingIndex}function Pt(){return lt.lFrame.bindingIndex++}function wt(e){const t=lt.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Mt(e,t){const n=lt.lFrame;n.bindingIndex=n.bindingRootIndex=e,vt(t)}function vt(e){lt.lFrame.currentDirectiveIndex=e}function Et(){return lt.lFrame.currentQueryIndex}function kt(e){lt.lFrame.currentQueryIndex=e}function Tt(e,t){const n=xt();lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function St(e,t){const n=xt(),o=e[1];lt.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=o,n.contextLView=e,n.bindingIndex=o.bindingStartIndex}function xt(){const e=lt.lFrame,t=null===e?null:e.child;return null===t?At(e):t}function At(e){const 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(){const e=lt.lFrame;return lt.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}const It=jt;function Dt(){const 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 Nt(){return lt.lFrame.selectedIndex}function Rt(e){lt.lFrame.selectedIndex=e}function Ut(){const e=lt.lFrame;return et(e.tView,e.selectedIndex)}function Lt(){lt.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function Bt(){lt.lFrame.currentNamespace=null}function Ft(e,t){for(let n=t.directiveStart,o=t.directiveEnd;n<o;n++){const t=e.data[n];t.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,t.afterContentInit),t.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,t.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,t.afterContentChecked)),t.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,t.afterViewInit),t.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,t.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,t.afterViewChecked)),null!=t.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,t.onDestroy)}}function Ht(e,t,n){Vt(e,t,3,n)}function zt(e,t,n,o){(3&e[2])===n&&Vt(e,t,n,o)}function $t(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function Vt(e,t,n,o){const r=null!=o?o:-1;let s=0;for(let i=void 0!==o?65535&e[18]:0;i<t.length;i++)if("number"==typeof t[i+1]){if(s=t[i],null!=o&&s>=o)break}else t[i]<0&&(e[18]+=65536),(s<r||-1==r)&&(Gt(e,n,t,i),e[18]=(4294901760&e[18])+i+2),i++}function Gt(e,t,n,o){const r=n[o]<0,s=n[o+1],i=e[r?-n[o]:n[o]];r?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,s.call(i)):s.call(i)}class Kt{constructor(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n}}function qt(e,t,n){const o=Qe(e);let r=0;for(;r<n.length;){const s=n[r];if("number"==typeof s){if(0!==s)break;r++;const i=n[r++],a=n[r++],c=n[r++];o?e.setAttribute(t,a,c,i):t.setAttributeNS(i,a,c)}else{const i=s,a=n[++r];Qt(i)?o&&e.setProperty(t,i,a):o?e.setAttribute(t,i,a):t.setAttribute(i,a),r++}}return r}function Yt(e){return 3===e||4===e||6===e}function Qt(e){return 64===e.charCodeAt(0)}function Wt(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let o=0;o<t.length;o++){const r=t[o];"number"==typeof r?n=r:0===n||Xt(e,n,r,null,-1===n||2===n?t[++o]:null)}}return e}function Xt(e,t,n,o,r){let s=0,i=e.length;if(-1===t)i=-1;else for(;s<e.length;){const n=e[s++];if("number"==typeof n){if(n===t){i=-1;break}if(n>t){i=s-1;break}}}for(;s<e.length;){const t=e[s];if("number"==typeof t)break;if(t===n){if(null===o)return void(null!==r&&(e[s+1]=r));if(o===e[s+1])return void(e[s+2]=r)}s++,null!==o&&s++,null!==r&&s++}-1!==i&&(e.splice(i,0,t),s=i+1),e.splice(s++,0,n),null!==o&&e.splice(s++,0,o),null!==r&&e.splice(s++,0,r)}function Zt(e){return-1!==e}function Jt(e){return 32767&e}function en(e){return e>>16}function tn(e,t){let n=en(e),o=t;for(;n>0;)o=o[15],n--;return o}function nn(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():nn(e)}const rn=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(K))();function sn(e){return{name:"document",target:e.ownerDocument}}function an(e){return e instanceof Function?e():e}let cn=!0;function ln(e){const t=cn;return cn=e,t}let hn=0;function un(e,t){const n=pn(e,t);if(-1!==n)return n;const o=t[1];o.firstCreatePass&&(e.injectorIndex=t.length,dn(o.data,e),dn(t,null),dn(o.blueprint,null));const r=mn(e,t),s=e.injectorIndex;if(Zt(r)){const e=Jt(r),n=tn(r,t),o=n[1].data;for(let r=0;r<8;r++)t[s+r]=n[e+r]|o[e+r]}return t[s+8]=r,s}function dn(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;let n=t[6],o=1;for(;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,o++;return n?n.injectorIndex|o<<16:-1}function gn(e,t,n){!function(e,t,n){let o="string"!=typeof n?n[J]:n.charCodeAt(0)||0;null==o&&(o=n[J]=hn++);const r=255&o,s=1<<r,i=64&r,a=32&r,c=t.data;128&r?i?a?c[e+7]|=s:c[e+6]|=s:a?c[e+5]|=s:c[e+4]|=s:i?a?c[e+3]|=s:c[e+2]|=s:a?c[e+1]|=s:c[e]|=s}(e,t,n)}function fn(e,t,n,o=w.Default,r){if(null!==e){const r=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e[J];return"number"==typeof t&&t>0?255&t:t}(n);if("function"==typeof r){Tt(t,e);try{const e=r();if(null!=e||o&w.Optional)return e;throw new Error(`No provider for ${on(n)}!`)}finally{It()}}else if("number"==typeof r){if(-1===r)return new wn(e,t);let s=null,i=pn(e,t),a=-1,c=o&w.Host?t[16][6]:null;for((-1===i||o&w.SkipSelf)&&(a=-1===i?mn(e,t):t[i+8],Pn(o,!1)?(s=t[1],i=Jt(a),t=tn(a,t)):i=-1);-1!==i;){a=t[i+8];const e=t[1];if(On(r,i,e.data)){const e=yn(i,t,n,s,o,c);if(e!==bn)return e}Pn(o,t[1].data[i+8]===c)&&On(r,i,t)?(s=e,i=Jt(a),t=tn(a,t)):i=-1}}}if(o&w.Optional&&void 0===r&&(r=null),0==(o&(w.Self|w.Host))){const e=t[9],s=ce(void 0);try{return e?e.get(n,r,o&w.Optional):ue(n,r,o&w.Optional)}finally{ce(s)}}if(o&w.Optional)return r;throw new Error(`NodeInjector: NOT_FOUND [${on(n)}]`)}const bn={};function yn(e,t,n,o,r,s){const i=t[1],a=i.data[e+8],c=_n(a,i,n,null==o?$e(a)&&cn:o!=i&&3===a.type,r&w.Host&&s===a);return null!==c?Cn(t,i,c,a):bn}function _n(e,t,n,o,r){const s=e.providerIndexes,i=t.data,a=65535&s,c=e.directiveStart,l=s>>16,h=r?a+l:e.directiveEnd;for(let u=o?a:a+l;u<h;u++){const e=i[u];if(u<c&&n===e||u>=c&&e.type===n)return u}if(r){const e=i[c];if(e&&Ge(e)&&e.type===n)return c}return null}function Cn(e,t,n,o){let r=e[n];const s=t.data;if(r instanceof Kt){const i=r;if(i.resolving)throw new Error("Circular dep for "+on(s[n]));const a=ln(i.canSeeViewProviders);let c;i.resolving=!0,i.injectImpl&&(c=ce(i.injectImpl)),Tt(e,o);try{r=e[n]=i.factory(void 0,s,e,o),t.firstCreatePass&&n>=o.directiveStart&&function(e,t,n){const{onChanges:o,onInit:r,doCheck:s}=t;o&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,o),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,o)),r&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,r),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{i.injectImpl&&ce(c),ln(a),i.resolving=!1,It()}}return r}function On(e,t,n){const o=64&e,r=32&e;let s;return s=128&e?o?r?n[t+7]:n[t+6]:r?n[t+5]:n[t+4]:o?r?n[t+3]:n[t+2]:r?n[t+1]:n[t],!!(s&1<<e)}function Pn(e,t){return!(e&w.Self||e&w.Host&&t)}class wn{constructor(e,t){this._tNode=e,this._lView=t}get(e,t){return fn(this._tNode,this._lView,e,void 0,t)}}function Mn(e){return b(()=>{const t=Object.getPrototypeOf(e.prototype).constructor,n=t[Z]||function e(t){const n=t;if(H(t))return()=>{const t=e(F(n));return t?t():null};let o=Le(n);if(null===o){const e=x(n);o=e&&e.factory}return o||null}(t);return null!==n?n:e=>new e})}function vn(e){return e.ngDebugContext}function En(e){return e.ngOriginalError}function kn(e,...t){e.error(...t)}class Tn{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),o=function(e){return e.ngErrorLogger||kn}(e);o(this._console,"ERROR",e),t&&o(this._console,"ORIGINAL ERROR",t),n&&o(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?vn(e)?vn(e):this._findContext(En(e)):null}_findOriginalError(e){let t=En(e);for(;t&&En(t);)t=En(t);return t}}class Sn{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"}}class xn extends Sn{getTypeName(){return"HTML"}}class An extends Sn{getTypeName(){return"Style"}}class jn extends Sn{getTypeName(){return"Script"}}class In extends Sn{getTypeName(){return"URL"}}class Dn extends Sn{getTypeName(){return"ResourceURL"}}function Nn(e){return e instanceof Sn?e.changingThisBreaksApplicationSecurity:e}function Rn(e,t){const n=Un(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see http://g.co/ng/security#xss)`)}return n===t}function Un(e){return e instanceof Sn&&e.getTypeName()||null}function Ln(e){return new xn(e)}function Bn(e){return new An(e)}function Fn(e){return new jn(e)}function Hn(e){return new In(e)}function zn(e){return new Dn(e)}let $n=!0,Vn=!1;function Gn(){return Vn=!0,$n}function Kn(){if(Vn)throw new Error("Cannot enable prod mode after platform setup.");$n=!1}class qn{constructor(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");let t=this.inertDocument.body;if(null==t){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),t=this.inertDocument.createElement("body"),e.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(o){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;const n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n}stripCustomNsAttrs(e){const t=e.attributes;for(let o=t.length-1;0<o;o--){const n=t.item(o).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Yn=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Qn=/^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 Wn(e){return(e=String(e)).match(Yn)||e.match(Qn)?e:(Gn()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function Xn(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Zn(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Jn=Xn("area,br,col,hr,img,wbr"),eo=Xn("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),to=Xn("rp,rt"),no=Zn(to,eo),oo=Zn(Jn,Zn(eo,Xn("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")),Zn(to,Xn("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")),no),ro=Xn("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),so=Xn("srcset"),io=Zn(ro,so,Xn("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"),Xn("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")),ao=Xn("script,style,template");class co{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;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);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!oo.hasOwnProperty(t))return this.sanitizedSomething=!0,!ao.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r),t=e.name,s=t.toLowerCase();if(!io.hasOwnProperty(s)){this.sanitizedSomething=!0;continue}let i=e.value;ro[s]&&(i=Wn(i)),so[s]&&(o=i,i=(o=String(o)).split(",").map(e=>Wn(e.trim())).join(", ")),this.buf.push(" ",t,'="',uo(i),'"')}var o;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();oo.hasOwnProperty(t)&&!Jn.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(uo(e))}checkClobberedElement(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}}const lo=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,ho=/([^\#-~ |!])/g;function uo(e){return e.replace(/&/g,"&amp;").replace(lo,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(ho,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let po;function mo(e,t){let n=null;try{po=po||new qn(e);let o=t?String(t):"";n=po.getInertBodyElement(o);let r=5,s=o;do{if(0===r)throw new Error("Failed to sanitize html because the input is unstable");r--,o=s,s=n.innerHTML,n=po.getInertBodyElement(o)}while(o!==s);const i=new co,a=i.sanitizeChildren(go(n)||n);return Gn()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=go(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}function go(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const fo=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}(),bo=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"),yo=/^url\(([^)]+)\)$/;function _o(e){if(!(e=String(e).trim()))return"";const t=e.match(yo);return t&&Wn(t[1])===t[1]||e.match(bo)&&function(e){let t=!0,n=!0;for(let o=0;o<e.length;o++){const r=e.charAt(o);"'"===r&&n?t=!t:'"'===r&&t&&(n=!n)}return t&&n}(e)?e:(Gn()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}function Co(e){const t=Mo();return t?t.sanitize(fo.STYLE,e)||"":Rn(e,"Style")?Nn(e):_o(nn(e))}function Oo(e){const t=Mo();return t?t.sanitize(fo.URL,e)||"":Rn(e,"URL")?Nn(e):Wn(nn(e))}const Po=function(e,t,n){if(void 0===t&&void 0===n)return Co(e);let o=!0;return 1&(n=n||3)&&(o=wo(e)),2&n?o?Co(t):Nn(t):o};function wo(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 Mo(){const e=ut();return e&&e[12]}function vo(e,t){e.__ngContext__=t}function Eo(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function ko(){throw new Error("Cannot mix multi providers and regular providers")}function To(e,t,n){let o=e.length;for(;;){const r=e.indexOf(t,n);if(-1===r)return r;if(0===r||e.charCodeAt(r-1)<=32){const n=t.length;if(r+n===o||e.charCodeAt(r+n)<=32)return r}n=r+1}}function So(e,t,n){let o=0;for(;o<e.length;){let r=e[o++];if(n&&"class"===r){if(r=e[o],-1!==To(r.toLowerCase(),t,0))return!0}else if(1===r){for(;o<e.length&&"string"==typeof(r=e[o++]);)if(r.toLowerCase()===t)return!0;return!1}}return!1}function xo(e){return 0===e.type&&"ng-template"!==e.tagName}function Ao(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function jo(e,t,n){let o=4;const r=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++)if(Yt(e[t]))return t;return e.length}(r);let i=!1;for(let a=0;a<t.length;a++){const c=t[a];if("number"!=typeof c){if(!i)if(4&o){if(o=2|1&o,""!==c&&!Ao(e,c,n)||""===c&&1===t.length){if(Io(o))return!1;i=!0}}else{const l=8&o?c:t[++a];if(8&o&&null!==e.attrs){if(!So(e.attrs,l,n)){if(Io(o))return!1;i=!0}continue}const h=Do(8&o?"class":c,r,xo(e),n);if(-1===h){if(Io(o))return!1;i=!0;continue}if(""!==l){let e;e=h>s?"":r[h+1].toLowerCase();const t=8&o?e:null;if(t&&-1!==To(t,l,0)||2&o&&l!==e){if(Io(o))return!1;i=!0}}}}else{if(!i&&!Io(o)&&!Io(c))return!1;if(i&&Io(c))continue;i=!1,o=c|1&o}}return Io(o)||i}function Io(e){return 0==(1&e)}function Do(e,t,n,o){if(null===t)return-1;let r=0;if(o||!n){let n=!1;for(;r<t.length;){const o=t[r];if(o===e)return r;if(3===o||6===o)n=!0;else{if(1===o||2===o){let e=t[++r];for(;"string"==typeof e;)e=t[++r];continue}if(4===o)break;if(0===o){r+=4;continue}}r+=n?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const o=e[n];if("number"==typeof o)return-1;if(o===t)return n;n++}return-1}(t,e)}function No(e,t,n=!1){for(let o=0;o<t.length;o++)if(jo(e,t[o],n))return!0;return!1}function Ro(e,t){e:for(let n=0;n<t.length;n++){const o=t[n];if(e.length===o.length){for(let t=0;t<e.length;t++)if(e[t]!==o[t])continue e;return!0}}return!1}function Uo(e,t){return e?":not("+t.trim()+")":t}function Lo(e){let t=e[0],n=1,o=2,r="",s=!1;for(;n<e.length;){let i=e[n];if("string"==typeof i)if(2&o){const t=e[++n];r+="["+i+(t.length>0?'="'+t+'"':"")+"]"}else 8&o?r+="."+i:4&o&&(r+=" "+i);else""===r||Io(i)||(t+=Uo(s,r),r=""),o=i,s=s||!Io(o);n++}return""!==r&&(t+=Uo(s,r)),t}const Bo={};function Fo(e){const t=e[3];return He(t)?t[3]:t}function Ho(e){return $o(e[13])}function zo(e){return $o(e[4])}function $o(e){for(;null!==e&&!He(e);)e=e[4];return e}function Vo(e){Go(dt(),ut(),Nt()+e,yt())}function Go(e,t,n,o){if(!o)if(3==(3&t[2])){const o=e.preOrderCheckHooks;null!==o&&Ht(t,o,n)}else{const o=e.preOrderHooks;null!==o&&zt(t,o,0,n)}Rt(n)}function Ko(e,t){return e<<17|t<<2}function qo(e){return e>>17&32767}function Yo(e){return 2|e}function Qo(e){return(131068&e)>>2}function Wo(e,t){return-131069&e|t<<2}function Xo(e){return 1|e}function Zo(e,t){const n=e.contentQueries;if(null!==n)for(let o=0;o<n.length;o+=2){const r=n[o],s=n[o+1];if(-1!==s){const n=e.data[s];kt(r),n.contentQueries(2,t[s],s)}}}function Jo(e,t,n){return Qe(t)?t.createElement(e,n):null===n?t.createElement(e):t.createElementNS(n,e)}function er(e,t,n,o,r,s,i,a,c,l){const h=t.blueprint.slice();return h[0]=r,h[2]=140|o,at(h),h[3]=h[15]=e,h[8]=n,h[10]=i||e&&e[10],h[11]=a||e&&e[11],h[12]=c||e&&e[12]||null,h[9]=l||e&&e[9]||null,h[6]=s,h[16]=2==t.type?e[16]:h,h}function tr(e,t,n,o,r,s){const i=n+20,a=e.data[i]||function(e,t,n,o,r,s){const i=mt(),a=ft(),c=a?i:i&&i.parent,l=e.data[n]=ur(0,c&&c!==t?c:null,o,n,r,s);return null===e.firstChild&&(e.firstChild=l),i&&(!a||null!=i.child||null===l.parent&&2!==i.type?a||(i.next=l):i.child=l),l}(e,t,i,o,r,s);return gt(a,!0),a}function nr(e,t,n){St(t,t[6]);try{const o=e.viewQuery;null!==o&&Ir(1,o,n);const r=e.template;null!==r&&sr(e,t,r,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Zo(e,t),e.staticViewQueries&&Ir(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)Tr(e,t[n])}(t,s)}catch(o){throw e.firstCreatePass&&(e.incompleteFirstPass=!0),o}finally{t[2]&=-5,Dt()}}function or(e,t,n,o){const r=t[2];if(256==(256&r))return;St(t,t[6]);const s=yt();try{at(t),lt.lFrame.bindingIndex=e.bindingStartIndex,null!==n&&sr(e,t,n,2,o);const i=3==(3&r);if(!s)if(i){const n=e.preOrderCheckHooks;null!==n&&Ht(t,n,null)}else{const n=e.preOrderHooks;null!==n&&zt(t,n,0,null),$t(t,0)}if(function(e){for(let t=Ho(e);null!==t;t=zo(t)){if(!t[2])continue;const e=t[9];for(let t=0;t<e.length;t++){const n=e[t],o=n[3];0==(1024&n[2])&&ct(o,1),n[2]|=1024}}}(t),function(e){for(let t=Ho(e);null!==t;t=zo(t))for(let e=10;e<t.length;e++){const n=t[e],o=n[1];st(n)&&or(o,n,o.template,n[8])}}(t),null!==e.contentQueries&&Zo(e,t),!s)if(i){const n=e.contentCheckHooks;null!==n&&Ht(t,n)}else{const n=e.contentHooks;null!==n&&zt(t,n,1),$t(t,1)}!function(e,t){try{const n=e.expandoInstructions;if(null!==n){let o=e.expandoStartIndex,r=-1,s=-1;for(let e=0;e<n.length;e++){const i=n[e];"number"==typeof i?i<=0?(s=0-i,Rt(s),o+=9+n[++e],r=o):o+=i:(null!==i&&(Mt(o,r),i(2,t[r])),r++)}}}finally{Rt(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)kr(e,t[n])}(t,a);const c=e.viewQuery;if(null!==c&&Ir(2,c,o),!s)if(i){const n=e.viewCheckHooks;null!==n&&Ht(t,n)}else{const n=e.viewHooks;null!==n&&zt(t,n,2),$t(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,ct(t[3],-1))}finally{Dt()}}function rr(e,t,n,o){const r=t[10],s=!yt(),i=rt(t);try{s&&!i&&r.begin&&r.begin(),i&&nr(e,t,o),or(e,t,n,o)}finally{s&&!i&&r.end&&r.end()}}function sr(e,t,n,o,r){const s=Nt();try{Rt(-1),2&o&&t.length>20&&Go(e,t,0,yt()),n(o,r)}finally{Rt(s)}}function ir(e,t,n){if(ze(t)){const o=t.directiveEnd;for(let r=t.directiveStart;r<o;r++){const t=e.data[r];t.contentQueries&&t.contentQueries(1,n[r],r)}}}function ar(e,t,n){ht()&&(function(e,t,n,o){const r=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||un(n,t),vo(o,t);const i=n.initialInputs;for(let a=r;a<s;a++){const o=e.data[a],s=Ge(o);s&&wr(t,n,o);const c=Cn(t,e,a,n);vo(c,t),null!==i&&Mr(0,a-r,c,o,0,i),s&&(nt(n.index,t)[8]=c)}}(e,t,n,Je(n,t)),128==(128&n.flags)&&function(e,t,n){const o=n.directiveStart,r=n.directiveEnd,s=e.expandoInstructions,i=e.firstCreatePass,a=n.index-20,c=lt.lFrame.currentDirectiveIndex;try{Rt(a);for(let n=o;n<r;n++){const o=e.data[n],r=t[n];vt(n),null!==o.hostBindings||0!==o.hostVars||null!==o.hostAttrs?br(o,r):i&&s.push(null)}}finally{Rt(-1),vt(c)}}(e,t,n))}function cr(e,t,n=Je){const o=t.localNames;if(null!==o){let r=t.index+1;for(let s=0;s<o.length;s+=2){const i=o[s+1],a=-1===i?n(t,e):e[i];e[r++]=a}}}function lr(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=hr(1,-1,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function hr(e,t,n,o,r,s,i,a,c,l){const h=20+o,u=h+r,d=function(e,t){const n=[];for(let o=0;o<t;o++)n.push(o<e?null:Bo);return n}(h,u);return d[1]={type:e,id:t,blueprint:d,template:n,queries:null,viewQuery:a,node:null,data:d.slice().fill(null,h),bindingStartIndex:h,expandoStartIndex:u,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 s?s():s,pipeRegistry:"function"==typeof i?i():i,firstChild:null,schemas:c,consts:l,incompleteFirstPass:!1}}function ur(e,t,n,o,r,s){return{type:n,index:o,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,tagName:r,attrs:s,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 dr(e,t,n){for(let o in e)if(e.hasOwnProperty(o)){const r=e[o];(n=null===n?{}:n).hasOwnProperty(o)?n[o].push(t,r):n[o]=[t,r]}return n}function pr(e,t,n,o,r,s,i,a){const c=Je(t,n);let l,h=t.inputs;var u;!a&&null!=h&&(l=h[o])?(Lr(e,n,l,o,r),$e(t)&&function(e,t){const n=nt(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3===t.type&&(o="class"===(u=o)?"className":"for"===u?"htmlFor":"formaction"===u?"formAction":"innerHtml"===u?"innerHTML":"readonly"===u?"readOnly":"tabindex"===u?"tabIndex":u,r=null!=i?i(r,t.tagName||"",o):r,Qe(s)?s.setProperty(c,o,r):Qt(o)||(c.setProperty?c.setProperty(o,r):c[o]=r))}function mr(e,t,n,o){let r=!1;if(ht()){const s=function(e,t,n){const o=e.directiveRegistry;let r=null;if(o)for(let s=0;s<o.length;s++){const i=o[s];No(n,i.selectors,!1)&&(r||(r=[]),gn(un(n,t),e,i.type),Ge(i)?(2&n.flags&&Eo(n),_r(e,n),r.unshift(i)):r.push(i))}return r}(e,t,n),i=null===o?null:{"":-1};if(null!==s){let o=0;r=!0,Or(n,e.data.length,s.length);for(let e=0;e<s.length;e++){const t=s[e];t.providersResolver&&t.providersResolver(t)}yr(e,n,s.length);let a=!1,c=!1;for(let r=0;r<s.length;r++){const l=s[r];n.mergedAttrs=Wt(n.mergedAttrs,l.hostAttrs),Pr(e,t,l),Cr(e.data.length-1,l,i),null!==l.contentQueries&&(n.flags|=8),null===l.hostBindings&&null===l.hostAttrs&&0===l.hostVars||(n.flags|=128),!a&&(l.onChanges||l.onInit||l.doCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index-20),a=!0),c||!l.onChanges&&!l.doCheck||((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index-20),c=!0),gr(e,l),o+=l.hostVars}!function(e,t){const n=t.directiveEnd,o=e.data,r=t.attrs,s=[];let i=null,a=null;for(let c=t.directiveStart;c<n;c++){const e=o[c],n=e.inputs,l=null===r||xo(t)?null:vr(n,r);s.push(l),i=dr(n,c,i),a=dr(e.outputs,c,a)}null!==i&&(i.hasOwnProperty("class")&&(t.flags|=16),i.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=i,t.outputs=a}(e,n),fr(e,t,o)}i&&function(e,t,n){if(t){const o=e.localNames=[];for(let e=0;e<t.length;e+=2){const r=n[t[e+1]];if(null==r)throw new Error(`Export of name '${t[e+1]}' not found!`);o.push(t[e],r)}}}(n,o,i)}return n.mergedAttrs=Wt(n.mergedAttrs,n.attrs),r}function gr(e,t){const n=e.expandoInstructions;n.push(t.hostBindings),0!==t.hostVars&&n.push(t.hostVars)}function fr(e,t,n){for(let o=0;o<n;o++)t.push(Bo),e.blueprint.push(Bo),e.data.push(null)}function br(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function yr(e,t,n){const o=20-t.index,r=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(o,r,n)}function _r(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function Cr(e,t,n){if(n){if(t.exportAs)for(let o=0;o<t.exportAs.length;o++)n[t.exportAs[o]]=e;Ge(t)&&(n[""]=e)}}function Or(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Pr(e,t,n){e.data.push(n);const o=n.factory||(n.factory=Le(n.type)),r=new Kt(o,Ge(n),null);e.blueprint.push(r),t.push(r)}function wr(e,t,n){const o=Je(t,e),r=lr(n),s=e[10],i=Sr(e,er(e,r,null,n.onPush?64:16,o,t,s,s.createRenderer(o,n)));e[t.index]=i}function Mr(e,t,n,o,r,s){const i=s[t];if(null!==i){const e=o.setInput;for(let t=0;t<i.length;){const r=i[t++],s=i[t++],a=i[t++];null!==e?o.setInput(n,a,r,s):n[s]=a}}}function vr(e,t){let n=null,o=0;for(;o<t.length;){const r=t[o];if(0!==r)if(5!==r){if("number"==typeof r)break;e.hasOwnProperty(r)&&(null===n&&(n=[]),n.push(r,e[r],t[o+1])),o+=2}else o+=2;else o+=4}return n}function Er(e,t,n,o){return new Array(e,!0,!1,t,null,0,o,n,null,null)}function kr(e,t){const n=nt(t,e);if(st(n)){const e=n[1];80&n[2]?or(e,n,e.template,n[8]):n[5]>0&&function e(t){for(let o=Ho(t);null!==o;o=zo(o))for(let t=10;t<o.length;t++){const n=o[t];if(1024&n[2]){const e=n[1];or(e,n,e.template,n[8])}else n[5]>0&&e(n)}const n=t[1].components;if(null!==n)for(let o=0;o<n.length;o++){const r=nt(n[o],t);st(r)&&r[5]>0&&e(r)}}(n)}}function Tr(e,t){const n=nt(t,e),o=n[1];!function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])}(o,n),nr(o,n,n[8])}function Sr(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function xr(e){for(;e;){e[2]|=64;const t=Fo(e);if(Ke(e)&&!t)return e;e=t}return null}function Ar(e,t,n){const o=t[10];o.begin&&o.begin();try{or(e,t,e.template,n)}catch(r){throw Ur(t,r),r}finally{o.end&&o.end()}}function jr(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],o=ot(n),r=o[1];rr(r,o,r.template,n)}}(e[8])}function Ir(e,t,n){kt(0),t(e,n)}const Dr=(()=>Promise.resolve(null))();function Nr(e){return e[7]||(e[7]=[])}function Rr(e){return e.cleanup||(e.cleanup=[])}function Ur(e,t){const n=e[9],o=n?n.get(Tn,null):null;o&&o.handleError(t)}function Lr(e,t,n,o,r){for(let s=0;s<n.length;){const i=n[s++],a=n[s++],c=t[i],l=e.data[i];null!==l.setInput?l.setInput(c,r,o,a):c[a]=r}}function Br(e,t,n){const o=Ze(t,e),r=e[11];Qe(r)?r.setValue(o,n):o.textContent=n}function Fr(e,t){const n=t[3];return-1===e.index?He(n)?n:null:n}function Hr(e,t){const n=Fr(e,t);return n?Jr(t[11],n[7]):null}function zr(e,t,n,o,r){if(null!=o){let s,i=!1;He(o)?s=o:Fe(o)&&(i=!0,o=o[0]);const a=Xe(o);0===e&&null!==n?null==r?Xr(t,n,a):Wr(t,n,a,r||null):1===e&&null!==n?Wr(t,n,a,r||null):2===e?function(e,t,n){const o=Jr(e,t);o&&function(e,t,n,o){Qe(e)?e.removeChild(t,n,o):t.removeChild(n)}(e,o,t,n)}(t,a,i):3===e&&t.destroyNode(a),null!=s&&function(e,t,n,o,r){const s=n[7];s!==Xe(n)&&zr(t,e,o,s,r);for(let i=10;i<n.length;i++){const r=n[i];rs(r[1],r,e,t,o,s)}}(t,e,s,n,r)}}function $r(e,t,n,o){const r=Hr(e.node,t);r&&rs(e,t,t[11],n?1:2,r,o)}function Vr(e,t){const n=e[9],o=n.indexOf(t);1024&t[2]&&ct(t[3],-1),n.splice(o,1)}function Gr(e,t){if(e.length<=10)return;const n=10+t,o=e[n];if(o){const r=o[17];null!==r&&r!==e&&Vr(r,o),t>0&&(e[n-1][4]=o[4]);const s=ye(e,10+t);$r(o[1],o,!1,null);const i=s[19];null!==i&&i.detachView(s[1]),o[3]=null,o[4]=null,o[2]&=-129}return o}function Kr(e,t){if(!(256&t[2])){const n=t[11];Qe(n)&&n.destroyNode&&rs(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Yr(e[1],e);for(;t;){let n=null;if(Fe(t))n=t[13];else{const e=t[10];e&&(n=e)}if(!n){for(;t&&!t[4]&&t!==e;)Fe(t)&&Yr(t[1],t),t=qr(t,e);null===t&&(t=e),Fe(t)&&Yr(t[1],t),n=t&&t[4]}t=n}}(t)}}function qr(e,t){let n;return Fe(e)&&(n=e[6])&&2===n.type?Fr(n,e):e[3]===t?null:e[3]}function Yr(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let o=0;o<n.length;o+=2){const e=t[n[o]];if(!(e instanceof Kt)){const t=n[o+1];if(Array.isArray(t))for(let n=0;n<t.length;n+=2)t[n+1].call(e[t[n]]);else t.call(e)}}}(e,t),function(e,t){const n=e.cleanup;if(null!==n){const e=t[7];for(let o=0;o<n.length-1;o+=2)if("string"==typeof n[o]){const r=n[o+1],s="function"==typeof r?r(t):Xe(t[r]),i=e[n[o+2]],a=n[o+3];"boolean"==typeof a?s.removeEventListener(n[o],i,a):a>=0?e[a]():e[-a].unsubscribe(),o+=2}else n[o].call(e[n[o+1]]);t[7]=null}}(e,t);const n=t[6];n&&3===n.type&&Qe(t[11])&&t[11].destroy();const o=t[17];if(null!==o&&He(t[3])){o!==t[3]&&Vr(o,t);const n=t[19];null!==n&&n.detachView(e)}}}function Qr(e,t,n){let o=t.parent;for(;null!=o&&(4===o.type||5===o.type);)o=(t=o).parent;if(null==o){const e=n[6];return 2===e.type?Hr(e,n):n[0]}if(t&&5===t.type&&4&t.flags)return Je(t,n).parentNode;if(2&o.flags){const t=e.data,n=t[t[o.index].directiveStart].encapsulation;if(n!==Me.ShadowDom&&n!==Me.Native)return null}return Je(o,n)}function Wr(e,t,n,o){Qe(e)?e.insertBefore(t,n,o):t.insertBefore(n,o,!0)}function Xr(e,t,n){Qe(e)?e.appendChild(t,n):t.appendChild(n)}function Zr(e,t,n,o){null!==o?Wr(e,t,n,o):Xr(e,t,n)}function Jr(e,t){return Qe(e)?e.parentNode(t):t.parentNode}function es(e,t){if(2===e.type){const n=Fr(e,t);return null===n?null:ns(n.indexOf(t,10)-10,n)}return 4===e.type||5===e.type?Je(e,t):null}function ts(e,t,n,o){const r=Qr(e,o,t);if(null!=r){const e=t[11],s=es(o.parent||t[6],t);if(Array.isArray(n))for(let t=0;t<n.length;t++)Zr(e,r,n[t],s);else Zr(e,r,n,s)}}function ns(e,t){const n=10+e+1;if(n<t.length){const e=t[n],o=e[1].firstChild;if(null!==o)return function e(t,n){if(null!==n){const o=n.type;if(3===o)return Je(n,t);if(0===o)return ns(-1,t[n.index]);if(4===o||5===o){const o=n.child;if(null!==o)return e(t,o);{const e=t[n.index];return He(e)?ns(-1,e):Xe(e)}}{const o=t[16],r=o[6],s=Fo(o),i=r.projection[n.projection];return null!=i?e(s,i):e(t,n.next)}}return null}(e,o)}return t[7]}function os(e,t,n,o,r,s,i){for(;null!=n;){const a=o[n.index],c=n.type;i&&0===t&&(a&&vo(Xe(a),o),n.flags|=4),64!=(64&n.flags)&&(4===c||5===c?(os(e,t,n.child,o,r,s,!1),zr(t,e,r,a,s)):1===c?ss(e,t,o,n,r,s):zr(t,e,r,a,s)),n=i?n.projectionNext:n.next}}function rs(e,t,n,o,r,s){os(n,o,e.node.child,t,r,s,!1)}function ss(e,t,n,o,r,s){const i=n[16],a=i[6].projection[o.projection];if(Array.isArray(a))for(let c=0;c<a.length;c++)zr(t,e,r,a[c],s);else os(e,t,a,i[3],r,s,!0)}function is(e,t,n){Qe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function as(e,t,n){Qe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}class cs{constructor(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}get rootNodes(){const e=this._lView;return null==e[0]?function e(t,n,o,r,s=!1){for(;null!==o;){const i=n[o.index];if(null!==i&&r.push(Xe(i)),He(i))for(let t=10;t<i.length;t++){const n=i[t],o=n[1].firstChild;null!==o&&e(n[1],n,o,r)}const a=o.type;if(4===a||5===a)e(t,n,o.child,r);else if(1===a){const t=n[16],s=t[6].projection[o.projection];if(Array.isArray(s))r.push(...s);else{const n=Fo(t);e(n[1],n,s,r,!0)}}o=s?o.projectionNext:o.next}return r}(e[1],e,e[6].child,[]):[]}get context(){return this._lView[8]}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){const e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}Kr(this._lView[1],this._lView)}onDestroy(e){var t,n,o;t=this._lView[1],o=e,Nr(n=this._lView).push(o),t.firstCreatePass&&Rr(t).push(n[7].length-1,null)}markForCheck(){xr(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ar(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){_t(!0);try{Ar(e,t,n)}finally{_t(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}detachFromAppRef(){var e;this._appRef=null,rs(this._lView[1],e=this._lView,e[11],2,null,null)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}}class ls extends cs{constructor(e){super(e),this._view=e}detectChanges(){jr(this._view)}checkNoChanges(){!function(e){_t(!0);try{jr(e)}finally{_t(!1)}}(this._view)}get context(){return null}}let hs,us,ds;function ps(e,t,n){return hs||(hs=class extends e{}),new hs(Je(t,n))}function ms(e,t,n,o){return us||(us=class extends e{constructor(e,t,n){super(),this._declarationView=e,this._declarationTContainer=t,this.elementRef=n}createEmbeddedView(e){const t=this._declarationTContainer.tViews,n=er(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];const o=this._declarationView[19];return null!==o&&(n[19]=o.createEmbeddedView(t)),nr(t,n,e),new cs(n)}}),0===n.type?new us(o,n,ps(t,n,o)):null}function gs(e,t,n,o){let r;ds||(ds=class extends e{constructor(e,t,n){super(),this._lContainer=e,this._hostTNode=t,this._hostView=n}get element(){return ps(t,this._hostTNode,this._hostView)}get injector(){return new wn(this._hostTNode,this._hostView)}get parentInjector(){const e=mn(this._hostTNode,this._hostView),t=tn(e,this._hostView),n=function(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){const e=n.parent.injectorIndex;let t=n.parent;for(;null!=t.parent&&e==t.parent.injectorIndex;)t=t.parent;return t}let o=en(e),r=t,s=t[6];for(;o>1;)r=r[15],s=r[6],o--;return s}(e,this._hostView,this._hostTNode);return Zt(e)&&null!=n?new wn(n,t):new wn(null,this._hostView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null}get length(){return this._lContainer.length-10}createEmbeddedView(e,t,n){const o=e.createEmbeddedView(t||{});return this.insert(o,n),o}createComponent(e,t,n,o,r){const s=n||this.parentInjector;if(!r&&null==e.ngModule&&s){const e=s.get(me,null);e&&(r=e)}const i=e.create(s,o,void 0,r);return this.insert(i.hostView,t),i}insert(e,t){const n=e._lView,o=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),He(n[3])){const t=this.indexOf(e);if(-1!==t)this.detach(t);else{const t=n[3],o=new ds(t,t[6],t[3]);o.detach(o.indexOf(e))}}const r=this._adjustIndex(t);return function(e,t,n,o){const r=10+o,s=n.length;o>0&&(n[r-1][4]=t),o<s-10?(t[4]=n[r],be(n,10+o,t)):(n.push(t),t[4]=null),t[3]=n;const i=t[17];null!==i&&n!==i&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(i,t);const a=t[19];null!==a&&a.insertView(e),t[2]|=128}(o,n,this._lContainer,r),$r(o,n,!0,ns(r,this._lContainer)),e.attachToViewContainerRef(this),be(this._lContainer[8],r,e),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)}indexOf(e){const t=this._lContainer[8];return null!==t?t.indexOf(e):-1}remove(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1);!function(e,t){const n=Gr(e,t);n&&Kr(n[1],n)}(this._lContainer,t),ye(this._lContainer[8],t)}detach(e){this.allocateContainerIfNeeded();const t=this._adjustIndex(e,-1),n=Gr(this._lContainer,t);return n&&null!=ye(this._lContainer[8],t)?new cs(n):null}_adjustIndex(e,t=0){return null==e?this.length+t:e}allocateContainerIfNeeded(){null===this._lContainer[8]&&(this._lContainer[8]=[])}});const s=o[n.index];if(He(s))r=s;else{let e;if(4===n.type)e=Xe(s);else if(e=o[11].createComment(""),Ke(o)){const t=o[11],r=Je(n,o);Wr(t,Jr(t,r),e,function(e,t){return Qe(e)?e.nextSibling(t):t.nextSibling}(t,r))}else ts(o[1],o,e,n);o[n.index]=r=Er(s,o,e,n),Sr(o,r)}return new ds(r,n,o)}function fs(e=!1){return function(e,t,n){if(!n&&$e(e)){const n=nt(e.index,t);return new cs(n,n)}return 3===e.type||0===e.type||4===e.type||5===e.type?new cs(t[16],t):null}(mt(),ut(),e)}let bs=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>ys(),e})();const ys=fs,_s=new ee("Set Injector scope."),Cs={},Os={},Ps=[];let ws=void 0;function Ms(){return void 0===ws&&(ws=new pe),ws}function vs(e,t=null,n=null,o){return new Es(e,n,t||Ms(),o)}class Es{constructor(e,t,n,o=null){this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const r=[];t&&fe(t,n=>this.processProvider(n,e,t)),fe([e],e=>this.processInjectorType(e,[],r)),this.records.set(te,Ss(void 0,this));const s=this.records.get(_s);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof e?null:R(e))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(e=>e.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(e,t=ne,n=w.Default){this.assertNotDestroyed();const o=ae(this);try{if(!(n&w.SkipSelf)){let t=this.records.get(e);if(void 0===t){const n=("function"==typeof(r=e)||"object"==typeof r&&r instanceof ee)&&T(e);t=n&&this.injectableDefInScope(n)?Ss(ks(e),Cs):null,this.records.set(e,t)}if(null!=t)return this.hydrate(e,t)}return(n&w.Self?Ms():this.parent).get(e,t=n&w.Optional&&t===ne?null:t)}catch(s){if("NullInjectorError"===s.name){if((s.ngTempTokenPath=s.ngTempTokenPath||[]).unshift(R(e)),o)throw s;return function(e,t,n,o){const r=e.ngTempTokenPath;throw t.__source&&r.unshift(t.__source),e.message=function(e,t,n,o=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let r=R(t);if(Array.isArray(t))r=t.map(R).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let o=t[n];e.push(n+":"+("string"==typeof o?JSON.stringify(o):R(o)))}r=`{${e.join(", ")}}`}return`${n}${o?"("+o+")":""}[${r}]: ${e.replace(oe,"\n ")}`}("\n"+e.message,r,n,o),e.ngTokenPath=r,e.ngTempTokenPath=null,e}(s,e,"R3InjectorError",this.source)}throw s}finally{ae(o)}var r}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(e=>this.get(e))}toString(){const e=[];return this.records.forEach((t,n)=>e.push(R(n))),`R3Injector[${e.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(e,t,n){if(!(e=F(e)))return!1;let o=x(e);const r=null==o&&e.ngModule||void 0,s=void 0===r?e:r,i=-1!==n.indexOf(s);if(void 0!==r&&(o=x(r)),null==o)return!1;if(null!=o.imports&&!i){let e;n.push(s);try{fe(o.imports,o=>{this.processInjectorType(o,t,n)&&(void 0===e&&(e=[]),e.push(o))})}finally{}if(void 0!==e)for(let t=0;t<e.length;t++){const{ngModule:n,providers:o}=e[t];fe(o,e=>this.processProvider(e,n,o||Ps))}}this.injectorDefTypes.add(s),this.records.set(s,Ss(o.factory,Cs));const a=o.providers;if(null!=a&&!i){const t=e;fe(a,e=>this.processProvider(e,t,a))}return void 0!==r&&void 0!==e.providers}processProvider(e,t,n){let o=As(e=F(e))?e:F(e&&e.provide);const r=function(e,t,n){return xs(e)?Ss(void 0,e.useValue):Ss(Ts(e,t,n),Cs)}(e,t,n);if(As(e)||!0!==e.multi){const e=this.records.get(o);e&&void 0!==e.multi&&ko()}else{let t=this.records.get(o);t?void 0===t.multi&&ko():(t=Ss(void 0,Cs,!0),t.factory=()=>de(t.multi),this.records.set(o,t)),o=e,t.multi.push(e)}this.records.set(o,r)}hydrate(e,t){var n;return t.value===Os?function(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(R(e)):t.value===Cs&&(t.value=Os,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}injectableDefInScope(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||e.providedIn===this.scope:this.injectorDefTypes.has(e.providedIn))}}function ks(e){const t=T(e),n=null!==t?t.factory:Le(e);if(null!==n)return n;const o=x(e);if(null!==o)return o.factory;if(e instanceof ee)throw new Error(`Token ${R(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const n=_e(t,"?");throw new Error(`Can't resolve all parameters for ${R(e)}: (${n.join(", ")}).`)}const n=function(e){const t=e&&(e[A]||e[D]||e[I]&&e[I]());if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function Ts(e,t,n){let o=void 0;if(As(e)){const t=F(e);return Le(t)||ks(t)}if(xs(e))o=()=>F(e.useValue);else if((r=e)&&r.useFactory)o=()=>e.useFactory(...de(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))o=()=>he(F(e.useExisting));else{const r=F(e&&(e.useClass||e.provide));if(r||function(e,t,n){let o="";throw e&&t&&(o=` - only instances of Provider and Type are allowed, got: [${t.map(e=>e==n?"?"+n+"?":"...").join(", ")}]`),new Error(`Invalid provider for the NgModule '${R(e)}'`+o)}(t,n,e),!function(e){return!!e.deps}(e))return Le(r)||ks(r);o=()=>new r(...de(e.deps))}var r;return o}function Ss(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function xs(e){return null!==e&&"object"==typeof e&&re in e}function As(e){return"function"==typeof e}const js=function(e,t,n){return function(e,t=null,n=null,o){const r=vs(e,t,n,o);return r._resolveInjectorDefTypes(),r}({name:n},t,e,n)};let Is=(()=>{class e{static create(e,t){return Array.isArray(e)?js(e,t,""):js(e.providers,e.parent,e.name||"")}}return e.THROW_IF_NOT_FOUND=ne,e.NULL=new pe,e.\u0275prov=E({token:e,providedIn:"any",factory:()=>he(te)}),e.__NG_ELEMENT_ID__=-1,e})();const Ds=new ee("AnalyzeForEntryComponents");let Ns=new Map;const Rs=new Set;function Us(e){return"string"==typeof e?e:e.text()}function Ls(e,t,n){let o=n?e.styles:null,r=n?e.classes:null,s=0;if(null!==t)for(let i=0;i<t.length;i++){const e=t[i];"number"==typeof e?s=e:1==s?r=U(r,e):2==s&&(o=U(o,e+": "+t[++i]+";"))}n?e.styles=o:e.stylesWithoutHost=o,n?e.classes=r:e.classesWithoutHost=r}let Bs=null;function Fs(){if(!Bs){const e=K.Symbol;if(e&&e.iterator)Bs=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(Bs=n)}}}return Bs}function Hs(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}class zs{constructor(e){this.wrapped=e}static wrap(e){return new zs(e)}static unwrap(e){return zs.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof zs}}function $s(e){return!!Vs(e)&&(Array.isArray(e)||!(e instanceof Map)&&Fs()in e)}function Vs(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Gs(e,t,n){return e[t]=n}function Ks(e,t){return e[t]}function qs(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Ys(e,t,n,o){const r=qs(e,t,n);return qs(e,t+1,o)||r}function Qs(e,t,n,o,r){const s=Ys(e,t,n,o);return qs(e,t+2,r)||s}function Ws(e,t,n,o){const r=ut();return qs(r,Pt(),t)&&(dt(),function(e,t,n,o,r,s){const i=Je(e,t),a=t[11];if(null==o)Qe(a)?a.removeAttribute(i,n,s):i.removeAttribute(n);else{const t=null==r?nn(o):r(o,e.tagName||"",n);Qe(a)?a.setAttribute(i,n,t,s):s?i.setAttributeNS(s,n,t):i.setAttribute(n,t)}}(Ut(),r,e,t,n,o)),Ws}function Xs(e,t,n,o,r,s,i,a){const c=ut(),l=dt(),h=e+20,u=l.firstCreatePass?function(e,t,n,o,r,s,i,a,c){const l=t.consts,h=tr(t,n[6],e,0,i||null,it(l,a));mr(t,n,h,it(l,c)),Ft(t,h);const u=h.tViews=hr(2,-1,o,r,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,l),d=ur(0,null,2,-1,null,null);return d.injectorIndex=h.injectorIndex,u.node=d,null!==t.queries&&(t.queries.template(t,h),u.queries=t.queries.embeddedTView(h)),h}(e,l,c,t,n,o,r,s,i):l.data[h];gt(u,!1);const d=c[11].createComment("");ts(l,c,d,u),vo(d,c),Sr(c,c[h]=Er(d,c,d,u)),Ve(u)&&ar(l,c,u),null!=i&&cr(c,u,a)}function Zs(e){return tt(lt.lFrame.contextLView,e)}function Js(e,t=w.Default){const n=ut();return null==n?he(e,t):fn(mt(),n,F(e),t)}function ei(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const e=n.length;let o=0;for(;o<e;){const r=n[o];if(Yt(r))break;if(0===r)o+=2;else if("number"==typeof r)for(o++;o<e&&"string"==typeof n[o];)o++;else{if(r===t)return n[o+1];o+=2}}}return null}(mt(),e)}function ti(){throw new Error("invalid")}function ni(e,t,n){const o=ut();return qs(o,Pt(),t)&&pr(dt(),Ut(),o,e,t,o[11],n,!1),ni}function oi(e,t,n,o,r){const s=r?"class":"style";Lr(e,n,t.inputs[s],s,o)}function ri(e,t,n,o){const r=ut(),s=dt(),i=20+e,a=r[11],c=r[i]=Jo(t,a,lt.lFrame.currentNamespace),l=s.firstCreatePass?function(e,t,n,o,r,s,i){const a=t.consts,c=it(a,s),l=tr(t,n[6],e,3,r,c);return mr(t,n,l,it(a,i)),null!==l.attrs&&Ls(l,l.attrs,!1),null!==l.mergedAttrs&&Ls(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(e,s,r,0,t,n,o):s.data[i];gt(l,!0);const h=l.mergedAttrs;null!==h&&qt(a,c,h);const u=l.classes;null!==u&&as(a,c,u);const d=l.styles;null!==d&&is(a,c,d),ts(s,r,c,l),0===lt.lFrame.elementDepthCount&&vo(c,r),lt.lFrame.elementDepthCount++,Ve(l)&&(ar(s,r,l),ir(s,l,r)),null!==o&&cr(r,l)}function si(){let e=mt();ft()?bt():(e=e.parent,gt(e,!1));const t=e;lt.lFrame.elementDepthCount--;const n=dt();n.firstCreatePass&&(Ft(n,e),ze(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&oi(n,t,ut(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&oi(n,t,ut(),t.stylesWithoutHost,!1)}function ii(e,t,n,o){ri(e,t,n,o),si()}function ai(e,t,n){const o=ut(),r=dt(),s=e+20,i=r.firstCreatePass?function(e,t,n,o,r){const s=t.consts,i=it(s,o),a=tr(t,n[6],e,4,"ng-container",i);return null!==i&&Ls(a,i,!0),mr(t,n,a,it(s,r)),null!==t.queries&&t.queries.elementStart(t,a),a}(e,r,o,t,n):r.data[s];gt(i,!0);const a=o[s]=o[11].createComment("");ts(r,o,a,i),vo(a,o),Ve(i)&&(ar(r,o,i),ir(r,i,o)),null!=n&&cr(o,i)}function ci(){let e=mt();const t=dt();ft()?bt():(e=e.parent,gt(e,!1)),t.firstCreatePass&&(Ft(t,e),ze(e)&&t.queries.elementEnd(e))}function li(){return ut()}function hi(e){return!!e&&"function"==typeof e.then}function ui(e){return!!e&&"function"==typeof e.subscribe}function di(e,t,n=!1,o){const r=ut(),s=dt(),i=mt();return function(e,t,n,o,r,s,i=!1,a){const c=Ve(o),l=e.firstCreatePass&&(e.cleanup||(e.cleanup=[])),h=Nr(t);let u=!0;if(3===o.type){const d=Je(o,t),p=a?a(d):ve,m=p.target||d,g=h.length,f=a?e=>a(Xe(e[o.index])).target:o.index;if(Qe(n)){let i=null;if(!a&&c&&(i=function(e,t,n,o){const r=e.cleanup;if(null!=r)for(let s=0;s<r.length-1;s+=2){const e=r[s];if(e===n&&r[s+1]===o){const e=t[7],n=r[s+2];return e.length>n?e[n]:null}"string"==typeof e&&(s+=2)}return null}(e,t,r,o.index)),null!==i)(i.__ngLastListenerFn__||i).__ngNextListenerFn__=s,i.__ngLastListenerFn__=s,u=!1;else{s=mi(o,t,s,!1);const e=n.listen(p.name||m,r,s);h.push(s,e),l&&l.push(r,f,g,g+1)}}else s=mi(o,t,s,!0),m.addEventListener(r,s,i),h.push(s),l&&l.push(r,f,g,i)}const d=o.outputs;let p;if(u&&null!==d&&(p=d[r])){const e=p.length;if(e)for(let n=0;n<e;n+=2){const e=t[p[n]][p[n+1]].subscribe(s),i=h.length;h.push(s,e),l&&l.push(r,o.index,i,-(i+1))}}}(s,r,r[11],i,e,t,n,o),di}function pi(e,t,n){try{return!1!==t(n)}catch(o){return Ur(e,o),!1}}function mi(e,t,n,o){return function r(s){if(s===Function)return n;const i=2&e.flags?nt(e.index,t):t;0==(32&t[2])&&xr(i);let a=pi(t,n,s),c=r.__ngNextListenerFn__;for(;c;)a=pi(t,c,s)&&a,c=c.__ngNextListenerFn__;return o&&!1===a&&(s.preventDefault(),s.returnValue=!1),a}}function gi(e=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 fi(e,t){let n=null;const o=function(e){const t=e.attrs;if(null!=t){const e=t.indexOf(5);if(0==(1&e))return t[e+1]}return null}(e);for(let r=0;r<t.length;r++){const s=t[r];if("*"!==s){if(null===o?No(e,s,!0):Ro(o,s))return r}else n=r}return n}function bi(e){const t=ut()[16][6];if(!t.projection){const n=t.projection=_e(e?e.length:1,null),o=n.slice();let r=t.child;for(;null!==r;){const t=e?fi(r,e):0;null!==t&&(o[t]?o[t].projectionNext=r:n[t]=r,o[t]=r),r=r.next}}}function yi(e,t=0,n){const o=ut(),r=dt(),s=tr(r,o[6],e,1,null,n||null);null===s.projection&&(s.projection=t),bt(),function(e,t,n){ss(t[11],0,t,n,Qr(e,n,t),es(n.parent||t[6],t))}(r,o,s)}const _i=[];function Ci(e,t,n,o,r){const s=e[n+1],i=null===t;let a=o?qo(s):Qo(s),c=!1;for(;0!==a&&(!1===c||i);){const n=e[a+1];Oi(e[a],t)&&(c=!0,e[a+1]=o?Xo(n):Yo(n)),a=o?qo(n):Qo(n)}c&&(e[n+1]=o?Yo(s):Xo(s))}function Oi(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&Pe(e,t)>=0}const Pi={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function wi(e){return e.substring(Pi.key,Pi.keyEnd)}function Mi(e){return e.substring(Pi.value,Pi.valueEnd)}function vi(e,t){const n=Pi.textEnd;return n===t?-1:(t=Pi.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Pi.key=t,n),Ti(e,t,n))}function Ei(e,t){const n=Pi.textEnd;let o=Pi.key=Ti(e,t,n);return n===o?-1:(o=Pi.keyEnd=function(e,t,n){let o;for(;t<n&&(45===(o=e.charCodeAt(t))||95===o||(-33&o)>=65&&(-33&o)<=90);)t++;return t}(e,o,n),o=Si(e,o,n),o=Pi.value=Ti(e,o,n),o=Pi.valueEnd=function(e,t,n){let o=-1,r=-1,s=-1,i=t,a=i;for(;i<n;){const c=e.charCodeAt(i++);if(59===c)return a;34===c||39===c?a=i=xi(e,c,i,n):t===i-4&&85===s&&82===r&&76===o&&40===c?a=i=xi(e,41,i,n):c>32&&(a=i),s=r,r=o,o=-33&c}return a}(e,o,n),Si(e,o,n))}function ki(e){Pi.key=0,Pi.keyEnd=0,Pi.value=0,Pi.valueEnd=0,Pi.textEnd=e.length}function Ti(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Si(e,t,n,o){return(t=Ti(e,t,n))<n&&t++,t}function xi(e,t,n,o){let r=-1,s=n;for(;s<o;){const n=e.charCodeAt(s++);if(n==t&&92!==r)return s;r=92==n&&92===r?0:n}throw new Error}function Ai(e,t,n){return Ui(e,t,n,!1),Ai}function ji(e,t){return Ui(e,t,null,!0),ji}function Ii(e){Li($i,Di,e,!1)}function Di(e,t){for(let n=function(e){return ki(e),Ei(e,Ti(e,0,Pi.textEnd))}(t);n>=0;n=Ei(t,n))$i(e,wi(t),Mi(t))}function Ni(e){Li(Ce,Ri,e,!0)}function Ri(e,t){for(let n=function(e){return ki(e),vi(e,Ti(e,0,Pi.textEnd))}(t);n>=0;n=vi(t,n))Ce(e,wi(t),!0)}function Ui(e,t,n,o){const r=ut(),s=dt(),i=wt(2);if(s.firstUpdatePass&&Fi(s,e,i,o),t!==Bo&&qs(r,i,t)){let a;null==n&&(a=function(){const e=lt.lFrame;return null===e?null:e.currentSanitizer}())&&(n=a),Vi(s,s.data[Nt()+20],r,r[11],e,r[i+1]=function(e,t){return null==e||("function"==typeof t?e=t(e):"string"==typeof t?e+=t:"object"==typeof e&&(e=R(Nn(e)))),e}(t,n),o,i)}}function Li(e,t,n,o){const r=dt(),s=wt(2);r.firstUpdatePass&&Fi(r,null,s,o);const i=ut();if(n!==Bo&&qs(i,s,n)){const a=r.data[Nt()+20];if(qi(a,o)&&!Bi(r,s)){let e=o?a.classesWithoutHost:a.stylesWithoutHost;null!==e&&(n=U(e,n||"")),oi(r,a,i,n,o)}else!function(e,t,n,o,r,s,i,a){r===Bo&&(r=_i);let c=0,l=0,h=0<r.length?r[0]:null,u=0<s.length?s[0]:null;for(;null!==h||null!==u;){const d=c<r.length?r[c+1]:void 0,p=l<s.length?s[l+1]:void 0;let m=null,g=void 0;h===u?(c+=2,l+=2,d!==p&&(m=u,g=p)):null===u||null!==h&&h<u?(c+=2,m=h):(l+=2,m=u,g=p),null!==m&&Vi(e,t,n,o,m,g,i,a),h=c<r.length?r[c]:null,u=l<s.length?s[l]:null}}(r,a,i,i[11],i[s+1],i[s+1]=function(e,t,n){if(null==n||""===n)return _i;const o=[],r=Nn(n);if(Array.isArray(r))for(let s=0;s<r.length;s++)e(o,r[s],!0);else if("object"==typeof r)for(const s in r)r.hasOwnProperty(s)&&e(o,s,r[s]);else"string"==typeof r&&t(o,r);return o}(e,t,n),o,s)}}function Bi(e,t){return t>=e.expandoStartIndex}function Fi(e,t,n,o){const r=e.data;if(null===r[n+1]){const s=r[Nt()+20],i=Bi(e,n);qi(s,o)&&null===t&&!i&&(t=!1),t=function(e,t,n,o){const r=function(e){const t=lt.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}(e);let s=o?t.residualClasses:t.residualStyles;if(null===r)0===(o?t.classBindings:t.styleBindings)&&(n=zi(n=Hi(null,e,t,n,o),t.attrs,o),s=null);else{const i=t.directiveStylingLast;if(-1===i||e[i]!==r)if(n=Hi(r,e,t,n,o),null===s){let n=function(e,t,n){const o=n?t.classBindings:t.styleBindings;if(0!==Qo(o))return e[qo(o)]}(e,t,o);void 0!==n&&Array.isArray(n)&&(n=Hi(null,e,t,n[1],o),n=zi(n,t.attrs,o),function(e,t,n,o){e[qo(n?t.classBindings:t.styleBindings)]=o}(e,t,o,n))}else s=function(e,t,n){let o=void 0;const r=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<r;s++)o=zi(o,e[s].hostAttrs,n);return zi(o,t.attrs,n)}(e,t,o)}return void 0!==s&&(o?t.residualClasses=s:t.residualStyles=s),n}(r,s,t,o),function(e,t,n,o,r,s){let i=s?t.classBindings:t.styleBindings,a=qo(i),c=Qo(i);e[o]=n;let l,h=!1;if(Array.isArray(n)){const e=n;l=e[1],(null===l||Pe(e,l)>0)&&(h=!0)}else l=n;if(r)if(0!==c){const t=qo(e[a+1]);e[o+1]=Ko(t,a),0!==t&&(e[t+1]=Wo(e[t+1],o)),e[a+1]=131071&e[a+1]|o<<17}else e[o+1]=Ko(a,0),0!==a&&(e[a+1]=Wo(e[a+1],o)),a=o;else e[o+1]=Ko(c,0),0===a?a=o:e[c+1]=Wo(e[c+1],o),c=o;h&&(e[o+1]=Yo(e[o+1])),Ci(e,l,o,!0),Ci(e,l,o,!1),function(e,t,n,o,r){const s=r?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&Pe(s,t)>=0&&(n[o+1]=Xo(n[o+1]))}(t,l,e,o,s),i=Ko(a,c),s?t.classBindings=i:t.styleBindings=i}(r,s,t,n,i,o)}}function Hi(e,t,n,o,r){let s=null;const i=n.directiveEnd;let a=n.directiveStylingLast;for(-1===a?a=n.directiveStart:a++;a<i&&(s=t[a],o=zi(o,s.hostAttrs,r),s!==e);)a++;return null!==e&&(n.directiveStylingLast=a),o}function zi(e,t,n){const o=n?1:2;let r=-1;if(null!==t)for(let s=0;s<t.length;s++){const i=t[s];"number"==typeof i?r=i:r===o&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),Ce(e,i,!!n||t[++s]))}return void 0===e?null:e}function $i(e,t,n){wo(t)&&(n=Co(n)),Ce(e,t,n)}function Vi(e,t,n,o,r,s,i,a){if(3!==t.type)return;const c=e.data,l=c[a+1];Ki(1==(1&l)?Gi(c,t,n,r,Qo(l),i):void 0)||(Ki(s)||function(e){return 2==(2&e)}(l)&&(s=Gi(c,null,n,r,a,i)),function(e,t,n,o,r){const s=Qe(e);if(t)r?s?e.addClass(n,o):n.classList.add(o):s?e.removeClass(n,o):n.classList.remove(o);else{const t=-1==o.indexOf("-")?void 0:2;null==r?s?e.removeStyle(n,o,t):n.style.removeProperty(o):s?e.setStyle(n,o,r,t):n.style.setProperty(o,r)}}(o,i,Ze(Nt(),n),r,s))}function Gi(e,t,n,o,r,s){const i=null===t;let a=void 0;for(;r>0;){const t=e[r],s=Array.isArray(t),c=s?t[1]:t,l=null===c;let h=n[r+1];h===Bo&&(h=l?_i:void 0);let u=l?Oe(h,o):c===o?h:void 0;if(s&&!Ki(u)&&(u=Oe(t,o)),Ki(u)&&(a=u,i))return a;const d=e[r+1];r=i?qo(d):Qo(d)}if(null!==t){let e=s?t.residualClasses:t.residualStyles;null!=e&&(a=Oe(e,o))}return a}function Ki(e){return void 0!==e}function qi(e,t){return 0!=(e.flags&(t?16:32))}function Yi(e,t=""){const n=ut(),o=dt(),r=e+20,s=o.firstCreatePass?tr(o,n[6],e,3,null,null):o.data[r],i=n[r]=function(e,t){return Qe(t)?t.createText(e):t.createTextNode(e)}(t,n[11]);ts(o,n,i,s),gt(s,!1)}function Qi(e){return Wi("",e,""),Qi}function Wi(e,t,n){const o=ut(),r=function(e,t,n,o){return qs(e,Pt(),n)?t+nn(n)+o:Bo}(o,e,t,n);return r!==Bo&&Br(o,Nt(),r),Wi}function Xi(e,t,n,o,r){const s=ut(),i=function(e,t,n,o,r,s){const i=Ys(e,Ot(),n,r);return wt(2),i?t+nn(n)+o+nn(r)+s:Bo}(s,e,t,n,o,r);return i!==Bo&&Br(s,Nt(),i),Xi}function Zi(e,t,n){const o=ut();return qs(o,Pt(),t)&&pr(dt(),Ut(),o,e,t,o[11],n,!0),Zi}function Ji(e,t){const n=ot(e)[1],o=n.data.length-1;Ft(n,{directiveStart:o,directiveEnd:o+1})}function ea(e){let t=Object.getPrototypeOf(e.type.prototype).constructor,n=!0;const o=[e];for(;t;){let r=void 0;if(Ge(e))r=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");r=t.\u0275dir}if(r){if(n){o.push(r);const t=e;t.inputs=ta(e.inputs),t.declaredInputs=ta(e.declaredInputs),t.outputs=ta(e.outputs);const n=r.hostBindings;n&&ra(e,n);const s=r.viewQuery,i=r.contentQueries;if(s&&na(e,s),i&&oa(e,i),v(e.inputs,r.inputs),v(e.declaredInputs,r.declaredInputs),v(e.outputs,r.outputs),Ge(r)&&r.data.animation){const t=e.data;t.animation=(t.animation||[]).concat(r.data.animation)}t.afterContentChecked=t.afterContentChecked||r.afterContentChecked,t.afterContentInit=e.afterContentInit||r.afterContentInit,t.afterViewChecked=e.afterViewChecked||r.afterViewChecked,t.afterViewInit=e.afterViewInit||r.afterViewInit,t.doCheck=e.doCheck||r.doCheck,t.onDestroy=e.onDestroy||r.onDestroy,t.onInit=e.onInit||r.onInit}const t=r.features;if(t)for(let o=0;o<t.length;o++){const r=t[o];r&&r.ngInherit&&r(e),r===ea&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let o=e.length-1;o>=0;o--){const r=e[o];r.hostVars=t+=r.hostVars,r.hostAttrs=Wt(r.hostAttrs,n=Wt(n,r.hostAttrs))}}(o)}function ta(e){return e===ve?{}:e===Ee?[]:e}function na(e,t){const n=e.viewQuery;e.viewQuery=n?(e,o)=>{t(e,o),n(e,o)}:t}function oa(e,t){const n=e.contentQueries;e.contentQueries=n?(e,o,r)=>{t(e,o,r),n(e,o,r)}:t}function ra(e,t){const n=e.hostBindings;e.hostBindings=n?(e,o)=>{t(e,o),n(e,o)}:t}class sa{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}function ia(e){e.type.prototype.ngOnChanges&&(e.setInput=aa,e.onChanges=function(){const e=ca(this),t=e&&e.current;if(t){const n=e.previous;if(n===ve)e.previous=t;else for(let e in t)n[e]=t[e];e.current=null,this.ngOnChanges(t)}})}function aa(e,t,n,o){const r=ca(e)||function(e,t){return e.__ngSimpleChanges__=t}(e,{previous:ve,current:null}),s=r.current||(r.current={}),i=r.previous,a=this.declaredInputs[n],c=i[a];s[a]=new sa(c&&c.currentValue,t,i===ve),e[o]=t}function ca(e){return e.__ngSimpleChanges__||null}function la(e,t,n,o,r){if(e=F(e),Array.isArray(e))for(let s=0;s<e.length;s++)la(e[s],t,n,o,r);else{const s=dt(),i=ut();let a=As(e)?e:F(e.provide),c=Ts(e);const l=mt(),h=65535&l.providerIndexes,u=l.directiveStart,d=l.providerIndexes>>16;if(As(e)||!e.multi){const o=new Kt(c,r,Js),p=da(a,t,r?h:h+d,u);-1===p?(gn(un(l,i),s,a),ha(s,e,t.length),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(o),i.push(o)):(n[p]=o,i[p]=o)}else{const p=da(a,t,h+d,u),m=da(a,t,h,h+d),g=p>=0&&n[p],f=m>=0&&n[m];if(r&&!f||!r&&!g){gn(un(l,i),s,a);const h=function(e,t,n,o,r){const s=new Kt(e,n,Js);return s.multi=[],s.index=t,s.componentProviders=0,ua(s,r,o&&!n),s}(r?ma:pa,n.length,r,o,c);!r&&f&&(n[m].providerFactory=h),ha(s,e,t.length,0),t.push(a),l.directiveStart++,l.directiveEnd++,r&&(l.providerIndexes+=65536),n.push(h),i.push(h)}else ha(s,e,p>-1?p:m,ua(n[r?m:p],c,!r&&o));!r&&o&&f&&n[m].componentProviders++}}}function ha(e,t,n,o){const r=As(t);if(r||t.useClass){const s=(t.useClass||t).prototype.ngOnDestroy;if(s){const i=e.destroyHooks||(e.destroyHooks=[]);if(!r&&t.multi){const e=i.indexOf(n);-1===e?i.push(n,[o,s]):i[e+1].push(o,s)}else i.push(n,s)}}}function ua(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function da(e,t,n,o){for(let r=n;r<o;r++)if(t[r]===e)return r;return-1}function pa(e,t,n,o){return ga(this.multi,[])}function ma(e,t,n,o){const r=this.multi;let s;if(this.providerFactory){const e=this.providerFactory.componentProviders,t=Cn(n,n[1],this.providerFactory.index,o);s=t.slice(0,e),ga(r,s);for(let n=e;n<t.length;n++)s.push(t[n])}else s=[],ga(r,s);return s}function ga(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function fa(e,t=[]){return n=>{n.providersResolver=(n,o)=>function(e,t,n){const o=dt();if(o.firstCreatePass){const r=Ge(e);la(n,o.data,o.blueprint,r,!0),la(t,o.data,o.blueprint,r,!1)}}(n,o?o(e):e,t)}}ia.ngInherit=!0;class ba{}class ya{resolveComponentFactory(e){throw function(e){const t=Error(`No component factory found for ${R(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(e)}}let _a=(()=>{class e{}return e.NULL=new ya,e})(),Ca=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=()=>Oa(e),e})();const Oa=function(e){return ps(e,mt(),ut())};class Pa{}const wa=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}();let Ma=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>va(),e})();const va=function(){const e=ut(),t=nt(mt().index,e);return function(e){const t=e[11];if(Qe(t))return t;throw new Error("Cannot inject Renderer2 when the application uses Renderer3!")}(Fe(t)?t:e)};let Ea=(()=>{class e{}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>null}),e})();class ka{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Ta=new ka("9.1.11");class Sa{constructor(){}supports(e){return $s(e)}create(e){return new Aa(e)}}const xa=(e,t)=>t;class Aa{constructor(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=e||xa}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,o=0,r=null;for(;t||n;){const s=!n||t&&t.currentIndex<Na(n,o,r)?t:n,i=Na(s,o,r),a=s.currentIndex;if(s===n)o--,n=n._nextRemoved;else if(t=t._next,null==s.previousIndex)o++;else{r||(r=[]);const e=i-o,t=a-o;if(e!=t){for(let n=0;n<e;n++){const o=n<r.length?r[n]:r[n]=0,s=o+n;t<=s&&s<e&&(r[n]=o+1)}r[s.previousIndex]=t-e}}i!==a&&e(s,i,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!$s(e))throw new Error(`Error trying to diff '${R(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,o,r=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)n=e[t],o=this._trackByFn(t,n),null!==r&&Hs(r.trackById,o)?(s&&(r=this._verifyReinsertion(r,n,o,t)),Hs(r.item,n)||this._addIdentityChange(r,n)):(r=this._mismatch(r,n,o,t),s=!0),r=r._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[Fs()]();let o;for(;!(o=n.next()).done;)t(o.value)}}(e,e=>{o=this._trackByFn(t,e),null!==r&&Hs(r.trackById,o)?(s&&(r=this._verifyReinsertion(r,e,o,t)),Hs(r.item,e)||this._addIdentityChange(r,e)):(r=this._mismatch(r,e,o,t),s=!0),r=r._next,t++}),this.length=t;return this._truncate(r),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let 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}}_mismatch(e,t,n,o){let r;return null===e?r=this._itTail:(r=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,o))?(Hs(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,r,o)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Hs(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,r,o)):e=this._addAfter(new ja(t,n),r,o),e}_verifyReinsertion(e,t,n,o){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==r?e=this._reinsertAfter(r,e._prev,o):e.currentIndex!=o&&(e.currentIndex=o,this._addToMoves(e,o)),e}_truncate(e){for(;null!==e;){const 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)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const o=e._prevRemoved,r=e._nextRemoved;return null===o?this._removalsHead=r:o._nextRemoved=r,null===r?this._removalsTail=o:r._prevRemoved=o,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const o=null===t?this._itHead:t._next;return e._next=o,e._prev=t,null===o?this._itTail=e:o._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Da),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Da),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}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class ja{constructor(e,t){this.item=e,this.trackById=t,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}}class Ia{constructor(){this._head=null,this._tail=null}add(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)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Hs(n.trackById,e))return n;return null}remove(e){const 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}}class Da{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Ia,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Na(e,t,n){const o=e.previousIndex;if(null===o)return o;let r=0;return n&&o<n.length&&(r=n[o]),o+t+r}class Ra{constructor(){}supports(e){return e instanceof Map||Vs(e)}create(){return new Ua}}class Ua{constructor(){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}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Vs(e)))throw new Error(`Error trying to diff '${R(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const o=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,o)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const 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}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const o=n._prev,r=n._next;return o&&(o._next=r),r&&(r._prev=o),n._next=null,n._prev=null,n}const n=new La(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let 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}}_maybeAddToChanges(e,t){Hs(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class La{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}let Ba=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new P,new C]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e([new Sa])}),e})(),Fa=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new P,new C]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.\u0275prov=E({token:e,providedIn:"root",factory:()=>new e([new Ra])}),e})();const Ha=[new Ra],za=new Ba([new Sa]),$a=new Fa(Ha);let Va=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>Ga(e,Ca),e})();const Ga=function(e,t){return ms(e,t,mt(),ut())};let Ka=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>qa(e,Ca),e})();const qa=function(e,t){return gs(e,t,mt(),ut())},Ya={};class Qa extends _a{constructor(e){super(),this.ngModule=e}resolveComponentFactory(e){const t=Ue(e);return new Za(t,this.ngModule)}}function Wa(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const Xa=new ee("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>rn});class Za extends ba{constructor(e,t){super(),this.componentDef=e,this.ngModule=t,this.componentType=e.type,this.selector=e.selectors.map(Lo).join(","),this.ngContentSelectors=e.ngContentSelectors?e.ngContentSelectors:[],this.isBoundToModule=!!t}get inputs(){return Wa(this.componentDef.inputs)}get outputs(){return Wa(this.componentDef.outputs)}create(e,t,n,o){const r=(o=o||this.ngModule)?function(e,t){return{get:(n,o,r)=>{const s=e.get(n,Ya,r);return s!==Ya||o===Ya?s:t.get(n,o,r)}}}(e,o.injector):e,s=r.get(Pa,We),i=r.get(Ea,null),a=s.createRenderer(null,this.componentDef),c=this.componentDef.selectors[0][0]||"div",l=n?function(e,t,n){if(Qe(e))return e.selectRootElement(t,n===Me.ShadowDom);let o="string"==typeof t?e.querySelector(t):t;return o.textContent="",o}(a,n,this.componentDef.encapsulation):Jo(c,s.createRenderer(null,this.componentDef),function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(c)),h=this.componentDef.onPush?576:528,u="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d={components:[],scheduler:rn,clean:Dr,playerHandler:null,flags:0},p=hr(0,-1,null,1,0,null,null,null,null,null),m=er(null,p,d,h,null,null,s,a,i,r);let g,f;St(m,null);try{const e=function(e,t,n,o,r,s){const i=n[1];n[20]=e;const a=tr(i,null,0,3,null,null),c=a.mergedAttrs=t.hostAttrs;null!==c&&(Ls(a,c,!0),null!==e&&(qt(r,e,c),null!==a.classes&&as(r,e,a.classes),null!==a.styles&&is(r,e,a.styles)));const l=o.createRenderer(e,t),h=er(n,lr(t),null,t.onPush?64:16,n[20],a,o,l,void 0);return i.firstCreatePass&&(gn(un(a,n),i,t.type),_r(i,a),Or(a,n.length,1)),Sr(n,h),n[20]=h}(l,this.componentDef,m,s,a);if(l)if(n)qt(a,l,["ng-version",Ta.full]);else{const{attrs:e,classes:t}=function(e){const t=[],n=[];let o=1,r=2;for(;o<e.length;){let s=e[o];if("string"==typeof s)2===r?""!==s&&t.push(s,e[++o]):8===r&&n.push(s);else{if(!Io(r))break;r=s}o++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);e&&qt(a,l,e),t&&t.length>0&&as(a,l,t.join(" "))}if(f=et(p,0),void 0!==t){const e=f.projection=[];for(let n=0;n<this.ngContentSelectors.length;n++){const o=t[n];e.push(null!=o?Array.from(o):null)}}g=function(e,t,n,o,r){const s=n[1],i=function(e,t,n){const o=mt();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),yr(e,o,1),Pr(e,t,n));const r=Cn(t,e,t.length-1,o);vo(r,t);const s=Je(o,t);return s&&vo(s,t),r}(s,n,t);o.components.push(i),e[8]=i,r&&r.forEach(e=>e(i,t)),t.contentQueries&&t.contentQueries(1,i,n.length-1);const a=mt();if(s.firstCreatePass&&(null!==t.hostBindings||null!==t.hostAttrs)){Rt(a.index-20);const e=n[1];gr(e,t),fr(e,n,t.hostVars),br(t,i)}return i}(e,this.componentDef,m,d,[Ji]),nr(p,m,null)}finally{Dt()}const b=new Ja(this.componentType,g,ps(Ca,f,m),m,f);return n&&!u||(p.node.child=f),b}}class Ja extends class{}{constructor(e,t,n,o,r){super(),this.location=n,this._rootLView=o,this._tNode=r,this.destroyCbs=[],this.instance=t,this.hostView=this.changeDetectorRef=new ls(o),function(e,t,n,o){let r=e.node;null==r&&(e.node=r=ur(0,null,2,-1,null,null)),o[6]=r}(o[1],0,0,o),this.componentType=e}get injector(){return new wn(this._tNode,this._rootLView)}destroy(){this.destroyCbs&&(this.destroyCbs.forEach(e=>e()),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())}onDestroy(e){this.destroyCbs&&this.destroyCbs.push(e)}}const ec=void 0;var tc=["en",[["a","p"],["AM","PM"],ec],[["AM","PM"],ec,ec],[["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"]],ec,[["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"]],ec,[["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}",ec,"{1} 'at' {0}",ec],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let nc={};function oc(e,t,n){"string"!=typeof t&&(n=t,t=e[cc.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),nc[t]=e,n&&(nc[t][cc.ExtraData]=n)}function rc(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=ac(t);if(n)return n;const o=t.split("-")[0];if(n=ac(o),n)return n;if("en"===o)return tc;throw new Error(`Missing locale data for the locale "${e}".`)}function sc(e){return rc(e)[cc.CurrencyCode]||null}function ic(e){return rc(e)[cc.PluralCase]}function ac(e){return e in nc||(nc[e]=K.ng&&K.ng.common&&K.ng.common.locales&&K.ng.common.locales[e]),nc[e]}const cc=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}();let lc="en-US";function hc(e){var t,n;n="Expected localeId to be defined",null==(t=e)&&function(e,t,n,o){throw new Error("ASSERTION ERROR: "+e+` [Expected=> null != ${t} <=Actual]`)}(n,t),"string"==typeof e&&(lc=e.toLowerCase().replace(/_/g,"-"))}const uc=new Map;class dc extends me{constructor(e,t){super(),this._parent=t,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Qa(this);const n=Be(e),o=e[X]||null;o&&hc(o),this._bootstrapComponents=an(n.bootstrap),this._r3Injector=vs(e,t,[{provide:me,useValue:this},{provide:_a,useValue:this.componentFactoryResolver}],R(e)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(e)}get(e,t=Is.THROW_IF_NOT_FOUND,n=w.Default){return e===Is||e===me||e===te?this:this._r3Injector.get(e,t,n)}destroy(){const e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(e){this.destroyCbs.push(e)}}class pc extends ge{constructor(e){super(),this.moduleType=e,null!==Be(e)&&function e(t){if(null!==t.\u0275mod.id){const e=t.\u0275mod.id;(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${R(t)} vs ${R(t.name)}`)})(e,uc.get(e),t),uc.set(e,t)}let n=t.\u0275mod.imports;n instanceof Function&&(n=n()),n&&n.forEach(t=>e(t))}(e)}create(e){return new dc(this.moduleType,e)}}function mc(e,t,n){const o=Ct()+e,r=ut();return r[o]===Bo?Gs(r,o,n?t.call(n):t()):Ks(r,o)}function gc(e,t,n,o,r,s,i,a,c,l){const h=Ct()+e,u=ut();let d=function(e,t,n,o,r,s){const i=Ys(e,t,n,o);return Ys(e,t+2,r,s)||i}(u,h,n,o,r,s);return Qs(u,h+4,i,a,c)||d?Gs(u,h+7,l?t.call(l,n,o,r,s,i,a,c):t(n,o,r,s,i,a,c)):Ks(u,h+7)}function fc(e,t,n,o){return function(e,t,n,o,r,s){let i=t+n,a=!1;for(let c=0;c<r.length;c++)qs(e,i++,r[c])&&(a=!0);return a?Gs(e,i,o.apply(s,r)):bc(e,i)}(ut(),Ct(),e,t,n,o)}function bc(e,t){const n=e[t];return n===Bo?void 0:n}function yc(e,t){const n=dt();let o;const r=e+20;n.firstCreatePass?(o=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const o=t[n];if(e===o.name)return o}throw new Error(`The pipe '${e}' could not be found!`)}(t,n.pipeRegistry),n.data[r]=o,o.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(r,o.onDestroy)):o=n.data[r];const s=o.factory||(o.factory=Le(o.type)),i=ce(Js),a=ln(!1),c=s();return ln(a),ce(i),function(e,t,n,o){const r=n+20;r>=e.data.length&&(e.data[r]=null,e.blueprint[r]=null),t[r]=o}(n,ut(),e,c),c}function _c(e,t,n){const o=ut(),r=tt(o,e);return wc(o,Pc(o,e)?function(e,t,n,o,r,s){const i=t+n;return qs(e,i,r)?Gs(e,i+1,s?o.call(s,r):o(r)):bc(e,i+1)}(o,Ct(),t,r.transform,n,r):r.transform(n))}function Cc(e,t,n,o){const r=ut(),s=tt(r,e);return wc(r,Pc(r,e)?function(e,t,n,o,r,s,i){const a=t+n;return Ys(e,a,r,s)?Gs(e,a+2,i?o.call(i,r,s):o(r,s)):bc(e,a+2)}(r,Ct(),t,s.transform,n,o,s):s.transform(n,o))}function Oc(e,t,n,o,r){const s=ut(),i=tt(s,e);return wc(s,Pc(s,e)?function(e,t,n,o,r,s,i,a){const c=t+n;return Qs(e,c,r,s,i)?Gs(e,c+3,a?o.call(a,r,s,i):o(r,s,i)):bc(e,c+3)}(s,Ct(),t,i.transform,n,o,r,i):i.transform(n,o,r))}function Pc(e,t){return e[1].data[t+20].pure}function wc(e,t){return zs.isWrapped(t)&&(t=zs.unwrap(t),e[Ot()]=Bo),t}class Mc extends o.a{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let o,s=e=>null,i=()=>null;e&&"object"==typeof e?(o=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(i=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(o=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(i=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const a=super.subscribe(o,s,i);return e instanceof r.a&&e.add(a),a}}function vc(){return this._results[Fs()]()}class Ec{constructor(){this.dirty=!0,this._results=[],this.changes=new Mc,this.length=0;const e=Fs(),t=Ec.prototype;t[e]||(t[e]=vc)}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let o=0;o<t.length;o++){let r=t[o];Array.isArray(r)?(n===t&&(n=t.slice(0,o)),e(r,n)):n!==t&&n.push(r)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}class kc{constructor(e){this.queryList=e,this.matches=null}clone(){return new kc(this.queryList)}setDirty(){this.queryList.setDirty()}}class Tc{constructor(e=[]){this.queries=e}createEmbeddedView(e){const t=e.queries;if(null!==t){const n=null!==e.contentQueries?e.contentQueries[0]:t.length,o=[];for(let e=0;e<n;e++){const n=t.getByIndex(e);o.push(this.queries[n.indexInDeclarationView].clone())}return new Tc(o)}return null}insertView(e){this.dirtyQueriesWithMatches(e)}detachView(e){this.dirtyQueriesWithMatches(e)}dirtyQueriesWithMatches(e){for(let t=0;t<this.queries.length;t++)null!==Hc(e,t).matches&&this.queries[t].setDirty()}}class Sc{constructor(e,t,n,o=null){this.predicate=e,this.descendants=t,this.isStatic=n,this.read=o}}class xc{constructor(e=[]){this.queries=e}elementStart(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementStart(e,t)}elementEnd(e){for(let t=0;t<this.queries.length;t++)this.queries[t].elementEnd(e)}embeddedTView(e){let t=null;for(let n=0;n<this.length;n++){const o=null!==t?t.length:0,r=this.getByIndex(n).embeddedTView(e,o);r&&(r.indexInDeclarationView=n,null!==t?t.push(r):t=[r])}return null!==t?new xc(t):null}template(e,t){for(let n=0;n<this.queries.length;n++)this.queries[n].template(e,t)}getByIndex(e){return this.queries[e]}get length(){return this.queries.length}track(e){this.queries.push(e)}}class Ac{constructor(e,t=-1){this.metadata=e,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=t}elementStart(e,t){this.isApplyingToNode(t)&&this.matchTNode(e,t)}elementEnd(e){this._declarationNodeIndex===e.index&&(this._appliesToNextNode=!1)}template(e,t){this.elementStart(e,t)}embeddedTView(e,t){return this.isApplyingToNode(e)?(this.crossesNgTemplate=!0,this.addMatch(-e.index,t),new Ac(this.metadata)):null}isApplyingToNode(e){if(this._appliesToNextNode&&!1===this.metadata.descendants){const t=this._declarationNodeIndex;let n=e.parent;for(;null!==n&&4===n.type&&n.index!==t;)n=n.parent;return t===(null!==n?n.index:-1)}return this._appliesToNextNode}matchTNode(e,t){if(Array.isArray(this.metadata.predicate)){const n=this.metadata.predicate;for(let o=0;o<n.length;o++)this.matchTNodeWithReadOption(e,t,jc(t,n[o]))}else{const n=this.metadata.predicate;n===Va?0===t.type&&this.matchTNodeWithReadOption(e,t,-1):this.matchTNodeWithReadOption(e,t,_n(t,e,n,!1,!1))}}matchTNodeWithReadOption(e,t,n){if(null!==n){const o=this.metadata.read;if(null!==o)if(o===Ca||o===Ka||o===Va&&0===t.type)this.addMatch(t.index,-2);else{const n=_n(t,e,o,!1,!1);null!==n&&this.addMatch(t.index,n)}else this.addMatch(t.index,n)}}addMatch(e,t){null===this.matches?this.matches=[e,t]:this.matches.push(e,t)}}function jc(e,t){const n=e.localNames;if(null!==n)for(let o=0;o<n.length;o+=2)if(n[o]===t)return n[o+1];return null}function Ic(e,t,n,o){return-1===n?function(e,t){return 3===e.type||4===e.type?ps(Ca,e,t):0===e.type?ms(Va,Ca,e,t):null}(t,e):-2===n?function(e,t,n){return n===Ca?ps(Ca,t,e):n===Va?ms(Va,Ca,t,e):n===Ka?gs(Ka,Ca,t,e):void 0}(e,t,o):Cn(e,e[1],n,t)}function Dc(e,t,n,o){const r=t[19].queries[o];if(null===r.matches){const o=e.data,s=n.matches,i=[];for(let e=0;e<s.length;e+=2){const r=s[e];i.push(r<0?null:Ic(t,o[r],s[e+1],n.metadata.read))}r.matches=i}return r.matches}function Nc(e){const t=ut(),n=dt(),o=Et();kt(o+1);const r=Hc(n,o);if(e.dirty&&rt(t)===r.metadata.isStatic){if(null===r.matches)e.reset([]);else{const s=r.crossesNgTemplate?function e(t,n,o,r){const s=t.queries.getByIndex(o),i=s.matches;if(null!==i){const a=Dc(t,n,s,o);for(let t=0;t<i.length;t+=2){const o=i[t];if(o>0)r.push(a[t/2]);else{const s=i[t+1],a=n[-o];for(let t=10;t<a.length;t++){const n=a[t];n[17]===n[3]&&e(n[1],n,s,r)}if(null!==a[9]){const t=a[9];for(let n=0;n<t.length;n++){const o=t[n];e(o[1],o,s,r)}}}}}return r}(n,t,o,[]):Dc(n,t,r,o);e.reset(s),e.notifyOnChanges()}return!0}return!1}function Rc(e,t,n){!function(e,t,n,o,r,s){e.firstCreatePass&&(Fc(e,new Sc(n,o,!0,r),-1),e.staticViewQueries=!0),Bc(e,t)}(dt(),ut(),e,t,n)}function Uc(e,t,n,o){!function(e,t,n,o,r,s,i,a){e.firstCreatePass&&(Fc(e,new Sc(n,o,!1,r),i.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(e.contentQueries.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(e,a)),Bc(e,t)}(dt(),ut(),t,n,o,0,mt(),e)}function Lc(){return e=ut(),t=Et(),e[19].queries[t].queryList;var e,t}function Bc(e,t){const n=new Ec;!function(e,t,n,o){const r=Nr(t);r.push(n),e.firstCreatePass&&Rr(e).push(o,r.length-1)}(e,t,n,n.destroy),null===t[19]&&(t[19]=new Tc),t[19].queries.push(new kc(n))}function Fc(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 ms(Va,Ca,e,t)}function $c(e=w.Default){const t=fs(!0);if(null!=t||e&w.Optional)return t;throw new Error("No provider for ChangeDetectorRef!")}const Vc=new ee("Application Initializer");let Gc=(()=>{class e{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();hi(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}return e.\u0275fac=function(t){return new(t||e)(he(Vc,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const Kc=new ee("AppId"),qc={provide:Kc,useFactory:function(){return`${Yc()}${Yc()}${Yc()}`},deps:[]};function Yc(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Qc=new ee("Platform Initializer"),Wc=new ee("Platform ID"),Xc=new ee("appBootstrapListener");let Zc=(()=>{class e{log(e){console.log(e)}warn(e){console.warn(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const Jc=new ee("LocaleId"),el=new ee("DefaultCurrencyCode");class tl{constructor(e,t){this.ngModuleFactory=e,this.componentFactories=t}}const nl=function(e){return new pc(e)},ol=nl,rl=function(e){return Promise.resolve(nl(e))},sl=function(e){const t=nl(e),n=an(Be(e).declarations).reduce((e,t)=>{const n=Ue(t);return n&&e.push(new Za(n)),e},[]);return new tl(t,n)},il=sl,al=function(e){return Promise.resolve(sl(e))};let cl=(()=>{class e{constructor(){this.compileModuleSync=ol,this.compileModuleAsync=rl,this.compileModuleAndAllComponentsSync=il,this.compileModuleAndAllComponentsAsync=al}clearCache(){}clearCacheFor(e){}getModuleId(e){}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();const ll=new ee("compilerOptions"),hl=(()=>Promise.resolve(0))();function ul(e){"undefined"==typeof Zone?hl.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class dl{constructor({enableLongStackTrace:e=!1,shouldCoalesceEventChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Mc(!1),this.onMicrotaskEmpty=new Mc(!1),this.onStable=new Mc(!1),this.onError=new Mc(!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)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),this.shouldCoalesceEventChangeDetection=t,this.lastRequestAnimationFrameId=-1,this.nativeRequestAnimationFrame=function(){let e=K.requestAnimationFrame,t=K.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const o=t[Zone.__symbol__("OriginalDelegate")];o&&(t=o)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=!!e.shouldCoalesceEventChangeDetection&&e.nativeRequestAnimationFrame&&(()=>{!function(e){-1===e.lastRequestAnimationFrameId&&(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(K,()=>{e.lastRequestAnimationFrameId=-1,fl(e),gl(e)}),fl(e))}(e)});e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0,maybeDelayChangeDetection:t},onInvokeTask:(n,o,r,s,i,a)=>{try{return bl(e),n.invokeTask(r,s,i,a)}finally{t&&"eventTask"===s.type&&t(),yl(e)}},onInvoke:(t,n,o,r,s,i,a)=>{try{return bl(e),t.invoke(o,r,s,i,a)}finally{yl(e)}},onHasTask:(t,n,o,r)=>{t.hasTask(o,r),n===o&&("microTask"==r.change?(e._hasPendingMicrotasks=r.microTask,fl(e),gl(e)):"macroTask"==r.change&&(e.hasPendingMacrotasks=r.macroTask))},onHandleError:(t,n,o,r)=>(t.handleError(o,r),e.runOutsideAngular(()=>e.onError.emit(r)),!1)})}(this)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!dl.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(dl.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,o){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+o,e,ml,pl,pl);try{return r.runTask(s,t,n)}finally{r.cancelTask(s)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function pl(){}const ml={};function gl(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(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function fl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||e.shouldCoalesceEventChangeDetection&&-1!==e.lastRequestAnimationFrameId)}function bl(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function yl(e){e._nesting--,gl(e)}class _l{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Mc,this.onMicrotaskEmpty=new Mc,this.onStable=new Mc,this.onError=new Mc}run(e,t,n){return e.apply(t,n)}runGuarded(e,t,n){return e.apply(t,n)}runOutsideAngular(e){return e()}runTask(e,t,n,o){return e.apply(t,n)}}let Cl=(()=>{class e{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{dl.assertNotInAngularZone(),ul(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())ul(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let o=-1;t&&t>0&&(o=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==o),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:o,updateCb:n})}whenStable(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()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}return e.\u0275fac=function(t){return new(t||e)(he(dl))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})(),Ol=(()=>{class e{constructor(){this._applications=new Map,vl.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return vl.findTestabilityInTree(this,e,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();class Pl{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}function wl(e){vl=e}let Ml,vl=new Pl,El=function(e,t,n){const o=e.get(ll,[]).concat(t),r=new pc(n);if(0===Ns.size)return Promise.resolve(r);const s=function(e){const t=[];return e.forEach(e=>e&&t.push(...e)),t}(o.map(e=>e.providers));if(0===s.length)return Promise.resolve(r);const i=function(){const e=K.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}(),a=Is.create({providers:s}).get(i.ResourceLoader);return function(e){const t=[],n=new Map;function o(e){let t=n.get(e);if(!t){const o=(e=>Promise.resolve(a.get(e)))(e);n.set(e,t=o.then(Us))}return t}return Ns.forEach((e,n)=>{const r=[];e.templateUrl&&r.push(o(e.templateUrl).then(t=>{e.template=t}));const s=e.styleUrls,i=e.styles||(e.styles=[]),a=e.styles.length;s&&s.forEach((t,n)=>{i.push(""),r.push(o(t).then(o=>{i[a+n]=o,s.splice(s.indexOf(t),1),0==s.length&&(e.styleUrls=void 0)}))});const c=Promise.all(r).then(()=>function(e){Rs.delete(e)}(n));t.push(c)}),Ns=new Map,Promise.all(t).then(()=>{})}().then(()=>r)};const kl=new ee("AllowMultipleToken");class Tl{constructor(e,t){this.name=e,this.token=t}}function Sl(e,t,n=[]){const o="Platform: "+t,r=new ee(o);return(t=[])=>{let s=xl();if(!s||s.injector.get(kl,!1))if(e)e(n.concat(t).concat({provide:r,useValue:!0}));else{const e=n.concat(t).concat({provide:r,useValue:!0},{provide:_s,useValue:"platform"});!function(e){if(Ml&&!Ml.destroyed&&!Ml.injector.get(kl,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ml=e.get(Al);const t=e.get(Qc,null);t&&t.forEach(e=>e())}(Is.create({providers:e,name:o}))}return function(e){const t=xl();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}(r)}}function xl(){return Ml&&!Ml.destroyed?Ml:null}let Al=(()=>{class e{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n=function(e,t){let n;return n="noop"===e?new _l:("zone.js"===e?void 0:e)||new dl({enableLongStackTrace:Gn(),shouldCoalesceEventChangeDetection:t}),n}(t?t.ngZone:void 0,t&&t.ngZoneEventCoalescing||!1),o=[{provide:dl,useValue:n}];return n.run(()=>{const t=Is.create({providers:o,parent:this.injector,name:e.moduleType.name}),r=e.create(t),s=r.injector.get(Tn,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return r.onDestroy(()=>Dl(this._modules,r)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{s.handleError(e)}})),function(e,t,n){try{const o=n();return hi(o)?o.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):o}catch(o){throw t.runOutsideAngular(()=>e.handleError(o)),o}}(s,n,()=>{const e=r.injector.get(Gc);return e.runInitializers(),e.donePromise.then(()=>(hc(r.injector.get(Jc,"en-US")||"en-US"),this._moduleDoBootstrap(r),r))})})}bootstrapModule(e,t=[]){const n=jl({},t);return El(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Il);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${R(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)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(t){return new(t||e)(he(Is))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function jl(e,t){return Array.isArray(t)?t.reduce(jl,e):Object.assign(Object.assign({},e),t)}let Il=(()=>{class e{constructor(e,t,n,o,r,l){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=o,this._componentFactoryResolver=r,this._initStatus=l,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Gn(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const u=new s.a(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),d=new s.a(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{dl.assertNotInAngularZone(),ul(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{dl.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,o=e[e.length-1];return Object(i.a)(o)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof o&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof s.a?e[0]:Object(a.a)(t)(Object(c.a)(e,n))}(u,d.pipe(e=>{return h()((t=f,function(e){let n;n="function"==typeof t?t:function(){return t};const o=Object.create(e,m);return o.source=e,o.subjectFactory=n,o})(e));var t}))}bootstrap(e,t){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.");let n;n=e instanceof ba?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const o=n.isBoundToModule?void 0:this._injector.get(me),r=n.create(Is.NULL,[],t||n.selector,o);r.onDestroy(()=>{this._unloadComponent(r)});const s=r.injector.get(Cl,null);return s&&r.injector.get(Ol).registerApplication(r.location.nativeElement,s),this._loadComponent(r),Gn()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),r}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(e){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(e))}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Dl(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(Xc,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Dl(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e.\u0275fac=function(t){return new(t||e)(he(dl),he(Zc),he(Is),he(Tn),he(_a),he(Gc))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function Dl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Nl{}class Rl{}const Ul={factoryPathPrefix:"",factoryPathSuffix:".ngfactory"};let Ll=(()=>{class e{constructor(e,t){this._compiler=e,this._config=t||Ul}load(e){return this.loadAndCompile(e)}loadAndCompile(e){let[t,o]=e.split("#");return void 0===o&&(o="default"),n("crnd")(t).then(e=>e[o]).then(e=>Bl(e,t,o)).then(e=>this._compiler.compileModuleAsync(e))}loadFactory(e){let[t,o]=e.split("#"),r="NgFactory";return void 0===o&&(o="default",r=""),n("crnd")(this._config.factoryPathPrefix+t+this._config.factoryPathSuffix).then(e=>e[o+r]).then(e=>Bl(e,t,o))}}return e.\u0275fac=function(t){return new(t||e)(he(cl),he(Rl,8))},e.\u0275prov=E({token:e,factory:e.\u0275fac}),e})();function Bl(e,t,n){if(!e)throw new Error(`Cannot find '${n}' in '${t}'`);return e}const Fl=function(e){return null},Hl=Sl(null,"core",[{provide:Wc,useValue:"unknown"},{provide:Al,deps:[Is]},{provide:Ol,deps:[]},{provide:Zc,deps:[]}]),zl=[{provide:Il,useClass:Il,deps:[dl,Zc,Is,Tn,_a,Gc]},{provide:Xa,deps:[dl],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:Gc,useClass:Gc,deps:[[new C,Vc]]},{provide:cl,useClass:cl,deps:[]},qc,{provide:Ba,useFactory:function(){return za},deps:[]},{provide:Fa,useFactory:function(){return $a},deps:[]},{provide:Jc,useFactory:function(e){return hc(e=e||"undefined"!=typeof $localize&&$localize.locale||"en-US"),e},deps:[[new _(Jc),new C,new P]]},{provide:el,useValue:"USD"}];let $l=(()=>{class e{constructor(e){}}return e.\u0275mod=je({type:e}),e.\u0275inj=k({factory:function(t){return new(t||e)(he(Il))},providers:zl}),e})()},g5Dd:function(e,t){!function(){"use strict";for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=new Uint8Array(256),o=0;o<e.length;o++)n[e.charCodeAt(o)]=o;t.encode=function(t){var n,o=new Uint8Array(t),r=o.length,s="";for(n=0;n<r;n+=3)s+=e[o[n]>>2],s+=e[(3&o[n])<<4|o[n+1]>>4],s+=e[(15&o[n+1])<<2|o[n+2]>>6],s+=e[63&o[n+2]];return r%3==2?s=s.substring(0,s.length-1)+"=":r%3==1&&(s=s.substring(0,s.length-2)+"=="),s},t.decode=function(e){var t,o,r,s,i,a=.75*e.length,c=e.length,l=0;"="===e[e.length-1]&&(a--,"="===e[e.length-2]&&a--);var h=new ArrayBuffer(a),u=new Uint8Array(h);for(t=0;t<c;t+=4)o=n[e.charCodeAt(t)],r=n[e.charCodeAt(t+1)],s=n[e.charCodeAt(t+2)],i=n[e.charCodeAt(t+3)],u[l++]=o<<2|r>>4,u[l++]=(15&r)<<4|s>>2,u[l++]=(3&s)<<6|63&i;return h}}()},gFX4:function(e,t,n){var o=n("zJ60"),r=n("Vo14"),s=n("eOtv"),i=n("NOtv")("socket.io-client");e.exports=t=c;var a=t.managers={};function c(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,r=o(e),c=r.source,l=r.id;return t.forceNew||t["force new connection"]||!1===t.multiplex||a[l]&&r.path in a[l].nsps?(i("ignoring socket cache for %s",c),n=s(c,t)):(a[l]||(i("new io instance for %s",c),a[l]=s(c,t)),n=a[l]),r.query&&!t.query&&(t.query=r.query),n.socket(r.path,t)}t.protocol=r.protocol,t.connect=c,t.Manager=n("eOtv"),t.Socket=n("KFGy")},gQEu:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),(o=t.EHsva||(t.EHsva={})).HUE="hue",o.SATURATION="saturation",o.VALUE="value",o.ALPHA="alpha"},gRHU:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("2fFW"),r=n("NJ4a");const s={closed:!0,next(e){},error(e){if(o.a.useDeprecatedSynchronousErrorHandling)throw e;Object(r.a)(e)},complete(){}}},hi8z:function(e,t,n){"use strict";n.d(t,"a",(function(){return d})),n.d(t,"b",(function(){return p})),n.d(t,"c",(function(){return m})),n.d(t,"d",(function(){return g})),n.d(t,"e",(function(){return b}));var o=n("mrSG"),r=n("PqYM"),s=n("2Vo4"),i=n("XNiG"),a=n("nYR2"),c=n("WB8P"),l=n("FYIv"),h=n("fXoL"),u=n("ofXK");let d=(()=>{class e{constructor(){this.internalCommonsSubscriptions=[],this.internalCommonsIsInCycle=new Map,this.internalCommonsIsDestroyed=!0}ngOnInit(){this.ngOnDestroy(),this.internalCommonsIsDestroyed=!1}ngAfterViewInit(){}ngOnDestroy(){this.internalCommonsIsDestroyed=!0;for(const e of this.internalCommonsSubscriptions)e&&e.unsubscribe();this.internalCommonsSubscriptions=[]}subscribe(e,t){const n=e.subscribe(t);return this.internalCommonsSubscriptions.push(n),n}setTimer(e,t,n){let s;return s=this.subscribe(void 0!==t?Object(r.a)(e,t):Object(r.a)(e),()=>Object(o.a)(this,void 0,void 0,(function*(){if(void 0===t){const e=this.internalCommonsSubscriptions.find(e=>e===s);if(e){const t=this.internalCommonsSubscriptions.indexOf(e);e.unsubscribe(),this.internalCommonsSubscriptions.splice(t,1)}}yield n()}))),s}setInterval(e,t,n,s){switch(n){case l.ECommonsInvocation.FIXED:return this.setTimer(e,t,s);case l.ECommonsInvocation.WHEN:{let n;n=()=>Object(o.a)(this,void 0,void 0,(function*(){if(!this.internalCommonsIsDestroyed&&n)try{yield s()}catch(e){throw e}finally{n&&this.setTimeout(t,n)}}));const i=this.subscribe(Object(r.a)(1e3,1e3).pipe(Object(a.a)(()=>{n=void 0})),()=>{});return this.setTimeout(e,n),i}case l.ECommonsInvocation.IF:{const n=c.CommonsBase62.generateRandomId();return this.internalCommonsIsInCycle.set(n,!1),this.setInterval(e,t,l.ECommonsInvocation.FIXED,()=>Object(o.a)(this,void 0,void 0,(function*(){if(!this.internalCommonsIsInCycle.get(n))try{this.internalCommonsIsInCycle.set(n,!0),yield s()}finally{this.internalCommonsIsInCycle.set(n,!1)}})))}}throw new Error("Unknown interval approach")}setTimeout(e,t){return this.setTimer(e,void 0,t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=h.Gb({type:e}),e})(),p=(()=>{class e extends d{constructor(e,t){super(),this.zone=e,this.changeDetector=t,this.internalCommonsIntervals=[],this.isComponentDestroyed=!1,this.isComponentDestroyed=!1}ngOnInit(){super.ngOnInit(),this.isComponentDestroyed=!1,this.runChangeDetection()}ngOnDestroy(){for(const e of this.internalCommonsIntervals)window.clearInterval(e);this.isComponentDestroyed=!0,super.ngOnDestroy()}runDetached(e){this.zone.runOutsideAngular(()=>{e()})}subscribe(e,t){return super.subscribe(e,(...e)=>{this.runDetached(()=>{t.apply(null,e)})})}setDetachedTimeout(e,t){this.runDetached(()=>{window.setTimeout(()=>{this.runDetached(()=>{t()})},e)})}setDetachedInterval(e,t,n){this.setDetachedTimeout(e,()=>{if(this.isComponentDestroyed)return;n();const e=window.setInterval(()=>{this.isComponentDestroyed||this.runDetached(()=>{n()})},t);this.internalCommonsIntervals.push(e)})}runChangeDetection(){this.isComponentDestroyed||(this.changeDetector.reattach(),this.changeDetector.detectChanges(),this.changeDetector.detach())}}return e.\u0275fac=function(e){h.Xb()},e.\u0275dir=h.Gb({type:e,features:[h.wb]}),e})(),m=(()=>{class e{constructor(){this.behaviours=new Map}setup(e,t){this.behaviours.has(e)||this.behaviours.set(e,new s.a(t))}observable(e,t){return this.setup(e,t),this.behaviours.get(e).asObservable()}setStatus(e,t){this.setup(e,t),this.behaviours.get(e).next(t)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Hb({token:e,factory:e.\u0275fac}),e})(),g=(()=>{class e{constructor(){this.modified=new i.a}useStore(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}getAny(e,t,n){const o=this.useStore(e).getItem(t);return null!=o?JSON.parse(o):n}getString(e,t,n){const o=this.getAny(e,t,n);return c.CommonsType.attemptString(o)}getNumber(e,t,n){const o=this.getAny(e,t,n);return c.CommonsType.attemptNumber(o)}getBoolean(e,t,n){const o=this.getAny(e,t,n);return c.CommonsType.attemptBoolean(o)}delete(e,t,n=!1){this.useStore(e).removeItem(t),n||this.modified.next({key:t,value:void 0})}setAny(e,t,n){this.useStore(e).setItem(t,JSON.stringify(n)),this.modified.next({key:t,value:n})}setString(e,t,n){this.setAny(e,t,n)}setNumber(e,t,n){this.setAny(e,t,n)}setBoolean(e,t,n){this.setAny(e,t,n)}observable(){return this.modified.asObservable()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Hb({token:e,factory:e.\u0275fac}),e.SESSION=sessionStorage,e.LOCAL=localStorage,e})(),f=(()=>{class e{constructor(){this.onActiveEmitters=new Map,this.onCompletedEmitters=new Map,this.counts=new Map}setup(e){this.onActiveEmitters.has(e)||(this.onActiveEmitters.set(e,new h.n(!0)),this.onCompletedEmitters.set(e,new h.n(!0)),this.counts.set(e,0))}activeObservable(e){return this.setup(e),this.onActiveEmitters.get(e)}completedObservable(e){return this.setup(e),this.onCompletedEmitters.get(e)}increment(e){let t=this.counts.get(e);t++,this.counts.set(e,t),this.onActiveEmitters.get(e).emit(t)}decrement(e){let 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()}wrap(e,t){return Object(o.a)(this,void 0,void 0,(function*(){return this.setup(e),new Promise((n,o)=>{this.increment(e),t.then(e=>{n(e)}).catch(e=>{o(e)}).finally(()=>{this.decrement(e)})})}))}wrapAll(e,t){return Object(o.a)(this,void 0,void 0,(function*(){return this.setup(e),Promise.all(t.map(t=>this.wrap(e,t)))}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Hb({token:e,factory:e.\u0275fac}),e})(),b=(()=>{class e{static forRoot(){return{ngModule:e,providers:[m,g,f]}}}return e.\u0275mod=h.Jb({type:e}),e.\u0275inj=h.Ib({factory:function(t){return new(t||e)},imports:[[u.b]]}),e})()},i5Gp:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o="abcdefghijklmnopqrstuvwxyz".split(""),r="aeiou".split(""),s=o.filter(e=>!r.includes(e));class i{static ucWords(e){let t=!1;return e.toString().split("").map(e=>{const n=/^[A-Z]$/i.test(e);try{return!n||t?e:e.toUpperCase()}finally{t=n}}).join("")}static camelCase(e,t=!0){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map(e=>e.trim()).filter(e=>""!==e).map((e,n)=>0!==n||t?e.length<2?e.toUpperCase():e.substring(0,1).toUpperCase()+e.substring(1):e.toLowerCase()).join("")}static delimeterCase(e,t){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map(e=>e.trim().toLowerCase()).filter(e=>""!==e).join(t)}static snakeCase(e){return i.delimeterCase(e,"_")}static kebabCase(e){return i.delimeterCase(e,"-")}static dashedCase(e){return i.kebabCase(e)}static regexEscapeString(e){return e.replace(/[.]/g,"\\.").replace(/[?]/g,"[?]").replace(/[*]/g,"[*]").replace(/[+]/g,"[+]").replace(/[(]/g,"\\(").replace(/[)]/g,"\\)").replace(/\[/g,"\\[)").replace(/\]/g,"\\]").replace(/[{]/g,"[{]").replace(/[}]/g,"[}]")}static isAlphabet(e){return 1===e.length&&o.includes(e.toLowerCase())}static isVowel(e){return i.isAlphabet(e)&&r.includes(e.toLowerCase())}static isConsonant(e){return i.isAlphabet(e)&&s.includes(e.toLowerCase())}static regexLike(e){return`^${i.regexEscapeString(e)}$`.replace(/%/g,"(?:.|\\s)*")}static rtrim(e,t=" \r\n\0"){const 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}static ltrim(e,t=" \r\n\0"){const 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}static trim(e,t=" \r\n\0"){return i.ltrim(i.rtrim(e,t),t)}static limitLength(e,t=128,n=!1){if(e.length<=t)return e;let o=e.substr(0,t-3);if(!n)return o+"...";const r=o;for(;o.length>1;){if(/[^a-zA-Z0-9]/.test(o.slice(-1)))return o.substr(0,o.length-1)+"...";o=o.substr(0,o.length-1)}return r+"..."}static isCapitalised(e){return/^[A-Z]+$/.test(e.replace(/[^a-z]/i,""))}static capitaliseString(e,t){return t?e.toUpperCase():e}static pluralise(e,t=2,n=!0){if(0===e.length)return"";if(1===t)return e;if(0===t)return i.pluralise(e,2,n);const o=i.isCapitalised(e),r=e.charAt(e.length-1);if(!/[a-z]/i.test(r))return`${e}${i.capitaliseString("s",o)}`;if(n){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(e=>i.trim(e)).filter(e=>""!==e).includes(e.toLowerCase()))return e;switch(e.toLowerCase()){case"cafe":return i.capitaliseString("cafes",o);case"child":return i.capitaliseString("children",o);case"woman":return i.capitaliseString("women",o);case"man":return i.capitaliseString("men",o);case"mouse":return i.capitaliseString("mice",o);case"goose":return i.capitaliseString("geese",o);case"potato":return i.capitaliseString("potatoes",o)}if(/(craft|ies)$/.test(e.toLowerCase()))return e;if(/(ch|x|s|sh)$/i.test(e))return`${e}${i.capitaliseString("es",o)}`;const t=/^(.+)(f|fe)$/i.exec(e);if(null!==t)return`${t[1]}${i.capitaliseString("ves",o)}`;const n=/^(.+[abcdfghjklmnpqrstvwxyz])y$/i.exec(e);if(null!==n)return`${n[1]}${i.capitaliseString("ies",o)}`}return`${e}${i.capitaliseString("s",o)}`}static noOrNumber(e,t=!1,n=!1){if(0===e){const e=t?"none":"no";return n?i.ucWords(e):e}return e.toString()}static quantify(e,t,n=!0,o=!1){if(0===e.length)return i.noOrNumber(t,!0,o);const r=i.isCapitalised(e);return i.capitaliseString(`${i.noOrNumber(t,!1,o)} ${i.pluralise(e,t,n)}`,r)}static isVowelOrY(e){return i.isVowel(e)||"y"===e.toLowerCase()}static isConsonantNotY(e){return i.isConsonant(e)&&"y"!==e.toLowerCase()}static splitWords(e,t=!0,n=!1){return t||(e=e.replace("-"," - ")),n||(e=e.replace("'"," ' ")),e.split(/[^-'A-Za-z]/).map(e=>i.trim(e)).filter(e=>""!==e)}static internalRoughSyllables(e){const t=i.trim(e.toLowerCase()).split(""),n=[];let o=!1,r="",s=!0;for(;;){const e=t.shift();if(void 0===e)break;if(!i.isAlphabet(e)){r.length>0&&n.push(r),r="",s=!0,o=!1;continue}const a=i.isVowelOrY(e);if(o&&a)n.push(`${n.pop()}${e}`),o=!0;else if(!o||a)if(a){if(0===t.length&&n.length>0&&!s){n.push(`${n.pop()}${e}`);break}n.push(`${r}${e}`),r="",o=!0}else r+=e;else n.push(`${n.pop()}${e}`),o=!1}""!==r&&n.push(r.length>1?r:`${n.pop()}${r}`);for(let a=1;a<n.length;a++)n[a-1].length<2||i.isVowelOrY(n[a].charAt(0))&&i.isConsonantNotY(n[a-1].slice(-1))&&(n[a]=`${n[a-1].slice(-1)}${n[a]}`,n[a-1]=n[a-1].slice(0,n[a-1].length-1));return n}static roughSyllables(e){const t=[];for(const n of i.splitWords(e)){const e=i.internalRoughSyllables(n);for(const n of e)t.push(n)}return t}static splitSentences(e,t=/[.!?]/,n=!0,o=!0){o&&(e=e.replace(/-{2,}/g,". ")),t.test("\r")||(e=e.replace(/\r/," ")),t.test("\n")||(e=e.replace(/\n/," "));const r=i.trim(e).split(""),s=[];let a="";for(;;){const e=r.shift();if(void 0===e)break;if(t.test(e)){if(""===a&&s.length>0){s.push(`${s.pop()}${e}`);continue}if(""===i.trim(a)){a="";continue}if(!n||!/[-0-9]/.test(a.slice(-1))||0===r.length||!/[0-9]/.test(r[0])){s.push(`${i.ltrim(a)}${e}`),a="";continue}}a+=e}return""!==i.trim(a)&&s.push(i.trim(a)),s}static fleschKincaidReadingEase(e){const t=i.splitWords(e),n=i.splitSentences(e),o=i.roughSyllables(e);return 206.835-t.length/n.length*1.015-o.length/t.length*84.6}static automatedReadabilityIndex(e){const t=i.splitWords(e),n=i.splitSentences(e),o=[];for(const r of t)for(const e of r.split(""))i.isAlphabet(e)&&o.push(e);return o.length/t.length*4.71+t.length/n.length*.5-21.43}}t.CommonsString=i},iWUv:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");t.isTDomain=function(e){return!!o.CommonsType.hasPropertyString(e,"domain")&&!!o.CommonsType.hasPropertyStringOrUndefined(e,"ip")}},is2o:function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("tl0M")),o(n("YQRO")),o(n("7Zlx"))},jZKg:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("HDdC"),r=n("quSY");function s(e,t){return new o.a(n=>{const o=new r.a;let s=0;return o.add(t.schedule((function(){s!==e.length?(n.next(e[s++]),n.closed||o.add(this.schedule())):n.complete()}))),o})}},jhN1:function(e,t,n){"use strict";n.d(t,"a",(function(){return B})),n.d(t,"b",(function(){return I})),n.d(t,"c",(function(){return E})),n.d(t,"d",(function(){return k})),n.d(t,"e",(function(){return U})),n.d(t,"f",(function(){return O}));var o=n("ofXK"),r=n("fXoL");class s extends o.p{constructor(){super()}supportsDOMEvents(){return!0}}class i extends s{static makeCurrent(){Object(o.t)(new i)}getProperty(e,t){return e[t]}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}getValue(e){return e.value}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}isShadowRoot(e){return e instanceof DocumentFragment}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=c||(c=document.querySelector("base"),c)?c.getAttribute("href"):null;return null==t?null:(n=t,a||(a=document.createElement("a")),a.setAttribute("href",n),"/"===a.pathname.charAt(0)?a.pathname:"/"+a.pathname);var n}resetBaseElement(){c=null}getUserAgent(){return window.navigator.userAgent}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return Object(o.s)(document.cookie,e)}}let a,c=null;const l=new r.q("TRANSITION_ID"),h=[{provide:r.d,useFactory:function(e,t,n){return()=>{n.get(r.e).donePromise.then(()=>{const n=Object(o.r)();Array.prototype.slice.apply(t.querySelectorAll("style[ng-transition]")).filter(t=>t.getAttribute("ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[l,o.c,r.r],multi:!0}];class u{static init(){Object(r.V)(new u)}addToWindow(e){r.nb.getAngularTestability=(t,n=!0)=>{const o=e.findTestabilityInTree(t,n);if(null==o)throw new Error("Could not find testability for element.");return o},r.nb.getAllAngularTestabilities=()=>e.getAllTestabilities(),r.nb.getAllAngularRootElements=()=>e.getAllRootElements(),r.nb.frameworkStabilizers||(r.nb.frameworkStabilizers=[]),r.nb.frameworkStabilizers.push(e=>{const t=r.nb.getAllAngularTestabilities();let n=t.length,o=!1;const s=function(t){o=o||t,n--,0==n&&e(o)};t.forEach((function(e){e.whenStable(s)}))})}findTestabilityInTree(e,t,n){if(null==t)return null;const 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}}const d=new r.q("EventManagerPlugins");let p=(()=>{class e{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let o=0;o<n.length;o++){const t=n[o];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error("No event manager plugin found for event "+e)}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(d),r.Ub(r.z))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class m{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Object(o.r)().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}let g=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),f=(()=>{class e extends g{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Object(o.r)().remove(e))}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();const b={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 _(e,t,n){for(let o=0;o<t.length;o++){let r=t[o];Array.isArray(r)?_(e,r,n):(r=r.replace(y,e),n.push(r))}return n}function C(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let O=(()=>{class e{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new P(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case r.O.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new w(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case r.O.Native:case r.O.ShadowDom:return new M(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=_(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(p),r.Ub(f),r.Ub(r.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();class P{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(b[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,o){if(o){t=o+":"+t;const r=b[o];r?e.setAttributeNS(r,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const o=b[n];o?e.removeAttributeNS(o,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,o){o&r.F.DashCase?e.style.setProperty(t,n,o&r.F.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&r.F.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,C(n)):this.eventManager.addEventListener(e,t,C(n))}}class w extends P{constructor(e,t,n,o){super(e),this.component=n;const r=_(o+"-"+n.id,n.styles,[]);t.addStyles(r),this.contentAttr="_ngcontent-%COMP%".replace(y,o+"-"+n.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(y,e)}(o+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class M extends P{constructor(e,t,n,o){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=o,this.shadowRoot=o.encapsulation===r.O.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=_(o.id,o.styles,[]);for(let r=0;r<s.length;r++){const e=document.createElement("style");e.textContent=s[r],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}let v=(()=>{class e extends m{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();const E=new r.q("HammerGestureConfig");let k=(()=>{class e{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();const T=["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"},x={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"},A={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let j=(()=>{class e extends m{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),i=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Object(o.r)().onAndCancel(t,s.domEventName,i))}static parseEventName(t){const n=t.toLowerCase().split("."),o=n.shift();if(0===n.length||"keydown"!==o&&"keyup"!==o)return null;const r=e._normalizeKey(n.pop());let s="";if(T.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),s+=e+".")}),s+=r,0!=n.length||0===r.length)return null;const i={};return i.domEventName=o,i.fullKey=s,i}static getEventFullKey(e){let t="",n=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&x.hasOwnProperty(t)&&(t=x[t]))}return S[t]||t}(e);return n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),T.forEach(o=>{o!=n&&(0,A[o])(e)&&(t+=o+".")}),t+=n,t}static eventCallback(t,n,o){return r=>{e.getEventFullKey(r)===t&&o.runGuarded(()=>n(r))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.c))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),I=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(r.Hb)({factory:function(){return Object(r.Ub)(N)},token:e,providedIn:"root"}),e})();function D(e){return new N(e.get(o.c))}let N=(()=>{class e extends I{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case r.H.NONE:return t;case r.H.HTML:return Object(r.cb)(t,"HTML")?Object(r.vb)(t):Object(r.Z)(this._doc,String(t));case r.H.STYLE:return Object(r.cb)(t,"Style")?Object(r.vb)(t):Object(r.ab)(t);case r.H.SCRIPT:if(Object(r.cb)(t,"Script"))return Object(r.vb)(t);throw new Error("unsafe value used in a script context");case r.H.URL:return Object(r.mb)(t),Object(r.cb)(t,"URL")?Object(r.vb)(t):Object(r.bb)(String(t));case r.H.RESOURCE_URL:if(Object(r.cb)(t,"ResourceURL"))return Object(r.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 ${e} (see http://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(e){return Object(r.db)(e)}bypassSecurityTrustStyle(e){return Object(r.gb)(e)}bypassSecurityTrustScript(e){return Object(r.fb)(e)}bypassSecurityTrustUrl(e){return Object(r.hb)(e)}bypassSecurityTrustResourceUrl(e){return Object(r.eb)(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(o.c))},e.\u0275prov=Object(r.Hb)({factory:function(){return D(Object(r.Ub)(r.o))},token:e,providedIn:"root"}),e})();const R=[{provide:r.B,useValue:o.q},{provide:r.C,useValue:function(){i.makeCurrent(),u.init()},multi:!0},{provide:o.c,useFactory:function(){return Object(r.tb)(document),document},deps:[]}],U=Object(r.Q)(r.U,"browser",R),L=[[],{provide:r.X,useValue:"root"},{provide:r.m,useFactory:function(){return new r.m},deps:[]},{provide:d,useClass:v,multi:!0,deps:[o.c,r.z,r.B]},{provide:d,useClass:j,multi:!0,deps:[o.c]},[],{provide:O,useClass:O,deps:[p,f,r.c]},{provide:r.E,useExisting:O},{provide:g,useExisting:f},{provide:f,useClass:f,deps:[o.c]},{provide:r.L,useClass:r.L,deps:[r.z]},{provide:p,useClass:p,deps:[d,r.z]},[]];let B=(()=>{class e{constructor(e){if(e)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.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:r.c,useValue:t.appId},{provide:l,useExisting:r.c},h]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)(r.Ub(e,12))},providers:L,imports:[o.b,r.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 ae})),n.d(t,"c",(function(){return ne})),n.d(t,"d",(function(){return re})),n.d(t,"e",(function(){return Z})),n.d(t,"f",(function(){return J})),n.d(t,"g",(function(){return W})),n.d(t,"h",(function(){return Q})),n.d(t,"i",(function(){return se})),n.d(t,"j",(function(){return q})),n.d(t,"k",(function(){return K})),n.d(t,"l",(function(){return he}));var o=n("fXoL"),r=n("ofXK"),s=n("XNiG"),i=n("PqYM"),a=n("hi8z"),c=n("RPfa"),l=n("tyNb"),h=n("R0Ic"),u=n("mrSG"),d=n("FYIv"),p=(n("WB8P"),n("3Pt+")),m=n("tk/3"),g=n("aEx1"),f=n("zCZe"),b=n("jhN1");const y=["*"];function _(e,t){1&e&&(o.Ob(0),o.Qb(1,"span",1),o.zc(2,"(none)"),o.Pb(),o.Nb())}function C(e,t){if(1&e&&(o.Qb(0,"div",3),o.Qb(1,"i",4),o.zc(2),o.Pb(),o.Pb()),2&e){const e=o.cc();o.zb(2),o.Ac(e.icon)}}function O(e,t){if(1&e&&(o.Qb(0,"div",5),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.message)}}function P(e,t){if(1&e){const e=o.Rb();o.Qb(0,"div",6),o.Qb(1,"button",7),o.Yb("click",(function(){return o.qc(e),o.cc().doCancel()})),o.zc(2,"Cancel"),o.Pb(),o.Pb()}}function w(e,t){1&e&&o.Mb(0,"commons-modal-progress",1),2&e&&o.jc("@delayedAnimation",!0)}const M=["commons-dialog",""];function v(e,t){if(1&e){const e=o.Rb();o.Qb(0,"button",6),o.Yb("click",(function(){return o.qc(e),o.cc().onButton.emit("_delete")})),o.Qb(1,"i",7),o.zc(2,"delete"),o.Pb(),o.Pb()}}function E(e,t){if(1&e){const e=o.Rb();o.Qb(0,"button",8),o.Yb("click",(function(){o.qc(e);const n=t.$implicit;return o.cc().onButton.emit(n)})),o.zc(1),o.Pb()}if(2&e){const e=t.$implicit,n=o.cc();o.jc("disabled","OK"===e&&void 0!==n.countdown&&n.countdown>0),o.zb(1),o.Ac("OK"===e&&void 0!==n.countdown&&n.countdown>0?n.countdown:e)}}const k=[[["","title",""]],[["","message",""]]],T=["[title]","[message]"];function S(e,t){if(1&e&&(o.Qb(0,"span",4),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.dialogs[0].message)}}function x(e,t){if(1&e){const e=o.Rb();o.Qb(0,"dialog",1),o.Yb("onButton",(function(t){o.qc(e);const n=o.cc();return n.doButton(n.dialogs[0],t)}))("onClickOff",(function(){o.qc(e);const t=o.cc();return t.doClickOff(t.dialogs[0])})),o.Qb(1,"span",2),o.zc(2),o.Pb(),o.xc(3,S,2,1,"span",3),o.Pb()}if(2&e){const e=o.cc();o.jc("buttons",e.dialogs[0].buttons)("countdown",e.dialogs[0].countdown),o.zb(2),o.Ac(e.dialogs[0].title),o.zb(1),o.jc("ngIf",e.dialogs[0].message)}}function A(e,t){if(1&e){const e=o.Rb();o.Qb(0,"commons-info-line",4),o.Yb("onClose",(function(){return o.qc(e),o.cc().doClose()})),o.zc(1),o.Pb()}if(2&e){const e=o.cc();o.jc("allowClose",e.allowClose),o.zb(1),o.Ac(e.snack.message)}}function j(e,t){if(1&e){const e=o.Rb();o.Qb(0,"commons-info-line",5),o.Yb("onClose",(function(){return o.qc(e),o.cc().doClose()})),o.zc(1),o.Pb()}if(2&e){const e=o.cc();o.jc("allowClose",e.allowClose),o.zb(1),o.Ac(e.snack.message)}}function I(e,t){if(1&e){const e=o.Rb();o.Qb(0,"commons-info-line",6),o.Yb("onClose",(function(){return o.qc(e),o.cc().doClose()})),o.zc(1),o.Pb()}if(2&e){const e=o.cc();o.jc("allowClose",e.allowClose),o.zb(1),o.Ac(e.snack.message)}}const D=["commons-avatar-list-item",""];function N(e,t){if(1&e&&(o.Qb(0,"i",13),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.avatar.icon)}}function R(e,t){if(1&e&&(o.Qb(0,"i",14),o.zc(1),o.Pb()),2&e){const e=o.cc(2);o.zb(1),o.Ac(e.avatar.icon)}}function U(e,t){if(1&e&&o.Mb(0,"i"),2&e){const e=o.cc(2);o.Bb("mdi mdi-"+e.avatar.icon)}}function L(e,t){if(1&e&&(o.Qb(0,"label",8),o.Ob(1,9),o.xc(2,N,2,1,"i",10),o.xc(3,R,2,1,"i",11),o.xc(4,U,1,2,"i",12),o.Nb(),o.Pb()),2&e){const e=o.cc();o.wc("background-color",e.avatar.background)("color",e.avatar.foreground),o.zb(1),o.jc("ngSwitch",e.getIconSet()),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MATERIALDESIGN3),o.zb(1),o.jc("ngSwitchCase",e.EMaterialDesignIcons.MDI)}}function B(e,t){if(1&e&&(o.Qb(0,"label",15),o.zc(1),o.Pb()),2&e){const e=o.cc();o.zb(1),o.Ac(e.avatar.letter)}}function F(e,t){if(1&e&&o.Mb(0,"img",16),2&e){const e=o.cc();o.jc("src",e.avatar.image,o.sc)}}function H(e,t){if(1&e&&o.Mb(0,"label",17),2&e){const e=o.cc();o.wc("background-image",e.getUrl(),o.Eb)}}function z(e,t){1&e&&(o.Qb(0,"label",18),o.Mb(1,"commons-wait-rotate",19),o.Pb()),2&e&&(o.zb(1),o.jc("thickness",4))}const $=[[["","title",""]],[["","label",""]],[["","time",""]]],V=["[title]","[label]","[time]"],G=["commons-avatar-list",""],K=function(){var e={NOTIFICATION:0,ERROR:1,SUCCESS:2};return e[e.NOTIFICATION]="NOTIFICATION",e[e.ERROR]="ERROR",e[e.SUCCESS]="SUCCESS",e}();let q=(()=>{class e{constructor(e){this.location=e,this.titleSubject=new o.n(!0),this.stack=[],this.location.subscribe(e=>{if(0===this.stack.length)return void console.log("Tried to move up an empty stack. This should not occur in normal operation.");if(this.stack.pop(),0===this.stack.length)return void console.log("Stack mismatch. Should not occur");const t=this.stack.pop();t&&this.titleSubject.emit(t)})}titleObservable(){return this.titleSubject}down(e){this.stack.push(e),this.titleSubject.emit(e)}up(){this.location.back()}reset(){this.stack=[],this.titleSubject.emit(null)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(r.f))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),Y=(()=>{class e{constructor(){this.subject=new s.a}static generate(e,t,n,o,r,s){return{title:e,message:t,buttons:n,countdown:s,callback:o,clickOff:r}}observable(){return this.subject.asObservable()}ok(t,n,o){this.subject.next(e.generate(t,n,["OK"],e=>o(),()=>o()))}cancel(t,n,o){this.subject.next(e.generate(t,n,["Cancel"],e=>o(),()=>o()))}confirm(t,n,o,r,s){this.subject.next(e.generate(t,n,["Cancel","OK"],e=>{"OK"===e&&o(),"Cancel"===e&&r()},()=>r(),s))}yesno(t,n,o,r){this.subject.next(e.generate(t,n,["No","Yes"],e=>{"Yes"===e&&o(),"No"===e&&r()}))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),Q=(()=>{class e{constructor(){this.showEmitter=new o.n(!0),this.hideEmitter=new o.n(!0),this.suppress=new Map}show(e){this.showEmitter.emit(e)}hide(e){this.suppress.get(e)||this.hideEmitter.emit(e)}showObservable(){return this.showEmitter}hideObservable(){return this.hideEmitter}suppressBriefly(e){this.suppress.set(e,!0),setTimeout(()=>{this.suppress.set(e,!1)},200)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),W=(()=>{class e extends a.a{}return e.\u0275fac=function(t){return X(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-menu"]],features:[o.wb],ngContentSelectors:y,decls:2,vars:0,template:function(e,t){1&e&&(o.ic(),o.Qb(0,"ul"),o.hc(1),o.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})();const X=o.Sb(W);let Z=(()=>{class e extends c.f{constructor(e,t){super(e),this.menuService=t}closeOverflowA(){this.menuService.suppressBriefly(this.name)}closeOverflowB(){this.menuService.hide(this.name)}ngOnInit(){super.ngOnInit(),this.menuService.suppressBriefly(this.name)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(c.g),o.Lb(Q))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-inline-menu"]],hostBindings:function(e,t){1&e&&o.Yb("click",(function(){return t.closeOverflowA()}))("click",(function(){return t.closeOverflowB()}),!1,o.pc)},inputs:{name:"name"},features:[o.wb],ngContentSelectors:y,decls:3,vars:0,template:function(e,t){1&e&&(o.ic(),o.Qb(0,"menu"),o.Qb(1,"commons-menu"),o.hc(2),o.Pb(),o.Pb())},directives:[W],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=(()=>{class e extends c.f{constructor(e,t){super(e),this.menuService=t}doClose(){this.autoclose&&this.menuService.hide(this.menu)}close(){this.menuService.hide(this.menu)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(c.g),o.Lb(Q))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-inline-menu-item"]],hostBindings:function(e,t){1&e&&o.Yb("click",(function(){return t.doClose()}))},inputs:{autoclose:"autoclose",menu:"menu",none:"none"},features:[o.wb],ngContentSelectors:y,decls:3,vars:1,consts:[[4,"ngIf"],[1,"none"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"li"),o.hc(1),o.xc(2,_,3,0,"ng-container",0),o.Pb()),2&e&&(o.zb(2),o.jc("ngIf",t.none))},directives:[r.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=(()=>{class e extends a.a{constructor(){super(...arguments),this.cancel=!1,this.onCancel=new o.n}doCancel(){this.onCancel.emit()}}return e.\u0275fac=function(t){return te(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-modal-progress"]],inputs:{cancel:"cancel",message:"message",icon:"icon",rainbow:"rainbow"},outputs:{onCancel:"onCancel"},features:[o.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&&(o.Qb(0,"aside"),o.xc(1,C,3,1,"div",0),o.Mb(2,"commons-wait-rotate"),o.xc(3,O,2,1,"div",1),o.xc(4,P,3,0,"div",2),o.Pb()),2&e&&(o.zb(1),o.jc("ngIf",t.icon),o.zb(1),o.Cb("rainbow",t.rainbow),o.zb(1),o.jc("ngIf",t.message),o.zb(1),o.jc("ngIf",t.cancel))},directives:[r.j,g.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})();const te=o.Sb(ee);let ne=(()=>{class e extends a.a{constructor(e,t){super(),this.router=e,this.delayedService=t,this.routing=!1,this.delayed=!1}ngOnInit(){super.ngOnInit(),this.subscribe(this.router.events,e=>{e instanceof l.e&&(this.routing=!0),(e instanceof l.c||e instanceof l.b||e instanceof l.d)&&(this.routing=!1)}),this.subscribe(this.delayedService.delayedObservable(),e=>{this.delayed=e})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(l.f),o.Lb(f.b))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-delayed"]],features:[o.wb],decls:1,vars:1,consts:[["full","",4,"ngIf"],["full",""]],template:function(e,t){1&e&&o.xc(0,w,1,1,"commons-modal-progress",0),2&e&&o.jc("ngIf",t.delayed||t.routing)},directives:[r.j,ee],styles:["@charset 'utf8';"],data:{animation:[Object(h.j)("delayedAnimation",[Object(h.i)("void => *",[Object(h.h)({opacity:0}),Object(h.e)("100ms",Object(h.h)({opacity:1}))]),Object(h.i)("* => void",[Object(h.h)({opacity:1}),Object(h.e)("100ms",Object(h.h)({opacity:0}))])])]}}),e})(),oe=(()=>{class e extends c.f{constructor(e){super(e),this.onButton=new o.n,this.onClickOff=new o.n}ngOnInit(){super.ngOnInit(),this.setInterval(1e3,1e3,d.ECommonsInvocation.FIXED,()=>Object(u.a)(this,void 0,void 0,(function*(){void 0!==this.countdown&&this.countdown>0&&this.countdown--})))}doClickOff(){this.onClickOff.emit()}hasDelete(){return-1!==this.buttons.indexOf("_delete")}listPrunedButtons(){return this.buttons.filter(e=>"_delete"!==e)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(c.g))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-dialog",""]],inputs:{buttons:"buttons",countdown:"countdown"},outputs:{onButton:"onButton",onClickOff:"onClickOff"},features:[o.wb],attrs:M,ngContentSelectors:T,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&&(o.ic(k),o.Qb(0,"aside",0),o.Yb("click",(function(){return t.doClickOff()})),o.Pb(),o.Qb(1,"dialog",1),o.Qb(2,"div",2),o.Qb(3,"h4"),o.hc(4),o.Pb(),o.Pb(),o.Qb(5,"p"),o.hc(6,1),o.Pb(),o.Qb(7,"div",3),o.xc(8,v,3,0,"button",4),o.xc(9,E,2,2,"button",5),o.Pb(),o.Pb()),2&e&&(o.zb(8),o.jc("ngIf",t.hasDelete()),o.zb(1),o.jc("ngForOf",t.listPrunedButtons()))},directives:[r.j,r.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})(),re=(()=>{class e extends a.a{constructor(e){super(),this.dialogService=e,this.dialogs=[]}ngOnInit(){super.ngOnInit(),this.subscribe(this.dialogService.observable(),e=>{this.dialogs.push(e)})}doButton(e,t){this.dialogs.splice(this.dialogs.indexOf(e),1),e.callback(t)}doClickOff(e){e.clickOff&&(this.dialogs.splice(this.dialogs.indexOf(e),1),e.clickOff())}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(Y))},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-dialogs"]],features:[o.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&&o.xc(0,x,4,4,"dialog",0),2&e&&o.jc("ngIf",t.dialogs.length)},directives:[r.j,oe],styles:["@charset 'utf8';"]}),e})(),se=(()=>{class e extends a.a{constructor(){super(...arguments),this.allowClose=!0,this.onClose=new o.n}ngOnInit(){super.ngOnInit(),this.timeout&&this.subscribe(Object(i.a)(this.timeout),()=>this.doClose())}isError(){return this.snack&&this.snack.type===K.ERROR}isSuccess(){return this.snack&&this.snack.type===K.SUCCESS}isNotification(){return this.snack&&this.snack.type===K.NOTIFICATION}doClose(){this.onClose.emit()}}return e.\u0275fac=function(t){return ie(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["commons-snack"]],inputs:{allowClose:"allowClose",timeout:"timeout",snack:"snack",index:"index"},outputs:{onClose:"onClose"},features:[o.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&&(o.Qb(0,"aside",0),o.xc(1,A,2,2,"commons-info-line",1),o.xc(2,j,2,2,"commons-info-line",2),o.xc(3,I,2,2,"commons-info-line",3),o.Pb()),2&e&&(o.jc("ngClass","snack"+t.index),o.zb(1),o.jc("ngIf",t.isError()),o.zb(1),o.jc("ngIf",t.isSuccess()),o.zb(1),o.jc("ngIf",t.isNotification()))},directives:[r.h,r.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})();const ie=o.Sb(se);let ae=(()=>{class e extends c.f{constructor(e,t){super(t),this.sanitized=e,this.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG=!0,this.EMaterialDesignIcons=c.i,this.onSelect=new o.n}doSelect(){this.onSelect.emit()}getIconSet(){return this.avatar.iconSet||c.i.MATERIALDESIGN}getUrl(){return this.sanitized.bypassSecurityTrustStyle(`url('${this.avatar.image}')`)}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(b.b),o.Lb(c.g))},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-avatar-list-item",""]],inputs:{avatar:"avatar"},outputs:{onSelect:"onSelect"},features:[o.wb],attrs:D,ngContentSelectors:V,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&&(o.ic($),o.Qb(0,"section",0),o.Yb("click",(function(){return t.doSelect()})),o.xc(1,L,5,8,"label",1),o.xc(2,B,2,1,"label",2),o.xc(3,F,1,1,"img",3),o.xc(4,H,1,2,"label",4),o.xc(5,z,2,1,"label",5),o.Qb(6,"section",6),o.Qb(7,"p"),o.hc(8),o.Pb(),o.Qb(9,"label"),o.hc(10,1),o.Pb(),o.Qb(11,"time"),o.hc(12,2),o.Pb(),o.Pb(),o.Mb(13,"div",7),o.Pb()),2&e&&(o.zb(1),o.jc("ngIf",t.avatar.icon),o.zb(1),o.jc("ngIf",void 0!==t.avatar.letter),o.zb(1),o.jc("ngIf",t.avatar.image&&t.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG),o.zb(1),o.jc("ngIf",t.avatar.image&&!t.USE_IMG_RATHER_THAN_LABEL_BACKGROUND_BUG),o.zb(1),o.jc("ngIf",t.avatar.waitRotate))},directives:[r.j,r.k,r.l,g.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=(()=>{class e extends a.a{constructor(){super(...arguments),this.title="",this.noTopGap=!1,this.noBottomGap=!1,this.biggerTopGap=!1}}return e.\u0275fac=function(t){return le(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["","commons-avatar-list",""]],inputs:{title:"title",noTopGap:"noTopGap",noBottomGap:"noBottomGap",biggerTopGap:"biggerTopGap"},features:[o.wb],attrs:G,ngContentSelectors:y,decls:2,vars:7,consts:[[3,"title"]],template:function(e,t){1&e&&(o.ic(),o.Qb(0,"commons-pane",0),o.hc(1),o.Pb()),2&e&&(o.Cb("no-top-gap",t.noTopGap)("bigger-top-gap",t.biggerTopGap)("no-bottom-gap",t.noBottomGap),o.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})();const le=o.Sb(ce);let he=(()=>{class e{static forRoot(){return{ngModule:e,providers:[q,Y,Q]}}}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},imports:[[r.b,p.b,m.b,c.j,g.b]]}),e})()},kJWO:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=(()=>"function"==typeof Symbol&&Symbol.observable||"@@observable")()},kSER:function(e,t){e.exports=function(e,t){for(var n=[],o=(t=t||0)||0;o<e.length;o++)n[o-t]=e[o];return n}},l7GE:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("7o/Q");class r extends o.a{notifyNext(e,t,n,o,r){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}},lJxs:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("7o/Q");function r(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 s(e,t))}}class s{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new i(e,this.project,this.thisArg))}}class i extends o.a{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}},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 r})),n.d(t,"b",(function(){return s}));var o=n("KqfI");function r(...e){return s(e)}function s(e){return e?1===e.length?e[0]:function(t){return e.reduce((e,t)=>t(e),t)}:o.a}},mrSG:function(e,t,n){"use strict";function o(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){e.done?r(e.value):new n((function(t){t(e.value)})).then(i,a)}c((o=o.apply(e,t||[])).next())}))}n.d(t,"a",(function(){return o}))},"n/ur":function(e,t,n){"use strict";function o(e){for(var n in e)t.hasOwnProperty(n)||(t[n]=e[n])}Object.defineProperty(t,"__esModule",{value:!0}),o(n("+2C2")),o(n("uj45"))},n6bG:function(e,t,n){"use strict";function o(e){return"function"==typeof e}n.d(t,"a",(function(){return o}))},nYR2:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("7o/Q"),r=n("quSY");function s(e){return t=>t.lift(new i(e))}class i{constructor(e){this.callback=e}call(e,t){return t.subscribe(new a(e,this.callback))}}class a extends o.a{constructor(e,t){super(e),this.add(new r.a(t))}}},ncEt:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");t.isTOutcome=function(e){return!!o.CommonsType.hasPropertyNumber(e,"index")&&!!o.CommonsType.hasPropertyBoolean(e,"failed")&&!!o.CommonsType.hasPropertyNumberOrUndefined(e,"statusCode")}},ngJS:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));const o=e=>t=>{for(let n=0,o=e.length;n<o&&!t.closed;n++)t.next(e[n]);t.complete()}},"oIG/":function(e,t){var n,o,r,s=String.fromCharCode;function i(e){for(var t,n,o=[],r=0,s=e.length;r<s;)(t=e.charCodeAt(r++))>=55296&&t<=56319&&r<s?56320==(64512&(n=e.charCodeAt(r++)))?o.push(((1023&t)<<10)+(1023&n)+65536):(o.push(t),r--):o.push(t);return o}function a(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 s(e>>t&63|128)}function l(e,t){if(0==(4294967168&e))return s(e);var n="";return 0==(4294965248&e)?n=s(e>>6&31|192):0==(4294901760&e)?(a(e,t)||(e=65533),n=s(e>>12&15|224),n+=c(e,6)):0==(4292870144&e)&&(n=s(e>>18&7|240),n+=c(e,12),n+=c(e,6)),n+s(63&e|128)}function h(){if(r>=o)throw Error("Invalid byte index");var e=255&n[r];if(r++,128==(192&e))return 63&e;throw Error("Invalid continuation byte")}function u(e){var t,s;if(r>o)throw Error("Invalid byte index");if(r==o)return!1;if(t=255&n[r],r++,0==(128&t))return t;if(192==(224&t)){if((s=(31&t)<<6|h())>=128)return s;throw Error("Invalid continuation byte")}if(224==(240&t)){if((s=(15&t)<<12|h()<<6|h())>=2048)return a(s,e)?s:65533;throw Error("Invalid continuation byte")}if(240==(248&t)&&(s=(7&t)<<18|h()<<12|h()<<6|h())>=65536&&s<=1114111)return s;throw Error("Invalid UTF-8 detected")}e.exports={version:"2.1.2",encode:function(e,t){for(var n=!1!==(t=t||{}).strict,o=i(e),r=o.length,s=-1,a="";++s<r;)a+=l(o[s],n);return a},decode:function(e,t){var a=!1!==(t=t||{}).strict;n=i(e),o=n.length,r=0;for(var c,l=[];!1!==(c=u(a));)l.push(c);return function(e){for(var t,n=e.length,o=-1,r="";++o<n;)(t=e[o])>65535&&(r+=s((t-=65536)>>>10&1023|55296),t=56320|1023&t),r+=s(t);return r}(l)}}},ofXK:function(e,t,n){"use strict";n.d(t,"a",(function(){return C})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return P})),n.d(t,"e",(function(){return u})),n.d(t,"f",(function(){return w})),n.d(t,"g",(function(){return y})),n.d(t,"h",(function(){return A})),n.d(t,"i",(function(){return I})),n.d(t,"j",(function(){return N})),n.d(t,"k",(function(){return B})),n.d(t,"l",(function(){return F})),n.d(t,"m",(function(){return O})),n.d(t,"n",(function(){return l})),n.d(t,"o",(function(){return $})),n.d(t,"p",(function(){return a})),n.d(t,"q",(function(){return z})),n.d(t,"r",(function(){return s})),n.d(t,"s",(function(){return x})),n.d(t,"t",(function(){return i}));var o=n("fXoL");let r=null;function s(){return r}function i(e){r||(r=e)}class a{}const c=new o.q("DocumentToken");let l=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o.Hb)({factory:h,token:e,providedIn:"platform"}),e})();function h(){return Object(o.Ub)(d)}const u=new o.q("Location Initialized");let d=(()=>{class e extends l{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=s().getLocation(),this._history=s().getHistory()}getBaseHrefFromDOM(){return s().getBaseHref(this._doc)}onPopState(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){s().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){p()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){p()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(c))},e.\u0275prov=Object(o.Hb)({factory:m,token:e,providedIn:"platform"}),e})();function p(){return!!window.history.pushState}function m(){return new d(Object(o.Ub)(c))}function g(e,t){if(0==e.length)return t;if(0==t.length)return e;let n=0;return e.endsWith("/")&&n++,t.startsWith("/")&&n++,2==n?e+t.substring(1):1==n?e+t:e+"/"+t}function f(e){const t=e.match(/#|\?|$/),n=t&&t.index||e.length;return e.slice(0,n-("/"===e[n-1]?1:0))+e.slice(n)}function b(e){return e&&"?"!==e[0]?"?"+e:e}let y=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=Object(o.Hb)({factory:_,token:e,providedIn:"root"}),e})();function _(e){const t=Object(o.Ub)(c).location;return new O(Object(o.Ub)(l),t&&t.origin||"")}const C=new o.q("appBaseHref");let O=(()=>{class e extends y{constructor(e,t){if(super(),this._platformLocation=e,null==t&&(t=this._platformLocation.getBaseHrefFromDOM()),null==t)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.");this._baseHref=t}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return g(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+b(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,o){const r=this.prepareExternalUrl(n+b(o));this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,o){const r=this.prepareExternalUrl(n+b(o));this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(l),o.Ub(C,8))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),P=(()=>{class e extends y{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",null!=t&&(this._baseHref=t)}onPopState(e){this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e)}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=g(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,o){let r=this.prepareExternalUrl(n+b(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.pushState(e,t,r)}replaceState(e,t,n,o){let r=this.prepareExternalUrl(n+b(o));0==r.length&&(r=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,r)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(l),o.Ub(C,8))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),w=(()=>{class e{constructor(e,t){this._subject=new o.n,this._urlChangeListeners=[],this._platformStrategy=e;const n=this._platformStrategy.getBaseHref();this._platformLocation=t,this._baseHref=f(v(n)),this._platformStrategy.onPopState(e=>{this._subject.emit({url:this.path(!0),pop:!0,state:e.state,type:e.type})})}path(e=!1){return this.normalize(this._platformStrategy.path(e))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+b(t))}normalize(t){return e.stripTrailingSlash(function(e,t){return e&&t.startsWith(e)?t.substring(e.length):t}(this._baseHref,v(t)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._platformStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._platformStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}replaceState(e,t="",n=null){this._platformStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+b(t)),n)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}onUrlChange(e){this._urlChangeListeners.push(e),this.subscribe(e=>{this._notifyUrlChangeListeners(e.url,e.state)})}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(y),o.Ub(l))},e.normalizeQueryParams=b,e.joinWithSlash=g,e.stripTrailingSlash=f,e.\u0275prov=Object(o.Hb)({factory:M,token:e,providedIn:"root"}),e})();function M(){return new w(Object(o.Ub)(y),Object(o.Ub)(l))}function v(e){return e.replace(/\/index.html$/,"")}const E=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}(),k=o.lb;class T{}let S=(()=>{class e extends T{constructor(e){super(),this.locale=e}getPluralCategory(e,t){switch(k(t||this.locale)(e)){case E.Zero:return"zero";case E.One:return"one";case E.Two:return"two";case E.Few:return"few";case E.Many:return"many";default:return"other"}}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(o.u))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();function x(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[o,r]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(o.trim()===t)return decodeURIComponent(r)}return null}let A=(()=>{class e{constructor(e,t,n,o){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=o,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(e){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof e?e.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(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(o.ob)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const e=this._iterableDiffer.diff(this._rawClass);e&&this._applyIterableChanges(e)}else if(this._keyValueDiffer){const e=this._keyValueDiffer.diff(this._rawClass);e&&this._applyKeyValueChanges(e)}}_applyKeyValueChanges(e){e.forEachAddedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachChangedItem(e=>this._toggleClass(e.key,e.currentValue)),e.forEachRemovedItem(e=>{e.previousValue&&this._toggleClass(e.key,!1)})}_applyIterableChanges(e){e.forEachAddedItem(e=>{if("string"!=typeof e.item)throw new Error("NgClass can only toggle CSS classes expressed as strings, got "+Object(o.ub)(e.item));this._toggleClass(e.item,!0)}),e.forEachRemovedItem(e=>this._toggleClass(e.item,!1))}_applyClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!0)):Object.keys(e).forEach(t=>this._toggleClass(t,!!e[t])))}_removeClasses(e){e&&(Array.isArray(e)||e instanceof Set?e.forEach(e=>this._toggleClass(e,!1)):Object.keys(e).forEach(e=>this._toggleClass(e,!1)))}_toggleClass(e,t){(e=e.trim())&&e.split(/\s+/g).forEach(e=>{t?this._renderer.addClass(this._ngEl.nativeElement,e):this._renderer.removeClass(this._ngEl.nativeElement,e)})}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.s),o.Lb(o.t),o.Lb(o.l),o.Lb(o.D))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),e})();class j{constructor(e,t,n,o){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=o}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let I=(()=>{class e{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){Object(o.T)()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. See https://angular.io/api/common/NgForOf#change-propagation for more information.`),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,o)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new j(null,this._ngForOf,-1,-1),null===o?void 0:o),r=new D(e,n);t.push(r)}else if(null==o)this._viewContainer.remove(null===n?void 0:n);else if(null!==n){const r=this._viewContainer.get(n);this._viewContainer.move(r,o);const s=new D(e,r);t.push(s)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,o=this._viewContainer.length;n<o;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=o,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.N),o.Lb(o.K),o.Lb(o.s))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),e})();class D{constructor(e,t){this.record=e,this.view=t}}let N=(()=>{class e{constructor(e,t){this._viewContainer=e,this._context=new R,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){U("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){U("ngIfElse",e),this._elseTemplateRef=e,this._elseViewRef=null,this._updateView()}_updateView(){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)))}static ngTemplateContextGuard(e,t){return!0}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.N),o.Lb(o.K))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),e})();class R{constructor(){this.$implicit=null,this.ngIf=null}}function U(e,t){if(t&&!t.createEmbeddedView)throw new Error(`${e} must be a TemplateRef, but received '${Object(o.ub)(t)}'.`)}class L{constructor(e,t){this._viewContainerRef=e,this._templateRef=t,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(e){e&&!this._created?this.create():!e&&this._created&&this.destroy()}}let B=(()=>{class e{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(e)}_matchCase(e){const 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}_updateDefaultCases(e){if(this._defaultViews&&e!==this._defaultUsed){this._defaultUsed=e;for(let t=0;t<this._defaultViews.length;t++)this._defaultViews[t].enforceState(e)}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=o.Gb({type:e,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),e})(),F=(()=>{class e{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new L(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return e.\u0275fac=function(t){return new(t||e)(o.Lb(o.N),o.Lb(o.K),o.Lb(B,1))},e.\u0275dir=o.Gb({type:e,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),e})(),H=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[{provide:T,useClass:S}]}),e})();const z="browser";let $=(()=>{class e{}return e.\u0275prov=Object(o.Hb)({token:e,providedIn:"root",factory:()=>new V(Object(o.Ub)(c),window,Object(o.Ub)(o.m))}),e})();class V{constructor(e,t,n){this.document=e,this.window=t,this.errorHandler=n,this.offset=()=>[0,0]}setOffset(e){this.offset=Array.isArray(e)?()=>e:e}getScrollPosition(){return this.supportScrollRestoration()?[this.window.scrollX,this.window.scrollY]:[0,0]}scrollToPosition(e){this.supportScrollRestoration()&&this.window.scrollTo(e[0],e[1])}scrollToAnchor(e){if(this.supportScrollRestoration()){e=this.window.CSS&&this.window.CSS.escape?this.window.CSS.escape(e):e.replace(/(\"|\'\ |:|\.|\[|\]|,|=)/g,"\\$1");try{const t=this.document.querySelector("#"+e);if(t)return void this.scrollToElement(t);const n=this.document.querySelector(`[name='${e}']`);if(n)return void this.scrollToElement(n)}catch(t){this.errorHandler.handleError(t)}}}setHistoryScrollRestoration(e){if(this.supportScrollRestoration()){const t=this.window.history;t&&t.scrollRestoration&&(t.scrollRestoration=e)}}scrollToElement(e){const t=e.getBoundingClientRect(),n=t.left+this.window.pageXOffset,o=t.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(n-r[0],o-r[1])}supportScrollRestoration(){try{return!!this.window&&!!this.window.scrollTo}catch(e){return!1}}}},oqX0:function(e,t,n){"use strict";var o=this&&this.__awaiter||function(e,t,n,o){return new(n||(n=Promise))((function(r,s){function i(e){try{c(o.next(e))}catch(t){s(t)}}function a(e){try{c(o.throw(e))}catch(t){s(t)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))};Object.defineProperty(t,"__esModule",{value:!0});const r=n("WB8P"),s=n("tl0M");class i{static clearTimeout(e){clearTimeout(i.timeouts.get(e).thread),i.timeouts.delete(e)}static timeout(e,t){return t&&i.timeouts.has(t)&&i.clearTimeout(t),new Promise((n,o)=>{const r=setTimeout(()=>{t&&i.timeouts.has(t)&&i.clearTimeout(t),n()},e);t&&i.timeouts.set(t,{thread:r,reject:()=>{o(new Error("abortTimeout called"))}})})}static abortTimeout(e){if(i.timeouts.has(e)){const t=i.timeouts.get(e).reject;i.clearTimeout(e),t()}}static clearInterval(e){clearInterval(i.intervals.get(e)),i.intervals.delete(e);const t=this.idUid.get(e);void 0!==t&&this.isInCycle.delete(t),this.idUid.delete(e)}static interval(e,t,n,a){switch(a&&i.intervals.has(a)&&i.clearInterval(a),t){case s.ECommonsInvocation.FIXED:{const t=setInterval(()=>o(this,void 0,void 0,(function*(){yield n()})),e);a&&i.intervals.set(a,t);break}case s.ECommonsInvocation.WHEN:(()=>{o(this,void 0,void 0,(function*(){void 0!==a&&this.isAborted.set(a,!1);const t=()=>void 0!==a&&(this.isAborted.get(a)||!1);for(;!t();)try{yield n()}catch(o){console.log(o)}finally{yield i.timeout(e)}void 0!==a&&this.isAborted.delete(a)}))})();break;case s.ECommonsInvocation.IF:{const t=r.CommonsBase62.generateRandomId();a&&this.idUid.set(a,t),this.isInCycle.set(t,!1),i.interval(e,s.ECommonsInvocation.FIXED,()=>o(this,void 0,void 0,(function*(){if(!this.isInCycle.get(t))try{this.isInCycle.set(t,!0),yield n()}finally{this.isInCycle.set(t,!1)}})),a);break}}}static abortInterval(e){this.isAborted.has(e)&&this.isAborted.set(e,!0),i.intervals.has(e)&&i.clearInterval(e)}}t.CommonsAsync=i,i.timeouts=new Map,i.intervals=new Map,i.isInCycle=new Map,i.idUid=new Map,i.isAborted=new Map},pJsf:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o="abcdefghijklmnopqrstuvwxyz".split(""),r="aeiou".split(""),s=o.filter(e=>!r.includes(e));class i{static ucWords(e){let t=!1;return e.toString().split("").map(e=>{const n=/^[A-Z]$/i.test(e);try{return!n||t?e:e.toUpperCase()}finally{t=n}}).join("")}static camelCase(e,t=!0){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map(e=>e.trim()).filter(e=>""!==e).map((e,n)=>0!==n||t?e.length<2?e.toUpperCase():e.substring(0,1).toUpperCase()+e.substring(1):e.toLowerCase()).join("")}static delimeterCase(e,t){return e.toString().replace(/([A-Z])/g," $1").replace(/[^a-z0-9]/gi," ").replace(/[ ]{2,}/," ").trim().split(" ").map(e=>e.trim().toLowerCase()).filter(e=>""!==e).join(t)}static snakeCase(e){return i.delimeterCase(e,"_")}static kebabCase(e){return i.delimeterCase(e,"-")}static dashedCase(e){return i.kebabCase(e)}static regexEscapeString(e){return e.replace(/[.]/g,"\\.").replace(/[?]/g,"[?]").replace(/[*]/g,"[*]").replace(/[+]/g,"[+]").replace(/[(]/g,"\\(").replace(/[)]/g,"\\)").replace(/\[/g,"\\[)").replace(/\]/g,"\\]").replace(/[{]/g,"[{]").replace(/[}]/g,"[}]")}static isAlphabet(e){return 1===e.length&&o.includes(e.toLowerCase())}static isVowel(e){return i.isAlphabet(e)&&r.includes(e.toLowerCase())}static isConsonant(e){return i.isAlphabet(e)&&s.includes(e.toLowerCase())}static regexLike(e){return`^${i.regexEscapeString(e)}$`.replace(/%/g,"(?:.|\\s)*")}static rtrim(e,t=" \r\n\0"){const 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}static ltrim(e,t=" \r\n\0"){const 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}static trim(e,t=" \r\n\0"){return i.ltrim(i.rtrim(e,t),t)}static limitLength(e,t=128,n=!1){if(e.length<=t)return e;let o=e.substr(0,t-3);if(!n)return o+"...";const r=o;for(;o.length>1;){if(/[^a-zA-Z0-9]/.test(o.slice(-1)))return o.substr(0,o.length-1)+"...";o=o.substr(0,o.length-1)}return r+"..."}static isCapitalised(e){return/^[A-Z]+$/.test(e.replace(/[^a-z]/i,""))}static capitaliseString(e,t){return t?e.toUpperCase():e}static pluralise(e,t=2,n=!0){if(0===e.length)return"";if(1===t)return e;if(0===t)return i.pluralise(e,2,n);const o=i.isCapitalised(e),r=e.charAt(e.length-1);if(!/[a-z]/i.test(r))return`${e}${i.capitaliseString("s",o)}`;if(n){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(e=>i.trim(e)).filter(e=>""!==e).includes(e.toLowerCase()))return e;switch(e.toLowerCase()){case"cafe":return i.capitaliseString("cafes",o);case"child":return i.capitaliseString("children",o);case"woman":return i.capitaliseString("women",o);case"man":return i.capitaliseString("men",o);case"mouse":return i.capitaliseString("mice",o);case"goose":return i.capitaliseString("geese",o);case"potato":return i.capitaliseString("potatoes",o)}if(/(craft|ies)$/.test(e.toLowerCase()))return e;if(/(ch|x|s|sh)$/i.test(e))return`${e}${i.capitaliseString("es",o)}`;const t=/^(.+)(f|fe)$/i.exec(e);if(null!==t)return`${t[1]}${i.capitaliseString("ves",o)}`;const n=/^(.+[abcdfghjklmnpqrstvwxyz])y$/i.exec(e);if(null!==n)return`${n[1]}${i.capitaliseString("ies",o)}`}return`${e}${i.capitaliseString("s",o)}`}static noOrNumber(e,t=!1,n=!1){if(0===e){const e=t?"none":"no";return n?i.ucWords(e):e}return e.toString()}static quantify(e,t,n=!0,o=!1){if(0===e.length)return i.noOrNumber(t,!0,o);const r=i.isCapitalised(e);return i.capitaliseString(`${i.noOrNumber(t,!1,o)} ${i.pluralise(e,t,n)}`,r)}static isVowelOrY(e){return i.isVowel(e)||"y"===e.toLowerCase()}static isConsonantNotY(e){return i.isConsonant(e)&&"y"!==e.toLowerCase()}static splitWords(e,t=!0,n=!1){return t||(e=e.replace("-"," - ")),n||(e=e.replace("'"," ' ")),e.split(/[^-'A-Za-z]/).map(e=>i.trim(e)).filter(e=>""!==e)}static internalRoughSyllables(e){const t=i.trim(e.toLowerCase()).split(""),n=[];let o=!1,r="",s=!0;for(;;){const e=t.shift();if(void 0===e)break;if(!i.isAlphabet(e)){r.length>0&&n.push(r),r="",s=!0,o=!1;continue}const a=i.isVowelOrY(e);if(o&&a)n.push(`${n.pop()}${e}`),o=!0;else if(!o||a)if(a){if(0===t.length&&n.length>0&&!s){n.push(`${n.pop()}${e}`);break}n.push(`${r}${e}`),r="",o=!0}else r+=e;else n.push(`${n.pop()}${e}`),o=!1}""!==r&&n.push(r.length>1?r:`${n.pop()}${r}`);for(let a=1;a<n.length;a++)n[a-1].length<2||i.isVowelOrY(n[a].charAt(0))&&i.isConsonantNotY(n[a-1].slice(-1))&&(n[a]=`${n[a-1].slice(-1)}${n[a]}`,n[a-1]=n[a-1].slice(0,n[a-1].length-1));return n}static roughSyllables(e){const t=[];for(const n of i.splitWords(e)){const e=i.internalRoughSyllables(n);for(const n of e)t.push(n)}return t}static splitSentences(e,t=/[.!?]/,n=!0,o=!0){o&&(e=e.replace(/-{2,}/g,". ")),t.test("\r")||(e=e.replace(/\r/," ")),t.test("\n")||(e=e.replace(/\n/," "));const r=i.trim(e).split(""),s=[];let a="";for(;;){const e=r.shift();if(void 0===e)break;if(t.test(e)){if(""===a&&s.length>0){s.push(`${s.pop()}${e}`);continue}if(""===i.trim(a)){a="";continue}if(!n||!/[-0-9]/.test(a.slice(-1))||0===r.length||!/[0-9]/.test(r[0])){s.push(`${i.ltrim(a)}${e}`),a="";continue}}a+=e}return""!==i.trim(a)&&s.push(i.trim(a)),s}static fleschKincaidReadingEase(e){const t=i.splitWords(e),n=i.splitSentences(e),o=i.roughSyllables(e);return 206.835-t.length/n.length*1.015-o.length/t.length*84.6}static automatedReadabilityIndex(e){const t=i.splitWords(e),n=i.splitSentences(e),o=[];for(const r of t)for(const e of r.split(""))i.isAlphabet(e)&&o.push(e);return o.length/t.length*4.71+t.length/n.length*.5-21.43}}t.CommonsString=i},pL1S:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");var r;function s(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 i(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=s,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!==s(e)},t.keyToEPhpErrorType=i,t.EPHP_ERROR_TYPES=Object.keys(r).map(e=>i(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 r}));var o=n("7o/Q");function r(e,t){return function(n){return n.lift(new s(e,t))}}class s{constructor(e,t){this.predicate=e,this.thisArg=t}call(e,t){return t.subscribe(new i(e,this.predicate,this.thisArg))}}class i extends o.a{constructor(e,t,n){super(e),this.predicate=t,this.thisArg=n,this.count=0}_next(e){let t;try{t=this.predicate.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}t&&this.destination.next(e)}}},po00:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return l})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c}));var o=n("hi8z"),r=n("ofXK"),s=n("fXoL");const i=["*"],a={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 a.PRIMARY:return"primary";case a.PRIMARY_LIGHT:return"primary-light";case a.PRIMARY_DARK:return"primary-dark";case a.SECONDARY:return"secondary";case a.SECONDARY_LIGHT:return"secondary-light";case a.SECONDARY_DARK:return"secondary_dark"}throw new Error("Unknown palette")}let l=(()=>{class e extends o.a{constructor(){super(...arguments),this.width=100,this.height=100}getViewBox(){return`0 0 ${this.width} ${this.height}`}}return e.\u0275fac=function(t){return h(t||e)},e.\u0275cmp=s.Fb({type:e,selectors:[["graphics-svg"]],inputs:{width:"width",height:"height"},features:[s.wb],ngContentSelectors:i,decls:2,vars:2,template:function(e,t){1&e&&(s.ic(),s.bc(),s.Qb(0,"svg"),s.hc(1),s.Pb()),2&e&&s.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})();const h=s.Sb(l);let u=(()=>{class e{}return e.\u0275mod=s.Jb({type:e}),e.\u0275inj=s.Ib({factory:function(t){return new(t||e)},imports:[[r.b]]}),e})()},quSY:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("DH7j"),r=n("XoHu"),s=n("n6bG");const i=(()=>{function e(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}return e.prototype=Object.create(Error.prototype),e})();let a=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:a,_subscriptions:l}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(Object(s.a)(a))try{a.call(this)}catch(h){t=h instanceof i?c(h.errors):[h]}if(Object(o.a)(l)){let e=-1,n=l.length;for(;++e<n;){const n=l[e];if(Object(r.a)(n))try{n.unsubscribe()}catch(h){t=t||[],h instanceof i?t=t.concat(c(h.errors)):t.push(h)}}}if(t)throw new i(t)}add(t){let 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)){const t=n;n=new e,n._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:o}=n;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)}const r=this._subscriptions;return null===r?this._subscriptions=[n]:r.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}var t;return e.EMPTY=((t=new e).closed=!0,t),e})();function c(e){return e.reduce((e,t)=>e.concat(t instanceof i?t.errors:t),[])}},r517:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("KSuy"),r=n("V0VN");var s;!function(e){e.STRING="string",e.NUMBER="number",e.BOOLEAN="boolean",e.OBJECT="object",e.DATE="date"}(s=t.EVariableType||(t.EVariableType={}));class i{static isDefined(e){return void 0!==e}static assertDefined(e){if(!i.isDefined(e))throw new Error("Assertion fail: variable is undefined");return e}static isPrimative(e){if(!i.isDefined(e))return!1;if(null===e)return!1;switch(typeof e){case"string":case"number":case"boolean":return!0;default:return!1}}static assertPrimative(e){if(!i.isPrimative(e))throw new Error("Assertion fail: variable is not a primative");return e}static isString(e){return i.isPrimative(e)&&"string"==typeof e}static assertString(e){if(!i.isString(e))throw new Error("Assertion fail: variable is not a string");return e}static attemptString(e){return i.isString(e)?e:void 0!==e&&null!=e?i.isArray(e)?e.map(e=>i.attemptString(e)).filter(e=>void 0!==e).join(", "):"object"==typeof e?JSON.stringify(e):"number"==typeof e?e.toString():"boolean"==typeof e?e?"true":"false":String(e):void 0}static isNumber(e){return i.isPrimative(e)&&"number"==typeof e}static assertNumber(e){if(!i.isNumber(e))throw new Error("Assertion fail: variable is not a number");return e}static attemptNumber(e){if(i.isNumber(e))return e;if(void 0!==e&&null!=e){if("string"==typeof e){const t=e.indexOf(".")>-1?parseFloat(e):parseInt(e,10);if(Number.isNaN(t))return;return t}return"boolean"==typeof e?e?1:0:Number(e)}}static isBoolean(e){return i.isPrimative(e)&&"boolean"==typeof e}static assertBoolean(e){if(!i.isBoolean(e))throw new Error("Assertion fail: variable is not a boolean");return e}static attemptBoolean(e){return i.isBoolean(e)?e:void 0!==e&&null!=e&&i.isPrimative(e)?i.checkboxBoolean(e):void 0}static isObject(e){return!!i.isDefined(e)&&null!==e&&"object"==typeof e}static assertObject(e){if(!i.isObject(e))throw new Error("Assertion fail: variable is not an object");return e}static attemptObject(e){if(i.isObject(e))return e;if(void 0!==e&&null!=e){if("string"==typeof e)try{const t=JSON.parse(e);return"object"==typeof t?t:void 0}catch(t){return}if("object"==typeof e&&!i.isArray(e))return e}}static isDate(e){return i.isObject(e)&&e instanceof Date}static assertDate(e){if(!i.isDate(e))throw new Error("Assertion fail: variable is not a Date object");return e}static attemptDate(e,t=!1){if(i.isDate(e))return e;if(void 0!==e&&null!=e&&"string"==typeof e){if(r.CommonsDate.isYmdHis(e))return r.CommonsDate.YmdHisToDate(e,t);if(r.CommonsDate.isdmYHi(e))return r.CommonsDate.dmYHiToDate(e,t);if(r.CommonsDate.isYmd(e))return r.CommonsDate.YmdToDate(e,t);if(r.CommonsDate.isdmY(e))return r.CommonsDate.dmYToDate(e,t);if(r.CommonsDate.isHis(e))return r.CommonsDate.HisToDate(e,t);if(r.CommonsDate.isHi(e))return r.CommonsDate.HiToDate(e,t);const n=Date.parse(e);if(Number.isNaN(n))return;return new Date(n)}}static isError(e){return i.isObject(e)&&e instanceof Error}static assertError(e){if(!i.isError(e))throw new Error("Assertion fail: variable is not an Error object");return e}static isArray(e){return i.isObject(e)&&Array.isArray(e)}static assertArray(e){if(!i.isArray(e))throw new Error("Assertion fail: variable is not an array");return e}static validateTKeyObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e))if(!t(e[n]))return!1;return!0}static validateTOrUndefinedKeyObject(e,t){if(!i.isObject(e))return!1;for(const n of Object.keys(e))if(i.hasProperty(e,n)&&void 0!==e[n]&&!t(e[n]))return!1;return!0}static isDefinedArray(e){if(!i.isArray(e))return!1;for(const t of e)if(!i.isDefined(t))return!1;return!0}static assertDefinedArray(e){if(!i.isDefinedArray(e))throw new Error("Assertion fail: variable is not a defined array");return e}static isDefinedKeyObject(e){if(!i.isObject(e))return!1;for(const t of Object.keys(e))if(!i.isDefined(e[t]))return!1;return!0}static assertDefinedKeyObject(e){if(!i.isDefinedKeyObject(e))throw new Error("Assertion fail: variable is not a defined key object");return e}static isPrimativeArray(e){if(!i.isDefinedArray(e))return!1;for(const t of e)if(!i.isPrimative(t))return!1;return!0}static assertPrimativeArray(e){if(!i.isPrimativeArray(e))throw new Error("Assertion fail: variable is not a primative array");return e}static isPrimativeKeyObject(e){if(!i.isObject(e))return!1;for(const t of Object.keys(e))if(!i.isPrimative(e[t]))return!1;return!0}static assertPrimativeKeyObject(e){if(!i.isPrimativeKeyObject(e))throw new Error("Assertion fail: variable is not a primative key object");return e}static isStringArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isString(t))return!1;return!0}static assertStringArray(e){if(!i.isStringArray(e))throw new Error("Assertion fail: variable is not a string array");return e}static isStringKeyObject(e){return i.validateTKeyObject(e,i.isString)}static assertStringKeyObject(e){if(!i.isStringKeyObject(e))throw new Error("Assertion fail: variable is not a string key object");return e}static isStringOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isString)}static assertStringOrUndefinedKeyObject(e){if(!i.isStringOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a string or undefined key object");return e}static isStringArrayKeyObject(e){return i.validateTKeyObject(e,i.isStringArray)}static assertStringArrayKeyObject(e){if(!i.isStringArrayKeyObject(e))throw new Error("Assertion fail: variable is not a string array key object");return e}static isNumberArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isNumber(t))return!1;return!0}static assertNumberArray(e){if(!i.isNumberArray(e))throw new Error("Assertion fail: variable is not a number array");return e}static isNumberKeyObject(e){return i.validateTKeyObject(e,i.isNumber)}static assertNumberKeyObject(e){if(!i.isNumberKeyObject(e))throw new Error("Assertion fail: variable is not a number key object");return e}static isNumberOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isNumber)}static assertNumberOrUndefinedKeyObject(e){if(!i.isNumberOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a number or undefined key object");return e}static isNumberArrayKeyObject(e){return i.validateTKeyObject(e,i.isNumberArray)}static assertNumberArrayKeyObject(e){if(!i.isNumberArrayKeyObject(e))throw new Error("Assertion fail: variable is not a number array key object");return e}static isBooleanArray(e){if(!i.isPrimativeArray(e))return!1;for(const t of e)if(!i.isBoolean(t))return!1;return!0}static assertBooleanArray(e){if(!i.isBooleanArray(e))throw new Error("Assertion fail: variable is not a boolean array");return e}static isBooleanKeyObject(e){return i.validateTKeyObject(e,i.isBoolean)}static assertBooleanKeyObject(e){if(!i.isBooleanKeyObject(e))throw new Error("Assertion fail: variable is not a boolean key object");return e}static isBooleanOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isBoolean)}static assertBooleanOrUndefinedKeyObject(e){if(!i.isBooleanOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a boolean or undefined key object");return e}static isBooleanArrayKeyObject(e){return i.validateTKeyObject(e,i.isBooleanArray)}static assertBooleanArrayKeyObject(e){if(!i.isBooleanArrayKeyObject(e))throw new Error("Assertion fail: variable is not a boolean array key object");return e}static isObjectArray(e){if(!i.isDefinedArray(e))return!1;for(const t of e)if(!i.isObject(t))return!1;return!0}static assertObjectArray(e){if(!i.isObjectArray(e))throw new Error("Assertion fail: variable is not an object array");return e}static isObjectKeyObject(e){return i.validateTKeyObject(e,i.isObject)}static assertObjectKeyObject(e){if(!i.isObjectKeyObject(e))throw new Error("Assertion fail: variable is not a object key object");return e}static isObjectOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isObject)}static assertObjectOrUndefinedKeyObject(e){if(!i.isObjectOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a object or undefined key object");return e}static isObjectArrayKeyObject(e){return i.validateTKeyObject(e,i.isObjectArray)}static assertObjectArrayKeyObject(e){if(!i.isObjectArrayKeyObject(e))throw new Error("Assertion fail: variable is not a object array key object");return e}static isDateArray(e){if(!i.isObjectArray(e))return!1;for(const t of e)if(!i.isDate(t))return!1;return!0}static assertDateArray(e){if(!i.isDateArray(e))throw new Error("Assertion fail: variable is not a Date array");return e}static isDateKeyObject(e){return i.validateTKeyObject(e,i.isDate)}static assertDateKeyObject(e){if(!i.isDateKeyObject(e))throw new Error("Assertion fail: variable is not a Date key object");return e}static isDateOrUndefinedKeyObject(e){return i.validateTOrUndefinedKeyObject(e,i.isDate)}static assertDateOrUndefinedKeyObject(e){if(!i.isDateOrUndefinedKeyObject(e))throw new Error("Assertion fail: variable is not a Date or undefined key object");return e}static isDateArrayKeyObject(e){return i.validateTKeyObject(e,i.isDateArray)}static assertDateArrayKeyObject(e){if(!i.isDateArrayKeyObject(e))throw new Error("Assertion fail: variable is not a Date array key object");return e}static isPropertyObject(e){return!!i.isObject(e)&&!i.isArray(e)&&!i.isDate(e)&&i.isStringArray(Object.keys(e))}static assertPropertyObject(e){if(!i.isPropertyObject(e))throw new Error("Assertion fail: variable is not a property object");return e}static isEncoded(e){if(!i.isDefined(e))return!1;if(null===e)return!0;if(i.isPrimative(e))return!0;if(i.isDate(e))return!1;if(i.isArray(e)){for(const t of e)if(!i.isEncoded(t))return!1;return!0}if(i.isObject(e)){for(const t of Object.keys(e)){if(!i.isDefined(e[t]))return!1;if(!i.isEncoded(e[t]))return!1}return!0}return!1}static isEncodedObject(e){return!!i.isPropertyObject(e)&&i.isEncoded(e)}static assertEncodedObject(e){if(!i.isEncodedObject(e))throw new Error("Assertion fail: variable is not an encoded object");return e}static isT(e,t){return!!i.isObject(e)&&t(e)}static assertT(e,t,n){if(!i.isT(e,t))throw new Error("Assertion fail: variable is not an object of type "+n);return e}static isTArray(e,t){if(!i.isObjectArray(e))return!1;for(const n of e)if(!i.isT(n,t))return!1;return!0}static assertTArray(e,t,n){if(!i.isTArray(e,t))throw new Error("Assertion fail: variable is not an array of objects of type "+n);return e}static isTKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isT(e,t))}static assertTKeyObject(e,t,n){if(!i.isTKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isTKeyOrUndefinedObject(e,t){return i.validateTOrUndefinedKeyObject(e,e=>i.isT(e,t))}static assertTOrUndefinedKeyObject(e,t,n){if(!i.isTKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects or undefineds of type "+n);return e}static isTArrayKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isTArray(e,t))}static assertTArrayKeyObject(e,t,n){if(!i.isTArrayKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static isEnum(e,t){return!!i.isString(e)&&void 0!==t(e)}static assertEnum(e,t,n){if(!i.isEnum(e,t))throw new Error("Assertion fail: variable is not an enum of type "+n);return e}static isEnumArray(e,t){if(!i.isStringArray(e))return!1;for(const n of e)if(!i.isEnum(n,t))return!1;return!0}static assertEnumArray(e,t,n){if(!i.isEnumArray(e,t))throw new Error("Assertion fail: variable is not an array of enums of type "+n);return e}static isEnumKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isEnum(e,t))}static assertEnumKeyObject(e,t,n){if(!i.isEnumKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumOrUndefinedKeyObject(e,t){return i.validateTOrUndefinedKeyObject(e,e=>i.isEnum(e,t))}static assertEnumOrUndefinedKeyObject(e,t,n){if(!i.isEnumKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of enums of type "+n);return e}static isEnumArrayKeyObject(e,t){return i.validateTKeyObject(e,e=>i.isEnumArray(e,t))}static assertEnumArrayKeyObject(e,t,n){if(!i.isEnumArrayKeyObject(e,t))throw new Error("Assertion fail: variable is not an key object of objects of type "+n);return e}static hasProperty(e,t,n){if(void 0!==n&&"string"!=typeof n)throw new Error("Type is invalid");if(!i.isPropertyObject(e))return!1;if(-1===Object.keys(e).indexOf(t))return!1;if(void 0===n)return!0;switch(n){case s.STRING:return i.isString(e[t]);case s.NUMBER:return i.isNumber(e[t]);case s.BOOLEAN:return i.isBoolean(e[t]);case s.OBJECT:return i.isObject(e[t]);case s.DATE:return i.isDate(e[t]);default:throw new Error("Unknown variable type")}}static hasPropertyNumber(e,t){return i.hasProperty(e,t,s.NUMBER)}static hasPropertyString(e,t){return i.hasProperty(e,t,s.STRING)}static hasPropertyBoolean(e,t){return i.hasProperty(e,t,s.BOOLEAN)}static hasPropertyObject(e,t){return i.hasProperty(e,t,s.OBJECT)}static hasPropertyDate(e,t){return i.hasProperty(e,t,s.DATE)}static hasPropertyArray(e,t){return i.hasPropertyObject(e,t)&&i.isArray(e[t])}static hasPropertyEnum(e,t,n){return i.hasPropertyString(e,t)&&n(e[t])}static hasPropertyEnumArray(e,t,n){if(!i.hasPropertyStringArray(e,t))return!1;const o=e[t];for(const r of o)if(!n(r))return!1;return!0}static hasPropertyT(e,t,n){return i.hasPropertyObject(e,t)&&i.isT(e[t],n)}static hasPropertyTArray(e,t,n){return i.hasPropertyObject(e,t)&&i.isTArray(e[t],n)}static hasPropertyTKeyObject(e,t,n){return i.hasPropertyObject(e,t)&&i.isTKeyObject(e[t],n)}static hasPropertyNumberArray(e,t){return i.hasPropertyArray(e,t)&&i.isNumberArray(e[t])}static hasPropertyNumberKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isNumberKeyObject(e[t])}static hasPropertyStringArray(e,t){return i.hasPropertyArray(e,t)&&i.isStringArray(e[t])}static hasPropertyStringKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isStringKeyObject(e[t])}static hasPropertyBooleanArray(e,t){return i.hasPropertyArray(e,t)&&i.isBooleanArray(e[t])}static hasPropertyBooleanKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isBooleanKeyObject(e[t])}static hasPropertyDateArray(e,t){return i.hasPropertyTArray(e,t,i.isDate)}static hasPropertyDateKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isDateKeyObject(e[t])}static hasPropertyObjectArray(e,t){return i.hasPropertyTArray(e,t,i.isObject)}static hasPropertyObjectKeyObject(e,t){return i.hasPropertyObject(e,t)&&i.isObjectKeyObject(e[t])}static hasPropertyNumberOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumber(e,t)}static hasPropertyStringOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyString(e,t)}static hasPropertyBooleanOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBoolean(e,t)}static hasPropertyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyObject(e,t)}static hasPropertyDateOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyDate(e,t)}static hasPropertyArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyArray(e,t)}static hasPropertyEnumOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyEnum(e,t,n)}static hasPropertyEnumArrayOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyEnumArray(e,t,n)}static hasPropertyTOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyT(e,t,n)}static hasPropertyTArrayOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyTArray(e,t,n)}static hasPropertyTKeyObjectOrUndefined(e,t,n){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyTKeyObject(e,t,n)}static hasPropertyNumberArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumberArray(e,t)}static hasPropertyNumberKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyNumberKeyObject(e,t)}static hasPropertyStringArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyStringArray(e,t)}static hasPropertyStringKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyStringKeyObject(e,t)}static hasPropertyBooleanArrayOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBooleanArray(e,t)}static hasPropertyBooleanKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyBooleanKeyObject(e,t)}static hasPropertyDateArrayOrUndefined(e,t){return i.hasPropertyTArrayOrUndefined(e,t,i.isDate)}static hasPropertyDateKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyDateKeyObject(e,t)}static hasPropertyObjectArrayOrUndefined(e,t){return i.hasPropertyTArrayOrUndefined(e,t,i.isObject)}static hasPropertyObjectKeyObjectOrUndefined(e,t){return!i.hasProperty(e,t)||!i.isDefined(e[t])||i.hasPropertyObjectKeyObject(e,t)}static valueOrDefault(e,t){return void 0===e?t:e}static trimStringOrUndefined(e){if(!i.isBlank(e)&&""!==(e=e.toString().trim()))return e}static isBlank(e){return null==e||""===e}static isLooselyEqual(e,t,n=!1,o=!1){if(i.isBlank(e)&&i.isBlank(t))return!0;if(i.isDate(e)&&i.isDate(t)&&e.getTime()===t.getTime())return!0;if(i.isDate(e)&&"string"==typeof t&&r.CommonsDate.dateToYmdHis(e,o)===t)return!0;if(i.isDate(t)&&"string"==typeof e&&r.CommonsDate.dateToYmdHis(t,o)===e)return!0;if("string"==typeof e&&"string"==typeof t){if(e.trim()===t.trim())return!0;if(n&&e.toLowerCase().trim()===t.toLowerCase().trim())return!0}return"number"==typeof e&&"string"==typeof t&&""+e===t||"number"==typeof t&&"string"==typeof e&&""+t===e||"boolean"==typeof e&&"string"==typeof t&&(e?"true":"false")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"true":"false")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"1":"0")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"1":"0")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"yes":"no")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"yes":"no")===e.toLowerCase().trim()||"boolean"==typeof e&&"string"==typeof t&&(e?"on":"off")===t.toLowerCase().trim()||"boolean"==typeof t&&"string"==typeof e&&(t?"on":"off")===e.toLowerCase().trim()||"boolean"==typeof e&&"number"==typeof t&&(e?1:0)===t||"boolean"==typeof t&&"number"==typeof e&&(t?1:0)===e||e===t}static checkboxBoolean(e){return i.isLooselyEqual(!0,e)}static encode(e,t=!1){if(null===e)return null;if(i.isPrimative(e))return e;if(i.isDate(e))return r.CommonsDate.dateToYmdHis(e,t);if(Array.isArray(e)){const n=[],o=e;for(const e of o)n.push(i.encode(e,t));return n}if(i.isObject(e)){const n={},o=e;for(const e of Object.keys(o))void 0!==o[e]&&(n[e]=i.encode(o[e],t));return n}return e}static encodePropertyObject(e,t=!1){return i.encode(e,t)}static decode(e,t=!1){if(null===e)return null;if(i.isPrimative(e)){if(i.isString(e)){if(r.CommonsDate.isYmdHis(e))return r.CommonsDate.YmdHisToDate(e,t);if(r.CommonsDate.isYmd(e))return r.CommonsDate.YmdToDate(e,t);if(o.COMMONS_REGEX_PATTERN_DATE_ECMA.test(e))return new Date(e)}return e}if(Array.isArray(e)){const n=[],o=e;for(const e of o)n.push(i.decode(e,t));return n}if(i.isObject(e)){const n={},o=e;for(const e of Object.keys(o))void 0!==o[e]&&(n[e]=i.decode(o[e],t));return n}return e}static decodePropertyObject(e,t=!1){return i.decode(e,t)}static assertArrayLengths(e,t){const n=i.assertArray(e),o=i.assertArray(t);if(n.length!==o.length)throw new Error("Assertion fail: two arrays are not the same length")}}t.CommonsType=i},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 E})),n.d(t,"b",(function(){return H})),n.d(t,"c",(function(){return M})),n.d(t,"d",(function(){return g}));var o=n("fXoL"),r=n("LRne"),s=n("HDdC"),i=n("bOdf"),a=n("pLZG"),c=n("lJxs"),l=n("ofXK");class h{}class u{}class d{constructor(e){this.normalizedNames=new Map,this.lazyUpdate=null,e?this.lazyInit="string"==typeof e?()=>{this.headers=new Map,e.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),o=n.toLowerCase(),r=e.slice(t+1).trim();this.maybeSetNormalizedName(n,o),this.headers.has(o)?this.headers.get(o).push(r):this.headers.set(o,[r])}})}:()=>{this.headers=new Map,Object.keys(e).forEach(t=>{let n=e[t];const o=t.toLowerCase();"string"==typeof n&&(n=[n]),n.length>0&&(this.headers.set(o,n),this.maybeSetNormalizedName(t,o))})}:this.headers=new Map}has(e){return this.init(),this.headers.has(e.toLowerCase())}get(e){this.init();const t=this.headers.get(e.toLowerCase());return t&&t.length>0?t[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(e){return this.init(),this.headers.get(e.toLowerCase())||null}append(e,t){return this.clone({name:e,value:t,op:"a"})}set(e,t){return this.clone({name:e,value:t,op:"s"})}delete(e,t){return this.clone({name:e,value:t,op:"d"})}maybeSetNormalizedName(e,t){this.normalizedNames.has(t)||this.normalizedNames.set(t,e)}init(){this.lazyInit&&(this.lazyInit instanceof d?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(e=>this.applyUpdate(e)),this.lazyUpdate=null))}copyFrom(e){e.init(),Array.from(e.headers.keys()).forEach(t=>{this.headers.set(t,e.headers.get(t)),this.normalizedNames.set(t,e.normalizedNames.get(t))})}clone(e){const t=new d;return t.lazyInit=this.lazyInit&&this.lazyInit instanceof d?this.lazyInit:this,t.lazyUpdate=(this.lazyUpdate||[]).concat([e]),t}applyUpdate(e){const t=e.name.toLowerCase();switch(e.op){case"a":case"s":let n=e.value;if("string"==typeof n&&(n=[n]),0===n.length)return;this.maybeSetNormalizedName(e.name,t);const o=("a"===e.op?this.headers.get(t):void 0)||[];o.push(...n),this.headers.set(t,o);break;case"d":const r=e.value;if(r){let e=this.headers.get(t);if(!e)return;e=e.filter(e=>-1===r.indexOf(e)),0===e.length?(this.headers.delete(t),this.normalizedNames.delete(t)):this.headers.set(t,e)}else this.headers.delete(t),this.normalizedNames.delete(t)}}forEach(e){this.init(),Array.from(this.normalizedNames.keys()).forEach(t=>e(this.normalizedNames.get(t),this.headers.get(t)))}}class p{encodeKey(e){return m(e)}encodeValue(e){return m(e)}decodeKey(e){return decodeURIComponent(e)}decodeValue(e){return decodeURIComponent(e)}}function m(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,"/")}class g{constructor(e={}){if(this.updates=null,this.cloneFrom=null,this.encoder=e.encoder||new p,e.fromString){if(e.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function(e,t){const n=new Map;return e.length>0&&e.split("&").forEach(e=>{const o=e.indexOf("="),[r,s]=-1==o?[t.decodeKey(e),""]:[t.decodeKey(e.slice(0,o)),t.decodeValue(e.slice(o+1))],i=n.get(r)||[];i.push(s),n.set(r,i)}),n}(e.fromString,this.encoder)}else e.fromObject?(this.map=new Map,Object.keys(e.fromObject).forEach(t=>{const n=e.fromObject[t];this.map.set(t,Array.isArray(n)?n:[n])})):this.map=null}has(e){return this.init(),this.map.has(e)}get(e){this.init();const t=this.map.get(e);return t?t[0]:null}getAll(e){return this.init(),this.map.get(e)||null}keys(){return this.init(),Array.from(this.map.keys())}append(e,t){return this.clone({param:e,value:t,op:"a"})}set(e,t){return this.clone({param:e,value:t,op:"s"})}delete(e,t){return this.clone({param:e,value:t,op:"d"})}toString(){return this.init(),this.keys().map(e=>{const t=this.encoder.encodeKey(e);return this.map.get(e).map(e=>t+"="+this.encoder.encodeValue(e)).join("&")}).filter(e=>""!==e).join("&")}clone(e){const t=new g({encoder:this.encoder});return t.cloneFrom=this.cloneFrom||this,t.updates=(this.updates||[]).concat([e]),t}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(e=>this.map.set(e,this.cloneFrom.map.get(e))),this.updates.forEach(e=>{switch(e.op){case"a":case"s":const t=("a"===e.op?this.map.get(e.param):void 0)||[];t.push(e.value),this.map.set(e.param,t);break;case"d":if(void 0===e.value){this.map.delete(e.param);break}{let t=this.map.get(e.param)||[];const n=t.indexOf(e.value);-1!==n&&t.splice(n,1),t.length>0?this.map.set(e.param,t):this.map.delete(e.param)}}}),this.cloneFrom=this.updates=null)}}function f(e){return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer}function b(e){return"undefined"!=typeof Blob&&e instanceof Blob}function y(e){return"undefined"!=typeof FormData&&e instanceof FormData}class _{constructor(e,t,n,o){let r;if(this.url=t,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=e.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!==n?n:null,r=o):r=n,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.params&&(this.params=r.params)),this.headers||(this.headers=new d),this.params){const e=this.params.toString();if(0===e.length)this.urlWithParams=t;else{const n=t.indexOf("?");this.urlWithParams=t+(-1===n?"?":n<t.length-1?"&":"")+e}}else this.params=new g,this.urlWithParams=t}serializeBody(){return null===this.body?null:f(this.body)||b(this.body)||y(this.body)||"string"==typeof this.body?this.body:this.body instanceof g?this.body.toString():"object"==typeof this.body||"boolean"==typeof this.body||Array.isArray(this.body)?JSON.stringify(this.body):this.body.toString()}detectContentTypeHeader(){return null===this.body||y(this.body)?null:b(this.body)?this.body.type||null:f(this.body)?null:"string"==typeof this.body?"text/plain":this.body instanceof g?"application/x-www-form-urlencoded;charset=UTF-8":"object"==typeof this.body||"number"==typeof this.body||Array.isArray(this.body)?"application/json":null}clone(e={}){const t=e.method||this.method,n=e.url||this.url,o=e.responseType||this.responseType,r=void 0!==e.body?e.body:this.body,s=void 0!==e.withCredentials?e.withCredentials:this.withCredentials,i=void 0!==e.reportProgress?e.reportProgress:this.reportProgress;let a=e.headers||this.headers,c=e.params||this.params;return void 0!==e.setHeaders&&(a=Object.keys(e.setHeaders).reduce((t,n)=>t.set(n,e.setHeaders[n]),a)),e.setParams&&(c=Object.keys(e.setParams).reduce((t,n)=>t.set(n,e.setParams[n]),c)),new _(t,n,r,{params:c,headers:a,reportProgress:i,responseType:o,withCredentials:s})}}const C=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}();class O{constructor(e,t=200,n="OK"){this.headers=e.headers||new d,this.status=void 0!==e.status?e.status:t,this.statusText=e.statusText||n,this.url=e.url||null,this.ok=this.status>=200&&this.status<300}}class P extends O{constructor(e={}){super(e),this.type=C.ResponseHeader}clone(e={}){return new P({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})}}class w extends O{constructor(e={}){super(e),this.type=C.Response,this.body=void 0!==e.body?e.body:null}clone(e={}){return new w({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})}}class M extends O{constructor(e){super(e,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?"Http failure during parsing for "+(e.url||"(unknown url)"):`Http failure response for ${e.url||"(unknown url)"}: ${e.status} ${e.statusText}`,this.error=e.error||null}}function v(e,t){return{body:t,headers:e.headers,observe:e.observe,params:e.params,reportProgress:e.reportProgress,responseType:e.responseType,withCredentials:e.withCredentials}}let E=(()=>{class e{constructor(e){this.handler=e}request(e,t,n={}){let o;if(e instanceof _)o=e;else{let r=void 0;r=n.headers instanceof d?n.headers:new d(n.headers);let s=void 0;n.params&&(s=n.params instanceof g?n.params:new g({fromObject:n.params})),o=new _(e,t,void 0!==n.body?n.body:null,{headers:r,params:s,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials})}const s=Object(r.a)(o).pipe(Object(i.a)(e=>this.handler.handle(e)));if(e instanceof _||"events"===n.observe)return s;const l=s.pipe(Object(a.a)(e=>e instanceof w));switch(n.observe||"body"){case"body":switch(o.responseType){case"arraybuffer":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return e.body}));case"blob":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&!(e.body instanceof Blob))throw new Error("Response is not a Blob.");return e.body}));case"text":return l.pipe(Object(c.a)(e=>{if(null!==e.body&&"string"!=typeof e.body)throw new Error("Response is not a string.");return e.body}));case"json":default:return l.pipe(Object(c.a)(e=>e.body))}case"response":return l;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new g).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,v(n,t))}post(e,t,n={}){return this.request("POST",e,v(n,t))}put(e,t,n={}){return this.request("PUT",e,v(n,t))}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(h))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();class k{constructor(e,t){this.next=e,this.interceptor=t}handle(e){return this.interceptor.intercept(e,this.next)}}const T=new o.q("HTTP_INTERCEPTORS");let S=(()=>{class e{intercept(e,t){return t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const x=/^\)\]\}',?\n/;class A{}let j=(()=>{class e{constructor(){}build(){return new XMLHttpRequest}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),I=(()=>{class e{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new Error("Attempted to construct Jsonp request without JsonpClientModule installed.");return new s.a(t=>{const n=this.xhrFactory.build();if(n.open(e.method,e.urlWithParams),e.withCredentials&&(n.withCredentials=!0),e.headers.forEach((e,t)=>n.setRequestHeader(e,t.join(","))),e.headers.has("Accept")||n.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const t=e.detectContentTypeHeader();null!==t&&n.setRequestHeader("Content-Type",t)}if(e.responseType){const t=e.responseType.toLowerCase();n.responseType="json"!==t?t:"text"}const o=e.serializeBody();let r=null;const s=()=>{if(null!==r)return r;const t=1223===n.status?204:n.status,o=n.statusText||"OK",s=new d(n.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}(n)||e.url;return r=new P({headers:s,status:t,statusText:o,url:i}),r},i=()=>{let{headers:o,status:r,statusText:i,url:a}=s(),c=null;204!==r&&(c=void 0===n.response?n.responseText:n.response),0===r&&(r=c?200:0);let l=r>=200&&r<300;if("json"===e.responseType&&"string"==typeof c){const e=c;c=c.replace(x,"");try{c=""!==c?JSON.parse(c):null}catch(h){c=e,l&&(l=!1,c={error:h,text:c})}}l?(t.next(new w({body:c,headers:o,status:r,statusText:i,url:a||void 0})),t.complete()):t.error(new M({error:c,headers:o,status:r,statusText:i,url:a||void 0}))},a=e=>{const{url:o}=s(),r=new M({error:e,status:n.status||0,statusText:n.statusText||"Unknown Error",url:o||void 0});t.error(r)};let c=!1;const l=o=>{c||(t.next(s()),c=!0);let r={type:C.DownloadProgress,loaded:o.loaded};o.lengthComputable&&(r.total=o.total),"text"===e.responseType&&n.responseText&&(r.partialText=n.responseText),t.next(r)},h=e=>{let n={type:C.UploadProgress,loaded:e.loaded};e.lengthComputable&&(n.total=e.total),t.next(n)};return n.addEventListener("load",i),n.addEventListener("error",a),e.reportProgress&&(n.addEventListener("progress",l),null!==o&&n.upload&&n.upload.addEventListener("progress",h)),n.send(o),t.next({type:C.Sent}),()=>{n.removeEventListener("error",a),n.removeEventListener("load",i),e.reportProgress&&(n.removeEventListener("progress",l),null!==o&&n.upload&&n.upload.removeEventListener("progress",h)),n.abort()}})}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(A))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const D=new o.q("XSRF_COOKIE_NAME"),N=new o.q("XSRF_HEADER_NAME");class R{}let U=(()=>{class e{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=Object(l.s)(e,this.cookieName),this.lastCookieString=e),this.lastToken}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(l.c),o.Ub(o.B),o.Ub(D))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),L=(()=>{class e{constructor(e,t){this.tokenService=e,this.headerName=t}intercept(e,t){const n=e.url.toLowerCase();if("GET"===e.method||"HEAD"===e.method||n.startsWith("http://")||n.startsWith("https://"))return t.handle(e);const o=this.tokenService.getToken();return null===o||e.headers.has(this.headerName)||(e=e.clone({headers:e.headers.set(this.headerName,o)})),t.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(R),o.Ub(N))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),B=(()=>{class e{constructor(e,t){this.backend=e,this.injector=t,this.chain=null}handle(e){if(null===this.chain){const e=this.injector.get(T,[]);this.chain=e.reduceRight((e,t)=>new k(e,t),this.backend)}return this.chain.handle(e)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(u),o.Ub(o.r))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),F=(()=>{class e{static disable(){return{ngModule:e,providers:[{provide:L,useClass:S}]}}static withOptions(t={}){return{ngModule:e,providers:[t.cookieName?{provide:D,useValue:t.cookieName}:[],t.headerName?{provide:N,useValue:t.headerName}:[]]}}}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[L,{provide:T,useExisting:L,multi:!0},{provide:R,useClass:U},{provide:D,useValue:"XSRF-TOKEN"},{provide:N,useValue:"X-XSRF-TOKEN"}]}),e})(),H=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[E,{provide:h,useClass:B},I,{provide:u,useExisting:I},j,{provide:A,useExisting:j}],imports:[[F.withOptions({cookieName:"XSRF-TOKEN",headerName:"X-XSRF-TOKEN"})]]}),e})()},tl0M:function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),(o=t.ECommonsInvocation||(t.ECommonsInvocation={})).FIXED="fixed",o.WHEN="when",o.IF="if"},trlK:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Hcel");class r{static mapObject(e,t){if(!o.CommonsType.isObject(e))throw new Error("Trying to map a non-object");const n={};for(const o of Object.keys(e))n[o]=t(e[o],o);return n}static isEmpty(e){return 0===Object.keys(e).length}static stripNulls(e){if(null!=e){if(o.CommonsType.isDate(e))return e;if(o.CommonsType.isArray(e))return e.map(e=>r.stripNulls(e));if(o.CommonsType.isObject(e)){const t={};for(const n of Object.keys(e)){const o=e[n];null!=o&&(t[n]=r.stripNulls(o))}return t}return e}}}t.CommonsObject=r},tyNb:function(e,t,n){"use strict";n.d(t,"a",(function(){return ft})),n.d(t,"b",(function(){return de})),n.d(t,"c",(function(){return ue})),n.d(t,"d",(function(){return pe})),n.d(t,"e",(function(){return he})),n.d(t,"f",(function(){return vn})),n.d(t,"g",(function(){return Sn})),n.d(t,"h",(function(){return kn})),n.d(t,"i",(function(){return zn})),n.d(t,"j",(function(){return jn}));var o=n("ofXK"),r=n("fXoL"),s=n("LRne"),i=n("Cfvw"),a=n("2Vo4"),c=n("HDdC");const l=(()=>{function e(){return Error.call(this),this.message="no elements in sequence",this.name="EmptyError",this}return e.prototype=Object.create(Error.prototype),e})();var h=n("z+Ro"),u=n("DH7j"),d=n("l7GE"),p=n("ZUHj"),m=n("yCtX");const g={};class f{constructor(e){this.resultSelector=e}call(e,t){return t.subscribe(new b(e,this.resultSelector))}}class b extends d.a{constructor(e,t){super(e),this.resultSelector=t,this.active=0,this.values=[],this.observables=[]}_next(e){this.values.push(g),this.observables.push(e)}_complete(){const e=this.observables,t=e.length;if(0===t)this.destination.complete();else{this.active=t,this.toRespond=t;for(let n=0;n<t;n++){const t=e[n];this.add(Object(p.a)(this,t,t,n))}}}notifyComplete(e){0==(this.active-=1)&&this.destination.complete()}notifyNext(e,t,n,o,r){const s=this.values,i=this.toRespond?s[n]===g?--this.toRespond:this.toRespond:0;s[n]=t,0===i&&(this.resultSelector?this._tryResultSelector(s):this.destination.next(s.slice()))}_tryResultSelector(e){let t;try{t=this.resultSelector.apply(this,e)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}var y=n("EY2u");function _(e){return new c.a(t=>{let n;try{n=e()}catch(o){return void t.error(o)}return(n?Object(i.a)(n):Object(y.b)()).subscribe(t)})}var C=n("XNiG"),O=n("lJxs"),P=n("bHdf");function w(){return Object(P.a)(1)}var M=n("pLZG"),v=n("7o/Q"),E=n("4I5i");function k(e){return function(t){return 0===e?Object(y.b)():t.lift(new T(e))}}class T{constructor(e){if(this.total=e,this.total<0)throw new E.a}call(e,t){return t.subscribe(new S(e,this.total))}}class S extends v.a{constructor(e,t){super(e),this.total=t,this.ring=new Array,this.count=0}_next(e){const t=this.ring,n=this.total,o=this.count++;t.length<n?t.push(e):t[o%n]=e}_complete(){const e=this.destination;let t=this.count;if(t>0){const n=this.count>=this.total?this.total:this.count,o=this.ring;for(let r=0;r<n;r++){const r=t++%n;e.next(o[r])}}e.complete()}}function x(e=I){return t=>t.lift(new A(e))}class A{constructor(e){this.errorFactory=e}call(e,t){return t.subscribe(new j(e,this.errorFactory))}}class j extends v.a{constructor(e,t){super(e),this.errorFactory=t,this.hasValue=!1}_next(e){this.hasValue=!0,this.destination.next(e)}_complete(){if(this.hasValue)return this.destination.complete();{let t;try{t=this.errorFactory()}catch(e){t=e}this.destination.error(t)}}}function I(){return new l}function D(e=null){return t=>t.lift(new N(e))}class N{constructor(e){this.defaultValue=e}call(e,t){return t.subscribe(new R(e,this.defaultValue))}}class R extends v.a{constructor(e,t){super(e),this.defaultValue=t,this.isEmpty=!0}_next(e){this.isEmpty=!1,this.destination.next(e)}_complete(){this.isEmpty&&this.destination.next(this.defaultValue),this.destination.complete()}}var U=n("SpAZ");function L(e,t){const n=arguments.length>=2;return o=>o.pipe(e?Object(M.a)((t,n)=>e(t,n,o)):U.a,k(1),n?D(t):x(()=>new l))}var B=n("51Dv");function F(e){return function(t){const n=new H(e),o=t.lift(n);return n.caught=o}}class H{constructor(e){this.selector=e}call(e,t){return t.subscribe(new z(e,this.selector,this.caught))}}class z extends d.a{constructor(e,t,n){super(e),this.selector=t,this.caught=n}error(e){if(!this.isStopped){let n;try{n=this.selector(e,this.caught)}catch(t){return void super.error(t)}this._unsubscribeAndRecycle();const o=new B.a(this,void 0,void 0);this.add(o);const r=Object(p.a)(this,n,void 0,void 0,o);r!==o&&this.add(r)}}}var $=n("IzEk");function V(e,t){const n=arguments.length>=2;return o=>o.pipe(e?Object(M.a)((t,n)=>e(t,n,o)):U.a,Object($.a)(1),n?D(t):x(()=>new l))}var G=n("5+tZ");class K{constructor(e,t,n){this.predicate=e,this.thisArg=t,this.source=n}call(e,t){return t.subscribe(new q(e,this.predicate,this.thisArg,this.source))}}class q extends v.a{constructor(e,t,n,o){super(e),this.predicate=t,this.thisArg=n,this.source=o,this.index=0,this.thisArg=n||this}notifyComplete(e){this.destination.next(e),this.destination.complete()}_next(e){let 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)}_complete(){this.notifyComplete(!0)}}function Y(e,t){return"function"==typeof t?n=>n.pipe(Y((n,o)=>Object(i.a)(e(n,o)).pipe(Object(O.a)((e,r)=>t(n,e,o,r))))):t=>t.lift(new Q(e))}class Q{constructor(e){this.project=e}call(e,t){return t.subscribe(new W(e,this.project))}}class W extends d.a{constructor(e,t){super(e),this.project=t,this.index=0}_next(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(o){return void this.destination.error(o)}this._innerSub(t,e,n)}_innerSub(e,t,n){const o=this.innerSubscription;o&&o.unsubscribe();const r=new B.a(this,t,n),s=this.destination;s.add(r),this.innerSubscription=Object(p.a)(this,e,void 0,void 0,r),this.innerSubscription!==r&&s.add(this.innerSubscription)}_complete(){const{innerSubscription:e}=this;e&&!e.closed||super._complete(),this.unsubscribe()}_unsubscribe(){this.innerSubscription=null}notifyComplete(e){this.destination.remove(e),this.innerSubscription=null,this.isStopped&&super._complete()}notifyNext(e,t,n,o,r){this.destination.next(t)}}function X(...e){return w()(Object(s.a)(...e))}function Z(e,t){let n=!1;return arguments.length>=2&&(n=!0),function(o){return o.lift(new J(e,t,n))}}class J{constructor(e,t,n=!1){this.accumulator=e,this.seed=t,this.hasSeed=n}call(e,t){return t.subscribe(new ee(e,this.accumulator,this.seed,this.hasSeed))}}class ee extends v.a{constructor(e,t,n,o){super(e),this.accumulator=t,this._seed=n,this.hasSeed=o,this.index=0}get seed(){return this._seed}set seed(e){this.hasSeed=!0,this._seed=e}_next(e){if(this.hasSeed)return this._tryNext(e);this.seed=e,this.destination.next(e)}_tryNext(e){const t=this.index++;let n;try{n=this.accumulator(this.seed,e,t)}catch(o){this.destination.error(o)}this.seed=n,this.destination.next(n)}}var te=n("bOdf"),ne=n("mCNh"),oe=n("KqfI"),re=n("n6bG");function se(e,t,n){return function(o){return o.lift(new ie(e,t,n))}}class ie{constructor(e,t,n){this.nextOrObserver=e,this.error=t,this.complete=n}call(e,t){return t.subscribe(new ae(e,this.nextOrObserver,this.error,this.complete))}}class ae extends v.a{constructor(e,t,n,o){super(e),this._tapNext=oe.a,this._tapError=oe.a,this._tapComplete=oe.a,this._tapError=n||oe.a,this._tapComplete=o||oe.a,Object(re.a)(t)?(this._context=this,this._tapNext=t):t&&(this._context=t,this._tapNext=t.next||oe.a,this._tapError=t.error||oe.a,this._tapComplete=t.complete||oe.a)}_next(e){try{this._tapNext.call(this._context,e)}catch(t){return void this.destination.error(t)}this.destination.next(e)}_error(e){try{this._tapError.call(this._context,e)}catch(e){return void this.destination.error(e)}this.destination.error(e)}_complete(){try{this._tapComplete.call(this._context)}catch(e){return void this.destination.error(e)}return this.destination.complete()}}var ce=n("nYR2");class le{constructor(e,t){this.id=e,this.url=t}}class he extends le{constructor(e,t,n="imperative",o=null){super(e,t),this.navigationTrigger=n,this.restoredState=o}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class ue extends le{constructor(e,t,n){super(e,t),this.urlAfterRedirects=n}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class de extends le{constructor(e,t,n){super(e,t),this.reason=n}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class pe extends le{constructor(e,t,n){super(e,t),this.error=n}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class me extends le{constructor(e,t,n,o){super(e,t),this.urlAfterRedirects=n,this.state=o}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ge extends le{constructor(e,t,n,o){super(e,t),this.urlAfterRedirects=n,this.state=o}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class fe extends le{constructor(e,t,n,o,r){super(e,t),this.urlAfterRedirects=n,this.state=o,this.shouldActivate=r}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class be extends le{constructor(e,t,n,o){super(e,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ye extends le{constructor(e,t,n,o){super(e,t),this.urlAfterRedirects=n,this.state=o}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class _e{constructor(e){this.route=e}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class Ce{constructor(e){this.route=e}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class Oe{constructor(e){this.snapshot=e}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Pe{constructor(e){this.snapshot=e}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class we{constructor(e){this.snapshot=e}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Me{constructor(e){this.snapshot=e}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ve{constructor(e,t,n){this.routerEvent=e,this.position=t,this.anchor=n}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}let Ee=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=r.Fb({type:e,selectors:[["ng-component"]],decls:1,vars:0,template:function(e,t){1&e&&r.Mb(0,"router-outlet")},directives:function(){return[jn]},encapsulation:2}),e})();class ke{constructor(e){this.params=e||{}}has(e){return this.params.hasOwnProperty(e)}get(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t[0]:t}return null}getAll(e){if(this.has(e)){const t=this.params[e];return Array.isArray(t)?t:[t]}return[]}get keys(){return Object.keys(this.params)}}function Te(e){return new ke(e)}function Se(e){const t=Error("NavigationCancelingError: "+e);return t.ngNavigationCancelingError=!0,t}function xe(e,t,n){const o=n.path.split("/");if(o.length>e.length)return null;if("full"===n.pathMatch&&(t.hasChildren()||o.length<e.length))return null;const r={};for(let s=0;s<o.length;s++){const t=o[s],n=e[s];if(t.startsWith(":"))r[t.substring(1)]=n;else if(t!==n.path)return null}return{consumed:e.slice(0,o.length),posParams:r}}class Ae{constructor(e,t){this.routes=e,this.module=t}}function je(e,t=""){for(let n=0;n<e.length;n++){const o=e[n];Ie(o,De(t,o))}}function Ie(e,t){if(!e)throw new Error(`\n Invalid configuration of route '${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 '${t}': Array cannot be specified`);if(!e.component&&!e.children&&!e.loadChildren&&e.outlet&&"primary"!==e.outlet)throw new Error(`Invalid configuration of route '${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 '${t}': redirectTo and children cannot be used together`);if(e.redirectTo&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': redirectTo and loadChildren cannot be used together`);if(e.children&&e.loadChildren)throw new Error(`Invalid configuration of route '${t}': children and loadChildren cannot be used together`);if(e.redirectTo&&e.component)throw new Error(`Invalid configuration of route '${t}': redirectTo and component cannot be used together`);if(e.path&&e.matcher)throw new Error(`Invalid configuration of route '${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 '${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 '${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 '${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: "${t}", redirectTo: "${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 '${t}': pathMatch can only be set to 'prefix' or 'full'`);e.children&&je(e.children,t)}function De(e,t){return t?e||t.path?e&&!t.path?e+"/":!e&&t.path?t.path:`${e}/${t.path}`:"":e}function Ne(e){const t=e.children&&e.children.map(Ne),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 Re(e,t){const n=Object.keys(e),o=Object.keys(t);if(!n||!o||n.length!=o.length)return!1;let r;for(let s=0;s<n.length;s++)if(r=n[s],!Ue(e[r],t[r]))return!1;return!0}function Ue(e,t){return Array.isArray(e)&&Array.isArray(t)?e.length==t.length&&e.every(e=>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 Fe(e,t){for(const n in e)e.hasOwnProperty(n)&&t(e[n],n)}function He(e){return Object(r.pb)(e)?e:Object(r.qb)(e)?Object(i.a)(Promise.resolve(e)):Object(s.a)(e)}function ze(e,t,n){return n?function(e,t){return Re(e,t)}(e.queryParams,t.queryParams)&&function e(t,n){if(!Ke(t.segments,n.segments))return!1;if(t.numberOfChildren!==n.numberOfChildren)return!1;for(const o in n.children){if(!t.children[o])return!1;if(!e(t.children[o],n.children[o]))return!1}return!0}(e.root,t.root):function(e,t){return Object.keys(t).length<=Object.keys(e).length&&Object.keys(t).every(n=>Ue(e[n],t[n]))}(e.queryParams,t.queryParams)&&function e(t,n){return function t(n,o,r){if(n.segments.length>r.length)return!!Ke(n.segments.slice(0,r.length),r)&&!o.hasChildren();if(n.segments.length===r.length){if(!Ke(n.segments,r))return!1;for(const t in o.children){if(!n.children[t])return!1;if(!e(n.children[t],o.children[t]))return!1}return!0}{const e=r.slice(0,n.segments.length),s=r.slice(n.segments.length);return!!Ke(n.segments,e)&&!!n.children.primary&&t(n.children.primary,o,s)}}(t,n,n.segments)}(e.root,t.root)}class $e{constructor(e,t,n){this.root=e,this.queryParams=t,this.fragment=n}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}toString(){return We.serialize(this)}}class Ve{constructor(e,t){this.segments=e,this.children=t,this.parent=null,Fe(t,(e,t)=>e.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Xe(this)}}class Ge{constructor(e,t){this.path=e,this.parameters=t}get parameterMap(){return this._parameterMap||(this._parameterMap=Te(this.parameters)),this._parameterMap}toString(){return ot(this)}}function Ke(e,t){return e.length===t.length&&e.every((e,n)=>e.path===t[n].path)}function qe(e,t){let n=[];return Fe(e.children,(e,o)=>{"primary"===o&&(n=n.concat(t(e,o)))}),Fe(e.children,(e,o)=>{"primary"!==o&&(n=n.concat(t(e,o)))}),n}class Ye{}class Qe{parse(e){const t=new ct(e);return new $e(t.parseRootSegment(),t.parseQueryParams(),t.parseFragment())}serialize(e){return`${"/"+function e(t,n){if(!t.hasChildren())return Xe(t);if(n){const n=t.children.primary?e(t.children.primary,!1):"",o=[];return Fe(t.children,(t,n)=>{"primary"!==n&&o.push(`${n}:${e(t,!1)}`)}),o.length>0?`${n}(${o.join("//")})`:n}{const n=qe(t,(n,o)=>"primary"===o?[e(t.children.primary,!1)]:[`${o}:${e(n,!1)}`]);return`${Xe(t)}/(${n.join("//")})`}}(e.root,!0)}${function(e){const t=Object.keys(e).map(t=>{const n=e[t];return Array.isArray(n)?n.map(e=>`${Je(t)}=${Je(e)}`).join("&"):`${Je(t)}=${Je(n)}`});return t.length?"?"+t.join("&"):""}(e.queryParams)}${"string"==typeof e.fragment?"#"+encodeURI(e.fragment):""}`}}const We=new Qe;function Xe(e){return e.segments.map(e=>ot(e)).join("/")}function Ze(e){return encodeURIComponent(e).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Je(e){return Ze(e).replace(/%3B/gi,";")}function et(e){return Ze(e).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function tt(e){return decodeURIComponent(e)}function nt(e){return tt(e.replace(/\+/g,"%20"))}function ot(e){return`${et(e.path)}${t=e.parameters,Object.keys(t).map(e=>`;${et(e)}=${et(t[e])}`).join("")}`;var t}const rt=/^[^\/()?;=#]+/;function st(e){const t=e.match(rt);return t?t[0]:""}const it=/^[^=?&#]+/,at=/^[^?&#]+/;class ct{constructor(e){this.url=e,this.remaining=e}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Ve([],{}):new Ve([],this.parseChildren())}parseQueryParams(){const e={};if(this.consumeOptional("?"))do{this.parseQueryParam(e)}while(this.consumeOptional("&"));return e}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const e=[];for(this.peekStartsWith("(")||e.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),e.push(this.parseSegment());let t={};this.peekStartsWith("/(")&&(this.capture("/"),t=this.parseParens(!0));let n={};return this.peekStartsWith("(")&&(n=this.parseParens(!1)),(e.length>0||Object.keys(t).length>0)&&(n.primary=new Ve(e,t)),n}parseSegment(){const e=st(this.remaining);if(""===e&&this.peekStartsWith(";"))throw new Error(`Empty path url segment cannot have parameters: '${this.remaining}'.`);return this.capture(e),new Ge(tt(e),this.parseMatrixParams())}parseMatrixParams(){const e={};for(;this.consumeOptional(";");)this.parseParam(e);return e}parseParam(e){const t=st(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=st(this.remaining);e&&(n=e,this.capture(n))}e[tt(t)]=tt(n)}parseQueryParam(e){const t=function(e){const t=e.match(it);return t?t[0]:""}(this.remaining);if(!t)return;this.capture(t);let n="";if(this.consumeOptional("=")){const e=function(e){const t=e.match(at);return t?t[0]:""}(this.remaining);e&&(n=e,this.capture(n))}const o=nt(t),r=nt(n);if(e.hasOwnProperty(o)){let t=e[o];Array.isArray(t)||(t=[t],e[o]=t),t.push(r)}else e[o]=r}parseParens(e){const t={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const n=st(this.remaining),o=this.remaining[n.length];if("/"!==o&&")"!==o&&";"!==o)throw new Error(`Cannot parse url '${this.url}'`);let r=void 0;n.indexOf(":")>-1?(r=n.substr(0,n.indexOf(":")),this.capture(r),this.capture(":")):e&&(r="primary");const s=this.parseChildren();t[r]=1===Object.keys(s).length?s.primary:new Ve([],s),this.consumeOptional("//")}return t}peekStartsWith(e){return this.remaining.startsWith(e)}consumeOptional(e){return!!this.peekStartsWith(e)&&(this.remaining=this.remaining.substring(e.length),!0)}capture(e){if(!this.consumeOptional(e))throw new Error(`Expected "${e}".`)}}class lt{constructor(e){this._root=e}get root(){return this._root.value}parent(e){const t=this.pathFromRoot(e);return t.length>1?t[t.length-2]:null}children(e){const t=ht(e,this._root);return t?t.children.map(e=>e.value):[]}firstChild(e){const t=ht(e,this._root);return t&&t.children.length>0?t.children[0].value:null}siblings(e){const t=ut(e,this._root);return t.length<2?[]:t[t.length-2].children.map(e=>e.value).filter(t=>t!==e)}pathFromRoot(e){return ut(e,this._root).map(e=>e.value)}}function ht(e,t){if(e===t.value)return t;for(const n of t.children){const t=ht(e,n);if(t)return t}return null}function ut(e,t){if(e===t.value)return[t];for(const n of t.children){const o=ut(e,n);if(o.length)return o.unshift(t),o}return[]}class dt{constructor(e,t){this.value=e,this.children=t}toString(){return`TreeNode(${this.value})`}}function pt(e){const t={};return e&&e.children.forEach(e=>t[e.value.outlet]=e),t}class mt extends lt{constructor(e,t){super(e),this.snapshot=t,Ct(this,e)}toString(){return this.snapshot.toString()}}function gt(e,t){const n=function(e,t){const n=new yt([],{},{},"",{},"primary",t,null,e.root,-1,{});return new _t("",new dt(n,[]))}(e,t),o=new a.a([new Ge("",{})]),r=new a.a({}),s=new a.a({}),i=new a.a({}),c=new a.a(""),l=new ft(o,r,i,c,s,"primary",t,n.root);return l.snapshot=n.root,new mt(new dt(l,[]),n)}class ft{constructor(e,t,n,o,r,s,i,a){this.url=e,this.params=t,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=s,this.component=i,this._futureSnapshot=a}get routeConfig(){return this._futureSnapshot.routeConfig}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=this.params.pipe(Object(O.a)(e=>Te(e)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Object(O.a)(e=>Te(e)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function bt(e,t="emptyOnly"){const n=e.pathFromRoot;let o=0;if("always"!==t)for(o=n.length-1;o>=1;){const e=n[o],t=n[o-1];if(e.routeConfig&&""===e.routeConfig.path)o--;else{if(t.component)break;o--}}return function(e){return e.reduce((e,t)=>({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(o))}class yt{constructor(e,t,n,o,r,s,i,a,c,l,h){this.url=e,this.params=t,this.queryParams=n,this.fragment=o,this.data=r,this.outlet=s,this.component=i,this.routeConfig=a,this._urlSegment=c,this._lastPathIndex=l,this._resolve=h}get root(){return this._routerState.root}get parent(){return this._routerState.parent(this)}get firstChild(){return this._routerState.firstChild(this)}get children(){return this._routerState.children(this)}get pathFromRoot(){return this._routerState.pathFromRoot(this)}get paramMap(){return this._paramMap||(this._paramMap=Te(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=Te(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(e=>e.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class _t extends lt{constructor(e,t){super(t),this.url=e,Ct(this,t)}toString(){return Ot(this._root)}}function Ct(e,t){t.value._routerState=e,t.children.forEach(t=>Ct(e,t))}function Ot(e){const t=e.children.length>0?` { ${e.children.map(Ot).join(", ")} } `:"";return`${e.value}${t}`}function Pt(e){if(e.snapshot){const t=e.snapshot,n=e._futureSnapshot;e.snapshot=n,Re(t.queryParams,n.queryParams)||e.queryParams.next(n.queryParams),t.fragment!==n.fragment&&e.fragment.next(n.fragment),Re(t.params,n.params)||e.params.next(n.params),function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;++n)if(!Re(e[n],t[n]))return!1;return!0}(t.url,n.url)||e.url.next(n.url),Re(t.data,n.data)||e.data.next(n.data)}else e.snapshot=e._futureSnapshot,e.data.next(e._futureSnapshot.data)}function wt(e,t){var n,o;return Re(e.params,t.params)&&Ke(n=e.url,o=t.url)&&n.every((e,t)=>Re(e.parameters,o[t].parameters))&&!(!e.parent!=!t.parent)&&(!e.parent||wt(e.parent,t.parent))}function Mt(e){return"object"==typeof e&&null!=e&&!e.outlets&&!e.segmentPath}function vt(e,t,n,o,r){let s={};return o&&Fe(o,(e,t)=>{s[t]=Array.isArray(e)?e.map(e=>""+e):""+e}),new $e(n.root===e?t:function e(t,n,o){const r={};return Fe(t.children,(t,s)=>{r[s]=t===n?o:e(t,n,o)}),new Ve(t.segments,r)}(n.root,e,t),s,r)}class Et{constructor(e,t,n){if(this.isAbsolute=e,this.numberOfDoubleDots=t,this.commands=n,e&&n.length>0&&Mt(n[0]))throw new Error("Root segment cannot have matrix parameters");const o=n.find(e=>"object"==typeof e&&null!=e&&e.outlets);if(o&&o!==Be(n))throw new Error("{outlets:{}} has to be the last command")}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class kt{constructor(e,t,n){this.segmentGroup=e,this.processChildren=t,this.index=n}}function Tt(e){return"object"==typeof e&&null!=e&&e.outlets?e.outlets.primary:""+e}function St(e,t,n){if(e||(e=new Ve([],{})),0===e.segments.length&&e.hasChildren())return xt(e,t,n);const o=function(e,t,n){let o=0,r=t;const s={match:!1,pathIndex:0,commandIndex:0};for(;r<e.segments.length;){if(o>=n.length)return s;const t=e.segments[r],i=Tt(n[o]),a=o<n.length-1?n[o+1]:null;if(r>0&&void 0===i)break;if(i&&a&&"object"==typeof a&&void 0===a.outlets){if(!Dt(i,a,t))return s;o+=2}else{if(!Dt(i,{},t))return s;o++}r++}return{match:!0,pathIndex:r,commandIndex:o}}(e,t,n),r=n.slice(o.commandIndex);if(o.match&&o.pathIndex<e.segments.length){const t=new Ve(e.segments.slice(0,o.pathIndex),{});return t.children.primary=new Ve(e.segments.slice(o.pathIndex),e.children),xt(t,0,r)}return o.match&&0===r.length?new Ve(e.segments,{}):o.match&&!e.hasChildren()?At(e,t,n):o.match?xt(e,0,r):At(e,t,n)}function xt(e,t,n){if(0===n.length)return new Ve(e.segments,{});{const o=function(e){return"object"!=typeof e[0]||void 0===e[0].outlets?{primary:e}:e[0].outlets}(n),r={};return Fe(o,(n,o)=>{null!==n&&(r[o]=St(e.children[o],t,n))}),Fe(e.children,(e,t)=>{void 0===o[t]&&(r[t]=e)}),new Ve(e.segments,r)}}function At(e,t,n){const o=e.segments.slice(0,t);let r=0;for(;r<n.length;){if("object"==typeof n[r]&&void 0!==n[r].outlets){const e=jt(n[r].outlets);return new Ve(o,e)}if(0===r&&Mt(n[0])){o.push(new Ge(e.segments[t].path,n[0])),r++;continue}const s=Tt(n[r]),i=r<n.length-1?n[r+1]:null;s&&i&&Mt(i)?(o.push(new Ge(s,It(i))),r+=2):(o.push(new Ge(s,{})),r++)}return new Ve(o,{})}function jt(e){const t={};return Fe(e,(e,n)=>{null!==e&&(t[n]=At(new Ve([],{}),0,e))}),t}function It(e){const t={};return Fe(e,(e,n)=>t[n]=""+e),t}function Dt(e,t,n){return e==n.path&&Re(t,n.parameters)}class Nt{constructor(e,t,n,o){this.routeReuseStrategy=e,this.futureState=t,this.currState=n,this.forwardEvent=o}activate(e){const t=this.futureState._root,n=this.currState?this.currState._root:null;this.deactivateChildRoutes(t,n,e),Pt(this.futureState.root),this.activateChildRoutes(t,n,e)}deactivateChildRoutes(e,t,n){const o=pt(t);e.children.forEach(e=>{const t=e.value.outlet;this.deactivateRoutes(e,o[t],n),delete o[t]}),Fe(o,(e,t)=>{this.deactivateRouteAndItsChildren(e,n)})}deactivateRoutes(e,t,n){const o=e.value,r=t?t.value:null;if(o===r)if(o.component){const r=n.getContext(o.outlet);r&&this.deactivateChildRoutes(e,t,r.children)}else this.deactivateChildRoutes(e,t,n);else r&&this.deactivateRouteAndItsChildren(t,n)}deactivateRouteAndItsChildren(e,t){this.routeReuseStrategy.shouldDetach(e.value.snapshot)?this.detachAndStoreRouteSubtree(e,t):this.deactivateRouteAndOutlet(e,t)}detachAndStoreRouteSubtree(e,t){const n=t.getContext(e.value.outlet);if(n&&n.outlet){const t=n.outlet.detach(),o=n.children.onOutletDeactivated();this.routeReuseStrategy.store(e.value.snapshot,{componentRef:t,route:e,contexts:o})}}deactivateRouteAndOutlet(e,t){const n=t.getContext(e.value.outlet);if(n){const o=pt(e),r=e.value.component?n.children:t;Fe(o,(e,t)=>this.deactivateRouteAndItsChildren(e,r)),n.outlet&&(n.outlet.deactivate(),n.children.onOutletDeactivated())}}activateChildRoutes(e,t,n){const o=pt(t);e.children.forEach(e=>{this.activateRoutes(e,o[e.value.outlet],n),this.forwardEvent(new Me(e.value.snapshot))}),e.children.length&&this.forwardEvent(new Pe(e.value.snapshot))}activateRoutes(e,t,n){const o=e.value,r=t?t.value:null;if(Pt(o),o===r)if(o.component){const r=n.getOrCreateContext(o.outlet);this.activateChildRoutes(e,t,r.children)}else this.activateChildRoutes(e,t,n);else if(o.component){const t=n.getOrCreateContext(o.outlet);if(this.routeReuseStrategy.shouldAttach(o.snapshot)){const e=this.routeReuseStrategy.retrieve(o.snapshot);this.routeReuseStrategy.store(o.snapshot,null),t.children.onOutletReAttached(e.contexts),t.attachRef=e.componentRef,t.route=e.route.value,t.outlet&&t.outlet.attach(e.componentRef,e.route.value),Rt(e.route)}else{const n=function(e){for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig;if(e&&e.component)return null}return null}(o.snapshot),r=n?n.module.componentFactoryResolver:null;t.attachRef=null,t.route=o,t.resolver=r,t.outlet&&t.outlet.activateWith(o,r),this.activateChildRoutes(e,null,t.children)}}else this.activateChildRoutes(e,null,n)}}function Rt(e){Pt(e.value),e.children.forEach(Rt)}function Ut(e){return"function"==typeof e}function Lt(e){return e instanceof $e}class Bt{constructor(e){this.segmentGroup=e||null}}class Ft{constructor(e){this.urlTree=e}}function Ht(e){return new c.a(t=>t.error(new Bt(e)))}function zt(e){return new c.a(t=>t.error(new Ft(e)))}function $t(e){return new c.a(t=>t.error(new Error(`Only absolute redirects can have named outlets. redirectTo: '${e}'`)))}class Vt{constructor(e,t,n,o,s){this.configLoader=t,this.urlSerializer=n,this.urlTree=o,this.config=s,this.allowRedirects=!0,this.ngModule=e.get(r.x)}apply(){return this.expandSegmentGroup(this.ngModule,this.config,this.urlTree.root,"primary").pipe(Object(O.a)(e=>this.createUrlTree(e,this.urlTree.queryParams,this.urlTree.fragment))).pipe(F(e=>{if(e instanceof Ft)return this.allowRedirects=!1,this.match(e.urlTree);if(e instanceof Bt)throw this.noMatchError(e);throw e}))}match(e){return this.expandSegmentGroup(this.ngModule,this.config,e.root,"primary").pipe(Object(O.a)(t=>this.createUrlTree(t,e.queryParams,e.fragment))).pipe(F(e=>{if(e instanceof Bt)throw this.noMatchError(e);throw e}))}noMatchError(e){return new Error(`Cannot match any routes. URL Segment: '${e.segmentGroup}'`)}createUrlTree(e,t,n){const o=e.segments.length>0?new Ve([],{primary:e}):e;return new $e(o,t,n)}expandSegmentGroup(e,t,n,o){return 0===n.segments.length&&n.hasChildren()?this.expandChildren(e,t,n).pipe(Object(O.a)(e=>new Ve([],e))):this.expandSegment(e,n,t,n.segments,o,!0)}expandChildren(e,t,n){return function(e,t){if(0===Object.keys(e).length)return Object(s.a)({});const n=[],o=[],r={};return Fe(e,(e,s)=>{const i=t(s,e).pipe(Object(O.a)(e=>r[s]=e));"primary"===s?n.push(i):o.push(i)}),s.a.apply(null,n.concat(o)).pipe(w(),L(),Object(O.a)(()=>r))}(n.children,(n,o)=>this.expandSegmentGroup(e,t,o,n))}expandSegment(e,t,n,o,r,i){return Object(s.a)(...n).pipe(Object(O.a)(a=>this.expandSegmentAgainstRoute(e,t,n,a,o,r,i).pipe(F(e=>{if(e instanceof Bt)return Object(s.a)(null);throw e}))),w(),V(e=>!!e),F((e,n)=>{if(e instanceof l||"EmptyError"===e.name){if(this.noLeftoversInUrl(t,o,r))return Object(s.a)(new Ve([],{}));throw new Bt(t)}throw e}))}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}expandSegmentAgainstRoute(e,t,n,o,r,s,i){return Yt(o)!==s?Ht(t):void 0===o.redirectTo?this.matchSegmentAgainstRoute(e,t,o,r):i&&this.allowRedirects?this.expandSegmentAgainstRouteUsingRedirect(e,t,n,o,r,s):Ht(t)}expandSegmentAgainstRouteUsingRedirect(e,t,n,o,r,s){return"**"===o.path?this.expandWildCardWithParamsAgainstRouteUsingRedirect(e,n,o,s):this.expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,o,r,s)}expandWildCardWithParamsAgainstRouteUsingRedirect(e,t,n,o){const r=this.applyRedirectCommands([],n.redirectTo,{});return n.redirectTo.startsWith("/")?zt(r):this.lineralizeSegments(n,r).pipe(Object(G.a)(n=>{const r=new Ve(n,{});return this.expandSegment(e,r,t,n,o,!1)}))}expandRegularSegmentAgainstRouteUsingRedirect(e,t,n,o,r,s){const{matched:i,consumedSegments:a,lastChild:c,positionalParamSegments:l}=Gt(t,o,r);if(!i)return Ht(t);const h=this.applyRedirectCommands(a,o.redirectTo,l);return o.redirectTo.startsWith("/")?zt(h):this.lineralizeSegments(o,h).pipe(Object(G.a)(o=>this.expandSegment(e,t,n,o.concat(r.slice(c)),s,!1)))}matchSegmentAgainstRoute(e,t,n,o){if("**"===n.path)return n.loadChildren?this.configLoader.load(e.injector,n).pipe(Object(O.a)(e=>(n._loadedConfig=e,new Ve(o,{})))):Object(s.a)(new Ve(o,{}));const{matched:r,consumedSegments:i,lastChild:a}=Gt(t,n,o);if(!r)return Ht(t);const c=o.slice(a);return this.getChildConfig(e,n,o).pipe(Object(G.a)(e=>{const n=e.module,o=e.routes,{segmentGroup:r,slicedSegments:a}=function(e,t,n,o){return n.length>0&&function(e,t,n){return n.some(n=>qt(e,t,n)&&"primary"!==Yt(n))}(e,n,o)?{segmentGroup:Kt(new Ve(t,function(e,t){const n={};n.primary=t;for(const o of e)""===o.path&&"primary"!==Yt(o)&&(n[Yt(o)]=new Ve([],{}));return n}(o,new Ve(n,e.children)))),slicedSegments:[]}:0===n.length&&function(e,t,n){return n.some(n=>qt(e,t,n))}(e,n,o)?{segmentGroup:Kt(new Ve(e.segments,function(e,t,n,o){const r={};for(const s of n)qt(e,t,s)&&!o[Yt(s)]&&(r[Yt(s)]=new Ve([],{}));return Object.assign(Object.assign({},o),r)}(e,n,o,e.children))),slicedSegments:n}:{segmentGroup:e,slicedSegments:n}}(t,i,c,o);return 0===a.length&&r.hasChildren()?this.expandChildren(n,o,r).pipe(Object(O.a)(e=>new Ve(i,e))):0===o.length&&0===a.length?Object(s.a)(new Ve(i,{})):this.expandSegment(n,r,o,a,"primary",!0).pipe(Object(O.a)(e=>new Ve(i.concat(e.segments),e.children)))}))}getChildConfig(e,t,n){return t.children?Object(s.a)(new Ae(t.children,e)):t.loadChildren?void 0!==t._loadedConfig?Object(s.a)(t._loadedConfig):function(e,t,n){const o=t.canLoad;return o&&0!==o.length?Object(i.a)(o).pipe(Object(O.a)(o=>{const r=e.get(o);let s;if(function(e){return e&&Ut(e.canLoad)}(r))s=r.canLoad(t,n);else{if(!Ut(r))throw new Error("Invalid CanLoad guard");s=r(t,n)}return He(s)})).pipe(w(),(r=e=>!0===e,e=>e.lift(new K(r,void 0,e)))):Object(s.a)(!0);var r}(e.injector,t,n).pipe(Object(G.a)(n=>n?this.configLoader.load(e.injector,t).pipe(Object(O.a)(e=>(t._loadedConfig=e,e))):function(e){return new c.a(t=>t.error(Se(`Cannot load children because the guard of the route "path: '${e.path}'" returned false`)))}(t))):Object(s.a)(new Ae([],e))}lineralizeSegments(e,t){let n=[],o=t.root;for(;;){if(n=n.concat(o.segments),0===o.numberOfChildren)return Object(s.a)(n);if(o.numberOfChildren>1||!o.children.primary)return $t(e.redirectTo);o=o.children.primary}}applyRedirectCommands(e,t,n){return this.applyRedirectCreatreUrlTree(t,this.urlSerializer.parse(t),e,n)}applyRedirectCreatreUrlTree(e,t,n,o){const r=this.createSegmentGroup(e,t.root,n,o);return new $e(r,this.createQueryParams(t.queryParams,this.urlTree.queryParams),t.fragment)}createQueryParams(e,t){const n={};return Fe(e,(e,o)=>{if("string"==typeof e&&e.startsWith(":")){const r=e.substring(1);n[o]=t[r]}else n[o]=e}),n}createSegmentGroup(e,t,n,o){const r=this.createSegments(e,t.segments,n,o);let s={};return Fe(t.children,(t,r)=>{s[r]=this.createSegmentGroup(e,t,n,o)}),new Ve(r,s)}createSegments(e,t,n,o){return t.map(t=>t.path.startsWith(":")?this.findPosParam(e,t,o):this.findOrReturn(t,n))}findPosParam(e,t,n){const o=n[t.path.substring(1)];if(!o)throw new Error(`Cannot redirect to '${e}'. Cannot find '${t.path}'.`);return o}findOrReturn(e,t){let n=0;for(const o of t){if(o.path===e.path)return t.splice(n),o;n++}return e}}function Gt(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:{}};const o=(t.matcher||xe)(n,e,t);return o?{matched:!0,consumedSegments:o.consumed,lastChild:o.consumed.length,positionalParamSegments:o.posParams}:{matched:!1,consumedSegments:[],lastChild:0,positionalParamSegments:{}}}function Kt(e){if(1===e.numberOfChildren&&e.children.primary){const t=e.children.primary;return new Ve(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 Yt(e){return e.outlet||"primary"}class Qt{constructor(e){this.path=e,this.route=this.path[this.path.length-1]}}class Wt{constructor(e,t){this.component=e,this.route=t}}function Xt(e,t,n){const o=e._root;return function e(t,n,o,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=pt(n);return t.children.forEach(t=>{!function(t,n,o,r,s={canDeactivateChecks:[],canActivateChecks:[]}){const i=t.value,a=n?n.value:null,c=o?o.getContext(t.value.outlet):null;if(a&&i.routeConfig===a.routeConfig){const l=function(e,t,n){if("function"==typeof n)return n(e,t);switch(n){case"pathParamsChange":return!Ke(e.url,t.url);case"pathParamsOrQueryParamsChange":return!Ke(e.url,t.url)||!Re(e.queryParams,t.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!wt(e,t)||!Re(e.queryParams,t.queryParams);case"paramsChange":default:return!wt(e,t)}}(a,i,i.routeConfig.runGuardsAndResolvers);l?s.canActivateChecks.push(new Qt(r)):(i.data=a.data,i._resolvedData=a._resolvedData),e(t,n,i.component?c?c.children:null:o,r,s),l&&s.canDeactivateChecks.push(new Wt(c&&c.outlet&&c.outlet.component||null,a))}else a&&Jt(n,c,s),s.canActivateChecks.push(new Qt(r)),e(t,null,i.component?c?c.children:null:o,r,s)}(t,i[t.value.outlet],o,r.concat([t.value]),s),delete i[t.value.outlet]}),Fe(i,(e,t)=>Jt(e,o.getContext(t),s)),s}(o,t?t._root:null,n,[o.value])}function Zt(e,t,n){const o=function(e){if(!e)return null;for(let t=e.parent;t;t=t.parent){const e=t.routeConfig;if(e&&e._loadedConfig)return e._loadedConfig}return null}(t);return(o?o.module.injector:n).get(e)}function Jt(e,t,n){const o=pt(e),r=e.value;Fe(o,(e,o)=>{Jt(e,r.component?t?t.children.getContext(o):null:t,n)}),n.canDeactivateChecks.push(new Wt(r.component&&t&&t.outlet&&t.outlet.isActivated?t.outlet.component:null,r))}const en=Symbol("INITIAL_VALUE");function tn(){return Y(e=>function(...e){let t=null,n=null;return Object(h.a)(e[e.length-1])&&(n=e.pop()),"function"==typeof e[e.length-1]&&(t=e.pop()),1===e.length&&Object(u.a)(e[0])&&(e=e[0]),Object(m.a)(e,n).lift(new f(t))}(...e.map(e=>e.pipe(Object($.a)(1),function(...e){const t=e[e.length-1];return Object(h.a)(t)?(e.pop(),n=>X(e,n,t)):t=>X(e,t)}(en)))).pipe(Z((e,t)=>{let n=!1;return t.reduce((e,o,r)=>{if(e!==en)return e;if(o===en&&(n=!0),!n){if(!1===o)return o;if(r===t.length-1||Lt(o))return o}return e},e)},en),Object(M.a)(e=>e!==en),Object(O.a)(e=>Lt(e)?e:!0===e),Object($.a)(1)))}function nn(e,t){return null!==e&&t&&t(new we(e)),Object(s.a)(!0)}function on(e,t){return null!==e&&t&&t(new Oe(e)),Object(s.a)(!0)}function rn(e,t,n){const o=t.routeConfig?t.routeConfig.canActivate:null;if(!o||0===o.length)return Object(s.a)(!0);const r=o.map(o=>_(()=>{const r=Zt(o,t,n);let s;if(function(e){return e&&Ut(e.canActivate)}(r))s=He(r.canActivate(t,e));else{if(!Ut(r))throw new Error("Invalid CanActivate guard");s=He(r(t,e))}return s.pipe(V())}));return Object(s.a)(r).pipe(tn())}function sn(e,t,n){const o=t[t.length-1],r=t.slice(0,t.length-1).reverse().map(e=>function(e){const t=e.routeConfig?e.routeConfig.canActivateChild:null;return t&&0!==t.length?{node:e,guards:t}:null}(e)).filter(e=>null!==e).map(t=>_(()=>{const r=t.guards.map(r=>{const s=Zt(r,t.node,n);let i;if(function(e){return e&&Ut(e.canActivateChild)}(s))i=He(s.canActivateChild(o,e));else{if(!Ut(s))throw new Error("Invalid CanActivateChild guard");i=He(s(o,e))}return i.pipe(V())});return Object(s.a)(r).pipe(tn())}));return Object(s.a)(r).pipe(tn())}class an{}class cn{constructor(e,t,n,o,r,s){this.rootComponentType=e,this.config=t,this.urlTree=n,this.url=o,this.paramsInheritanceStrategy=r,this.relativeLinkResolution=s}recognize(){try{const e=un(this.urlTree.root,[],[],this.config,this.relativeLinkResolution).segmentGroup,t=this.processSegmentGroup(this.config,e,"primary"),n=new yt([],Object.freeze({}),Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,{},"primary",this.rootComponentType,null,this.urlTree.root,-1,{}),o=new dt(n,t),r=new _t(this.url,o);return this.inheritParamsAndData(r._root),Object(s.a)(r)}catch(e){return new c.a(t=>t.error(e))}}inheritParamsAndData(e){const t=e.value,n=bt(t,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),e.children.forEach(e=>this.inheritParamsAndData(e))}processSegmentGroup(e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(e,t):this.processSegment(e,t,t.segments,n)}processChildren(e,t){const n=qe(t,(t,n)=>this.processSegmentGroup(e,t,n));return function(e){const t={};e.forEach(e=>{const n=t[e.value.outlet];if(n){const t=n.url.map(e=>e.toString()).join("/"),o=e.value.url.map(e=>e.toString()).join("/");throw new Error(`Two segments cannot have the same outlet name: '${t}' and '${o}'.`)}t[e.value.outlet]=e.value})}(n),n.sort((e,t)=>"primary"===e.value.outlet?-1:"primary"===t.value.outlet?1:e.value.outlet.localeCompare(t.value.outlet)),n}processSegment(e,t,n,o){for(const s of e)try{return this.processSegmentAgainstRoute(s,t,n,o)}catch(r){if(!(r instanceof an))throw r}if(this.noLeftoversInUrl(t,n,o))return[];throw new an}noLeftoversInUrl(e,t,n){return 0===t.length&&!e.children[n]}processSegmentAgainstRoute(e,t,n,o){if(e.redirectTo)throw new an;if((e.outlet||"primary")!==o)throw new an;let r,s=[],i=[];if("**"===e.path){const s=n.length>0?Be(n).parameters:{};r=new yt(n,s,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(e),o,e.component,e,ln(t),hn(t)+n.length,gn(e))}else{const a=function(e,t,n){if(""===t.path){if("full"===t.pathMatch&&(e.hasChildren()||n.length>0))throw new an;return{consumedSegments:[],lastChild:0,parameters:{}}}const o=(t.matcher||xe)(n,e,t);if(!o)throw new an;const r={};Fe(o.posParams,(e,t)=>{r[t]=e.path});const s=o.consumed.length>0?Object.assign(Object.assign({},r),o.consumed[o.consumed.length-1].parameters):r;return{consumedSegments:o.consumed,lastChild:o.consumed.length,parameters:s}}(t,e,n);s=a.consumedSegments,i=n.slice(a.lastChild),r=new yt(s,a.parameters,Object.freeze(Object.assign({},this.urlTree.queryParams)),this.urlTree.fragment,mn(e),o,e.component,e,ln(t),hn(t)+s.length,gn(e))}const a=function(e){return e.children?e.children:e.loadChildren?e._loadedConfig.routes:[]}(e),{segmentGroup:c,slicedSegments:l}=un(t,s,i,a,this.relativeLinkResolution);if(0===l.length&&c.hasChildren()){const e=this.processChildren(a,c);return[new dt(r,e)]}if(0===a.length&&0===l.length)return[new dt(r,[])];const h=this.processSegment(a,c,l,"primary");return[new dt(r,h)]}}function ln(e){let t=e;for(;t._sourceSegment;)t=t._sourceSegment;return t}function hn(e){let t=e,n=t._segmentIndexShift?t._segmentIndexShift:0;for(;t._sourceSegment;)t=t._sourceSegment,n+=t._segmentIndexShift?t._segmentIndexShift:0;return n-1}function un(e,t,n,o,r){if(n.length>0&&function(e,t,n){return n.some(n=>dn(e,t,n)&&"primary"!==pn(n))}(e,n,o)){const r=new Ve(t,function(e,t,n,o){const r={};r.primary=o,o._sourceSegment=e,o._segmentIndexShift=t.length;for(const s of n)if(""===s.path&&"primary"!==pn(s)){const n=new Ve([],{});n._sourceSegment=e,n._segmentIndexShift=t.length,r[pn(s)]=n}return r}(e,t,o,new Ve(n,e.children)));return r._sourceSegment=e,r._segmentIndexShift=t.length,{segmentGroup:r,slicedSegments:[]}}if(0===n.length&&function(e,t,n){return n.some(n=>dn(e,t,n))}(e,n,o)){const s=new Ve(e.segments,function(e,t,n,o,r,s){const i={};for(const a of o)if(dn(e,n,a)&&!r[pn(a)]){const n=new Ve([],{});n._sourceSegment=e,n._segmentIndexShift="legacy"===s?e.segments.length:t.length,i[pn(a)]=n}return Object.assign(Object.assign({},r),i)}(e,t,n,o,e.children,r));return s._sourceSegment=e,s._segmentIndexShift=t.length,{segmentGroup:s,slicedSegments:n}}const s=new Ve(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 pn(e){return e.outlet||"primary"}function mn(e){return e.data||{}}function gn(e){return e.resolve||{}}function fn(e,t,n,o){const r=Zt(e,t,o);return He(r.resolve?r.resolve(t,n):r(t,n))}function bn(e){return function(t){return t.pipe(Y(t=>{const n=e(t);return n?Object(i.a)(n).pipe(Object(O.a)(()=>t)):Object(i.a)([t])}))}}class yn{shouldDetach(e){return!1}store(e,t){}shouldAttach(e){return!1}retrieve(e){return null}shouldReuseRoute(e,t){return e.routeConfig===t.routeConfig}}const _n=new r.q("ROUTES");class Cn{constructor(e,t,n,o){this.loader=e,this.compiler=t,this.onLoadStartListener=n,this.onLoadEndListener=o}load(e,t){return this.onLoadStartListener&&this.onLoadStartListener(t),this.loadModuleFactory(t.loadChildren).pipe(Object(O.a)(n=>{this.onLoadEndListener&&this.onLoadEndListener(t);const o=n.create(e);return new Ae(Le(o.injector.get(_n)).map(Ne),o)}))}loadModuleFactory(e){return"string"==typeof e?Object(i.a)(this.loader.load(e)):He(e()).pipe(Object(G.a)(e=>e instanceof r.v?Object(s.a)(e):Object(i.a)(this.compiler.compileModuleAsync(e))))}}class On{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}}function Pn(e){throw e}function wn(e,t,n){return t.parse("/")}function Mn(e,t){return Object(s.a)(null)}let vn=(()=>{class e{constructor(e,t,n,o,s,i,c,l){this.rootComponentType=e,this.urlSerializer=t,this.rootContexts=n,this.location=o,this.config=l,this.lastSuccessfulNavigation=null,this.currentNavigation=null,this.navigationId=0,this.isNgZoneEnabled=!1,this.events=new C.a,this.errorHandler=Pn,this.malformedUriErrorHandler=wn,this.navigated=!1,this.lastSuccessfulId=-1,this.hooks={beforePreactivation:Mn,afterPreactivation:Mn},this.urlHandlingStrategy=new On,this.routeReuseStrategy=new yn,this.onSameUrlNavigation="ignore",this.paramsInheritanceStrategy="emptyOnly",this.urlUpdateStrategy="deferred",this.relativeLinkResolution="legacy",this.ngModule=s.get(r.x),this.console=s.get(r.W);const h=s.get(r.z);this.isNgZoneEnabled=h instanceof r.z,this.resetConfig(l),this.currentUrlTree=new $e(new Ve([],{}),{},null),this.rawUrlTree=this.currentUrlTree,this.browserUrlTree=this.currentUrlTree,this.configLoader=new Cn(i,c,e=>this.triggerEvent(new _e(e)),e=>this.triggerEvent(new Ce(e))),this.routerState=gt(this.currentUrlTree,this.rootComponentType),this.transitions=new a.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()}setupNavigations(e){const t=this.events;return e.pipe(Object(M.a)(e=>0!==e.id),Object(O.a)(e=>Object.assign(Object.assign({},e),{extractedUrl:this.urlHandlingStrategy.extract(e.rawUrl)})),Y(e=>{let n=!1,o=!1;return Object(s.a)(e).pipe(se(e=>{this.currentNavigation={id:e.id,initialUrl:e.currentRawUrl,extractedUrl:e.extractedUrl,trigger:e.source,extras:e.extras,previousNavigation:this.lastSuccessfulNavigation?Object.assign(Object.assign({},this.lastSuccessfulNavigation),{previousNavigation:null}):null}}),Y(e=>{const n=!this.navigated||e.extractedUrl.toString()!==this.browserUrlTree.toString();if(("reload"===this.onSameUrlNavigation||n)&&this.urlHandlingStrategy.shouldProcessUrl(e.rawUrl))return Object(s.a)(e).pipe(Y(e=>{const n=this.transitions.getValue();return t.next(new he(e.id,this.serializeUrl(e.extractedUrl),e.source,e.restoredState)),n!==this.transitions.getValue()?y.a:[e]}),Y(e=>Promise.resolve(e)),(o=this.ngModule.injector,r=this.configLoader,i=this.urlSerializer,a=this.config,function(e){return e.pipe(Y(e=>function(e,t,n,o,r){return new Vt(e,t,n,o,r).apply()}(o,r,i,e.extractedUrl,a).pipe(Object(O.a)(t=>Object.assign(Object.assign({},e),{urlAfterRedirects:t})))))}),se(e=>{this.currentNavigation=Object.assign(Object.assign({},this.currentNavigation),{finalUrl:e.urlAfterRedirects})}),function(e,t,n,o,r){return function(s){return s.pipe(Object(G.a)(s=>function(e,t,n,o,r="emptyOnly",s="legacy"){return new cn(e,t,n,o,r,s).recognize()}(e,t,s.urlAfterRedirects,n(s.urlAfterRedirects),o,r).pipe(Object(O.a)(e=>Object.assign(Object.assign({},s),{targetSnapshot:e})))))}}(this.rootComponentType,this.config,e=>this.serializeUrl(e),this.paramsInheritanceStrategy,this.relativeLinkResolution),se(e=>{"eager"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(e.urlAfterRedirects,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),se(e=>{const n=new me(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);t.next(n)}));var o,r,i,a;if(n&&this.rawUrlTree&&this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)){const{id:n,extractedUrl:o,source:r,restoredState:i,extras:a}=e,c=new he(n,this.serializeUrl(o),r,i);t.next(c);const l=gt(o,this.rootComponentType).snapshot;return Object(s.a)(Object.assign(Object.assign({},e),{targetSnapshot:l,urlAfterRedirects:o,extras:Object.assign(Object.assign({},a),{skipLocationChange:!1,replaceUrl:!1})}))}return this.rawUrlTree=e.rawUrl,this.browserUrlTree=e.urlAfterRedirects,e.resolve(null),y.a}),bn(e=>{const{targetSnapshot:t,id:n,extractedUrl:o,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:i}}=e;return this.hooks.beforePreactivation(t,{navigationId:n,appliedUrlTree:o,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!i})}),se(e=>{const t=new ge(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),Object(O.a)(e=>Object.assign(Object.assign({},e),{guards:Xt(e.targetSnapshot,e.currentSnapshot,this.rootContexts)})),function(e,t){return function(n){return n.pipe(Object(G.a)(n=>{const{targetSnapshot:o,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:c}}=n;return 0===c.length&&0===a.length?Object(s.a)(Object.assign(Object.assign({},n),{guardsResult:!0})):function(e,t,n,o){return Object(i.a)(e).pipe(Object(G.a)(e=>function(e,t,n,o,r){const i=t&&t.routeConfig?t.routeConfig.canDeactivate:null;if(!i||0===i.length)return Object(s.a)(!0);const a=i.map(s=>{const i=Zt(s,t,r);let a;if(function(e){return e&&Ut(e.canDeactivate)}(i))a=He(i.canDeactivate(e,t,n,o));else{if(!Ut(i))throw new Error("Invalid CanDeactivate guard");a=He(i(e,t,n,o))}return a.pipe(V())});return Object(s.a)(a).pipe(tn())}(e.component,e.route,n,t,o)),V(e=>!0!==e,!0))}(c,o,r,e).pipe(Object(G.a)(n=>n&&"boolean"==typeof n?function(e,t,n,o){return Object(i.a)(t).pipe(Object(te.a)(t=>Object(i.a)([on(t.route.parent,o),nn(t.route,o),sn(e,t.path,n),rn(e,t.route,n)]).pipe(w(),V(e=>!0!==e,!0))),V(e=>!0!==e,!0))}(o,a,e,t):Object(s.a)(n)),Object(O.a)(e=>Object.assign(Object.assign({},n),{guardsResult:e})))}))}}(this.ngModule.injector,e=>this.triggerEvent(e)),se(e=>{if(Lt(e.guardsResult)){const t=Se(`Redirecting to "${this.serializeUrl(e.guardsResult)}"`);throw t.url=e.guardsResult,t}}),se(e=>{const t=new fe(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot,!!e.guardsResult);this.triggerEvent(t)}),Object(M.a)(e=>{if(!e.guardsResult){this.resetUrlToCurrentUrlTree();const n=new de(e.id,this.serializeUrl(e.extractedUrl),"");return t.next(n),e.resolve(!1),!1}return!0}),bn(e=>{if(e.guards.canActivateChecks.length)return Object(s.a)(e).pipe(se(e=>{const t=new be(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}),(t=this.paramsInheritanceStrategy,n=this.ngModule.injector,function(e){return e.pipe(Object(G.a)(e=>{const{targetSnapshot:o,guards:{canActivateChecks:r}}=e;return r.length?Object(i.a)(r).pipe(Object(te.a)(e=>function(e,t,n,o){return function(e,t,n,o){const r=Object.keys(e);if(0===r.length)return Object(s.a)({});if(1===r.length){const s=r[0];return fn(e[s],t,n,o).pipe(Object(O.a)(e=>({[s]:e})))}const a={};return Object(i.a)(r).pipe(Object(G.a)(r=>fn(e[r],t,n,o).pipe(Object(O.a)(e=>(a[r]=e,e))))).pipe(L(),Object(O.a)(()=>a))}(e._resolve,e,t,o).pipe(Object(O.a)(t=>(e._resolvedData=t,e.data=Object.assign(Object.assign({},e.data),bt(e,n).resolve),null)))}(e.route,o,t,n)),function(e,t){return arguments.length>=2?function(n){return Object(ne.a)(Z(e,t),k(1),D(t))(n)}:function(t){return Object(ne.a)(Z((t,n,o)=>e(t,n,o+1)),k(1))(t)}}((e,t)=>e),Object(O.a)(t=>e)):Object(s.a)(e)}))}),se(e=>{const t=new ye(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(e.urlAfterRedirects),e.targetSnapshot);this.triggerEvent(t)}));var t,n}),bn(e=>{const{targetSnapshot:t,id:n,extractedUrl:o,rawUrl:r,extras:{skipLocationChange:s,replaceUrl:i}}=e;return this.hooks.afterPreactivation(t,{navigationId:n,appliedUrlTree:o,rawUrlTree:r,skipLocationChange:!!s,replaceUrl:!!i})}),Object(O.a)(e=>{const t=function(e,t,n){const o=function e(t,n,o){if(o&&t.shouldReuseRoute(n.value,o.value.snapshot)){const r=o.value;r._futureSnapshot=n.value;const s=function(t,n,o){return n.children.map(n=>{for(const r of o.children)if(t.shouldReuseRoute(r.value.snapshot,n.value))return e(t,n,r);return e(t,n)})}(t,n,o);return new dt(r,s)}{const o=t.retrieve(n.value);if(o){const e=o.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(let o=0;o<t.children.length;++o)e(t.children[o],n.children[o])}(n,e),e}{const o=new ft(new a.a((r=n.value).url),new a.a(r.params),new a.a(r.queryParams),new a.a(r.fragment),new a.a(r.data),r.outlet,r.component,r),s=n.children.map(n=>e(t,n));return new dt(o,s)}}var r}(e,t._root,n?n._root:void 0);return new mt(o,t)}(this.routeReuseStrategy,e.targetSnapshot,e.currentRouterState);return Object.assign(Object.assign({},e),{targetRouterState:t})}),se(e=>{this.currentUrlTree=e.urlAfterRedirects,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.rawUrl),this.routerState=e.targetRouterState,"deferred"===this.urlUpdateStrategy&&(e.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,!!e.extras.replaceUrl,e.id,e.extras.state),this.browserUrlTree=e.urlAfterRedirects)}),(r=this.rootContexts,c=this.routeReuseStrategy,l=e=>this.triggerEvent(e),Object(O.a)(e=>(new Nt(c,e.targetRouterState,e.currentRouterState,l).activate(r),e))),se({next(){n=!0},complete(){n=!0}}),Object(ce.a)(()=>{if(!n&&!o){this.resetUrlToCurrentUrlTree();const n=new de(e.id,this.serializeUrl(e.extractedUrl),`Navigation ID ${e.id} is not equal to the current navigation id ${this.navigationId}`);t.next(n),e.resolve(!1)}this.currentNavigation=null}),F(n=>{if(o=!0,(r=n)&&r.ngNavigationCancelingError){const o=Lt(n.url);o||(this.navigated=!0,this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl));const r=new de(e.id,this.serializeUrl(e.extractedUrl),n.message);t.next(r),o?setTimeout(()=>{const t=this.urlHandlingStrategy.merge(n.url,this.rawUrlTree);return this.scheduleNavigation(t,"imperative",null,{skipLocationChange:e.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy},{resolve:e.resolve,reject:e.reject,promise:e.promise})},0):e.resolve(!1)}else{this.resetStateAndUrl(e.currentRouterState,e.currentUrlTree,e.rawUrl);const o=new pe(e.id,this.serializeUrl(e.extractedUrl),n);t.next(o);try{e.resolve(this.errorHandler(n))}catch(s){e.reject(s)}}var r;return y.a}));var r,c,l}))}resetRootComponentType(e){this.rootComponentType=e,this.routerState.root.component=this.rootComponentType}getTransition(){const e=this.transitions.value;return e.urlAfterRedirects=this.browserUrlTree,e}setTransition(e){this.transitions.next(Object.assign(Object.assign({},this.getTransition()),e))}initialNavigation(){this.setUpLocationChangeListener(),0===this.navigationId&&this.navigateByUrl(this.location.path(!0),{replaceUrl:!0})}setUpLocationChangeListener(){this.locationSubscription||(this.locationSubscription=this.location.subscribe(e=>{let t=this.parseUrl(e.url);const n="popstate"===e.type?"popstate":"hashchange",o=e.state&&e.state.navigationId?e.state:null;setTimeout(()=>{this.scheduleNavigation(t,n,o,{replaceUrl:!0})},0)}))}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.currentNavigation}triggerEvent(e){this.events.next(e)}resetConfig(e){je(e),this.config=e.map(Ne),this.navigated=!1,this.lastSuccessfulId=-1}ngOnDestroy(){this.dispose()}dispose(){this.locationSubscription&&(this.locationSubscription.unsubscribe(),this.locationSubscription=null)}createUrlTree(e,t={}){const{relativeTo:n,queryParams:o,fragment:s,preserveQueryParams:i,queryParamsHandling:a,preserveFragment:c}=t;Object(r.T)()&&i&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead.");const l=n||this.routerState.root,h=c?this.currentUrlTree.fragment:s;let u=null;if(a)switch(a){case"merge":u=Object.assign(Object.assign({},this.currentUrlTree.queryParams),o);break;case"preserve":u=this.currentUrlTree.queryParams;break;default:u=o||null}else u=i?this.currentUrlTree.queryParams:o||null;return null!==u&&(u=this.removeEmptyProps(u)),function(e,t,n,o,r){if(0===n.length)return vt(t.root,t.root,t,o,r);const s=function(e){if("string"==typeof e[0]&&1===e.length&&"/"===e[0])return new Et(!0,0,e);let t=0,n=!1;const o=e.reduce((e,o,r)=>{if("object"==typeof o&&null!=o){if(o.outlets){const t={};return Fe(o.outlets,(e,n)=>{t[n]="string"==typeof e?e.split("/"):e}),[...e,{outlets:t}]}if(o.segmentPath)return[...e,o.segmentPath]}return"string"!=typeof o?[...e,o]:0===r?(o.split("/").forEach((o,r)=>{0==r&&"."===o||(0==r&&""===o?n=!0:".."===o?t++:""!=o&&e.push(o))}),e):[...e,o]},[]);return new Et(n,t,o)}(n);if(s.toRoot())return vt(t.root,new Ve([],{}),t,o,r);const i=function(e,t,n){if(e.isAbsolute)return new kt(t.root,!0,0);if(-1===n.snapshot._lastPathIndex)return new kt(n.snapshot._urlSegment,!0,0);const o=Mt(e.commands[0])?0:1;return function(e,t,n){let o=e,r=t,s=n;for(;s>r;){if(s-=r,o=o.parent,!o)throw new Error("Invalid number of '../'");r=o.segments.length}return new kt(o,!1,r-s)}(n.snapshot._urlSegment,n.snapshot._lastPathIndex+o,e.numberOfDoubleDots)}(s,t,e),a=i.processChildren?xt(i.segmentGroup,i.index,s.commands):St(i.segmentGroup,i.index,s.commands);return vt(i.segmentGroup,a,t,o,r)}(l,this.currentUrlTree,e,u,h)}navigateByUrl(e,t={skipLocationChange:!1}){Object(r.T)()&&this.isNgZoneEnabled&&!r.z.isInAngularZone()&&this.console.warn("Navigation triggered outside Angular zone, did you forget to call 'ngZone.run()'?");const n=Lt(e)?e:this.parseUrl(e),o=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(o,"imperative",null,t)}navigate(e,t={skipLocationChange:!1}){return function(e){for(let t=0;t<e.length;t++){const n=e[t];if(null==n)throw new Error(`The requested path contains ${n} segment at index ${t}`)}}(e),this.navigateByUrl(this.createUrlTree(e,t),t)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){let t;try{t=this.urlSerializer.parse(e)}catch(n){t=this.malformedUriErrorHandler(n,this.urlSerializer,e)}return t}isActive(e,t){if(Lt(e))return ze(this.currentUrlTree,e,t);const n=this.parseUrl(e);return ze(this.currentUrlTree,n,t)}removeEmptyProps(e){return Object.keys(e).reduce((t,n)=>{const o=e[n];return null!=o&&(t[n]=o),t},{})}processNavigations(){this.navigations.subscribe(e=>{this.navigated=!0,this.lastSuccessfulId=e.id,this.events.next(new ue(e.id,this.serializeUrl(e.extractedUrl),this.serializeUrl(this.currentUrlTree))),this.lastSuccessfulNavigation=this.currentNavigation,this.currentNavigation=null,e.resolve(!0)},e=>{this.console.warn("Unhandled Navigation Error: ")})}scheduleNavigation(e,t,n,o,r){const s=this.getTransition();if(s&&"imperative"!==t&&"imperative"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"hashchange"==t&&"popstate"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);if(s&&"popstate"==t&&"hashchange"===s.source&&s.rawUrl.toString()===e.toString())return Promise.resolve(!0);let i,a,c;r?(i=r.resolve,a=r.reject,c=r.promise):c=new Promise((e,t)=>{i=e,a=t});const l=++this.navigationId;return this.setTransition({id:l,source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.rawUrlTree,rawUrl:e,extras:o,resolve:i,reject:a,promise:c,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),c.catch(e=>Promise.reject(e))}setBrowserUrl(e,t,n,o){const r=this.urlSerializer.serialize(e);o=o||{},this.location.isCurrentPathEqualTo(r)||t?this.location.replaceState(r,"",Object.assign(Object.assign({},o),{navigationId:n})):this.location.go(r,"",Object.assign(Object.assign({},o),{navigationId:n}))}resetStateAndUrl(e,t,n){this.routerState=e,this.currentUrlTree=t,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,n),this.resetUrlToCurrentUrlTree()}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",{navigationId:this.lastSuccessfulId})}}return e.\u0275fac=function(e){r.Xb()},e.\u0275dir=r.Gb({type:e}),e})(),En=(()=>{class e{constructor(e,t,n,o,r){this.router=e,this.route=t,this.commands=[],null==n&&o.setAttribute(r.nativeElement,"tabindex","0")}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated!, use queryParamsHandling instead."),this.preserve=e}onClick(){const e={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,e),!0}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(vn),r.Lb(ft),r.Vb("tabindex"),r.Lb(r.D),r.Lb(r.l))},e.\u0275dir=r.Gb({type:e,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(e,t){1&e&&r.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"}}),e})(),kn=(()=>{class e{constructor(e,t,n){this.router=e,this.route=t,this.locationStrategy=n,this.commands=[],this.subscription=e.events.subscribe(e=>{e instanceof ue&&this.updateTargetUrlAndHref()})}set routerLink(e){this.commands=null!=e?Array.isArray(e)?e:[e]:[]}set preserveQueryParams(e){Object(r.T)()&&console&&console.warn&&console.warn("preserveQueryParams is deprecated, use queryParamsHandling instead."),this.preserve=e}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,o){if(0!==e||t||n||o)return!0;if("string"==typeof this.target&&"_self"!=this.target)return!0;const r={skipLocationChange:Tn(this.skipLocationChange),replaceUrl:Tn(this.replaceUrl),state:this.state};return this.router.navigateByUrl(this.urlTree,r),!1}updateTargetUrlAndHref(){this.href=this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree))}get urlTree(){return this.router.createUrlTree(this.commands,{relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,preserveQueryParams:Tn(this.preserve),queryParamsHandling:this.queryParamsHandling,preserveFragment:Tn(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(vn),r.Lb(ft),r.Lb(o.g))},e.\u0275dir=r.Gb({type:e,selectors:[["a","routerLink",""],["area","routerLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&r.Yb("click",(function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey)})),2&e&&(r.Tb("href",t.href,r.sc),r.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:[r.xb]}),e})();function Tn(e){return""===e||!!e}let Sn=(()=>{class e{constructor(e,t,n,o,r){this.router=e,this.element=t,this.renderer=n,this.link=o,this.linkWithHref=r,this.classes=[],this.isActive=!1,this.routerLinkActiveOptions={exact:!1},this.subscription=e.events.subscribe(e=>{e instanceof ue&&this.update()})}ngAfterContentInit(){this.links.changes.subscribe(e=>this.update()),this.linksWithHrefs.changes.subscribe(e=>this.update()),this.update()}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(e=>!!e)}ngOnChanges(e){this.update()}ngOnDestroy(){this.subscription.unsubscribe()}update(){this.links&&this.linksWithHrefs&&this.router.navigated&&Promise.resolve().then(()=>{const e=this.hasActiveLinks();this.isActive!==e&&(this.isActive=e,this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}))})}isLinkActive(e){return t=>e.isActive(t.urlTree,this.routerLinkActiveOptions.exact)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.linkWithHref&&e(this.linkWithHref)||this.links.some(e)||this.linksWithHrefs.some(e)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(vn),r.Lb(r.l),r.Lb(r.D),r.Lb(En,8),r.Lb(kn,8))},e.\u0275dir=r.Gb({type:e,selectors:[["","routerLinkActive",""]],contentQueries:function(e,t,n){var o;1&e&&(r.Db(n,En,!0),r.Db(n,kn,!0)),2&e&&(r.nc(o=r.Zb())&&(t.links=o),r.nc(o=r.Zb())&&(t.linksWithHrefs=o))},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",routerLinkActive:"routerLinkActive"},exportAs:["routerLinkActive"],features:[r.xb]}),e})();class xn{constructor(){this.outlet=null,this.route=null,this.resolver=null,this.children=new An,this.attachRef=null}}class An{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new xn,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}}let jn=(()=>{class e{constructor(e,t,n,o,s){this.parentContexts=e,this.location=t,this.resolver=n,this.changeDetector=s,this.activated=null,this._activatedRoute=null,this.activateEvents=new r.n,this.deactivateEvents=new r.n,this.name=o||"primary",e.onChildOutletCreated(this.name,this)}ngOnDestroy(){this.parentContexts.onChildOutletDestroyed(this.name)}ngOnInit(){if(!this.activated){const e=this.parentContexts.getContext(this.name);e&&e.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.resolver||null))}}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new Error("Outlet is not activated");return this.activated.instance}get activatedRoute(){if(!this.activated)throw new Error("Outlet is not activated");return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new Error("Outlet is not activated");this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=e;const n=(t=t||this.resolver).resolveComponentFactory(e._futureSnapshot.routeConfig.component),o=this.parentContexts.getOrCreateContext(this.name).children,r=new In(e,o,this.location.injector);this.activated=this.location.createComponent(n,this.location.length,r),this.changeDetector.markForCheck(),this.activateEvents.emit(this.activated.instance)}}return e.\u0275fac=function(t){return new(t||e)(r.Lb(An),r.Lb(r.N),r.Lb(r.j),r.Vb("name"),r.Lb(r.h))},e.\u0275dir=r.Gb({type:e,selectors:[["router-outlet"]],outputs:{activateEvents:"activate",deactivateEvents:"deactivate"},exportAs:["outlet"]}),e})();class In{constructor(e,t,n){this.route=e,this.childContexts=t,this.parent=n}get(e,t){return e===ft?this.route:e===An?this.childContexts:this.parent.get(e,t)}}class Dn{}class Nn{preload(e,t){return Object(s.a)(null)}}let Rn=(()=>{class e{constructor(e,t,n,o,r){this.router=e,this.injector=o,this.preloadingStrategy=r,this.loader=new Cn(t,n,t=>e.triggerEvent(new _e(t)),t=>e.triggerEvent(new Ce(t)))}setUpPreloading(){this.subscription=this.router.events.pipe(Object(M.a)(e=>e instanceof ue),Object(te.a)(()=>this.preload())).subscribe(()=>{})}preload(){const e=this.injector.get(r.x);return this.processRoutes(e,this.router.config)}ngOnDestroy(){this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const o of t)if(o.loadChildren&&!o.canLoad&&o._loadedConfig){const e=o._loadedConfig;n.push(this.processRoutes(e.module,e.routes))}else o.loadChildren&&!o.canLoad?n.push(this.preloadConfig(e,o)):o.children&&n.push(this.processRoutes(e,o.children));return Object(i.a)(n).pipe(Object(P.a)(),Object(O.a)(e=>{}))}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>this.loader.load(e.injector,t).pipe(Object(G.a)(e=>(t._loadedConfig=e,this.processRoutes(e.module,e.routes)))))}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(vn),r.Ub(r.w),r.Ub(r.i),r.Ub(r.r),r.Ub(Dn))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),Un=(()=>{class e{constructor(e,t,n={}){this.router=e,this.viewportScroller=t,this.options=n,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},n.scrollPositionRestoration=n.scrollPositionRestoration||"disabled",n.anchorScrolling=n.anchorScrolling||"disabled"}init(){"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.router.events.subscribe(e=>{e instanceof he?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ue&&(this.lastId=e.id,this.scheduleScrollEvent(e,this.router.parseUrl(e.urlAfterRedirects).fragment))})}consumeScrollEvents(){return this.router.events.subscribe(e=>{e instanceof ve&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.router.triggerEvent(new ve(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))}ngOnDestroy(){this.routerEventsSubscription&&this.routerEventsSubscription.unsubscribe(),this.scrollEventsSubscription&&this.scrollEventsSubscription.unsubscribe()}}return e.\u0275fac=function(e){r.Xb()},e.\u0275dir=r.Gb({type:e}),e})();const Ln=new r.q("ROUTER_CONFIGURATION"),Bn=new r.q("ROUTER_FORROOT_GUARD"),Fn=[o.f,{provide:Ye,useClass:Qe},{provide:vn,useFactory:function(e,t,n,r,s,i,a,c={},l,h){const u=new vn(null,e,t,n,r,s,i,Le(a));if(l&&(u.urlHandlingStrategy=l),h&&(u.routeReuseStrategy=h),c.errorHandler&&(u.errorHandler=c.errorHandler),c.malformedUriErrorHandler&&(u.malformedUriErrorHandler=c.malformedUriErrorHandler),c.enableTracing){const e=Object(o.r)();u.events.subscribe(t=>{e.logGroup("Router Event: "+t.constructor.name),e.log(t.toString()),e.log(t),e.logGroupEnd()})}return c.onSameUrlNavigation&&(u.onSameUrlNavigation=c.onSameUrlNavigation),c.paramsInheritanceStrategy&&(u.paramsInheritanceStrategy=c.paramsInheritanceStrategy),c.urlUpdateStrategy&&(u.urlUpdateStrategy=c.urlUpdateStrategy),c.relativeLinkResolution&&(u.relativeLinkResolution=c.relativeLinkResolution),u},deps:[Ye,An,o.f,r.r,r.w,r.i,_n,Ln,[class{},new r.A],[class{},new r.A]]},An,{provide:ft,useFactory:function(e){return e.routerState.root},deps:[vn]},{provide:r.w,useClass:r.J},Rn,Nn,class{preload(e,t){return t().pipe(F(()=>Object(s.a)(null)))}},{provide:Ln,useValue:{enableTracing:!1}}];function Hn(){return new r.y("Router",vn)}let zn=(()=>{class e{constructor(e,t){}static forRoot(t,n){return{ngModule:e,providers:[Fn,Kn(t),{provide:Bn,useFactory:Gn,deps:[[vn,new r.A,new r.I]]},{provide:Ln,useValue:n||{}},{provide:o.g,useFactory:Vn,deps:[o.n,[new r.p(o.a),new r.A],Ln]},{provide:Un,useFactory:$n,deps:[vn,o.o,Ln]},{provide:Dn,useExisting:n&&n.preloadingStrategy?n.preloadingStrategy:Nn},{provide:r.y,multi:!0,useFactory:Hn},[qn,{provide:r.d,multi:!0,useFactory:Yn,deps:[qn]},{provide:Wn,useFactory:Qn,deps:[qn]},{provide:r.b,multi:!0,useExisting:Wn}]]}}static forChild(t){return{ngModule:e,providers:[Kn(t)]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)(r.Ub(Bn,8),r.Ub(vn,8))}}),e})();function $n(e,t,n){return n.scrollOffset&&t.setOffset(n.scrollOffset),new Un(e,t,n)}function Vn(e,t,n={}){return n.useHash?new o.d(e,t):new o.m(e,t)}function Gn(e){if(e)throw new Error("RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.");return"guarded"}function Kn(e){return[{provide:r.a,multi:!0,useValue:e},{provide:_n,multi:!0,useValue:e}]}let qn=(()=>{class e{constructor(e){this.injector=e,this.initNavigation=!1,this.resultOfPreactivationDone=new C.a}appInitializer(){return this.injector.get(o.e,Promise.resolve(null)).then(()=>{let e=null;const t=new Promise(t=>e=t),n=this.injector.get(vn),o=this.injector.get(Ln);if(this.isLegacyDisabled(o)||this.isLegacyEnabled(o))e(!0);else if("disabled"===o.initialNavigation)n.setUpLocationChangeListener(),e(!0);else{if("enabled"!==o.initialNavigation)throw new Error(`Invalid initialNavigation options: '${o.initialNavigation}'`);n.hooks.afterPreactivation=()=>this.initNavigation?Object(s.a)(null):(this.initNavigation=!0,e(!0),this.resultOfPreactivationDone),n.initialNavigation()}return t})}bootstrapListener(e){const t=this.injector.get(Ln),n=this.injector.get(Rn),o=this.injector.get(Un),s=this.injector.get(vn),i=this.injector.get(r.g);e===i.components[0]&&(this.isLegacyEnabled(t)?s.initialNavigation():this.isLegacyDisabled(t)&&s.setUpLocationChangeListener(),n.setUpPreloading(),o.init(),s.resetRootComponentType(i.componentTypes[0]),this.resultOfPreactivationDone.next(null),this.resultOfPreactivationDone.complete())}isLegacyEnabled(e){return"legacy_enabled"===e.initialNavigation||!0===e.initialNavigation||void 0===e.initialNavigation}isLegacyDisabled(e){return"legacy_disabled"===e.initialNavigation||!1===e.initialNavigation}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(r.r))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})();function Yn(e){return e.appInitializer.bind(e)}function Qn(e){return e.bootstrapListener.bind(e)}const Wn=new r.q("Router Initializer")},u3qa:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ");var r;function s(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 i(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=s,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!==s(e)},t.keyToEStatus=i,t.ESTATUSS=Object.keys(r).map(e=>i(e))},"uD+L":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class o{static unicodeToAscii(e){return e.replace(/[\u007F-\uFFFF]/g,e=>"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4))}static asciiToUnicode(e){return e.replace(/\\u[0-9a-f]{4}/g,e=>String.fromCharCode(parseInt(e.substr(-4),16)))}static asciiToHex(e){return e.split("").map(e=>("0"+e.charCodeAt(0).toString(16)).slice(-2)).join("")}static hexToAscii(e){return e.length<2?"":e.match(/.{2}/g).map(e=>String.fromCharCode(parseInt(e,16))).join("")}static unicodeToHex(e){return o.asciiToHex(o.unicodeToAscii(e))}static hexToUnicode(e){return o.asciiToUnicode(o.hexToAscii(e))}}t.CommonsEncoding=o},uDUn:function(e,t){var n=1e3,o=6e4,r=60*o,s=24*r;function i(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 a,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 i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"days":case"day":case"d":return i*s;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*o;case"seconds":case"second":case"secs":case"sec":case"s":return i*n;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===c&&!1===isNaN(e))return t.long?i(a=e,s,"day")||i(a,r,"hour")||i(a,o,"minute")||i(a,n,"second")||a+" ms":function(e){return e>=s?Math.round(e/s)+"d":e>=r?Math.round(e/r)+"h":e>=o?Math.round(e/o)+"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});const o=n("Q2sQ");t.isIUrlErrors=function(e,t){if(!o.CommonsType.hasPropertyString(e,"url"))return!1;if(!o.CommonsType.hasPropertyArray(e,"errors"))return!1;for(const n of e.errors)if(!0!==n&&!t(n))return!1;return!0}},v8Qv:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"d",(function(){return l})),n.d(t,"e",(function(){return h})),n.d(t,"f",(function(){return u}));var o=n("WB8P"),r=n("ofXK"),s=n("fXoL");let i=(()=>{class e{transform(e,t=!0,n=!1){return t?void 0===e?"-":o.CommonsNumber.prettyFigure(e,n):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Kb({name:"commonsPrettyFigure",type:e,pure:!0}),e})(),a=(()=>{class e{transform(e,t=!0){return t?isNaN(e)?"-":Math.floor(e).toLocaleString():e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Kb({name:"commonsPrettyInteger",type:e,pure:!0}),e})(),c=(()=>{class e{transform(e,t=!0,n=!1){return t?isNaN(e)?"-":o.CommonsNumber.prettyPercent(e,n):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Kb({name:"commonsPrettyPercentage",type:e,pure:!0}),e})(),l=(()=>{class e{transform(e,t=!0,n=!1){return t?void 0===e?"-":o.CommonsNumber.prettyFileSize(e,n):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Kb({name:"commonsPrettySize",type:e,pure:!0}),e})(),h=(()=>{class e{transform(e,t=!0){return t?void 0===e?"":o.CommonsString.ucWords(e):e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=s.Kb({name:"commonsUcWords",type:e,pure:!0}),e})(),u=(()=>{class e{}return e.\u0275mod=s.Jb({type:e}),e.\u0275inj=s.Ib({factory:function(t){return new(t||e)},imports:[[r.b]]}),e})()},vihK:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("Mm3/"),r=n("WB8P"),s=n("fXoL"),i=n("zCZe");let a=(()=>{class e{constructor(e){const t=e.getDirect("hydra");if(!(r.CommonsType.hasPropertyString(n=t,"url")&&r.CommonsType.hasPropertyNumber(n,"refreshInterval")&&r.CommonsType.hasPropertyNumberOrUndefined(n,"timeout")&&r.CommonsType.hasPropertyNumberOrUndefined(n,"reattempts")&&r.CommonsType.hasPropertyNumberOrUndefined(n,"reattemptTimeout")))throw new Error("Unable to read URL from hydra config");var n;this.config=t}getConfig(){return this.config}getUrl(){return this.config.url}getSocketIoUrl(){return o.b.buildUrl(this.getUrl())}getSocketIoOptions(){return o.b.buildOptions(this.getUrl())}}return e.\u0275fac=function(t){return new(t||e)(s.Ub(i.a))},e.\u0275prov=s.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},xChw:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("Q2sQ"),r=n("pL1S");t.isTPhpError=function(e){return!!(o.CommonsType.hasPropertyString(e,"type")&&r.isEPhpErrorType(e.type)&&o.CommonsType.hasPropertyString(e,"message")&&o.CommonsType.hasPropertyString(e,"file")&&o.CommonsType.hasPropertyNumber(e,"line"))}},yCtX:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var o=n("HDdC"),r=n("ngJS"),s=n("jZKg");function i(e,t){return t?Object(s.a)(e,t):new o.a(Object(r.a)(e))}},yLV6:function(e,t,n){var o;!function(r,s,i,a){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],h=s.createElement("div"),u=Math.round,d=Math.abs,p=Date.now;function m(e,t,n){return setTimeout(O(e,n),t)}function g(e,t,n){return!!Array.isArray(e)&&(f(e,n[t],n),!0)}function f(e,t,n){var o;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(o=0;o<e.length;)t.call(n,e[o],o,e),o++;else for(o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e)}function b(e,t,n){var o="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",s=r.console&&(r.console.warn||r.console.log);return s&&s.call(r.console,o,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 o=arguments[n];if(null!=o)for(var r in o)o.hasOwnProperty(r)&&(t[r]=o[r])}return t}:Object.assign;var y=b((function(e,t,n){for(var o=Object.keys(t),r=0;r<o.length;)(!n||n&&void 0===e[o[r]])&&(e[o[r]]=t[o[r]]),r++;return e}),"extend","Use `assign`."),_=b((function(e,t){return y(e,t,!0)}),"merge","Use `assign`.");function C(e,t,n){var o,r=t.prototype;(o=e.prototype=Object.create(r)).constructor=e,o._super=r,n&&c(o,n)}function O(e,t){return function(){return e.apply(t,arguments)}}function P(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function w(e,t){return void 0===e?t:e}function M(e,t,n){f(T(t),(function(t){e.addEventListener(t,n,!1)}))}function v(e,t,n){f(T(t),(function(t){e.removeEventListener(t,n,!1)}))}function E(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function k(e,t){return e.indexOf(t)>-1}function T(e){return e.trim().split(/\s+/g)}function S(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var o=0;o<e.length;){if(n&&e[o][n]==t||!n&&e[o]===t)return o;o++}return-1}function x(e){return Array.prototype.slice.call(e,0)}function A(e,t,n){for(var o=[],r=[],s=0;s<e.length;){var i=t?e[s][t]:e[s];S(r,i)<0&&o.push(e[s]),r[s]=i,s++}return n&&(o=t?o.sort((function(e,n){return e[t]>n[t]})):o.sort()),o}function j(e,t){for(var n,o,r=t[0].toUpperCase()+t.slice(1),s=0;s<l.length;){if((o=(n=l[s])?n+r:t)in e)return o;s++}}var I=1;function D(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var N="ontouchstart"in r,R=void 0!==j(r,"PointerEvent"),U=N&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),L=["x","y"],B=["clientX","clientY"];function F(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){P(e.options.enable,[e])&&n.handler(t)},this.init()}function H(e,t,n){var o=n.pointers.length,r=n.changedPointers.length,s=1&t&&o-r==0,i=12&t&&o-r==0;n.isFirst=!!s,n.isFinal=!!i,s&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,o=t.pointers,r=o.length;n.firstInput||(n.firstInput=z(t)),r>1&&!n.firstMultiple?n.firstMultiple=z(t):1===r&&(n.firstMultiple=!1);var s=n.firstInput,i=n.firstMultiple,a=i?i.center:s.center,c=t.center=$(o);t.timeStamp=p(),t.deltaTime=t.timeStamp-s.timeStamp,t.angle=q(a,c),t.distance=K(a,c),function(e,t){var n=t.center,o=e.offsetDelta||{},r=e.prevDelta||{},s=e.prevInput||{};1!==t.eventType&&4!==s.eventType||(r=e.prevDelta={x:s.deltaX||0,y:s.deltaY||0},o=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-o.x),t.deltaY=r.y+(n.y-o.y)}(n,t),t.offsetDirection=G(t.deltaX,t.deltaY);var l,h,u=V(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=u.x,t.overallVelocityY=u.y,t.overallVelocity=d(u.x)>d(u.y)?u.x:u.y,t.scale=i?(l=i.pointers,K((h=o)[0],h[1],B)/K(l[0],l[1],B)):1,t.rotation=i?function(e,t){return q(t[1],t[0],B)+q(e[1],e[0],B)}(i.pointers,o):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,o,r,s,i=e.lastInterval||t,a=t.timeStamp-i.timeStamp;if(8!=t.eventType&&(a>25||void 0===i.velocity)){var c=t.deltaX-i.deltaX,l=t.deltaY-i.deltaY,h=V(a,c,l);o=h.x,r=h.y,n=d(h.x)>d(h.y)?h.x:h.y,s=G(c,l),e.lastInterval=t}else n=i.velocity,o=i.velocityX,r=i.velocityY,s=i.direction;t.velocity=n,t.velocityX=o,t.velocityY=r,t.direction=s}(n,t);var m=e.element;E(t.srcEvent.target,m)&&(m=t.srcEvent.target),t.target=m}(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:u(e.pointers[n].clientX),clientY:u(e.pointers[n].clientY)},n++;return{timeStamp:p(),pointers:t,center:$(t),deltaX:e.deltaX,deltaY:e.deltaY}}function $(e){var t=e.length;if(1===t)return{x:u(e[0].clientX),y:u(e[0].clientY)};for(var n=0,o=0,r=0;r<t;)n+=e[r].clientX,o+=e[r].clientY,r++;return{x:u(n/t),y:u(o/t)}}function V(e,t,n){return{x:t/e||0,y:n/e||0}}function G(e,t){return e===t?1:d(e)>=d(t)?e<0?2:4:t<0?8:16}function K(e,t,n){n||(n=L);var o=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(o*o+r*r)}function q(e,t,n){return n||(n=L),180*Math.atan2(t[n[1]]-e[n[1]],t[n[0]]-e[n[0]])/Math.PI}F.prototype={handler:function(){},init:function(){this.evEl&&M(this.element,this.evEl,this.domHandler),this.evTarget&&M(this.target,this.evTarget,this.domHandler),this.evWin&&M(D(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&v(this.element,this.evEl,this.domHandler),this.evTarget&&v(this.target,this.evTarget,this.domHandler),this.evWin&&v(D(this.element),this.evWin,this.domHandler)}};var Y={mousedown:1,mousemove:2,mouseup:4};function Q(){this.evEl="mousedown",this.evWin="mousemove mouseup",this.pressed=!1,F.apply(this,arguments)}C(Q,F,{handler:function(e){var t=Y[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 W={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},X={2:"touch",3:"pen",4:"mouse",5:"kinect"},Z="pointerdown",J="pointermove pointerup pointercancel";function ee(){this.evEl=Z,this.evWin=J,F.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(Z="MSPointerDown",J="MSPointerMove MSPointerUp MSPointerCancel"),C(ee,F,{handler:function(e){var t=this.store,n=!1,o=e.type.toLowerCase().replace("ms",""),r=W[o],s=X[e.pointerType]||e.pointerType,i="touch"==s,a=S(t,e.pointerId,"pointerId");1&r&&(0===e.button||i)?a<0&&(t.push(e),a=t.length-1):12&r&&(n=!0),a<0||(t[a]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:s,srcEvent:e}),n&&t.splice(a,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,F.apply(this,arguments)}function oe(e,t){var n=x(e.touches),o=x(e.changedTouches);return 12&t&&(n=A(n.concat(o),"identifier",!0)),[n,o]}C(ne,F,{handler:function(e){var t=te[e.type];if(1===t&&(this.started=!0),this.started){var n=oe.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 re={touchstart:1,touchmove:2,touchend:4,touchcancel:8};function se(){this.evTarget="touchstart touchmove touchend touchcancel",this.targetIds={},F.apply(this,arguments)}function ie(e,t){var n=x(e.touches),o=this.targetIds;if(3&t&&1===n.length)return o[n[0].identifier]=!0,[n,n];var r,s,i=x(e.changedTouches),a=[],c=this.target;if(s=n.filter((function(e){return E(e.target,c)})),1===t)for(r=0;r<s.length;)o[s[r].identifier]=!0,r++;for(r=0;r<i.length;)o[i[r].identifier]&&a.push(i[r]),12&t&&delete o[i[r].identifier],r++;return a.length?[A(s.concat(a),"identifier",!0),a]:void 0}function ae(){F.apply(this,arguments);var e=O(this.handler,this);this.touch=new se(this.manager,e),this.mouse=new Q(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function ce(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,le.call(this,t)):12&e&&le.call(this,t)}function le(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var o=this.lastTouches;setTimeout((function(){var e=o.indexOf(n);e>-1&&o.splice(e,1)}),2500)}}function he(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,o=0;o<this.lastTouches.length;o++){var r=this.lastTouches[o],s=Math.abs(t-r.x),i=Math.abs(n-r.y);if(s<=25&&i<=25)return!0}return!1}C(se,F,{handler:function(e){var t=re[e.type],n=ie.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:"touch",srcEvent:e})}}),C(ae,F,{handler:function(e,t,n){var o="mouse"==n.pointerType;if(!(o&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if("touch"==n.pointerType)ce.call(this,t,n);else if(o&&he.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ue=j(h.style,"touchAction"),de=void 0!==ue,pe=function(){if(!de)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||r.CSS.supports("touch-action",n)})),e}();function me(e,t){this.manager=e,this.set(t)}function ge(e){this.options=c({},this.defaults,e||{}),this.id=I++,this.manager=null,this.options.enable=w(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function fe(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function be(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function ye(e,t){var n=t.manager;return n?n.get(e):e}function _e(){ge.apply(this,arguments)}function Ce(){_e.apply(this,arguments),this.pX=null,this.pY=null}function Oe(){_e.apply(this,arguments)}function Pe(){ge.apply(this,arguments),this._timer=null,this._input=null}function we(){_e.apply(this,arguments)}function Me(){_e.apply(this,arguments)}function ve(){ge.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ee(e,t){return(t=t||{}).recognizers=w(t.recognizers,Ee.defaults.preset),new ke(e,t)}function ke(e,t){var n;this.options=c({},Ee.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?se:N?ae:Q))(n,H),this.touchAction=new me(this,this.options.touchAction),Te(this,!0),f(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 Te(e,t){var n,o=e.element;o.style&&(f(e.options.cssProps,(function(r,s){n=j(o.style,s),t?(e.oldCssProps[n]=o.style[n],o.style[n]=r):o.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}me.prototype={set:function(e){"compute"==e&&(e=this.compute()),de&&this.manager.element.style&&pe[e]&&(this.manager.element.style[ue]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return f(this.manager.recognizers,(function(t){P(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(k(e,"none"))return"none";var t=k(e,"pan-x"),n=k(e,"pan-y");return t&&n?"none":t||n?t?"pan-x":"pan-y":k(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 o=this.actions,r=k(o,"none")&&!pe.none,s=k(o,"pan-y")&&!pe["pan-y"],i=k(o,"pan-x")&&!pe["pan-x"];if(r&&1===e.pointers.length&&e.distance<2&&e.deltaTime<250)return;if(!i||!s)return r||s&&6&n||i&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}},ge.prototype={defaults:{},set:function(e){return c(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(g(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=ye(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return g(e,"dropRecognizeWith",this)||(e=ye(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(g(e,"requireFailure",this))return this;var t=this.requireFail;return-1===S(t,e=ye(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(g(e,"dropRequireFailure",this))return this;e=ye(e,this);var t=S(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 o(n){t.manager.emit(n,e)}n<8&&o(t.options.event+fe(n)),o(t.options.event),e.additionalEvent&&o(e.additionalEvent),n>=8&&o(t.options.event+fe(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(!P(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(){}},C(_e,ge,{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,o=6&t,r=this.attrTest(e);return o&&(8&n||!r)?16|t:o||r?4&n?8|t:2&t?4|t:2:32}}),C(Ce,_e,{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,o=e.distance,r=e.direction,s=e.deltaX,i=e.deltaY;return r&t.direction||(6&t.direction?(r=0===s?1:s<0?2:4,n=s!=this.pX,o=Math.abs(e.deltaX)):(r=0===i?1:i<0?8:16,n=i!=this.pY,o=Math.abs(e.deltaY))),e.direction=r,n&&o>t.threshold&&r&t.direction},attrTest:function(e){return _e.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=be(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),C(Oe,_e,{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)}}),C(Pe,ge,{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,o=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!o||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=m((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=p(),this.manager.emit(this.options.event,this._input)))}}),C(we,_e,{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)}}),C(Me,_e,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ce.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=be(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),C(ve,ge,{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,o=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(o&&r&&n){if(4!=e.eventType)return this.failTimeout();var s=!this.pTime||e.timeStamp-this.pTime<t.interval,i=!this.pCenter||K(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,i&&s?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=m((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return 32},failTimeout:function(){return this._timer=m((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))}}),Ee.VERSION="2.0.7",Ee.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[we,{enable:!1}],[Oe,{enable:!1},["rotate"]],[Me,{direction:6}],[Ce,{direction:6},["swipe"]],[ve],[ve,{event:"doubletap",taps:2},["tap"]],[Pe]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},ke.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 o=this.recognizers,r=t.curRecognizer;(!r||r&&8&r.state)&&(r=t.curRecognizer=null);for(var s=0;s<o.length;)n=o[s],2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&14&n.state&&(r=t.curRecognizer=n),s++}},get:function(e){if(e instanceof ge)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(g(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(g(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=S(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 f(T(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 f(T(e),(function(e){t?n[e]&&n[e].splice(S(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=s.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 o=0;o<n.length;)n[o](t),o++}},destroy:function(){this.element&&Te(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Ee,{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:ke,Input:F,TouchAction:me,TouchInput:se,MouseInput:Q,PointerEventInput:ee,TouchMouseInput:ae,SingleTouchInput:ne,Recognizer:ge,AttrRecognizer:_e,Tap:ve,Pan:Ce,Swipe:Me,Pinch:Oe,Rotate:we,Press:Pe,on:M,off:v,each:f,merge:_,extend:y,assign:c,inherit:C,bindFn:O,prefixed:j}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Ee,void 0===(o=(function(){return Ee}).call(t,n,t,e))||(e.exports=o)}(window,document)},ySuH:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("6F/j");t.CommonsGrouper=class{constructor(e,t=!0){this.ignoreEmpty=t,this.onGroup=new o.Subject,this.group=[],this.interval=setInterval(()=>{0===this.group.length&&this.ignoreEmpty||(this.onGroup.next(this.group),this.group=[])},e)}groupObservable(){return this.onGroup}add(e){this.group.push(e)}cancel(){clearInterval(this.interval)}}},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});const o=n("WB8P"),r=n("c8QO");t.isTCommonsSchedule=function(e){return!!o.CommonsType.hasPropertyObject(e,"at")&&!!r.isTCommonsScheduleTime(e.at)&&!!o.CommonsType.hasPropertyString(e,"action")}},ypnn:function(e,t){e.exports=function(e,t,n){var o=e.byteLength;if(t=t||0,n=n||o,e.slice)return e.slice(t,n);if(t<0&&(t+=o),n<0&&(n+=o),n>o&&(n=o),t>=o||t>=n||0===o)return new ArrayBuffer(0);for(var r=new Uint8Array(e),s=new Uint8Array(n-t),i=t,a=0;i<n;i++,a++)s[a]=r[i];return s.buffer}},"z+Ro":function(e,t,n){"use strict";function o(e){return e&&"function"==typeof e.schedule}n.d(t,"a",(function(){return o}))},z1W9:function(e,t,n){"use strict";var o;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"}(o=t.ECommonsColor||(t.ECommonsColor={})),t.fromECommonsColor=function(e){switch(e){case o.RED:return o.RED.toString();case o.ORANGE:return o.ORANGE.toString();case o.YELLOW:return o.YELLOW.toString();case o.GREEN:return o.GREEN.toString();case o.CYAN:return o.CYAN.toString();case o.BLUE:return o.BLUE.toString();case o.INDIGO:return o.INDIGO.toString();case o.MAGENTA:return o.MAGENTA.toString();case o.BLACK:return o.BLACK.toString();case o.WHITE:return o.WHITE.toString();case o.SILVER:return o.SILVER.toString();case o.GREY:return o.GREY.toString()}throw new Error("Unknown color")},t.toECommonsColor=function(e){switch(e){case o.RED.toString():return o.RED;case o.ORANGE.toString():return o.ORANGE;case o.YELLOW.toString():return o.YELLOW;case o.GREEN.toString():return o.GREEN;case o.CYAN.toString():return o.CYAN;case o.BLUE.toString():return o.BLUE;case o.INDIGO.toString():return o.INDIGO;case o.MAGENTA.toString():return o.MAGENTA;case o.BLACK.toString():return o.BLACK;case o.WHITE.toString():return o.WHITE;case o.SILVER.toString():return o.SILVER;case o.GREY.toString():return o.GREY}throw new Error("Unknown color")}},zCZe:function(e,t,n){"use strict";n.d(t,"a",(function(){return h})),n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return p})),n.d(t,"d",(function(){return g}));var o=n("mrSG"),r=n("fXoL"),s=n("tk/3"),i=n("WB8P"),a=n("XNiG"),c=n("hi8z"),l=n("ofXK");let h=(()=>{class e{constructor(e){this.http=e,this.config={}}load(e){return Object(o.a)(this,void 0,void 0,(function*(){try{this.config=yield this.http.get(e).toPromise()}catch(t){console.log(t)}}))}getDirect(e){if(i.CommonsType.hasPropertyObject(this.config,e))return this.config[e]}getAny(e,t,n){return i.CommonsType.hasPropertyObject(this.config,e)&&i.CommonsType.hasProperty(this.config[e],t)?this.config[e][t]:n}getObject(e,t,n){const o=this.getAny(e,t,n);return i.CommonsType.attemptObject(o)}getString(e,t,n){const o=this.getAny(e,t,n);return i.CommonsType.attemptString(o)}getNumber(e,t,n){const o=this.getAny(e,t,n);return i.CommonsType.attemptNumber(o)}getBoolean(e,t,n){const o=this.getAny(e,t,n);return i.CommonsType.attemptBoolean(o)}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(s.a))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),u=(()=>{class e{constructor(e){this.configService=e,this.onDelayed=new r.n(!0),this.delays=[],this.delayedTime=1e3*(this.configService.getNumber("system","delayed",2)||2),this.timedoutTime=1e3*(this.configService.getNumber("system","timedout",30)||30)}delayedObservable(){return this.onDelayed}delayed(e){-1===this.delays.indexOf(e)&&this.delays.push(e),this.delays.length&&this.onDelayed.emit(!0)}done(e){const t=this.delays.indexOf(e);-1!==t&&(this.delays.splice(t,1),this.delays=this.delays.slice()),this.delays.length||this.onDelayed.emit(!1)}fail(e){this.done(e)}attempt(e,t,n=!1){const o=Math.random().toString(),r=setTimeout(()=>{this.delayed(o)},n?0:this.delayedTime),s=setTimeout(()=>{clearTimeout(r),t(()=>{clearTimeout(s),clearTimeout(r),this.fail(o)})},this.timedoutTime);e(()=>{clearTimeout(s),clearTimeout(r),this.done(o)},()=>{clearTimeout(s),clearTimeout(r),this.fail(o)})}attemptWithoutTimeout(e,t=!1){const n=Math.random().toString(),o=setTimeout(()=>{this.delayed(n)},t?0:this.delayedTime);e(()=>{clearTimeout(o),this.done(n)},()=>{clearTimeout(o),this.fail(n)})}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(h))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),d=(()=>{class e{constructor(e,t){this.configService=e,this.storageService=t,this.modified=new a.a,this.namespace=this.configService.getString("storage","namespace","webapp")||"webapp",this.storageService.observable().subscribe(e=>{if(e.key.substring(0,this.namespace.length+1)!==this.namespace+"_")return;const t=e.key.substring(this.namespace.length+1);this.modified.next({key:t,value:e.value})})}getAny(e,t,n){return this.storageService.getAny(e,`${this.namespace}_${t}`,n)}getString(e,t,n){return this.storageService.getString(e,`${this.namespace}_${t}`,n)}getNumber(e,t,n){return this.storageService.getNumber(e,`${this.namespace}_${t}`,n)}getBoolean(e,t,n){return this.storageService.getBoolean(e,`${this.namespace}_${t}`,n)}delete(e,t,n){return this.storageService.delete(e,`${this.namespace}_${t}`,n)}setAny(e,t,n){this.storageService.setAny(e,`${this.namespace}_${t}`,n)}setString(e,t,n){this.storageService.setString(e,`${this.namespace}_${t}`,n)}setNumber(e,t,n){this.storageService.setNumber(e,`${this.namespace}_${t}`,n)}setBoolean(e,t,n){this.storageService.setBoolean(e,`${this.namespace}_${t}`,n)}reset(e,t){for(const n of Object.keys(e))n.substr(0,this.namespace.length+1)===this.namespace+"_"&&this.storageService.delete(e,n,t)}observable(){return this.modified.asObservable()}}return e.\u0275fac=function(t){return new(t||e)(r.Ub(h),r.Ub(c.d))},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac}),e})(),p=(()=>{class e{constructor(){this.onLoaded=new r.n(!0)}loadedObservable(){return this.onLoaded}loaded(){this.onLoaded.emit()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=r.Hb({token:e,factory:e.\u0275fac,providedIn:"root"}),e.ngInjectableDef=Object(r.Hb)({factory:function(){return new e},token:e,providedIn:"root"}),e})();function m(e){return()=>Object(o.a)(this,void 0,void 0,(function*(){return yield e.load("assets/config/app-config.json")}))}let g=(()=>{class e{static forRoot(){return{ngModule:e,providers:[h,u,d,p,{provide:r.d,useFactory:m,deps:[h],multi:!0}]}}}return e.\u0275mod=r.Jb({type:e}),e.\u0275inj=r.Ib({factory:function(t){return new(t||e)},imports:[[l.b,s.b,c.e]]}),e})()},zDOd:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});class o{constructor(e,t){this.windowSize=e,this.poolSize=t,this.display=[],this.queue=[],this.upto=0;for(let n=0;n<this.poolSize;n++)this.display.push({empty:!0})}static lowestItem(e){if(0===e.length)return;const t=e.find(e=>e.empty);if(void 0!==t)return t;{const t=e.filter(e=>!e.empty).sort((e,t)=>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===t.length)return;return t[0]}}getArray(){let e=0;return this.display.filter(t=>e++<this.windowSize).map(e=>{if(!e.empty)return e.item})}addItem(e,t){const n=[];if(void 0!==t){if(t<1)throw new Error("Cannot shift for zero or negative length");for(;this.getQueueSize()>=t-1;){const e=this.queue.shift();e&&e.item&&n.push(e.item)}}return this.queue.push({empty:!1,sort:this.upto++,item:e}),n}getQueueSize(){return this.queue.length}getWindowSize(){return this.windowSize}getPoolSize(){return this.poolSize}rotate(){const e=o.lowestItem(this.display),t=this.display.pop();if(void 0===t)throw new Error("Last item in display is undefined. This should not be possible");let n,r;if(0===this.queue.length?r=t:t.empty||t===e?(t===e&&t.item&&(n=t),r=this.queue.shift()):r=t,void 0!==r&&this.display.unshift(r),n&&!n.empty&&n.item)return n.item}}t.CommonsWindowCarousell=o},zJ60:function(e,t,n){var o=n("Uxeu"),r=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)||(r("protocol-less url %s",e),e=void 0!==t?t.protocol+"//"+e:"https://"+e),r("parse %s",e),n=o(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 s=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+s+":"+n.port,n.href=n.protocol+"://"+s+(t&&t.port===n.port?"":":"+n.port),n}},zMFY:function(e,t){function n(){}e.exports=function(e,t,o){var r=!1;return o=o||n,s.count=e,0===e?t():s;function s(e,n){if(s.count<=0)throw new Error("after called too many times");--s.count,e?(r=!0,t(e),t=o):0!==s.count||r||t(null,n)}}},zUnb:function(e,t,n){"use strict";n.r(t);var o=n("fXoL");n("yLV6");var r=n("jhN1"),s=n("R0Ic");function i(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function a(e){switch(e.length){case 0:return new s.d;case 1:return e[0];default:return new s.k(e)}}function c(e,t,n,o,r={},i={}){const a=[],c=[];let l=-1,h=null;if(o.forEach(e=>{const n=e.offset,o=n==l,u=o&&h||{};Object.keys(e).forEach(n=>{let o=n,c=e[n];if("offset"!==n)switch(o=t.normalizePropertyName(o,a),c){case s.l:c=r[n];break;case s.a:c=i[n];break;default:c=t.normalizeStyleValue(n,o,c,a)}u[o]=c}),o||c.push(u),h=u,l=n}),a.length){const e="\n - ";throw new Error(`Unable to animate due to the following errors:${e}${a.join(e)}`)}return c}function l(e,t,n,o){switch(t){case"start":e.onStart(()=>o(n&&h(n,"start",e)));break;case"done":e.onDone(()=>o(n&&h(n,"done",e)));break;case"destroy":e.onDestroy(()=>o(n&&h(n,"destroy",e)))}}function h(e,t,n){const o=n.totalTime,r=u(e.element,e.triggerName,e.fromState,e.toState,t||e.phaseName,null==o?e.totalTime:o,!!n.disabled),s=e._data;return null!=s&&(r._data=s),r}function u(e,t,n,o,r="",s=0,i){return{element:e,triggerName:t,fromState:n,toState:o,phaseName:r,totalTime:s,disabled:!!i}}function d(e,t,n){let o;return e instanceof Map?(o=e.get(t),o||e.set(t,o=n)):(o=e[t],o||(o=e[t]=n)),o}function p(e){const t=e.indexOf(":");return[e.substring(1,t),e.substr(t+1)]}let m=(e,t)=>!1,g=(e,t)=>!1,f=(e,t,n)=>[];const b=i();(b||"undefined"!=typeof Element)&&(m=(e,t)=>e.contains(t),g=(()=>{if(b||Element.prototype.matches)return(e,t)=>e.matches(t);{const e=Element.prototype,t=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;return t?(e,n)=>t.apply(e,[n]):g}})(),f=(e,t,n)=>{let o=[];if(n)o.push(...e.querySelectorAll(t));else{const n=e.querySelector(t);n&&o.push(n)}return o});let y=null,_=!1;function C(e){y||(y=("undefined"!=typeof document?document.body:null)||{},_=!!y.style&&"WebkitAppearance"in y.style);let t=!0;return y.style&&!function(e){return"ebkit"==e.substring(1,6)}(e)&&(t=e in y.style,!t&&_)&&(t="Webkit"+e.charAt(0).toUpperCase()+e.substr(1)in y.style),t}const O=g,P=m,w=f;function M(e){const t={};return Object.keys(e).forEach(n=>{const o=n.replace(/([a-z])([A-Z])/g,"$1-$2");t[o]=e[n]}),t}let v=(()=>{class e{validateStyleProperty(e){return C(e)}matchesElement(e,t){return O(e,t)}containsElement(e,t){return P(e,t)}query(e,t,n){return w(e,t,n)}computeStyle(e,t,n){return n||""}animate(e,t,n,o,r,i=[],a){return new s.d(n,o)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})(),E=(()=>{class e{}return e.NOOP=new v,e})();function k(e){if("number"==typeof e)return e;const 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 S(e,t,n){return e.hasOwnProperty("duration")?e:function(e,t,n){let o,r=0,s="";if("string"==typeof e){const n=e.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===n)return t.push(`The provided timing value "${e}" is invalid.`),{duration:0,delay:0,easing:""};o=T(parseFloat(n[1]),n[2]);const i=n[3];null!=i&&(r=T(parseFloat(i),n[4]));const a=n[5];a&&(s=a)}else o=e;if(!n){let n=!1,s=t.length;o<0&&(t.push("Duration values below 0 are not allowed for this animation step."),n=!0),r<0&&(t.push("Delay values below 0 are not allowed for this animation step."),n=!0),n&&t.splice(s,0,`The provided timing value "${e}" is invalid.`)}return{duration:o,delay:r,easing:s}}(e,t,n)}function x(e,t={}){return Object.keys(e).forEach(n=>{t[n]=e[n]}),t}function A(e,t,n={}){if(t)for(let o in e)n[o]=e[o];else x(e,n);return n}function j(e,t,n){return n?t+":"+n+";":""}function I(e){let t="";for(let n=0;n<e.style.length;n++){const o=e.style.item(n);t+=j(0,o,e.style.getPropertyValue(o))}for(const n in e.style)e.style.hasOwnProperty(n)&&!n.startsWith("_")&&(t+=j(0,n.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),e.style[n]));e.setAttribute("style",t)}function D(e,t,n){e.style&&(Object.keys(t).forEach(o=>{const r=z(o);n&&!n.hasOwnProperty(o)&&(n[o]=e.style[r]),e.style[r]=t[o]}),i()&&I(e))}function N(e,t){e.style&&(Object.keys(t).forEach(t=>{const n=z(t);e.style[n]=""}),i()&&I(e))}function R(e){return Array.isArray(e)?1==e.length?e[0]:Object(s.f)(e):e}const U=new RegExp("{{\\s*(.+?)\\s*}}","g");function L(e){let t=[];if("string"==typeof e){let n;for(;n=U.exec(e);)t.push(n[1]);U.lastIndex=0}return t}function B(e,t,n){const o=e.toString(),r=o.replace(U,(e,o)=>{let r=t[o];return t.hasOwnProperty(o)||(n.push("Please provide a value for the animation param "+o),r=""),r.toString()});return r==o?e:r}function F(e){const t=[];let n=e.next();for(;!n.done;)t.push(n.value),n=e.next();return t}const H=/-+([a-z0-9])/g;function z(e){return e.replace(H,(...e)=>e[1].toUpperCase())}function $(e,t){return 0===e||0===t}function V(e,t,n){const o=Object.keys(n);if(o.length&&t.length){let s=t[0],i=[];if(o.forEach(e=>{s.hasOwnProperty(e)||i.push(e),s[e]=n[e]}),i.length)for(var r=1;r<t.length;r++){let n=t[r];i.forEach((function(t){n[t]=K(e,t)}))}}return t}function G(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 K(e,t){return window.getComputedStyle(e)[t]}function q(e,t){const n=[];return"string"==typeof e?e.split(/\s*,\s*/).forEach(e=>function(e,t,n){if(":"==e[0]){const o=function(e,t){switch(e){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(e,t)=>parseFloat(t)>parseFloat(e);case":decrement":return(e,t)=>parseFloat(t)<parseFloat(e);default:return t.push(`The transition alias value "${e}" is not supported`),"* => *"}}(e,n);if("function"==typeof o)return void t.push(o);e=o}const o=e.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==o||o.length<4)return n.push(`The provided transition expression "${e}" is not supported`),t;const r=o[1],s=o[2],i=o[3];t.push(W(r,i)),"<"!=s[0]||"*"==r&&"*"==i||t.push(W(i,r))}(e,n,t)):n.push(e),n}const Y=new Set(["true","1"]),Q=new Set(["false","0"]);function W(e,t){const n=Y.has(e)||Q.has(e),o=Y.has(t)||Q.has(t);return(r,s)=>{let i="*"==e||e==r,a="*"==t||t==s;return!i&&n&&"boolean"==typeof r&&(i=r?Y.has(e):Q.has(e)),!a&&o&&"boolean"==typeof s&&(a=s?Y.has(t):Q.has(t)),i&&a}}const X=new RegExp("s*:selfs*,?","g");function Z(e,t,n){return new J(e).build(t,n)}class J{constructor(e){this._driver=e}build(e,t){const n=new ee(t);return this._resetContextStyleTimingState(n),G(this,R(e),n)}_resetContextStyleTimingState(e){e.currentQuerySelector="",e.collectedStyles={},e.collectedStyles[""]={},e.currentTime=0}visitTrigger(e,t){let n=t.queryCount=0,o=t.depCount=0;const r=[],s=[];return"@"==e.name.charAt(0)&&t.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),e.definitions.forEach(e=>{if(this._resetContextStyleTimingState(t),0==e.type){const n=e,o=n.name;o.toString().split(/\s*,\s*/).forEach(e=>{n.name=e,r.push(this.visitState(n,t))}),n.name=o}else if(1==e.type){const r=this.visitTransition(e,t);n+=r.queryCount,o+=r.depCount,s.push(r)}else t.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:e.name,states:r,transitions:s,queryCount:n,depCount:o,options:null}}visitState(e,t){const n=this.visitStyle(e.styles,t),o=e.options&&e.options.params||null;if(n.containsDynamicStyles){const r=new Set,s=o||{};if(n.styles.forEach(e=>{if(te(e)){const t=e;Object.keys(t).forEach(e=>{L(t[e]).forEach(e=>{s.hasOwnProperty(e)||r.add(e)})})}}),r.size){const n=F(r.values());t.errors.push(`state("${e.name}", ...) must define default values for all the following style substitutions: ${n.join(", ")}`)}}return{type:0,name:e.name,style:n,options:o?{params:o}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;const n=G(this,R(e.animation),t);return{type:1,matchers:q(e.expr,t.errors),animation:n,queryCount:t.queryCount,depCount:t.depCount,options:ne(e.options)}}visitSequence(e,t){return{type:2,steps:e.steps.map(e=>G(this,e,t)),options:ne(e.options)}}visitGroup(e,t){const n=t.currentTime;let o=0;const r=e.steps.map(e=>{t.currentTime=n;const r=G(this,e,t);return o=Math.max(o,t.currentTime),r});return t.currentTime=o,{type:3,steps:r,options:ne(e.options)}}visitAnimate(e,t){const n=function(e,t){let n=null;if(e.hasOwnProperty("duration"))n=e;else if("number"==typeof e)return oe(S(e,t).duration,0,"");const o=e;if(o.split(/\s+/).some(e=>"{"==e.charAt(0)&&"{"==e.charAt(1))){const e=oe(0,0,"");return e.dynamic=!0,e.strValue=o,e}return n=n||S(o,t),oe(n.duration,n.delay,n.easing)}(e.timings,t.errors);let o;t.currentAnimateTimings=n;let r=e.styles?e.styles:Object(s.h)({});if(5==r.type)o=this.visitKeyframes(r,t);else{let r=e.styles,i=!1;if(!r){i=!0;const e={};n.easing&&(e.easing=n.easing),r=Object(s.h)(e)}t.currentTime+=n.duration+n.delay;const a=this.visitStyle(r,t);a.isEmptyStep=i,o=a}return t.currentAnimateTimings=null,{type:4,timings:n,style:o,options:null}}visitStyle(e,t){const n=this._makeStyleAst(e,t);return this._validateStyleAst(n,t),n}_makeStyleAst(e,t){const n=[];Array.isArray(e.styles)?e.styles.forEach(e=>{"string"==typeof e?e==s.a?n.push(e):t.errors.push(`The provided style string value ${e} is not allowed.`):n.push(e)}):n.push(e.styles);let o=!1,r=null;return n.forEach(e=>{if(te(e)){const t=e,n=t.easing;if(n&&(r=n,delete t.easing),!o)for(let e in t)if(t[e].toString().indexOf("{{")>=0){o=!0;break}}}),{type:6,styles:n,easing:r,offset:e.offset,containsDynamicStyles:o,options:null}}_validateStyleAst(e,t){const n=t.currentAnimateTimings;let o=t.currentTime,r=t.currentTime;n&&r>0&&(r-=n.duration+n.delay),e.styles.forEach(e=>{"string"!=typeof e&&Object.keys(e).forEach(n=>{if(!this._driver.validateStyleProperty(n))return void t.errors.push(`The provided animation property "${n}" is not a supported CSS property for animations`);const s=t.collectedStyles[t.currentQuerySelector],i=s[n];let a=!0;i&&(r!=o&&r>=i.startTime&&o<=i.endTime&&(t.errors.push(`The CSS property "${n}" that exists between the times of "${i.startTime}ms" and "${i.endTime}ms" is also being animated in a parallel animation between the times of "${r}ms" and "${o}ms"`),a=!1),r=i.startTime),a&&(s[n]={startTime:r,endTime:o}),t.options&&function(e,t,n){const o=t.params||{},r=L(e);r.length&&r.forEach(e=>{o.hasOwnProperty(e)||n.push(`Unable to resolve the local animation param ${e} in the given list of values`)})}(e[n],t.options,t.errors)})})}visitKeyframes(e,t){const n={type:5,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push("keyframes() must be placed inside of a call to animate()"),n;let o=0;const r=[];let s=!1,i=!1,a=0;const c=e.steps.map(e=>{const n=this._makeStyleAst(e,t);let c=null!=n.offset?n.offset:function(e){if("string"==typeof e)return null;let t=null;if(Array.isArray(e))e.forEach(e=>{if(te(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}});else if(te(e)&&e.hasOwnProperty("offset")){const n=e;t=parseFloat(n.offset),delete n.offset}return t}(n.styles),l=0;return null!=c&&(o++,l=n.offset=c),i=i||l<0||l>1,s=s||l<a,a=l,r.push(l),n});i&&t.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),s&&t.errors.push("Please ensure that all keyframe offsets are in order");const l=e.steps.length;let 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));const u=l-1,d=t.currentTime,p=t.currentAnimateTimings,m=p.duration;return c.forEach((e,o)=>{const s=h>0?o==u?1:h*o:r[o],i=s*m;t.currentTime=d+p.delay+i,p.duration=i,this._validateStyleAst(e,t),e.offset=s,n.styles.push(e)}),n}visitReference(e,t){return{type:8,animation:G(this,R(e.animation),t),options:ne(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:9,options:ne(e.options)}}visitAnimateRef(e,t){return{type:10,animation:this.visitReference(e.animation,t),options:ne(e.options)}}visitQuery(e,t){const n=t.currentQuerySelector,o=e.options||{};t.queryCount++,t.currentQuery=e;const[r,s]=function(e){const t=!!e.split(/\s*,\s*/).find(e=>":self"==e);return t&&(e=e.replace(X,"")),[e=e.replace(/@\*/g,".ng-trigger").replace(/@\w+/g,e=>".ng-trigger-"+e.substr(1)).replace(/:animating/g,".ng-animating"),t]}(e.selector);t.currentQuerySelector=n.length?n+" "+r:r,d(t.collectedStyles,t.currentQuerySelector,{});const i=G(this,R(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=n,{type:11,selector:r,limit:o.limit||0,optional:!!o.optional,includeSelf:s,animation:i,originalSelector:e.selector,options:ne(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push("stagger() can only be used inside of query()");const n="full"===e.timings?{duration:0,delay:0,easing:"full"}:S(e.timings,t.errors,!0);return{type:12,animation:G(this,R(e.animation),t),timings:n,options:null}}}class ee{constructor(e){this.errors=e,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=x(e)).params&&(e.params=(t=e.params)?x(t):null):e={},e}function oe(e,t,n){return{duration:e,delay:t,easing:n}}function re(e,t,n,o,r,s,i=null,a=!1){return{type:1,element:e,keyframes:t,preStyleProps:n,postStyleProps:o,duration:r,delay:s,totalTime:r+s,easing:i,subTimeline:a}}class se{constructor(){this._map=new Map}consume(e){let t=this._map.get(e);return t?this._map.delete(e):t=[],t}append(e,t){let n=this._map.get(e);n||this._map.set(e,n=[]),n.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}}const ie=new RegExp(":enter","g"),ae=new RegExp(":leave","g");function ce(e,t,n,o,r,s={},i={},a,c,l=[]){return(new le).buildKeyframes(e,t,n,o,r,s,i,a,c,l)}class le{buildKeyframes(e,t,n,o,r,s,i,a,c,l=[]){c=c||new se;const h=new ue(e,t,c,o,r,l,[]);h.options=a,h.currentTimeline.setStyles([s],null,h.errors,a),G(this,n,h);const u=h.timelines.filter(e=>e.containsAnimation());if(u.length&&Object.keys(i).length){const e=u[u.length-1];e.allowOnlyTimelineStyles()||e.setStyles([i],null,h.errors,a)}return u.length?u.map(e=>e.buildKeyframes()):[re(t,[],[],[],0,0,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){const n=t.subInstructions.consume(t.element);if(n){const o=t.createSubContext(e.options),r=t.currentTimeline.currentTime,s=this._visitSubInstructions(n,o,o.options);r!=s&&t.transformIntoNewTimeline(s)}t.previousNode=e}visitAnimateRef(e,t){const n=t.createSubContext(e.options);n.transformIntoNewTimeline(),this.visitReference(e.animation,n),t.transformIntoNewTimeline(n.currentTimeline.currentTime),t.previousNode=e}_visitSubInstructions(e,t,n){let o=t.currentTimeline.currentTime;const r=null!=n.duration?k(n.duration):null,s=null!=n.delay?k(n.delay):null;return 0!==r&&e.forEach(e=>{const n=t.appendInstructionToTimeline(e,r,s);o=Math.max(o,n.duration+n.delay)}),o}visitReference(e,t){t.updateOptions(e.options,!0),G(this,e.animation,t),t.previousNode=e}visitSequence(e,t){const n=t.subContextCount;let o=t;const r=e.options;if(r&&(r.params||r.delay)&&(o=t.createSubContext(r),o.transformIntoNewTimeline(),null!=r.delay)){6==o.previousNode.type&&(o.currentTimeline.snapshotCurrentStyles(),o.previousNode=he);const e=k(r.delay);o.delayNextStep(e)}e.steps.length&&(e.steps.forEach(e=>G(this,e,o)),o.currentTimeline.applyStylesToKeyframe(),o.subContextCount>n&&o.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){const n=[];let o=t.currentTimeline.currentTime;const r=e.options&&e.options.delay?k(e.options.delay):0;e.steps.forEach(s=>{const i=t.createSubContext(e.options);r&&i.delayNextStep(r),G(this,s,i),o=Math.max(o,i.currentTimeline.currentTime),n.push(i.currentTimeline)}),n.forEach(e=>t.currentTimeline.mergeTimelineCollectedStyles(e)),t.transformIntoNewTimeline(o),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){const n=e.strValue;return S(t.params?B(n,t.params,t.errors):n,t.errors)}return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){const n=t.currentAnimateTimings=this._visitTiming(e.timings,t),o=t.currentTimeline;n.delay&&(t.incrementTime(n.delay),o.snapshotCurrentStyles());const r=e.style;5==r.type?this.visitKeyframes(r,t):(t.incrementTime(n.duration),this.visitStyle(r,t),o.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){const n=t.currentTimeline,o=t.currentAnimateTimings;!o&&n.getCurrentStyleProperties().length&&n.forwardFrame();const r=o&&o.easing||e.easing;e.isEmptyStep?n.applyEmptyStep(r):n.setStyles(e.styles,r,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){const n=t.currentAnimateTimings,o=t.currentTimeline.duration,r=n.duration,s=t.createSubContext().currentTimeline;s.easing=n.easing,e.styles.forEach(e=>{s.forwardTime((e.offset||0)*r),s.setStyles(e.styles,e.easing,t.errors,t.options),s.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(s),t.transformIntoNewTimeline(o+r),t.previousNode=e}visitQuery(e,t){const n=t.currentTimeline.currentTime,o=e.options||{},r=o.delay?k(o.delay):0;r&&(6===t.previousNode.type||0==n&&t.currentTimeline.getCurrentStyleProperties().length)&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=he);let s=n;const i=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!o.optional,t.errors);t.currentQueryTotal=i.length;let a=null;i.forEach((n,o)=>{t.currentQueryIndex=o;const i=t.createSubContext(e.options,n);r&&i.delayNextStep(r),n===t.element&&(a=i.currentTimeline),G(this,e.animation,i),i.currentTimeline.applyStylesToKeyframe(),s=Math.max(s,i.currentTimeline.currentTime)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(s),a&&(t.currentTimeline.mergeTimelineCollectedStyles(a),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){const n=t.parentContext,o=t.currentTimeline,r=e.timings,s=Math.abs(r.duration),i=s*(t.currentQueryTotal-1);let a=s*t.currentQueryIndex;switch(r.duration<0?"reverse":r.easing){case"reverse":a=i-a;break;case"full":a=n.currentStaggerTime}const c=t.currentTimeline;a&&c.delayNextStep(a);const l=c.currentTime;G(this,e.animation,t),t.previousNode=e,n.currentStaggerTime=o.currentTime-l+(o.startTime-n.currentTimeline.startTime)}}const he={};class ue{constructor(e,t,n,o,r,s,i,a){this._driver=e,this.element=t,this.subInstructions=n,this._enterClassName=o,this._leaveClassName=r,this.errors=s,this.timelines=i,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=he,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=a||new de(this._driver,t,0),i.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;const n=e;let o=this.options;null!=n.duration&&(o.duration=k(n.duration)),null!=n.delay&&(o.delay=k(n.delay));const r=n.params;if(r){let e=o.params;e||(e=this.options.params={}),Object.keys(r).forEach(n=>{t&&e.hasOwnProperty(n)||(e[n]=B(r[n],e,this.errors))})}}_copyOptions(){const e={};if(this.options){const t=this.options.params;if(t){const n=e.params={};Object.keys(t).forEach(e=>{n[e]=t[e]})}}return e}createSubContext(e=null,t,n){const o=t||this.element,r=new ue(this._driver,o,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(o,n||0));return r.previousNode=this.previousNode,r.currentAnimateTimings=this.currentAnimateTimings,r.options=this._copyOptions(),r.updateOptions(e),r.currentQueryIndex=this.currentQueryIndex,r.currentQueryTotal=this.currentQueryTotal,r.parentContext=this,this.subContextCount++,r}transformIntoNewTimeline(e){return this.previousNode=he,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,n){const o={duration:null!=t?t:e.duration,delay:this.currentTimeline.currentTime+(null!=n?n:0)+e.delay,easing:""},r=new pe(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,o,e.stretchStartingKeyframe);return this.timelines.push(r),o}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,n,o,r,s){let i=[];if(o&&i.push(this.element),e.length>0){e=(e=e.replace(ie,"."+this._enterClassName)).replace(ae,"."+this._leaveClassName);let t=this._driver.query(this.element,e,1!=n);0!==n&&(t=n<0?t.slice(t.length+n,t.length):t.slice(0,n)),i.push(...t)}return r||0!=i.length||s.push(`\`query("${t}")\` returned zero elements. (Use \`query("${t}", { optional: true })\` if you wish to allow this.)`),i}}class de{constructor(e,t,n,o){this._driver=e,this.element=t,this.startTime=n,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(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(e){const t=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new de(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){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))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles[e]=t,this._globalTimelineStyles[e]=t,this._styleSummary[e]={time:this.currentTime,value:t}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&(this._previousKeyframe.easing=e),Object.keys(this._globalTimelineStyles).forEach(e=>{this._backFill[e]=this._globalTimelineStyles[e]||s.a,this._currentKeyframe[e]=s.a}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,n,o){t&&(this._previousKeyframe.easing=t);const r=o&&o.params||{},i=function(e,t){const n={};let o;return e.forEach(e=>{"*"===e?(o=o||Object.keys(t),o.forEach(e=>{n[e]=s.a})):A(e,!1,n)}),n}(e,this._globalTimelineStyles);Object.keys(i).forEach(e=>{const t=B(i[e],r,n);this._pendingStyles[e]=t,this._localTimelineStyles.hasOwnProperty(e)||(this._backFill[e]=this._globalTimelineStyles.hasOwnProperty(e)?this._globalTimelineStyles[e]:s.a),this._updateStyle(e,t)})}applyStylesToKeyframe(){const e=this._pendingStyles,t=Object.keys(e);0!=t.length&&(this._pendingStyles={},t.forEach(t=>{this._currentKeyframe[t]=e[t]}),Object.keys(this._localTimelineStyles).forEach(e=>{this._currentKeyframe.hasOwnProperty(e)||(this._currentKeyframe[e]=this._localTimelineStyles[e])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(e=>{const t=this._localTimelineStyles[e];this._pendingStyles[e]=t,this._updateStyle(e,t)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){Object.keys(e._styleSummary).forEach(t=>{const n=this._styleSummary[t],o=e._styleSummary[t];(!n||o.time>n.time)&&this._updateStyle(t,o.value)})}buildKeyframes(){this.applyStylesToKeyframe();const e=new Set,t=new Set,n=1===this._keyframes.size&&0===this.duration;let o=[];this._keyframes.forEach((r,i)=>{const a=A(r,!0);Object.keys(a).forEach(n=>{const o=a[n];o==s.l?e.add(n):o==s.a&&t.add(n)}),n||(a.offset=i/this.duration),o.push(a)});const r=e.size?F(e.values()):[],i=t.size?F(t.values()):[];if(n){const e=o[0],t=x(e);e.offset=0,t.offset=1,o=[e,t]}return re(this.element,o,r,i,this.duration,this.startTime,this.easing,!1)}}class pe extends de{constructor(e,t,n,o,r,s,i=!1){super(e,t,s.delay),this.element=t,this.keyframes=n,this.preStyleProps=o,this.postStyleProps=r,this._stretchStartingKeyframe=i,this.timings={duration:s.duration,delay:s.delay,easing:s.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:n,easing:o}=this.timings;if(this._stretchStartingKeyframe&&t){const r=[],s=n+t,i=t/s,a=A(e[0],!1);a.offset=0,r.push(a);const c=A(e[0],!1);c.offset=me(i),r.push(c);const l=e.length-1;for(let o=1;o<=l;o++){let i=A(e[o],!1);i.offset=me((t+i.offset*n)/s),r.push(i)}n=s,t=0,o="",e=r}return re(this.element,e,this.preStyleProps,this.postStyleProps,n,t,o,!0)}}function me(e,t=3){const n=Math.pow(10,t-1);return Math.round(e*n)/n}class ge{}class fe extends ge{normalizePropertyName(e,t){return z(e)}normalizeStyleValue(e,t,n,o){let r="";const s=n.toString().trim();if(be[t]&&0!==n&&"0"!==n)if("number"==typeof n)r="px";else{const t=n.match(/^[+-]?[\d\.]+([a-z]*)$/);t&&0==t[1].length&&o.push(`Please provide a CSS unit value for ${e}:${n}`)}return s+r}}const be=(()=>function(e){const t={};return e.forEach(e=>t[e]=!0),t}("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(",")))();function ye(e,t,n,o,r,s,i,a,c,l,h,u,d){return{type:0,element:e,triggerName:t,isRemovalTransition:r,fromState:n,fromStyles:s,toState:o,toStyles:i,timelines:a,queriedElements:c,preStyleProps:l,postStyleProps:h,totalTime:u,errors:d}}const _e={};class Ce{constructor(e,t,n){this._triggerName=e,this.ast=t,this._stateStyles=n}match(e,t,n,o){return function(e,t,n,o,r){return e.some(e=>e(t,n,o,r))}(this.ast.matchers,e,t,n,o)}buildStyles(e,t,n){const o=this._stateStyles["*"],r=this._stateStyles[e],s=o?o.buildStyles(t,n):{};return r?r.buildStyles(t,n):s}build(e,t,n,o,r,s,i,a,c,l){const h=[],u=this.ast.options&&this.ast.options.params||_e,p=this.buildStyles(n,i&&i.params||_e,h),m=a&&a.params||_e,g=this.buildStyles(o,m,h),f=new Set,b=new Map,y=new Map,_="void"===o,C={params:Object.assign(Object.assign({},u),m)},O=l?[]:ce(e,t,this.ast.animation,r,s,p,g,C,c,h);let P=0;if(O.forEach(e=>{P=Math.max(e.duration+e.delay,P)}),h.length)return ye(t,this._triggerName,n,o,_,p,g,[],[],b,y,P,h);O.forEach(e=>{const n=e.element,o=d(b,n,{});e.preStyleProps.forEach(e=>o[e]=!0);const r=d(y,n,{});e.postStyleProps.forEach(e=>r[e]=!0),n!==t&&f.add(n)});const w=F(f.values());return ye(t,this._triggerName,n,o,_,p,g,O,w,b,y,P)}}class Oe{constructor(e,t){this.styles=e,this.defaultParams=t}buildStyles(e,t){const n={},o=x(this.defaultParams);return Object.keys(e).forEach(t=>{const n=e[t];null!=n&&(o[t]=n)}),this.styles.styles.forEach(e=>{if("string"!=typeof e){const r=e;Object.keys(r).forEach(e=>{let s=r[e];s.length>1&&(s=B(s,o,t)),n[e]=s})}}),n}}class Pe{constructor(e,t){this.name=e,this.ast=t,this.transitionFactories=[],this.states={},t.states.forEach(e=>{this.states[e.name]=new Oe(e.style,e.options&&e.options.params||{})}),we(this.states,"true","1"),we(this.states,"false","0"),t.transitions.forEach(t=>{this.transitionFactories.push(new Ce(e,t,this.states))}),this.fallbackTransition=new Ce(e,{type:1,animation:{type:2,steps:[],options:null},matchers:[(e,t)=>!0],options:null,queryCount:0,depCount:0},this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,n,o){return this.transitionFactories.find(r=>r.match(e,t,n,o))||null}matchStyles(e,t,n){return this.fallbackTransition.buildStyles(e,t,n)}}function we(e,t,n){e.hasOwnProperty(t)?e.hasOwnProperty(n)||(e[n]=e[t]):e.hasOwnProperty(n)&&(e[t]=e[n])}const Me=new se;class ve{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._normalizer=n,this._animations={},this._playersById={},this.players=[]}register(e,t){const n=[],o=Z(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]=o}_buildPlayer(e,t,n){const o=e.element,r=c(0,this._normalizer,0,e.keyframes,t,n);return this._driver.animate(o,r,e.duration,e.delay,e.easing,[],!0)}create(e,t,n={}){const o=[],r=this._animations[e];let i;const c=new Map;if(r?(i=ce(this._driver,t,r,"ng-enter","ng-leave",{},{},n,Me,o),i.forEach(e=>{const t=d(c,e.element,{});e.postStyleProps.forEach(e=>t[e]=null)})):(o.push("The requested animation doesn't exist or has already been destroyed"),i=[]),o.length)throw new Error("Unable to create the animation due to the following errors: "+o.join("\n"));c.forEach((e,t)=>{Object.keys(e).forEach(n=>{e[n]=this._driver.computeStyle(t,n,s.a)})});const l=a(i.map(e=>{const t=c.get(e.element);return this._buildPlayer(e,{},t)}));return this._playersById[e]=l,l.onDestroy(()=>this.destroy(e)),this.players.push(l),l}destroy(e){const t=this._getPlayer(e);t.destroy(),delete this._playersById[e];const n=this.players.indexOf(t);n>=0&&this.players.splice(n,1)}_getPlayer(e){const t=this._playersById[e];if(!t)throw new Error("Unable to find the timeline player referenced by "+e);return t}listen(e,t,n,o){const r=u(t,"","","");return l(this._getPlayer(e),n,r,o),()=>{}}command(e,t,n,o){if("register"==n)return void this.register(e,o[0]);if("create"==n)return void this.create(e,t,o[0]||{});const r=this._getPlayer(e);switch(n){case"play":r.play();break;case"pause":r.pause();break;case"reset":r.reset();break;case"restart":r.restart();break;case"finish":r.finish();break;case"init":r.init();break;case"setPosition":r.setPosition(parseFloat(o[0]));break;case"destroy":this.destroy(e)}}}const Ee=[],ke={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Te={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0};class Se{constructor(e,t=""){this.namespaceId=t;const n=e&&e.hasOwnProperty("value");if(this.value=null!=(o=n?e.value:e)?o:null,n){const t=x(e);delete t.value,this.options=t}else this.options={};var o;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(e){const t=e.params;if(t){const e=this.options.params;Object.keys(t).forEach(n=>{null==e[n]&&(e[n]=t[n])})}}}const xe=new Se("void");class Ae{constructor(e,t,n){this.id=e,this.hostElement=t,this._engine=n,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,Le(t,this._hostClassName)}listen(e,t,n,o){if(!this._triggers.hasOwnProperty(t))throw new Error(`Unable to listen on the animation trigger event "${n}" because the animation trigger "${t}" doesn't exist!`);if(null==n||0==n.length)throw new Error(`Unable to listen on the animation trigger "${t}" because the provided event is undefined!`);if("start"!=(r=n)&&"done"!=r)throw new Error(`The provided animation trigger event "${n}" for the animation trigger "${t}" is not supported!`);var r;const s=d(this._elementListeners,e,[]),i={name:t,phase:n,callback:o};s.push(i);const a=d(this._engine.statesByElement,e,{});return a.hasOwnProperty(t)||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),a[t]=xe),()=>{this._engine.afterFlush(()=>{const e=s.indexOf(i);e>=0&&s.splice(e,1),this._triggers[t]||delete a[t]})}}register(e,t){return!this._triggers[e]&&(this._triggers[e]=t,!0)}_getTrigger(e){const t=this._triggers[e];if(!t)throw new Error(`The provided animation trigger "${e}" has not been registered!`);return t}trigger(e,t,n,o=!0){const r=this._getTrigger(t),s=new Ie(this.id,t,e);let i=this._engine.statesByElement.get(e);i||(Le(e,"ng-trigger"),Le(e,"ng-trigger-"+t),this._engine.statesByElement.set(e,i={}));let a=i[t];const c=new Se(n,this.id);if(!(n&&n.hasOwnProperty("value"))&&a&&c.absorbOptions(a.options),i[t]=c,a||(a=xe),"void"!==c.value&&a.value===c.value){if(!function(e,t){const n=Object.keys(e),o=Object.keys(t);if(n.length!=o.length)return!1;for(let r=0;r<n.length;r++){const o=n[r];if(!t.hasOwnProperty(o)||e[o]!==t[o])return!1}return!0}(a.params,c.params)){const t=[],n=r.matchStyles(a.value,a.params,t),o=r.matchStyles(c.value,c.params,t);t.length?this._engine.reportError(t):this._engine.afterFlush(()=>{N(e,n),D(e,o)})}return}const l=d(this._engine.playersByElement,e,[]);l.forEach(e=>{e.namespaceId==this.id&&e.triggerName==t&&e.queued&&e.destroy()});let h=r.matchTransition(a.value,c.value,e,c.params),u=!1;if(!h){if(!o)return;h=r.fallbackTransition,u=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:h,fromState:a,toState:c,player:s,isFallbackTransition:u}),u||(Le(e,"ng-animate-queued"),s.onStart(()=>{Be(e,"ng-animate-queued")})),s.onDone(()=>{let t=this.players.indexOf(s);t>=0&&this.players.splice(t,1);const n=this._engine.playersByElement.get(e);if(n){let e=n.indexOf(s);e>=0&&n.splice(e,1)}}),this.players.push(s),l.push(s),s}deregister(e){delete this._triggers[e],this._engine.statesByElement.forEach((t,n)=>{delete t[e]}),this._elementListeners.forEach((t,n)=>{this._elementListeners.set(n,t.filter(t=>t.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);const t=this._engine.playersByElement.get(e);t&&(t.forEach(e=>e.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){const n=this._engine.driver.query(e,".ng-trigger",!0);n.forEach(e=>{if(e.__ng_removed)return;const n=this._engine.fetchNamespacesByElement(e);n.size?n.forEach(n=>n.triggerLeaveAnimation(e,t,!1,!0)):this.clearElementCache(e)}),this._engine.afterFlushAnimationsDone(()=>n.forEach(e=>this.clearElementCache(e)))}triggerLeaveAnimation(e,t,n,o){const r=this._engine.statesByElement.get(e);if(r){const s=[];if(Object.keys(r).forEach(t=>{if(this._triggers[t]){const n=this.trigger(e,t,"void",o);n&&s.push(n)}}),s.length)return this._engine.markElementAsRemoved(this.id,e,!0,t),n&&a(s).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){const t=this._elementListeners.get(e);if(t){const n=new Set;t.forEach(t=>{const o=t.name;if(n.has(o))return;n.add(o);const r=this._triggers[o].fallbackTransition,s=this._engine.statesByElement.get(e)[o]||xe,i=new Se("void"),a=new Ie(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:r,fromState:s,toState:i,player:a,isFallbackTransition:!0})})}}removeNode(e,t){const n=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let o=!1;if(n.totalAnimations){const t=n.players.length?n.playersByQueriedElement.get(e):[];if(t&&t.length)o=!0;else{let t=e;for(;t=t.parentNode;)if(n.statesByElement.get(t)){o=!0;break}}}if(this.prepareLeaveAnimationListeners(e),o)n.markElementAsRemoved(this.id,e,!1,t);else{const o=e.__ng_removed;o&&o!==ke||(n.afterFlush(()=>this.clearElementCache(e)),n.destroyInnerAnimations(e),n._onRemovalComplete(e,t))}}insertNode(e,t){Le(e,this._hostClassName)}drainQueuedTransitions(e){const t=[];return this._queue.forEach(n=>{const o=n.player;if(o.destroyed)return;const r=n.element,s=this._elementListeners.get(r);s&&s.forEach(t=>{if(t.name==n.triggerName){const o=u(r,n.triggerName,n.fromState.value,n.toState.value);o._data=e,l(n.player,t.phase,o,t.callback)}}),o.markedForDestroy?this._engine.afterFlush(()=>{o.destroy()}):t.push(n)}),this._queue=[],t.sort((e,t)=>{const n=e.transition.ast.depCount,o=t.transition.ast.depCount;return 0==n||0==o?n-o:this._engine.driver.containsElement(e.element,t.element)?1:-1})}destroy(e){this.players.forEach(e=>e.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}elementContainsData(e){let t=!1;return this._elementListeners.has(e)&&(t=!0),t=!!this._queue.find(t=>t.element===e)||t,t}}class je{constructor(e,t,n){this.bodyNode=e,this.driver=t,this._normalizer=n,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=(e,t)=>{}}_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}get queuedPlayers(){const e=[];return this._namespaceList.forEach(t=>{t.players.forEach(t=>{t.queued&&e.push(t)})}),e}createNamespace(e,t){const n=new Ae(e,t,this);return t.parentNode?this._balanceNamespaceList(n,t):(this.newHostElements.set(t,n),this.collectEnterElement(t)),this._namespaceLookup[e]=n}_balanceNamespaceList(e,t){const n=this._namespaceList.length-1;if(n>=0){let o=!1;for(let r=n;r>=0;r--)if(this.driver.containsElement(this._namespaceList[r].hostElement,t)){this._namespaceList.splice(r+1,0,e),o=!0;break}o||this._namespaceList.splice(0,0,e)}else this._namespaceList.push(e);return this.namespacesByHostElement.set(t,e),e}register(e,t){let n=this._namespaceLookup[e];return n||(n=this.createNamespace(e,t)),n}registerTrigger(e,t,n){let o=this._namespaceLookup[e];o&&o.register(t,n)&&this.totalAnimations++}destroy(e,t){if(!e)return;const n=this._fetchNamespace(e);this.afterFlush(()=>{this.namespacesByHostElement.delete(n.hostElement),delete this._namespaceLookup[e];const t=this._namespaceList.indexOf(n);t>=0&&this._namespaceList.splice(t,1)}),this.afterFlushAnimationsDone(()=>n.destroy(t))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){const t=new Set,n=this.statesByElement.get(e);if(n){const e=Object.keys(n);for(let o=0;o<e.length;o++){const r=n[e[o]].namespaceId;if(r){const e=this._fetchNamespace(r);e&&t.add(e)}}}return t}trigger(e,t,n,o){if(De(t)){const r=this._fetchNamespace(e);if(r)return r.trigger(t,n,o),!0}return!1}insertNode(e,t,n,o){if(!De(t))return;const r=t.__ng_removed;if(r&&r.setForRemoval){r.setForRemoval=!1,r.setForMove=!0;const e=this.collectedLeaveElements.indexOf(t);e>=0&&this.collectedLeaveElements.splice(e,1)}if(e){const o=this._fetchNamespace(e);o&&o.insertNode(t,n)}o&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),Le(e,"ng-animate-disabled")):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Be(e,"ng-animate-disabled"))}removeNode(e,t,n,o){if(De(t)){const r=e?this._fetchNamespace(e):null;if(r?r.removeNode(t,o):this.markElementAsRemoved(e,t,!1,o),n){const n=this.namespacesByHostElement.get(t);n&&n.id!==e&&n.removeNode(t,o)}}else this._onRemovalComplete(t,o)}markElementAsRemoved(e,t,n,o){this.collectedLeaveElements.push(t),t.__ng_removed={namespaceId:e,setForRemoval:o,hasAnimation:n,removedBeforeQueried:!1}}listen(e,t,n,o,r){return De(t)?this._fetchNamespace(e).listen(t,n,o,r):()=>{}}_buildInstruction(e,t,n,o,r){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,n,o,e.fromState.options,e.toState.options,t,r)}destroyInnerAnimations(e){let t=this.driver.query(e,".ng-trigger",!0);t.forEach(e=>this.destroyActiveAnimationsForElement(e)),0!=this.playersByQueriedElement.size&&(t=this.driver.query(e,".ng-animating",!0),t.forEach(e=>this.finishActiveQueriedAnimationOnElement(e)))}destroyActiveAnimationsForElement(e){const t=this.playersByElement.get(e);t&&t.forEach(e=>{e.queued?e.markedForDestroy=!0:e.destroy()})}finishActiveQueriedAnimationOnElement(e){const t=this.playersByQueriedElement.get(e);t&&t.forEach(e=>e.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return a(this.players).onDone(()=>e());e()})}processLeaveNode(e){const t=e.__ng_removed;if(t&&t.setForRemoval){if(e.__ng_removed=ke,t.namespaceId){this.destroyInnerAnimations(e);const n=this._fetchNamespace(t.namespaceId);n&&n.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}this.driver.matchesElement(e,".ng-animate-disabled")&&this.markElementAsDisabled(e,!1),this.driver.query(e,".ng-animate-disabled",!0).forEach(e=>{this.markElementAsDisabled(e,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((e,t)=>this._balanceNamespaceList(e,t)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let n=0;n<this.collectedEnterElements.length;n++)Le(this.collectedEnterElements[n],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const n=[];try{t=this._flushAnimations(n,e)}finally{for(let e=0;e<n.length;e++)n[e]()}}else for(let n=0;n<this.collectedLeaveElements.length;n++)this.processLeaveNode(this.collectedLeaveElements[n]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(e=>e()),this._flushFns=[],this._whenQuietFns.length){const e=this._whenQuietFns;this._whenQuietFns=[],t.length?a(t).onDone(()=>{e.forEach(e=>e())}):e.forEach(e=>e())}}reportError(e){throw new Error("Unable to process animations due to the following failed trigger transitions\n "+e.join("\n"))}_flushAnimations(e,t){const n=new se,o=[],r=new Map,i=[],c=new Map,l=new Map,h=new Map,u=new Set;this.disabledNodes.forEach(e=>{u.add(e);const t=this.driver.query(e,".ng-animate-queued",!0);for(let n=0;n<t.length;n++)u.add(t[n])});const p=this.bodyNode,m=Array.from(this.statesByElement.keys()),g=Ue(m,this.collectedEnterElements),f=new Map;let b=0;g.forEach((e,t)=>{const n="ng-enter"+b++;f.set(t,n),e.forEach(e=>Le(e,n))});const y=[],_=new Set,C=new Set;for(let s=0;s<this.collectedLeaveElements.length;s++){const e=this.collectedLeaveElements[s],t=e.__ng_removed;t&&t.setForRemoval&&(y.push(e),_.add(e),t.hasAnimation?this.driver.query(e,".ng-star-inserted",!0).forEach(e=>_.add(e)):C.add(e))}const O=new Map,P=Ue(m,Array.from(_));P.forEach((e,t)=>{const n="ng-leave"+b++;O.set(t,n),e.forEach(e=>Le(e,n))}),e.push(()=>{g.forEach((e,t)=>{const n=f.get(t);e.forEach(e=>Be(e,n))}),P.forEach((e,t)=>{const n=O.get(t);e.forEach(e=>Be(e,n))}),y.forEach(e=>{this.processLeaveNode(e)})});const w=[],M=[];for(let s=this._namespaceList.length-1;s>=0;s--)this._namespaceList[s].drainQueuedTransitions(t).forEach(e=>{const t=e.player,r=e.element;if(w.push(t),this.collectedEnterElements.length){const e=r.__ng_removed;if(e&&e.setForMove)return void t.destroy()}const s=!p||!this.driver.containsElement(p,r),a=O.get(r),u=f.get(r),m=this._buildInstruction(e,n,u,a,s);if(m.errors&&m.errors.length)M.push(m);else{if(s)return t.onStart(()=>N(r,m.fromStyles)),t.onDestroy(()=>D(r,m.toStyles)),void o.push(t);if(e.isFallbackTransition)return t.onStart(()=>N(r,m.fromStyles)),t.onDestroy(()=>D(r,m.toStyles)),void o.push(t);m.timelines.forEach(e=>e.stretchStartingKeyframe=!0),n.append(r,m.timelines),i.push({instruction:m,player:t,element:r}),m.queriedElements.forEach(e=>d(c,e,[]).push(t)),m.preStyleProps.forEach((e,t)=>{const n=Object.keys(e);if(n.length){let e=l.get(t);e||l.set(t,e=new Set),n.forEach(t=>e.add(t))}}),m.postStyleProps.forEach((e,t)=>{const n=Object.keys(e);let o=h.get(t);o||h.set(t,o=new Set),n.forEach(e=>o.add(e))})}});if(M.length){const e=[];M.forEach(t=>{e.push(`@${t.triggerName} has failed due to:\n`),t.errors.forEach(t=>e.push(`- ${t}\n`))}),w.forEach(e=>e.destroy()),this.reportError(e)}const v=new Map,E=new Map;i.forEach(e=>{const t=e.element;n.has(t)&&(E.set(t,t),this._beforeAnimationBuild(e.player.namespaceId,e.instruction,v))}),o.forEach(e=>{const t=e.element;this._getPreviousPlayers(t,!1,e.namespaceId,e.triggerName,null).forEach(e=>{d(v,t,[]).push(e),e.destroy()})});const k=y.filter(e=>He(e,l,h)),T=new Map;Re(T,this.driver,C,h,s.a).forEach(e=>{He(e,l,h)&&k.push(e)});const S=new Map;g.forEach((e,t)=>{Re(S,this.driver,new Set(e),l,s.l)}),k.forEach(e=>{const t=T.get(e),n=S.get(e);T.set(e,Object.assign(Object.assign({},t),n))});const x=[],A=[],j={};i.forEach(e=>{const{element:t,player:s,instruction:i}=e;if(n.has(t)){if(u.has(t))return s.onDestroy(()=>D(t,i.toStyles)),s.disabled=!0,s.overrideTotalTime(i.totalTime),void o.push(s);let e=j;if(E.size>1){let n=t;const o=[];for(;n=n.parentNode;){const t=E.get(n);if(t){e=t;break}o.push(n)}o.forEach(t=>E.set(t,e))}const n=this._buildAnimation(s.namespaceId,i,v,r,S,T);if(s.setRealPlayer(n),e===j)x.push(s);else{const t=this.playersByElement.get(e);t&&t.length&&(s.parentPlayer=a(t)),o.push(s)}}else N(t,i.fromStyles),s.onDestroy(()=>D(t,i.toStyles)),A.push(s),u.has(t)&&o.push(s)}),A.forEach(e=>{const t=r.get(e.element);if(t&&t.length){const n=a(t);e.setRealPlayer(n)}}),o.forEach(e=>{e.parentPlayer?e.syncPlayerEvents(e.parentPlayer):e.destroy()});for(let s=0;s<y.length;s++){const e=y[s],t=e.__ng_removed;if(Be(e,"ng-leave"),t&&t.hasAnimation)continue;let n=[];if(c.size){let t=c.get(e);t&&t.length&&n.push(...t);let o=this.driver.query(e,".ng-animating",!0);for(let e=0;e<o.length;e++){let t=c.get(o[e]);t&&t.length&&n.push(...t)}}const o=n.filter(e=>!e.destroyed);o.length?Fe(this,e,o):this.processLeaveNode(e)}return y.length=0,x.forEach(e=>{this.players.push(e),e.onDone(()=>{e.destroy();const t=this.players.indexOf(e);this.players.splice(t,1)}),e.play()}),x}elementContainsData(e,t){let n=!1;const o=t.__ng_removed;return o&&o.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}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,n,o,r){let s=[];if(t){const t=this.playersByQueriedElement.get(e);t&&(s=t)}else{const t=this.playersByElement.get(e);if(t){const e=!r||"void"==r;t.forEach(t=>{t.queued||(e||t.triggerName==o)&&s.push(t)})}}return(n||o)&&(s=s.filter(e=>!(n&&n!=e.namespaceId||o&&o!=e.triggerName))),s}_beforeAnimationBuild(e,t,n){const o=t.element,r=t.isRemovalTransition?void 0:e,s=t.isRemovalTransition?void 0:t.triggerName;for(const i of t.timelines){const e=i.element,a=e!==o,c=d(n,e,[]);this._getPreviousPlayers(e,a,r,s,t.toState).forEach(e=>{const t=e.getRealPlayer();t.beforeDestroy&&t.beforeDestroy(),e.destroy(),c.push(e)})}N(o,t.fromStyles)}_buildAnimation(e,t,n,o,r,i){const l=t.triggerName,h=t.element,u=[],p=new Set,m=new Set,g=t.timelines.map(t=>{const a=t.element;p.add(a);const d=a.__ng_removed;if(d&&d.removedBeforeQueried)return new s.d(t.duration,t.delay);const g=a!==h,f=function(e){const t=[];return function e(t,n){for(let o=0;o<t.length;o++){const r=t[o];r instanceof s.k?e(r.players,n):n.push(r)}}(e,t),t}((n.get(a)||Ee).map(e=>e.getRealPlayer())).filter(e=>!!e.element&&e.element===a),b=r.get(a),y=i.get(a),_=c(0,this._normalizer,0,t.keyframes,b,y),C=this._buildPlayer(t,_,f);if(t.subTimeline&&o&&m.add(a),g){const t=new Ie(e,l,a);t.setRealPlayer(C),u.push(t)}return C});u.forEach(e=>{d(this.playersByQueriedElement,e.element,[]).push(e),e.onDone(()=>function(e,t,n){let o;if(e instanceof Map){if(o=e.get(t),o){if(o.length){const e=o.indexOf(n);o.splice(e,1)}0==o.length&&e.delete(t)}}else if(o=e[t],o){if(o.length){const e=o.indexOf(n);o.splice(e,1)}0==o.length&&delete e[t]}return o}(this.playersByQueriedElement,e.element,e))}),p.forEach(e=>Le(e,"ng-animating"));const f=a(g);return f.onDestroy(()=>{p.forEach(e=>Be(e,"ng-animating")),D(h,t.toStyles)}),m.forEach(e=>{d(o,e,[]).push(f)}),f}_buildPlayer(e,t,n){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,n):new s.d(e.duration,e.delay)}}class Ie{constructor(e,t,n){this.namespaceId=e,this.triggerName=t,this.element=n,this._player=new s.d,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,Object.keys(this._queuedCallbacks).forEach(t=>{this._queuedCallbacks[t].forEach(n=>l(e,t,void 0,n))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){const t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){d(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){const t=this._player;t.triggerCallback&&t.triggerCallback(e)}}function De(e){return e&&1===e.nodeType}function Ne(e,t){const n=e.style.display;return e.style.display=null!=t?t:"none",n}function Re(e,t,n,o,r){const s=[];n.forEach(e=>s.push(Ne(e)));const i=[];o.forEach((n,o)=>{const s={};n.forEach(e=>{const n=s[e]=t.computeStyle(o,e,r);n&&0!=n.length||(o.__ng_removed=Te,i.push(o))}),e.set(o,s)});let a=0;return n.forEach(e=>Ne(e,s[a++])),i}function Ue(e,t){const n=new Map;if(e.forEach(e=>n.set(e,[])),0==t.length)return n;const o=new Set(t),r=new Map;return t.forEach(e=>{const t=function e(t){if(!t)return 1;let s=r.get(t);if(s)return s;const i=t.parentNode;return s=n.has(i)?i:o.has(i)?1:e(i),r.set(t,s),s}(e);1!==t&&n.get(t).push(e)}),n}function Le(e,t){if(e.classList)e.classList.add(t);else{let n=e.$$classes;n||(n=e.$$classes={}),n[t]=!0}}function Be(e,t){if(e.classList)e.classList.remove(t);else{let n=e.$$classes;n&&delete n[t]}}function Fe(e,t,n){a(n).onDone(()=>e.processLeaveNode(t))}function He(e,t,n){const o=n.get(e);if(!o)return!1;let r=t.get(e);return r?o.forEach(e=>r.add(e)):t.set(e,o),n.delete(e),!0}class ze{constructor(e,t,n){this.bodyNode=e,this._driver=t,this._triggerCache={},this.onRemovalComplete=(e,t)=>{},this._transitionEngine=new je(e,t,n),this._timelineEngine=new ve(e,t,n),this._transitionEngine.onRemovalComplete=(e,t)=>this.onRemovalComplete(e,t)}registerTrigger(e,t,n,o,r){const s=e+"-"+o;let i=this._triggerCache[s];if(!i){const e=[],t=Z(this._driver,r,e);if(e.length)throw new Error(`The animation trigger "${o}" has failed to build due to the following errors:\n - ${e.join("\n - ")}`);i=function(e,t){return new Pe(e,t)}(o,t),this._triggerCache[s]=i}this._transitionEngine.registerTrigger(t,o,i)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,n,o){this._transitionEngine.insertNode(e,t,n,o)}onRemove(e,t,n,o){this._transitionEngine.removeNode(e,t,o||!1,n)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,n,o){if("@"==n.charAt(0)){const[e,r]=p(n);this._timelineEngine.command(e,t,r,o)}else this._transitionEngine.trigger(e,t,n,o)}listen(e,t,n,o,r){if("@"==n.charAt(0)){const[e,o]=p(n);return this._timelineEngine.listen(e,t,o,r)}return this._transitionEngine.listen(e,t,n,o,r)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function $e(e,t){let n=null,o=null;return Array.isArray(t)&&t.length?(n=Ge(t[0]),t.length>1&&(o=Ge(t[t.length-1]))):t&&(n=Ge(t)),n||o?new Ve(e,n,o):null}let Ve=(()=>{class e{constructor(t,n,o){this._element=t,this._startStyles=n,this._endStyles=o,this._state=0;let r=e.initialStylesByElement.get(t);r||e.initialStylesByElement.set(t,r={}),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&D(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(D(this._element,this._initialStyles),this._endStyles&&(D(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(e.initialStylesByElement.delete(this._element),this._startStyles&&(N(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(N(this._element,this._endStyles),this._endStyles=null),D(this._element,this._initialStyles),this._state=3)}}return e.initialStylesByElement=new WeakMap,e})();function Ge(e){let t=null;const n=Object.keys(e);for(let o=0;o<n.length;o++){const r=n[o];Ke(r)&&(t=t||{},t[r]=e[r])}return t}function Ke(e){return"display"===e||"position"===e}class qe{constructor(e,t,n,o,r,s,i){this._element=e,this._name=t,this._duration=n,this._delay=o,this._easing=r,this._fillMode=s,this._onDoneFn=i,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=e=>this._handleCallback(e)}apply(){!function(e,t){const n=Je(e,"").trim();n.length&&(function(e,t){let n=0;for(let o=0;o<e.length;o++)","===e.charAt(o)&&n++}(n),t=`${n}, ${t}`),Ze(e,"",t)}(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),Xe(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){Ye(this._element,this._name,"paused")}resume(){Ye(this._element,this._name,"running")}setPosition(e){const t=Qe(this._element,this._name);this._position=e*this._duration,Ze(this._element,"Delay",`-${this._position}ms`,t)}getPosition(){return this._position}_handleCallback(e){const 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()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),Xe(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(e,t){const n=Je(e,"").split(","),o=We(n,t);o>=0&&(n.splice(o,1),Ze(e,"",n.join(",")))}(this._element,this._name))}}function Ye(e,t,n){Ze(e,"PlayState",n,Qe(e,t))}function Qe(e,t){const n=Je(e,"");return n.indexOf(",")>0?We(n.split(","),t):We([n],t)}function We(e,t){for(let n=0;n<e.length;n++)if(e[n].indexOf(t)>=0)return n;return-1}function Xe(e,t,n){n?e.removeEventListener("animationend",t):e.addEventListener("animationend",t)}function Ze(e,t,n,o){const r="animation"+t;if(null!=o){const t=e.style[r];if(t.length){const e=t.split(",");e[o]=n,n=e.join(",")}}e.style[r]=n}function Je(e,t){return e.style["animation"+t]}class et{constructor(e,t,n,o,r,s,i,a){this.element=e,this.keyframes=t,this.animationName=n,this._duration=o,this._delay=r,this._finalStyles=i,this._specialStyles=a,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this.currentSnapshot={},this._state=0,this.easing=s||"linear",this.totalTime=o+r,this._buildStyler()}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}destroy(){this.init(),this._state>=4||(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(e=>e()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(e=>e()),this._onStartFns=[]}finish(){this.init(),this._state>=3||(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(e){this._styler.setPosition(e)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new qe(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}beforeDestroy(){this.init();const e={};if(this.hasStarted()){const t=this._state>=3;Object.keys(this._finalStyles).forEach(n=>{"offset"!=n&&(e[n]=t?this._finalStyles[n]:K(this.element,n))})}this.currentSnapshot=e}}class tt extends s.d{constructor(e,t){super(),this.element=e,this._startingStyles={},this.__initialized=!1,this._styles=M(t)}init(){!this.__initialized&&this._startingStyles&&(this.__initialized=!0,Object.keys(this._styles).forEach(e=>{this._startingStyles[e]=this.element.style[e]}),super.init())}play(){this._startingStyles&&(this.init(),Object.keys(this._styles).forEach(e=>this.element.style.setProperty(e,this._styles[e])),super.play())}destroy(){this._startingStyles&&(Object.keys(this._startingStyles).forEach(e=>{const t=this._startingStyles[e];t?this.element.style.setProperty(e,t):this.element.style.removeProperty(e)}),this._startingStyles=null,super.destroy())}}class nt{constructor(){this._count=0,this._head=document.querySelector("head"),this._warningIssued=!1}validateStyleProperty(e){return C(e)}matchesElement(e,t){return O(e,t)}containsElement(e,t){return P(e,t)}query(e,t,n){return w(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}buildKeyframeElement(e,t,n){n=n.map(e=>M(e));let o=`@keyframes ${t} {\n`,r="";n.forEach(e=>{r=" ";const t=parseFloat(e.offset);o+=`${r}${100*t}% {\n`,r+=" ",Object.keys(e).forEach(t=>{const n=e[t];switch(t){case"offset":return;case"easing":return void(n&&(o+=`${r}animation-timing-function: ${n};\n`));default:return void(o+=`${r}${t}: ${n};\n`)}}),o+=r+"}\n"}),o+="}\n";const s=document.createElement("style");return s.innerHTML=o,s}animate(e,t,n,o,r,s=[],i){i&&this._notifyFaultyScrubber();const a=s.filter(e=>e instanceof et),c={};$(n,o)&&a.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const l=function(e){let t={};return e&&(Array.isArray(e)?e:[e]).forEach(e=>{Object.keys(e).forEach(n=>{"offset"!=n&&"easing"!=n&&(t[n]=e[n])})}),t}(t=V(e,t,c));if(0==n)return new tt(e,l);const h="gen_css_kf_"+this._count++,u=this.buildKeyframeElement(e,h,t);document.querySelector("head").appendChild(u);const d=$e(e,t),p=new et(e,t,h,n,o,r,l,d);return p.onDestroy(()=>{var e;(e=u).parentNode.removeChild(e)}),p}_notifyFaultyScrubber(){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)}}class ot{constructor(e,t,n,o){this.element=e,this.keyframes=t,this.options=n,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=n.duration,this._delay=n.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(e,t,n){return e.animate(t,n)}onStart(e){this._onStartFns.push(e)}onDone(e){this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer.currentTime=e*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const e={};this.hasStarted()&&Object.keys(this._finalKeyframe).forEach(t=>{"offset"!=t&&(e[t]=this._finished?this._finalKeyframe[t]:K(this.element,t))}),this.currentSnapshot=e}triggerCallback(e){const t="start"==e?this._onStartFns:this._onDoneFns;t.forEach(e=>e()),t.length=0}}class rt{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(st().toString()),this._cssKeyframesDriver=new nt}validateStyleProperty(e){return C(e)}matchesElement(e,t){return O(e,t)}containsElement(e,t){return P(e,t)}query(e,t,n){return w(e,t,n)}computeStyle(e,t,n){return window.getComputedStyle(e)[t]}overrideWebAnimationsSupport(e){this._isNativeImpl=e}animate(e,t,n,o,r,s=[],i){if(!i&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(e,t,n,o,r,s);const a={duration:n,delay:o,fill:0==o?"both":"forwards"};r&&(a.easing=r);const c={},l=s.filter(e=>e instanceof ot);$(n,o)&&l.forEach(e=>{let t=e.currentSnapshot;Object.keys(t).forEach(e=>c[e]=t[e])});const h=$e(e,t=V(e,t=t.map(e=>A(e,!1)),c));return new ot(e,t,a,h)}}function st(){return"undefined"!=typeof window&&void 0!==window.document&&Element.prototype.animate||{}}var it=n("ofXK");let at=(()=>{class e extends s.b{constructor(e,t){super(),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:o.O.None,styles:[],data:{animation:[]}})}build(e){const t=this._nextAnimationId.toString();this._nextAnimationId++;const n=Array.isArray(e)?Object(s.f)(e):e;return ht(this._renderer,null,t,"register",[n]),new ct(t,this._renderer)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(o.E),o.Ub(it.c))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();class ct extends s.c{constructor(e,t){super(),this._id=e,this._renderer=t}create(e,t){return new lt(this._id,e,t||{},this._renderer)}}class lt{constructor(e,t,n,o){this.id=e,this.element=t,this._renderer=o,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",n)}_listen(e,t){return this._renderer.listen(this.element,`@@${this.id}:${e}`,t)}_command(e,...t){return ht(this._renderer,this.element,this.id,e,t)}onDone(e){this._listen("done",e)}onStart(e){this._listen("start",e)}onDestroy(e){this._listen("destroy",e)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset")}setPosition(e){this._command("setPosition",e)}getPosition(){return 0}}function ht(e,t,n,o,r){return e.setProperty(t,`@@${n}:${o}`,r)}let ut=(()=>{class e{constructor(e,t,n){this.delegate=e,this.engine=t,this._zone=n,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),t.onRemovalComplete=(e,t)=>{t&&t.parentNode(e)&&t.removeChild(e.parentNode,e)}}createRenderer(e,t){const n=this.delegate.createRenderer(e,t);if(!(e&&t&&t.data&&t.data.animation)){let e=this._rendererCache.get(n);return e||(e=new dt("",n,this.engine),this._rendererCache.set(n,e)),e}const o=t.id,r=t.id+"-"+this._currentId;this._currentId++,this.engine.register(r,e);const s=t=>{Array.isArray(t)?t.forEach(s):this.engine.registerTrigger(o,r,e,t.name,t)};return t.data.animation.forEach(s),new pt(this,r,n,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,n){e>=0&&e<this._microtaskId?this._zone.run(()=>t(n)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(e=>{const[t,n]=e;t(n)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([t,n]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(o.E),o.Ub(ze),o.Ub(o.z))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();class dt{constructor(e,t,n){this.namespaceId=e,this.delegate=t,this.engine=n,this.destroyNode=this.delegate.destroyNode?e=>t.destroyNode(e):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,n){this.delegate.insertBefore(e,t,n),this.engine.onInsert(this.namespaceId,t,e,!0)}removeChild(e,t,n){this.engine.onRemove(this.namespaceId,t,this.delegate,n)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,n,o){this.delegate.setAttribute(e,t,n,o)}removeAttribute(e,t,n){this.delegate.removeAttribute(e,t,n)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,n,o){this.delegate.setStyle(e,t,n,o)}removeStyle(e,t,n){this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){"@"==t.charAt(0)&&"@.disabled"==t?this.disableAnimations(e,!!n):this.delegate.setProperty(e,t,n)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,n){return this.delegate.listen(e,t,n)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}}class pt extends dt{constructor(e,t,n,o){super(t,n,o),this.factory=e,this.namespaceId=t}setProperty(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)}listen(e,t,n){if("@"==t.charAt(0)){const o=function(e){switch(e){case"body":return document.body;case"document":return document;case"window":return window;default:return e}}(e);let r=t.substr(1),s="";return"@"!=r.charAt(0)&&([r,s]=function(e){const t=e.indexOf(".");return[e.substring(0,t),e.substr(t+1)]}(r)),this.engine.listen(this.namespaceId,o,r,s,e=>{this.factory.scheduleListenerCallback(e._data||-1,n,e)})}return this.delegate.listen(e,t,n)}}let mt=(()=>{class e extends ze{constructor(e,t,n){super(e.body,t,n)}}return e.\u0275fac=function(t){return new(t||e)(o.Ub(it.c),o.Ub(E),o.Ub(ge))},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const gt=[{provide:E,useFactory:function(){return"function"==typeof st()?new rt:new nt}},{provide:new o.q("AnimationModuleType"),useValue:"BrowserAnimations"},{provide:s.b,useClass:at},{provide:ge,useFactory:function(){return new fe}},{provide:ze,useClass:mt},{provide:o.E,useFactory:function(e,t,n){return new ut(e,t,n)},deps:[r.f,ze,o.z]}];let ft=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:gt,imports:[r.a]}),e})();var bt=n("3Pt+"),yt=n("tk/3"),_t=n("hi8z"),Ct=n("zCZe"),Ot=n("RPfa"),Pt=n("k4C/"),wt=n("2opj"),Mt=n("Ovbl"),vt=n("tyNb");const Et=[{path:"hydra",loadChildren:()=>n.e(9).then(n.bind(null,"WHFK")).then(e=>e.HydraModule)},{path:"",pathMatch:"full",redirectTo:"hydra"}];let kt=(()=>{class e{}return e.\u0275mod=o.Jb({type:e}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[],imports:[[Ot.j,Mt.c,vt.i.forRoot(Et,{enableTracing:!1,scrollPositionRestoration:"enabled"})],vt.i]}),e})(),Tt=(()=>{class e extends _t.a{constructor(){super()}ngOnInit(){super.ngOnInit()}ngAfterViewInit(){super.ngAfterViewInit()}ngOnDestroy(){super.ngOnDestroy()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Fb({type:e,selectors:[["app-root"]],features:[o.wb],decls:1,vars:0,template:function(e,t){1&e&&o.Mb(0,"router-outlet")},directives:[vt.j],styles:[""]}),e})();var St=n("PCNd");let xt=(()=>{class e extends r.d{constructor(){super(...arguments),this.overrides={swipe:{direction:31},pan:{direction:30},press:{time:600}}}}return e.\u0275fac=function(t){return At(t||e)},e.\u0275prov=o.Hb({token:e,factory:e.\u0275fac}),e})();const At=o.Sb(xt);let jt=(()=>{class e{}return e.\u0275mod=o.Jb({type:e,bootstrap:[Tt]}),e.\u0275inj=o.Ib({factory:function(t){return new(t||e)},providers:[{provide:r.c,useClass:xt}],imports:[[r.a,ft,yt.b,bt.b,_t.e.forRoot(),Ct.d.forRoot(),Ot.j.forRoot(),Pt.l.forRoot(),wt.n.forRoot(),Mt.c.forRoot(),St.a.forRoot(),kt]]}),e})();Object(o.R)(),r.e().bootstrapModule(jt).catch(e=>console.log(e))},znQF:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n("i5Gp");class r{static fillIntRange(e,t){const n=[];for(let o=e;o<=t;o++)n.push(o);return n}static symmetricFloor(e){return e<0?Math.ceil(e):Math.floor(e)}static symmetricCeil(e){return e<0?Math.floor(e):Math.ceil(e)}static fixedDigitRange(e,t,n){const o=n||Math.floor(Math.log10(t)),r=[];for(let s=e;s<=t;s++){let e=s.toString();for(;e.length<o;)e="0"+e;r.push(e)}return r}static randRange(e,t,n=!1){if(e===t)return e;const o=t-e+(n?1:0);return e+Math.floor(Math.random()*o)}static longRandom(e){let t=r.randRange(1,10).toString();for(;t.length<e;)t+=r.randRange(0,10).toString();return t}static hertz(e){return 1e3/e}static sort(e){return e.sort((e,t)=>e-t)}static percentile(e,t){if(0===e.length)return;if(t<0||t>1)throw new Error("Invalid percentile");const n=r.sort(e.slice());return 0===t?n[0]:1===t?n[e.length-1]:n[Math.round((e.length-1)*t)]}static quartile(e,t){if(0!==e.length){if(![1,2,3].includes(t))throw new Error("Invalid quartile");return r.percentile(e,t/4)}}static average(e){if(0===e.length)return;let t=0;for(const n of e)t+=n;return t/e.length}static quartileAverage(e){if(0===e.length)return;const t=r.quartile(e,1),n=r.quartile(e,2),o=r.quartile(e,3);return void 0!==t&&void 0!==n&&void 0!==o?r.average([t,n,o]):void 0}static mean(e){return r.average(e)}static modes(e){if(0===e.length)return[];const t=new Map;for(const s of e)t.has(s)?t.set(s,t.get(s)+1):t.set(s,1);let n,o;for(const s of e){const e=t.get(s);(void 0===n||e>n)&&(n=e),(void 0===o||e<o)&&(o=e)}if(n===o)return[];const r=[];for(const s of e)t.get(s)===n&&r.push(s);return r}static median(e){if(0!==e.length)return r.quartile(e,2)}static trimDecimalZeros(e){let t=e.toString();return-1===t.indexOf(".")||(t=o.CommonsString.rtrim(t,"0"),"."===t.substr(t.length-1,1)&&(t=o.CommonsString.rtrim(t,"."))),t}static prettyFigure(e,t=!1){return e<1?r.trimDecimalZeros(e.toPrecision(3)):e<10||e<100||e<1e3?r.trimDecimalZeros(e.toPrecision(4)):(e=Math.round(e))<1e3?e.toString():t||e<1e4?e.toLocaleString():e<1e6?parseFloat((e/1e3).toPrecision(3))+"K":parseFloat((e/1e6).toPrecision(2))+"M"}static prettyFileSize(e,t=!1){const n=t?1024:1e3;if(e<Math.pow(n,1))return e.toString();if(e<10*Math.pow(n,1))return e.toLocaleString();let o=2;for(const r of"KMGTPEZY".split("")){if(e<Math.pow(n,o))return`${parseFloat((e/Math.pow(n,o-1)).toPrecision(3))}${r}`;o++}return"Oversize"}static prettyPercent(e,t=!1){let n=100*e;if(t)return n=Math.round(n),n+"%";if(100===n)return"100%";if(n>100)return Math.round(n)+"%";const o=n.toPrecision(2);return/[0-9]e\+/.test(o)?r.prettyPercent(e,!0):r.trimDecimalZeros(o)+"%"}static asDuration(e,t,n,r=!1){return`${(e=Math.round(e)).toLocaleString()}${r?"":" "}${r?n:o.CommonsString.pluralise(t,e,!0)}`}static prettyDuration(e,t=!1){if(isNaN(e))return"NaN";if(e<500)return r.asDuration(e,"millisecond","ms",t);if(e<1e3)return r.asDuration(e/1e3,"second","s",t);const n=e/1e3;if(n<=60)return r.asDuration(n,"second","s",t);const o=e/6e4;if(o<=60)return r.asDuration(o,"minute","mins",t);const s=e/36e5;return s<=24?r.asDuration(s,"hour","hrs",t):r.asDuration(e/864e5,"day","days",t)}static ordinalUnit(e){if(isNaN(e)||e!==Math.floor(e))throw new Error("Cannot compute ordinal unit for invalid integer");const t=e.toString();if(1===t.length)switch(t){case"1":return"st";case"2":return"nd";case"3":return"rd";default:return"th"}const n=t.substr(t.length-2);return"1"===n[0]?"th":r.ordinalUnit(parseInt(n[1],10))}static prettyOrdinal(e){return`${(e=r.symmetricFloor(e)).toLocaleString()}${r.ordinalUnit(Math.abs(e))}`}static sampleIndices(e,t,n,o=!1){if(0===e)return[];if(n>e&&!o)return[];if(t<1)throw new Error("Minimum of 2 samples required");if(n<1)throw new Error("Minimum of block size 1 required");let r=Math.floor(e/t);r<n&&(r=n);const s=[];let i=0;for(;s.push(i),i+=r,!(i+n>e););return s}static roughFactor(e,t){if(0===t)throw new Error("Cannot factor into zero");if(e<t)return[e];const n=Math.round(e/t),o=n*t,r=[];for(let i=n;i-- >0;)r.push(t);if(e===o)return r;let s=e;if(e<o){let t=r.length-1;for(;s-- >0;){let n=0;for(const e of r)n+=e;if(n===e)break;r[t]--,t--,t<0&&(t=r.length-1)}}else{let t=0;for(;s-- >0;){let n=0;for(const e of r)n+=e;if(n===e)break;r[t]++,t++,t===r.length&&(t=0)}}if(s<0)throw new Error("TTL expired during attempt roughtFactor");return r}}t.CommonsNumber=r}},[[0,0]]]);