@biggive/components 202606181032.0.0 → 202606300841.0.0

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 (258) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/{p-9d63fe98.entry.js → p-034bc308.entry.js} +1 -1
  3. package/dist/biggive/{p-a0070f43.entry.js → p-074c95a5.entry.js} +1 -1
  4. package/dist/biggive/{p-c9436468.entry.js → p-07bd58dd.entry.js} +1 -1
  5. package/dist/biggive/{p-9e64817e.entry.js → p-08c0d7a0.entry.js} +1 -1
  6. package/dist/biggive/{p-b7d3a6ab.entry.js → p-13840401.entry.js} +1 -1
  7. package/dist/biggive/{p-ebf67952.entry.js → p-167ac0d3.entry.js} +1 -1
  8. package/dist/biggive/{p-a7622ab7.entry.js → p-22f2e1e4.entry.js} +1 -1
  9. package/dist/biggive/p-2f0e2375.entry.js +1 -0
  10. package/dist/biggive/{p-7ab14477.entry.js → p-342e0587.entry.js} +1 -1
  11. package/dist/biggive/{p-b0874950.entry.js → p-35742632.entry.js} +1 -1
  12. package/dist/biggive/{p-4a6d979f.entry.js → p-486b0443.entry.js} +1 -1
  13. package/dist/biggive/{p-3d80c5b4.entry.js → p-4c8d3d7b.entry.js} +1 -1
  14. package/dist/biggive/{p-1c39307b.entry.js → p-53d2459c.entry.js} +1 -1
  15. package/dist/biggive/{p-461ca12d.entry.js → p-53efa890.entry.js} +1 -1
  16. package/dist/biggive/{p-be1828d2.entry.js → p-60824941.entry.js} +1 -1
  17. package/dist/biggive/{p-921ecc1a.entry.js → p-63bbe726.entry.js} +1 -1
  18. package/dist/biggive/{p-b8afbd5b.entry.js → p-6db0805c.entry.js} +1 -1
  19. package/dist/biggive/{p-b8d67e54.entry.js → p-6ef8f1c8.entry.js} +1 -1
  20. package/dist/biggive/{p-d2b89a35.entry.js → p-6f0ab7de.entry.js} +1 -1
  21. package/dist/biggive/{p-a5873e6c.entry.js → p-76d8edf3.entry.js} +1 -1
  22. package/dist/biggive/{p-aaf986b7.entry.js → p-79233862.entry.js} +1 -1
  23. package/dist/biggive/{p-9b695dc8.entry.js → p-7b142f0c.entry.js} +1 -1
  24. package/dist/biggive/{p-ab3d62f9.entry.js → p-7e9f3522.entry.js} +1 -1
  25. package/dist/biggive/p-8c4c51d6.entry.js +1 -0
  26. package/dist/biggive/p-925b1eab.entry.js +1 -0
  27. package/dist/biggive/{p-9f907107.entry.js → p-a987b466.entry.js} +1 -1
  28. package/dist/biggive/{p-120a8b58.entry.js → p-ac53a19e.entry.js} +1 -1
  29. package/dist/biggive/{p-f576564a.entry.js → p-acc61e55.entry.js} +1 -1
  30. package/dist/biggive/{p-4e91b90c.entry.js → p-b00c2ca8.entry.js} +1 -1
  31. package/dist/biggive/p-b09d4083.entry.js +1 -0
  32. package/dist/biggive/p-b0d1c784.entry.js +1 -0
  33. package/dist/biggive/{p-8ec27398.entry.js → p-b5de3f93.entry.js} +1 -1
  34. package/dist/biggive/{p-8109ba6c.entry.js → p-c11a2f3b.entry.js} +1 -1
  35. package/dist/biggive/{p-1aec0011.entry.js → p-c50881e4.entry.js} +1 -1
  36. package/dist/biggive/{p-d4c0daba.entry.js → p-d277fe34.entry.js} +1 -1
  37. package/dist/biggive/{p-39f5df3a.entry.js → p-d2c312e0.entry.js} +1 -1
  38. package/dist/biggive/{p-7d3d0149.entry.js → p-d3112cb1.entry.js} +1 -1
  39. package/dist/biggive/p-d4462885.entry.js +1 -0
  40. package/dist/biggive/{p-a8e5b837.entry.js → p-dddee0ad.entry.js} +1 -1
  41. package/dist/biggive/{p-ed688cf9.entry.js → p-e8517ccd.entry.js} +1 -1
  42. package/dist/biggive/{p-a4021922.entry.js → p-ebdf0f2a.entry.js} +1 -1
  43. package/dist/biggive/{p-9c0c28cf.entry.js → p-ed7b04d2.entry.js} +1 -1
  44. package/dist/biggive/{p-05e0f91c.entry.js → p-ed92d2b0.entry.js} +1 -1
  45. package/dist/biggive/{p-e497653a.entry.js → p-f04eaebb.entry.js} +1 -1
  46. package/dist/biggive/{p-f7a05c60.entry.js → p-f2d44bb0.entry.js} +1 -1
  47. package/dist/biggive/{p-4d4724bb.entry.js → p-f2f9ce31.entry.js} +1 -1
  48. package/dist/biggive/{p-fc277669.entry.js → p-fb0a9e11.entry.js} +1 -1
  49. package/dist/biggive/{p-25d081a8.entry.js → p-fd2f1a72.entry.js} +1 -1
  50. package/dist/biggive/pages/biggive.html +2 -0
  51. package/dist/cjs/biggive-accordion.cjs.entry.js +1 -1
  52. package/dist/cjs/biggive-article-card.cjs.entry.js +2 -2
  53. package/dist/cjs/biggive-back-to-top.cjs.entry.js +1 -1
  54. package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -2
  55. package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
  56. package/dist/cjs/biggive-branded-image.cjs.entry.js +1 -1
  57. package/dist/cjs/biggive-button.cjs.entry.js +1 -1
  58. package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
  59. package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +21 -4
  60. package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
  61. package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
  62. package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
  63. package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
  64. package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
  65. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  66. package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
  67. package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
  68. package/dist/cjs/biggive-heading-banner.cjs.entry.js +2 -2
  69. package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
  70. package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
  71. package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
  72. package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
  73. package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
  74. package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
  75. package/dist/cjs/biggive-image.cjs.entry.js +1 -1
  76. package/dist/cjs/biggive-main-menu.cjs.entry.js +1 -1
  77. package/dist/cjs/biggive-misc-icon.cjs.entry.js +1 -1
  78. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  79. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  80. package/dist/cjs/biggive-page-column.cjs.entry.js +1 -1
  81. package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
  82. package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
  83. package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
  84. package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
  85. package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
  86. package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
  87. package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
  88. package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
  89. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
  90. package/dist/cjs/biggive-table.cjs.entry.js +2 -2
  91. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  92. package/dist/cjs/biggive-timeline.cjs.entry.js +2 -2
  93. package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
  94. package/dist/cjs/biggive-totalizer.cjs.entry.js +1 -1
  95. package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
  96. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  97. package/dist/cjs/biggive.cjs.js +1 -1
  98. package/dist/cjs/loader.cjs.js +1 -1
  99. package/dist/cjs/philco-footer.cjs.entry.js +1 -1
  100. package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
  101. package/dist/collection/components/biggive-accordion/biggive-accordion.js +1 -1
  102. package/dist/collection/components/biggive-article-card/biggive-article-card.js +2 -2
  103. package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +1 -1
  104. package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +2 -2
  105. package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +2 -2
  106. package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +1 -1
  107. package/dist/collection/components/biggive-button/biggive-button.js +1 -1
  108. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
  109. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +2 -2
  110. package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +117 -4
  111. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
  112. package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
  113. package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
  114. package/dist/collection/components/biggive-form/biggive-form.js +1 -1
  115. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
  116. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
  117. package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
  118. package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
  119. package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +2 -2
  120. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
  121. package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
  122. package/dist/collection/components/biggive-image/biggive-image.js +1 -1
  123. package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
  124. package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
  125. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
  126. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +1 -1
  127. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
  128. package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
  129. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
  130. package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
  131. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
  132. package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
  133. package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
  134. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +1 -1
  135. package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
  136. package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
  137. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
  138. package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
  139. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
  140. package/dist/collection/components/biggive-table/biggive-table.js +2 -2
  141. package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
  142. package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
  143. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
  144. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
  145. package/dist/collection/components/biggive-video/biggive-video.js +1 -1
  146. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
  147. package/dist/collection/components/philco-footer/philco-footer.js +1 -1
  148. package/dist/collection/components/philco-main-menu/philco-main-menu.js +1 -1
  149. package/dist/collection/pages/biggive.html +2 -0
  150. package/dist/components/biggive-accordion.js +1 -1
  151. package/dist/components/biggive-article-card.js +1 -1
  152. package/dist/components/biggive-back-to-top.js +1 -1
  153. package/dist/components/biggive-basic-card.js +1 -1
  154. package/dist/components/biggive-boxed-content.js +1 -1
  155. package/dist/components/biggive-branded-image.js +1 -1
  156. package/dist/components/biggive-button2.js +1 -1
  157. package/dist/components/biggive-call-to-action.js +1 -1
  158. package/dist/components/biggive-campaign-card-filter-grid.js +1 -1
  159. package/dist/components/biggive-campaign-card.js +1 -1
  160. package/dist/components/biggive-campaign-highlights.js +1 -1
  161. package/dist/components/biggive-container-card.js +1 -1
  162. package/dist/components/biggive-cookie-banner.js +1 -1
  163. package/dist/components/biggive-form-field-select2.js +1 -1
  164. package/dist/components/biggive-form.js +1 -1
  165. package/dist/components/biggive-formatted-text.js +1 -1
  166. package/dist/components/biggive-grid.js +1 -1
  167. package/dist/components/biggive-heading-banner.js +1 -1
  168. package/dist/components/biggive-heading.js +1 -1
  169. package/dist/components/biggive-hero-image.js +1 -1
  170. package/dist/components/biggive-icon-button.js +1 -1
  171. package/dist/components/biggive-image-button.js +1 -1
  172. package/dist/components/biggive-image-card.js +1 -1
  173. package/dist/components/biggive-image-feature.js +1 -1
  174. package/dist/components/biggive-image.js +1 -1
  175. package/dist/components/biggive-main-menu.js +1 -1
  176. package/dist/components/biggive-misc-icon2.js +1 -1
  177. package/dist/components/biggive-nav-group.js +1 -1
  178. package/dist/components/biggive-nav-item.js +1 -1
  179. package/dist/components/biggive-page-column.js +1 -1
  180. package/dist/components/biggive-page-columns.js +1 -1
  181. package/dist/components/biggive-page-section.js +1 -1
  182. package/dist/components/biggive-popup2.js +1 -1
  183. package/dist/components/biggive-progress-bar2.js +1 -1
  184. package/dist/components/biggive-quote.js +1 -1
  185. package/dist/components/biggive-sheet.js +1 -1
  186. package/dist/components/biggive-social-icon2.js +1 -1
  187. package/dist/components/biggive-tab.js +1 -1
  188. package/dist/components/biggive-tabbed-content.js +1 -1
  189. package/dist/components/biggive-table.js +1 -1
  190. package/dist/components/biggive-text-input.js +1 -1
  191. package/dist/components/biggive-timeline.js +1 -1
  192. package/dist/components/biggive-totalizer-ticker-item.js +1 -1
  193. package/dist/components/biggive-totalizer.js +1 -1
  194. package/dist/components/biggive-video-feature.js +1 -1
  195. package/dist/components/biggive-video.js +1 -1
  196. package/dist/components/philco-footer.js +1 -1
  197. package/dist/components/philco-main-menu.js +1 -1
  198. package/dist/esm/biggive-accordion.entry.js +1 -1
  199. package/dist/esm/biggive-article-card.entry.js +2 -2
  200. package/dist/esm/biggive-back-to-top.entry.js +1 -1
  201. package/dist/esm/biggive-basic-card.entry.js +2 -2
  202. package/dist/esm/biggive-boxed-content.entry.js +2 -2
  203. package/dist/esm/biggive-branded-image.entry.js +1 -1
  204. package/dist/esm/biggive-button.entry.js +1 -1
  205. package/dist/esm/biggive-call-to-action.entry.js +1 -1
  206. package/dist/esm/biggive-campaign-card-filter-grid.entry.js +21 -4
  207. package/dist/esm/biggive-campaign-card.entry.js +2 -2
  208. package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
  209. package/dist/esm/biggive-container-card.entry.js +1 -1
  210. package/dist/esm/biggive-cookie-banner.entry.js +1 -1
  211. package/dist/esm/biggive-form-field-select.entry.js +2 -2
  212. package/dist/esm/biggive-form.entry.js +1 -1
  213. package/dist/esm/biggive-formatted-text.entry.js +1 -1
  214. package/dist/esm/biggive-grid.entry.js +1 -1
  215. package/dist/esm/biggive-heading-banner.entry.js +2 -2
  216. package/dist/esm/biggive-heading.entry.js +1 -1
  217. package/dist/esm/biggive-hero-image.entry.js +2 -2
  218. package/dist/esm/biggive-icon-button.entry.js +2 -2
  219. package/dist/esm/biggive-image-button.entry.js +2 -2
  220. package/dist/esm/biggive-image-card.entry.js +2 -2
  221. package/dist/esm/biggive-image-feature.entry.js +1 -1
  222. package/dist/esm/biggive-image.entry.js +1 -1
  223. package/dist/esm/biggive-main-menu.entry.js +1 -1
  224. package/dist/esm/biggive-misc-icon.entry.js +1 -1
  225. package/dist/esm/biggive-nav-group.entry.js +1 -1
  226. package/dist/esm/biggive-nav-item.entry.js +1 -1
  227. package/dist/esm/biggive-page-column.entry.js +1 -1
  228. package/dist/esm/biggive-page-columns.entry.js +1 -1
  229. package/dist/esm/biggive-page-section.entry.js +2 -2
  230. package/dist/esm/biggive-popup.entry.js +1 -1
  231. package/dist/esm/biggive-progress-bar.entry.js +1 -1
  232. package/dist/esm/biggive-quote.entry.js +3 -3
  233. package/dist/esm/biggive-sheet.entry.js +1 -1
  234. package/dist/esm/biggive-social-icon.entry.js +1 -1
  235. package/dist/esm/biggive-tab.entry.js +1 -1
  236. package/dist/esm/biggive-tabbed-content.entry.js +2 -2
  237. package/dist/esm/biggive-table.entry.js +2 -2
  238. package/dist/esm/biggive-text-input.entry.js +1 -1
  239. package/dist/esm/biggive-timeline.entry.js +2 -2
  240. package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
  241. package/dist/esm/biggive-totalizer.entry.js +1 -1
  242. package/dist/esm/biggive-video-feature.entry.js +1 -1
  243. package/dist/esm/biggive-video.entry.js +1 -1
  244. package/dist/esm/biggive.js +1 -1
  245. package/dist/esm/loader.js +1 -1
  246. package/dist/esm/philco-footer.entry.js +1 -1
  247. package/dist/esm/philco-main-menu.entry.js +1 -1
  248. package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +22 -0
  249. package/dist/types/components.d.ts +46 -0
  250. package/hydrate/index.js +88 -67
  251. package/hydrate/index.mjs +88 -67
  252. package/package.json +1 -1
  253. package/dist/biggive/p-176e7c45.entry.js +0 -1
  254. package/dist/biggive/p-3340063a.entry.js +0 -1
  255. package/dist/biggive/p-5f18c157.entry.js +0 -1
  256. package/dist/biggive/p-705b4705.entry.js +0 -1
  257. package/dist/biggive/p-7b98b0af.entry.js +0 -1
  258. package/dist/biggive/p-d24f2c67.entry.js +0 -1
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as e,h as r,transformTag as n}from"@stencil/core/internal/client";const t=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.textColour="black",this.headingColour="primary"}componentWillLoad(){this.children=Array.from(this.host.children)}toggleSection(o){const e=o.target.closest(".entry"),r=e.querySelector(".arrow");e.classList.contains("expanded")?(e.classList.remove("expanded"),r.setAttribute("title","Expand section")):(e.classList.add("expanded"),r.setAttribute("title","Collapse section"))}render(){return r("div",{key:"bc2b8e4401832befc3a44507714cf1e0398aec29",class:"container space-below-"+this.spaceBelow+" text-colour-"+this.textColour+" heading-colour-"+this.headingColour},r("div",{key:"f96bc14cb0eebc77085b2b4b197b6e2fc31f0305",class:"sleeve"},void 0===this.children?[]:this.children.map((o=>r("div",{class:"entry"},r("h3",{class:"heading",onClick:this.toggleSection,title:"Expand section"},o.heading,r("span",{class:"arrow"},r("svg",{width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986",stroke:"black","stroke-width":"2"})))),r("div",{class:"content",innerHTML:o.innerHTML}))))))}get host(){return this}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative}.container .entry h3.heading{position:relative;margin:25px 0 0 0;padding:15px 60px 10px 20px;border-bottom:1px solid #000000;cursor:pointer}.container .entry h3.heading span.arrow{display:block;position:absolute;right:20px;top:10px;width:40px;height:20px;text-align:center}.container .entry .content{overflow:hidden;max-height:0;padding:0 20px}.container .entry.expanded .content{max-height:100%}.container .entry.expanded span.arrow{transform:rotate(-180deg)}.container.heading-colour-primary .entry h3.heading svg path{stroke:#2C089B}.container.heading-colour-primary h3.heading{color:#2C089B}.container.text-colour-primary .content{color:#2C089B}.container.heading-colour-secondary .entry h3.heading svg path{stroke:#2AF135}.container.heading-colour-secondary h3.heading{color:#2AF135}.container.text-colour-secondary .content{color:#2AF135}.container.heading-colour-tertiary .entry h3.heading svg path{stroke:#FF7272}.container.heading-colour-tertiary h3.heading{color:#FF7272}.container.text-colour-tertiary .content{color:#FF7272}.container.heading-colour-brand-cc-red .entry h3.heading svg path{stroke:#B30510}.container.heading-colour-brand-cc-red h3.heading{color:#B30510}.container.text-colour-brand-cc-red .content{color:#B30510}.container.heading-colour-brand-wgmf-purple .entry h3.heading svg path{stroke:#6E0887}.container.heading-colour-brand-wgmf-purple h3.heading{color:#6E0887}.container.text-colour-brand-wgmf-purple .content{color:#6E0887}.container.heading-colour-brand-gmf-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-gmf-green h3.heading{color:#50B400}.container.text-colour-brand-gmf-green .content{color:#50B400}.container.heading-colour-brand-er-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-er-green h3.heading{color:#50B400}.container.text-colour-brand-er-green .content{color:#50B400}.container.heading-colour-brand-er-dark-green .entry h3.heading svg path{stroke:#002413}.container.heading-colour-brand-er-dark-green h3.heading{color:#002413}.container.text-colour-brand-er-dark-green .content{color:#002413}.container.heading-colour-brand-er-dark-blue .entry h3.heading svg path{stroke:#0c0068}.container.heading-colour-brand-er-dark-blue h3.heading{color:#0c0068}.container.text-colour-brand-er-dark-blue .content{color:#0c0068}.container.heading-colour-brand-er-teal .entry h3.heading svg path{stroke:#00a76d}.container.heading-colour-brand-er-teal h3.heading{color:#00a76d}.container.text-colour-brand-er-teal .content{color:#00a76d}.container.heading-colour-brand-emf-yellow .entry h3.heading svg path{stroke:#FFE500}.container.heading-colour-brand-emf-yellow h3.heading{color:#FFE500}.container.text-colour-brand-emf-yellow .content{color:#FFE500}.container.heading-colour-brand-c4c-orange .entry h3.heading svg path{stroke:#F07D00}.container.heading-colour-brand-c4c-orange h3.heading{color:#F07D00}.container.text-colour-brand-c4c-orange .content{color:#F07D00}.container.heading-colour-brand-afa-pink .entry h3.heading svg path{stroke:#BF387D}.container.heading-colour-brand-afa-pink h3.heading{color:#BF387D}.container.text-colour-brand-afa-pink .content{color:#BF387D}.container.heading-colour-brand-scw-magenta .entry h3.heading svg path{stroke:#EE2C65}.container.heading-colour-brand-scw-magenta h3.heading{color:#EE2C65}.container.text-colour-brand-scw-magenta .content{color:#EE2C65}.container.heading-colour-brand-mhf-turquoise .entry h3.heading svg path{stroke:#62CFC9}.container.heading-colour-brand-mhf-turquoise h3.heading{color:#62CFC9}.container.text-colour-brand-mhf-turquoise .content{color:#62CFC9}.container.heading-colour-brand-grey .entry h3.heading svg path{stroke:#CBC8C8}.container.heading-colour-brand-grey h3.heading{color:#CBC8C8}.container.text-colour-brand-grey .content{color:#CBC8C8}.container.heading-colour-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-white h3.heading{color:#FFFFFF}.container.text-colour-white .content{color:#FFFFFF}.container.heading-colour-black .entry h3.heading svg path{stroke:#000000}.container.heading-colour-black h3.heading{color:#000000}.container.text-colour-black .content{color:#000000}.container.heading-colour-grey-extra-light .entry h3.heading svg path{stroke:#D7D7D7}.container.heading-colour-grey-extra-light h3.heading{color:#D7D7D7}.container.text-colour-grey-extra-light .content{color:#D7D7D7}.container.heading-colour-grey-light .entry h3.heading svg path{stroke:#E8E8E8}.container.heading-colour-grey-light h3.heading{color:#E8E8E8}.container.text-colour-grey-light .content{color:#E8E8E8}.container.heading-colour-grey-medium .entry h3.heading svg path{stroke:#8A8A8A}.container.heading-colour-grey-medium h3.heading{color:#8A8A8A}.container.text-colour-grey-medium .content{color:#8A8A8A}.container.heading-colour-grey-dark .entry h3.heading svg path{stroke:#4A4A4A}.container.heading-colour-grey-dark h3.heading{color:#4A4A4A}.container.text-colour-grey-dark .content{color:#4A4A4A}.container.heading-colour-philco-orange .entry h3.heading svg path{stroke:#f18a00}.container.heading-colour-philco-orange h3.heading{color:#f18a00}.container.text-colour-philco-orange .content{color:#f18a00}.container.heading-colour-philco-gray-90 .entry h3.heading svg path{stroke:#1d1d1B}.container.heading-colour-philco-gray-90 h3.heading{color:#1d1d1B}.container.text-colour-philco-gray-90 .content{color:#1d1d1B}.container.heading-colour-philco-gray-70 .entry h3.heading svg path{stroke:#7D7D7D}.container.heading-colour-philco-gray-70 h3.heading{color:#7D7D7D}.container.text-colour-philco-gray-70 .content{color:#7D7D7D}.container.heading-colour-philco-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-philco-white h3.heading{color:#FFFFFF}.container.text-colour-philco-white .content{color:#FFFFFF}.container.heading-colour-philco-success-green .entry h3.heading svg path{stroke:#1Ec691}.container.heading-colour-philco-success-green h3.heading{color:#1Ec691}.container.text-colour-philco-success-green .content{color:#1Ec691}.container.heading-colour-philco-error-coral .entry h3.heading svg path{stroke:#F54242}.container.heading-colour-philco-error-coral h3.heading{color:#F54242}.container.text-colour-philco-error-coral .content{color:#F54242}.container.heading-colour-philco-gray-30 .entry h3.heading svg path{stroke:#BBBBBB}.container.heading-colour-philco-gray-30 h3.heading{color:#BBBBBB}.container.text-colour-philco-gray-30 .content{color:#BBBBBB}.container.heading-colour-philco-gray-20 .entry h3.heading svg path{stroke:#F6F6F6}.container.heading-colour-philco-gray-20 h3.heading{color:#F6F6F6}.container.text-colour-philco-gray-20 .content{color:#F6F6F6}'}},[1,"biggive-accordion",{spaceBelow:[2,"space-below"],textColour:[1,"text-colour"],headingColour:[1,"heading-colour"],children:[32]}]),c=t,a=function(){"undefined"!=typeof customElements&&["biggive-accordion"].forEach((o=>{"biggive-accordion"===o&&(customElements.get(n(o))||customElements.define(n(o),t))}))};export{c as BiggiveAccordion,a as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as n}from"@stencil/core/internal/client";const t=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.textColour="black",this.headingColour="primary"}componentWillLoad(){this.children=Array.from(this.host.children)}toggleSection(o){const r=o.target.closest(".entry"),e=r.querySelector(".arrow");r.classList.contains("expanded")?(r.classList.remove("expanded"),e.setAttribute("title","Expand section")):(r.classList.add("expanded"),e.setAttribute("title","Collapse section"))}render(){return e("div",{key:"e9bc8ddcd45944a81aa6bcad893b16cbb57cd681",class:"container space-below-"+this.spaceBelow+" text-colour-"+this.textColour+" heading-colour-"+this.headingColour},e("div",{key:"cb21d5299976c30a6ac84a6de728fd019e992871",class:"sleeve"},void 0===this.children?[]:this.children.map((o=>e("div",{class:"entry"},e("h3",{class:"heading",onClick:this.toggleSection,title:"Expand section"},o.heading,e("span",{class:"arrow"},e("svg",{width:"15",height:"9",viewBox:"0 0 15 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986",stroke:"black","stroke-width":"2"})))),e("div",{class:"content",innerHTML:o.innerHTML}))))))}get host(){return this}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative}.container .entry h3.heading{position:relative;margin:25px 0 0 0;padding:15px 60px 10px 20px;border-bottom:1px solid #000000;cursor:pointer}.container .entry h3.heading span.arrow{display:block;position:absolute;right:20px;top:10px;width:40px;height:20px;text-align:center}.container .entry .content{overflow:hidden;max-height:0;padding:0 20px}.container .entry.expanded .content{max-height:100%}.container .entry.expanded span.arrow{transform:rotate(-180deg)}.container.heading-colour-primary .entry h3.heading svg path{stroke:#2C089B}.container.heading-colour-primary h3.heading{color:#2C089B}.container.text-colour-primary .content{color:#2C089B}.container.heading-colour-secondary .entry h3.heading svg path{stroke:#2AF135}.container.heading-colour-secondary h3.heading{color:#2AF135}.container.text-colour-secondary .content{color:#2AF135}.container.heading-colour-tertiary .entry h3.heading svg path{stroke:#FF7272}.container.heading-colour-tertiary h3.heading{color:#FF7272}.container.text-colour-tertiary .content{color:#FF7272}.container.heading-colour-brand-cc-red .entry h3.heading svg path{stroke:#B30510}.container.heading-colour-brand-cc-red h3.heading{color:#B30510}.container.text-colour-brand-cc-red .content{color:#B30510}.container.heading-colour-brand-wgmf-purple .entry h3.heading svg path{stroke:#6E0887}.container.heading-colour-brand-wgmf-purple h3.heading{color:#6E0887}.container.text-colour-brand-wgmf-purple .content{color:#6E0887}.container.heading-colour-brand-gmf-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-gmf-green h3.heading{color:#50B400}.container.text-colour-brand-gmf-green .content{color:#50B400}.container.heading-colour-brand-er-green .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-er-green h3.heading{color:#50B400}.container.text-colour-brand-er-green .content{color:#50B400}.container.heading-colour-brand-er-dark-green .entry h3.heading svg path{stroke:#002413}.container.heading-colour-brand-er-dark-green h3.heading{color:#002413}.container.text-colour-brand-er-dark-green .content{color:#002413}.container.heading-colour-brand-er-dark-blue .entry h3.heading svg path{stroke:#0c0068}.container.heading-colour-brand-er-dark-blue h3.heading{color:#0c0068}.container.text-colour-brand-er-dark-blue .content{color:#0c0068}.container.heading-colour-brand-er-teal .entry h3.heading svg path{stroke:#00a76d}.container.heading-colour-brand-er-teal h3.heading{color:#00a76d}.container.text-colour-brand-er-teal .content{color:#00a76d}.container.heading-colour-brand-emf-yellow .entry h3.heading svg path{stroke:#FFE500}.container.heading-colour-brand-emf-yellow h3.heading{color:#FFE500}.container.text-colour-brand-emf-yellow .content{color:#FFE500}.container.heading-colour-brand-c4c-orange .entry h3.heading svg path{stroke:#F07D00}.container.heading-colour-brand-c4c-orange h3.heading{color:#F07D00}.container.text-colour-brand-c4c-orange .content{color:#F07D00}.container.heading-colour-brand-afa-pink .entry h3.heading svg path{stroke:#BF387D}.container.heading-colour-brand-afa-pink h3.heading{color:#BF387D}.container.text-colour-brand-afa-pink .content{color:#BF387D}.container.heading-colour-brand-scw-magenta .entry h3.heading svg path{stroke:#EE2C65}.container.heading-colour-brand-scw-magenta h3.heading{color:#EE2C65}.container.text-colour-brand-scw-magenta .content{color:#EE2C65}.container.heading-colour-brand-mhf-turquoise .entry h3.heading svg path{stroke:#62CFC9}.container.heading-colour-brand-mhf-turquoise h3.heading{color:#62CFC9}.container.text-colour-brand-mhf-turquoise .content{color:#62CFC9}.container.heading-colour-brand-grey .entry h3.heading svg path{stroke:#CBC8C8}.container.heading-colour-brand-grey h3.heading{color:#CBC8C8}.container.text-colour-brand-grey .content{color:#CBC8C8}.container.heading-colour-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-white h3.heading{color:#FFFFFF}.container.text-colour-white .content{color:#FFFFFF}.container.heading-colour-black .entry h3.heading svg path{stroke:#000000}.container.heading-colour-black h3.heading{color:#000000}.container.text-colour-black .content{color:#000000}.container.heading-colour-grey-extra-light .entry h3.heading svg path{stroke:#D7D7D7}.container.heading-colour-grey-extra-light h3.heading{color:#D7D7D7}.container.text-colour-grey-extra-light .content{color:#D7D7D7}.container.heading-colour-grey-light .entry h3.heading svg path{stroke:#E8E8E8}.container.heading-colour-grey-light h3.heading{color:#E8E8E8}.container.text-colour-grey-light .content{color:#E8E8E8}.container.heading-colour-grey-medium .entry h3.heading svg path{stroke:#8A8A8A}.container.heading-colour-grey-medium h3.heading{color:#8A8A8A}.container.text-colour-grey-medium .content{color:#8A8A8A}.container.heading-colour-grey-dark .entry h3.heading svg path{stroke:#4A4A4A}.container.heading-colour-grey-dark h3.heading{color:#4A4A4A}.container.text-colour-grey-dark .content{color:#4A4A4A}.container.heading-colour-philco-orange .entry h3.heading svg path{stroke:#f18a00}.container.heading-colour-philco-orange h3.heading{color:#f18a00}.container.text-colour-philco-orange .content{color:#f18a00}.container.heading-colour-philco-gray-90 .entry h3.heading svg path{stroke:#1d1d1B}.container.heading-colour-philco-gray-90 h3.heading{color:#1d1d1B}.container.text-colour-philco-gray-90 .content{color:#1d1d1B}.container.heading-colour-philco-gray-70 .entry h3.heading svg path{stroke:#7D7D7D}.container.heading-colour-philco-gray-70 h3.heading{color:#7D7D7D}.container.text-colour-philco-gray-70 .content{color:#7D7D7D}.container.heading-colour-philco-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-philco-white h3.heading{color:#FFFFFF}.container.text-colour-philco-white .content{color:#FFFFFF}.container.heading-colour-philco-success-green .entry h3.heading svg path{stroke:#1Ec691}.container.heading-colour-philco-success-green h3.heading{color:#1Ec691}.container.text-colour-philco-success-green .content{color:#1Ec691}.container.heading-colour-philco-error-coral .entry h3.heading svg path{stroke:#F54242}.container.heading-colour-philco-error-coral h3.heading{color:#F54242}.container.text-colour-philco-error-coral .content{color:#F54242}.container.heading-colour-philco-gray-30 .entry h3.heading svg path{stroke:#BBBBBB}.container.heading-colour-philco-gray-30 h3.heading{color:#BBBBBB}.container.text-colour-philco-gray-30 .content{color:#BBBBBB}.container.heading-colour-philco-gray-20 .entry h3.heading svg path{stroke:#F6F6F6}.container.heading-colour-philco-gray-20 h3.heading{color:#F6F6F6}.container.text-colour-philco-gray-20 .content{color:#F6F6F6}'}},[1,"biggive-accordion",{spaceBelow:[2,"space-below"],textColour:[1,"text-colour"],headingColour:[1,"heading-colour"],children:[32]}]),c=t,a=function(){"undefined"!=typeof customElements&&["biggive-accordion"].forEach((o=>{"biggive-accordion"===o&&(customElements.get(n(o))||customElements.define(n(o),t))}))};export{c as BiggiveAccordion,a as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as c}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="white",this.backgroundImageUrl="",this.slugColour="black",this.dateColour="black",this.mainTitleColour="black",this.imageLabelColour="black",this.buttonColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0}isEmpty(o){return null==o||""===o}render(){return e("div",{key:"d86aaf878f7a0e197136fb4ac1f8b7fc207b7e11",class:"container space-below-"+this.spaceBelow},e("div",{key:"3e11012de9023f098491a6fbfe830426c4b057db",class:"sleeve background-colour-"+this.backgroundColour+" text-colour-black slug-colour-"+this.slugColour+" date-colour-"+this.dateColour+" main-title-colour-"+this.mainTitleColour+" image-label-colour-"+this.imageLabelColour+" button-colour"+this.buttonColour+" clip-bottom-left-corner-"+this.clipBottomLeftCorner+" clip-top-right-corner-"+this.clipTopRightCorner,style:Object.assign({},this.backgroundImageUrl.length>0?{"background-image":"url('"+this.backgroundImageUrl+"')"}:{})},e("div",{key:"28ac2bb58a628cae7dd8742eacbb1d8bdecd65d8",class:"content-wrap"},e("div",{key:"7e759853cba1d5d7858f5fe87354898dc0d9c15f",class:"meta"},""!=this.slug?e("div",{class:"slug text-colour-primary"},this.slug):null,""!=this.date?e("div",{class:"date"},this.date):null),this.isEmpty(this.mainImageUrl)?null:e("div",{class:"main-image-container"},e("div",{class:"image-wrap"},e("img",{src:this.mainImageUrl,alt:this.mainImageAltText}))),e("h3",{key:"8f7041676e2a055e0a06dee49f36b9097a30de6b",class:"title"},e("a",{key:"0b4ff678c49459b058e250c5160060f9ba89f776",href:this.buttonUrl},this.mainTitle)),this.isEmpty(this.image1Url)&&this.isEmpty(this.image2Url)?null:e("div",{class:"image-group"},this.isEmpty(this.image1Url)?null:e("div",{class:"image-container"},e("div",{class:"image-wrap",style:{"background-image":"url('"+this.image1Url+"')"}},e("img",{src:this.image1Url,alt:this.image1AltText}))),this.isEmpty(this.image2Url)?null:e("div",{class:"image-container"},e("div",{class:"image-wrap",style:{"background-image":"url('"+this.image2Url+"')"}},e("img",{src:this.image2Url,alt:this.image2AltText})))),this.isEmpty(this.imageLabel)?null:e("div",{class:"image-label"},this.imageLabel),this.isEmpty(this.buttonLabel)||this.isEmpty(this.buttonUrl)?null:e("div",{class:"button-wrap align-right"},e("biggive-button",{"colour-scheme":"clear-"+this.buttonColour,url:this.buttonUrl,label:this.buttonLabel})))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.align-right{text-align:right}.container{height:100%;width:100%;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.container .sleeve{height:100%;box-sizing:border-box;background-size:cover;padding:15px 15px 10px 15px}.container .sleeve .content-wrap{height:100%;display:flex;flex-direction:column}.container .meta{margin-bottom:10px}.container .meta .slug{font-size:16px;line-height:22px;margin-bottom:5px}.container .meta .date{font-size:16px;line-height:22px;margin-bottom:5px}.container h3{font-size:20px;line-height:24px;font-weight:bold;padding-bottom:15px;margin-bottom:auto}.container h3 a,.container h3 a:hover{text-decoration:none}.container .main-image-container img{width:100%;height:auto;display:inline-block}.container .image-group{display:flex;margin-bottom:15px}.container .image-group .image-container{margin-right:15px}.container .image-group .image-container .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-container .image-wrap img{display:none}.container .image-label{font-size:13px;line-height:17px}.container .clip-bottom-left-corner-false.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container .clip-bottom-left-corner-true.clip-top-right-corner-false{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .clip-bottom-left-corner-true.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .main-title-colour-primary h3{color:#2C089B}.container .slug-colour-primary .slug{color:#2C089B}.container .date-colour-primary .date{color:#2C089B}.container .image-label-colour-primary .image-label{color:#2C089B}.container .main-title-colour-secondary h3{color:#2AF135}.container .slug-colour-secondary .slug{color:#2AF135}.container .date-colour-secondary .date{color:#2AF135}.container .image-label-colour-secondary .image-label{color:#2AF135}.container .main-title-colour-tertiary h3{color:#FF7272}.container .slug-colour-tertiary .slug{color:#FF7272}.container .date-colour-tertiary .date{color:#FF7272}.container .image-label-colour-tertiary .image-label{color:#FF7272}.container .main-title-colour-brand-cc-red h3{color:#B30510}.container .slug-colour-brand-cc-red .slug{color:#B30510}.container .date-colour-brand-cc-red .date{color:#B30510}.container .image-label-colour-brand-cc-red .image-label{color:#B30510}.container .main-title-colour-brand-wgmf-purple h3{color:#6E0887}.container .slug-colour-brand-wgmf-purple .slug{color:#6E0887}.container .date-colour-brand-wgmf-purple .date{color:#6E0887}.container .image-label-colour-brand-wgmf-purple .image-label{color:#6E0887}.container .main-title-colour-brand-gmf-green h3{color:#50B400}.container .slug-colour-brand-gmf-green .slug{color:#50B400}.container .date-colour-brand-gmf-green .date{color:#50B400}.container .image-label-colour-brand-gmf-green .image-label{color:#50B400}.container .main-title-colour-brand-er-green h3{color:#50B400}.container .slug-colour-brand-er-green .slug{color:#50B400}.container .date-colour-brand-er-green .date{color:#50B400}.container .image-label-colour-brand-er-green .image-label{color:#50B400}.container .main-title-colour-brand-er-dark-green h3{color:#002413}.container .slug-colour-brand-er-dark-green .slug{color:#002413}.container .date-colour-brand-er-dark-green .date{color:#002413}.container .image-label-colour-brand-er-dark-green .image-label{color:#002413}.container .main-title-colour-brand-er-dark-blue h3{color:#0c0068}.container .slug-colour-brand-er-dark-blue .slug{color:#0c0068}.container .date-colour-brand-er-dark-blue .date{color:#0c0068}.container .image-label-colour-brand-er-dark-blue .image-label{color:#0c0068}.container .main-title-colour-brand-er-teal h3{color:#00a76d}.container .slug-colour-brand-er-teal .slug{color:#00a76d}.container .date-colour-brand-er-teal .date{color:#00a76d}.container .image-label-colour-brand-er-teal .image-label{color:#00a76d}.container .main-title-colour-brand-emf-yellow h3{color:#FFE500}.container .slug-colour-brand-emf-yellow .slug{color:#FFE500}.container .date-colour-brand-emf-yellow .date{color:#FFE500}.container .image-label-colour-brand-emf-yellow .image-label{color:#FFE500}.container .main-title-colour-brand-c4c-orange h3{color:#F07D00}.container .slug-colour-brand-c4c-orange .slug{color:#F07D00}.container .date-colour-brand-c4c-orange .date{color:#F07D00}.container .image-label-colour-brand-c4c-orange .image-label{color:#F07D00}.container .main-title-colour-brand-afa-pink h3{color:#BF387D}.container .slug-colour-brand-afa-pink .slug{color:#BF387D}.container .date-colour-brand-afa-pink .date{color:#BF387D}.container .image-label-colour-brand-afa-pink .image-label{color:#BF387D}.container .main-title-colour-brand-scw-magenta h3{color:#EE2C65}.container .slug-colour-brand-scw-magenta .slug{color:#EE2C65}.container .date-colour-brand-scw-magenta .date{color:#EE2C65}.container .image-label-colour-brand-scw-magenta .image-label{color:#EE2C65}.container .main-title-colour-brand-mhf-turquoise h3{color:#62CFC9}.container .slug-colour-brand-mhf-turquoise .slug{color:#62CFC9}.container .date-colour-brand-mhf-turquoise .date{color:#62CFC9}.container .image-label-colour-brand-mhf-turquoise .image-label{color:#62CFC9}.container .main-title-colour-brand-grey h3{color:#CBC8C8}.container .slug-colour-brand-grey .slug{color:#CBC8C8}.container .date-colour-brand-grey .date{color:#CBC8C8}.container .image-label-colour-brand-grey .image-label{color:#CBC8C8}.container .main-title-colour-white h3{color:#FFFFFF}.container .slug-colour-white .slug{color:#FFFFFF}.container .date-colour-white .date{color:#FFFFFF}.container .image-label-colour-white .image-label{color:#FFFFFF}.container .main-title-colour-black h3{color:#000000}.container .slug-colour-black .slug{color:#000000}.container .date-colour-black .date{color:#000000}.container .image-label-colour-black .image-label{color:#000000}.container .main-title-colour-grey-extra-light h3{color:#D7D7D7}.container .slug-colour-grey-extra-light .slug{color:#D7D7D7}.container .date-colour-grey-extra-light .date{color:#D7D7D7}.container .image-label-colour-grey-extra-light .image-label{color:#D7D7D7}.container .main-title-colour-grey-light h3{color:#E8E8E8}.container .slug-colour-grey-light .slug{color:#E8E8E8}.container .date-colour-grey-light .date{color:#E8E8E8}.container .image-label-colour-grey-light .image-label{color:#E8E8E8}.container .main-title-colour-grey-medium h3{color:#8A8A8A}.container .slug-colour-grey-medium .slug{color:#8A8A8A}.container .date-colour-grey-medium .date{color:#8A8A8A}.container .image-label-colour-grey-medium .image-label{color:#8A8A8A}.container .main-title-colour-grey-dark h3{color:#4A4A4A}.container .slug-colour-grey-dark .slug{color:#4A4A4A}.container .date-colour-grey-dark .date{color:#4A4A4A}.container .image-label-colour-grey-dark .image-label{color:#4A4A4A}.container .main-title-colour-philco-orange h3{color:#f18a00}.container .slug-colour-philco-orange .slug{color:#f18a00}.container .date-colour-philco-orange .date{color:#f18a00}.container .image-label-colour-philco-orange .image-label{color:#f18a00}.container .main-title-colour-philco-gray-90 h3{color:#1d1d1B}.container .slug-colour-philco-gray-90 .slug{color:#1d1d1B}.container .date-colour-philco-gray-90 .date{color:#1d1d1B}.container .image-label-colour-philco-gray-90 .image-label{color:#1d1d1B}.container .main-title-colour-philco-gray-70 h3{color:#7D7D7D}.container .slug-colour-philco-gray-70 .slug{color:#7D7D7D}.container .date-colour-philco-gray-70 .date{color:#7D7D7D}.container .image-label-colour-philco-gray-70 .image-label{color:#7D7D7D}.container .main-title-colour-philco-white h3{color:#FFFFFF}.container .slug-colour-philco-white .slug{color:#FFFFFF}.container .date-colour-philco-white .date{color:#FFFFFF}.container .image-label-colour-philco-white .image-label{color:#FFFFFF}.container .main-title-colour-philco-success-green h3{color:#1Ec691}.container .slug-colour-philco-success-green .slug{color:#1Ec691}.container .date-colour-philco-success-green .date{color:#1Ec691}.container .image-label-colour-philco-success-green .image-label{color:#1Ec691}.container .main-title-colour-philco-error-coral h3{color:#F54242}.container .slug-colour-philco-error-coral .slug{color:#F54242}.container .date-colour-philco-error-coral .date{color:#F54242}.container .image-label-colour-philco-error-coral .image-label{color:#F54242}.container .main-title-colour-philco-gray-30 h3{color:#BBBBBB}.container .slug-colour-philco-gray-30 .slug{color:#BBBBBB}.container .date-colour-philco-gray-30 .date{color:#BBBBBB}.container .image-label-colour-philco-gray-30 .image-label{color:#BBBBBB}.container .main-title-colour-philco-gray-20 h3{color:#F6F6F6}.container .slug-colour-philco-gray-20 .slug{color:#F6F6F6}.container .date-colour-philco-gray-20 .date{color:#F6F6F6}.container .image-label-colour-philco-gray-20 .image-label{color:#F6F6F6}'}},[1,"biggive-article-card",{spaceBelow:[2,"space-below"],backgroundColour:[1,"background-colour"],backgroundImageUrl:[1,"background-image-url"],slug:[1],slugColour:[1,"slug-colour"],date:[1],dateColour:[1,"date-colour"],mainTitle:[1,"main-title"],mainTitleColour:[1,"main-title-colour"],mainImageUrl:[1,"main-image-url"],mainImageAltText:[1,"main-image-alt-text"],image1Url:[1,"image-1-url"],image1AltText:[1,"image-1-alt-text"],image2Url:[1,"image-2-url"],image2AltText:[1,"image-2-alt-text"],imageLabel:[1,"image-label"],imageLabelColour:[1,"image-label-colour"],buttonLabel:[1,"button-label"],buttonUrl:[1,"button-url"],buttonColour:[1,"button-colour"],clipBottomLeftCorner:[4,"clip-bottom-left-corner"],clipTopRightCorner:[4,"clip-top-right-corner"]}]),t=a,n=function(){"undefined"!=typeof customElements&&["biggive-article-card","biggive-button"].forEach((o=>{switch(o){case"biggive-article-card":customElements.get(c(o))||customElements.define(c(o),a);break;case"biggive-button":customElements.get(c(o))||l()}}))};export{t as BiggiveArticleCard,n as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as l}from"@stencil/core/internal/client";import{d as c}from"./biggive-button2.js";const a=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="white",this.backgroundImageUrl="",this.slugColour="black",this.dateColour="black",this.mainTitleColour="black",this.imageLabelColour="black",this.buttonColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0}isEmpty(o){return null==o||""===o}render(){return e("div",{key:"7c28f94f07d718a5e891a28a1c692d8801d789b9",class:"container space-below-"+this.spaceBelow},e("div",{key:"1a5c943543b3f3ca11b6cb710e4822624b45fe0b",class:"sleeve background-colour-"+this.backgroundColour+" text-colour-black slug-colour-"+this.slugColour+" date-colour-"+this.dateColour+" main-title-colour-"+this.mainTitleColour+" image-label-colour-"+this.imageLabelColour+" button-colour"+this.buttonColour+" clip-bottom-left-corner-"+this.clipBottomLeftCorner+" clip-top-right-corner-"+this.clipTopRightCorner,style:Object.assign({},this.backgroundImageUrl.length>0?{"background-image":"url('"+this.backgroundImageUrl+"')"}:{})},e("div",{key:"3cb256995fd7c2e1fb95f0a9c779476bdffaa58d",class:"content-wrap"},e("div",{key:"290b37894da3bff3c195586aee0e6ab073d89433",class:"meta"},""!=this.slug?e("div",{class:"slug text-colour-primary"},this.slug):null,""!=this.date?e("div",{class:"date"},this.date):null),this.isEmpty(this.mainImageUrl)?null:e("div",{class:"main-image-container"},e("div",{class:"image-wrap"},e("img",{src:this.mainImageUrl,alt:this.mainImageAltText}))),e("h3",{key:"95d8ff29f4abd3bd4e7f2d9b2586e28041251ef7",class:"title"},e("a",{key:"ad20df5ff066926cdf019d62d658fce4f30014ab",href:this.buttonUrl},this.mainTitle)),this.isEmpty(this.image1Url)&&this.isEmpty(this.image2Url)?null:e("div",{class:"image-group"},this.isEmpty(this.image1Url)?null:e("div",{class:"image-container"},e("div",{class:"image-wrap",style:{"background-image":"url('"+this.image1Url+"')"}},e("img",{src:this.image1Url,alt:this.image1AltText}))),this.isEmpty(this.image2Url)?null:e("div",{class:"image-container"},e("div",{class:"image-wrap",style:{"background-image":"url('"+this.image2Url+"')"}},e("img",{src:this.image2Url,alt:this.image2AltText})))),this.isEmpty(this.imageLabel)?null:e("div",{class:"image-label"},this.imageLabel),this.isEmpty(this.buttonLabel)||this.isEmpty(this.buttonUrl)?null:e("div",{class:"button-wrap align-right"},e("biggive-button",{"colour-scheme":"clear-"+this.buttonColour,url:this.buttonUrl,label:this.buttonLabel})))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.align-right{text-align:right}.container{height:100%;width:100%;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.container .sleeve{height:100%;box-sizing:border-box;background-size:cover;padding:15px 15px 10px 15px}.container .sleeve .content-wrap{height:100%;display:flex;flex-direction:column}.container .meta{margin-bottom:10px}.container .meta .slug{font-size:16px;line-height:22px;margin-bottom:5px}.container .meta .date{font-size:16px;line-height:22px;margin-bottom:5px}.container h3{font-size:20px;line-height:24px;font-weight:bold;padding-bottom:15px;margin-bottom:auto}.container h3 a,.container h3 a:hover{text-decoration:none}.container .main-image-container img{width:100%;height:auto;display:inline-block}.container .image-group{display:flex;margin-bottom:15px}.container .image-group .image-container{margin-right:15px}.container .image-group .image-container .image-wrap{border-radius:50%;width:60px;height:60px;background-size:cover;background-position:center center;margin-bottom:5px}.container .image-group .image-container .image-wrap img{display:none}.container .image-label{font-size:13px;line-height:17px}.container .clip-bottom-left-corner-false.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container .clip-bottom-left-corner-true.clip-top-right-corner-false{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .clip-bottom-left-corner-true.clip-top-right-corner-true{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .main-title-colour-primary h3{color:#2C089B}.container .slug-colour-primary .slug{color:#2C089B}.container .date-colour-primary .date{color:#2C089B}.container .image-label-colour-primary .image-label{color:#2C089B}.container .main-title-colour-secondary h3{color:#2AF135}.container .slug-colour-secondary .slug{color:#2AF135}.container .date-colour-secondary .date{color:#2AF135}.container .image-label-colour-secondary .image-label{color:#2AF135}.container .main-title-colour-tertiary h3{color:#FF7272}.container .slug-colour-tertiary .slug{color:#FF7272}.container .date-colour-tertiary .date{color:#FF7272}.container .image-label-colour-tertiary .image-label{color:#FF7272}.container .main-title-colour-brand-cc-red h3{color:#B30510}.container .slug-colour-brand-cc-red .slug{color:#B30510}.container .date-colour-brand-cc-red .date{color:#B30510}.container .image-label-colour-brand-cc-red .image-label{color:#B30510}.container .main-title-colour-brand-wgmf-purple h3{color:#6E0887}.container .slug-colour-brand-wgmf-purple .slug{color:#6E0887}.container .date-colour-brand-wgmf-purple .date{color:#6E0887}.container .image-label-colour-brand-wgmf-purple .image-label{color:#6E0887}.container .main-title-colour-brand-gmf-green h3{color:#50B400}.container .slug-colour-brand-gmf-green .slug{color:#50B400}.container .date-colour-brand-gmf-green .date{color:#50B400}.container .image-label-colour-brand-gmf-green .image-label{color:#50B400}.container .main-title-colour-brand-er-green h3{color:#50B400}.container .slug-colour-brand-er-green .slug{color:#50B400}.container .date-colour-brand-er-green .date{color:#50B400}.container .image-label-colour-brand-er-green .image-label{color:#50B400}.container .main-title-colour-brand-er-dark-green h3{color:#002413}.container .slug-colour-brand-er-dark-green .slug{color:#002413}.container .date-colour-brand-er-dark-green .date{color:#002413}.container .image-label-colour-brand-er-dark-green .image-label{color:#002413}.container .main-title-colour-brand-er-dark-blue h3{color:#0c0068}.container .slug-colour-brand-er-dark-blue .slug{color:#0c0068}.container .date-colour-brand-er-dark-blue .date{color:#0c0068}.container .image-label-colour-brand-er-dark-blue .image-label{color:#0c0068}.container .main-title-colour-brand-er-teal h3{color:#00a76d}.container .slug-colour-brand-er-teal .slug{color:#00a76d}.container .date-colour-brand-er-teal .date{color:#00a76d}.container .image-label-colour-brand-er-teal .image-label{color:#00a76d}.container .main-title-colour-brand-emf-yellow h3{color:#FFE500}.container .slug-colour-brand-emf-yellow .slug{color:#FFE500}.container .date-colour-brand-emf-yellow .date{color:#FFE500}.container .image-label-colour-brand-emf-yellow .image-label{color:#FFE500}.container .main-title-colour-brand-c4c-orange h3{color:#F07D00}.container .slug-colour-brand-c4c-orange .slug{color:#F07D00}.container .date-colour-brand-c4c-orange .date{color:#F07D00}.container .image-label-colour-brand-c4c-orange .image-label{color:#F07D00}.container .main-title-colour-brand-afa-pink h3{color:#BF387D}.container .slug-colour-brand-afa-pink .slug{color:#BF387D}.container .date-colour-brand-afa-pink .date{color:#BF387D}.container .image-label-colour-brand-afa-pink .image-label{color:#BF387D}.container .main-title-colour-brand-scw-magenta h3{color:#EE2C65}.container .slug-colour-brand-scw-magenta .slug{color:#EE2C65}.container .date-colour-brand-scw-magenta .date{color:#EE2C65}.container .image-label-colour-brand-scw-magenta .image-label{color:#EE2C65}.container .main-title-colour-brand-mhf-turquoise h3{color:#62CFC9}.container .slug-colour-brand-mhf-turquoise .slug{color:#62CFC9}.container .date-colour-brand-mhf-turquoise .date{color:#62CFC9}.container .image-label-colour-brand-mhf-turquoise .image-label{color:#62CFC9}.container .main-title-colour-brand-grey h3{color:#CBC8C8}.container .slug-colour-brand-grey .slug{color:#CBC8C8}.container .date-colour-brand-grey .date{color:#CBC8C8}.container .image-label-colour-brand-grey .image-label{color:#CBC8C8}.container .main-title-colour-white h3{color:#FFFFFF}.container .slug-colour-white .slug{color:#FFFFFF}.container .date-colour-white .date{color:#FFFFFF}.container .image-label-colour-white .image-label{color:#FFFFFF}.container .main-title-colour-black h3{color:#000000}.container .slug-colour-black .slug{color:#000000}.container .date-colour-black .date{color:#000000}.container .image-label-colour-black .image-label{color:#000000}.container .main-title-colour-grey-extra-light h3{color:#D7D7D7}.container .slug-colour-grey-extra-light .slug{color:#D7D7D7}.container .date-colour-grey-extra-light .date{color:#D7D7D7}.container .image-label-colour-grey-extra-light .image-label{color:#D7D7D7}.container .main-title-colour-grey-light h3{color:#E8E8E8}.container .slug-colour-grey-light .slug{color:#E8E8E8}.container .date-colour-grey-light .date{color:#E8E8E8}.container .image-label-colour-grey-light .image-label{color:#E8E8E8}.container .main-title-colour-grey-medium h3{color:#8A8A8A}.container .slug-colour-grey-medium .slug{color:#8A8A8A}.container .date-colour-grey-medium .date{color:#8A8A8A}.container .image-label-colour-grey-medium .image-label{color:#8A8A8A}.container .main-title-colour-grey-dark h3{color:#4A4A4A}.container .slug-colour-grey-dark .slug{color:#4A4A4A}.container .date-colour-grey-dark .date{color:#4A4A4A}.container .image-label-colour-grey-dark .image-label{color:#4A4A4A}.container .main-title-colour-philco-orange h3{color:#f18a00}.container .slug-colour-philco-orange .slug{color:#f18a00}.container .date-colour-philco-orange .date{color:#f18a00}.container .image-label-colour-philco-orange .image-label{color:#f18a00}.container .main-title-colour-philco-gray-90 h3{color:#1d1d1B}.container .slug-colour-philco-gray-90 .slug{color:#1d1d1B}.container .date-colour-philco-gray-90 .date{color:#1d1d1B}.container .image-label-colour-philco-gray-90 .image-label{color:#1d1d1B}.container .main-title-colour-philco-gray-70 h3{color:#7D7D7D}.container .slug-colour-philco-gray-70 .slug{color:#7D7D7D}.container .date-colour-philco-gray-70 .date{color:#7D7D7D}.container .image-label-colour-philco-gray-70 .image-label{color:#7D7D7D}.container .main-title-colour-philco-white h3{color:#FFFFFF}.container .slug-colour-philco-white .slug{color:#FFFFFF}.container .date-colour-philco-white .date{color:#FFFFFF}.container .image-label-colour-philco-white .image-label{color:#FFFFFF}.container .main-title-colour-philco-success-green h3{color:#1Ec691}.container .slug-colour-philco-success-green .slug{color:#1Ec691}.container .date-colour-philco-success-green .date{color:#1Ec691}.container .image-label-colour-philco-success-green .image-label{color:#1Ec691}.container .main-title-colour-philco-error-coral h3{color:#F54242}.container .slug-colour-philco-error-coral .slug{color:#F54242}.container .date-colour-philco-error-coral .date{color:#F54242}.container .image-label-colour-philco-error-coral .image-label{color:#F54242}.container .main-title-colour-philco-gray-30 h3{color:#BBBBBB}.container .slug-colour-philco-gray-30 .slug{color:#BBBBBB}.container .date-colour-philco-gray-30 .date{color:#BBBBBB}.container .image-label-colour-philco-gray-30 .image-label{color:#BBBBBB}.container .main-title-colour-philco-gray-20 h3{color:#F6F6F6}.container .slug-colour-philco-gray-20 .slug{color:#F6F6F6}.container .date-colour-philco-gray-20 .date{color:#F6F6F6}.container .image-label-colour-philco-gray-20 .image-label{color:#F6F6F6}'}},[1,"biggive-article-card",{spaceBelow:[2,"space-below"],backgroundColour:[1,"background-colour"],backgroundImageUrl:[1,"background-image-url"],slug:[1],slugColour:[1,"slug-colour"],date:[1],dateColour:[1,"date-colour"],mainTitle:[1,"main-title"],mainTitleColour:[1,"main-title-colour"],mainImageUrl:[1,"main-image-url"],mainImageAltText:[1,"main-image-alt-text"],image1Url:[1,"image-1-url"],image1AltText:[1,"image-1-alt-text"],image2Url:[1,"image-2-url"],image2AltText:[1,"image-2-alt-text"],imageLabel:[1,"image-label"],imageLabelColour:[1,"image-label-colour"],buttonLabel:[1,"button-label"],buttonUrl:[1,"button-url"],buttonColour:[1,"button-colour"],clipBottomLeftCorner:[4,"clip-bottom-left-corner"],clipTopRightCorner:[4,"clip-top-right-corner"]}]),t=a,n=function(){"undefined"!=typeof customElements&&["biggive-article-card","biggive-button"].forEach((o=>{switch(o){case"biggive-article-card":customElements.get(l(o))||customElements.define(l(o),a);break;case"biggive-button":customElements.get(l(o))||c()}}))};export{t as BiggiveArticleCard,n as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as a,getAssetPath as n,transformTag as c}from"@stencil/core/internal/client";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"c81fbfcacb8445e0e1a96abdcd5e4ad66708a279",class:"container"},a("a",{key:"355d8aa1acc6fd3babca2a7b287525f0de70d8de",href:"#"},a("img",{key:"58f2ca6dd89b53e28eaf9e757450a3155f4a5763",src:n("/assets/images/triangles-combined.svg")}),a("span",{key:"c13a14222acc61645f6b7e8a568d7569194ac535",class:"text"},"Back to top")))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin:30px 0;text-align:center}.container a{display:inline-block}.container a .text{display:block}'}},[1,"biggive-back-to-top"]),o=i,s=function(){"undefined"!=typeof customElements&&["biggive-back-to-top"].forEach((e=>{"biggive-back-to-top"===e&&(customElements.get(c(e))||customElements.define(c(e),i))}))};export{o as BiggiveBackToTop,s as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,h as a,getAssetPath as n,transformTag as i}from"@stencil/core/internal/client";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"73d4254f10b68df9d864636eade7196ba0de13c3",class:"container"},a("a",{key:"da8060e7a1da7999024a38190581bdc97d4e1bf5",href:"#"},a("img",{key:"9d6e4aff0347d8b600b4633f51efec6ac5b8f2d5",src:n("/assets/images/triangles-combined.svg")}),a("span",{key:"57829941a39aa067a1aa984a1cabf44e68cb7ebc",class:"text"},"Back to top")))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin:30px 0;text-align:center}.container a{display:inline-block}.container a .text{display:block}'}},[1,"biggive-back-to-top"]),o=c,s=function(){"undefined"!=typeof customElements&&["biggive-back-to-top"].forEach((e=>{"biggive-back-to-top"===e&&(customElements.get(i(e))||customElements.define(i(e),c))}))};export{o as BiggiveBackToTop,s as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as l}from"@stencil/core/internal/client";import{d as c}from"./biggive-button2.js";const t=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.siteDesign="biggive",this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.mainImageUrl=void 0,this.subtitle="",this.author="",this.date="",this.icon=!0,this.iconColour="primary",this.buttonAlign="center",this.buttonStyle="standard",this.buttonColourScheme="clear-primary",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3,this.addAnimation=!1}render(){var o,r;const l="h"+this.headingLevel;return e("div",{key:"91ad497814e34803085c0d21f61f24ec99b419ee",class:"container space-below-"+this.spaceBelow+" background-colour-"+this.backgroundColour+("philco"===this.siteDesign?" border-colour-"+this.backgroundColour:"")+" clip-bottom-left-corner-"+this.clipBottomLeftCorner+" clip-top-right-corner-"+this.clipTopRightCorner+" add-animation-"+this.addAnimation+" "+this.siteDesign,style:{"background-image":"url('"+this.backgroundImageUrl+"')"}},e("a",{key:"9b96bc23655d7d8ce1d0c8dba8539b4fee34d982",href:this.buttonUrl},e("div",{key:"ff2d6122a1bb9695e74463bb6b7f6f293e24537d",class:"sleeve background-colour-"+this.cardColour+" text-colour-"+this.textColour},e("div",{key:"2ef34767175cef27f29093d5ac985c55a4e4a3e2",class:"content-wrap"},this.icon?e("div",{class:"icon"},e("svg",{width:"53",height:"39",viewBox:"0 0 53 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z",class:"fill-black"}),e("path",{d:"M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z",class:"fill-"+this.iconColour}))):null,0===(null!==(r=null===(o=this.mainImageUrl)||void 0===o?void 0:o.length)&&void 0!==r?r:0)?null:e("div",{class:"main-image-container"},e("div",{class:"image-wrap"},e("img",{src:this.mainImageUrl,alt:this.mainImageAltText}))),e(l,{key:"d77587e1100a300716bd63f29861733abde29db9",class:"title"},this.mainTitle),""!==this.author||""!==this.date?e("div",{class:"subtitle"},this.author," ",e("span",{class:"divider"},"|")," ",this.date):null,""!==this.subtitle?e("div",{class:"subtitle"},this.subtitle):null,e("div",{key:"a0fd02caf0bf205724a501173e0cfb15bc0c6824",class:"teaser"},this.teaser),null!=this.buttonLabel&&null!=this.buttonUrl&&""!=this.buttonUrl?e("div",{class:"button-wrap align-"+this.buttonAlign},e("biggive-button",{"colour-scheme":this.buttonColourScheme,url:this.buttonUrl,label:this.buttonLabel,rounded:"philco"===this.siteDesign})):null))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.border-colour-primary{border-color:#2C089B}.border-colour-secondary{border-color:#2AF135}.border-colour-tertiary{border-color:#FF7272}.border-colour-brand-cc-red{border-color:#B30510}.border-colour-brand-wgmf-purple{border-color:#6E0887}.border-colour-brand-gmf-green{border-color:#50B400}.border-colour-brand-er-green{border-color:#50B400}.border-colour-brand-er-dark-green{border-color:#002413}.border-colour-brand-er-dark-blue{border-color:#0c0068}.border-colour-brand-er-teal{border-color:#00a76d}.border-colour-brand-emf-yellow{border-color:#FFE500}.border-colour-brand-c4c-orange{border-color:#F07D00}.border-colour-brand-afa-pink{border-color:#BF387D}.border-colour-brand-scw-magenta{border-color:#EE2C65}.border-colour-brand-mhf-turquoise{border-color:#62CFC9}.border-colour-brand-grey{border-color:#CBC8C8}.border-colour-white{border-color:#FFFFFF}.border-colour-black{border-color:#000000}.border-colour-grey-extra-light{border-color:#D7D7D7}.border-colour-grey-light{border-color:#E8E8E8}.border-colour-grey-medium{border-color:#8A8A8A}.border-colour-grey-dark{border-color:#4A4A4A}.border-colour-philco-orange{border-color:#f18a00}.border-colour-philco-gray-90{border-color:#1d1d1B}.border-colour-philco-gray-70{border-color:#7D7D7D}.border-colour-philco-white{border-color:#FFFFFF}.border-colour-philco-success-green{border-color:#1Ec691}.border-colour-philco-error-coral{border-color:#F54242}.border-colour-philco-gray-30{border-color:#BBBBBB}.border-colour-philco-gray-20{border-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container.philco{font-family:"Bitter", serif;font-size:16px;line-height:1.2rem;border-bottom:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px;padding:0;text-align:left;height:auto;box-shadow:0 0 24px 0 #BBBBBB;border-top:12px solid #f18a00}.container.philco .title{font-family:"Garage Gothic", sans-serif;font-weight:700;margin-top:0.1rem;margin-bottom:0.1rem;font-size:24px;line-height:30px;margin-top:0;margin-bottom:10px;text-transform:uppercase}.container.philco .subtitle{font-family:"Bitter", serif;line-height:1.2rem;color:#7D7D7D}.container.philco .subtitle .divider{color:#f18a00}.container a,.container a:hover{text-decoration:none}.container .sleeve{padding:30px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container .title{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}.container .main-image-container{margin-bottom:15px}.container .main-image-container img{width:100%;height:auto}.container .button-wrap{text-align:center}.container .button-wrap.align-left{text-align:left}.container .button-wrap.align-right{text-align:right}'}},[1,"biggive-basic-card",{spaceBelow:[2,"space-below"],siteDesign:[1,"site-design"],backgroundColour:[1,"background-colour"],backgroundImageUrl:[1,"background-image-url"],cardColour:[1,"card-colour"],textColour:[1,"text-colour"],mainImageUrl:[1,"main-image-url"],mainImageAltText:[1,"main-image-alt-text"],mainTitle:[1,"main-title"],subtitle:[1],author:[1],date:[1],teaser:[1],icon:[4],iconColour:[1,"icon-colour"],buttonAlign:[1,"button-align"],buttonStyle:[1,"button-style"],buttonLabel:[1,"button-label"],buttonUrl:[1,"button-url"],buttonColourScheme:[1,"button-colour-scheme"],clipBottomLeftCorner:[4,"clip-bottom-left-corner"],clipTopRightCorner:[4,"clip-top-right-corner"],headingLevel:[2,"heading-level"],addAnimation:[4,"add-animation"]}]),a=t,i=function(){"undefined"!=typeof customElements&&["biggive-basic-card","biggive-button"].forEach((o=>{switch(o){case"biggive-basic-card":customElements.get(l(o))||customElements.define(l(o),t);break;case"biggive-button":customElements.get(l(o))||c()}}))};export{a as BiggiveBasicCard,i as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as l}from"@stencil/core/internal/client";import{d as c}from"./biggive-button2.js";const a=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.siteDesign="biggive",this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.mainImageUrl=void 0,this.subtitle="",this.author="",this.date="",this.icon=!0,this.iconColour="primary",this.buttonAlign="center",this.buttonStyle="standard",this.buttonColourScheme="clear-primary",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3,this.addAnimation=!1}render(){var o,r;const l="h"+this.headingLevel;return e("div",{key:"1764bc9783eec59fd33d886a7fc867247100ac70",class:"container space-below-"+this.spaceBelow+" background-colour-"+this.backgroundColour+("philco"===this.siteDesign?" border-colour-"+this.backgroundColour:"")+" clip-bottom-left-corner-"+this.clipBottomLeftCorner+" clip-top-right-corner-"+this.clipTopRightCorner+" add-animation-"+this.addAnimation+" "+this.siteDesign,style:{"background-image":"url('"+this.backgroundImageUrl+"')"}},e("a",{key:"939b5ffc0091b38b7c5d0af16669c04e3227b855",href:this.buttonUrl},e("div",{key:"c8ed3094f1f494809e7a7a61c2b3c85c71c0db9a",class:"sleeve background-colour-"+this.cardColour+" text-colour-"+this.textColour},e("div",{key:"17035ed89f57b077656efa60b83a5287fb7ca8e2",class:"content-wrap"},this.icon?e("div",{class:"icon"},e("svg",{width:"53",height:"39",viewBox:"0 0 53 39",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e("path",{d:"M38.7009 13.6572L52.3535 38.6959H25.0386L38.7009 13.6572Z",class:"fill-black"}),e("path",{d:"M20.4789 36.4199L6.36785e-06 5.89713e-05L40.9724 6.61352e-05L20.4789 36.4199Z",class:"fill-"+this.iconColour}))):null,0===(null!==(r=null===(o=this.mainImageUrl)||void 0===o?void 0:o.length)&&void 0!==r?r:0)?null:e("div",{class:"main-image-container"},e("div",{class:"image-wrap"},e("img",{src:this.mainImageUrl,alt:this.mainImageAltText}))),e(l,{key:"f3060696fb4dd750fb8a77ccd3d7b4da81f00a05",class:"title"},this.mainTitle),""!==this.author||""!==this.date?e("div",{class:"subtitle"},this.author," ",e("span",{class:"divider"},"|")," ",this.date):null,""!==this.subtitle?e("div",{class:"subtitle"},this.subtitle):null,e("div",{key:"079182ac652a21939a20f162a2850fa0a4ee4bf4",class:"teaser"},this.teaser),null!=this.buttonLabel&&null!=this.buttonUrl&&""!=this.buttonUrl?e("div",{class:"button-wrap align-"+this.buttonAlign},e("biggive-button",{"colour-scheme":this.buttonColourScheme,url:this.buttonUrl,label:this.buttonLabel,rounded:"philco"===this.siteDesign})):null))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.border-colour-primary{border-color:#2C089B}.border-colour-secondary{border-color:#2AF135}.border-colour-tertiary{border-color:#FF7272}.border-colour-brand-cc-red{border-color:#B30510}.border-colour-brand-wgmf-purple{border-color:#6E0887}.border-colour-brand-gmf-green{border-color:#50B400}.border-colour-brand-er-green{border-color:#50B400}.border-colour-brand-er-dark-green{border-color:#002413}.border-colour-brand-er-dark-blue{border-color:#0c0068}.border-colour-brand-er-teal{border-color:#00a76d}.border-colour-brand-emf-yellow{border-color:#FFE500}.border-colour-brand-c4c-orange{border-color:#F07D00}.border-colour-brand-afa-pink{border-color:#BF387D}.border-colour-brand-scw-magenta{border-color:#EE2C65}.border-colour-brand-mhf-turquoise{border-color:#62CFC9}.border-colour-brand-grey{border-color:#CBC8C8}.border-colour-white{border-color:#FFFFFF}.border-colour-black{border-color:#000000}.border-colour-grey-extra-light{border-color:#D7D7D7}.border-colour-grey-light{border-color:#E8E8E8}.border-colour-grey-medium{border-color:#8A8A8A}.border-colour-grey-dark{border-color:#4A4A4A}.border-colour-philco-orange{border-color:#f18a00}.border-colour-philco-gray-90{border-color:#1d1d1B}.border-colour-philco-gray-70{border-color:#7D7D7D}.border-colour-philco-white{border-color:#FFFFFF}.border-colour-philco-success-green{border-color:#1Ec691}.border-colour-philco-error-coral{border-color:#F54242}.border-colour-philco-gray-30{border-color:#BBBBBB}.border-colour-philco-gray-20{border-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:center;background-size:cover;background-position:center center;padding:30px;height:100%;white-space:pre-wrap}.container.philco{font-family:"Bitter", serif;font-size:16px;line-height:1.2rem;border-bottom:12px;border-bottom-left-radius:12px;border-bottom-right-radius:12px;padding:0;text-align:left;height:auto;box-shadow:0 0 24px 0 #BBBBBB;border-top:12px solid #f18a00}.container.philco .title{font-family:"Garage Gothic", sans-serif;font-weight:700;margin-top:0.1rem;margin-bottom:0.1rem;font-size:24px;line-height:30px;margin-top:0;margin-bottom:10px;text-transform:uppercase}.container.philco .subtitle{font-family:"Bitter", serif;line-height:1.2rem;color:#7D7D7D}.container.philco .subtitle .divider{color:#f18a00}.container a,.container a:hover{text-decoration:none}.container .sleeve{padding:30px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container.clip-bottom-left-corner-false.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 0% 100%, 0 100%)}.container.clip-bottom-left-corner-true.clip-top-right-corner-false .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container.clip-bottom-left-corner-true.clip-top-right-corner-true .sleeve{clip-path:polygon(0% 0%, 0% 0%, calc(100% - 50px) 0%, 100% 50px, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}.container .icon svg{width:50px;height:auto}.container .title{font-size:25px;line-height:32px;font-weight:bold;margin-bottom:15px}.container .subtitle{margin-bottom:15px}.container .main-image-container{margin-bottom:15px}.container .main-image-container img{width:100%;height:auto}.container .button-wrap{text-align:center}.container .button-wrap.align-left{text-align:left}.container .button-wrap.align-right{text-align:right}'}},[1,"biggive-basic-card",{spaceBelow:[2,"space-below"],siteDesign:[1,"site-design"],backgroundColour:[1,"background-colour"],backgroundImageUrl:[1,"background-image-url"],cardColour:[1,"card-colour"],textColour:[1,"text-colour"],mainImageUrl:[1,"main-image-url"],mainImageAltText:[1,"main-image-alt-text"],mainTitle:[1,"main-title"],subtitle:[1],author:[1],date:[1],teaser:[1],icon:[4],iconColour:[1,"icon-colour"],buttonAlign:[1,"button-align"],buttonStyle:[1,"button-style"],buttonLabel:[1,"button-label"],buttonUrl:[1,"button-url"],buttonColourScheme:[1,"button-colour-scheme"],clipBottomLeftCorner:[4,"clip-bottom-left-corner"],clipTopRightCorner:[4,"clip-top-right-corner"],headingLevel:[2,"heading-level"],addAnimation:[4,"add-animation"]}]),t=a,i=function(){"undefined"!=typeof customElements&&["biggive-basic-card","biggive-button"].forEach((o=>{switch(o){case"biggive-basic-card":customElements.get(l(o))||customElements.define(l(o),a);break;case"biggive-button":customElements.get(l(o))||c()}}))};export{t as BiggiveBasicCard,i as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,h as c,transformTag as a}from"@stencil/core/internal/client";const d=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.verticalPadding=3,this.horizontalPadding=3,this.backgroundColour="white",this.shadow=!0}render(){return c("div",{key:"b0231dae2ba196ff7e3492b1e99aa85b383f4442",class:"container background-colour-"+this.backgroundColour+" space-below-"+this.spaceBelow+" horizontal-padding-"+this.horizontalPadding+" vertical-padding-"+this.verticalPadding+" shadow-"+this.shadow},c("slot",{key:"39b5c26d157ccd4e1435b4586bba3c1cff6d6518"}))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}:host{display:content}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}'}},[257,"biggive-boxed-content",{spaceBelow:[2,"space-below"],verticalPadding:[2,"vertical-padding"],horizontalPadding:[2,"horizontal-padding"],backgroundColour:[1,"background-colour"],shadow:[4]}]),n=d,e=function(){"undefined"!=typeof customElements&&["biggive-boxed-content"].forEach((o=>{"biggive-boxed-content"===o&&(customElements.get(a(o))||customElements.define(a(o),d))}))};export{n as BiggiveBoxedContent,e as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as r,h as c,transformTag as a}from"@stencil/core/internal/client";const d=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.verticalPadding=3,this.horizontalPadding=3,this.backgroundColour="white",this.shadow=!0}render(){return c("div",{key:"5d0d29687a4589fab3be340c997177b50c853fc8",class:"container background-colour-"+this.backgroundColour+" space-below-"+this.spaceBelow+" horizontal-padding-"+this.horizontalPadding+" vertical-padding-"+this.verticalPadding+" shadow-"+this.shadow},c("slot",{key:"2d08451e720e02e45d0105905a7e16a5b77b2be1"}))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}:host{display:content}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.horizontal-padding-1{padding-left:5px;padding-right:5px}.horizontal-padding-2{padding-left:10px;padding-right:10px}.horizontal-padding-3{padding-left:15px;padding-right:15px}.horizontal-padding-4{padding-left:30px;padding-right:30px}.horizontal-padding-5{padding-left:45px;padding-right:45px}.horizontal-padding-6{padding-left:60px;padding-right:60px}.vertical-padding-1{padding-top:5px;padding-bottom:5px}.vertical-padding-2{padding-top:10px;padding-bottom:10px}.vertical-padding-3{padding-top:15px;padding-bottom:15px}.vertical-padding-4{padding-top:30px;padding-bottom:30px}.vertical-padding-5{padding-top:45px;padding-bottom:45px}.vertical-padding-6{padding-top:60px;padding-bottom:60px}'}},[257,"biggive-boxed-content",{spaceBelow:[2,"space-below"],verticalPadding:[2,"vertical-padding"],horizontalPadding:[2,"horizontal-padding"],backgroundColour:[1,"background-colour"],shadow:[4]}]),n=d,e=function(){"undefined"!=typeof customElements&&["biggive-boxed-content"].forEach((o=>{"biggive-boxed-content"===o&&(customElements.get(a(o))||customElements.define(a(o),d))}))};export{n as BiggiveBoxedContent,e as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as i,transformTag as a}from"@stencil/core/internal/client";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.imageUrl="",this.logoUrl=""}render(){return i("div",{key:"1146fb4fac9a3cd7e4c8f1de5c85db8ecdd99ec3",class:"container space-below-"+this.spaceBelow},i("div",{key:"c99ad5ccc2dbd1338fbd6aef5031bcd64c82c0a9",class:"slug"},this.slug),i("div",{key:"daf950d7f6a76c5024a90f04f7be1e8f017d93a2",class:"image-wrap"},null!=this.imageUrl?i("img",null==this.imageAlt&&null==this.imageHeightPercent?{src:this.imageUrl}:null==this.imageAlt&&null!=this.imageHeightPercent?{src:this.imageUrl,style:{height:this.imageHeightPercent+"cqw"}}:null!=this.imageAlt&&null==this.imageHeightPercent?{src:this.imageUrl,alt:this.imageAlt}:{src:this.imageUrl,alt:this.imageAlt,style:{height:this.imageHeightPercent+"cqw"}}):null),null!=this.logoUrl?i("div",{class:"logo-wrap",style:{"background-image":"url('"+this.logoUrl+"')"}}):null,null!=this.charityName?i("h3",{class:"title"},this.charityName):null,null!=this.charityLocation?i("div",{class:"charity-info"},this.charityLocation):null)}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;container-type:inline-size}.container .slug{text-align:center;font-weight:bold;background-color:#2AF135;color:#000000;padding:5px 15px;width:100%;margin:-17px auto 17px auto;transform:translateY(50%);box-sizing:border-box}.container img{width:100%}.container .logo-wrap{border-radius:50%;width:120px;height:120px;transform:translateY(-50%);margin-top:30px;margin-bottom:-30px;background-size:contain;background-position:center center;background-repeat:no-repeat;background-color:#FFFFFF}@media screen and (max-width: 768px){.container .logo-wrap{width:100px;height:100px}}@media screen and (max-width: 576px){.container .logo-wrap{width:70px;height:70px;margin-top:20px}}.container #charityName{color:#2C089B;display:block;margin-bottom:5px;width:fit-content}.container #charityName,.container .charity-info{font-size:17px}@media screen and (max-width: 768px){.container #charityName,.container .charity-info{font-size:16px}}@media screen and (max-width: 576px){.container #charityName,.container .charity-info{font-size:15px}}@media screen and (max-width: 450px){.container #charityName,.container .charity-info{font-size:14px}}'}},[1,"biggive-branded-image",{spaceBelow:[2,"space-below"],imageUrl:[1,"image-url"],imageHeightPercent:[2,"image-height-percent"],imageAlt:[1,"image-alt"],logoUrl:[1,"logo-url"],slug:[1],charityName:[1,"charity-name"],charityLocation:[1,"charity-location"],charityUrl:[1,"charity-url"]}]),o=n,r=function(){"undefined"!=typeof customElements&&["biggive-branded-image"].forEach((t=>{"biggive-branded-image"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))};export{o as BiggiveBrandedImage,r as defineCustomElement}
1
+ import{proxyCustomElement as t,HTMLElement as i,h as e,transformTag as a}from"@stencil/core/internal/client";const n=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.imageUrl="",this.logoUrl=""}render(){return e("div",{key:"9d6e952a67a9bf5b5325e44b24f09a2d11f85de8",class:"container space-below-"+this.spaceBelow},e("div",{key:"04983693911b70f88450dabdb0416d2372203745",class:"slug"},this.slug),e("div",{key:"db4aa6a957636251e70da87edd4399f224d9662f",class:"image-wrap"},null!=this.imageUrl?e("img",null==this.imageAlt&&null==this.imageHeightPercent?{src:this.imageUrl}:null==this.imageAlt&&null!=this.imageHeightPercent?{src:this.imageUrl,style:{height:this.imageHeightPercent+"cqw"}}:null!=this.imageAlt&&null==this.imageHeightPercent?{src:this.imageUrl,alt:this.imageAlt}:{src:this.imageUrl,alt:this.imageAlt,style:{height:this.imageHeightPercent+"cqw"}}):null),null!=this.logoUrl?e("div",{class:"logo-wrap",style:{"background-image":"url('"+this.logoUrl+"')"}}):null,null!=this.charityName?e("h3",{class:"title"},this.charityName):null,null!=this.charityLocation?e("div",{class:"charity-info"},this.charityLocation):null)}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;container-type:inline-size}.container .slug{text-align:center;font-weight:bold;background-color:#2AF135;color:#000000;padding:5px 15px;width:100%;margin:-17px auto 17px auto;transform:translateY(50%);box-sizing:border-box}.container img{width:100%}.container .logo-wrap{border-radius:50%;width:120px;height:120px;transform:translateY(-50%);margin-top:30px;margin-bottom:-30px;background-size:contain;background-position:center center;background-repeat:no-repeat;background-color:#FFFFFF}@media screen and (max-width: 768px){.container .logo-wrap{width:100px;height:100px}}@media screen and (max-width: 576px){.container .logo-wrap{width:70px;height:70px;margin-top:20px}}.container #charityName{color:#2C089B;display:block;margin-bottom:5px;width:fit-content}.container #charityName,.container .charity-info{font-size:17px}@media screen and (max-width: 768px){.container #charityName,.container .charity-info{font-size:16px}}@media screen and (max-width: 576px){.container #charityName,.container .charity-info{font-size:15px}}@media screen and (max-width: 450px){.container #charityName,.container .charity-info{font-size:14px}}'}},[1,"biggive-branded-image",{spaceBelow:[2,"space-below"],imageUrl:[1,"image-url"],imageHeightPercent:[2,"image-height-percent"],imageAlt:[1,"image-alt"],logoUrl:[1,"logo-url"],slug:[1],charityName:[1,"charity-name"],charityLocation:[1,"charity-location"],charityUrl:[1,"charity-url"]}]),o=n,r=function(){"undefined"!=typeof customElements&&["biggive-branded-image"].forEach((t=>{"biggive-branded-image"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))};export{o as BiggiveBrandedImage,r as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.isNoOpUrl=()=>void 0===this.url||""===this.url.trim()||"#"===this.url,this.handleButtonClick=o=>{if(this.disabled)return o.preventDefault(),void o.stopPropagation();this.isNoOpUrl()&&(o.preventDefault(),o.stopPropagation()),this.doButtonClick.emit({event:o,url:this.url||""})}}render(){const o=this.isNoOpUrl(),r="button button-"+this.colourScheme+" full-width-"+this.fullWidth.toString()+" size-"+this.size+" rounded-"+this.rounded.toString()+(o?" no-op-link":"");return n("div",{key:"b1c3f26f5918613ab1dbd990c516ba0a8951fcc9",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},o?n("button",{type:"button","aria-disabled":this.disabled,disabled:this.disabled,id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label):n("a",{"pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url,target:this.openInNewTab?"_blank":"_self",id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label))}static get style(){return"a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:16px;line-height:22px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[1,"biggive-button",{spaceBelow:[2,"space-below"],colourScheme:[1,"colour-scheme"],label:[1],url:[1],openInNewTab:[4,"open-in-new-tab"],fullWidth:[4,"full-width"],size:[1],rounded:[4],centered:[4],buttonId:[1,"button-id"],siteDesign:[1,"site-design"],disabled:[4]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
1
+ import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.isNoOpUrl=()=>void 0===this.url||""===this.url.trim()||"#"===this.url,this.handleButtonClick=o=>{if(this.disabled)return o.preventDefault(),void o.stopPropagation();this.isNoOpUrl()&&(o.preventDefault(),o.stopPropagation()),this.doButtonClick.emit({event:o,url:this.url||""})}}render(){const o=this.isNoOpUrl(),r="button button-"+this.colourScheme+" full-width-"+this.fullWidth.toString()+" size-"+this.size+" rounded-"+this.rounded.toString()+(o?" no-op-link":"");return n("div",{key:"801ce97906fc2f47f509ca6f6a09de1b08e5cc6e",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},o?n("button",{type:"button","aria-disabled":this.disabled,disabled:this.disabled,id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label):n("a",{"pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url,target:this.openInNewTab?"_blank":"_self",id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label))}static get style(){return"a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:16px;line-height:22px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[1,"biggive-button",{spaceBelow:[2,"space-below"],colourScheme:[1,"colour-scheme"],label:[1],url:[1],openInNewTab:[4,"open-in-new-tab"],fullWidth:[4,"full-width"],size:[1],rounded:[4],centered:[4],buttonId:[1,"button-id"],siteDesign:[1,"site-design"],disabled:[4]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"9034edf7735fbce98ac35ed33eab4714d4755b1c",class:"container text-colour-"+this.defaultTextColour+" space-above-"+this.spaceAbove+" space-below-"+this.spaceBelow},t("div",{key:"93e414a7b216f823afd770d5a519b37c5e918995",class:"sleeve"},t("div",{key:"2aa543b75459b7a22a717853f1603eb403b1bd1d",class:"content-wrap"},t("div",{key:"1ab8ff1cc761daca196902bdf192c247d321129a",class:"slug heading-"+this.slugSize+" text-colour-"+this.slugColour},this.slug),t("h2",{key:"efec9a8702e00357ed7d5f225bad27ec142e371e",class:"title heading-"+this.mainTitleSize+" text-colour-"+this.mainTitleColour},this.mainTitle),t("div",{key:"6e3b73404d0f7d04671259f1bda5fb038f8d3178",class:"slug heading-"+this.subtitleSize+" text-colour-"+this.subtitleColour},this.subtitle),t("div",{key:"f3bb78d1d9c09f92eef4799e155be46a28d489e9",class:"teaser text-colour-"+this.teaserColour},this.teaser),null!=this.primaryButtonLabel&&null!=this.primaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.primaryButtonColourScheme,url:this.primaryButtonUrl,label:this.primaryButtonLabel})):null,null!=this.secondaryButtonLabel&&null!=this.secondaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.secondaryButtonColourScheme,url:this.secondaryButtonUrl,label:this.secondaryButtonLabel})):null)))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}'}},[1,"biggive-call-to-action",{spaceAbove:[2,"space-above"],spaceBelow:[2,"space-below"],defaultTextColour:[1,"default-text-colour"],slugSize:[2,"slug-size"],slugColour:[1,"slug-colour"],slug:[1],mainTitleColour:[1,"main-title-colour"],mainTitleSize:[2,"main-title-size"],mainTitle:[1,"main-title"],subtitleSize:[2,"subtitle-size"],subtitleColour:[1,"subtitle-colour"],subtitle:[1],teaserColour:[1,"teaser-colour"],teaser:[1],primaryButtonUrl:[1,"primary-button-url"],primaryButtonLabel:[1,"primary-button-label"],primaryButtonColourScheme:[1,"primary-button-colour-scheme"],secondaryButtonUrl:[1,"secondary-button-url"],secondaryButtonLabel:[1,"secondary-button-label"],secondaryButtonColourScheme:[1,"secondary-button-colour-scheme"]}]),c=a,i=function(){"undefined"!=typeof customElements&&["biggive-call-to-action","biggive-button"].forEach((o=>{switch(o){case"biggive-call-to-action":customElements.get(r(o))||customElements.define(r(o),a);break;case"biggive-button":customElements.get(r(o))||l()}}))};export{c as BiggiveCallToAction,i as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"20ee3f4f622c3c418c96bf621040de6c971518b9",class:"container text-colour-"+this.defaultTextColour+" space-above-"+this.spaceAbove+" space-below-"+this.spaceBelow},t("div",{key:"54d464b2e76150ff4f45195a132e4a714dedc103",class:"sleeve"},t("div",{key:"e5453f87b9c3ea6c835ba2354e356dd9ea8df33b",class:"content-wrap"},t("div",{key:"faa6db96c366dfe42e611bf560bd86a28a95f731",class:"slug heading-"+this.slugSize+" text-colour-"+this.slugColour},this.slug),t("h2",{key:"e31c7b9bf04f4cd3ebaad29775d98b131acbaa22",class:"title heading-"+this.mainTitleSize+" text-colour-"+this.mainTitleColour},this.mainTitle),t("div",{key:"6e023f3d942f95ce70c399d54657e04da25be4cb",class:"slug heading-"+this.subtitleSize+" text-colour-"+this.subtitleColour},this.subtitle),t("div",{key:"3d28d08712ba6584ad01323e39f001c41acbbd6b",class:"teaser text-colour-"+this.teaserColour},this.teaser),null!=this.primaryButtonLabel&&null!=this.primaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.primaryButtonColourScheme,url:this.primaryButtonUrl,label:this.primaryButtonLabel})):null,null!=this.secondaryButtonLabel&&null!=this.secondaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.secondaryButtonColourScheme,url:this.secondaryButtonUrl,label:this.secondaryButtonLabel})):null)))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}'}},[1,"biggive-call-to-action",{spaceAbove:[2,"space-above"],spaceBelow:[2,"space-below"],defaultTextColour:[1,"default-text-colour"],slugSize:[2,"slug-size"],slugColour:[1,"slug-colour"],slug:[1],mainTitleColour:[1,"main-title-colour"],mainTitleSize:[2,"main-title-size"],mainTitle:[1,"main-title"],subtitleSize:[2,"subtitle-size"],subtitleColour:[1,"subtitle-colour"],subtitle:[1],teaserColour:[1,"teaser-colour"],teaser:[1],primaryButtonUrl:[1,"primary-button-url"],primaryButtonLabel:[1,"primary-button-label"],primaryButtonColourScheme:[1,"primary-button-colour-scheme"],secondaryButtonUrl:[1,"secondary-button-url"],secondaryButtonLabel:[1,"secondary-button-label"],secondaryButtonColourScheme:[1,"secondary-button-colour-scheme"]}]),c=a,i=function(){"undefined"!=typeof customElements&&["biggive-call-to-action","biggive-button"].forEach((o=>{switch(o){case"biggive-call-to-action":customElements.get(r(o))||customElements.define(r(o),a);break;case"biggive-button":customElements.get(r(o))||l()}}))};export{c as BiggiveCallToAction,i as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,transformTag as l}from"@stencil/core/internal/client";import{f as s}from"./index2.js";import{d as r}from"./biggive-button2.js";import{d as o}from"./biggive-form-field-select2.js";import{d as c}from"./biggive-popup2.js";const n={relevance:"Relevance",amountRaised:"Most raised",leastRaised:"Least raised",closeToTarget:"Nearest target",matchFundsRemaining:"Most funds remaining"},d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doSearchAndFilterUpdate=i(this,"doSearchAndFilterUpdate",7),this.sortByPlaceholderText="Sort by",this.beneficiariesPlaceHolderText="Select beneficiary",this.categoriesPlaceHolderText="Select category",this.locationsPlaceHolderText="Select location",this.newSelectedFilterCategory=null,this.newSelectedFilterBeneficiary=null,this.newSelectedFilterLocation=null,this.spaceBelow=0,this.intro="Find a charity or project",this.searchText=null,this.placeholderText="Search",this.buttonText="Search",this.selectedFilterCategory=null,this.selectedFilterBeneficiary=null,this.selectedFilterLocation=null,this.categoryFilterSelectionChanged=e=>{this.newSelectedFilterCategory=e},this.beneficiarySelectionChanged=e=>{this.newSelectedFilterBeneficiary=e},this.locationSelectionChanged=e=>{this.newSelectedFilterLocation=e},this.sortBySelectionChanged=e=>{this.selectedSortByOption=e,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject())},this.handleApplyFilterButtonClick=()=>{var e,t,i,a;this.selectedFilterCategory=null!==(e=this.newSelectedFilterCategory)&&void 0!==e?e:this.selectedFilterCategory,this.selectedFilterBeneficiary=null!==(t=this.newSelectedFilterBeneficiary)&&void 0!==t?t:this.selectedFilterBeneficiary,this.selectedFilterLocation=null!==(i=this.newSelectedFilterLocation)&&void 0!==i?i:this.selectedFilterLocation;const l=this.getSearchAndFilterObject();this.doSearchAndFilterUpdate.emit(l);const s=null===(a=this.el.shadowRoot)||void 0===a?void 0:a.getElementById("filter-popup");s&&s.closeFromOutside(),this.filtersApplied="string"==typeof l.filterBeneficiary||"string"==typeof l.filterCategory||"string"==typeof l.filterLocation},this.handleSearchButtonPressed=()=>{this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()),this.hasSearchTerm()&&(this.selectedSortByOption="Relevance")},this.handleSearchTextChanged=e=>{this.searchText=e.target.value},this.handleEnterPressed=e=>{"Enter"===e.key&&(this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))},this.handleFilterButtonClick=()=>{var e;this.newSelectedFilterBeneficiary=this.selectedFilterBeneficiary,this.newSelectedFilterCategory=this.selectedFilterCategory,this.newSelectedFilterLocation=this.selectedFilterLocation;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("filter-popup");t&&t.openFromOutside()},this.handleClearAll=()=>{var e;this.unfocusTextInput(),this.filtersApplied=!1,this.searchText=null,this.selectedSortByOption=this.initialSortByOption,this.selectedFilterBeneficiary=null,this.selectedFilterCategory=null,this.selectedFilterLocation=null,["sort-by","categories","beneficiaries","locations","funding"].forEach((e=>{var t;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedValue=null,i.selectedLabel=null)}));const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".selected-filters");t&&t.querySelectorAll(".button").forEach((e=>{e.remove()})),this.doSearchAndFilterUpdate.emit({searchText:null,sortBy:null,filterCategory:null,filterBeneficiary:null,filterLocation:null})}}async unfocusInputs(){this.unfocusTextInput()}getSearchAndFilterObject(){return{searchText:this.searchText,sortBy:this.selectedSortByOption,filterCategory:this.selectedFilterCategory,filterBeneficiary:this.selectedFilterBeneficiary,filterLocation:this.selectedFilterLocation}}removeFilter(e){var t;switch(e){case"beneficiaries":this.selectedFilterBeneficiary=null;break;case"categories":this.selectedFilterCategory=null;break;case"locations":this.selectedFilterLocation=null;break;default:console.error(e)}const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedLabel=null,i.selectedValue=null,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))}unfocusTextInput(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".input-text");null==t||t.blur()}componentWillRender(){this.filtersApplied=null!==this.selectedFilterCategory||null!==this.selectedFilterBeneficiary||null!==this.selectedFilterLocation,this.initialSortByOption=this.selectedSortByOption}render(){var e;const t=this.getSortOptions();return a("div",{key:"5be71f04f2f6e4a45e61da8940e2539f348c5cac",class:"container space-below-"+this.spaceBelow},a("div",{key:"f1b79a107817211888847c09c99447759052ccd6",class:"sleeve"},a("div",{key:"7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84",class:"search-wrap"},a("h4",{key:"c78c9b66dac9880f28513fb3fb8f0f2cca9d0861"},this.intro),a("div",{key:"0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8",class:"field-wrap"},a("div",{key:"406ec166abfc71ad3773077376073fd9ece76aac",class:"input-wrap"},a("svg",{key:"6b736eb1bd1560214079b50cce7bc59fed380eba",xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},a("path",{key:"8fdac8bd9978f84302725fff032d5a7248a78982",d:""+s.icon[4]})),a("input",{key:"440d6a45a53a222d2bc3043048b55056e60d3fae",type:"text",value:null!==(e=this.searchText)&&void 0!==e?e:"",class:"input-text",placeholder:this.placeholderText,onInput:this.handleSearchTextChanged,onKeyDown:this.handleEnterPressed})),a("biggive-button",{key:"9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908",onDoButtonClick:this.handleSearchButtonPressed,label:this.buttonText}))),a("div",{key:"61145db67953fd6235150c9e3aa4c5e1ddecc032",class:"sort-filter-wrap"},a("div",{key:"a15f585989f71159f8ba838463b0d240431633f7",class:"filter-wrap"},a("biggive-button",{key:"cc6aa826f7f492bd0e5016d1bde47f24535ce87d",class:"filter",colourScheme:"primary",onDoButtonClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),a("biggive-popup",{key:"3ad918e1772a03426c5c067964bbb0fbbc2b56c8",id:"filter-popup"},a("h4",{key:"ba1813fa8e36ee461a85bf497cb06b60a4995b18",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),a("div",{key:"7f6deab4b11cd5841b691e8d44344462ab111bc5",class:"select-wrapper-1"},a("biggive-form-field-select",{key:"4dd06fde97603055af64e9e23a5f5f11dc7b1491",backgroundColour:"white",prompt:"Category",placeholder:this.categoriesPlaceHolderText,selectedLabel:this.selectedFilterCategory,selectedValue:this.selectedFilterCategory,options:this.optionsToArray(this.categoryOptions||[]),selectionChanged:this.categoryFilterSelectionChanged,id:"categories","space-below":"2"})),a("div",{key:"7bbcd9eb9642b84be51492f6db7bb6381366da4c",class:"select-wrapper-2"},a("biggive-form-field-select",{key:"73721e3bc15f4c266af026263c478bf9814fb00f",backgroundColour:"white",prompt:"Beneficiary",placeholder:this.beneficiariesPlaceHolderText,selectedLabel:this.selectedFilterBeneficiary,selectedValue:this.selectedFilterBeneficiary,options:this.optionsToArray(this.beneficiaryOptions||[]),selectionChanged:this.beneficiarySelectionChanged,id:"beneficiaries","space-below":"2"})),a("div",{key:"de856e44a37fa775389bee8559105654f43291a0",class:"select-wrapper-3"},a("biggive-form-field-select",{key:"2ff9d220a0859e589883dc2dd68660f803aa391d",backgroundColour:"white",prompt:"Location",placeholder:this.locationsPlaceHolderText,selectedLabel:this.selectedFilterLocation,selectedValue:this.selectedFilterLocation,options:this.optionsToArray(this.locationOptions||[]),selectionChanged:this.locationSelectionChanged,id:"locations","space-below":"2"})),a("div",{key:"6227a1d3942f208608a2ad91bf28c49b4bc9022d",class:"align-right"},a("biggive-button",{key:"bf1c8b35b7a151092173ad07c6cea1005a06cf7a",label:"Apply filters",onDoButtonClick:this.handleApplyFilterButtonClick})))),a("div",{key:"8ebda9bd87f0699cc4583ea83965e7a4ee55a487",class:"sort-wrap"},a("biggive-form-field-select",{key:"d56d94c0edd3e5fcd0a9792c3a623158d0247bea",options:t,prompt:null,"select-style":"underlined",placeholder:this.sortByPlaceholderText,selectedLabel:this.selectedSortByOption,selectedValue:this.getSelectedValue(),selectionChanged:this.sortBySelectionChanged,id:"sort-by"},a("biggive-form-field-select-option",{key:"d2c48236d24a187f7f6a0c1d6b19a677164b075d",value:"amountRaised",label:"Most raised"}),a("biggive-form-field-select-option",{key:"26a71e33235df3c3b3893c3c2567356bda95a51b",value:"leastRaised",label:"Least raised"}),a("biggive-form-field-select-option",{key:"425338ab178fb056fcaa34cd99a2034b82537eb4",value:"matchFundsRemaining",label:"Most funds remaining"}),a("biggive-form-field-select-option",{key:"c830bde748760a1a8bfb1ec4c51a6cb7adb235af",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?a("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),a("div",{key:"31ddc538b8a2e77d82a39aeaea1273eb1ac55135",class:"selected-filter-wrap"},a("div",{key:"47b7979d0b14fbba0f1468f26af3973fe3ea4f28",class:"selected-filters"},this.selectedFilterCategory&&a("span",{key:"f4fd6cc1214954fcdf238e93a0397ede5ccdb921",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&a("span",{key:"946143a1693b5d8a5e2042de52e37d9a4841bc0f",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&a("span",{key:"facb50dff01a6b2c39f958ec0034c04dfe479828",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),a("div",{key:"38c788f63669bc7b2acba4a73839cc6dd049a49a",class:"clear-all"},a("a",{key:"8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa",onClick:this.handleClearAll},"Clear all"))),a("div",{key:"df60a79e69ccdf7bcbcfd2c281d10446fb749a8e",class:"campaign-grid"},a("slot",{key:"845cd64aee0efa6aeadb8064d952ae43b4dfb6c7",name:"campaign-grid"}))))}getSelectedValue(){const e=this.selectedSortByOption;if(void 0===e)return;const t=this.getSortOptions().filter((t=>t.label.toLowerCase()===e.toLowerCase()))[0];return null==t?void 0:t.value}getSortOptions(){return Object.getOwnPropertyNames(n).filter((e=>"relevance"!==e||this.hasSearchTerm())).map((e=>({value:e,label:n[e]})))}hasSearchTerm(){return"string"==typeof this.searchText&&this.searchText.length>0}optionsToArray(e){return"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e.map((e=>({value:e,label:e}))):Object.entries(e).map((e=>({value:e[0],label:e[1]})))}get el(){return this}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:content}.select-wrapper-1,.select-wrapper-2,.select-wrapper-3,.select-wrapper-4{position:relative;margin-top:1em}.select-wrapper-1{z-index:4}.select-wrapper-2{z-index:3}.select-wrapper-3{z-index:2}.select-wrapper-4{z-index:1}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative}.container .search-wrap{background-color:#FFFFFF;padding:15px 30px;margin-bottom:15px}.container .search-wrap h4{margin-bottom:15px}.container .search-wrap .field-wrap{display:flex;justify-content:space-between}.container .search-wrap .field-wrap .input-wrap{display:flex;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}.container .search-wrap .field-wrap .input-wrap input{border:0}.container .search-wrap .field-wrap button{padding:5px 30px}.selected-filter-wrap{display:flex;margin-bottom:23px;padding:0}.selected-filter-wrap .button{margin-bottom:7px;display:inline-block;cursor:pointer;border-radius:20px;padding:5px 50px 5px 20px;margin-right:15px;background-color:#FF7272;color:#000000;border:1px solid #FF7272;text-decoration:none;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTguNCAxOC40IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOC40IDE4LjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7c3Ryb2tlOiMwMDAwMDA7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS4yLDguNUwxNywwLjdsMC43LDAuN0w5LjksOS4ybDcuOCw3LjhMMTcsMTcuN0w5LjIsOS45bC03LjgsNy44TDAuNywxN2w3LjgtNy44TDAuNywxLjRsMC43LTAuN0w5LjIsOC41eiIvPgo8L3N2Zz4K);background-repeat:no-repeat;background-position:right 20px center;background-size:12px auto}.selected-filter-wrap .button:hover{background-color:#FFFFFF;color:#000000}.selected-filter-wrap .clear-all{margin-left:auto}.selected-filter-wrap .clear-all a{display:inline-block;cursor:pointer;border-radius:20px;padding:5px 20px;background-color:#2C089B;color:#FFFFFF;border:1px solid #2C089B;text-decoration:none}.selected-filter-wrap .clear-all a:hover{background-color:#FFFFFF;color:#2C089B}.sort-filter-wrap{display:flex;justify-content:flex-end;margin-bottom:30px;padding:0;text-align:right;display:flex}.sort-filter-wrap .clear-all{cursor:pointer;vertical-align:center;margin-top:auto;margin-bottom:auto}.sort-filter-wrap .sort-wrap{margin-left:15px}.sort-filter-wrap .filter-wrap{background-color:#F6F6F6;margin-left:15px}.sort-filter-wrap .filter-wrap .button.filter{padding-left:60px;padding-right:30px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon{content:"";display:block;position:absolute;left:25px;top:17px;width:13px;height:13px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg{width:100%;height:auto;vertical-align:top}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg:hover{fill:#2C089B}.icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.icon>path{fill:#2C089B}.icon-clear-all>path{fill:#000000}@media screen and (max-width: 450px){.sort-filter-wrap{flex-direction:column-reverse}.sort-filter-wrap .sort-wrap{margin-top:20px;margin-bottom:20px}}@media screen and (max-width: 350px){.sort-filter-wrap{justify-content:space-between}.sort-filter-wrap .sort-wrap{margin-left:0px}.sort-filter-wrap .filter-wrap{margin-left:3px}}.align-right{text-align:right}.input-text{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text::placeholder{color:#4A4A4A}.text-colour-primary{color:#2C089B}'}},[257,"biggive-campaign-card-filter-grid",{spaceBelow:[2,"space-below"],intro:[1],searchText:[1,"search-text"],placeholderText:[1,"placeholder-text"],buttonText:[1,"button-text"],categoryOptions:[1,"category-options"],beneficiaryOptions:[1,"beneficiary-options"],locationOptions:[1,"location-options"],selectedSortByOption:[1025,"selected-sort-by-option"],selectedFilterCategory:[1025,"selected-filter-category"],selectedFilterBeneficiary:[1025,"selected-filter-beneficiary"],selectedFilterLocation:[1025,"selected-filter-location"],filtersApplied:[32],unfocusInputs:[64]}]),p=d,b=function(){"undefined"!=typeof customElements&&["biggive-campaign-card-filter-grid","biggive-button","biggive-form-field-select","biggive-popup"].forEach((e=>{switch(e){case"biggive-campaign-card-filter-grid":customElements.get(l(e))||customElements.define(l(e),d);break;case"biggive-button":customElements.get(l(e))||r();break;case"biggive-form-field-select":customElements.get(l(e))||o();break;case"biggive-popup":customElements.get(l(e))||c()}}))};export{p as BiggiveCampaignCardFilterGrid,b as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,transformTag as s}from"@stencil/core/internal/client";import{f as l}from"./index2.js";import{d as o}from"./biggive-button2.js";import{d as r}from"./biggive-form-field-select2.js";import{d as c}from"./biggive-popup2.js";const n={relevance:"Relevance",amountRaised:"Most raised",leastRaised:"Least raised",closeToTarget:"Nearest target",matchFundsRemaining:"Most funds remaining"},d=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doSearchAndFilterUpdate=i(this,"doSearchAndFilterUpdate",7),this.doGetLocationFromBrowser=i(this,"doGetLocationFromBrowser",7),this.sortByPlaceholderText="Sort by",this.beneficiariesPlaceHolderText="Select beneficiary",this.categoriesPlaceHolderText="Select category",this.locationsPlaceHolderText="Select location",this.newSelectedFilterCategory=null,this.newSelectedFilterBeneficiary=null,this.newSelectedFilterLocation=null,this.spaceBelow=0,this.intro="Find a charity or project",this.searchText=null,this.placeholderText="Search",this.buttonText="Search",this.selectedFilterCategory=null,this.selectedFilterBeneficiary=null,this.selectedFilterLocation=null,this.enableSearchByLocation=!1,this.fetchingLocation=!1,this.location=void 0,this.categoryFilterSelectionChanged=e=>{this.newSelectedFilterCategory=e},this.beneficiarySelectionChanged=e=>{this.newSelectedFilterBeneficiary=e},this.locationSelectionChanged=e=>{this.newSelectedFilterLocation=e},this.sortBySelectionChanged=e=>{this.selectedSortByOption=e,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject())},this.handleApplyFilterButtonClick=()=>{var e,t,i,a;this.selectedFilterCategory=null!==(e=this.newSelectedFilterCategory)&&void 0!==e?e:this.selectedFilterCategory,this.selectedFilterBeneficiary=null!==(t=this.newSelectedFilterBeneficiary)&&void 0!==t?t:this.selectedFilterBeneficiary,this.selectedFilterLocation=null!==(i=this.newSelectedFilterLocation)&&void 0!==i?i:this.selectedFilterLocation;const s=this.getSearchAndFilterObject();this.doSearchAndFilterUpdate.emit(s);const l=null===(a=this.el.shadowRoot)||void 0===a?void 0:a.getElementById("filter-popup");l&&l.closeFromOutside(),this.filtersApplied="string"==typeof s.filterBeneficiary||"string"==typeof s.filterCategory||"string"==typeof s.filterLocation},this.handleSearchButtonPressed=()=>{this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()),this.hasSearchTerm()&&(this.selectedSortByOption="Relevance")},this.handleNearMeButtonPressed=()=>{this.unfocusTextInput(),this.doGetLocationFromBrowser.emit()},this.handleSearchTextChanged=e=>{this.searchText=e.target.value},this.handleEnterPressed=e=>{"Enter"===e.key&&(this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))},this.handleFilterButtonClick=()=>{var e;this.newSelectedFilterBeneficiary=this.selectedFilterBeneficiary,this.newSelectedFilterCategory=this.selectedFilterCategory,this.newSelectedFilterLocation=this.selectedFilterLocation;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("filter-popup");t&&t.openFromOutside()},this.handleClearAll=()=>{var e;this.unfocusTextInput(),this.filtersApplied=!1,this.searchText=null,this.selectedSortByOption=this.initialSortByOption,this.selectedFilterBeneficiary=null,this.selectedFilterCategory=null,this.selectedFilterLocation=null,["sort-by","categories","beneficiaries","locations","funding"].forEach((e=>{var t;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedValue=null,i.selectedLabel=null)}));const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".selected-filters");t&&t.querySelectorAll(".button").forEach((e=>{e.remove()})),this.doSearchAndFilterUpdate.emit({searchText:null,sortBy:null,filterCategory:null,filterBeneficiary:null,filterLocation:null})}}async unfocusInputs(){this.unfocusTextInput()}getSearchAndFilterObject(){return{searchText:this.searchText,sortBy:this.selectedSortByOption,filterCategory:this.selectedFilterCategory,filterBeneficiary:this.selectedFilterBeneficiary,filterLocation:this.selectedFilterLocation}}removeFilter(e){var t;switch(e){case"beneficiaries":this.selectedFilterBeneficiary=null;break;case"categories":this.selectedFilterCategory=null;break;case"locations":this.selectedFilterLocation=null;break;default:console.error(e)}const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedLabel=null,i.selectedValue=null,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))}unfocusTextInput(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".input-text");null==t||t.blur()}componentWillRender(){this.filtersApplied=null!==this.selectedFilterCategory||null!==this.selectedFilterBeneficiary||null!==this.selectedFilterLocation,this.initialSortByOption=this.selectedSortByOption}render(){var e;const t=this.getSortOptions();return a("div",{key:"ceb2f44c3c853bfdc3da18ad187de4cc5a085ffb",class:"container space-below-"+this.spaceBelow},a("div",{key:"8f6370902bfabe8a9df23e274d05298ca316b12b",class:"sleeve"},a("div",{key:"89fc861fdb61827ab5dbb5cee88a4dfdd0a8abcb",class:"search-wrap"},a("h4",{key:"04363e5852c2347036e52efd75c0acfd83df5901"},this.intro),a("div",{key:"dd18cb11be900192f0a5a26f027b0102453e50ad",class:"field-wrap"},a("div",{key:"a9798f3d6943cfb5494452bf23ea5ce03c288a45",class:"input-wrap"},a("svg",{key:"9296bccad620aaba713b252fb31c7f3efd4b1a96",xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},a("path",{key:"718a7766577cf08ba55ebae64b60b312cfcf8edf",d:""+l.icon[4]})),a("input",{key:"e89ff0c306417359e72597edf932166970e01702",type:"text",value:null!==(e=this.searchText)&&void 0!==e?e:"",class:"input-text",placeholder:this.placeholderText,onInput:this.handleSearchTextChanged,onKeyDown:this.handleEnterPressed})),a("biggive-button",{key:"7713463cc5c611be7e96290c91da7691c3bba5e4",onDoButtonClick:this.handleSearchButtonPressed,label:this.buttonText}))),a("div",{key:"eb4ac758e446eda26be72dad7239fd525c520c39",class:"sort-filter-wrap"},this.enableSearchByLocation&&this.offerNearMeOption&&a("biggive-button",{key:"fe100d32987271001b584fbba653ab733e0d3037",class:"filter",colourScheme:"primary",onDoButtonClick:this.handleNearMeButtonPressed,label:this.fetchingLocation?"Fetching location...":"Charities near me",disabled:!this.fetchingLocation,fullWidth:!0,"space-below":"0"}),a("div",{key:"30a35a0db88c129c27dd9c20b75d7516a7316ba8",class:"filter-wrap"},a("biggive-button",{key:"f93528615753291fd194e9675ff79c53b0a45943",class:"filter",colourScheme:"primary",onDoButtonClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),a("biggive-popup",{key:"ef7b9eedfade6cb4027fb2789226bf697f420c91",id:"filter-popup"},a("h4",{key:"5af7616eff806f4f455119f021e57a1d06fe8a0d",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),a("div",{key:"ee857c0d3ca4e3f9aa3c8ae339ac256b19c529e5",class:"select-wrapper-1"},a("biggive-form-field-select",{key:"8ce9507ba455de76430c16f95d5d38a42e17fed2",backgroundColour:"white",prompt:"Category",placeholder:this.categoriesPlaceHolderText,selectedLabel:this.selectedFilterCategory,selectedValue:this.selectedFilterCategory,options:this.optionsToArray(this.categoryOptions||[]),selectionChanged:this.categoryFilterSelectionChanged,id:"categories","space-below":"2"})),a("div",{key:"fede3134ddd0696cc7b181d53b1141b0baa6cc18",class:"select-wrapper-2"},a("biggive-form-field-select",{key:"b5a3fb4f023760c0909088ae0e3780268c0db855",backgroundColour:"white",prompt:"Beneficiary",placeholder:this.beneficiariesPlaceHolderText,selectedLabel:this.selectedFilterBeneficiary,selectedValue:this.selectedFilterBeneficiary,options:this.optionsToArray(this.beneficiaryOptions||[]),selectionChanged:this.beneficiarySelectionChanged,id:"beneficiaries","space-below":"2"})),a("div",{key:"2e39d963ca785aae5d4a50e9051e3b3f1ac42733",class:"select-wrapper-3"},a("biggive-form-field-select",{key:"6e873fb07978e97cfbe868f77d94b5e6a73d828a",backgroundColour:"white",prompt:"Location",placeholder:this.locationsPlaceHolderText,selectedLabel:this.selectedFilterLocation,selectedValue:this.selectedFilterLocation,options:this.optionsToArray(this.locationOptions||[]),selectionChanged:this.locationSelectionChanged,id:"locations","space-below":"2"})),a("div",{key:"2ff04e800f368fae58f05820fef385f08a5bb73d",class:"align-right"},a("biggive-button",{key:"437493a55113a5a95f85b07bc01825e55b195ecd",label:"Apply filters",onDoButtonClick:this.handleApplyFilterButtonClick})))),a("div",{key:"e5893df8c1348a3bbaa9389884eed09672616dd0",class:"sort-wrap"},a("biggive-form-field-select",{key:"cf5681ff7096d71fc8b27195853a1db44ddb3e8d",options:t,prompt:null,"select-style":"underlined",placeholder:this.sortByPlaceholderText,selectedLabel:this.selectedSortByOption,selectedValue:this.getSelectedValue(),selectionChanged:this.sortBySelectionChanged,id:"sort-by"},a("biggive-form-field-select-option",{key:"943113783bd5331a484ca1701d794112eb6a7bac",value:"amountRaised",label:"Most raised"}),a("biggive-form-field-select-option",{key:"a12bc8d837e29675ad85c3df4aedb459499dd0b6",value:"leastRaised",label:"Least raised"}),a("biggive-form-field-select-option",{key:"64d3287ee368c5d51c95b9af3588c28861b6a7de",value:"matchFundsRemaining",label:"Most funds remaining"}),a("biggive-form-field-select-option",{key:"2cb9a2a2115d2a3e042c964ad89091be3704214e",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?a("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),a("div",{key:"a772256d34001e35257a278f841c5b9fe886d12e",class:"selected-filter-wrap"},a("div",{key:"9d3947afa52842a11ef1338450789e9a5d389ee3",class:"selected-filters"},this.selectedFilterCategory&&a("span",{key:"2bd20241fe40a5acb5dc628b83a0e6c3f78cb5c0",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&a("span",{key:"ae76369709cd8540ebf4287b5e337943e3e1d8e9",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&a("span",{key:"73c489be03db7c92f517a2d1b63490cc1de6cff8",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),a("div",{key:"f283d737e862792b7fa2cebe16ec8f3014ee9e1f",class:"clear-all"},a("a",{key:"7ef1c3ee2d4ac438fd21381d24ba9810530eb629",onClick:this.handleClearAll},"Clear all"))),a("div",{key:"07da3888322df14430a72752c49f65e93f741b1c",class:"campaign-grid"},a("slot",{key:"78a2bee33c15df96678182f8d6535ee49af43b58",name:"campaign-grid"}))))}getSelectedValue(){const e=this.selectedSortByOption;if(void 0===e)return;const t=this.getSortOptions().filter((t=>t.label.toLowerCase()===e.toLowerCase()))[0];return null==t?void 0:t.value}getSortOptions(){return Object.getOwnPropertyNames(n).filter((e=>"relevance"!==e||this.hasSearchTerm())).map((e=>({value:e,label:n[e]})))}hasSearchTerm(){return"string"==typeof this.searchText&&this.searchText.length>0}optionsToArray(e){return"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e.map((e=>({value:e,label:e}))):Object.entries(e).map((e=>({value:e[0],label:e[1]})))}get el(){return this}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:content}.select-wrapper-1,.select-wrapper-2,.select-wrapper-3,.select-wrapper-4{position:relative;margin-top:1em}.select-wrapper-1{z-index:4}.select-wrapper-2{z-index:3}.select-wrapper-3{z-index:2}.select-wrapper-4{z-index:1}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative}.container .search-wrap{background-color:#FFFFFF;padding:15px 30px;margin-bottom:15px}.container .search-wrap h4{margin-bottom:15px}.container .search-wrap .field-wrap{display:flex;justify-content:space-between}.container .search-wrap .field-wrap .input-wrap{display:flex;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}.container .search-wrap .field-wrap .input-wrap input{border:0}.container .search-wrap .field-wrap button{padding:5px 30px}.selected-filter-wrap{display:flex;margin-bottom:23px;padding:0}.selected-filter-wrap .button{margin-bottom:7px;display:inline-block;cursor:pointer;border-radius:20px;padding:5px 50px 5px 20px;margin-right:15px;background-color:#FF7272;color:#000000;border:1px solid #FF7272;text-decoration:none;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTguNCAxOC40IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOC40IDE4LjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7c3Ryb2tlOiMwMDAwMDA7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS4yLDguNUwxNywwLjdsMC43LDAuN0w5LjksOS4ybDcuOCw3LjhMMTcsMTcuN0w5LjIsOS45bC03LjgsNy44TDAuNywxN2w3LjgtNy44TDAuNywxLjRsMC43LTAuN0w5LjIsOC41eiIvPgo8L3N2Zz4K);background-repeat:no-repeat;background-position:right 20px center;background-size:12px auto}.selected-filter-wrap .button:hover{background-color:#FFFFFF;color:#000000}.selected-filter-wrap .clear-all{margin-left:auto}.selected-filter-wrap .clear-all a{display:inline-block;cursor:pointer;border-radius:20px;padding:5px 20px;background-color:#2C089B;color:#FFFFFF;border:1px solid #2C089B;text-decoration:none}.selected-filter-wrap .clear-all a:hover{background-color:#FFFFFF;color:#2C089B}.sort-filter-wrap{display:flex;justify-content:flex-end;margin-bottom:30px;padding:0;text-align:right;display:flex}.sort-filter-wrap .clear-all{cursor:pointer;vertical-align:center;margin-top:auto;margin-bottom:auto}.sort-filter-wrap .sort-wrap{margin-left:15px}.sort-filter-wrap .filter-wrap{background-color:#F6F6F6;margin-left:15px}.sort-filter-wrap .filter-wrap .button.filter{padding-left:60px;padding-right:30px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon{content:"";display:block;position:absolute;left:25px;top:17px;width:13px;height:13px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg{width:100%;height:auto;vertical-align:top}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg:hover{fill:#2C089B}.icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.icon>path{fill:#2C089B}.icon-clear-all>path{fill:#000000}@media screen and (max-width: 450px){.sort-filter-wrap{flex-direction:column-reverse}.sort-filter-wrap .sort-wrap{margin-top:20px;margin-bottom:20px}}@media screen and (max-width: 350px){.sort-filter-wrap{justify-content:space-between}.sort-filter-wrap .sort-wrap{margin-left:0px}.sort-filter-wrap .filter-wrap{margin-left:3px}}.align-right{text-align:right}.input-text{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text::placeholder{color:#4A4A4A}.text-colour-primary{color:#2C089B}'}},[257,"biggive-campaign-card-filter-grid",{spaceBelow:[2,"space-below"],intro:[1],searchText:[1,"search-text"],placeholderText:[1,"placeholder-text"],buttonText:[1,"button-text"],categoryOptions:[1,"category-options"],beneficiaryOptions:[1,"beneficiary-options"],locationOptions:[1,"location-options"],selectedSortByOption:[1025,"selected-sort-by-option"],selectedFilterCategory:[1025,"selected-filter-category"],selectedFilterBeneficiary:[1025,"selected-filter-beneficiary"],selectedFilterLocation:[1025,"selected-filter-location"],enableSearchByLocation:[4,"enable-search-by-location"],offerNearMeOption:[4,"offer-near-me-option"],fetchingLocation:[4,"fetching-location"],location:[16],filtersApplied:[32],unfocusInputs:[64]}]),p=d,b=function(){"undefined"!=typeof customElements&&["biggive-campaign-card-filter-grid","biggive-button","biggive-form-field-select","biggive-popup"].forEach((e=>{switch(e){case"biggive-campaign-card-filter-grid":customElements.get(s(e))||customElements.define(s(e),d);break;case"biggive-button":customElements.get(s(e))||o();break;case"biggive-form-field-select":customElements.get(s(e))||r();break;case"biggive-popup":customElements.get(s(e))||c()}}))};export{p as BiggiveCampaignCardFilterGrid,b as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./biggive-button2.js";import{d as r}from"./biggive-misc-icon2.js";import{d as s}from"./biggive-progress-bar2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doCardGeneralClick=i(this,"doCardGeneralClick",7),this.spaceBelow=4,this.donateButtonLabel="Donate now",this.donateButtonColourScheme="primary",this.moreInfoButtonLabel="Find out more",this.moreInfoButtonColourScheme="clear-primary",this.isFutureCampaign=!1,this.isPastCampaign=!1,this.handleCardGeneralClick=e=>{this.doCardGeneralClick.emit({event:e,url:this.moreInfoButtonUrl})}}isEmpty(e){return null==e||""===e}render(){return a("div",{key:"0ec8ef81df02702ffde418569321f40a43202524",class:"container space-below-"+this.spaceBelow},a("div",{key:"28ae6f9ccdd2b1cc1eb498e0497fb66544a624bf",class:"sleeve"},a("div",{key:"1f015b848b11cf46fa4e392f01e57b70fd6f5190",onClick:this.handleCardGeneralClick,class:"above-button-wrap"},null!==this.campaignType?a("div",{class:"campaign-type"},a("span",null,this.campaignType)):null,a("div",null!=this.banner?{class:"image-wrap banner",role:"presentation",style:{"background-image":"url("+this.banner+")"}}:{class:"image-wrap banner"}),a("div",{key:"8ebaf7a903b776598fdf121700a2dd9e9d2761cc",class:"title-wrap"},a("h3",{key:"3b5b01989dabe0a78520f2254f43dd394ce8c95e"},this.campaignTitle),a("div",{key:"d10a6503828e38d075b2f2e99fbd10549b981a3a",class:"organisation-name"},"By ",this.organisationName)),this.isEmpty(this.primaryFigureAmount)&&this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-wrap"},this.isEmpty(this.primaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.primaryFigureLabel),a("span",{class:"text"},this.primaryFigureAmount)),this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.secondaryFigureLabel),a("span",{class:"text"},this.secondaryFigureAmount))),this.isEmpty(this.progressBarCounter)?a("div",{class:"progress-bar-wrap",style:{visibility:"hidden"}},a("biggive-progress-bar",{counter:0,"colour-scheme":"primary"})):a("div",{class:"progress-bar-wrap"},a("biggive-progress-bar",{counter:this.progressBarCounter,"colour-scheme":"primary"}))),a("div",{key:"5d3904c85c4b9e4499adbe72497354ae8a6649d8",class:"button-wrap"},this.isFutureCampaign||this.isPastCampaign?a("div",{class:"msg-wrapper"},a("biggive-misc-icon",{"background-colour":"white","icon-colour":"black",icon:"Timer"}),a("p",null,this.isFutureCampaign?"Launches ":"Closed ",this.datetime)):a("biggive-button",{"full-width":"true","colour-scheme":this.donateButtonColourScheme,url:this.donateButtonUrl,label:this.donateButtonLabel}),a("biggive-button",{key:"9cfa4399e07bd806740b3bedcbf5f89dd64b50be","full-width":"true","colour-scheme":this.moreInfoButtonColourScheme,url:this.moreInfoButtonUrl,label:this.moreInfoButtonLabel}))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .sleeve .above-button-wrap{flex-grow:1;display:flex;flex-direction:column}.container .sleeve .above-button-wrap .title-wrap{flex-grow:1}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}'}},[1,"biggive-campaign-card",{spaceBelow:[2,"space-below"],campaignType:[1,"campaign-type"],banner:[1],campaignTitle:[1,"campaign-title"],organisationName:[1,"organisation-name"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],donateButtonLabel:[1,"donate-button-label"],donateButtonUrl:[1,"donate-button-url"],donateButtonColourScheme:[1,"donate-button-colour-scheme"],moreInfoButtonLabel:[1,"more-info-button-label"],moreInfoButtonUrl:[1,"more-info-button-url"],moreInfoButtonColourScheme:[1,"more-info-button-colour-scheme"],isFutureCampaign:[4,"is-future-campaign"],isPastCampaign:[4,"is-past-campaign"],datetime:[1]}]),l=c,p=function(){"undefined"!=typeof customElements&&["biggive-campaign-card","biggive-button","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-card":customElements.get(o(e))||customElements.define(o(e),c);break;case"biggive-button":customElements.get(o(e))||n();break;case"biggive-misc-icon":customElements.get(o(e))||r();break;case"biggive-progress-bar":customElements.get(o(e))||s()}}))};export{l as BiggiveCampaignCard,p as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as i,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./biggive-button2.js";import{d as r}from"./biggive-misc-icon2.js";import{d as s}from"./biggive-progress-bar2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doCardGeneralClick=a(this,"doCardGeneralClick",7),this.spaceBelow=4,this.donateButtonLabel="Donate now",this.donateButtonColourScheme="primary",this.moreInfoButtonLabel="Find out more",this.moreInfoButtonColourScheme="clear-primary",this.isFutureCampaign=!1,this.isPastCampaign=!1,this.handleCardGeneralClick=e=>{this.doCardGeneralClick.emit({event:e,url:this.moreInfoButtonUrl})}}isEmpty(e){return null==e||""===e}render(){return i("div",{key:"319985f7b32754f323941126da3e14b50a14ebe3",class:"container space-below-"+this.spaceBelow},i("div",{key:"31b9adc9d26688a04babd7de6ec863df8e5fb984",class:"sleeve"},i("div",{key:"e3a9067edacce4985038bb4d92929c0bc5c8151e",onClick:this.handleCardGeneralClick,class:"above-button-wrap"},null!==this.campaignType?i("div",{class:"campaign-type"},i("span",null,this.campaignType)):null,i("div",null!=this.banner?{class:"image-wrap banner",role:"presentation",style:{"background-image":"url("+this.banner+")"}}:{class:"image-wrap banner"}),i("div",{key:"dd4d04a159af990a2023a06912321fff42368727",class:"title-wrap"},i("h3",{key:"2ff55ab537792164659b1b435b330292a037840b"},this.campaignTitle),i("div",{key:"4a70987a57ae638317c30b21e9d5c422f7d5f779",class:"organisation-name"},"By ",this.organisationName)),this.isEmpty(this.primaryFigureAmount)&&this.isEmpty(this.secondaryFigureAmount)?null:i("div",{class:"meta-wrap"},this.isEmpty(this.primaryFigureAmount)?null:i("div",{class:"meta-item"},i("span",{class:"label"},this.primaryFigureLabel),i("span",{class:"text"},this.primaryFigureAmount)),this.isEmpty(this.secondaryFigureAmount)?null:i("div",{class:"meta-item"},i("span",{class:"label"},this.secondaryFigureLabel),i("span",{class:"text"},this.secondaryFigureAmount))),this.isEmpty(this.progressBarCounter)?i("div",{class:"progress-bar-wrap",style:{visibility:"hidden"}},i("biggive-progress-bar",{counter:0,"colour-scheme":"primary"})):i("div",{class:"progress-bar-wrap"},i("biggive-progress-bar",{counter:this.progressBarCounter,"colour-scheme":"primary"}))),i("div",{key:"46f8ebfd1fc425610e6ef5fa87376659495890da",class:"button-wrap"},this.isFutureCampaign||this.isPastCampaign?i("div",{class:"msg-wrapper"},i("biggive-misc-icon",{"background-colour":"white","icon-colour":"black",icon:"Timer"}),i("p",null,this.isFutureCampaign?"Launches ":"Closed ",this.datetime)):i("biggive-button",{"full-width":"true","colour-scheme":this.donateButtonColourScheme,url:this.donateButtonUrl,label:this.donateButtonLabel}),i("biggive-button",{key:"13362b0cf844a93315672123f464c41482c9b65d","full-width":"true","colour-scheme":this.moreInfoButtonColourScheme,url:this.moreInfoButtonUrl,label:this.moreInfoButtonLabel}))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .sleeve .above-button-wrap{flex-grow:1;display:flex;flex-direction:column}.container .sleeve .above-button-wrap .title-wrap{flex-grow:1}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}'}},[1,"biggive-campaign-card",{spaceBelow:[2,"space-below"],campaignType:[1,"campaign-type"],banner:[1],campaignTitle:[1,"campaign-title"],organisationName:[1,"organisation-name"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],donateButtonLabel:[1,"donate-button-label"],donateButtonUrl:[1,"donate-button-url"],donateButtonColourScheme:[1,"donate-button-colour-scheme"],moreInfoButtonLabel:[1,"more-info-button-label"],moreInfoButtonUrl:[1,"more-info-button-url"],moreInfoButtonColourScheme:[1,"more-info-button-colour-scheme"],isFutureCampaign:[4,"is-future-campaign"],isPastCampaign:[4,"is-past-campaign"],datetime:[1]}]),l=c,p=function(){"undefined"!=typeof customElements&&["biggive-campaign-card","biggive-button","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-card":customElements.get(o(e))||customElements.define(o(e),c);break;case"biggive-button":customElements.get(o(e))||n();break;case"biggive-misc-icon":customElements.get(o(e))||r();break;case"biggive-progress-bar":customElements.get(o(e))||s()}}))};export{l as BiggiveCampaignCard,p as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.progressBarCounter=void 0}render(){return t("div",{key:"f7b373cc1fa7ce35832e8702e05f4e34ed99c525",class:"container space-below-"+this.spaceBelow},t("div",{key:"0417ce876afcaff59b7d000f1f34b811dbde9a4f",class:"sleeve"},null!=this.campaignTitle?t("div",{class:"campaign-title"},t("span",null,this.campaignTitle)):null,null!=this.banner?t("div",{class:"image-wrap banner",style:{"background-image":"url("+this.banner+")"}},t("img",{src:this.banner,class:"banner"})):null,t("div",{key:"058c5f3dc7cda08f25cba8f3f425ce46002dd6c6",class:"meta-wrap"},t("div",{key:"2c5d29f1b0c0e35659f32d9e8079f5e56c2c1eac",class:"meta-item"},t("span",{key:"f480c28ee657c76930f43a14f8770119a94dd627",class:"label"},this.primaryFigureLabel),t("span",{key:"cf9dbddab05ccc8e4febb17cfb4d4af9cfe13036",class:"text"},this.primaryFigureAmount)),t("div",{key:"aadd58d365a6df08a82fa7c046709489f703b434",class:"meta-item"},t("span",{key:"c284a1c8b2b8abca0ef64abf37fc27c338715da1",class:"label"},this.secondaryFigureLabel),t("span",{key:"e8cc91da7a4018fadcbf64bda7ff28846e820de8",class:"text"},this.secondaryFigureAmount))),t("div",{key:"b222cc04d2b9f8eeb32b222c2028b5bfa2ce5f75",class:"progress-bar-wrap"},t("biggive-progress-bar",{key:"d1d413de6f0f2271e66b85c11f6dd4145d1c643c",counter:this.progressBarCounter,"colour-scheme":"primary"})),t("div",{key:"238049c444c0b65bc0e572cee9872f7e7d311e2a",class:"stat-wrap"},null!=this.primaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.primaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.primaryStatText)):null,null!=this.secondaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.secondaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.secondaryStatText)):null),null!=this.championName?t("div",{class:"championed-by"},"Championed by ",t("a",{href:this.championUrl},this.championName)):null))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:16px;line-height:22px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:16px;line-height:22px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:#000000;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}'}},[1,"biggive-campaign-highlights",{spaceBelow:[2,"space-below"],banner:[1],campaignTitle:[1,"campaign-title"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],primaryStatIcon:[1,"primary-stat-icon"],primaryStatText:[1,"primary-stat-text"],secondaryStatIcon:[1,"secondary-stat-icon"],secondaryStatText:[1,"secondary-stat-text"],championName:[1,"champion-name"],championUrl:[1,"champion-url"]}]),r=c,s=function(){"undefined"!=typeof customElements&&["biggive-campaign-highlights","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-highlights":customElements.get(i(e))||customElements.define(i(e),c);break;case"biggive-misc-icon":customElements.get(i(e))||n();break;case"biggive-progress-bar":customElements.get(i(e))||o()}}))};export{r as BiggiveCampaignHighlights,s as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const r=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.progressBarCounter=void 0}render(){return t("div",{key:"9f7b92fd96e95021a71987c5aef0eed8f14e76e4",class:"container space-below-"+this.spaceBelow},t("div",{key:"10ff0d3f979dfc66fbdf4bd5c09ff0be27e6941e",class:"sleeve"},null!=this.campaignTitle?t("div",{class:"campaign-title"},t("span",null,this.campaignTitle)):null,null!=this.banner?t("div",{class:"image-wrap banner",style:{"background-image":"url("+this.banner+")"}},t("img",{src:this.banner,class:"banner"})):null,t("div",{key:"68fc5a95cf81ace178ede53c4799842917ec0e5a",class:"meta-wrap"},t("div",{key:"0598325d1a48e4015124ac0a507aa5a54cf48f33",class:"meta-item"},t("span",{key:"de6e984c1c5f0b76125fad60b34662da17a9f562",class:"label"},this.primaryFigureLabel),t("span",{key:"8f5472d5b9abe458bd53678ca4e09e716068ed00",class:"text"},this.primaryFigureAmount)),t("div",{key:"9b297b7676f3d5de45cd865217ed044bc967cd05",class:"meta-item"},t("span",{key:"f9984f6796ecb4b3f4e8a865dae1f5fa6a6a28a2",class:"label"},this.secondaryFigureLabel),t("span",{key:"49d721e8a7770a47058cfedfb6d8cebf21278678",class:"text"},this.secondaryFigureAmount))),t("div",{key:"e503a6feb8ca10c0607a443b533386cfab4077ec",class:"progress-bar-wrap"},t("biggive-progress-bar",{key:"357e686fafabb28cb0979ab0871751488930e98f",counter:this.progressBarCounter,"colour-scheme":"primary"})),t("div",{key:"798f20551aa3d6c3acdf5ba9e061281bbcb2d607",class:"stat-wrap"},null!=this.primaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.primaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.primaryStatText)):null,null!=this.secondaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.secondaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.secondaryStatText)):null),null!=this.championName?t("div",{class:"championed-by"},"Championed by ",t("a",{href:this.championUrl},this.championName)):null))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:16px;line-height:22px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:16px;line-height:22px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:#000000;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}'}},[1,"biggive-campaign-highlights",{spaceBelow:[2,"space-below"],banner:[1],campaignTitle:[1,"campaign-title"],primaryFigureLabel:[1,"primary-figure-label"],primaryFigureAmount:[1,"primary-figure-amount"],secondaryFigureLabel:[1,"secondary-figure-label"],secondaryFigureAmount:[1,"secondary-figure-amount"],progressBarCounter:[2,"progress-bar-counter"],primaryStatIcon:[1,"primary-stat-icon"],primaryStatText:[1,"primary-stat-text"],secondaryStatIcon:[1,"secondary-stat-icon"],secondaryStatText:[1,"secondary-stat-text"],championName:[1,"champion-name"],championUrl:[1,"champion-url"]}]),s=r,c=function(){"undefined"!=typeof customElements&&["biggive-campaign-highlights","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-highlights":customElements.get(i(e))||customElements.define(i(e),r);break;case"biggive-misc-icon":customElements.get(i(e))||n();break;case"biggive-progress-bar":customElements.get(i(e))||o()}}))};export{s as BiggiveCampaignHighlights,c as defineCustomElement}