@daffodil/design 0.39.5 → 0.39.9

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 (281) hide show
  1. package/README.md +62 -34
  2. package/accordion/examples/daffodil-design-accordion-examples.metadata.json +1 -1
  3. package/article/examples/daffodil-design-article-examples.metadata.json +1 -1
  4. package/bundles/daffodil-design-accordion-examples.umd.js +4 -2
  5. package/bundles/daffodil-design-accordion-examples.umd.js.map +1 -1
  6. package/bundles/daffodil-design-accordion-examples.umd.min.js +1 -1
  7. package/bundles/daffodil-design-accordion-examples.umd.min.js.map +1 -1
  8. package/bundles/daffodil-design-article-examples.umd.js +22 -11
  9. package/bundles/daffodil-design-article-examples.umd.js.map +1 -1
  10. package/bundles/daffodil-design-article-examples.umd.min.js +1 -1
  11. package/bundles/daffodil-design-article-examples.umd.min.js.map +1 -1
  12. package/bundles/daffodil-design-button-examples.umd.js +7 -0
  13. package/bundles/daffodil-design-button-examples.umd.js.map +1 -1
  14. package/bundles/daffodil-design-button-examples.umd.min.js +1 -1
  15. package/bundles/daffodil-design-button-examples.umd.min.js.map +1 -1
  16. package/bundles/daffodil-design-callout-examples.umd.js +60 -9
  17. package/bundles/daffodil-design-callout-examples.umd.js.map +1 -1
  18. package/bundles/daffodil-design-callout-examples.umd.min.js +1 -1
  19. package/bundles/daffodil-design-callout-examples.umd.min.js.map +1 -1
  20. package/bundles/daffodil-design-card-examples.umd.js +156 -14
  21. package/bundles/daffodil-design-card-examples.umd.js.map +1 -1
  22. package/bundles/daffodil-design-card-examples.umd.min.js +1 -1
  23. package/bundles/daffodil-design-card-examples.umd.min.js.map +1 -1
  24. package/bundles/daffodil-design-checkbox-examples.umd.js +4 -2
  25. package/bundles/daffodil-design-checkbox-examples.umd.js.map +1 -1
  26. package/bundles/daffodil-design-checkbox-examples.umd.min.js +1 -1
  27. package/bundles/daffodil-design-checkbox-examples.umd.min.js.map +1 -1
  28. package/bundles/daffodil-design-container-examples.umd.js +65 -0
  29. package/bundles/daffodil-design-container-examples.umd.js.map +1 -0
  30. package/bundles/daffodil-design-container-examples.umd.min.js +2 -0
  31. package/bundles/daffodil-design-container-examples.umd.min.js.map +1 -0
  32. package/bundles/daffodil-design-hero-examples.umd.js +63 -8
  33. package/bundles/daffodil-design-hero-examples.umd.js.map +1 -1
  34. package/bundles/daffodil-design-hero-examples.umd.min.js +1 -1
  35. package/bundles/daffodil-design-hero-examples.umd.min.js.map +1 -1
  36. package/bundles/daffodil-design-list-examples.umd.js +8 -4
  37. package/bundles/daffodil-design-list-examples.umd.js.map +1 -1
  38. package/bundles/daffodil-design-list-examples.umd.min.js +1 -1
  39. package/bundles/daffodil-design-list-examples.umd.min.js.map +1 -1
  40. package/bundles/daffodil-design-loading-icon-examples.umd.js +4 -2
  41. package/bundles/daffodil-design-loading-icon-examples.umd.js.map +1 -1
  42. package/bundles/daffodil-design-loading-icon-examples.umd.min.js +1 -1
  43. package/bundles/daffodil-design-loading-icon-examples.umd.min.js.map +1 -1
  44. package/bundles/daffodil-design-media-gallery-examples.umd.js +4 -2
  45. package/bundles/daffodil-design-media-gallery-examples.umd.js.map +1 -1
  46. package/bundles/daffodil-design-media-gallery-examples.umd.min.js +1 -1
  47. package/bundles/daffodil-design-media-gallery-examples.umd.min.js.map +1 -1
  48. package/bundles/daffodil-design-modal-examples.umd.js +4 -2
  49. package/bundles/daffodil-design-modal-examples.umd.js.map +1 -1
  50. package/bundles/daffodil-design-modal-examples.umd.min.js +1 -1
  51. package/bundles/daffodil-design-modal-examples.umd.min.js.map +1 -1
  52. package/bundles/daffodil-design-quantity-field-examples.umd.js +4 -0
  53. package/bundles/daffodil-design-quantity-field-examples.umd.js.map +1 -1
  54. package/bundles/daffodil-design-quantity-field-examples.umd.min.js +1 -1
  55. package/bundles/daffodil-design-quantity-field-examples.umd.min.js.map +1 -1
  56. package/bundles/daffodil-design-radio-examples.umd.js +2 -1
  57. package/bundles/daffodil-design-radio-examples.umd.js.map +1 -1
  58. package/bundles/daffodil-design-radio-examples.umd.min.js +1 -1
  59. package/bundles/daffodil-design-radio-examples.umd.min.js.map +1 -1
  60. package/bundles/daffodil-design.umd.js +397 -98
  61. package/bundles/daffodil-design.umd.js.map +1 -1
  62. package/bundles/daffodil-design.umd.min.js +2 -2
  63. package/bundles/daffodil-design.umd.min.js.map +1 -1
  64. package/button/examples/daffodil-design-button-examples.metadata.json +1 -1
  65. package/callout/examples/callout-text-alignment/callout-text-alignment.component.d.ts +1 -0
  66. package/callout/examples/callout-theming/callout-theming.component.d.ts +1 -0
  67. package/callout/examples/callout-with-grid/callout-with-grid.component.d.ts +1 -0
  68. package/callout/examples/compact-callout/compact-callout.component.d.ts +3 -0
  69. package/callout/examples/compact-callout/compact-callout.module.d.ts +2 -0
  70. package/callout/examples/daffodil-design-callout-examples.metadata.json +1 -1
  71. package/callout/examples/public_api.d.ts +2 -0
  72. package/card/examples/basic-card/basic-card.component.d.ts +1 -0
  73. package/card/examples/card-orientation/card-orientation.component.d.ts +9 -0
  74. package/card/examples/card-orientation/card-orientation.module.d.ts +2 -0
  75. package/card/examples/card-theming/card-theming.component.d.ts +4 -2
  76. package/card/examples/daffodil-design-card-examples.d.ts +2 -0
  77. package/card/examples/daffodil-design-card-examples.metadata.json +1 -1
  78. package/card/examples/linkable-card/linkable-card.component.d.ts +8 -0
  79. package/card/examples/public_api.d.ts +5 -1
  80. package/card/examples/raised-card/raised-card.component.d.ts +6 -0
  81. package/card/examples/stroked-card/stroked-card.component.d.ts +8 -0
  82. package/card/examples/stroked-card/stroked-card.module.d.ts +2 -0
  83. package/checkbox/examples/daffodil-design-checkbox-examples.metadata.json +1 -1
  84. package/container/examples/container-sizes/container-sizes.component.d.ts +8 -0
  85. package/container/examples/container-sizes/container-sizes.module.d.ts +2 -0
  86. package/container/examples/daffodil-design-container-examples.d.ts +4 -0
  87. package/container/examples/daffodil-design-container-examples.metadata.json +1 -0
  88. package/container/examples/examples.d.ts +2 -0
  89. package/container/examples/index.d.ts +1 -0
  90. package/container/examples/package.json +11 -0
  91. package/container/examples/public_api.d.ts +3 -0
  92. package/core/compactable/compactable-mixin.d.ts +14 -0
  93. package/core/compactable/compactable.d.ts +7 -0
  94. package/core/compactable/public_api.d.ts +2 -0
  95. package/core/manage-container-layout/manage-container-layout-mixin.d.ts +17 -0
  96. package/core/manage-container-layout/public_api.d.ts +1 -0
  97. package/core/public_api.d.ts +2 -0
  98. package/daff-theme.scss +190 -27
  99. package/daff-typography.scss +5 -4
  100. package/daff-util.scss +5 -4
  101. package/daffodil-design.metadata.json +1 -1
  102. package/esm2015/accordion/examples/basic-accordion/basic-accordion.component.js +4 -3
  103. package/esm2015/accordion/examples/nav-accordion/nav-accordion.component.js +4 -3
  104. package/esm2015/article/examples/article-blockquote/article-blockquote.component.js +4 -3
  105. package/esm2015/article/examples/article-code-block/article-code-block.component.js +4 -3
  106. package/esm2015/article/examples/article-code-inline/article-code-inline.component.js +4 -3
  107. package/esm2015/article/examples/article-headings/article-headings.component.js +4 -3
  108. package/esm2015/article/examples/article-hr/article-hr.component.js +4 -3
  109. package/esm2015/article/examples/article-lead/article-lead.component.js +4 -3
  110. package/esm2015/article/examples/article-link/article-link.component.js +4 -3
  111. package/esm2015/article/examples/article-meta/article-meta.component.js +4 -3
  112. package/esm2015/article/examples/article-ol/article-ol.component.js +4 -3
  113. package/esm2015/article/examples/article-table/article-table.component.js +4 -3
  114. package/esm2015/article/examples/article-ul/article-ul.component.js +4 -3
  115. package/esm2015/atoms/container/container.component.js +1 -1
  116. package/esm2015/atoms/form/form-field/form-field/form-field.component.js +3 -1
  117. package/esm2015/atoms/form/input/input.component.js +3 -2
  118. package/esm2015/atoms/form/select/select/select.component.js +3 -2
  119. package/esm2015/atoms/image/image.component.js +2 -2
  120. package/esm2015/button/examples/basic-button/basic-button.component.js +3 -2
  121. package/esm2015/button/examples/icon-button/icon-button.component.js +3 -2
  122. package/esm2015/button/examples/raised-button/raised-button.component.js +3 -2
  123. package/esm2015/button/examples/sizeable-button/sizeable-button.component.js +3 -2
  124. package/esm2015/button/examples/statusable-button/statusable-button.component.js +3 -2
  125. package/esm2015/button/examples/stroked-button/stroked-button.component.js +3 -2
  126. package/esm2015/button/examples/underline-button/underline-button.component.js +3 -2
  127. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.component.js +7 -3
  128. package/esm2015/callout/examples/callout-text-alignment/callout-text-alignment.module.js +5 -3
  129. package/esm2015/callout/examples/callout-theming/callout-theming.component.js +7 -3
  130. package/esm2015/callout/examples/callout-theming/callout-theming.module.js +5 -2
  131. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.component.js +9 -4
  132. package/esm2015/callout/examples/callout-with-grid/callout-with-grid.module.js +3 -1
  133. package/esm2015/callout/examples/compact-callout/compact-callout.component.js +17 -0
  134. package/esm2015/callout/examples/compact-callout/compact-callout.module.js +22 -0
  135. package/esm2015/callout/examples/examples.js +3 -1
  136. package/esm2015/callout/examples/public_api.js +3 -1
  137. package/esm2015/card/examples/basic-card/basic-card.component.js +9 -4
  138. package/esm2015/card/examples/basic-card/basic-card.module.js +3 -1
  139. package/esm2015/card/examples/card-orientation/card-orientation.component.js +24 -0
  140. package/esm2015/card/examples/card-orientation/card-orientation.module.js +27 -0
  141. package/esm2015/card/examples/card-theming/card-theming.component.js +15 -5
  142. package/esm2015/card/examples/daffodil-design-card-examples.js +3 -1
  143. package/esm2015/card/examples/linkable-card/linkable-card.component.js +21 -4
  144. package/esm2015/card/examples/linkable-card/linkable-card.module.js +3 -1
  145. package/esm2015/card/examples/public_api.js +7 -1
  146. package/esm2015/card/examples/raised-card/raised-card.component.js +19 -4
  147. package/esm2015/card/examples/raised-card/raised-card.module.js +3 -3
  148. package/esm2015/card/examples/stroked-card/stroked-card.component.js +27 -0
  149. package/esm2015/card/examples/stroked-card/stroked-card.module.js +27 -0
  150. package/esm2015/checkbox/examples/basic-checkbox/basic-checkbox.component.js +4 -3
  151. package/esm2015/checkbox/examples/checkbox-set/checkbox-set.component.js +4 -3
  152. package/esm2015/container/examples/container-sizes/container-sizes.component.js +23 -0
  153. package/esm2015/container/examples/container-sizes/container-sizes.module.js +23 -0
  154. package/esm2015/container/examples/daffodil-design-container-examples.js +5 -0
  155. package/esm2015/container/examples/examples.js +5 -0
  156. package/esm2015/container/examples/index.js +2 -0
  157. package/esm2015/container/examples/public_api.js +4 -0
  158. package/esm2015/core/compactable/compactable-mixin.js +26 -0
  159. package/esm2015/core/compactable/compactable.js +2 -0
  160. package/esm2015/core/compactable/public_api.js +2 -0
  161. package/esm2015/core/manage-container-layout/manage-container-layout-mixin.js +14 -0
  162. package/esm2015/core/manage-container-layout/public_api.js +2 -0
  163. package/esm2015/core/public_api.js +3 -1
  164. package/esm2015/hero/examples/compact-hero/compact-hero.component.js +17 -0
  165. package/esm2015/hero/examples/compact-hero/compact-hero.module.js +26 -0
  166. package/esm2015/hero/examples/examples.js +3 -1
  167. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.component.js +7 -3
  168. package/esm2015/hero/examples/hero-text-alignment/hero-text-alignment.module.js +5 -2
  169. package/esm2015/hero/examples/hero-theming/hero-theming.component.js +7 -3
  170. package/esm2015/hero/examples/hero-theming/hero-theming.module.js +5 -2
  171. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.component.js +9 -4
  172. package/esm2015/hero/examples/hero-with-grid/hero-with-grid.module.js +3 -1
  173. package/esm2015/hero/examples/public_api.js +3 -1
  174. package/esm2015/list/examples/basic-list/basic-list.component.js +4 -3
  175. package/esm2015/list/examples/icon-list/icon-list.component.js +4 -3
  176. package/esm2015/list/examples/multiline-list/multiline-list.component.js +4 -3
  177. package/esm2015/list/examples/nav-list/nav-list.component.js +4 -3
  178. package/esm2015/loading-icon/examples/loading-icon-color/loading-icon-color.component.js +4 -3
  179. package/esm2015/loading-icon/examples/loading-icon-diameter/loading-icon-diameter.component.js +4 -3
  180. package/esm2015/media-gallery/examples/basic-media-gallery/basic-media-gallery.component.js +4 -3
  181. package/esm2015/media-gallery/examples/mismatched-sizes-media-gallery/mismatched-sizes-media-gallery.component.js +4 -3
  182. package/esm2015/modal/examples/basic-modal/basic-modal.component.js +4 -3
  183. package/esm2015/modal/examples/basic-modal/modal-content.component.js +4 -3
  184. package/esm2015/molecules/accordion/accordion/accordion.component.js +3 -2
  185. package/esm2015/molecules/accordion/accordion-item/accordion-item.component.js +3 -2
  186. package/esm2015/molecules/accordion/nav-accordion-item/nav-accordion-item.component.js +3 -2
  187. package/esm2015/molecules/article/article/article.component.js +4 -3
  188. package/esm2015/molecules/button-set/button-set.component.js +3 -2
  189. package/esm2015/molecules/callout/callout/callout.component.js +10 -12
  190. package/esm2015/molecules/callout/callout-body/callout-body.directive.js +18 -0
  191. package/esm2015/molecules/callout/callout-icon/callout-icon.directive.js +18 -0
  192. package/esm2015/molecules/callout/callout.module.js +7 -1
  193. package/esm2015/molecules/callout/public_api.js +4 -2
  194. package/esm2015/molecules/card/card/card.component.js +76 -14
  195. package/esm2015/molecules/card/card-content/card-content.directive.js +18 -0
  196. package/esm2015/molecules/card/card-icon/card-icon.directive.js +18 -0
  197. package/esm2015/molecules/card/card.module.js +9 -3
  198. package/esm2015/molecules/card/public_api.js +4 -2
  199. package/esm2015/molecules/hero/hero/hero.component.js +12 -23
  200. package/esm2015/molecules/hero/hero-body/hero-body.directive.js +18 -0
  201. package/esm2015/molecules/hero/hero-icon/hero-icon.directive.js +18 -0
  202. package/esm2015/molecules/hero/hero.module.js +7 -1
  203. package/esm2015/molecules/hero/public_api.js +3 -1
  204. package/esm2015/molecules/image-gallery/gallery-image/gallery-image.component.js +7 -3
  205. package/esm2015/molecules/image-gallery/image-gallery/image-gallery.component.js +6 -2
  206. package/esm2015/molecules/image-list/image-list.component.js +3 -2
  207. package/esm2015/molecules/media-gallery/media-gallery.component.js +13 -3
  208. package/esm2015/molecules/media-gallery/registry/media-gallery.registry.js +22 -8
  209. package/esm2015/molecules/media-gallery/thumbnail/thumbnail.directive.js +2 -2
  210. package/esm2015/molecules/modal/modal-actions/modal-actions.component.js +3 -2
  211. package/esm2015/molecules/navbar/navbar.component.js +3 -2
  212. package/esm2015/molecules/qty-dropdown/qty-dropdown.component.js +6 -1
  213. package/esm2015/molecules/sidebar/sidebar/sidebar.component.js +3 -2
  214. package/esm2015/quantity-field/examples/basic/basic-quantity-field.component.js +3 -2
  215. package/esm2015/quantity-field/examples/customRange/custom-range-quantity-field.component.js +3 -2
  216. package/esm2015/quantity-field/examples/disabled/disabled-quantity-field.component.js +3 -2
  217. package/esm2015/quantity-field/examples/selectMax/select-max-quantity-field.component.js +3 -2
  218. package/esm2015/radio/examples/basic-radio/basic-radio.component.js +4 -3
  219. package/fesm2015/daffodil-design-accordion-examples.js +5 -3
  220. package/fesm2015/daffodil-design-accordion-examples.js.map +1 -1
  221. package/fesm2015/daffodil-design-article-examples.js +23 -12
  222. package/fesm2015/daffodil-design-article-examples.js.map +1 -1
  223. package/fesm2015/daffodil-design-button-examples.js +8 -1
  224. package/fesm2015/daffodil-design-button-examples.js.map +1 -1
  225. package/fesm2015/daffodil-design-callout-examples.js +57 -8
  226. package/fesm2015/daffodil-design-callout-examples.js.map +1 -1
  227. package/fesm2015/daffodil-design-card-examples.js +150 -12
  228. package/fesm2015/daffodil-design-card-examples.js.map +1 -1
  229. package/fesm2015/daffodil-design-checkbox-examples.js +5 -3
  230. package/fesm2015/daffodil-design-checkbox-examples.js.map +1 -1
  231. package/fesm2015/daffodil-design-container-examples.js +54 -0
  232. package/fesm2015/daffodil-design-container-examples.js.map +1 -0
  233. package/fesm2015/daffodil-design-hero-examples.js +60 -7
  234. package/fesm2015/daffodil-design-hero-examples.js.map +1 -1
  235. package/fesm2015/daffodil-design-list-examples.js +9 -5
  236. package/fesm2015/daffodil-design-list-examples.js.map +1 -1
  237. package/fesm2015/daffodil-design-loading-icon-examples.js +5 -3
  238. package/fesm2015/daffodil-design-loading-icon-examples.js.map +1 -1
  239. package/fesm2015/daffodil-design-media-gallery-examples.js +5 -3
  240. package/fesm2015/daffodil-design-media-gallery-examples.js.map +1 -1
  241. package/fesm2015/daffodil-design-modal-examples.js +5 -3
  242. package/fesm2015/daffodil-design-modal-examples.js.map +1 -1
  243. package/fesm2015/daffodil-design-quantity-field-examples.js +5 -1
  244. package/fesm2015/daffodil-design-quantity-field-examples.js.map +1 -1
  245. package/fesm2015/daffodil-design-radio-examples.js +3 -2
  246. package/fesm2015/daffodil-design-radio-examples.js.map +1 -1
  247. package/fesm2015/daffodil-design.js +342 -95
  248. package/fesm2015/daffodil-design.js.map +1 -1
  249. package/hero/examples/compact-hero/compact-hero.component.d.ts +3 -0
  250. package/hero/examples/compact-hero/compact-hero.module.d.ts +2 -0
  251. package/hero/examples/daffodil-design-hero-examples.metadata.json +1 -1
  252. package/hero/examples/hero-text-alignment/hero-text-alignment.component.d.ts +1 -0
  253. package/hero/examples/hero-theming/hero-theming.component.d.ts +1 -0
  254. package/hero/examples/hero-with-grid/hero-with-grid.component.d.ts +1 -0
  255. package/hero/examples/public_api.d.ts +2 -0
  256. package/list/examples/daffodil-design-list-examples.metadata.json +1 -1
  257. package/loading-icon/examples/daffodil-design-loading-icon-examples.metadata.json +1 -1
  258. package/media-gallery/examples/daffodil-design-media-gallery-examples.metadata.json +1 -1
  259. package/modal/examples/daffodil-design-modal-examples.metadata.json +1 -1
  260. package/molecules/callout/callout/callout.component.d.ts +32 -11
  261. package/molecules/callout/callout-body/callout-body.directive.d.ts +6 -0
  262. package/molecules/callout/callout-icon/callout-icon.directive.d.ts +6 -0
  263. package/molecules/callout/public_api.d.ts +3 -1
  264. package/molecules/card/card/card.component.d.ts +37 -11
  265. package/molecules/card/card-content/card-content.directive.d.ts +6 -0
  266. package/molecules/card/card-icon/card-icon.directive.d.ts +6 -0
  267. package/molecules/card/public_api.d.ts +3 -1
  268. package/molecules/hero/hero/hero.component.d.ts +35 -20
  269. package/molecules/hero/hero-body/hero-body.directive.d.ts +6 -0
  270. package/molecules/hero/hero-icon/hero-icon.directive.d.ts +6 -0
  271. package/molecules/hero/public_api.d.ts +2 -0
  272. package/molecules/image-gallery/gallery-image/gallery-image.component.d.ts +3 -0
  273. package/molecules/image-gallery/image-gallery/image-gallery.component.d.ts +3 -0
  274. package/molecules/media-gallery/media-gallery.component.d.ts +7 -2
  275. package/molecules/media-gallery/registry/media-gallery.registry.d.ts +6 -3
  276. package/molecules/media-gallery/thumbnail/thumbnail.directive.d.ts +1 -1
  277. package/molecules/navbar/navbar.component.d.ts +5 -0
  278. package/molecules/qty-dropdown/qty-dropdown.component.d.ts +3 -0
  279. package/package.json +1 -1
  280. package/quantity-field/examples/daffodil-design-quantity-field-examples.metadata.json +1 -1
  281. package/radio/examples/daffodil-design-radio-examples.metadata.json +1 -1
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@fortawesome/angular-fontawesome"),require("@fortawesome/free-solid-svg-icons"),require("@angular/platform-browser"),require("rxjs"),require("rxjs/operators"),require("@angular/forms"),require("@angular/cdk/coercion"),require("@angular/animations"),require("@angular/cdk/portal"),require("@angular/cdk/overlay"),require("@angular/cdk/a11y")):"function"==typeof define&&define.amd?define("@daffodil/design",["exports","@angular/core","@angular/common","@fortawesome/angular-fontawesome","@fortawesome/free-solid-svg-icons","@angular/platform-browser","rxjs","rxjs/operators","@angular/forms","@angular/cdk/coercion","@angular/animations","@angular/cdk/portal","@angular/cdk/overlay","@angular/cdk/a11y"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design={}),e.ng.core,e.ng.common,e.angularFontawesome,e.freeSolidSvgIcons,e.ng.platformBrowser,e.rxjs,e.rxjs.operators,e.ng.forms,e.ng.cdk.coercion,e.ng.animations,e.ng.cdk.portal,e.ng.cdk.overlay,e.ng.cdk.a11y)}(this,(function(e,t,n,o,a,r,i,s,f,c,l,d,p,u){"use strict";
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common"),require("@fortawesome/angular-fontawesome"),require("@fortawesome/free-solid-svg-icons"),require("@angular/platform-browser"),require("rxjs"),require("rxjs/operators"),require("@angular/forms"),require("@angular/cdk/coercion"),require("@angular/animations"),require("@angular/cdk/portal"),require("@angular/cdk/overlay"),require("@angular/cdk/a11y")):"function"==typeof define&&define.amd?define("@daffodil/design",["exports","@angular/core","@angular/common","@fortawesome/angular-fontawesome","@fortawesome/free-solid-svg-icons","@angular/platform-browser","rxjs","rxjs/operators","@angular/forms","@angular/cdk/coercion","@angular/animations","@angular/cdk/portal","@angular/cdk/overlay","@angular/cdk/a11y"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self).daffodil=e.daffodil||{},e.daffodil.design={}),e.ng.core,e.ng.common,e.angularFontawesome,e.freeSolidSvgIcons,e.ng.platformBrowser,e.rxjs,e.rxjs.operators,e.ng.forms,e.ng.cdk.coercion,e.ng.animations,e.ng.cdk.portal,e.ng.cdk.overlay,e.ng.cdk.a11y)}(this,(function(e,t,n,a,o,r,i,s,f,c,l,d,p,u){"use strict";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -12,5 +12,5 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var g=function(e,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,a,r=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)i.push(o.value)}catch(e){a={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(a)throw a.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}var v;Object.create;function _(e,n){var o=function(e){function t(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var a=e.apply(this,b(t))||this;return a.color=n,a}return h(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){var t,o=e||n;if(void 0!==o&&(t=o,!Object.values(v).includes(t)))throw new TypeError(o+" is not a valid color for the DaffPalette");o!==this._color&&(this._color&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._color),o&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+o),this._color=o)},enumerable:!1,configurable:!0}),t}(e);return o.propDecorators={color:[{type:t.Input}]},o}!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.ACCENT="accent",e.TERTIARY="tertiary",e.BLACK="black",e.WHITE="white",e.THEME="theme",e.THEMECONTRAST="theme-contrast"}(v||(v={}));var x=function(){this.class=!0};x.decorators=[{type:t.Directive,args:[{selector:"[daffPrefix]"}]}],x.propDecorators={class:[{type:t.HostBinding,args:["class.daff-prefix"]}]};var C=function(){this.class=!0};C.decorators=[{type:t.Directive,args:[{selector:"[daffSuffix]"}]}],C.propDecorators={class:[{type:t.HostBinding,args:["class.daff-suffix"]}]};var D=function(){};function w(e){var n=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(this,b(t))||this}return h(t,e),t}(e);return n.decorators=[{type:t.Directive}],n.ctorParameters=function(){return[{type:Array}]},n.propDecorators={_suffix:[{type:t.ContentChild,args:[C,{static:!0}]}]},n}function k(e){var n=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(this,b(t))||this}return h(t,e),t}(e);return n.decorators=[{type:t.Directive}],n.ctorParameters=function(){return[{type:Array}]},n.propDecorators={_prefix:[{type:t.ContentChild,args:[x,{static:!0}]}]},n}function P(e,n){var o=function(e){function t(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var a=e.apply(this,b(t))||this;return a.size=n,a}return h(t,e),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(e){var t=e||n;t!==this._size&&(this._size&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._size),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._size=t)},enumerable:!1,configurable:!0}),t}(e);return o.propDecorators={size:[{type:t.Input}]},o}D.decorators=[{type:t.NgModule,args:[{imports:[],exports:[x,C],declarations:[x,C]}]}];var O,I,E,S,M=["daff-button","daff-stroked-button","daff-raised-button","daff-icon-button","daff-underline-button"],B=k(w(_((O=P((function(e,t){this._elementRef=e,this._renderer=t}),"md"),(E=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var o=e.apply(this,b(t))||this;return o.status=I,o}return h(t,e),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},set:function(e){var t=e||I;t!==this._status&&(this._status&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._status),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._status=t)},enumerable:!1,configurable:!0}),t}(O)).propDecorators={status:[{type:t.Input}]},E))));!function(e){e.Default="daff-button",e.Stroked="daff-stroked-button",e.Raised="daff-raised-button",e.Icon="daff-icon-button",e.Underline="daff-underline-button"}(S||(S={}));var H=function(e){function t(t,n){var o,a,r=e.call(this,t,n)||this;r.elementRef=t,r.renderer=n;try{for(var i=m(M),s=i.next();!s.done;s=i.next()){var f=s.value;r._hasHostAttributes(f)&&t.nativeElement.classList.add(f)}}catch(e){o={error:e}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(o)throw o.error}}return r}return h(t,e),t.prototype.ngOnInit=function(){var e,t;try{for(var n=m(M),o=n.next();!o.done;o=n.next()){var a=o.value;this._hasHostAttributes(a)&&(this.buttonType=a)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(t.prototype,"button",{get:function(){return this.buttonType===S.Default||void 0===this.buttonType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stroked",{get:function(){return this.buttonType===S.Stroked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"raised",{get:function(){return this.buttonType===S.Raised},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.buttonType===S.Icon},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"underline",{get:function(){return this.buttonType===S.Underline},enumerable:!1,configurable:!0}),t.prototype._getHostElement=function(){return this.elementRef.nativeElement},t.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.some((function(t){return e._getHostElement().hasAttribute(t)}))},t}(B);H.decorators=[{type:t.Component,args:[{selector:"button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]",template:'<ng-container *ngIf="_prefix">\n <ng-content select="[daffPrefix]"></ng-content>\n</ng-container>\n<span><ng-content></ng-content></span>\n<ng-container *ngIf="_suffix">\n <ng-content select="[daffSuffix]"></ng-content>\n</ng-container>',inputs:["color","size","status"],encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:['.daff-button,.daff-raised-button,.daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;transition:background-color .3s,border-color .3s,box-shadow .3s,color .3s,transform .3s;will-change:background-color,border-color,box-shadow,color;min-width:96px}.daff-button[disabled],.daff-raised-button[disabled],.daff-stroked-button[disabled]{cursor:not-allowed}.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{vertical-align:middle}.daff-button .daff-prefix,.daff-raised-button .daff-prefix,.daff-stroked-button .daff-prefix{margin-right:8px}.daff-button .daff-suffix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-suffix{margin-left:8px}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled]{cursor:not-allowed}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:2.5rem;height:2.5rem;width:2.5rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3rem;height:3rem;width:3rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{vertical-align:middle}.daff-underline-button .daff-prefix{margin-right:8px}.daff-underline-button .daff-suffix{margin-left:8px}.daff-underline-button[disabled]{cursor:not-allowed}.daff-underline-button[disabled]:active:after,.daff-underline-button[disabled]:hover:after{-webkit-animation:none;animation:none}.daff-underline-button:focus{border-radius:4px}.daff-underline-button:after{bottom:0;content:"";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{-webkit-animation:none;animation:none}@media (min-width:1024px){.daff-underline-button:hover:after{-webkit-animation:underline-button-hover .7s ease;animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@-webkit-keyframes underline-button-hover{0%{transform:translateX(0)}50%{transform:translateX(100%)}51%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes underline-button-hover{0%{transform:translateX(0)}50%{transform:translateX(100%)}51%{transform:translateX(-100%)}to{transform:translateX(0)}}']}]}],H.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},H.propDecorators={button:[{type:t.HostBinding,args:["class.daff-button"]}],stroked:[{type:t.HostBinding,args:["class.daff-stroked-button"]}],raised:[{type:t.HostBinding,args:["class.daff-raised-button"]}],icon:[{type:t.HostBinding,args:["class.daff-icon-button"]}],underline:[{type:t.HostBinding,args:["class.daff-underline-button"]}]};var z=function(){};z.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,D],declarations:[H],exports:[H,D]}]}];var A=function(){function e(){}return e.prototype.isErrorState=function(e,t){return e.errors&&(e.touched||t)},e}(),R=function(){};R.decorators=[{type:t.Component,args:[{selector:"daff-error-message",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;font-size:.875rem;margin-top:5px}"]}]}];var N=function(){};N.decorators=[{type:t.NgModule,args:[{exports:[R],declarations:[R]}]}];var j=function(){},T=function(){function e(){this.faChevronDown=a.faChevronDown,this.class=!0,this.formSubmitted=!1,this.isError=!1,this.isValid=!1}return Object.defineProperty(e.prototype,"isFocused",{get:function(){var e;return null===(e=this._control)||void 0===e?void 0:e.focused},enumerable:!1,configurable:!0}),e.prototype.ngDoCheck=function(){var e;(null===(e=this._control)||void 0===e?void 0:e.ngControl)&&(this.isError=this._control.ngControl.errors&&this._control.ngControl.touched,this.isValid=!this._control.ngControl.errors&&this._control.ngControl.touched)},e.prototype._validateFormControl=function(){if(!this._control)throw new Error("A DaffFormFieldComponent must contain a DaffFormFieldControl")},e.prototype.ngAfterContentInit=function(){this._validateFormControl()},e.prototype.ngAfterContentChecked=function(){this._validateFormControl()},e}();T.decorators=[{type:t.Component,args:[{selector:"daff-form-field",template:'<div class="daff-form-field__control" [class.daff-error]="isError" [class.daff-valid]="isValid" [class.daff-focus]="isFocused">\n <ng-content></ng-content>\n <div class="daff-form-field__icon" *ngIf="_control.controlType==\'native-select\'">\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </div>\n</div>\n<ng-content select="daff-error-message"></ng-content>\n',encapsulation:t.ViewEncapsulation.None,styles:[".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}"]}]}],T.propDecorators={class:[{type:t.HostBinding,args:["class.daff-form-field"]}],formSubmitted:[{type:t.Input}],_control:[{type:t.ContentChild,args:[j]}]};var F=function(){};F.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,o.FontAwesomeModule,N],exports:[T,N],declarations:[T]}]}];var L=new t.InjectionToken("DAFF_MEDIA_GALLERY_TOKEN"),V=0,q=function(){this.class=!0,this.name=""+V,V++};q.decorators=[{type:t.Component,args:[{selector:"daff-media-gallery",template:'<div class="daff-media-gallery__thumbnails">\n\t<ng-content select="[daffThumbnail]"></ng-content>\n</div>\n<div class="daff-media-gallery__selected-thumbnail">\n\t<daff-media-renderer></daff-media-renderer>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:L,useExisting:q}],styles:[":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width:1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width:480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width:1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width:1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width:1024px){.daff-media-gallery__selected-thumbnail{order:2}}"]}]}],q.ctorParameters=function(){return[]},q.propDecorators={class:[{type:t.HostBinding,args:["class.daff-media-gallery"]}],name:[{type:t.Input}]};var G=function(){function e(){this.galleries={}}return e.prototype.add=function(e,t){if(this.galleries[e.name]){var n=this.galleries[e.name].getValue();n=Object.assign(Object.assign({},n),{thumbnails:b(n.thumbnails.filter((function(e){return e!==t})),[t])}),this.galleries[e.name].next(n)}else this.galleries[e.name]=new i.BehaviorSubject({gallery:e,thumbnails:[t]});1===this.galleries[e.name].getValue().thumbnails.length&&t.select()},e.prototype.remove=function(e){if(this.galleries[e.gallery.name]){var t=this.galleries[e.gallery.name].getValue(),n=t.thumbnails.indexOf(e);-1!==n&&this.galleries[e.gallery.name].next(Object.assign(Object.assign({},t),{thumbnails:b(t.thumbnails.slice(0,n),t.thumbnails.slice(n+1))}))}},e.prototype.select=function(e){if(this.galleries[e.gallery.name]){var t=this.galleries[e.gallery.name].getValue(),n=t.thumbnails.indexOf(e);e.selected||-1===n||this.galleries[e.gallery.name].next(Object.assign(Object.assign({},t),{thumbnails:b(t.thumbnails.filter((function(t){return t!==e})).map((function(e){return e.deselect()})),[e.select()])}))}},e}();G.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new G},token:G,providedIn:"root"}),G.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var U=function(){function e(e,t,n){this.componentFactoryResolver=e,this.registry=t,this.gallery=n,this._destroy$=new i.Subject}return e.prototype.ngOnInit=function(){var e=this;this.registry.galleries[this.gallery.name].pipe(s.takeUntil(this._destroy$)).subscribe((function(t){e.slot.clear();var n=t.thumbnails.filter((function(e){return e.selected})).shift();if(n){var o=n.component,a=e.componentFactoryResolver.resolveComponentFactory(o.constructor),r=e.slot.createComponent(a);a.inputs.forEach((function(e){r.instance[e.propName]=o[e.propName]})),r.changeDetectorRef.detectChanges()}}))},e.prototype.ngOnDestroy=function(){this._destroy$.next(!0),this._destroy$.unsubscribe()},e}();U.decorators=[{type:t.Component,args:[{selector:"daff-media-renderer",template:"<ng-template></ng-template>\n",changeDetection:t.ChangeDetectionStrategy.OnPush}]}],U.ctorParameters=function(){return[{type:t.ComponentFactoryResolver},{type:G},{type:void 0,decorators:[{type:t.Inject,args:[L]}]}]},U.propDecorators={slot:[{type:t.ViewChild,args:[t.TemplateRef,{static:!0,read:t.ViewContainerRef}]}]};var Q=new t.InjectionToken("thumbnailCompatToken"),$=function(){function e(e,n,o,a){this.component=e,this.cd=n,this.registry=o,this.gallery=a,this.class=!0,this.selected=!1,this.becameSelected=new t.EventEmitter}return Object.defineProperty(e.prototype,"selectedClass",{get:function(){return this.selected},enumerable:!1,configurable:!0}),e.prototype.onClick=function(e){this.registry.select(this)},e.prototype.ngOnInit=function(){this.registry.add(this.gallery,this)},e.prototype.ngOnDestroy=function(){this.registry.remove(this)},e.prototype.select=function(){return this.selected=!0,this.becameSelected.emit(),this.cd.markForCheck(),this},e.prototype.deselect=function(){return this.selected=!1,this.cd.markForCheck(),this},e}();$.decorators=[{type:t.Directive,args:[{selector:"[daffThumbnail]"}]}],$.ctorParameters=function(){return[{type:t.Type,decorators:[{type:t.Inject,args:[Q]}]},{type:t.ChangeDetectorRef},{type:G},{type:void 0,decorators:[{type:t.Inject,args:[L]}]}]},$.propDecorators={selectedClass:[{type:t.HostBinding,args:["class.daff-thumbnail--selected"]}],class:[{type:t.HostBinding,args:["class.daff-thumbnail"]}],becameSelected:[{type:t.Output}],onClick:[{type:t.HostListener,args:["click",["$event"]]}]};var W=function(){};W.decorators=[{type:t.NgModule,args:[{declarations:[q,$,U],imports:[n.CommonModule],exports:[$,q]}]}];var X=function(e,t){if(null===e[t]||void 0===e[t]||""===e[t])throw new Error("DaffImageComponent must have a defined "+t+" attribute.")},Y=function(e,t){var n=t.filter((function(t){try{X(e,t)}catch(e){return!0}return!1}));if(n.length)throw new Error("DaffImageComponent must have the "+n.join(",")+" attributes defined.")},Z=function(){function e(e){this.sanitizer=e,this.load=new t.EventEmitter}return Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){this._src=e,X(this,"src")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},set:function(e){this._alt=e,X(this,"alt")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,X(this,"width")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,X(this,"height")},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){Y(this,["src","alt","width","height"])},Object.defineProperty(e.prototype,"_paddingTop",{get:function(){if(this.height&&this.width)return this.sanitizer.bypassSecurityTrustStyle("calc("+this.height+" / "+this.width+" * 100%)")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.width+"px"},enumerable:!1,configurable:!0}),e}();Z.decorators=[{type:t.Component,args:[{selector:"daff-image",template:'<div class="daff-image__wrapper" [style.paddingTop]="_paddingTop">\n\t<img [src]="src" [alt]="alt" (load)="load.emit" />\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:Q,useExisting:Z}],styles:[":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}"]}]}],Z.ctorParameters=function(){return[{type:r.DomSanitizer}]},Z.propDecorators={src:[{type:t.Input}],alt:[{type:t.Input}],width:[{type:t.Input}],height:[{type:t.Input}],load:[{type:t.Output}],maxWidth:[{type:t.HostBinding,args:["style.max-width"]}]};var K=function(){};K.decorators=[{type:t.NgModule,args:[{declarations:[Z],imports:[n.CommonModule],exports:[Z],entryComponents:[Z]}]}];var J=function(){function e(e,t){this.ngControl=e,this._elementRef=t,this.focused=!1}return e.prototype.focus=function(){this.focused=!0},e.prototype.blur=function(){this.focused=!1},e.prototype.onFocus=function(){this._elementRef.nativeElement.focus()},e}();J.decorators=[{type:t.Component,args:[{selector:"input[daff-input]",template:"<ng-content></ng-content>",providers:[{provide:j,useExisting:J}],styles:[":host{border:none;border-radius:4px;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;padding:0;width:100%;box-sizing:border-box}:host:focus{border:none;box-shadow:none;outline:none}"]}]}],J.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ElementRef}]},J.propDecorators={formSubmitted:[{type:t.Input}],focus:[{type:t.HostListener,args:["focus"]}],blur:[{type:t.HostListener,args:["blur"]}]};var ee=function(){};ee.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[J],declarations:[J]}]}];var te=function(){function e(e,t){this.ngControl=e,this._elementRef=t,this.controlType="native-select",this.class=!0,this.focused=!1}return e.prototype.focus=function(){this.focused=!0},e.prototype.blur=function(){this.focused=!1},e.prototype.onFocus=function(){this._elementRef.nativeElement.focus()},e}();te.decorators=[{type:t.Component,args:[{selector:"select[daff-native-select]",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,providers:[{provide:j,useExisting:te}],styles:[".daff-native-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-clip:padding-box;border:0;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;min-width:45px;width:100%}.daff-native-select:focus{border:0;box-shadow:none;outline:none}"]}]}],te.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ElementRef}]},te.propDecorators={class:[{type:t.HostBinding,args:["class.daff-native-select"]}],formSubmitted:[{type:t.Input}],focus:[{type:t.HostListener,args:["focus"]}],blur:[{type:t.HostListener,args:["blur"]}]};var ne=function(){};ne.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[te],declarations:[te]}]}];var oe=0,ae=function(){function e(e){this._cdRef=e,this._checked=!1,this.id="daff-checkbox-"+oe,this.label="",this.becameChecked=new t.EventEmitter,this.becameUnchecked=new t.EventEmitter,this.role="checkbox",oe++}return Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked!==e&&(!0===e?(this.nativeCheckbox.nativeElement.checked=!0,this.becameChecked.emit(this._checked)):(this.nativeCheckbox.nativeElement.checked=!1,this.becameUnchecked.emit()),this._checked=e)},enumerable:!1,configurable:!0}),e.prototype._onChange=function(e){e.target.checked?this.select():this.deselect()},Object.defineProperty(e.prototype,"focusClass",{get:function(){return!0===this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return!0===this.disabled},enumerable:!1,configurable:!0}),e.prototype.onBlur=function(){this.focused=!1},e.prototype.onFocus=function(){this.focused=!0},e.prototype.select=function(){this.checked=!0,this._cdRef.markForCheck()},e.prototype.deselect=function(){this.checked=!1,this._cdRef.markForCheck()},e}();ae.decorators=[{type:t.Component,args:[{selector:"daff-checkbox",template:'<input #inputElement\ntype="checkbox"\n[attr.aria-label]="label"\n[attr.aria-labelledby]="labeledBy"\n[attr.checked]="checked ? \'\' : null"\n[attr.id] = "id"\n[attr.value]="value"\n[attr.name]="name"\n[attr.disabled] = "disabled ? \'\' : null" \n(change)="_onChange($event)"\n(blur)="onBlur()"\n(focus)="onFocus()"\n/>\n<label [attr.for]="id"><ng-content></ng-content></label>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],ae.ctorParameters=function(){return[{type:t.ChangeDetectorRef}]},ae.propDecorators={nativeCheckbox:[{type:t.ViewChild,args:["inputElement",{static:!0,read:t.ElementRef}]}],name:[{type:t.Input}],value:[{type:t.Input}],checked:[{type:t.Input}],id:[{type:t.Input}],label:[{type:t.Input,args:["aria-label"]}],labeledBy:[{type:t.Input,args:["aria-labelledby"]}],becameChecked:[{type:t.Output}],becameUnchecked:[{type:t.Output}],role:[{type:t.HostBinding,args:["attr.role"]}],focusClass:[{type:t.HostBinding,args:["class.focused"]}],disabledClass:[{type:t.HostBinding,args:["class.disabled"]}]};var re=function(){function e(){this.role="group",this.valueList=new t.EventEmitter}return e.prototype.getValues=function(){var e=this.checkboxes.toArray();return this.formArray.value.map((function(t,n){return!0===t&&e[n].value})).filter((function(e){return!1!==e}))},e}();re.decorators=[{type:t.Component,args:[{selector:"daff-checkbox-set",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],re.propDecorators={formArray:[{type:t.Input}],name:[{type:t.Input}],role:[{type:t.HostBinding,args:["attr.role"]}],checkboxes:[{type:t.ContentChildren,args:[ae]}],valueList:[{type:t.Output}]};var ie=function(){function e(e,t){this._control=e,this._checkbox=t,null!=this._control&&(this._control.valueAccessor=this)}return e.prototype.ngOnInit=function(){var e=this;this.writeValue(this._control.value),this._checkbox.becameChecked.subscribe((function(){e._onChange(!0)})),this._checkbox.becameUnchecked.subscribe((function(){e._onChange(!1)}))},e.prototype.writeValue=function(e){!0===(e=!!e)?this.fireSelect():this.fireDeselect()},e.prototype.registerOnChange=function(e){this._onChange=function(t){e(t)}},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._checkbox.disabled=e},e.prototype.fireSelect=function(){this._checkbox.select()},e.prototype.fireDeselect=function(){this._checkbox.deselect()},e}();ie.decorators=[{type:t.Directive,args:[{selector:"daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]"}]}],ie.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:ae}]},ie.propDecorators={value:[{type:t.Input}],name:[{type:t.Input}]};var se=function(){};se.decorators=[{type:t.NgModule,args:[{exports:[ae,re,ie],declarations:[ae,re,ie],imports:[n.CommonModule],providers:[re]}]}];var fe=function(){function e(e,t){this.ngControl=e,this.changeDetectorRef=t,this.min=1,this.max=10,this._inputControl=new f.FormControl,this.focused=!1,this._destroyed=new i.Subject}return Object.defineProperty(e.prototype,"value",{get:function(){return this.ngControl.control.value},set:function(e){var t=Math.min(Math.round(c.coerceNumberProperty(e)),this.max);this.ngControl.control.patchValue(t),this._inputControl.patchValue(t),this.changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl.control.disabled},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this._inputControl.patchValue(this.ngControl.control.value),this.setInputDisabled(),this.ngControl.statusChanges.pipe(s.takeUntil(this._destroyed)).subscribe((function(){e.setInputDisabled()}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(!0)},e.prototype.focus=function(){this.focused=!0,this.input.focus()},e.prototype.onFocus=function(){this.focused=!0,this.ngControl.control.markAsTouched()},e.prototype.onBlur=function(){null!==this.value&&void 0!==this.value||(this.value=1,this.changeDetectorRef.markForCheck())},e.prototype.onValueChange=function(e){this.value=e.target.value},e.prototype.setInputDisabled=function(){this.ngControl.disabled?this._inputControl.disable():this._inputControl.enable()},e}();fe.decorators=[{type:t.Component,args:[{selector:"daff-quantity-input",template:'<input daff-input\n type="number"\n [attr.max]="max"\n [attr.min]="min"\n [attr.step]="1"\n (focus)="onFocus()"\n (blur)="onBlur()"\n (change)="onValueChange($event)"\n [formControl]="_inputControl"\n>\n',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],fe.ctorParameters=function(){return[{type:f.NgControl},{type:t.ChangeDetectorRef}]},fe.propDecorators={input:[{type:t.ViewChild,args:[J]}],min:[{type:t.Input}],max:[{type:t.Input}]};var ce=function(){function e(e,t){this.ngControl=e,this.changeDetectorRef=t,this.min=1,this.max=10,this.extendable=!0,this.increment=1,this._value=1}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e,this.ngControl.control.patchValue(this._value),this.changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),e.prototype.onValueChange=function(e){this.value=e.target.value},Object.defineProperty(e.prototype,"focused",{get:function(){return this.select.focused},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.select.focus()},Object.defineProperty(e.prototype,"valueArray",{get:function(){return e=this.min,t=this.max,n=this.increment,Array(t-e).fill(0).map((function(t,o){return o*n+e}));var e,t,n},enumerable:!1,configurable:!0}),e}();ce.decorators=[{type:t.Component,args:[{selector:"daff-quantity-select",template:'<select daff-native-select [formControl]="ngControl.control">\n <option *ngFor="let item of valueArray" [value]="item">{{ item }}</option>\n <option [value]="max" *ngIf="extendable">{{ max }}+</option>\n <option [value]="max" *ngIf="!extendable">{{ max }}</option>\n</select>\n',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],ce.ctorParameters=function(){return[{type:f.NgControl},{type:t.ChangeDetectorRef}]},ce.propDecorators={select:[{type:t.ViewChild,args:[te]}],min:[{type:t.Input}],max:[{type:t.Input}],extendable:[{type:t.Input}]};var le=function(){function e(e,t){this.ngControl=e,this.cd=t,this.min=1,this.max=500,this.selectMax=10,this.focused=!1,this.disabled=!1,this._quantity=1,this._inputHasBeenShown=!1,null!=this.ngControl&&(this.ngControl.valueAccessor=this)}return Object.defineProperty(e.prototype,"quantity",{get:function(){return this._quantity},set:function(e){this._quantity=c.coerceNumberProperty(e,1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_maxFloor",{get:function(){return Math.min(this.max,this.selectMax)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controlType",{get:function(){return this.showInputField?"native-input":"native-select"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showInputField",{get:function(){var e=this._inputHasBeenShown||(this.ngControl?this.ngControl.value>=this.selectMax:this.quantity>=this.selectMax);return e&&(this._inputHasBeenShown=!0),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showSelectField",{get:function(){return!this.showInputField},enumerable:!1,configurable:!0}),e.prototype.onChange=function(e){},e.prototype.onTouched=function(e){},e.prototype.writeValue=function(e){this.quantity=e,this.cd.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.focus=function(){this.select&&this.select.focus(),this.input&&this.input.focus(),this.focused=!0},e}();le.decorators=[{type:t.Component,args:[{selector:"daff-quantity-field",template:'<daff-quantity-select\n *ngIf="showSelectField"\n [min]="min" [max]="_maxFloor" [extendable]="max > selectMax">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf="showInputField"\n [min]="min" [max]="max">\n</daff-quantity-input>\n',providers:[{provide:j,useExisting:le}],changeDetection:t.ChangeDetectionStrategy.OnPush}]}],le.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ChangeDetectorRef}]},le.propDecorators={input:[{type:t.ViewChild,args:[fe]}],select:[{type:t.ViewChild,args:[ce]}],min:[{type:t.Input}],max:[{type:t.Input}],selectMax:[{type:t.Input}]};var de=function(){};de.decorators=[{type:t.NgModule,args:[{declarations:[le,fe,ce],imports:[n.CommonModule,ne,ee,f.ReactiveFormsModule],exports:[le,fe,ce]}]}];var pe=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.elementRef=t,o.renderer=n,o.class=!0,o}return h(t,e),t}(P((function(e,t){this._elementRef=e,this._renderer=t})));pe.decorators=[{type:t.Component,args:[{selector:"daff-container",template:"<ng-content></ng-content>",inputs:["size"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]}]}],pe.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},pe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-container"]}]};var ue=function(){};ue.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[pe],exports:[pe]}]}];var ge=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.elementRef=t,o.renderer=n,o.diameter=60,o.class=!0,o}return h(t,e),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.diameter+"px"},enumerable:!1,configurable:!0}),t}(_((function(e,t){this._elementRef=e,this._renderer=t}),"primary"));ge.decorators=[{type:t.Component,args:[{selector:"daff-loading-icon",template:'<svg focusable="false" preserveAspectRatio="xMidYMid meet" viewBox="0 0 100 100">\n <circle cx="50%" cy="50%" r="46"></circle>\n</svg>',inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block}circle{-webkit-animation:rotation linear,circle-animation linear;animation:rotation linear,circle-animation linear;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;fill:transparent;stroke-dasharray:101.1592834456 400;stroke-linecap:round;stroke-width:5px;transform-origin:center}@-webkit-keyframes circle-animation{0%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:101.1592834456}50%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:28.902652413}75%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:0}to{stroke-dasharray:0 400;stroke-dashoffset:-101.1592834456}}@keyframes circle-animation{0%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:101.1592834456}50%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:28.902652413}75%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:0}to{stroke-dasharray:0 400;stroke-dashoffset:-101.1592834456}}@-webkit-keyframes rotation{0%{transform:rotate(-90deg)}50%{transform:rotate(0deg)}50.5%{transform:rotate(0deg)}75%{transform:rotate(90deg)}75.5%{transform:rotate(90deg)}99%{transform:rotate(144deg)}to{transform:rotate(144deg)}}@keyframes rotation{0%{transform:rotate(-90deg)}50%{transform:rotate(0deg)}50.5%{transform:rotate(0deg)}75%{transform:rotate(90deg)}75.5%{transform:rotate(90deg)}99%{transform:rotate(144deg)}to{transform:rotate(144deg)}}"]}]}],ge.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},ge.propDecorators={diameter:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-loading-icon"]}],maxWidth:[{type:t.HostBinding,args:["style.max-width"]}]};var he=function(){};he.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[ge],exports:[ge]}]}];var me={fill:l.trigger("fill",[l.state("*",l.style({width:"{{ percentage }}%"}),{params:{percentage:0}}),l.transition("* <=> *",l.animate(1e3))])},ye=function(e){function n(n,o){var a=e.call(this,n,o)||this;return a.elementRef=n,a.renderer=o,a.class=!0,a.percentage=0,a.finished=new t.EventEmitter,a}return h(n,e),n.prototype.onAnimationComplete=function(e){"100"!==e.toState&&100!==e.toState||this.finished.emit()},Object.defineProperty(n.prototype,"fillState",{get:function(){return{value:this.percentage,params:{percentage:this.percentage}}},enumerable:!1,configurable:!0}),n}(_((function(e,t){this._elementRef=e,this._renderer=t}),"primary"));ye.decorators=[{type:t.Component,args:[{selector:"daff-progress-indicator",template:'<div class="daff-progress-indicator__fill" [@fill]="fillState" (@fill.done)="onAnimationComplete($event)"></div>',changeDetection:t.ChangeDetectionStrategy.OnPush,inputs:["color"],animations:[me.fill],styles:[":host{display:flex;height:3px;width:100%}"]}]}],ye.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},ye.propDecorators={class:[{type:t.HostBinding,args:["class.daff-progress-indicator"]}],percentage:[{type:t.Input}],finished:[{type:t.Output}]};var be=function(){};be.decorators=[{type:t.NgModule,args:[{declarations:[ye],imports:[n.CommonModule],exports:[ye]}]}];var ve=function(){this.role="radiogroup"};ve.decorators=[{type:t.Component,args:[{selector:"daff-radio-set",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],ve.ctorParameters=function(){return[]},ve.propDecorators={name:[{type:t.Input}],role:[{type:t.HostBinding,args:["attr.role"]}]};var _e=0,xe=function(){function e(e){this.radioset=e,this.role="radio",this._checked=!1,this.selectionChange=new t.EventEmitter,this.id="daff-radio-"+_e,this.name="",this.label=this.name,this.disabled=!1,this.focused=!1,_e++}return Object.defineProperty(e.prototype,"focusClass",{get:function(){return!0===this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return!0===this.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked!==e&&(this._checked=e,this.selectionChange.emit(this.value))},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.name=this.radioset?this.radioset.name:this.name},e.prototype.onFocus=function(){this.focused=!0},e.prototype.onBlur=function(){this.focused=!1},e.prototype.select=function(){this.checked=!0},e.prototype.deselect=function(){this.checked=!1},e.prototype.onChange=function(){this.select()},e}();xe.decorators=[{type:t.Component,args:[{selector:"daff-radio",template:'<input type="radio" \n[attr.checked]="checked ? \'\' : null" \n[attr.id]="id" \n[attr.name]="name" \n[attr.aria-label]="label"\n[attr.aria-labelledby]="labelledby"\n[attr.value]="value"\n[attr.disabled] = "disabled ? \'\' : null" \n(change)="onChange()"\n(blur)="onBlur()"\n(focus)="onFocus()"/>\n<label [attr.for]="id">\n <ng-content></ng-content>\n</label>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],xe.ctorParameters=function(){return[{type:ve,decorators:[{type:t.Optional}]}]},xe.propDecorators={role:[{type:t.HostBinding,args:["attr.role"]}],focusClass:[{type:t.HostBinding,args:["class.focused"]}],disabledClass:[{type:t.HostBinding,args:["class.disabled"]}],selectionChange:[{type:t.Output}],checked:[{type:t.Input}],value:[{type:t.Input}],id:[{type:t.Input}],name:[{type:t.Input}],label:[{type:t.Input,args:["aria-label"]}],labelledby:[{type:t.Input,args:["aria-labelledby"]}]};var Ce=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push({control:e,accessor:t})},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t].accessor===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n.accessor!==e&&n.accessor.fireDeselect()}))},e.prototype._isSameGroup=function(e,t){return!!e.control.control&&(e.control.control.parent===t._control.control.parent&&e.accessor.name===t.name)},e}();Ce.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new Ce},token:Ce,providedIn:"root"}),Ce.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var De=function(){function e(e,t,n){this._control=e,this._registry=t,this._radio=n,null!=this._control&&(this._control.valueAccessor=this)}return e.prototype.ngOnInit=function(){var e=this;this.writeValue(this._control.value),this._registry.add(this._control,this),this._radio.selectionChange.subscribe((function(t){return t?e._onChange():null}))},e.prototype.writeValue=function(e){this.value===e&&this._onChange&&(this._onChange(),this.fireSelect())},e.prototype.registerOnChange=function(e){var t=this;this._onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._radio.disabled=e},e.prototype.fireSelect=function(){this._radio.select()},e.prototype.fireDeselect=function(){this._radio.deselect()},e}();De.decorators=[{type:t.Directive,args:[{selector:"daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]"}]}],De.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:Ce},{type:xe}]},De.propDecorators={value:[{type:t.Input}],name:[{type:t.Input}]};var we=function(){};we.decorators=[{type:t.NgModule,args:[{exports:[xe,ve,De],declarations:[De,xe,ve],imports:[n.CommonModule]}]}];var ke=function(){this.class=!0};ke.decorators=[{type:t.Directive,args:[{selector:"[daffAccordionItemContent]"}]}],ke.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item__content"]}]};var Pe=function(){this.class=!0};Pe.decorators=[{type:t.Directive,args:[{selector:"[daffAccordionItemTitle]"}]}],Pe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item__title"]}]};var Oe={openAccordion:l.trigger("openAccordion",[l.state("open",l.style({visibility:"visible",opacity:"1",height:"*"})),l.state("void",l.style({visibility:"hidden",overflow:"hidden",opacity:"0",height:"0"})),l.transition("void <=> open",l.animate("150ms ease-in"))])},Ie=function(e){return e?"open":"void"},Ee=function(){function e(){this.faChevronDown=a.faChevronDown,this.faChevronUp=a.faChevronUp,this.class=!0,this._open=!1}return e.prototype.ngOnInit=function(){this._open=this.initiallyActive?this.initiallyActive:this._open,this._animationState=Ie(this._open)},e.prototype.toggleActive=function(){this._open=!this._open,this._animationState=Ie(this._open)},e}();Ee.decorators=[{type:t.Component,args:[{selector:"daff-accordion-item",template:'<div class="daff-accordion-item__header" (click)="toggleActive()">\n <ng-content select="[daffAccordionItemTitle]"></ng-content>\n <span [hidden]="_open" daffSuffix>\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </span>\n <span [hidden]="!_open" daffSuffix>\n <fa-icon [icon]="faChevronUp"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]="_animationState">\n <ng-content></ng-content>\n</div>',encapsulation:t.ViewEncapsulation.None,animations:[Oe.openAccordion],styles:[".daff-accordion-item{display:block;padding:15px 0;width:100%}@media (min-width:768px){.daff-accordion-item{padding:30px 0}}.daff-accordion-item__header{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between;width:100%}.daff-accordion-item__header .daff-suffix{margin:0 10px}.daff-accordion-item__title{font-weight:700;text-transform:uppercase;font-size:1rem;margin:0}.daff-accordion-item__content{padding-top:15px}@media (min-width:768px){.daff-accordion-item__content{padding-top:30px}}"]}]}],Ee.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item"]}],initiallyActive:[{type:t.Input}]};var Se=function(){};Se.decorators=[{type:t.Component,args:[{selector:"daff-accordion",template:"<ng-content></ng-content>",styles:[":host{display:block;width:100%}"]}]}];var Me=function(){function e(e,t){this.accordion=e,this.navAccordionItemParent=t,this.faChevronDown=a.faChevronDown,this.faChevronUp=a.faChevronUp,this._open=!1,this._level=0}return Object.defineProperty(e.prototype,"classes",{get:function(){return["daff-nav-accordion-item","daff-nav-accordion-item--level-"+this._level]},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.navAccordionItemParent&&this.accordion===this.navAccordionItemParent.accordion&&(this._level=this.navAccordionItemParent._level+1),this._open=this.initiallyActive?this.initiallyActive:this._open,this._animationState=Ie(this._open)},e.prototype.toggleActive=function(){this._open=!this._open,this._animationState=Ie(this._open)},e}();Me.decorators=[{type:t.Component,args:[{selector:"daff-nav-accordion-item",template:'<div class="daff-nav-accordion-item__header" (click)="toggleActive()">\n <ng-content select="[daffAccordionItemTitle]"></ng-content>\n <span [hidden]="_open" daffSuffix *ngIf="_navAccordionItemChild.toArray().length">\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </span>\n <span [hidden]="!_open" daffSuffix *ngIf="_navAccordionItemChild.toArray().length">\n <fa-icon [icon]="faChevronUp"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]="_animationState">\n <ng-content></ng-content>\n</div>\n',animations:[Oe.openAccordion],styles:[":host(.daff-nav-accordion-item--level-1) .daff-nav-accordion-item__header{padding-left:15px}:host(.daff-nav-accordion-item--level-2) .daff-nav-accordion-item__header{padding-left:30px}:host(.daff-nav-accordion-item--level-3) .daff-nav-accordion-item__header{padding-left:45px}:host{display:block;padding-top:6px}.daff-nav-accordion-item__header{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between;width:100%;padding-bottom:6px}.daff-nav-accordion-item__header .daff-suffix{margin:0 10px}"]}]}],Me.ctorParameters=function(){return[{type:Se},{type:Me,decorators:[{type:t.SkipSelf},{type:t.Optional}]}]},Me.propDecorators={classes:[{type:t.HostBinding,args:["class"]}],initiallyActive:[{type:t.Input}],_navAccordionItemChild:[{type:t.ContentChildren,args:[Me,{descendants:!0}]}]};var Be=function(){};Be.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,o.FontAwesomeModule,D],declarations:[Se,Ee,Me,Pe,ke],exports:[Se,Ee,Me,Pe,ke]}]}];var He=function(){this.class=!0,this.role="article"};He.decorators=[{type:t.Component,args:[{selector:"daff-article",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,styles:[".daff-article{display:block}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{margin:0}.daff-article__lead,.daff-article__lead code{font-size:1.25rem;line-height:1.75rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article>h1,.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-bottom:.5rem}.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-top:1.5rem}.daff-article>h1{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article>h1{font-size:3rem;line-height:3.5rem}}.daff-article>h2{font-weight:700;font-size:1.5rem;line-height:1.75rem}@media (min-width:768px){.daff-article>h2{font-size:2rem;line-height:2.5rem}}.daff-article>h3{font-weight:700;font-size:1.25rem;line-height:1.5rem}@media (min-width:768px){.daff-article>h3{font-size:1.5rem;line-height:2rem}}.daff-article>h4{font-size:1.25rem;line-height:1.5rem}@media (min-width:768px){.daff-article>h4{font-size:1.5rem;line-height:2rem}}.daff-article>h5{font-size:1.125rem;line-height:1.5rem}.daff-article>h6{font-size:1rem;line-height:1.5rem}.daff-article>ol,.daff-article>ul{padding-left:1rem}.daff-article>strong{font-weight:700}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:4px}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{font-size:1.25rem;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{text-transform:uppercase;font-weight:700;display:block;font-size:.875rem;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:16px;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;padding:8px 16px;word-break:break-word;vertical-align:top;box-sizing:border-box}"]}]}],He.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article"]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var ze=function(){this.class=!0};ze.decorators=[{type:t.Directive,args:[{selector:"[daffArticleLead]"}]}],ze.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__lead"]}]};var Ae=function(){this.class=!0};Ae.decorators=[{type:t.Directive,args:[{selector:"[daffArticleMeta]"}]}],Ae.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__meta"]}]};var Re=function(){this.class=!0};Re.decorators=[{type:t.Directive,args:[{selector:"[daffArticleTitle]"}]}],Re.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__title"]}]};var Ne=function(){};Ne.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[He,Re,ze,Ae],exports:[He,Re,ze,Ae]}]}];var je={fadeBackdrop:l.trigger("fadeBackdrop",[l.transition(":enter",[l.style({opacity:0}),l.animate("350ms cubic-bezier(0.0, 0.0, 0.2, 1)",l.style({opacity:1}))]),l.transition(":leave",[l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)",l.style({opacity:0}))])])},Te=function(){function e(){this.transparent=!1,this.fullscreen=!1,this.backdropClicked=new t.EventEmitter}return e.prototype.onBackdropClicked=function(){this.backdropClicked.emit()},e}();Te.decorators=[{type:t.Component,args:[{selector:"daff-backdrop",template:'<div class="daff-backdrop" [class.daff-backdrop--fullscreen]="fullscreen" [class.daff-backdrop--transparent]="transparent"></div>\n',animations:[je.fadeBackdrop],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.daff-backdrop{background:rgba(0,0,0,.3);height:100%;width:100%}.daff-backdrop--transparent{background:none}.daff-backdrop:active,.daff-backdrop:focus,.daff-backdrop:visited{outline:0}.daff-backdrop--fullscreen{position:absolute}"]}]}],Te.propDecorators={transparent:[{type:t.Input}],fullscreen:[{type:t.Input}],backdropClicked:[{type:t.Output}],onBackdropClicked:[{type:t.HostBinding,args:["@fadeBackdrop"]},{type:t.HostListener,args:["click"]}]};var Fe=function(){};Fe.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Te],exports:[Te],entryComponents:[Te]}]}];var Le=function(){this.class=!0};Le.decorators=[{type:t.Component,args:[{selector:"daff-button-set",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,styles:[".daff-button-set{display:flex;flex-direction:column;flex-wrap:wrap}@media (min-width:480px){.daff-button-set{flex-direction:row}}.daff-button-set>*{margin:0 0 5px}.daff-button-set>:last-child{margin:0}@media (min-width:480px){.daff-button-set>*{margin:0 5px 0 0}.daff-button-set>:last-child{margin:0}}"]}]}],Le.propDecorators={class:[{type:t.HostBinding,args:["class.daff-button-set"]}]};var Ve=function(){};Ve.decorators=[{type:t.NgModule,args:[{declarations:[Le],exports:[Le]}]}];var qe=function(){};qe.decorators=[{type:t.Component,args:[{selector:"daff-image-gallery",template:'<div class="daff-image-gallery">\n <div class="daff-image-gallery__active-image">\n <ng-content select="[daff-active-image]"></ng-content>\n </div>\n\n <daff-image-list class="daff-image-gallery__image-list">\n <ng-content select="daff-gallery-image"></ng-content>\n </daff-image-list>\n</div>\n',encapsulation:t.ViewEncapsulation.None,styles:['.daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:"active-image" "image-list";max-height:100%}@media (min-width:1024px){.daff-image-gallery{grid-template-areas:"image-list active-image";max-height:-webkit-min-content;max-height:-moz-min-content;max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width:1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}']}]}];var Ge=function(){this.class=!0};Ge.decorators=[{type:t.Component,args:[{selector:"daff-gallery-image",template:'<div class="gallery-image__wrapper">\n <ng-content></ng-content>\n</div>'}]}],Ge.propDecorators={selected:[{type:t.HostBinding,args:["class.daff-image-gallery__daff-gallery-image--selected"]},{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-image-gallery__daff-gallery-image"]}]};var Ue=function(){this.class=!0};Ue.decorators=[{type:t.Component,args:[{selector:"daff-image-list",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,styles:[".daff-image-list{overflow:scroll;white-space:nowrap}.daff-image-list>*{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;margin:0 5px 0 0}@media (min-width:1024px){.daff-image-list>*{display:block;margin:0 0 5px}}.daff-image-list>:last-child{margin:0}::-webkit-scrollbar{height:2px;width:2px}::-webkit-scrollbar-thumb{box-shadow:inset 0 0 3px #b6b6b6;-webkit-box-shadow:inset 0 0 3px #b6b6b6}"]}]}],Ue.propDecorators={class:[{type:t.HostBinding,args:["class.daff-image-list"]}]};var Qe=function(){};Qe.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Ue],exports:[Ue]}]}];var $e=function(){};$e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,Qe],declarations:[qe,Ge],exports:[qe,Ge]}]}];var We=function(){this.class=!0};We.decorators=[{type:t.Component,args:[{selector:"daff-link-set",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-link-set{display:block;margin:0;padding:0}.daff-link-set__heading{font-weight:700;display:block;font-size:1rem;line-height:1em;margin-bottom:15px;text-transform:uppercase}.daff-link-set__subheading{display:block;font-size:1rem;line-height:1.5em}.daff-link-set__item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:currentColor;display:block;font-size:1em;line-height:1.5em;text-decoration:none;transition:color .15s ease}.daff-link-set__item:hover{text-decoration:underline}.daff-link-set__item[disabled]{cursor:not-allowed}.daff-link-set .daff-link-set{margin-left:10px}"]}]}],We.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set"]}]};var Xe=function(){this.class=!0};Xe.decorators=[{type:t.Directive,args:[{selector:"[daffLinkSetHeading]"}]}],Xe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__heading"]}]};var Ye=function(){this.class=!0};Ye.decorators=[{type:t.Component,args:[{selector:"a[daff-link-set-item]",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush}]}],Ye.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__item"]}]};var Ze=function(){this.class=!0};Ze.decorators=[{type:t.Directive,args:[{selector:"[daffLinkSetSubheading]"}]}],Ze.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__subheading"]}]};var Ke=function(){};Ke.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[We,Xe,Ze,Ye],declarations:[We,Xe,Ze,Ye]}]}];var Je=function(){function e(e){this.elementRef=e,this.class=!0}return Object.defineProperty(e.prototype,"role",{get:function(){return this._isAnchor()?null:"listitem"},enumerable:!1,configurable:!0}),e.prototype._getHostElement=function(){return this.elementRef.nativeElement},e.prototype._isAnchor=function(){return"a"===this.elementRef.nativeElement.localName},e}();Je.decorators=[{type:t.Component,args:[{selector:"daff-list-item,a[daff-list-item]",template:'<ng-container *ngIf="_prefix">\n <ng-content select="[daffPrefix]"></ng-content>\n</ng-container>\n<div class="daff-list-item__content">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf="_suffix">\n <ng-content select="[daffSuffix]"></ng-content>\n</ng-container>',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],Je.ctorParameters=function(){return[{type:t.ElementRef}]},Je.propDecorators={class:[{type:t.HostBinding,args:["class.daff-list-item"]}],_prefix:[{type:t.ContentChild,args:[x]}],_suffix:[{type:t.ContentChild,args:[C]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var et,tt,nt=function(){this.class=!0};nt.decorators=[{type:t.Directive,args:[{selector:"[daffListSubheader]"}]}],nt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-list__subheader"]}]},(et=e.DaffListModeEnum||(e.DaffListModeEnum={})).Multiline="multi-line",et.Link="link",et.Navigation="navigation",function(e){e.Default="daff-list",e.Nav="daff-nav-list"}(tt||(tt={}));var ot=function(){function t(e){this.elementRef=e}return Object.defineProperty(t.prototype,"list",{get:function(){return this.listType===tt.Default},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"multiline",{get:function(){return this.mode===e.DaffListModeEnum.Multiline},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"link",{get:function(){return this.mode===e.DaffListModeEnum.Link},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigation",{get:function(){return this.mode===e.DaffListModeEnum.Navigation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listType",{get:function(){return this._getHostElement().localName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nav",{get:function(){return this.listType===tt.Nav},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"role",{get:function(){return this.listType===tt.Nav?"navigation":"list"},enumerable:!1,configurable:!0}),t.prototype._getHostElement=function(){return this.elementRef.nativeElement},t}();ot.decorators=[{type:t.Component,args:[{selector:"daff-list,daff-nav-list",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-list{display:block;margin:0;padding:0}.daff-list .daff-list-item{display:flex;padding:12px 16px}.daff-list .daff-list-item__content{flex-grow:1}.daff-list .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5em;margin:0;padding:0}.daff-list .daff-list-item__content :nth-child(n+2){font-size:1rem;margin:0;padding:0}.daff-list .daff-list-item .daff-prefix,.daff-list .daff-list-item .daff-suffix{display:flex;align-items:center}.daff-list .daff-list-item .daff-prefix{margin-right:24px}.daff-list .daff-list-item .daff-suffix{margin-left:24px}.daff-list__subheader{font-weight:700;text-transform:uppercase;font-size:1rem;padding:0 0 25px}.daff-list--link a,.daff-list--navigation a{text-decoration:none}.daff-list--link a:hover,.daff-list--navigation a:hover{color:#474747}.daff-list--multi-line .daff-list-item{padding:15px 0}.daff-list--multi-line .daff-list-item:first-of-type{padding:0 0 15px}.daff-list--multi-line .daff-list-item:last-of-type{padding:15px 0 0}.daff-list--multi-line .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5rem;margin:0 0 10px;padding:0}.daff-list--multi-line .daff-list-item__content :nth-child(n+2),.daff-nav-list{margin:0;padding:0}.daff-nav-list{display:block}.daff-nav-list .daff-list-item{display:flex;padding:12px 16px}.daff-nav-list .daff-list-item__content{flex-grow:1}.daff-nav-list .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5em;margin:0;padding:0}.daff-nav-list .daff-list-item__content :nth-child(n+2){font-size:1rem;margin:0;padding:0}.daff-nav-list .daff-list-item .daff-prefix,.daff-nav-list .daff-list-item .daff-suffix{display:flex;align-items:center}.daff-nav-list .daff-list-item .daff-prefix{margin-right:24px}.daff-nav-list .daff-list-item .daff-suffix{margin-left:24px}.daff-nav-list .daff-list-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;text-decoration:none}"]}]}],ot.ctorParameters=function(){return[{type:t.ElementRef}]},ot.propDecorators={mode:[{type:t.Input}],list:[{type:t.HostBinding,args:["class.daff-list"]}],multiline:[{type:t.HostBinding,args:["class.daff-list--multi-line"]}],link:[{type:t.HostBinding,args:["class.daff-list--link"]}],navigation:[{type:t.HostBinding,args:["class.daff-list--navigation"]}],nav:[{type:t.HostBinding,args:["class.daff-nav-list"]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var at=function(){};at.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,D],declarations:[ot,nt,Je],exports:[ot,nt,Je,D]}]}];var rt={fade:l.trigger("fade",[l.state("open",l.style({opacity:1})),l.state("closed",l.style({opacity:0})),l.transition("open <=> closed",l.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},it=function(){function e(){this.open=!1,this.animationCompleted=new t.EventEmitter,this.closedAnimationCompleted=new t.EventEmitter,this.hide=new t.EventEmitter,this.modalClass=!0}return e.prototype.attachContent=function(e){this._portalOutlet.attachComponentPortal(e)},Object.defineProperty(e.prototype,"fadeState",{get:function(){return this.open?"open":"closed"},enumerable:!1,configurable:!0}),e.prototype.animationDone=function(e){this.animationCompleted.emit(e),"closed"===e.toState&&this.closedAnimationCompleted.emit(e)},e}();it.decorators=[{type:t.Component,args:[{selector:"daff-modal",template:"<ng-template cdkPortalOutlet></ng-template>\n",animations:[rt.fade],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width:480px){:host{height:auto}}"]}]}],it.propDecorators={open:[{type:t.Input}],_portalOutlet:[{type:t.ViewChild,args:[d.CdkPortalOutlet,{static:!0}]}],modalClass:[{type:t.HostBinding,args:["class.daff-modal"]}],fadeState:[{type:t.HostBinding,args:["@fade"]}],animationDone:[{type:t.HostListener,args:["@fade.done",["$event"]]}]};var st=function(){};st.decorators=[{type:t.Component,args:[{selector:"daff-modal-actions",template:"<ng-content></ng-content>",styles:[":host{display:block;padding-top:24px}"]}]}];var ft=function(){};ft.decorators=[{type:t.Component,args:[{selector:"daff-modal-content",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}"]}]}];var ct=function(){this.class=!0};ct.decorators=[{type:t.Component,args:[{selector:"daff-modal-header",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width:480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}"]}]}],ct.propDecorators={class:[{type:t.HostBinding,args:["class.daff-modal-header"]}]};var lt=function(){this.class=!0};lt.decorators=[{type:t.Directive,args:[{selector:"[daffModalTitle]"}]}],lt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-modal-title"]}]};var dt=function(){};dt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,d.PortalModule,p.OverlayModule],exports:[ct,lt,ft,st],declarations:[it,ct,lt,ft,st]}]}];var pt=function(){function e(e){this.overlay=e,this._modals=[],this.defaultConfiguration={}}return e.prototype._attachModal=function(e){var t=e.attach(new d.ComponentPortal(it));return t.instance.open=!0,t},e.prototype._attachModalContent=function(e,t){t.instance.attachContent(new d.ComponentPortal(e))},e.prototype._createOverlayRef=function(){return this.overlay.create({hasBackdrop:!0,positionStrategy:(new p.GlobalPositionStrategy).centerHorizontally().centerVertically(),scrollStrategy:this.overlay.scrollStrategies.block()})},e.prototype._removeModal=function(e){if(-1===this._modals.indexOf(e))throw new Error("The Modal that you are trying to remove does not exist.");e.overlay.dispose(),this._modals=this._modals.filter((function(t){return t!==e}))},e.prototype.open=function(e,t){var n=this,o=Object.assign(Object.assign({},this.defaultConfiguration),t),a=this._createOverlayRef(),r=this._attachModal(a),i=(this._attachModalContent(e,r),{modal:r,overlay:a});return this._modals.push(i),a.backdropClick().subscribe((function(){return o.onBackdropClicked?o.onBackdropClicked():n.close(i)})),i},e.prototype.close=function(e){var t=this;e.modal.instance.open=!1,e.overlay.detachBackdrop(),e.modal.instance.closedAnimationCompleted.subscribe((function(n){return t._removeModal(e)}))},e}();pt.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new pt(t.ɵɵinject(p.Overlay))},token:pt,providedIn:dt}),pt.decorators=[{type:t.Injectable,args:[{providedIn:dt}]}],pt.ctorParameters=function(){return[{type:p.Overlay}]};var ut=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.elementRef=t,o.renderer=n,o.shadowed=!1,o.hostClass=!0,o}return h(t,e),Object.defineProperty(t.prototype,"shadowClass",{get:function(){return this.shadowed},enumerable:!1,configurable:!0}),t}(_((function(e,t){this._elementRef=e,this._renderer=t})));ut.decorators=[{type:t.Component,args:[{selector:"daff-navbar",template:"<ng-content></ng-content>",inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{align-items:center;display:flex;height:70px;padding:0 15px;width:100%}"]}]}],ut.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},ut.propDecorators={shadowed:[{type:t.Input}],shadowClass:[{type:t.HostBinding,args:["class.daff-navbar--shadowed"]}],hostClass:[{type:t.HostBinding,args:["class.daff-navbar"]}]};var gt=function(){};gt.decorators=[{type:t.NgModule,args:[{declarations:[ut],exports:[ut]}]}];var ht=_((function(e,t){this._elementRef=e,this._renderer=t})),mt=function(e){function n(n,o){var r=e.call(this,n,o)||this;r.elementRef=n,r.renderer=o,r.class=!0,r.role="navigation",r.faChevronRight=a.faChevronRight,r.faChevronLeft=a.faChevronLeft,r.notifyPageChange=new t.EventEmitter;var i=n.nativeElement.attributes["aria-label"];return r._paginatorId=i?i.nodeValue:null,r}return h(n,e),n.prototype.ngOnChanges=function(){if(this.numberOfPages<1)throw new Error("The numberOfPages in the daff-paginator must not be less than 1");if(this.numberOfPages<this.currentPage)throw new Error("The numberOfPages in the daff-paginator should not be less than the currentPage");this._numberOfPagesArray=this.numberOfPages<2?[]:Array(this.numberOfPages-2).fill(this.numberOfPages-2).map((function(e,t){return t+2}))},n.prototype._onNotifyPrevPageChange=function(){this.notifyPageChange.emit(this.currentPage-1)},n.prototype._onNotifyNextPageChange=function(){this.notifyPageChange.emit(this.currentPage+1)},n.prototype._onNotifyPageChange=function(e){this.notifyPageChange.emit(e)},n.prototype._isSelected=function(e){return e===this.currentPage},n.prototype._showFirstEllipsis=function(){return this.currentPage>=4},n.prototype._showLastEllipsis=function(){return this.currentPage<this.numberOfPages-2},n.prototype._showNumber=function(e){return Math.abs(this.currentPage-e)<2||this.currentPage<=2&&e<=4||this.currentPage>this.numberOfPages-2&&e>this.numberOfPages-4},n.prototype._disablePrev=function(){return 1===this.currentPage},n.prototype._disableNext=function(){return this.currentPage===this.numberOfPages},n}(ht);mt.decorators=[{type:t.Component,args:[{selector:"daff-paginator",template:'<button type="button" class="daff-paginator__previous"\n [disabled]="_disablePrev()"\n tabindex="0"\n attr.aria-label="Go to Previous Page of {{_paginatorId}} Paginator"\n (click)="_onNotifyPrevPageChange()">\n <fa-icon [icon]="faChevronLeft"></fa-icon> Previous\n</button>\n\n<button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(1)"\n tabindex="0"\n attr.aria-label="Go to Page 1 of {{_paginatorId}} Paginator"\n (click)="_onNotifyPageChange(1)">\n 1\n</button>\n\n<span class="daff-paginator__ellipsis" *ngIf="_showFirstEllipsis()">...</span>\n\n<ng-container *ngFor="let pageNumber of _numberOfPagesArray">\n <button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(pageNumber)"\n tabindex="0"\n attr.aria-label="Go to Page {{pageNumber}} of {{_paginatorId}} Paginator"\n aria-current="_isSelected(pageNumber)"\n *ngIf="_showNumber(pageNumber)"\n (click)="_onNotifyPageChange(pageNumber)">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class="daff-paginator__ellipsis" *ngIf="_showLastEllipsis()">...</span>\n\n<button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(numberOfPages)"\n tabindex="0"\n attr.aria-label="Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator"\n (click)="_onNotifyPageChange(numberOfPages)"\n *ngIf="!(numberOfPages < 2)">\n {{ numberOfPages }}\n</button>\n\n<button class="daff-paginator__next"\n [disabled]="_disableNext()"\n tabindex="0"\n attr.aria-label="Go to Next Page of {{_paginatorId}} Paginator"\n (click)="_onNotifyNextPageChange()">\n Next <fa-icon [icon]="faChevronRight"></fa-icon>\n</button>\n',inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:flex}.daff-paginator__next,.daff-paginator__previous{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}"]}]}],mt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},mt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-paginator"]}],role:[{type:t.HostBinding,args:["attr.role"]}],numberOfPages:[{type:t.Input}],currentPage:[{type:t.Input}],notifyPageChange:[{type:t.Output}]};var yt=function(){};yt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,o.FontAwesomeModule,z],declarations:[mt],exports:[mt]}]}];var bt=function(){function e(e){this.renderer=e,this.dropdownRange=9,this.qtyChanged=new t.EventEmitter,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this.dropdownItemCounter=Array.from(Array(this.dropdownRange),(function(e,t){return t})),this.qty||(this.qty=1)},e.prototype.writeValue=function(e){this.qty=e,this.onChange(this.qty)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.inputHasBeenShown?this.renderer.setProperty(document.getElementById("input_"+this.id),"disabled",e):this.renderer.setProperty(document.getElementById("select_"+this.id),"disabled",e)},Object.defineProperty(e.prototype,"showQtyInputField",{get:function(){return!(!this.isQtyOutsideDropdownRange()&&!this.inputHasBeenShown)&&(this.inputHasBeenShown=!0,!0)},enumerable:!1,configurable:!0}),e.prototype.onChangedWrapper=function(e){10===(e=parseInt(e,10))&&this.selectInput(),this.qtyChanged.emit(e),this.onChange(e)},e.prototype.isQtyOutsideDropdownRange=function(){return this.qty>this.dropdownRange},e.prototype.selectInput=function(){var e=this;setTimeout((function(){document.getElementById("input_"+e.id).select()}))},e}();bt.decorators=[{type:t.Component,args:[{selector:"daff-qty-dropdown",template:'<daff-form-field class="daff-qty-dropdown">\n <select daff-native-select *ngIf="!showQtyInputField" id="select_{{id}}" [(ngModel)]="qty" (ngModelChange)="onChangedWrapper(qty)" (blur)="onTouched()">\n <option *ngFor="let item of dropdownItemCounter" [value]="item+1">{{ item+1 }}</option>\n <option value="10">10+</option>\n </select>\n <input daff-input id="input_{{id}}" class="daff-qty-dropdown__input" [(ngModel)]="qty" (ngModelChange)="onChangedWrapper(qty)" (blur)="onTouched()" *ngIf="showQtyInputField">\n</daff-form-field>',styles:[".daff-qty-dropdown__input{width:50px}"]}]}],bt.ctorParameters=function(){return[{type:t.Renderer2}]},bt.propDecorators={qty:[{type:t.Input}],id:[{type:t.Input}],qtyChanged:[{type:t.Output}]};var vt=function(){};vt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,f.FormsModule,F,ne,ee],declarations:[bt],exports:[bt]}]}];var _t,xt="cubic-bezier(0.0, 0.0, 0.2, 1)",Ct={transformSidebar:l.trigger("transformSidebar",[l.state("open",l.style({transform:"none",visibility:"visible"})),l.transition("open => closed",l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)")),l.transition("closed => open",l.animate("350ms "+xt))]),transformContent:l.trigger("transformContent",[l.state("closed",l.style({transform:"none"})),l.transition("open => closed",l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)")),l.transition("closed => open",l.animate("350ms "+xt))])};!function(e){e.OPEN="open",e.CLOSED="closed"}(_t||(_t={}));var Dt=function(e,t){return void 0===t&&(t=!0),t?e&&t?"open":"closed":"open"},wt=function(e,n){var o=this;this._elementRef=e,this._ngZone=n,this.class=!0,this.escapePressed=new t.EventEmitter,this._ngZone.runOutsideAngular((function(){i.fromEvent(o._elementRef.nativeElement,"keydown").pipe(s.filter((function(e){return"Escape"===e.key}))).subscribe((function(e){return o._ngZone.run((function(){o.escapePressed.emit(),e.stopPropagation()}))}))}))};wt.decorators=[{type:t.Component,args:[{selector:"daff-sidebar",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,styles:[":host{display:block}.daff-sidebar{display:block;height:100%}"]}]}],wt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.NgZone}]},wt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-sidebar"]}],escapePressed:[{type:t.Output}]};var kt=function(){function e(e){this.ref=e,this._opened=!1,this._mode="side",this.backdropIsVisible=!0,this.backdropClicked=new t.EventEmitter}return Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._animationState=Dt(this.opened,this.animationsEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this._opened=e,this._animationState=Dt(e,this.animationsEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationsEnabled",{get:function(){return"over"===this.mode||"push"===this.mode},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this._animationState=Dt(this.opened,this.animationsEnabled)},e.prototype.ngAfterViewInit=function(){var e=this;this.sidebar&&this.sidebar.escapePressed.subscribe((function(){e.onEscape()}))},e.prototype._backdropClicked=function(){this.backdropClicked.emit()},Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return"over"===this.mode||"push"===this.mode},enumerable:!1,configurable:!0}),e.prototype.onEscape=function(){this.hasBackdrop&&(this.opened=!1,this.ref.markForCheck())},e}();kt.decorators=[{type:t.Component,args:[{selector:"daff-sidebar-viewport",template:'<div class="daff-sidebar-viewport {{ mode }}">\n <div class="daff-sidebar-viewport__sidebar" [@transformSidebar]="_animationState" [cdkTrapFocus]="opened && (mode === \'over\' || mode === \'push\')">\n <ng-content select="daff-sidebar" (escapePressed)="onEscape($event)"></ng-content>\n </div>\n\n <daff-backdrop \n class="daff-sidebar-viewport__backdrop" \n *ngIf="hasBackdrop && _opened"\n [transparent]="!backdropIsVisible" \n (backdropClicked)="_backdropClicked()"></daff-backdrop>\n\n <div class="daff-sidebar-viewport__content" [@transformContent]="_animationState">\n <ng-content></ng-content>\n </div>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,animations:[Ct.transformSidebar,Ct.transformContent],styles:[".daff-sidebar-viewport{display:flex;min-height:100%;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:2}.daff-sidebar-viewport__sidebar{flex-shrink:0;width:250px;will-change:transform,visibility;z-index:4}.daff-sidebar-viewport__backdrop{cursor:pointer;height:100%;position:absolute;width:100%;z-index:3}.daff-sidebar-viewport.push>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate3d(-250px,0,0);visibility:hidden}.daff-sidebar-viewport.push>.daff-sidebar-viewport__content{transform:translate3d(250px,0,0)}.daff-sidebar-viewport.over>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate3d(-250px,0,0);visibility:hidden}"]}]}],kt.ctorParameters=function(){return[{type:t.ChangeDetectorRef}]},kt.propDecorators={sidebar:[{type:t.ContentChild,args:[wt]}],mode:[{type:t.Input}],backdropIsVisible:[{type:t.Input}],opened:[{type:t.Input}],backdropClicked:[{type:t.Output}]};var Pt=function(){};Pt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,Fe,u.A11yModule],declarations:[wt,kt],exports:[wt,kt]}]}];var Ot=function(){this.class=!0};Ot.decorators=[{type:t.Directive,args:[{selector:"[daffHeroSubtitle]"}]}],Ot.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__subtitle"]}]};var It=function(){this.class=!0};It.decorators=[{type:t.Directive,args:[{selector:"[daffHeroTagline]"}]}],It.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__tagline"]}]};var Et,St=function(){this.class=!0};function Mt(e,n){var o=function(e){function t(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];var a=e.apply(this,b(t))||this;return a.textAlignment=n,a}return h(t,e),Object.defineProperty(t.prototype,"textAlignment",{get:function(){return this._textAlignment},set:function(e){var t=e||n;t!==this._textAlignment&&(this._textAlignment&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._textAlignment),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._textAlignment=t)},enumerable:!1,configurable:!0}),t}(e);return o.propDecorators={textAlignment:[{type:t.Input}]},o}St.decorators=[{type:t.Directive,args:[{selector:"[daffHeroTitle]"}]}],St.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__title"]}]},(e.DaffHeroLayoutEnum||(e.DaffHeroLayoutEnum={})).Centered="centered",(Et=e.DaffHeroSizeEnum||(e.DaffHeroSizeEnum={})).Compact="compact",Et.Small="small";var Bt=function(t){function n(e,n){var o=t.call(this,e,n)||this;return o.elementRef=e,o.renderer=n,o.class=!0,o}return h(n,t),Object.defineProperty(n.prototype,"centered",{get:function(){return this.layout===e.DaffHeroLayoutEnum.Centered},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"small",{get:function(){return this.size===e.DaffHeroSizeEnum.Small},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compact",{get:function(){return this.size===e.DaffHeroSizeEnum.Compact},enumerable:!1,configurable:!0}),n}(_(Mt((function(e,t){this._elementRef=e,this._renderer=t}))));Bt.decorators=[{type:t.Component,args:[{selector:"daff-hero",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,inputs:["color","textAlignment"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.75rem;margin:0;max-width:1040px;overflow-wrap:break-word;width:100%}@media (min-width:768px){.daff-hero__title{font-size:3.5rem;line-height:4rem}}.daff-hero__subtitle{font-size:1.5rem;line-height:2rem;font-weight:400;margin:16px 0 0;max-width:672px;width:100%}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]}]}],Bt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},Bt.propDecorators={layout:[{type:t.Input}],size:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-hero"]}],centered:[{type:t.HostBinding,args:["class.daff-hero--centered"]}],small:[{type:t.HostBinding,args:["class.daff-hero--small"]}],compact:[{type:t.HostBinding,args:["class.daff-hero--compact"]}]};var Ht=function(){};Ht.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Bt,It,St,Ot],exports:[Bt,It,St,Ot]}]}];var zt=function(){this.class=!0};zt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutSubtitle]"}]}],zt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__subtitle"]}]};var At=function(){this.class=!0};At.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutTagline]"}]}],At.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__tagline"]}]};var Rt=function(){this.class=!0};Rt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutTitle]"}]}],Rt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__title"]}]},(e.DaffCalloutLayoutEnum||(e.DaffCalloutLayoutEnum={})).Centered="centered",(e.DaffCalloutSizeEnum||(e.DaffCalloutSizeEnum={})).Compact="compact";var Nt=function(t){function n(e,n){var o=t.call(this,e,n)||this;return o.elementRef=e,o.renderer=n,o.class=!0,o}return h(n,t),Object.defineProperty(n.prototype,"centered",{get:function(){return this.layout===e.DaffCalloutLayoutEnum.Centered},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compact",{get:function(){return this.size===e.DaffCalloutSizeEnum.Compact},enumerable:!1,configurable:!0}),n}(_(Mt((function(e,t){this._elementRef=e,this._renderer=t}))));Nt.decorators=[{type:t.Component,args:[{selector:"daff-callout",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,inputs:["color","textAlignment"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}@media (min-width:1024px){.daff-callout{padding:96px 0}}.daff-callout__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:600px;padding:0;width:100%}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]}]}],Nt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},Nt.propDecorators={layout:[{type:t.Input}],size:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-callout"]}],centered:[{type:t.HostBinding,args:["class.daff-callout--centered"]}],compact:[{type:t.HostBinding,args:["class.daff-callout--compact"]}]};var jt=function(){};jt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Nt,Rt,zt,At],exports:[Nt,zt,Rt,At]}]}];var Tt=function(){this.class=!0};Tt.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureIcon]"}]}],Tt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__icon"]}]};var Ft=function(){this.class=!0};Ft.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureSubheader]"}]}],Ft.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__subheader"]}]};var Lt=function(){this.class=!0};Lt.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureSubtitle]"}]}],Lt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__subtitle"]}]};var Vt,qt=function(){this.class=!0};qt.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureTitle]"}]}],qt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__title"]}]},(Vt=e.DaffFeatureModeEnum||(e.DaffFeatureModeEnum={})).Compact="compact",Vt.Normal="normal";var Gt=function(){function t(){this.class=!0,this.mode=e.DaffFeatureModeEnum.Normal}return Object.defineProperty(t.prototype,"compact",{get:function(){return this.mode===e.DaffFeatureModeEnum.Compact},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this.mode===e.DaffFeatureModeEnum.Normal},enumerable:!1,configurable:!0}),t}();Gt.decorators=[{type:t.Component,args:[{selector:"daff-feature",template:'<ng-content select="[daffFeatureIcon]"></ng-content>\n<div class="daff-feature__content">\n <ng-content select="[daffFeatureSubheader]"></ng-content>\n <ng-content select="[daffFeatureTitle]"></ng-content>\n <ng-content select="[daffFeatureSubtitle]"></ng-content>\n <ng-content></ng-content>\n</div>',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-feature{border-radius:10px;display:flex}.daff-feature__icon{display:inline-block;max-width:30px}@media (min-width:480px){.daff-feature__icon{max-width:50px}}.daff-feature__subheader{text-transform:uppercase;font-size:.75rem;letter-spacing:.075rem;line-height:1rem}@media (min-width:480px){.daff-feature__subheader{font-size:.875rem}}.daff-feature__title{font-weight:700;margin:0 0 15px;padding:0}.daff-feature__subtitle{font-size:1rem;margin:0;padding:0}.daff-feature--normal{align-items:flex-start;flex-direction:column;padding:25px}@media (min-width:480px){.daff-feature--normal{align-items:center;flex-direction:row;padding:50px}}.daff-feature--normal .daff-feature__icon{margin:0 0 15px}@media (min-width:480px){.daff-feature--normal .daff-feature__icon{margin:0 25px 0 0}}.daff-feature--normal .daff-feature__subheader{margin:0 0 15px}@media (min-width:480px){.daff-feature--normal .daff-feature__subheader{margin:0 0 30px}}.daff-feature--normal .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width:480px){.daff-feature--normal .daff-feature__title{font-size:2rem;line-height:2rem}}.daff-feature--compact{align-items:flex-start;flex-direction:column;padding:25px}.daff-feature--compact .daff-feature__icon{margin:0 0 15px}.daff-feature--compact .daff-feature__subheader{margin:0 0 5px}.daff-feature--compact .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width:480px){.daff-feature--compact .daff-feature__title{font-size:1.5rem;line-height:1.5rem}}"]}]}],Gt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature"]}],mode:[{type:t.Input}],compact:[{type:t.HostBinding,args:["class.daff-feature--compact"]}],normal:[{type:t.HostBinding,args:["class.daff-feature--normal"]}]};var Ut=function(){};Ut.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Gt,qt,Lt,Tt,Ft],exports:[Gt,qt,Lt,Tt,Ft]}]}];var Qt=function(){this.class=!0};Qt.decorators=[{type:t.Directive,args:[{selector:"[daffCardActions]"}]}],Qt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__actions"]}]};var $t=function(){this.class=!0};$t.decorators=[{type:t.Directive,args:[{selector:"[daffCardImage]"}]}],$t.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__image"]}]};var Wt=function(){this.class=!0};Wt.decorators=[{type:t.Directive,args:[{selector:"[daffCardTagline]"}]}],Wt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__tagline"]}]};var Xt=function(){this.class=!0};Xt.decorators=[{type:t.Directive,args:[{selector:"[daffCardTitle]"}]}],Xt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__title"]}]};var Yt=function(e){function t(t,n){var o=e.call(this,t,n)||this;return o.elementRef=t,o.renderer=n,o.raised=!1,o.class=!0,o}return h(t,e),Object.defineProperty(t.prototype,"raisedClass",{get:function(){return this.raised},enumerable:!1,configurable:!0}),t}(_((function(e,t){this._elementRef=e,this._renderer=t})));Yt.decorators=[{type:t.Component,args:[{selector:"daff-card,a[daff-card]",template:'<ng-content select="[daffCardImage]"></ng-content>\n<div class="daff-card__content">\n\t<ng-content select="[daffCardTagline]"></ng-content>\n\t<ng-content select="[daffCardTitle]"></ng-content>\n\t<ng-content></ng-content>\n</div>\n<ng-content select="[daffCardActions]"></ng-content>',encapsulation:t.ViewEncapsulation.None,inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-card{display:flex;flex-direction:column;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card__image,.daff-card__image img{border-top-left-radius:inherit;border-top-right-radius:inherit}.daff-card__tagline{font-weight:700;text-transform:uppercase;font-size:.75rem;line-height:1rem;letter-spacing:1px;margin:0 0 4px;padding:0}.daff-card__title{font-weight:700;font-size:1.5rem;line-height:2rem;margin-bottom:16px}.daff-card__content{padding:24px}.daff-card__content p{margin:0;padding:0}.daff-card__actions{padding:0 24px 24px}a.daff-card{text-decoration:none}"]}]}],Yt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},Yt.propDecorators={raised:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-card"]}],raisedClass:[{type:t.HostBinding,args:["class.daff-card--raised"]}]};var Zt,Kt,Jt,en=function(){};en.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Yt,Wt,Xt,$t,Qt],exports:[Yt,Wt,Xt,$t,Qt]}]}],(Zt=e.DaffBreakpoints||(e.DaffBreakpoints={})).DESKTOP="(min-width: 1920px)",Zt.LAPTOP="(min-width: 1440px)",Zt.SMALL_LAPTOP="(min-width: 1200px)",Zt.BIG_TABLET="(min-width: 1024px)",Zt.TABLET="(min-width: 768px)",Zt.MOBILE="(min-width: 480px)",(Kt=e.DaffStatusEnum||(e.DaffStatusEnum={})).Warn="warn",Kt.Danger="danger",Kt.Success="success",(Jt=e.DaffTextAlignmentEnum||(e.DaffTextAlignmentEnum={})).Left="left",Jt.Center="center",Jt.Right="right",e.DaffAccordionComponent=Se,e.DaffAccordionItemComponent=Ee,e.DaffAccordionItemContentDirective=ke,e.DaffAccordionItemTitleDirective=Pe,e.DaffAccordionModule=Be,e.DaffArticleComponent=He,e.DaffArticleLeadDirective=ze,e.DaffArticleMetaDirective=Ae,e.DaffArticleModule=Ne,e.DaffArticleTitleDirective=Re,e.DaffBackdropComponent=Te,e.DaffBackdropModule=Fe,e.DaffButtonComponent=H,e.DaffButtonModule=z,e.DaffButtonSetComponent=Le,e.DaffButtonSetModule=Ve,e.DaffCalloutComponent=Nt,e.DaffCalloutModule=jt,e.DaffCalloutSubtitleDirective=zt,e.DaffCalloutTaglineDirective=At,e.DaffCalloutTitleDirective=Rt,e.DaffCardActionsDirective=Qt,e.DaffCardComponent=Yt,e.DaffCardImageDirective=$t,e.DaffCardModule=en,e.DaffCardTaglineDirective=Wt,e.DaffCardTitleDirective=Xt,e.DaffCheckboxComponent=ae,e.DaffCheckboxControlValueAccessorDirective=ie,e.DaffCheckboxModule=se,e.DaffCheckboxSetComponent=re,e.DaffContainerComponent=pe,e.DaffContainerModule=ue,e.DaffErrorMessageComponent=R,e.DaffErrorMessageModule=N,e.DaffErrorStateMatcher=A,e.DaffFeatureComponent=Gt,e.DaffFeatureIconDirective=Tt,e.DaffFeatureModule=Ut,e.DaffFeatureSubheaderDirective=Ft,e.DaffFeatureSubtitleDirective=Lt,e.DaffFeatureTitleDirective=qt,e.DaffFormFieldComponent=T,e.DaffFormFieldControl=j,e.DaffFormFieldModule=F,e.DaffGalleryImageComponent=Ge,e.DaffHeroComponent=Bt,e.DaffHeroModule=Ht,e.DaffHeroSubtitleDirective=Ot,e.DaffHeroTaglineDirective=It,e.DaffHeroTitleDirective=St,e.DaffImageComponent=Z,e.DaffImageGalleryComponent=qe,e.DaffImageGalleryModule=$e,e.DaffImageListComponent=Ue,e.DaffImageListModule=Qe,e.DaffImageModule=K,e.DaffInputComponent=J,e.DaffInputModule=ee,e.DaffLinkSetComponent=We,e.DaffLinkSetHeadingDirective=Xe,e.DaffLinkSetItemComponent=Ye,e.DaffLinkSetModule=Ke,e.DaffLinkSetSubheadingDirective=Ze,e.DaffListComponent=ot,e.DaffListItemComponent=Je,e.DaffListModule=at,e.DaffListSubheaderDirective=nt,e.DaffLoadingIconComponent=ge,e.DaffLoadingIconModule=he,e.DaffMediaGalleryComponent=q,e.DaffMediaGalleryModule=W,e.DaffModalActionsComponent=st,e.DaffModalComponent=it,e.DaffModalContentComponent=ft,e.DaffModalHeaderComponent=ct,e.DaffModalModule=dt,e.DaffModalService=pt,e.DaffModalTitleDirective=lt,e.DaffNativeSelectComponent=te,e.DaffNativeSelectModule=ne,e.DaffNavbarComponent=ut,e.DaffNavbarModule=gt,e.DaffPaginatorComponent=mt,e.DaffPaginatorModule=yt,e.DaffPrefixDirective=x,e.DaffPrefixSuffixModule=D,e.DaffProgressIndicatorComponent=ye,e.DaffProgressIndicatorModule=be,e.DaffQtyDropdownComponent=bt,e.DaffQtyDropdownModule=vt,e.DaffQuantityFieldComponent=le,e.DaffQuantityFieldModule=de,e.DaffQuantityInputComponent=fe,e.DaffQuantitySelectComponent=ce,e.DaffRadioComponent=xe,e.DaffRadioControlValueAccessorDirective=De,e.DaffRadioModule=we,e.DaffRadioSetComponent=ve,e.DaffSidebarComponent=wt,e.DaffSidebarModule=Pt,e.DaffSidebarViewportComponent=kt,e.DaffSuffixDirective=C,e.DaffThumbnailDirective=$,e.daffPrefixableMixin=k,e.daffSuffixableMixin=w,e.daffThumbnailCompatToken=Q,e.ɵa=me,e.ɵb=Ce,e.ɵc=Oe,e.ɵd=Me,e.ɵe=je,e.ɵf=L,e.ɵg=G,e.ɵi=U,e.ɵj=rt,e.ɵk=Ct,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */var g=function(e,t){return(g=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function h(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}g(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}Object.create;function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,o,r=n.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)i.push(a.value)}catch(e){o={error:e}}finally{try{a&&!a.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return i}function b(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}var _;Object.create;function v(e,n){var a=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var o=e.apply(this,b(t))||this;return o.color=n,o}return h(t,e),Object.defineProperty(t.prototype,"color",{get:function(){return this._color},set:function(e){var t,a=e||n;if(void 0!==a&&(t=a,!Object.values(_).includes(t)))throw new TypeError(a+" is not a valid color for the DaffPalette");a!==this._color&&(this._color&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._color),a&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+a),this._color=a)},enumerable:!1,configurable:!0}),t}(e);return a.propDecorators={color:[{type:t.Input}]},a}!function(e){e.PRIMARY="primary",e.SECONDARY="secondary",e.ACCENT="accent",e.TERTIARY="tertiary",e.BLACK="black",e.WHITE="white",e.THEME="theme",e.THEMECONTRAST="theme-contrast"}(_||(_={}));var x=function(){this.class=!0};x.decorators=[{type:t.Directive,args:[{selector:"[daffPrefix]"}]}],x.propDecorators={class:[{type:t.HostBinding,args:["class.daff-prefix"]}]};var C=function(){this.class=!0};C.decorators=[{type:t.Directive,args:[{selector:"[daffSuffix]"}]}],C.propDecorators={class:[{type:t.HostBinding,args:["class.daff-suffix"]}]};var D=function(){};function w(e){var n=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(this,b(t))||this}return h(t,e),t}(e);return n.decorators=[{type:t.Directive}],n.ctorParameters=function(){return[{type:Array}]},n.propDecorators={_suffix:[{type:t.ContentChild,args:[C,{static:!0}]}]},n}function k(e){var n=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.apply(this,b(t))||this}return h(t,e),t}(e);return n.decorators=[{type:t.Directive}],n.ctorParameters=function(){return[{type:Array}]},n.propDecorators={_prefix:[{type:t.ContentChild,args:[x,{static:!0}]}]},n}function P(e,n){var a=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var o=e.apply(this,b(t))||this;return o.size=n,o}return h(t,e),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(e){var t=e||n;t!==this._size&&(this._size&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._size),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._size=t)},enumerable:!1,configurable:!0}),t}(e);return a.propDecorators={size:[{type:t.Input}]},a}D.decorators=[{type:t.NgModule,args:[{imports:[],exports:[x,C],declarations:[x,C]}]}];var O,I,E,S,M=["daff-button","daff-stroked-button","daff-raised-button","daff-icon-button","daff-underline-button"],H=k(w(v((O=P((function(e,t){this._elementRef=e,this._renderer=t}),"md"),(E=function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,b(t))||this;return a.status=I,a}return h(t,e),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},set:function(e){var t=e||I;t!==this._status&&(this._status&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._status),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._status=t)},enumerable:!1,configurable:!0}),t}(O)).propDecorators={status:[{type:t.Input}]},E))));!function(e){e.Default="daff-button",e.Stroked="daff-stroked-button",e.Raised="daff-raised-button",e.Icon="daff-icon-button",e.Underline="daff-underline-button"}(S||(S={}));var B=function(e){function t(t,n){var a,o,r=e.call(this,t,n)||this;r.elementRef=t,r.renderer=n;try{for(var i=m(M),s=i.next();!s.done;s=i.next()){var f=s.value;r._hasHostAttributes(f)&&t.nativeElement.classList.add(f)}}catch(e){a={error:e}}finally{try{s&&!s.done&&(o=i.return)&&o.call(i)}finally{if(a)throw a.error}}return r}return h(t,e),t.prototype.ngOnInit=function(){var e,t;try{for(var n=m(M),a=n.next();!a.done;a=n.next()){var o=a.value;this._hasHostAttributes(o)&&(this.buttonType=o)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},Object.defineProperty(t.prototype,"button",{get:function(){return this.buttonType===S.Default||void 0===this.buttonType},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stroked",{get:function(){return this.buttonType===S.Stroked},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"raised",{get:function(){return this.buttonType===S.Raised},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"icon",{get:function(){return this.buttonType===S.Icon},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"underline",{get:function(){return this.buttonType===S.Underline},enumerable:!1,configurable:!0}),t.prototype._getHostElement=function(){return this.elementRef.nativeElement},t.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.some((function(t){return e._getHostElement().hasAttribute(t)}))},t}(H);B.decorators=[{type:t.Component,args:[{selector:"button[daff-button],button[daff-stroked-button],button[daff-raised-button],button[daff-icon-button],button[daff-underline-button],a[daff-button],a[daff-stroked-button],a[daff-raised-button],a[daff-icon-button],a[daff-underline-button]",template:'<ng-container *ngIf="_prefix">\n <ng-content select="[daffPrefix]"></ng-content>\n</ng-container>\n<span><ng-content></ng-content></span>\n<ng-container *ngIf="_suffix">\n <ng-content select="[daffSuffix]"></ng-content>\n</ng-container>',inputs:["color","size","status"],encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:['.daff-button,.daff-raised-button,.daff-stroked-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;transition:background-color .3s,border-color .3s,box-shadow .3s,color .3s,transform .3s;will-change:background-color,border-color,box-shadow,color;min-width:96px}.daff-button[disabled],.daff-raised-button[disabled],.daff-stroked-button[disabled]{cursor:not-allowed}.daff-button .daff-prefix,.daff-button .daff-suffix,.daff-raised-button .daff-prefix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-prefix,.daff-stroked-button .daff-suffix{vertical-align:middle}.daff-button .daff-prefix,.daff-raised-button .daff-prefix,.daff-stroked-button .daff-prefix{margin-right:8px}.daff-button .daff-suffix,.daff-raised-button .daff-suffix,.daff-stroked-button .daff-suffix{margin-left:8px}.daff-button.daff-sm,.daff-raised-button.daff-sm,.daff-stroked-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;padding:0 1rem}.daff-button.daff-md,.daff-raised-button.daff-md,.daff-stroked-button.daff-md{font-size:1rem;line-height:3rem;height:3rem;padding:0 1.5rem}.daff-button.daff-lg,.daff-raised-button.daff-lg,.daff-stroked-button.daff-lg{font-size:1.25rem;line-height:3.5rem;height:3.5rem;padding:0 1.5rem}.daff-icon-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;text-decoration:none;background:none;border:0;padding:0}.daff-icon-button[disabled]{cursor:not-allowed}.daff-icon-button.daff-sm{font-size:.875rem;line-height:2rem;height:2rem;width:2rem}.daff-icon-button.daff-md{font-size:1rem;line-height:2.5rem;height:2.5rem;width:2.5rem}.daff-icon-button.daff-lg{font-size:1.25rem;line-height:3rem;height:3rem;width:3rem}.daff-underline-button{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:4px;position:relative;text-align:center;background:transparent;border:0;border-radius:0;line-height:1.25rem;overflow:hidden;text-decoration:none;vertical-align:middle}.daff-underline-button .daff-prefix,.daff-underline-button .daff-suffix{vertical-align:middle}.daff-underline-button .daff-prefix{margin-right:8px}.daff-underline-button .daff-suffix{margin-left:8px}.daff-underline-button[disabled]{cursor:not-allowed}.daff-underline-button[disabled]:active:after,.daff-underline-button[disabled]:hover:after{-webkit-animation:none;animation:none}.daff-underline-button:focus{border-radius:4px}.daff-underline-button:after{bottom:0;content:"";height:2px;left:0;opacity:1;position:absolute;width:100%}.daff-underline-button:hover:after{-webkit-animation:none;animation:none}@media (min-width:1024px){.daff-underline-button:hover:after{-webkit-animation:underline-button-hover .7s ease;animation:underline-button-hover .7s ease}}.daff-underline-button.daff-sm{font-size:.875rem;height:1.25rem;padding:0}.daff-underline-button.daff-md{font-size:1rem;height:1.5rem;padding:0 0 4px}.daff-underline-button.daff-lg{font-size:1.25rem;height:1.75rem;padding:0 0 8px}@-webkit-keyframes underline-button-hover{0%{transform:translateX(0)}50%{transform:translateX(100%)}51%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes underline-button-hover{0%{transform:translateX(0)}50%{transform:translateX(100%)}51%{transform:translateX(-100%)}to{transform:translateX(0)}}']}]}],B.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},B.propDecorators={button:[{type:t.HostBinding,args:["class.daff-button"]}],stroked:[{type:t.HostBinding,args:["class.daff-stroked-button"]}],raised:[{type:t.HostBinding,args:["class.daff-raised-button"]}],icon:[{type:t.HostBinding,args:["class.daff-icon-button"]}],underline:[{type:t.HostBinding,args:["class.daff-underline-button"]}]};var z=function(){};z.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,D],declarations:[B],exports:[B,D]}]}];var A=function(){function e(){}return e.prototype.isErrorState=function(e,t){return e.errors&&(e.touched||t)},e}(),R=function(){};R.decorators=[{type:t.Component,args:[{selector:"daff-error-message",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;font-size:.875rem;margin-top:5px}"]}]}];var j=function(){};j.decorators=[{type:t.NgModule,args:[{exports:[R],declarations:[R]}]}];var N=function(){},T=function(){function e(){this.faChevronDown=o.faChevronDown,this.class=!0,this.formSubmitted=!1,this.isError=!1,this.isValid=!1}return Object.defineProperty(e.prototype,"isFocused",{get:function(){var e;return null===(e=this._control)||void 0===e?void 0:e.focused},enumerable:!1,configurable:!0}),e.prototype.ngDoCheck=function(){var e;(null===(e=this._control)||void 0===e?void 0:e.ngControl)&&(this.isError=this._control.ngControl.errors&&this._control.ngControl.touched,this.isValid=!this._control.ngControl.errors&&this._control.ngControl.touched)},e.prototype._validateFormControl=function(){if(!this._control)throw new Error("A DaffFormFieldComponent must contain a DaffFormFieldControl")},e.prototype.ngAfterContentInit=function(){this._validateFormControl()},e.prototype.ngAfterContentChecked=function(){this._validateFormControl()},e}();T.decorators=[{type:t.Component,args:[{selector:"daff-form-field",template:'<div class="daff-form-field__control" [class.daff-error]="isError" [class.daff-valid]="isValid" [class.daff-focus]="isFocused">\n <ng-content></ng-content>\n <div class="daff-form-field__icon" *ngIf="_control.controlType==\'native-select\'">\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </div>\n</div>\n<ng-content select="daff-error-message"></ng-content>\n',encapsulation:t.ViewEncapsulation.None,styles:[".daff-form-field{display:block;position:relative}.daff-form-field__control{border-radius:3px;display:inline-block;font-size:1rem;height:inherit;line-height:1.5rem;padding:10px 15px;width:100%}.daff-form-field__icon{display:inline-block;pointer-events:none;position:absolute;right:15px}"]}]}],T.propDecorators={class:[{type:t.HostBinding,args:["class.daff-form-field"]}],formSubmitted:[{type:t.Input}],_control:[{type:t.ContentChild,args:[N]}]};var F=function(){};F.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,a.FontAwesomeModule,j],exports:[T,j],declarations:[T]}]}];var L=new t.InjectionToken("DAFF_MEDIA_GALLERY_TOKEN"),V=function(){function e(){this.galleries={}}return e.prototype.add=function(e,t){if(this.galleries[e.name]){var n=this.galleries[e.name].getValue();t&&(n=Object.assign(Object.assign({},n),{thumbnails:b(n.thumbnails.filter((function(e){return e!==t})),[t])})),this.galleries[e.name].next(n)}else this.galleries[e.name]=new i.BehaviorSubject({gallery:e,thumbnails:t?[t]:[]});1===this.galleries[e.name].getValue().thumbnails.length&&t.select()},e.prototype.remove=function(e){!function(e){return!("gallery"in e)}(e)?this.removeThumbnail(e):this.removeGallery(e)},e.prototype.removeThumbnail=function(e){if(this.galleries[e.gallery.name]){var t=this.galleries[e.gallery.name].getValue(),n=t.thumbnails.indexOf(e);-1!==n&&this.galleries[e.gallery.name].next(Object.assign(Object.assign({},t),{thumbnails:b(t.thumbnails.slice(0,n),t.thumbnails.slice(n+1))}))}},e.prototype.removeGallery=function(e){delete this.galleries[e.name]},e.prototype.select=function(e){if(this.galleries[e.gallery.name]){var t=this.galleries[e.gallery.name].getValue(),n=t.thumbnails.indexOf(e);e.selected||-1===n||this.galleries[e.gallery.name].next(Object.assign(Object.assign({},t),{thumbnails:b(t.thumbnails.filter((function(t){return t!==e})).map((function(e){return e.deselect()})),[e.select()])}))}},e}();V.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new V},token:V,providedIn:"root"}),V.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var q=0,G=function(){function e(e){this.registry=e,this.class=!0,this.name=""+q,q++}return e.prototype.ngOnInit=function(){this.registry.add(this)},e.prototype.ngOnDestroy=function(){this.registry.remove(this)},e}();G.decorators=[{type:t.Component,args:[{selector:"daff-media-gallery",template:'<div class="daff-media-gallery__thumbnails">\n\t<ng-content select="[daffThumbnail]"></ng-content>\n</div>\n<div class="daff-media-gallery__selected-thumbnail">\n\t<daff-media-renderer></daff-media-renderer>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:L,useExisting:G}],styles:[":host(.daff-media-gallery){display:flex;flex-direction:column}@media (min-width:1024px){:host(.daff-media-gallery){flex-direction:row}}:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;display:inline-block;height:64px;width:64px;margin:0 2px;max-width:100%;overflow:hidden;user-select:none}@media (min-width:480px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{height:72px;width:72px}}@media (min-width:1024px){:host(.daff-media-gallery) ::ng-deep .daff-thumbnail{display:block;margin:0 0 4px;height:80px;width:80px}}.daff-media-gallery__thumbnails{margin:0 -2px;max-height:100%;order:2}@media (min-width:1024px){.daff-media-gallery__thumbnails{margin:0 8px 0 0;order:1}}.daff-media-gallery__selected-thumbnail{display:block;flex-grow:1;order:1}@media (min-width:1024px){.daff-media-gallery__selected-thumbnail{order:2}}"]}]}],G.ctorParameters=function(){return[{type:V}]},G.propDecorators={class:[{type:t.HostBinding,args:["class.daff-media-gallery"]}],name:[{type:t.Input}]};var U=function(){function e(e,t,n){this.componentFactoryResolver=e,this.registry=t,this.gallery=n,this._destroy$=new i.Subject}return e.prototype.ngOnInit=function(){var e=this;this.registry.galleries[this.gallery.name].pipe(s.takeUntil(this._destroy$)).subscribe((function(t){e.slot.clear();var n=t.thumbnails.filter((function(e){return e.selected})).shift();if(n){var a=n.component,o=e.componentFactoryResolver.resolveComponentFactory(a.constructor),r=e.slot.createComponent(o);o.inputs.forEach((function(e){r.instance[e.propName]=a[e.propName]})),r.changeDetectorRef.detectChanges()}}))},e.prototype.ngOnDestroy=function(){this._destroy$.next(!0),this._destroy$.unsubscribe()},e}();U.decorators=[{type:t.Component,args:[{selector:"daff-media-renderer",template:"<ng-template></ng-template>\n",changeDetection:t.ChangeDetectionStrategy.OnPush}]}],U.ctorParameters=function(){return[{type:t.ComponentFactoryResolver},{type:V},{type:void 0,decorators:[{type:t.Inject,args:[L]}]}]},U.propDecorators={slot:[{type:t.ViewChild,args:[t.TemplateRef,{static:!0,read:t.ViewContainerRef}]}]};var Q=new t.InjectionToken("thumbnailCompatToken"),$=function(){function e(e,n,a,o){this.component=e,this.cd=n,this.registry=a,this.gallery=o,this.class=!0,this.selected=!1,this.becameSelected=new t.EventEmitter}return Object.defineProperty(e.prototype,"selectedClass",{get:function(){return this.selected},enumerable:!1,configurable:!0}),e.prototype.onClick=function(e){this.registry.select(this)},e.prototype.ngOnInit=function(){this.registry.add(this.gallery,this)},e.prototype.ngOnDestroy=function(){this.registry.remove(this)},e.prototype.select=function(){return this.selected=!0,this.becameSelected.emit(),this.cd.markForCheck(),this},e.prototype.deselect=function(){return this.selected=!1,this.cd.markForCheck(),this},e}();$.decorators=[{type:t.Directive,args:[{selector:"[daffThumbnail]"}]}],$.ctorParameters=function(){return[{type:t.Type,decorators:[{type:t.Inject,args:[Q]}]},{type:t.ChangeDetectorRef},{type:V},{type:void 0,decorators:[{type:t.Inject,args:[L]}]}]},$.propDecorators={selectedClass:[{type:t.HostBinding,args:["class.daff-thumbnail--selected"]}],class:[{type:t.HostBinding,args:["class.daff-thumbnail"]}],becameSelected:[{type:t.Output}],onClick:[{type:t.HostListener,args:["click",["$event"]]}]};var W=function(){};W.decorators=[{type:t.NgModule,args:[{declarations:[G,$,U],imports:[n.CommonModule],exports:[$,G]}]}];var X=function(e,t){if(null===e[t]||void 0===e[t]||""===e[t])throw new Error("DaffImageComponent must have a defined "+t+" attribute.")},Y=function(e,t){var n=t.filter((function(t){try{X(e,t)}catch(e){return!0}return!1}));if(n.length)throw new Error("DaffImageComponent must have the "+n.join(",")+" attributes defined.")},Z=function(){function e(e){this.sanitizer=e,this.load=new t.EventEmitter}return Object.defineProperty(e.prototype,"src",{get:function(){return this._src},set:function(e){this._src=e,X(this,"src")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"alt",{get:function(){return this._alt},set:function(e){this._alt=e,X(this,"alt")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this._width},set:function(e){this._width=e,X(this,"width")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this._height},set:function(e){this._height=e,X(this,"height")},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){Y(this,["src","alt","width","height"])},Object.defineProperty(e.prototype,"_paddingTop",{get:function(){if(this.height&&this.width)return this.sanitizer.bypassSecurityTrustStyle("calc("+this.height+" / "+this.width+" * 100%)")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"maxWidth",{get:function(){return this.width+"px"},enumerable:!1,configurable:!0}),e}();Z.decorators=[{type:t.Component,args:[{selector:"daff-image",template:'<div class="daff-image__wrapper" [style.paddingTop]="_paddingTop">\n\t<img [src]="src" [alt]="alt" (load)="load.emit" loading="lazy"/>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:Q,useExisting:Z}],styles:[":host{display:inline-block;border-radius:inherit;position:relative;width:100%}:host img{position:absolute;left:0;right:0;top:0;bottom:0;height:auto;margin:auto;max-width:100%}.daff-image__wrapper{border-radius:inherit;height:0}"]}]}],Z.ctorParameters=function(){return[{type:r.DomSanitizer}]},Z.propDecorators={src:[{type:t.Input}],alt:[{type:t.Input}],width:[{type:t.Input}],height:[{type:t.Input}],load:[{type:t.Output}],maxWidth:[{type:t.HostBinding,args:["style.max-width"]}]};var K=function(){};K.decorators=[{type:t.NgModule,args:[{declarations:[Z],imports:[n.CommonModule],exports:[Z],entryComponents:[Z]}]}];var J=function(){function e(e,t){this.ngControl=e,this._elementRef=t,this.focused=!1}return e.prototype.focus=function(){this.focused=!0},e.prototype.blur=function(){this.focused=!1},e.prototype.onFocus=function(){this._elementRef.nativeElement.focus()},e}();J.decorators=[{type:t.Component,args:[{selector:"input[daff-input]",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:N,useExisting:J}],styles:[":host{border:none;border-radius:4px;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;padding:0;width:100%;box-sizing:border-box}:host:focus{border:none;box-shadow:none;outline:none}"]}]}],J.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ElementRef}]},J.propDecorators={formSubmitted:[{type:t.Input}],focus:[{type:t.HostListener,args:["focus"]}],blur:[{type:t.HostListener,args:["blur"]}]};var ee=function(){};ee.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[J],declarations:[J]}]}];var te=function(){function e(e,t){this.ngControl=e,this._elementRef=t,this.controlType="native-select",this.class=!0,this.focused=!1}return e.prototype.focus=function(){this.focused=!0},e.prototype.blur=function(){this.focused=!1},e.prototype.onFocus=function(){this._elementRef.nativeElement.focus()},e}();te.decorators=[{type:t.Component,args:[{selector:"select[daff-native-select]",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:N,useExisting:te}],styles:[".daff-native-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;background-clip:padding-box;border:0;box-shadow:none;font-size:1rem;line-height:1.5rem;margin:0;min-width:45px;width:100%}.daff-native-select:focus{border:0;box-shadow:none;outline:none}"]}]}],te.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ElementRef}]},te.propDecorators={class:[{type:t.HostBinding,args:["class.daff-native-select"]}],formSubmitted:[{type:t.Input}],focus:[{type:t.HostListener,args:["focus"]}],blur:[{type:t.HostListener,args:["blur"]}]};var ne=function(){};ne.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[te],declarations:[te]}]}];var ae=0,oe=function(){function e(e){this._cdRef=e,this._checked=!1,this.id="daff-checkbox-"+ae,this.label="",this.becameChecked=new t.EventEmitter,this.becameUnchecked=new t.EventEmitter,this.role="checkbox",ae++}return Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked!==e&&(!0===e?(this.nativeCheckbox.nativeElement.checked=!0,this.becameChecked.emit(this._checked)):(this.nativeCheckbox.nativeElement.checked=!1,this.becameUnchecked.emit()),this._checked=e)},enumerable:!1,configurable:!0}),e.prototype._onChange=function(e){e.target.checked?this.select():this.deselect()},Object.defineProperty(e.prototype,"focusClass",{get:function(){return!0===this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return!0===this.disabled},enumerable:!1,configurable:!0}),e.prototype.onBlur=function(){this.focused=!1},e.prototype.onFocus=function(){this.focused=!0},e.prototype.select=function(){this.checked=!0,this._cdRef.markForCheck()},e.prototype.deselect=function(){this.checked=!1,this._cdRef.markForCheck()},e}();oe.decorators=[{type:t.Component,args:[{selector:"daff-checkbox",template:'<input #inputElement\ntype="checkbox"\n[attr.aria-label]="label"\n[attr.aria-labelledby]="labeledBy"\n[attr.checked]="checked ? \'\' : null"\n[attr.id] = "id"\n[attr.value]="value"\n[attr.name]="name"\n[attr.disabled] = "disabled ? \'\' : null" \n(change)="_onChange($event)"\n(blur)="onBlur()"\n(focus)="onFocus()"\n/>\n<label [attr.for]="id"><ng-content></ng-content></label>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],oe.ctorParameters=function(){return[{type:t.ChangeDetectorRef}]},oe.propDecorators={nativeCheckbox:[{type:t.ViewChild,args:["inputElement",{static:!0,read:t.ElementRef}]}],name:[{type:t.Input}],value:[{type:t.Input}],checked:[{type:t.Input}],id:[{type:t.Input}],label:[{type:t.Input,args:["aria-label"]}],labeledBy:[{type:t.Input,args:["aria-labelledby"]}],becameChecked:[{type:t.Output}],becameUnchecked:[{type:t.Output}],role:[{type:t.HostBinding,args:["attr.role"]}],focusClass:[{type:t.HostBinding,args:["class.focused"]}],disabledClass:[{type:t.HostBinding,args:["class.disabled"]}]};var re=function(){function e(){this.role="group",this.valueList=new t.EventEmitter}return e.prototype.getValues=function(){var e=this.checkboxes.toArray();return this.formArray.value.map((function(t,n){return!0===t&&e[n].value})).filter((function(e){return!1!==e}))},e}();re.decorators=[{type:t.Component,args:[{selector:"daff-checkbox-set",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],re.propDecorators={formArray:[{type:t.Input}],name:[{type:t.Input}],role:[{type:t.HostBinding,args:["attr.role"]}],checkboxes:[{type:t.ContentChildren,args:[oe]}],valueList:[{type:t.Output}]};var ie=function(){function e(e,t){this._control=e,this._checkbox=t,null!=this._control&&(this._control.valueAccessor=this)}return e.prototype.ngOnInit=function(){var e=this;this.writeValue(this._control.value),this._checkbox.becameChecked.subscribe((function(){e._onChange(!0)})),this._checkbox.becameUnchecked.subscribe((function(){e._onChange(!1)}))},e.prototype.writeValue=function(e){!0===(e=!!e)?this.fireSelect():this.fireDeselect()},e.prototype.registerOnChange=function(e){this._onChange=function(t){e(t)}},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._checkbox.disabled=e},e.prototype.fireSelect=function(){this._checkbox.select()},e.prototype.fireDeselect=function(){this._checkbox.deselect()},e}();ie.decorators=[{type:t.Directive,args:[{selector:"daff-checkbox[ngModel], daff-checkbox[formControl], daff-checkbox[formControlName]"}]}],ie.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:oe}]},ie.propDecorators={value:[{type:t.Input}],name:[{type:t.Input}]};var se=function(){};se.decorators=[{type:t.NgModule,args:[{exports:[oe,re,ie],declarations:[oe,re,ie],imports:[n.CommonModule],providers:[re]}]}];var fe=function(){function e(e,t){this.ngControl=e,this.changeDetectorRef=t,this.min=1,this.max=10,this._inputControl=new f.FormControl,this.focused=!1,this._destroyed=new i.Subject}return Object.defineProperty(e.prototype,"value",{get:function(){return this.ngControl.control.value},set:function(e){var t=Math.min(Math.round(c.coerceNumberProperty(e)),this.max);this.ngControl.control.patchValue(t),this._inputControl.patchValue(t),this.changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.ngControl.control.disabled},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this._inputControl.patchValue(this.ngControl.control.value),this.setInputDisabled(),this.ngControl.statusChanges.pipe(s.takeUntil(this._destroyed)).subscribe((function(){e.setInputDisabled()}))},e.prototype.ngOnDestroy=function(){this._destroyed.next(!0)},e.prototype.focus=function(){this.focused=!0,this.input.focus()},e.prototype.onFocus=function(){this.focused=!0,this.ngControl.control.markAsTouched()},e.prototype.onBlur=function(){null!==this.value&&void 0!==this.value||(this.value=1,this.changeDetectorRef.markForCheck())},e.prototype.onValueChange=function(e){this.value=e.target.value},e.prototype.setInputDisabled=function(){this.ngControl.disabled?this._inputControl.disable():this._inputControl.enable()},e}();fe.decorators=[{type:t.Component,args:[{selector:"daff-quantity-input",template:'<input daff-input\n type="number"\n [attr.max]="max"\n [attr.min]="min"\n [attr.step]="1"\n (focus)="onFocus()"\n (blur)="onBlur()"\n (change)="onValueChange($event)"\n [formControl]="_inputControl"\n>\n',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],fe.ctorParameters=function(){return[{type:f.NgControl},{type:t.ChangeDetectorRef}]},fe.propDecorators={input:[{type:t.ViewChild,args:[J]}],min:[{type:t.Input}],max:[{type:t.Input}]};var ce=function(){function e(e,t){this.ngControl=e,this.changeDetectorRef=t,this.min=1,this.max=10,this.extendable=!0,this.increment=1,this._value=1}return Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=e,this.ngControl.control.patchValue(this._value),this.changeDetectorRef.markForCheck()},enumerable:!1,configurable:!0}),e.prototype.onValueChange=function(e){this.value=e.target.value},Object.defineProperty(e.prototype,"focused",{get:function(){return this.select.focused},enumerable:!1,configurable:!0}),e.prototype.focus=function(){this.select.focus()},Object.defineProperty(e.prototype,"valueArray",{get:function(){return e=this.min,t=this.max,n=this.increment,Array(t-e).fill(0).map((function(t,a){return a*n+e}));var e,t,n},enumerable:!1,configurable:!0}),e}();ce.decorators=[{type:t.Component,args:[{selector:"daff-quantity-select",template:'<select daff-native-select [formControl]="ngControl.control">\n <option *ngFor="let item of valueArray" [value]="item">{{ item }}</option>\n <option [value]="max" *ngIf="extendable">{{ max }}+</option>\n <option [value]="max" *ngIf="!extendable">{{ max }}</option>\n</select>\n',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],ce.ctorParameters=function(){return[{type:f.NgControl},{type:t.ChangeDetectorRef}]},ce.propDecorators={select:[{type:t.ViewChild,args:[te]}],min:[{type:t.Input}],max:[{type:t.Input}],extendable:[{type:t.Input}]};var le=function(){function e(e,t){this.ngControl=e,this.cd=t,this.min=1,this.max=500,this.selectMax=10,this.focused=!1,this.disabled=!1,this._quantity=1,this._inputHasBeenShown=!1,null!=this.ngControl&&(this.ngControl.valueAccessor=this)}return Object.defineProperty(e.prototype,"quantity",{get:function(){return this._quantity},set:function(e){this._quantity=c.coerceNumberProperty(e,1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"_maxFloor",{get:function(){return Math.min(this.max,this.selectMax)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"controlType",{get:function(){return this.showInputField?"native-input":"native-select"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showInputField",{get:function(){var e=this._inputHasBeenShown||(this.ngControl?this.ngControl.value>=this.selectMax:this.quantity>=this.selectMax);return e&&(this._inputHasBeenShown=!0),e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"showSelectField",{get:function(){return!this.showInputField},enumerable:!1,configurable:!0}),e.prototype.onChange=function(e){},e.prototype.onTouched=function(e){},e.prototype.writeValue=function(e){this.quantity=e,this.cd.markForCheck()},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.disabled=e},e.prototype.focus=function(){this.select&&this.select.focus(),this.input&&this.input.focus(),this.focused=!0},e}();le.decorators=[{type:t.Component,args:[{selector:"daff-quantity-field",template:'<daff-quantity-select\n *ngIf="showSelectField"\n [min]="min" [max]="_maxFloor" [extendable]="max > selectMax">\n</daff-quantity-select>\n<daff-quantity-input\n *ngIf="showInputField"\n [min]="min" [max]="max">\n</daff-quantity-input>\n',providers:[{provide:N,useExisting:le}],changeDetection:t.ChangeDetectionStrategy.OnPush}]}],le.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:t.ChangeDetectorRef}]},le.propDecorators={input:[{type:t.ViewChild,args:[fe]}],select:[{type:t.ViewChild,args:[ce]}],min:[{type:t.Input}],max:[{type:t.Input}],selectMax:[{type:t.Input}]};var de=function(){};de.decorators=[{type:t.NgModule,args:[{declarations:[le,fe,ce],imports:[n.CommonModule,ne,ee,f.ReactiveFormsModule],exports:[le,fe,ce]}]}];var pe=function(e){function t(t,n){var a=e.call(this,t,n)||this;return a.elementRef=t,a.renderer=n,a.class=!0,a}return h(t,e),t}(P((function(e,t){this._elementRef=e,this._renderer=t})));pe.decorators=[{type:t.Component,args:[{selector:"daff-container",template:"<ng-content></ng-content>",inputs:["size"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host-context(.daff-manage-container-layout){display:inherit;flex:inherit;flex-direction:inherit;flex-flow:inherit;flex-wrap:inherit;justify-content:inherit;justify-items:inherit;align-items:inherit;align-content:inherit;gap:inherit;grid-template-columns:inherit;grid-template-rows:inherit;grid-template-areas:inherit;grid-template:inherit;grid-auto-columns:inherit;grid-auto-rows:inherit;grid-auto-flow:inherit;grid:inherit;-moz-column-gap:inherit;column-gap:inherit;row-gap:inherit;grid-gap:inherit;grid-column-gap:inherit;grid-row-gap:inherit;place-items:inherit;place-content:inherit}:host{display:block;margin:0 auto;padding:0;width:100%}:host.daff-xs{max-width:640px}:host.daff-sm{max-width:800px}:host.daff-md{max-width:1040px}:host.daff-lg{max-width:1340px}:host.daff-xl{max-width:1920px}"]}]}],pe.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},pe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-container"]}]};var ue=function(){};ue.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[pe],exports:[pe]}]}];var ge=function(e){function t(t,n){var a=e.call(this,t,n)||this;return a.elementRef=t,a.renderer=n,a.diameter=60,a.class=!0,a}return h(t,e),Object.defineProperty(t.prototype,"maxWidth",{get:function(){return this.diameter+"px"},enumerable:!1,configurable:!0}),t}(v((function(e,t){this._elementRef=e,this._renderer=t}),"primary"));ge.decorators=[{type:t.Component,args:[{selector:"daff-loading-icon",template:'<svg focusable="false" preserveAspectRatio="xMidYMid meet" viewBox="0 0 100 100">\n <circle cx="50%" cy="50%" r="46"></circle>\n</svg>',inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block}circle{-webkit-animation:rotation linear,circle-animation linear;animation:rotation linear,circle-animation linear;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;fill:transparent;stroke-dasharray:101.1592834456 400;stroke-linecap:round;stroke-width:5px;transform-origin:center}@-webkit-keyframes circle-animation{0%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:101.1592834456}50%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:28.902652413}75%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:0}to{stroke-dasharray:0 400;stroke-dashoffset:-101.1592834456}}@keyframes circle-animation{0%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:101.1592834456}50%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:28.902652413}75%{stroke-dasharray:101.1592834456 400;stroke-dashoffset:0}to{stroke-dasharray:0 400;stroke-dashoffset:-101.1592834456}}@-webkit-keyframes rotation{0%{transform:rotate(-90deg)}50%{transform:rotate(0deg)}50.5%{transform:rotate(0deg)}75%{transform:rotate(90deg)}75.5%{transform:rotate(90deg)}99%{transform:rotate(144deg)}to{transform:rotate(144deg)}}@keyframes rotation{0%{transform:rotate(-90deg)}50%{transform:rotate(0deg)}50.5%{transform:rotate(0deg)}75%{transform:rotate(90deg)}75.5%{transform:rotate(90deg)}99%{transform:rotate(144deg)}to{transform:rotate(144deg)}}"]}]}],ge.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},ge.propDecorators={diameter:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-loading-icon"]}],maxWidth:[{type:t.HostBinding,args:["style.max-width"]}]};var he=function(){};he.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[ge],exports:[ge]}]}];var me={fill:l.trigger("fill",[l.state("*",l.style({width:"{{ percentage }}%"}),{params:{percentage:0}}),l.transition("* <=> *",l.animate(1e3))])},ye=function(e){function n(n,a){var o=e.call(this,n,a)||this;return o.elementRef=n,o.renderer=a,o.class=!0,o.percentage=0,o.finished=new t.EventEmitter,o}return h(n,e),n.prototype.onAnimationComplete=function(e){"100"!==e.toState&&100!==e.toState||this.finished.emit()},Object.defineProperty(n.prototype,"fillState",{get:function(){return{value:this.percentage,params:{percentage:this.percentage}}},enumerable:!1,configurable:!0}),n}(v((function(e,t){this._elementRef=e,this._renderer=t}),"primary"));ye.decorators=[{type:t.Component,args:[{selector:"daff-progress-indicator",template:'<div class="daff-progress-indicator__fill" [@fill]="fillState" (@fill.done)="onAnimationComplete($event)"></div>',changeDetection:t.ChangeDetectionStrategy.OnPush,inputs:["color"],animations:[me.fill],styles:[":host{display:flex;height:3px;width:100%}"]}]}],ye.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},ye.propDecorators={class:[{type:t.HostBinding,args:["class.daff-progress-indicator"]}],percentage:[{type:t.Input}],finished:[{type:t.Output}]};var be=function(){};be.decorators=[{type:t.NgModule,args:[{declarations:[ye],imports:[n.CommonModule],exports:[ye]}]}];var _e=function(){this.role="radiogroup"};_e.decorators=[{type:t.Component,args:[{selector:"daff-radio-set",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],_e.ctorParameters=function(){return[]},_e.propDecorators={name:[{type:t.Input}],role:[{type:t.HostBinding,args:["attr.role"]}]};var ve=0,xe=function(){function e(e){this.radioset=e,this.role="radio",this._checked=!1,this.selectionChange=new t.EventEmitter,this.id="daff-radio-"+ve,this.name="",this.label=this.name,this.disabled=!1,this.focused=!1,ve++}return Object.defineProperty(e.prototype,"focusClass",{get:function(){return!0===this.focused},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return!0===this.disabled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this._checked!==e&&(this._checked=e,this.selectionChange.emit(this.value))},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.name=this.radioset?this.radioset.name:this.name},e.prototype.onFocus=function(){this.focused=!0},e.prototype.onBlur=function(){this.focused=!1},e.prototype.select=function(){this.checked=!0},e.prototype.deselect=function(){this.checked=!1},e.prototype.onChange=function(){this.select()},e}();xe.decorators=[{type:t.Component,args:[{selector:"daff-radio",template:'<input type="radio" \n[attr.checked]="checked ? \'\' : null" \n[attr.id]="id" \n[attr.name]="name" \n[attr.aria-label]="label"\n[attr.aria-labelledby]="labelledby"\n[attr.value]="value"\n[attr.disabled] = "disabled ? \'\' : null" \n(change)="onChange()"\n(blur)="onBlur()"\n(focus)="onFocus()"/>\n<label [attr.for]="id">\n <ng-content></ng-content>\n</label>',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[""]}]}],xe.ctorParameters=function(){return[{type:_e,decorators:[{type:t.Optional}]}]},xe.propDecorators={role:[{type:t.HostBinding,args:["attr.role"]}],focusClass:[{type:t.HostBinding,args:["class.focused"]}],disabledClass:[{type:t.HostBinding,args:["class.disabled"]}],selectionChange:[{type:t.Output}],checked:[{type:t.Input}],value:[{type:t.Input}],id:[{type:t.Input}],name:[{type:t.Input}],label:[{type:t.Input,args:["aria-label"]}],labelledby:[{type:t.Input,args:["aria-labelledby"]}]};var Ce=function(){function e(){this._accessors=[]}return e.prototype.add=function(e,t){this._accessors.push({control:e,accessor:t})},e.prototype.remove=function(e){for(var t=this._accessors.length-1;t>=0;--t)if(this._accessors[t].accessor===e)return void this._accessors.splice(t,1)},e.prototype.select=function(e){var t=this;this._accessors.forEach((function(n){t._isSameGroup(n,e)&&n.accessor!==e&&n.accessor.fireDeselect()}))},e.prototype._isSameGroup=function(e,t){return!!e.control.control&&(e.control.control.parent===t._control.control.parent&&e.accessor.name===t.name)},e}();Ce.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new Ce},token:Ce,providedIn:"root"}),Ce.decorators=[{type:t.Injectable,args:[{providedIn:"root"}]}];var De=function(){function e(e,t,n){this._control=e,this._registry=t,this._radio=n,null!=this._control&&(this._control.valueAccessor=this)}return e.prototype.ngOnInit=function(){var e=this;this.writeValue(this._control.value),this._registry.add(this._control,this),this._radio.selectionChange.subscribe((function(t){return t?e._onChange():null}))},e.prototype.writeValue=function(e){this.value===e&&this._onChange&&(this._onChange(),this.fireSelect())},e.prototype.registerOnChange=function(e){var t=this;this._onChange=function(){e(t.value),t._registry.select(t)}},e.prototype.registerOnTouched=function(e){this._onTouched=e},e.prototype.setDisabledState=function(e){this._radio.disabled=e},e.prototype.fireSelect=function(){this._radio.select()},e.prototype.fireDeselect=function(){this._radio.deselect()},e}();De.decorators=[{type:t.Directive,args:[{selector:"daff-radio[ngModel], daff-radio[formControl], daff-radio[formControlName]"}]}],De.ctorParameters=function(){return[{type:f.NgControl,decorators:[{type:t.Optional},{type:t.Self}]},{type:Ce},{type:xe}]},De.propDecorators={value:[{type:t.Input}],name:[{type:t.Input}]};var we=function(){};we.decorators=[{type:t.NgModule,args:[{exports:[xe,_e,De],declarations:[De,xe,_e],imports:[n.CommonModule]}]}];var ke=function(){this.class=!0};ke.decorators=[{type:t.Directive,args:[{selector:"[daffAccordionItemContent]"}]}],ke.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item__content"]}]};var Pe=function(){this.class=!0};Pe.decorators=[{type:t.Directive,args:[{selector:"[daffAccordionItemTitle]"}]}],Pe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item__title"]}]};var Oe={openAccordion:l.trigger("openAccordion",[l.state("open",l.style({visibility:"visible",opacity:"1",height:"*"})),l.state("void",l.style({visibility:"hidden",overflow:"hidden",opacity:"0",height:"0"})),l.transition("void <=> open",l.animate("150ms ease-in"))])},Ie=function(e){return e?"open":"void"},Ee=function(){function e(){this.faChevronDown=o.faChevronDown,this.faChevronUp=o.faChevronUp,this.class=!0,this._open=!1}return e.prototype.ngOnInit=function(){this._open=this.initiallyActive?this.initiallyActive:this._open,this._animationState=Ie(this._open)},e.prototype.toggleActive=function(){this._open=!this._open,this._animationState=Ie(this._open)},e}();Ee.decorators=[{type:t.Component,args:[{selector:"daff-accordion-item",template:'<div class="daff-accordion-item__header" (click)="toggleActive()">\n <ng-content select="[daffAccordionItemTitle]"></ng-content>\n <span [hidden]="_open" daffSuffix>\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </span>\n <span [hidden]="!_open" daffSuffix>\n <fa-icon [icon]="faChevronUp"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]="_animationState">\n <ng-content></ng-content>\n</div>',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,animations:[Oe.openAccordion],styles:[".daff-accordion-item{display:block;padding:15px 0;width:100%}@media (min-width:768px){.daff-accordion-item{padding:30px 0}}.daff-accordion-item__header{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between;width:100%}.daff-accordion-item__header .daff-suffix{margin:0 10px}.daff-accordion-item__title{font-weight:700;text-transform:uppercase;font-size:1rem;margin:0}.daff-accordion-item__content{padding-top:15px}@media (min-width:768px){.daff-accordion-item__content{padding-top:30px}}"]}]}],Ee.propDecorators={class:[{type:t.HostBinding,args:["class.daff-accordion-item"]}],initiallyActive:[{type:t.Input}]};var Se=function(){};Se.decorators=[{type:t.Component,args:[{selector:"daff-accordion",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;width:100%}"]}]}];var Me=function(){function e(e,t){this.accordion=e,this.navAccordionItemParent=t,this.faChevronDown=o.faChevronDown,this.faChevronUp=o.faChevronUp,this._open=!1,this._level=0}return Object.defineProperty(e.prototype,"classes",{get:function(){return["daff-nav-accordion-item","daff-nav-accordion-item--level-"+this._level]},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this.navAccordionItemParent&&this.accordion===this.navAccordionItemParent.accordion&&(this._level=this.navAccordionItemParent._level+1),this._open=this.initiallyActive?this.initiallyActive:this._open,this._animationState=Ie(this._open)},e.prototype.toggleActive=function(){this._open=!this._open,this._animationState=Ie(this._open)},e}();Me.decorators=[{type:t.Component,args:[{selector:"daff-nav-accordion-item",template:'<div class="daff-nav-accordion-item__header" (click)="toggleActive()">\n <ng-content select="[daffAccordionItemTitle]"></ng-content>\n <span [hidden]="_open" daffSuffix *ngIf="_navAccordionItemChild.toArray().length">\n <fa-icon [icon]="faChevronDown"></fa-icon>\n </span>\n <span [hidden]="!_open" daffSuffix *ngIf="_navAccordionItemChild.toArray().length">\n <fa-icon [icon]="faChevronUp"></fa-icon>\n </span>\n</div>\n<div [@openAccordion]="_animationState">\n <ng-content></ng-content>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,animations:[Oe.openAccordion],styles:[":host(.daff-nav-accordion-item--level-1) .daff-nav-accordion-item__header{padding-left:15px}:host(.daff-nav-accordion-item--level-2) .daff-nav-accordion-item__header{padding-left:30px}:host(.daff-nav-accordion-item--level-3) .daff-nav-accordion-item__header{padding-left:45px}:host{display:block;padding-top:6px}.daff-nav-accordion-item__header{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:flex;align-items:center;justify-content:space-between;width:100%;padding-bottom:6px}.daff-nav-accordion-item__header .daff-suffix{margin:0 10px}"]}]}],Me.ctorParameters=function(){return[{type:Se},{type:Me,decorators:[{type:t.SkipSelf},{type:t.Optional}]}]},Me.propDecorators={classes:[{type:t.HostBinding,args:["class"]}],initiallyActive:[{type:t.Input}],_navAccordionItemChild:[{type:t.ContentChildren,args:[Me,{descendants:!0}]}]};var He=function(){};He.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,a.FontAwesomeModule,D],declarations:[Se,Ee,Me,Pe,ke],exports:[Se,Ee,Me,Pe,ke]}]}];var Be=function(){this.class=!0,this.role="article"};Be.decorators=[{type:t.Component,args:[{selector:"daff-article",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-article{display:block}.daff-article>h1,.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-bottom:.5rem}.daff-article>h2,.daff-article>h3,.daff-article>h4,.daff-article>h5,.daff-article>h6{margin-top:2rem}.daff-article>h1{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article>h1{font-size:3rem;line-height:3.5rem}}.daff-article>h2{font-size:2rem;line-height:2.5rem}.daff-article>h3{font-size:1.5rem;line-height:2rem}.daff-article>h4{font-size:1.25rem;line-height:1.5rem}.daff-article>h5{font-size:1.125rem;line-height:1.5rem}.daff-article>h6{font-size:1rem;line-height:1.5rem}.daff-article>p{margin:0 0 1rem}.daff-article>strong{font-weight:700}.daff-article a{font-weight:500}.daff-article pre{display:block;border-radius:4px;font-size:.875rem;line-height:1.5rem;margin:0;padding:1.5rem;overflow:auto;white-space:pre-wrap}.daff-article pre code{display:block;padding:0}.daff-article code{display:inline-block;border-radius:4px;font-size:.875rem;line-height:1rem;padding:.25rem}.daff-article__title{font-weight:700;font-size:2rem;line-height:2.25rem}@media (min-width:768px){.daff-article__title{font-size:3rem;line-height:3.5rem}}.daff-article__lead{font-size:1.25rem;line-height:1.75rem;font-weight:400;margin:0}.daff-article__lead code{font-size:1.25rem;line-height:1.5rem;font-weight:400}.daff-article__meta{font-size:.875rem}.daff-article hr{border:0;height:1px;margin:2rem 0}.daff-article blockquote{border-radius:4px;margin:0;padding:1rem 1.5rem}.daff-article blockquote cite{font-size:.875rem;font-weight:400;line-height:1.25rem;display:block;margin-top:1rem}.daff-article table{display:block;border-collapse:collapse;margin:1.5rem 0;overflow:auto;width:100%}.daff-article table th{font-weight:600;outline:0;padding:1rem;text-align:left;vertical-align:bottom;box-sizing:border-box}.daff-article table td{padding:8px 16px;vertical-align:top;box-sizing:border-box}"]}]}],Be.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article"]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var ze=function(){this.class=!0};ze.decorators=[{type:t.Directive,args:[{selector:"[daffArticleLead]"}]}],ze.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__lead"]}]};var Ae=function(){this.class=!0};Ae.decorators=[{type:t.Directive,args:[{selector:"[daffArticleMeta]"}]}],Ae.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__meta"]}]};var Re=function(){this.class=!0};Re.decorators=[{type:t.Directive,args:[{selector:"[daffArticleTitle]"}]}],Re.propDecorators={class:[{type:t.HostBinding,args:["class.daff-article__title"]}]};var je=function(){};je.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Be,Re,ze,Ae],exports:[Be,Re,ze,Ae]}]}];var Ne={fadeBackdrop:l.trigger("fadeBackdrop",[l.transition(":enter",[l.style({opacity:0}),l.animate("350ms cubic-bezier(0.0, 0.0, 0.2, 1)",l.style({opacity:1}))]),l.transition(":leave",[l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)",l.style({opacity:0}))])])},Te=function(){function e(){this.transparent=!1,this.fullscreen=!1,this.backdropClicked=new t.EventEmitter}return e.prototype.onBackdropClicked=function(){this.backdropClicked.emit()},e}();Te.decorators=[{type:t.Component,args:[{selector:"daff-backdrop",template:'<div class="daff-backdrop" [class.daff-backdrop--fullscreen]="fullscreen" [class.daff-backdrop--transparent]="transparent"></div>\n',animations:[Ne.fadeBackdrop],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:block;-webkit-tap-highlight-color:rgba(0,0,0,0)}.daff-backdrop{background:rgba(0,0,0,.3);height:100%;width:100%}.daff-backdrop--transparent{background:none}.daff-backdrop:active,.daff-backdrop:focus,.daff-backdrop:visited{outline:0}.daff-backdrop--fullscreen{position:absolute}"]}]}],Te.propDecorators={transparent:[{type:t.Input}],fullscreen:[{type:t.Input}],backdropClicked:[{type:t.Output}],onBackdropClicked:[{type:t.HostBinding,args:["@fadeBackdrop"]},{type:t.HostListener,args:["click"]}]};var Fe=function(){};Fe.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Te],exports:[Te],entryComponents:[Te]}]}];var Le=function(){this.class=!0};Le.decorators=[{type:t.Component,args:[{selector:"daff-button-set",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-button-set{display:flex;flex-direction:column;flex-wrap:wrap}@media (min-width:480px){.daff-button-set{flex-direction:row}}.daff-button-set>*{margin:0 0 5px}.daff-button-set>:last-child{margin:0}@media (min-width:480px){.daff-button-set>*{margin:0 5px 0 0}.daff-button-set>:last-child{margin:0}}"]}]}],Le.propDecorators={class:[{type:t.HostBinding,args:["class.daff-button-set"]}]};var Ve=function(){};Ve.decorators=[{type:t.NgModule,args:[{declarations:[Le],exports:[Le]}]}];var qe=function(){};qe.decorators=[{type:t.Component,args:[{selector:"daff-image-gallery",template:'<div class="daff-image-gallery">\n <div class="daff-image-gallery__active-image">\n <ng-content select="[daff-active-image]"></ng-content>\n </div>\n\n <daff-image-list class="daff-image-gallery__image-list">\n <ng-content select="daff-gallery-image"></ng-content>\n </daff-image-list>\n</div>\n',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:['.daff-image-gallery{display:grid;flex-direction:column;grid-template-areas:"active-image" "image-list";max-height:100%}@media (min-width:1024px){.daff-image-gallery{grid-template-areas:"image-list active-image";max-height:-webkit-min-content;max-height:-moz-min-content;max-height:min-content}}.daff-image-gallery__active-image{grid-area:active-image}.daff-image-gallery__active-image img{display:block;max-width:100%}.daff-image-gallery__image-list{grid-area:image-list;margin:5px 0 0;max-height:100%}@media (min-width:1024px){.daff-image-gallery__image-list{margin:0 25px 0 0;max-height:-webkit-fill-available}}.daff-image-gallery__daff-gallery-image img{display:block;opacity:.6;width:90px}.daff-image-gallery__daff-gallery-image--selected img{opacity:1}']}]}];var Ge=function(){this.class=!0};Ge.decorators=[{type:t.Component,args:[{selector:"daff-gallery-image",template:'<div class="gallery-image__wrapper">\n <ng-content></ng-content>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],Ge.propDecorators={selected:[{type:t.HostBinding,args:["class.daff-image-gallery__daff-gallery-image--selected"]},{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-image-gallery__daff-gallery-image"]}]};var Ue=function(){this.class=!0};Ue.decorators=[{type:t.Component,args:[{selector:"daff-image-list",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-image-list{overflow:scroll;white-space:nowrap}.daff-image-list>*{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;display:inline-block;margin:0 5px 0 0}@media (min-width:1024px){.daff-image-list>*{display:block;margin:0 0 5px}}.daff-image-list>:last-child{margin:0}::-webkit-scrollbar{height:2px;width:2px}::-webkit-scrollbar-thumb{box-shadow:inset 0 0 3px #b6b6b6;-webkit-box-shadow:inset 0 0 3px #b6b6b6}"]}]}],Ue.propDecorators={class:[{type:t.HostBinding,args:["class.daff-image-list"]}]};var Qe=function(){};Qe.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Ue],exports:[Ue]}]}];var $e=function(){};$e.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,Qe],declarations:[qe,Ge],exports:[qe,Ge]}]}];var We=function(){this.class=!0};We.decorators=[{type:t.Component,args:[{selector:"daff-link-set",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-link-set{display:block;margin:0;padding:0}.daff-link-set__heading{font-weight:700;display:block;font-size:1rem;line-height:1em;margin-bottom:15px;text-transform:uppercase}.daff-link-set__subheading{display:block;font-size:1rem;line-height:1.5em}.daff-link-set__item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;color:currentColor;display:block;font-size:1em;line-height:1.5em;text-decoration:none;transition:color .15s ease}.daff-link-set__item:hover{text-decoration:underline}.daff-link-set__item[disabled]{cursor:not-allowed}.daff-link-set .daff-link-set{margin-left:10px}"]}]}],We.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set"]}]};var Xe=function(){this.class=!0};Xe.decorators=[{type:t.Directive,args:[{selector:"[daffLinkSetHeading]"}]}],Xe.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__heading"]}]};var Ye=function(){this.class=!0};Ye.decorators=[{type:t.Component,args:[{selector:"a[daff-link-set-item]",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush}]}],Ye.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__item"]}]};var Ze=function(){this.class=!0};Ze.decorators=[{type:t.Directive,args:[{selector:"[daffLinkSetSubheading]"}]}],Ze.propDecorators={class:[{type:t.HostBinding,args:["class.daff-link-set__subheading"]}]};var Ke=function(){};Ke.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],exports:[We,Xe,Ze,Ye],declarations:[We,Xe,Ze,Ye]}]}];var Je=function(){function e(e){this.elementRef=e,this.class=!0}return Object.defineProperty(e.prototype,"role",{get:function(){return this._isAnchor()?null:"listitem"},enumerable:!1,configurable:!0}),e.prototype._getHostElement=function(){return this.elementRef.nativeElement},e.prototype._isAnchor=function(){return"a"===this.elementRef.nativeElement.localName},e}();Je.decorators=[{type:t.Component,args:[{selector:"daff-list-item,a[daff-list-item]",template:'<ng-container *ngIf="_prefix">\n <ng-content select="[daffPrefix]"></ng-content>\n</ng-container>\n<div class="daff-list-item__content">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf="_suffix">\n <ng-content select="[daffSuffix]"></ng-content>\n</ng-container>',changeDetection:t.ChangeDetectionStrategy.OnPush}]}],Je.ctorParameters=function(){return[{type:t.ElementRef}]},Je.propDecorators={class:[{type:t.HostBinding,args:["class.daff-list-item"]}],_prefix:[{type:t.ContentChild,args:[x]}],_suffix:[{type:t.ContentChild,args:[C]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var et,tt,nt=function(){this.class=!0};nt.decorators=[{type:t.Directive,args:[{selector:"[daffListSubheader]"}]}],nt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-list__subheader"]}]},(et=e.DaffListModeEnum||(e.DaffListModeEnum={})).Multiline="multi-line",et.Link="link",et.Navigation="navigation",function(e){e.Default="daff-list",e.Nav="daff-nav-list"}(tt||(tt={}));var at=function(){function t(e){this.elementRef=e}return Object.defineProperty(t.prototype,"list",{get:function(){return this.listType===tt.Default},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"multiline",{get:function(){return this.mode===e.DaffListModeEnum.Multiline},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"link",{get:function(){return this.mode===e.DaffListModeEnum.Link},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"navigation",{get:function(){return this.mode===e.DaffListModeEnum.Navigation},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listType",{get:function(){return this._getHostElement().localName},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"nav",{get:function(){return this.listType===tt.Nav},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"role",{get:function(){return this.listType===tt.Nav?"navigation":"list"},enumerable:!1,configurable:!0}),t.prototype._getHostElement=function(){return this.elementRef.nativeElement},t}();at.decorators=[{type:t.Component,args:[{selector:"daff-list,daff-nav-list",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-list{display:block;margin:0;padding:0}.daff-list .daff-list-item{display:flex;padding:12px 16px}.daff-list .daff-list-item__content{flex-grow:1}.daff-list .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5em;margin:0;padding:0}.daff-list .daff-list-item__content :nth-child(n+2){font-size:1rem;margin:0;padding:0}.daff-list .daff-list-item .daff-prefix,.daff-list .daff-list-item .daff-suffix{display:flex;align-items:center}.daff-list .daff-list-item .daff-prefix{margin-right:24px}.daff-list .daff-list-item .daff-suffix{margin-left:24px}.daff-list__subheader{font-weight:700;text-transform:uppercase;font-size:1rem;padding:0 0 25px}.daff-list--link a,.daff-list--navigation a{text-decoration:none}.daff-list--link a:hover,.daff-list--navigation a:hover{color:#474747}.daff-list--multi-line .daff-list-item{padding:15px 0}.daff-list--multi-line .daff-list-item:first-of-type{padding:0 0 15px}.daff-list--multi-line .daff-list-item:last-of-type{padding:15px 0 0}.daff-list--multi-line .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5rem;margin:0 0 10px;padding:0}.daff-list--multi-line .daff-list-item__content :nth-child(n+2),.daff-nav-list{margin:0;padding:0}.daff-nav-list{display:block}.daff-nav-list .daff-list-item{display:flex;padding:12px 16px}.daff-nav-list .daff-list-item__content{flex-grow:1}.daff-nav-list .daff-list-item__content :first-child{font-weight:700;font-size:1rem;line-height:1.5em;margin:0;padding:0}.daff-nav-list .daff-list-item__content :nth-child(n+2){font-size:1rem;margin:0;padding:0}.daff-nav-list .daff-list-item .daff-prefix,.daff-nav-list .daff-list-item .daff-suffix{display:flex;align-items:center}.daff-nav-list .daff-list-item .daff-prefix{margin-right:24px}.daff-nav-list .daff-list-item .daff-suffix{margin-left:24px}.daff-nav-list .daff-list-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none;text-decoration:none}"]}]}],at.ctorParameters=function(){return[{type:t.ElementRef}]},at.propDecorators={mode:[{type:t.Input}],list:[{type:t.HostBinding,args:["class.daff-list"]}],multiline:[{type:t.HostBinding,args:["class.daff-list--multi-line"]}],link:[{type:t.HostBinding,args:["class.daff-list--link"]}],navigation:[{type:t.HostBinding,args:["class.daff-list--navigation"]}],nav:[{type:t.HostBinding,args:["class.daff-nav-list"]}],role:[{type:t.HostBinding,args:["attr.role"]}]};var ot=function(){};ot.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,D],declarations:[at,nt,Je],exports:[at,nt,Je,D]}]}];var rt={fade:l.trigger("fade",[l.state("open",l.style({opacity:1})),l.state("closed",l.style({opacity:0})),l.transition("open <=> closed",l.animate("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])},it=function(){function e(){this.open=!1,this.animationCompleted=new t.EventEmitter,this.closedAnimationCompleted=new t.EventEmitter,this.hide=new t.EventEmitter,this.modalClass=!0}return e.prototype.attachContent=function(e){this._portalOutlet.attachComponentPortal(e)},Object.defineProperty(e.prototype,"fadeState",{get:function(){return this.open?"open":"closed"},enumerable:!1,configurable:!0}),e.prototype.animationDone=function(e){this.animationCompleted.emit(e),"closed"===e.toState&&this.closedAnimationCompleted.emit(e)},e}();it.decorators=[{type:t.Component,args:[{selector:"daff-modal",template:"<ng-template cdkPortalOutlet></ng-template>\n",animations:[rt.fade],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;border-radius:4px;height:100%;max-width:80vw;overflow:hidden;padding:24px;z-index:3}@media (min-width:480px){:host{height:auto}}"]}]}],it.propDecorators={open:[{type:t.Input}],_portalOutlet:[{type:t.ViewChild,args:[d.CdkPortalOutlet,{static:!0}]}],modalClass:[{type:t.HostBinding,args:["class.daff-modal"]}],fadeState:[{type:t.HostBinding,args:["@fade"]}],animationDone:[{type:t.HostListener,args:["@fade.done",["$event"]]}]};var st=function(){};st.decorators=[{type:t.Component,args:[{selector:"daff-modal-actions",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;padding-top:24px}"]}]}];var ft=function(){};ft.decorators=[{type:t.Component,args:[{selector:"daff-modal-content",template:"<ng-content></ng-content>",changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;margin:0 -24px;max-height:60vh;overflow:auto;padding:0 24px}"]}]}];var ct=function(){this.class=!0};ct.decorators=[{type:t.Component,args:[{selector:"daff-modal-header",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block}.daff-modal-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.daff-modal-header .daff-modal-title{font-weight:700;font-size:1.25rem;margin:0;padding:0}@media (min-width:480px){.daff-modal-header .daff-modal-title{font-size:1.5rem}}"]}]}],ct.propDecorators={class:[{type:t.HostBinding,args:["class.daff-modal-header"]}]};var lt=function(){this.class=!0};lt.decorators=[{type:t.Directive,args:[{selector:"[daffModalTitle]"}]}],lt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-modal-title"]}]};var dt=function(){};dt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,d.PortalModule,p.OverlayModule],exports:[ct,lt,ft,st],declarations:[it,ct,lt,ft,st]}]}];var pt=function(){function e(e){this.overlay=e,this._modals=[],this.defaultConfiguration={}}return e.prototype._attachModal=function(e){var t=e.attach(new d.ComponentPortal(it));return t.instance.open=!0,t},e.prototype._attachModalContent=function(e,t){t.instance.attachContent(new d.ComponentPortal(e))},e.prototype._createOverlayRef=function(){return this.overlay.create({hasBackdrop:!0,positionStrategy:(new p.GlobalPositionStrategy).centerHorizontally().centerVertically(),scrollStrategy:this.overlay.scrollStrategies.block()})},e.prototype._removeModal=function(e){if(-1===this._modals.indexOf(e))throw new Error("The Modal that you are trying to remove does not exist.");e.overlay.dispose(),this._modals=this._modals.filter((function(t){return t!==e}))},e.prototype.open=function(e,t){var n=this,a=Object.assign(Object.assign({},this.defaultConfiguration),t),o=this._createOverlayRef(),r=this._attachModal(o),i=(this._attachModalContent(e,r),{modal:r,overlay:o});return this._modals.push(i),o.backdropClick().subscribe((function(){return a.onBackdropClicked?a.onBackdropClicked():n.close(i)})),i},e.prototype.close=function(e){var t=this;e.modal.instance.open=!1,e.overlay.detachBackdrop(),e.modal.instance.closedAnimationCompleted.subscribe((function(n){return t._removeModal(e)}))},e}();function ut(e){return function(e){function t(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var a=e.apply(this,b(t))||this;return a._renderer.addClass(a._elementRef.nativeElement,"daff-manage-container-layout"),a}return h(t,e),t}(e)}pt.ɵprov=t.ɵɵdefineInjectable({factory:function(){return new pt(t.ɵɵinject(p.Overlay))},token:pt,providedIn:dt}),pt.decorators=[{type:t.Injectable,args:[{providedIn:dt}]}],pt.ctorParameters=function(){return[{type:p.Overlay}]};var gt=function(e){function t(t,n){var a=e.call(this,t,n)||this;return a.elementRef=t,a.renderer=n,a.shadowed=!1,a.hostClass=!0,a}return h(t,e),Object.defineProperty(t.prototype,"shadowClass",{get:function(){return this.shadowed},enumerable:!1,configurable:!0}),t}(ut(v((function(e,t){this._elementRef=e,this._renderer=t}))));gt.decorators=[{type:t.Component,args:[{selector:"daff-navbar",template:"<ng-content></ng-content>",inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{align-items:center;display:flex;height:70px;padding:0 15px;width:100%}"]}]}],gt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},gt.propDecorators={shadowed:[{type:t.Input}],shadowClass:[{type:t.HostBinding,args:["class.daff-navbar--shadowed"]}],hostClass:[{type:t.HostBinding,args:["class.daff-navbar"]}]};var ht=function(){};ht.decorators=[{type:t.NgModule,args:[{declarations:[gt],exports:[gt]}]}];var mt=v((function(e,t){this._elementRef=e,this._renderer=t})),yt=function(e){function n(n,a){var r=e.call(this,n,a)||this;r.elementRef=n,r.renderer=a,r.class=!0,r.role="navigation",r.faChevronRight=o.faChevronRight,r.faChevronLeft=o.faChevronLeft,r.notifyPageChange=new t.EventEmitter;var i=n.nativeElement.attributes["aria-label"];return r._paginatorId=i?i.nodeValue:null,r}return h(n,e),n.prototype.ngOnChanges=function(){if(this.numberOfPages<1)throw new Error("The numberOfPages in the daff-paginator must not be less than 1");if(this.numberOfPages<this.currentPage)throw new Error("The numberOfPages in the daff-paginator should not be less than the currentPage");this._numberOfPagesArray=this.numberOfPages<2?[]:Array(this.numberOfPages-2).fill(this.numberOfPages-2).map((function(e,t){return t+2}))},n.prototype._onNotifyPrevPageChange=function(){this.notifyPageChange.emit(this.currentPage-1)},n.prototype._onNotifyNextPageChange=function(){this.notifyPageChange.emit(this.currentPage+1)},n.prototype._onNotifyPageChange=function(e){this.notifyPageChange.emit(e)},n.prototype._isSelected=function(e){return e===this.currentPage},n.prototype._showFirstEllipsis=function(){return this.currentPage>=4},n.prototype._showLastEllipsis=function(){return this.currentPage<this.numberOfPages-2},n.prototype._showNumber=function(e){return Math.abs(this.currentPage-e)<2||this.currentPage<=2&&e<=4||this.currentPage>this.numberOfPages-2&&e>this.numberOfPages-4},n.prototype._disablePrev=function(){return 1===this.currentPage},n.prototype._disableNext=function(){return this.currentPage===this.numberOfPages},n}(mt);yt.decorators=[{type:t.Component,args:[{selector:"daff-paginator",template:'<button type="button" class="daff-paginator__previous"\n [disabled]="_disablePrev()"\n tabindex="0"\n attr.aria-label="Go to Previous Page of {{_paginatorId}} Paginator"\n (click)="_onNotifyPrevPageChange()">\n <fa-icon [icon]="faChevronLeft"></fa-icon> Previous\n</button>\n\n<button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(1)"\n tabindex="0"\n attr.aria-label="Go to Page 1 of {{_paginatorId}} Paginator"\n (click)="_onNotifyPageChange(1)">\n 1\n</button>\n\n<span class="daff-paginator__ellipsis" *ngIf="_showFirstEllipsis()">...</span>\n\n<ng-container *ngFor="let pageNumber of _numberOfPagesArray">\n <button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(pageNumber)"\n tabindex="0"\n attr.aria-label="Go to Page {{pageNumber}} of {{_paginatorId}} Paginator"\n aria-current="_isSelected(pageNumber)"\n *ngIf="_showNumber(pageNumber)"\n (click)="_onNotifyPageChange(pageNumber)">\n {{ pageNumber }}\n </button>\n</ng-container>\n\n<span class="daff-paginator__ellipsis" *ngIf="_showLastEllipsis()">...</span>\n\n<button type="button" class="daff-paginator__page-link"\n [class.selected]="_isSelected(numberOfPages)"\n tabindex="0"\n attr.aria-label="Go To Page {{numberOfPages}} of {{_paginatorId}} Paginator"\n (click)="_onNotifyPageChange(numberOfPages)"\n *ngIf="!(numberOfPages < 2)">\n {{ numberOfPages }}\n</button>\n\n<button class="daff-paginator__next"\n [disabled]="_disableNext()"\n tabindex="0"\n attr.aria-label="Go to Next Page of {{_paginatorId}} Paginator"\n (click)="_onNotifyNextPageChange()">\n Next <fa-icon [icon]="faChevronRight"></fa-icon>\n</button>\n',inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:flex}.daff-paginator__next,.daff-paginator__previous{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;border-radius:3px;display:flex;line-height:1em;padding:5px 10px}.daff-paginator__previous fa-icon{margin-right:10px}.daff-paginator__next fa-icon{margin-left:10px}.daff-paginator__ellipsis{padding:5px 10px}.daff-paginator__page-link{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:0;border-radius:3px;display:inline-block;margin:0 5px;padding:5px 10px;transition:background .15s ease}"]}]}],yt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},yt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-paginator"]}],role:[{type:t.HostBinding,args:["attr.role"]}],numberOfPages:[{type:t.Input}],currentPage:[{type:t.Input}],notifyPageChange:[{type:t.Output}]};var bt=function(){};bt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,a.FontAwesomeModule,z],declarations:[yt],exports:[yt]}]}];var _t=function(){function e(e){this.renderer=e,this.dropdownRange=9,this.qtyChanged=new t.EventEmitter,this.onChange=function(e){},this.onTouched=function(){}}return e.prototype.ngOnInit=function(){this.dropdownItemCounter=Array.from(Array(this.dropdownRange),(function(e,t){return t})),this.qty||(this.qty=1)},e.prototype.writeValue=function(e){this.qty=e,this.onChange(this.qty)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.inputHasBeenShown?this.renderer.setProperty(document.getElementById("input_"+this.id),"disabled",e):this.renderer.setProperty(document.getElementById("select_"+this.id),"disabled",e)},Object.defineProperty(e.prototype,"showQtyInputField",{get:function(){return!(!this.isQtyOutsideDropdownRange()&&!this.inputHasBeenShown)&&(this.inputHasBeenShown=!0,!0)},enumerable:!1,configurable:!0}),e.prototype.onChangedWrapper=function(e){10===(e=parseInt(e,10))&&this.selectInput(),this.qtyChanged.emit(e),this.onChange(e)},e.prototype.isQtyOutsideDropdownRange=function(){return this.qty>this.dropdownRange},e.prototype.selectInput=function(){var e=this;setTimeout((function(){document.getElementById("input_"+e.id).select()}))},e}();_t.decorators=[{type:t.Component,args:[{selector:"daff-qty-dropdown",template:'<daff-form-field class="daff-qty-dropdown">\n <select daff-native-select *ngIf="!showQtyInputField" id="select_{{id}}" [(ngModel)]="qty" (ngModelChange)="onChangedWrapper(qty)" (blur)="onTouched()">\n <option *ngFor="let item of dropdownItemCounter" [value]="item+1">{{ item+1 }}</option>\n <option value="10">10+</option>\n </select>\n <input daff-input id="input_{{id}}" class="daff-qty-dropdown__input" [(ngModel)]="qty" (ngModelChange)="onChangedWrapper(qty)" (blur)="onTouched()" *ngIf="showQtyInputField">\n</daff-form-field>',styles:[".daff-qty-dropdown__input{width:50px}"]}]}],_t.ctorParameters=function(){return[{type:t.Renderer2}]},_t.propDecorators={qty:[{type:t.Input}],id:[{type:t.Input}],qtyChanged:[{type:t.Output}]};var vt=function(){};vt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,f.FormsModule,F,ne,ee],declarations:[_t],exports:[_t]}]}];var xt,Ct="cubic-bezier(0.0, 0.0, 0.2, 1)",Dt={transformSidebar:l.trigger("transformSidebar",[l.state("open",l.style({transform:"none",visibility:"visible"})),l.transition("open => closed",l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)")),l.transition("closed => open",l.animate("350ms "+Ct))]),transformContent:l.trigger("transformContent",[l.state("closed",l.style({transform:"none"})),l.transition("open => closed",l.animate("350ms cubic-bezier(0.4, 0.0, 1, 1)")),l.transition("closed => open",l.animate("350ms "+Ct))])};!function(e){e.OPEN="open",e.CLOSED="closed"}(xt||(xt={}));var wt=function(e,t){return void 0===t&&(t=!0),t?e&&t?"open":"closed":"open"},kt=function(e,n){var a=this;this._elementRef=e,this._ngZone=n,this.class=!0,this.escapePressed=new t.EventEmitter,this._ngZone.runOutsideAngular((function(){i.fromEvent(a._elementRef.nativeElement,"keydown").pipe(s.filter((function(e){return"Escape"===e.key}))).subscribe((function(e){return a._ngZone.run((function(){a.escapePressed.emit(),e.stopPropagation()}))}))}))};kt.decorators=[{type:t.Component,args:[{selector:"daff-sidebar",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block}.daff-sidebar{display:block;height:100%}"]}]}],kt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.NgZone}]},kt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-sidebar"]}],escapePressed:[{type:t.Output}]};var Pt=function(){function e(e){this.ref=e,this._opened=!1,this._mode="side",this.backdropIsVisible=!0,this.backdropClicked=new t.EventEmitter}return Object.defineProperty(e.prototype,"mode",{get:function(){return this._mode},set:function(e){this._mode=e,this._animationState=wt(this.opened,this.animationsEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"opened",{get:function(){return this._opened},set:function(e){this._opened=e,this._animationState=wt(e,this.animationsEnabled)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"animationsEnabled",{get:function(){return"over"===this.mode||"push"===this.mode},enumerable:!1,configurable:!0}),e.prototype.ngOnInit=function(){this._animationState=wt(this.opened,this.animationsEnabled)},e.prototype.ngAfterViewInit=function(){var e=this;this.sidebar&&this.sidebar.escapePressed.subscribe((function(){e.onEscape()}))},e.prototype._backdropClicked=function(){this.backdropClicked.emit()},Object.defineProperty(e.prototype,"hasBackdrop",{get:function(){return"over"===this.mode||"push"===this.mode},enumerable:!1,configurable:!0}),e.prototype.onEscape=function(){this.hasBackdrop&&(this.opened=!1,this.ref.markForCheck())},e}();Pt.decorators=[{type:t.Component,args:[{selector:"daff-sidebar-viewport",template:'<div class="daff-sidebar-viewport {{ mode }}">\n <div class="daff-sidebar-viewport__sidebar" [@transformSidebar]="_animationState" [cdkTrapFocus]="opened && (mode === \'over\' || mode === \'push\')">\n <ng-content select="daff-sidebar" (escapePressed)="onEscape($event)"></ng-content>\n </div>\n\n <daff-backdrop \n class="daff-sidebar-viewport__backdrop" \n *ngIf="hasBackdrop && _opened"\n [transparent]="!backdropIsVisible" \n (backdropClicked)="_backdropClicked()"></daff-backdrop>\n\n <div class="daff-sidebar-viewport__content" [@transformContent]="_animationState">\n <ng-content></ng-content>\n </div>\n</div>',changeDetection:t.ChangeDetectionStrategy.OnPush,animations:[Dt.transformSidebar,Dt.transformContent],styles:[".daff-sidebar-viewport{display:flex;min-height:100%;position:relative;width:100%;z-index:1}.daff-sidebar-viewport__content{flex:0 1 auto;width:100%;will-change:transform;z-index:2}.daff-sidebar-viewport__sidebar{flex-shrink:0;width:250px;will-change:transform,visibility;z-index:4}.daff-sidebar-viewport__backdrop{cursor:pointer;height:100%;position:absolute;width:100%;z-index:3}.daff-sidebar-viewport.push>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate3d(-250px,0,0);visibility:hidden}.daff-sidebar-viewport.push>.daff-sidebar-viewport__content{transform:translate3d(250px,0,0)}.daff-sidebar-viewport.over>.daff-sidebar-viewport__sidebar{bottom:0;height:100%;left:0;position:absolute;top:0;transform:translate3d(-250px,0,0);visibility:hidden}"]}]}],Pt.ctorParameters=function(){return[{type:t.ChangeDetectorRef}]},Pt.propDecorators={sidebar:[{type:t.ContentChild,args:[kt]}],mode:[{type:t.Input}],backdropIsVisible:[{type:t.Input}],opened:[{type:t.Input}],backdropClicked:[{type:t.Output}]};var Ot=function(){};Ot.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule,Fe,u.A11yModule],declarations:[kt,Pt],exports:[kt,Pt]}]}];var It=function(){this.class=!0};It.decorators=[{type:t.Directive,args:[{selector:"[daffHeroBody]"}]}],It.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__body"]}]};var Et=function(){this.class=!0};Et.decorators=[{type:t.Directive,args:[{selector:"[daffHeroIcon]"}]}],Et.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__icon"]}]};var St=function(){this.class=!0};St.decorators=[{type:t.Directive,args:[{selector:"[daffHeroSubtitle]"}]}],St.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__subtitle"]}]};var Mt=function(){this.class=!0};Mt.decorators=[{type:t.Directive,args:[{selector:"[daffHeroTagline]"}]}],Mt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__tagline"]}]};var Ht,Bt=function(){this.class=!0};function zt(e,t){return void 0===t&&(t=!1),function(e){function n(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=e.apply(this,b(n))||this;return o.compact=t,o}return h(n,e),Object.defineProperty(n.prototype,"compact",{get:function(){return this._compact},set:function(e){var n=e||t;n!==this._compact&&(n?this._renderer.addClass(this._elementRef.nativeElement,"daff-compact"):this._renderer.removeClass(this._elementRef.nativeElement,"daff-compact"),this._compact=n)},enumerable:!1,configurable:!0}),n}(e)}function At(e,n){var a=function(e){function t(){for(var t=[],a=0;a<arguments.length;a++)t[a]=arguments[a];var o=e.apply(this,b(t))||this;return o.textAlignment=n,o}return h(t,e),Object.defineProperty(t.prototype,"textAlignment",{get:function(){return this._textAlignment},set:function(e){var t=e||n;t!==this._textAlignment&&(this._textAlignment&&this._renderer.removeClass(this._elementRef.nativeElement,"daff-"+this._textAlignment),t&&this._renderer.addClass(this._elementRef.nativeElement,"daff-"+t),this._textAlignment=t)},enumerable:!1,configurable:!0}),t}(e);return a.propDecorators={textAlignment:[{type:t.Input}]},a}Bt.decorators=[{type:t.Directive,args:[{selector:"[daffHeroTitle]"}]}],Bt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-hero__title"]}]},(e.DaffHeroLayoutEnum||(e.DaffHeroLayoutEnum={})).Centered="centered",(Ht=e.DaffHeroSizeEnum||(e.DaffHeroSizeEnum={})).Compact="compact",Ht.Small="small";var Rt=function(t){function n(e,n){var a=t.call(this,e,n)||this;return a.elementRef=e,a.renderer=n,a.class=!0,a}return h(n,t),Object.defineProperty(n.prototype,"centered",{get:function(){return this.layout===e.DaffHeroLayoutEnum.Centered},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compactClass",{get:function(){return this.size===e.DaffHeroSizeEnum.Compact||!0===this.compact||this.size===e.DaffHeroSizeEnum.Small},enumerable:!1,configurable:!0}),n}(ut(v(zt(At((function(e,t){this._elementRef=e,this._renderer=t}),"left")))));Rt.decorators=[{type:t.Component,args:[{selector:"daff-hero",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,inputs:["color","compact","textAlignment"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-hero{display:block;padding:64px 24px}@media (min-width:480px){.daff-hero{padding:96px 48px}}.daff-hero__icon{margin:0 0 16px}.daff-hero__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-hero__title{font-weight:700;font-size:2.5rem;line-height:2.5rem;margin:0;max-width:1040px;width:100%}@media (min-width:768px){.daff-hero__title{font-size:4.5rem;line-height:4.5rem}}.daff-hero__subtitle{font-size:1.25rem;font-weight:400;line-height:1.75rem;margin:16px 0 0;max-width:672px;width:100%}@media (min-width:768px){.daff-hero__subtitle{font-size:1.5rem;font-weight:400;line-height:2rem}}.daff-hero__subtitle p:first-of-type{margin-top:0}.daff-hero__subtitle p:last-of-type{margin-bottom:0}.daff-hero__body:not(:last-child){margin-bottom:48px}.daff-hero__body:not(:first-child){margin-top:48px}.daff-hero--centered .daff-hero__title{margin:0 auto;text-align:center}.daff-hero--centered .daff-hero__subtitle{margin:24px auto 0;text-align:center}.daff-hero--compact,.daff-hero--small{padding:50px 25px}@media (min-width:480px){.daff-hero--compact,.daff-hero--small{padding:50px}}.daff-hero.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-hero.daff-compact{padding:48px}}.daff-hero.daff-left .daff-hero__icon,.daff-hero.daff-left .daff-hero__subtitle,.daff-hero.daff-left .daff-hero__tagline,.daff-hero.daff-left .daff-hero__title{text-align:left}.daff-hero.daff-center .daff-hero__icon,.daff-hero.daff-center .daff-hero__subtitle,.daff-hero.daff-center .daff-hero__tagline,.daff-hero.daff-center .daff-hero__title{margin-left:auto;margin-right:auto;text-align:center}.daff-hero.daff-right .daff-hero__icon,.daff-hero.daff-right .daff-hero__subtitle,.daff-hero.daff-right .daff-hero__tagline,.daff-hero.daff-right .daff-hero__title{margin-left:auto;text-align:right}"]}]}],Rt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},Rt.propDecorators={layout:[{type:t.Input}],size:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-hero"]}],centered:[{type:t.HostBinding,args:["class.daff-hero--centered"]}],compactClass:[{type:t.HostBinding,args:["class.daff-hero--compact"]}]};var jt=function(){};jt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Rt,Et,Mt,Bt,St,It],exports:[Rt,Et,Mt,Bt,St,It]}]}];var Nt=function(){this.class=!0};Nt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutBody]"}]}],Nt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__body"]}]};var Tt=function(){this.class=!0};Tt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutIcon]"}]}],Tt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__icon"]}]};var Ft=function(){this.class=!0};Ft.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutSubtitle]"}]}],Ft.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__subtitle"]}]};var Lt=function(){this.class=!0};Lt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutTagline]"}]}],Lt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__tagline"]}]};var Vt=function(){this.class=!0};Vt.decorators=[{type:t.Directive,args:[{selector:"[daffCalloutTitle]"}]}],Vt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-callout__title"]}]},(e.DaffCalloutLayoutEnum||(e.DaffCalloutLayoutEnum={})).Centered="centered",(e.DaffCalloutSizeEnum||(e.DaffCalloutSizeEnum={})).Compact="compact";var qt=function(t){function n(e,n){var a=t.call(this,e,n)||this;return a.elementRef=e,a.renderer=n,a.class=!0,a}return h(n,t),Object.defineProperty(n.prototype,"centered",{get:function(){return this.layout===e.DaffCalloutLayoutEnum.Centered},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"compactClass",{get:function(){return this.size===e.DaffCalloutSizeEnum.Compact},enumerable:!1,configurable:!0}),n}(ut(v(zt(At((function(e,t){this._elementRef=e,this._renderer=t}),"left")))));qt.decorators=[{type:t.Component,args:[{selector:"daff-callout",template:"<ng-content></ng-content>",encapsulation:t.ViewEncapsulation.None,inputs:["color","compact","textAlignment"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-callout{display:block;padding:64px 24px}@media (min-width:480px){.daff-callout{padding:96px 48px}}.daff-callout__icon{margin:0 0 16px}.daff-callout__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;margin:0 0 8px;padding:0}.daff-callout__title{font-weight:700;font-size:1.75rem;line-height:2rem;margin:0;max-width:1040px;overflow-wrap:break-word;padding:0;width:100%}@media (min-width:480px){.daff-callout__title{font-weight:700;font-size:2rem;line-height:2.25rem}}@media (min-width:480px) and (min-width:768px){.daff-callout__title{font-size:3rem;line-height:3.5rem}}.daff-callout__subtitle{font-size:1.25rem;margin:16px 0 0;max-width:592px;padding:0;width:100%}.daff-callout__body:not(:last-child){margin-bottom:48px}.daff-callout__body:not(:first-child){margin-top:48px}.daff-callout__body p:first-of-type{margin-top:0}.daff-callout__body p:last-of-type{margin-bottom:0}.daff-callout--centered .daff-callout__title{margin:0 auto;text-align:center}.daff-callout--centered .daff-callout__subtitle{margin:10px auto 0;text-align:center}@media (min-width:480px){.daff-callout--centered .daff-callout__subtitle{margin:25px auto 0}}.daff-callout--compact{padding:25px}@media (min-width:480px){.daff-callout--compact{padding:25px 50px}}.daff-callout.daff-compact{padding:48px 24px}@media (min-width:480px){.daff-callout.daff-compact{padding:48px}}.daff-callout.daff-left .daff-callout__icon,.daff-callout.daff-left .daff-callout__subtitle,.daff-callout.daff-left .daff-callout__tagline,.daff-callout.daff-left .daff-callout__title{text-align:left}.daff-callout.daff-center .daff-callout__icon,.daff-callout.daff-center .daff-callout__subtitle,.daff-callout.daff-center .daff-callout__tagline,.daff-callout.daff-center .daff-callout__title{margin-left:auto;margin-right:auto;text-align:center}.daff-callout.daff-right .daff-callout__icon,.daff-callout.daff-right .daff-callout__subtitle,.daff-callout.daff-right .daff-callout__tagline,.daff-callout.daff-right .daff-callout__title{margin-left:auto;text-align:right}"]}]}],qt.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},qt.propDecorators={layout:[{type:t.Input}],size:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-callout"]}],centered:[{type:t.HostBinding,args:["class.daff-callout--centered"]}],compactClass:[{type:t.HostBinding,args:["class.daff-callout--compact"]}]};var Gt=function(){};Gt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[qt,Tt,Vt,Ft,Lt,Nt],exports:[qt,Tt,Ft,Vt,Lt,Nt]}]}];var Ut=function(){this.class=!0};Ut.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureIcon]"}]}],Ut.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__icon"]}]};var Qt=function(){this.class=!0};Qt.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureSubheader]"}]}],Qt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__subheader"]}]};var $t=function(){this.class=!0};$t.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureSubtitle]"}]}],$t.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__subtitle"]}]};var Wt,Xt=function(){this.class=!0};Xt.decorators=[{type:t.Directive,args:[{selector:"[daffFeatureTitle]"}]}],Xt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature__title"]}]},(Wt=e.DaffFeatureModeEnum||(e.DaffFeatureModeEnum={})).Compact="compact",Wt.Normal="normal";var Yt=function(){function t(){this.class=!0,this.mode=e.DaffFeatureModeEnum.Normal}return Object.defineProperty(t.prototype,"compact",{get:function(){return this.mode===e.DaffFeatureModeEnum.Compact},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"normal",{get:function(){return this.mode===e.DaffFeatureModeEnum.Normal},enumerable:!1,configurable:!0}),t}();Yt.decorators=[{type:t.Component,args:[{selector:"daff-feature",template:'<ng-content select="[daffFeatureIcon]"></ng-content>\n<div class="daff-feature__content">\n <ng-content select="[daffFeatureSubheader]"></ng-content>\n <ng-content select="[daffFeatureTitle]"></ng-content>\n <ng-content select="[daffFeatureSubtitle]"></ng-content>\n <ng-content></ng-content>\n</div>',encapsulation:t.ViewEncapsulation.None,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-feature{border-radius:10px;display:flex}.daff-feature__icon{display:inline-block;max-width:30px}@media (min-width:480px){.daff-feature__icon{max-width:50px}}.daff-feature__subheader{text-transform:uppercase;font-size:.75rem;letter-spacing:.075rem;line-height:1rem}@media (min-width:480px){.daff-feature__subheader{font-size:.875rem}}.daff-feature__title{font-weight:700;margin:0 0 15px;padding:0}.daff-feature__subtitle{font-size:1rem;margin:0;padding:0}.daff-feature--normal{align-items:flex-start;flex-direction:column;padding:25px}@media (min-width:480px){.daff-feature--normal{align-items:center;flex-direction:row;padding:50px}}.daff-feature--normal .daff-feature__icon{margin:0 0 15px}@media (min-width:480px){.daff-feature--normal .daff-feature__icon{margin:0 25px 0 0}}.daff-feature--normal .daff-feature__subheader{margin:0 0 15px}@media (min-width:480px){.daff-feature--normal .daff-feature__subheader{margin:0 0 30px}}.daff-feature--normal .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width:480px){.daff-feature--normal .daff-feature__title{font-size:2rem;line-height:2rem}}.daff-feature--compact{align-items:flex-start;flex-direction:column;padding:25px}.daff-feature--compact .daff-feature__icon{margin:0 0 15px}.daff-feature--compact .daff-feature__subheader{margin:0 0 5px}.daff-feature--compact .daff-feature__title{font-size:1.25rem;line-height:1.25rem}@media (min-width:480px){.daff-feature--compact .daff-feature__title{font-size:1.5rem;line-height:1.5rem}}"]}]}],Yt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-feature"]}],mode:[{type:t.Input}],compact:[{type:t.HostBinding,args:["class.daff-feature--compact"]}],normal:[{type:t.HostBinding,args:["class.daff-feature--normal"]}]};var Zt=function(){};Zt.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[Yt,Xt,$t,Ut,Qt],exports:[Yt,Xt,$t,Ut,Qt]}]}];var Kt=function(){this.class=!0};Kt.decorators=[{type:t.Directive,args:[{selector:"[daffCardActions]"}]}],Kt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__actions"]}]};var Jt=function(){this.class=!0};Jt.decorators=[{type:t.Directive,args:[{selector:"[daffCardContent]"}]}],Jt.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__content"]}]};var en=function(){this.class=!0};en.decorators=[{type:t.Directive,args:[{selector:"[daffCardIcon]"}]}],en.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__icon"]}]};var tn=function(){this.class=!0};tn.decorators=[{type:t.Directive,args:[{selector:"[daffCardImage]"}]}],tn.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__image"]}]};var nn=function(){this.class=!0};nn.decorators=[{type:t.Directive,args:[{selector:"[daffCardTagline]"}]}],nn.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__tagline"]}]};var an,on,rn=function(){this.class=!0};rn.decorators=[{type:t.Directive,args:[{selector:"[daffCardTitle]"}]}],rn.propDecorators={class:[{type:t.HostBinding,args:["class.daff-card__title"]}]},function(e){e.Raised="daff-raised-card",e.Stroked="daff-stroked-card"}(an||(an={})),(on=e.DaffCardOrientationEnum||(e.DaffCardOrientationEnum={})).Vertical="vertical",on.Horizontal="horizontal";var sn=function(t){function n(n,a){var o=t.call(this,n,a)||this;return o.elementRef=n,o.renderer=a,o._orientation=e.DaffCardOrientationEnum.Vertical,o.class=!0,o.cardType=o.initCardType(),o}return h(n,t),Object.defineProperty(n.prototype,"orientation",{get:function(){return this._orientation},set:function(t){this._orientation=null==t||""===t?e.DaffCardOrientationEnum.Vertical:t},enumerable:!1,configurable:!0}),n.prototype.initCardType=function(){var e,t,n=Object.keys(an).map((function(e){return an[e]}));if(n.indexOf(this._getHostElement().localName)>=0)return this._getHostElement().localName;try{for(var a=m(n),o=a.next();!o.done;o=a.next()){var r=o.value;if(this._hasHostAttributes(r))return r}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}return null},n.prototype.ngOnInit=function(){this.cardType&&this.elementRef.nativeElement.classList.add(this.cardType)},Object.defineProperty(n.prototype,"verticalClass",{get:function(){return this.orientation===e.DaffCardOrientationEnum.Vertical},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"horizontalClass",{get:function(){return this.orientation===e.DaffCardOrientationEnum.Horizontal},enumerable:!1,configurable:!0}),n.prototype._getHostElement=function(){return this.elementRef.nativeElement},n.prototype._hasHostAttributes=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return t.some((function(t){return e._getHostElement().hasAttribute(t)}))},n}(v((function(e,t){this._elementRef=e,this._renderer=t})));sn.decorators=[{type:t.Component,args:[{selector:"daff-card,daff-raised-card,daff-stroked-card,a[daff-card],a[daff-raised-card],a[daff-stroked-card]",template:'<ng-content select="[daffCardImage]"></ng-content>\n<div class="daff-card__wrapper">\n\t<div class="daff-card__body">\n\t\t<ng-content select="[daffCardIcon]"></ng-content>\n\t\t<ng-content select="[daffCardTagline]"></ng-content>\n\t\t<ng-content select="[daffCardTitle]"></ng-content>\n\t\t<ng-content select="[daffCardContent]"></ng-content>\n\t</div>\n\t<ng-content select="[daffCardActions]"></ng-content>\n</div>',encapsulation:t.ViewEncapsulation.None,inputs:["color"],changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[".daff-card{display:flex;border-radius:8px}.daff-card__image{display:inline-block;width:100%}.daff-card--vertical{flex-direction:column}.daff-card--vertical .daff-card__image,.daff-card--vertical .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-top-right-radius:calc(8px - 1px)}.daff-card--horizontal{flex-wrap:wrap}@media (min-width:480px){.daff-card--horizontal{flex-direction:row;flex-wrap:nowrap}}.daff-card--horizontal .daff-card__image,.daff-card--horizontal .daff-card__image img{border-top-left-radius:calc(8px - 1px);border-bottom-left-radius:calc(8px - 1px)}.daff-card--horizontal .daff-card__image img{-o-object-fit:cover;object-fit:cover;-o-object-position:center center;object-position:center center;height:100%!important;width:100%}.daff-card__icon{display:block;margin:0 0 .5rem}.daff-card__tagline{text-transform:uppercase;font-size:.875rem;font-weight:600;letter-spacing:.03125rem;line-height:1rem;padding:0;margin:0 0 .25rem}.daff-card__title{font-weight:700;font-size:1.5rem;line-height:1.75rem;margin:0 0 1rem}.daff-card__body{padding:1.5rem}.daff-card__content p:first-of-type{margin-top:0}.daff-card__content p:last-of-type{margin-bottom:0}.daff-card__actions{padding:0 1.5rem 1.5rem}a.daff-card,a.daff-raised-card,a.daff-stroked-card{text-decoration:none;transition:background-color .3s,box-shadow .3s}"]}]}],sn.ctorParameters=function(){return[{type:t.ElementRef},{type:t.Renderer2}]},sn.propDecorators={orientation:[{type:t.Input}],class:[{type:t.HostBinding,args:["class.daff-card"]}],verticalClass:[{type:t.HostBinding,args:["class.daff-card--vertical"]}],horizontalClass:[{type:t.HostBinding,args:["class.daff-card--horizontal"]}]};var fn,cn,ln,dn=function(){};dn.decorators=[{type:t.NgModule,args:[{imports:[n.CommonModule],declarations:[sn,en,tn,nn,rn,Jt,Kt],exports:[sn,en,tn,nn,rn,Jt,Kt]}]}],(fn=e.DaffBreakpoints||(e.DaffBreakpoints={})).DESKTOP="(min-width: 1920px)",fn.LAPTOP="(min-width: 1440px)",fn.SMALL_LAPTOP="(min-width: 1200px)",fn.BIG_TABLET="(min-width: 1024px)",fn.TABLET="(min-width: 768px)",fn.MOBILE="(min-width: 480px)",(cn=e.DaffStatusEnum||(e.DaffStatusEnum={})).Warn="warn",cn.Danger="danger",cn.Success="success",(ln=e.DaffTextAlignmentEnum||(e.DaffTextAlignmentEnum={})).Left="left",ln.Center="center",ln.Right="right",e.DaffAccordionComponent=Se,e.DaffAccordionItemComponent=Ee,e.DaffAccordionItemContentDirective=ke,e.DaffAccordionItemTitleDirective=Pe,e.DaffAccordionModule=He,e.DaffArticleComponent=Be,e.DaffArticleLeadDirective=ze,e.DaffArticleMetaDirective=Ae,e.DaffArticleModule=je,e.DaffArticleTitleDirective=Re,e.DaffBackdropComponent=Te,e.DaffBackdropModule=Fe,e.DaffButtonComponent=B,e.DaffButtonModule=z,e.DaffButtonSetComponent=Le,e.DaffButtonSetModule=Ve,e.DaffCalloutBodyDirective=Nt,e.DaffCalloutComponent=qt,e.DaffCalloutIconDirective=Tt,e.DaffCalloutModule=Gt,e.DaffCalloutSubtitleDirective=Ft,e.DaffCalloutTaglineDirective=Lt,e.DaffCalloutTitleDirective=Vt,e.DaffCardActionsDirective=Kt,e.DaffCardComponent=sn,e.DaffCardContentDirective=Jt,e.DaffCardIconDirective=en,e.DaffCardImageDirective=tn,e.DaffCardModule=dn,e.DaffCardTaglineDirective=nn,e.DaffCardTitleDirective=rn,e.DaffCheckboxComponent=oe,e.DaffCheckboxControlValueAccessorDirective=ie,e.DaffCheckboxModule=se,e.DaffCheckboxSetComponent=re,e.DaffContainerComponent=pe,e.DaffContainerModule=ue,e.DaffErrorMessageComponent=R,e.DaffErrorMessageModule=j,e.DaffErrorStateMatcher=A,e.DaffFeatureComponent=Yt,e.DaffFeatureIconDirective=Ut,e.DaffFeatureModule=Zt,e.DaffFeatureSubheaderDirective=Qt,e.DaffFeatureSubtitleDirective=$t,e.DaffFeatureTitleDirective=Xt,e.DaffFormFieldComponent=T,e.DaffFormFieldControl=N,e.DaffFormFieldModule=F,e.DaffGalleryImageComponent=Ge,e.DaffHeroBodyDirective=It,e.DaffHeroComponent=Rt,e.DaffHeroIconDirective=Et,e.DaffHeroModule=jt,e.DaffHeroSubtitleDirective=St,e.DaffHeroTaglineDirective=Mt,e.DaffHeroTitleDirective=Bt,e.DaffImageComponent=Z,e.DaffImageGalleryComponent=qe,e.DaffImageGalleryModule=$e,e.DaffImageListComponent=Ue,e.DaffImageListModule=Qe,e.DaffImageModule=K,e.DaffInputComponent=J,e.DaffInputModule=ee,e.DaffLinkSetComponent=We,e.DaffLinkSetHeadingDirective=Xe,e.DaffLinkSetItemComponent=Ye,e.DaffLinkSetModule=Ke,e.DaffLinkSetSubheadingDirective=Ze,e.DaffListComponent=at,e.DaffListItemComponent=Je,e.DaffListModule=ot,e.DaffListSubheaderDirective=nt,e.DaffLoadingIconComponent=ge,e.DaffLoadingIconModule=he,e.DaffMediaGalleryComponent=G,e.DaffMediaGalleryModule=W,e.DaffModalActionsComponent=st,e.DaffModalComponent=it,e.DaffModalContentComponent=ft,e.DaffModalHeaderComponent=ct,e.DaffModalModule=dt,e.DaffModalService=pt,e.DaffModalTitleDirective=lt,e.DaffNativeSelectComponent=te,e.DaffNativeSelectModule=ne,e.DaffNavbarComponent=gt,e.DaffNavbarModule=ht,e.DaffPaginatorComponent=yt,e.DaffPaginatorModule=bt,e.DaffPrefixDirective=x,e.DaffPrefixSuffixModule=D,e.DaffProgressIndicatorComponent=ye,e.DaffProgressIndicatorModule=be,e.DaffQtyDropdownComponent=_t,e.DaffQtyDropdownModule=vt,e.DaffQuantityFieldComponent=le,e.DaffQuantityFieldModule=de,e.DaffQuantityInputComponent=fe,e.DaffQuantitySelectComponent=ce,e.DaffRadioComponent=xe,e.DaffRadioControlValueAccessorDirective=De,e.DaffRadioModule=we,e.DaffRadioSetComponent=_e,e.DaffSidebarComponent=kt,e.DaffSidebarModule=Ot,e.DaffSidebarViewportComponent=Pt,e.DaffSuffixDirective=C,e.DaffThumbnailDirective=$,e.daffCompactableMixin=zt,e.daffManageContainerLayoutMixin=ut,e.daffPrefixableMixin=k,e.daffSuffixableMixin=w,e.daffThumbnailCompatToken=Q,e.ɵa=me,e.ɵb=Ce,e.ɵc=Oe,e.ɵd=Me,e.ɵe=Ne,e.ɵf=L,e.ɵg=V,e.ɵi=U,e.ɵj=rt,e.ɵk=Dt,Object.defineProperty(e,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=daffodil-design.umd.min.js.map